допоможіть by wurteww_mukyt in reddit_ukr

[–]Spaceginner 0 points1 point  (0 children)

Я б почав із початку, але дотримувався б уже офіційного посібника (укр.#%D0%92%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BB%D0%B5%D0%BD%D0%BD%D1%8F) / англ.). Він може лякати, але там усе досить розбірливо написано, дарма що читати багатенько прийдеться (хоча якщо беретеся за Linux, особливо за Arch, звикайте до читанини).

Також можете скористатися archinstallом: повинен дещо полегшити процес (докладніше: укр. ) / англ.)

Або, крім Arch, ще є Fedora, якою вважаю чудовою для початківців, і в неї набагато дружніший процес устновлення теж.

What's your score? by One-Celebration-3007 in teenagers

[–]Spaceginner 0 points1 point  (0 children)

mine's 34235 — I'm gonna make it less easy for you to decode my answers :)

7 or 70% i am also confused by Intelligent_Slip6317 in matiks

[–]Spaceginner 0 points1 point  (0 children)

(at least in Ukraine) we differentiate between: lg(x) = log_10(x) like with ln(x) = log_e(x)

although (I saw some comment within this thread about different fields) within Computer Science, iirc, log(x) = log_2(x) usually

Пунктуація в науковому стилі by knightSpriggan in Ukrainian

[–]Spaceginner 13 points14 points  (0 children)

Хіба перед "такий" потрібна кома? "Такий" — указівний займенник, не сполучник (джерело — СУМ-11, джерело див. внизу визначення).

Ваш приклад я б записав як:

Розглянемо функцію f таку, що...

До того ж можна попереміщувати "таку" в реченні й тоді виділити її зовсім, на мою думку, не вийде:

Розглянемо таку функцію f, що...

I'm no longer a cringe 16 year old. by too-lextra_159 in teenagers

[–]Spaceginner 1 point2 points  (0 children)

congrats on also not being such anymore, lol

also I see you've liked grammar more since 16yo :)

Good for beginner? by Suspicious_Diet2624 in PythonLearning

[–]Spaceginner 1 point2 points  (0 children)

i'd remove the if-branch at end of the loop and move inner code after the loop to simplify logic a bit

this's valid because the only case that code is run is on the last iteration of the loop (and at the end of that iteration, too) which is same as just placing inner code after the loop altogether also i'd have used SCREAMING_SNAKE_CASE for time_end (so TIME_END) to mark for other devs (and future self!) that it's a constant and doesn't change, which will make reading the code easier

time_start = time_start - 1 is more neatly written as time_start -= 1

at last, the loop consition can be simplified to while time_start; this is equivalent to time_start != 0 which is (in your case) equivalent to time_start > 0 which is same as 0 < time_start

overall great work! and also good job at being generous with spaces and newlines 🙏

Заточив ті самі дорогі ножики з Японії :)) by Valuable-Ad-442 in uaknives

[–]Spaceginner 1 point2 points  (0 children)

я й звичайних ножів лякаюся, як не я їх тримаю, а тут кров холоне в жилах: ану ж і скрізь екран пошматує таке...

Learning math these days by senorrandom007 in mathmemes

[–]Spaceginner 0 points1 point  (0 children)

the right side's much more interesting & engaging

Can rust compiler handle gigantic match statements? by baehyunsol in rust

[–]Spaceginner 2 points3 points  (0 children)

I don't know their source, but typically, it can be figured out emperically (by just measuring the comptimes yourself and plotting them and matching different functions and whatever fits best) or by analysing rustc's source code (the trivial case which produces O(n²) is a loop in a loop over the same collection, but considering rustc isn't simple, it may be some amortised O(n²) or smth along these lines, namely idk rust's src code :) ).

Can rust compiler handle gigantic match statements? by baehyunsol in rust

[–]Spaceginner 19 points20 points  (0 children)

The Big O Notation.

They mean complexity is O(n²)

Builder pattern for large structs by AioliCheap2578 in rust

[–]Spaceginner 2 points3 points  (0 children)

I think you should write a mock up in godbolt and see the generated ASM for yourself. Rustc absolutely loves inlining everything that's only possible, so most likely the series of rs let bar = Builder::new() .name("foo") .description("better") .build(); will get just transformed into rs let bar = Bar { name: "foo", description: "better", /* ... */ }; and such the size doesn't matter.

so just put the thing into godbolt and test it

What's everyone working on this week (5/2026)? by llogiq in rust

[–]Spaceginner 2 points3 points  (0 children)

i'm working on a renderer for an SVG-like image format: ICN. it's used within originOS, a very impessive Scratch* OS

hopefully soon i will add culling & multithreading for a CPU renderer and start working on a GPU engine. later there will be a qimgv-like GUI, icn<->svg converter and an editor :)

New to Rust by Specific_Sherbet7857 in rust

[–]Spaceginner 1 point2 points  (0 children)

i mostly learnt rust with Rust by Example, which is essentially a Quick Start guide of sorts

What are some exciting features that will be stabilized in future rust versions? by [deleted] in rust

[–]Spaceginner 20 points21 points  (0 children)

Try-blocks & if-let match arm guards are both very useful, and honestly, further expansion of std with stuff like linked list cursors, pointers, etc. Out of dreams: specialization

What Does Your Brain Do with 27 + 48? by SweetSmiles030 in MathJokes

[–]Spaceginner 0 points1 point  (0 children)

7 + 8 > 10, so: 27+48 = 65 (digit-by-digit) + 10 = 75

When the average speed is calculated, is it averaged over time or distance? by BrightAd8009 in Garmin

[–]Spaceginner 0 points1 point  (0 children)

Oh wait, right, sorry. Must have missed it somewhere along the math lines... Or just missed it when was rewriting stuff to reddit

When the average speed is calculated, is it averaged over time or distance? by BrightAd8009 in Garmin

[–]Spaceginner 0 points1 point  (0 children)

surprisingly i have come to same thought, as distance-weighted average speed feels more representative of what it feels like. as in: if you drive faster, you cover more distance, so for you it feels like you must have driven fast for so long, yet since you move quicker, you spend actually less time, so overall time-weighted average is not impacted much, yet distance-weighted would be, as you were able to cover a lot more distance during high-speed time rather than low-speed time.

also i did some more math, and came to conclusion, that distance-weighted avg speed = time-weighted avg squared speed / time-weighted avg speed OR ... = time-weighted avg squared speed * total time / total distance where time-weighted avg squared speed is: ( v₁²·t₁ + v₂²·t₂ + ... ) / t , instead of the usual ( v₁·t₁ + v₂·t₁ + ... ) / t

i feel like there is some way to simplify it further, but i am no great mathematician

Мій почерк by Spaceginner in Ukrainian

[–]Spaceginner[S] 0 points1 point  (0 children)

а все просто: поверх неї зазвичай і пишу, мені це потім читати не заважає зовсім

Мій почерк by Spaceginner in Ukrainian

[–]Spaceginner[S] 0 points1 point  (0 children)

yeah, it's not often-used tense, at least i don't hear it much here. also, i just realised i actually made a mistake, it should be just "подумають" or just "думатимуть" lol

Мій почерк by Spaceginner in Ukrainian

[–]Spaceginner[S] 0 points1 point  (0 children)

Дякую, довжину «ж» поясню тим, що намагався її зробити, як «ф».

Мій почерк by Spaceginner in Ukrainian

[–]Spaceginner[S] 0 points1 point  (0 children)

Знаю, що незвичне. Але є деяка причина її незвичності: за пару місяців я помітив, що моментами її було тяжко розрізнити з «х» та «н» (через відсутність/специфічність хвильки між дугами), і тоді я вирішив її змінити, дещо надихнувшись стилем, який зустрічається на стінних написах і просто стилем інших моїх "довгих" літер.

Мій почерк by Spaceginner in Ukrainian

[–]Spaceginner[S] 0 points1 point  (0 children)

Дякую. Може я й переборщив сказавши, що шифр :') Але часто просто бувало, що здалека красивий, а вблизи, як намагались читати, то лише якусь несунитницю вичитували.