Better HN
topnewbestaskshowjobs
Log inSign up

qbasic_forever

10,505 karma · joined Feb 3, 2021 (5y ago) · 2,505 submissions

Submissions

comment 3y ago · link · parent

The butter 'trick' is just browning the butter (which happens faster than onions) to add deep color and extra flavor to sauteed onions. For some bizarre reason the author interpreted this as blasting onions and olive oil at high heat until they were a charred mess, and then goes on to blame recipe writers for why they can't seem to cook onions. What a strange article.

comment 3y ago · link · parent

Yep I see the same thing, thrift stores are drowning in stacks of CDs and selling them for super cheap. It will not be like this forever and feels like a golden age right now to snag good CDs.

comment 3y ago · link · parent

Demon Seed was one I hadn't heard of until earlier this year and I enjoyed it. It's an interesting 70s sci-fi/horror flick and I'm surprised it's so obscure.

comment 3y ago · link · parent

Ted Chiang's sci-fi short story collections like Stories Of Your Life and Others is fantastic. It features the story that the feature length film Arrival from a few years ago was based on, among other great stories.

comment 3y ago · link · parent

I wish there was a standard label for roasted coffee beans. Something that clearly specified the origin, process, roasting date, etc. I love natural processed brews but so many bags never mention it and just have fluffy words like 'fruity, citrus'.

comment 3y ago · link · parent

America does this too, the trick they use is holding you indefinitely without having a bail hearing or trial. Kevin Mitnick was imprisoned for five years waiting bail, one of the longest cases of this treatment. https://www.cnet.com/tech/services-and-software/mitnick-rele...

comment 3y ago · link · parent

Intel is planning to build an enormous billions of dollars fab just miles away. It makes total sense to build up the semiconductor education there. OSU is a fine state school with a well regarded CS and EE department.

comment 3y ago · link · parent

Yeah that's why lit.sh and most similar tools have a mode to output a version of the file with the markdown commented out except for code blocks. This lets you pipe it into any tool and get output with proper line numbers, analysis, etc.

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

There are tools to do exactly that, like a simple bash scripts lit.sh: https://github.com/vijithassar/lit

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

Podman is an open source option on all platforms too. On Mac and Windows it runs a VM with Linux just like Docker Desktop, colima, etc.

https://podman.io/docs/installation

comment 3y ago · link · parent

Bundling is totally different from linking and building for native platforms. Bundling is all about optimizing code to be sent over a small pipe--you're combining multiple compilation units into one file (so just one web request and lower latency) and doing optimizations like tree shaking to send only the code that's actually used.

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

Yep I agree, and doing any maintenance on modern cars requires a super expensive (or sketchy pirated/ebay purchased) diagnostic computer from the manufacturer.

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

They're nice but they are designed to a cheaper consumer price point. The LS400 and top end luxury cars of 30 years ago were designed to be ultra smooth and comfortable. The LS400 had to be able to drive at 100mph+ on the autobahn without any vibration or noise from the engine felt in the cabin--it was an actual design requirement from the head of the company. If you've kept up on maintenance an old luxury car like that will drive just as smooth and comfortably as when new, and way more smooth than a new economy car.

comment 3y ago · link · parent

The average new car price is $48k now: https://www.caranddriver.com/news/a43611570/average-new-car-...

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

If you keep up on maintenance and aren't riding around on blown shocks, sagging springs, etc. then 20 plus year old cars ride perfectly fine. I would gladly ride around in a Lexus LS400 or Mercedes S class from 1992 in great condition vs. a brand new Honda Civic.

comment 3y ago · link · parent

Yeah I view it as a slider or dial in my mind. Maybe a dial from 0 to 10 for level of distraction you're willing to tolerate. The more you turn it down the more it turns off all of these suggestions, autocompletes, notifications, etc.

comment 3y ago · link · parent

It passes through enough of your root filesystem so you can run systemd and a whole new pid 1 inside the 'chroot'.

comment 3y ago · link · parent

VS code badly needs a "do not disturb" mode that disables all this junk and more (like turn off all the pop up notifications and autocomplete suggestions as you type too).

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

If you regularly eat them it goes away and isn't a problem.

comment 3y ago · link · parent

Beans and rice, it's inexpensive and delicious. If you look at food all around the world there is almost always some kind of beans and rice dish, typically made with spices and vegetables unique to the area.

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

> Would it have been impossible to nudge Node.js in the direction of where Deno is today?

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

No you won't be able to control auto updates anymore on Windows 10. Deal with it.

No you won't be able to edit system files on Mac OSX without rebooting into the bios effectively. Deal with it.

Every platform does dumb, annoying stuff. Deal with it.

comment 3y ago · link · parent

Like it or not apparently Switch piracy is a thing so this doesn't really change much for their current situation. But it does give people who want to do things the right way an avenue to do so.

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

I was listening to a gaming podcast last week and they were talking about how this release was pirated and available for the last week or so on torrents. That in itself wasn't surprising, but the interesting point they talked about is that the game is much more enjoyable when played on PC with an emulated copy because modern gaming PC hardware is much smoother and higher resolution than the stock Switch.

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

Check out a getting started with Arduino book or online tutorial series.

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

Yep I've had that Korad for years and it's great. I'm sure there are far better power supplies out there but this one is great for hacking on digital stuff and maker projects that aren't demanding or sensitive to the PSU quality (which is like 90% of projects).

comment 3y ago · link · parent

Very true, it's why I really like deno for server side since it's trying to plug that gap with a nice out of the box standard library. Client side it does feel like something like lodash is the new jQuery and just mandatory to use everywhere.

comment 3y ago · link · parent

JS itself is perfectly fine and quite a nice language when you stick to all its modern idioms that you learned and use today. I think what rankles a lot of people is going through the history of JS when it was terrible and confusing, then basically just jQuery, then the explosion and confusion of server side/node and drama with the company behind it, and finally confusion and drama with moving to modern ES modules.

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.

comment 3y ago · link · parent

Wait you're not using islands architecture!? Hahahaha how quaint! Get a load of this site, it's not using islands!!

comment 3y ago · link · parent

Robots.txt is where you tell crawlers (AI or otherwise) what should and shouldn't be read on your site.

Metadata like in tags, HTML meta tags, etc. is where you describe the content so meaning can be extracted from it by machines and automated processing.

1
8910
84