90 karma · joined Sep 5, 2021 (5y ago) · 50 submissions
comment 10mo ago · link · parent
comment 11mo ago · link · parent
Or why not just produce a binary directly? It seems we've just invented a compiler.
comment 1y ago · link · parent
comment 1y ago · link · parent
I'm learning Ukrainian and there is a podcast "Ukrainian Lessons Podcast". Seasons 4-6 are not so much lessons but more just discussions about life, history, culture in 100% slow comprehensible Ukrainian. In one of the episodes Anna talks about how she spent most of her life getting English lessons at school and university, but still couldn't use the language freely. Finally, she watched Friends and by the time she'd finished every season, she felt she at last had a good command of English.
Sitcoms are good because they depict a lot of everyday situations, are rich in dialogue (i.e. real language people use daily), and there is a lot of slang and cultural references. Of course, you first need to develop enough of a base in the language to understand what's going on.
comment 1y ago · link · parent
comment 1y ago · link · parent
What I would like to see is a language that is essentially just C with the major design flaws fixed. Remove the implicit casting and obscure integer promotions. Make spiral rule hold everywhere instead of being able to put const at the beginning of the declaration. Make `sizeof()` return a signed type. Don't allow mixed signed/unsigned arithmetic. Make variables/functions private by default i.e. add `public` to make public instead of `static` to make private.
Keep the preprocessor and for the love of god make it easy to invoke the compiler/linker directly so I can write my own Makefile.
comment 2y ago · link · parent
What? Are there really people out there relying on libraries for every peripheral? I've never seen anyone use a third party library for peripherals like that, short of some prototyping on an Arduino or the like. It's always just drivers implemented from scratch.
comment 3y ago · link · parent
> being able to write complex UIs that can work on any browser, any device, with all assistive technologies, and all languages, is extremely hard
Why do we keep doing this? If you get rid of the animations, popups, and invasive ads, then with what's left you can probably do away with all of this crap.
comment 3y ago · link · parent
comment 3y ago · link · parent
Just listen to the teachers, parents, and students. In high school I was among the last year groups to be pen and paper. All the younger students had laptops and iPads. I distinctly remember during the change that very few people thought it was a good idea, except for those students who got a free laptop or iPad out of it. I imagine the change was mostly brought about by administrators and politicians.
comment 3y ago · link · parent
comment 3y ago · link · parent
At what point is something no longer a shortcut? Do you also consider the time it takes you to track, shoot, carry, & butcher an animal? Or do you take the shortcut of buying your meat? Do you grow your own wheat? Grind your own flour? Or are those shortcuts too?
comment 3y ago · link · parent