10,505 karma · joined Feb 3, 2021 (5y ago) · 2,505 submissions
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
VS code is getting pretty smart about code notebooks too, it has native support for a few different formats of markdown + code blocks (hydrogen, jupyter, etc) and applies all the right syntax highlighting, analysis, etc. to each block automatically.
comment 3y ago · link · parent
Pandoc is a nice swiss army knife that can do a similar conversion with some custom lua filters. It could even do wackier stuff like convert word or odt files to code if you were really diving into prose-first coding.
I've also heard it referred to as 'semi-literate programming' because it skips the reorganization functionality and just gives you nice prose to code conversion.
comment 3y ago · link · parent
It's a pretty unique use-case that not many other programming languages deal with or care about. It's almost as if you are a demo scene coder trying to optimize for the absolute smallest code possible.
Linking native code doesn't really care about optimizing the size of the output and is just just trying to make sure all code paths can be called with some kind of code.
comment 3y ago · link · parent
For example power steering in older cars was a simple hydraulic mechanical system that could fail gracefully and be troubleshooted with minimal tools. Nowadays steering is electronic drive-by-wire and has many more components like actuators, sensors, etc. that can all fail and stop the entire system.
comment 3y ago · link · parent
comment 3y ago · link · parent
Where are people going to find a $30k or less new car? Lol they don't exist.
Nothing that can drive reliably is under $10k used too.
Be as smug as you want but at the end of the day if minimum wage earners can't get affordable transportation then none of the treats you depend on and demand every day, like your coffee barista or your overpriced sandwiches, or your dog walker, etc. will be available.
comment 3y ago · link · parent
It always throws me out of flow state to have it constantly barfing and spewing info on screen as I type--like, I've been programming python for 20 years and I know exactly how the print function works, I don't need a huge spew of doc string text when I type it now. Autocomplete and such can be very handy but it's a real pain to turn it off as there are about 3 or 4 random little settings to fully disable it. Give me a do not disturb or no distraction mode that disables and enables it easily.
comment 3y ago · link · parent
It's very inexpensive, filling and easy to cook in bulk and freeze/reheat throughout the week. Most of my lunches during the week are pinto or black beans I pressure cook once a week plus some rice I cook a few times a week.
comment 3y ago · link · parent
Yes, do you not remember the whole nodejs vs. IOjs split? The community is already pulling node in tons of different directions.
> Would it have been impossible to replace Babel with a Go implementation?
Again, yes it would be impossible by dint of the fact babel is made to be a framework where you process JS ASTs using JavaScript. Rewriting it in Go removes the whole ecosystem of JS plugins it built, which is kind of the entire point of the project. A Go rewrite of certain transforms is a new project.
comment 3y ago · link · parent
I kind of think of it like high end CAD software and such that ships a physical dongle in order to use the software--Nintendo can sell hardware to help ensure it's legitimate use of their emulation software.
comment 3y ago · link · parent
It really makes me think Nintendo has an untapped market here to sell a little box you plug into your PC that plays switch games, interfaces with their controllers, etc. They've done oddball stuff like the SNES Gameboy player and GameCube GBA player add-ons in the past. It feels like there would be people willing to pay to properly play Switch games on their gaming PCs.
comment 3y ago · link · parent
You're going to get a ton of answers from people that point you at all kinds of different boards and hardware to learn from, but IMHO nothing is as well documented and easily available as classic Arduino hardware (like the Arduino Uno) and its ecosystem of libraries and programs/sketches. Everything you learn from Arduino will help you the further you get into embedded programming and hardware fun.
comment 3y ago · link · parent
For the longest time doing the most simple thing in any programming language, putting code in a separate file and loading it to execute, was nearly impossible in JS and required learning and picking sides in an opinionated loader battle. It was confusing and pretty bad for newcomers.
Nowadays all that drama is settled and the core of modern JS is quite nice. I like it more than python to be honest.