Skip to content

Instantly share code, notes, and snippets.

View mark-onyschuk's full-sized avatar

Mark Onyschuk mark-onyschuk

View GitHub Profile

The Spanish word "lo" is a very common, versatile little word with several different grammatical uses (it doesn't have one single fixed meaning like a noun or verb would). Here's a breakdown of the main ones:

1. Direct object pronoun ("him" or "it" – masculine/neuter)

  • It replaces a masculine noun or a neuter concept that is the direct object of the verb.
  • Examples:
    • "¿Viste a Pablo?" → "Sí, lo vi." (Did you see Pablo? → Yes, I saw him.)
    • "Tengo el libro." → "Lo tengo." (I have the book. → I have it.)
    • "No lo entiendo." (I don't understand it.)

2. Neuter definite article ("the" for abstract ideas)

@mark-onyschuk
mark-onyschuk / gender-number-tense-case.md
Created March 17, 2026 14:03
Gender, number, tense, and case in Ukrainian as Compared to Spanish

El ucraniano y el español comparten algunas similitudes interesantes, especialmente en la omisión de pronombres sujetos (pro-drop), pero el ucraniano es mucho más inflectivo y sintético: cada palabra lleva una carga pesada de información gracias a prefijos, sufijos y terminaciones que indican tiempo, aspecto, caso, género, número y persona. Esto permite una libertad enorme en el orden de las palabras —mucho mayor que en español—, donde el orden es más fijo para mantener la claridad sin sonar raro o forzado.

En cuanto a los tiempos verbales (tiempos), el ucraniano tiene solo tres tiempos básicos: presente (теперішній час / tepérishniy chas), pasado (минулий час / mynulýy chas) y futuro (майбутній час / maybútniy chas). Sin embargo, el sistema se complica por el aspecto verbal (вид дієслова / vyd diyeslóva): imperfectivo (недоконаний вид / nedokónanyy vyd, para acciones en proceso, repetidas o habituales) y perfectivo (доконаний вид / dokonányy vyd, para acciones completadas o con resultado

@mark-onyschuk
mark-onyschuk / AnimatedText.swift
Created November 18, 2025 13:51
Animated Rich Text SwiftUI
//
// AnimatedText.swift
// Vault
//
// Created by Mark Onyschuk on 7/17/25.
// Copyright © 2025 Dimension North Inc. All rights reserved.
//
import SwiftUI
@mark-onyschuk
mark-onyschuk / Downsampler.swift
Created July 20, 2025 20:32
AI Converted GLSL shader integrated into SwiftUI
//
// Downsampler.swift
//
// Created by Mark Onyschuk on 7/3/25.
//
import SwiftUI
/// A view modifier that downsamples a view's rendering when its width exceeds a specified threshold.
///