HN user

mackeye

69 karma

https://makki.moe/about :>

Posts2
Comments69
View on HN
Back to Kagi 9 hours ago

i love that geeksforgeeks is the website everyone mentions wanting to block :D

for advanced undergrads, the university of michigan (i'm speaking from my own experience here) has a course progression of (1) programming languages for 1st year grad students, (2) compilers for undergraduates, (3) compiler optimization for 1st year grad students. the expectation is that you can write a fast implementation of a simple language (~scheme) on your own, and you have the knowledge to write a simple optimizing compiler for e.g. c89/99 if you were to take it on as a longer project. any compiler written in a semester probably doesn't have enough manpower to be optimized to a point of usefulness, and you'll learn some things only via implementation struggles, but you'll have the capability to try, search for literature to get unstuck, etc. which is cool!

Why Janet? (2023) 2 months ago

this is good to know :) my use for janet hasn't involved much processing of external data but i'll keep bb in mind when the use case arises. thank you for the information!

Why Janet? (2023) 2 months ago

janet has replaced sh, python, awk, etc. for me, for system scripts over a certain length! it has a very fast startup time (on my system, 1.4ms via hyperfine vs. 1ms for dash) for scripts (not compiled executables), and its sh-dsl module allows typing shell commands very elegantly, like ($ cmda w x | cmdb y z). the ability to load an image to debug is a big help, too. i've started using it very recently but it's probably one of my favorite languages now, and the only other lisp i've used is mit scheme for sicp.

Gemini Omni 2 months ago

i do photo restoration as part of my research (bizarre place to be for a math undergrad), so i do think AI is a lifesaver for very small adjustments that would be tedious or subpar otherwise. i just disagree that its creative output is of value (which isn't the case you made, anyway).

Gemini Omni 2 months ago

you would watch a movie generated with the sterility of an LLM?

the original kakoune is just cli; the binary has a json ui client option to allow communication with the kakoune server, with the intent of any gui or alternative client being separated from the kak binary/repo. that being said, this seems entirely ai-generated :( i had planned to write a kakoune frontend that supported rtl text (arabic in particular) + unicode, prop fonts, etc., and might look to how some things were done here, but i'd be blown away if this didn't have a great number of rough edges w.r.t. line wrap, unicode, rtl, etc. ...

just got my stickers from there yesterday! :-) i wish my less cs-oriented friends could see how cool i think the sdf is, lol; and, that some kind of "small-web" system, complete with the self-expression the sdf offers via web-hosting, a radio station(!), etc., was accessible to more people (not at the fault of anyone; just that there's a lot to the internet that most people will never see). :>

i don't entirely disagree, but

the cheapest usable tier of Claude Code is $100/mo

is, imo, false. cc pro, $20 per month, gets you a lot of sonnet usage, and code review with opus (which i find very valuable, even as someone who tries to use ai little). i guess it depends how you use ai, but if you use it to plan, debug, and review, rather than having it write code, i think pro is pretty comfortable.

to add, i've seen people say these subscriptions will get far more expensive, as they're offered at a loss. but, it seems far more likely that free tiers will be degraded or disappear, as (especially for openai?) the relative number of subscribers to free users is very small, so the latter probably dominates compute time greatly. anthropic probably has a higher relative number of people who pay for claude code (and use it to its fullest), so this is probably less true. i can see pro getting less usage, and max increasing in cost.

what would you say makes a UI look as if it's for a computer (genuine)? aside from purely(!) cosmetic things, like the skin on the windows 11 taskbar vs. 10. i think to windows <= xp, or tiling window managers (bar hyprland, probably) as the two most popular evolutions of mouse- vs. keyboard-based UIs (plan 9 probably fits well under the former, too). i guess i'd prefer if macos looked like dwm, but i wonder what else would need to change for the friction i feel with it to disappear.

many schools (like mine) don't teach unique pointers in the pure "programming" class sequence, but offer a primer in advanced classes where c++ happens to be used, with the intent to teach manual memory management for a clearer transition to e.g. upper-levels which use c.

a member of the c++ committee (herb sutter) is writing an compiler for an alternative c++ syntax [0], to c++, with the intent to restrict some semantics of the language for less UB, surprises, etc. i think less implementation-defined behavior is incredibly important; rvo vs std::move, dynamic function call optimization, i wish i didn't have to search asm to check for...

[0] https://github.com/hsutter/cppfront

if a handwritten letter is a "faithful image," then say a typed letter or email is a simulacra, with little original today. an AI letter is a step below, wherein the words have utterly no meaning, and the gesture of bothering to send the email at all is the only available intention to read into. i get this is hyperbole, but it's still reductive to equate such unique intentions

(i worked a _little bit_ on dwl) each wlroots upgrade is a pretty small diff on the dwl source. the annoying part is, as dwl is configured with patches, every patch author has to update their patch to the new 0.x, as dwl is quite minimal, and thus has no stable api. that being said, obviously, dwm doesn't have this problem :)

also, for dwl, the issue is that the initial author (not the guy that wrote that notice) is sorta mia, and he has control of the repo on codeberg, so we'd probably need to fork to be safe, and he may not want to take on project lead. (he checks every patch for merge conflicts with one another and upgrade breakages, god bless him lol)

I'm just having fun 7 months ago

i was being charitable, not obtuse. a great number of my closest friends are trans; no element of their experience as i observe it fetishizes the very concept of transition, and those who've spoken to me about it are quite opposed to the "pornification" (as opposed to even sexualization) of trans people (particularly women) by the community itself, and others. if you're at all curious, i thought [0] was pretty informative.

all that to say, trans people (or anyone) shouldn't need to qualify their position (or very lighthearted, energetic opinion piece) with some genericizing disclaimer as to their identity, intents, etc., on the very basis of their identity. live and let live (i.e. fuck off)

[0] https://tr4nbie.substack.com/p/cat-ears-skater-skirts-and-kn...