Better HN
topnewbestaskshowjobs
Log inSign up

chadrs

1,157 karma · joined Mar 31, 2011 (15y ago) · 88 submissions

Submissions

comment 1mo ago · link · parent

How could they say this but still claim it will be safer than humans?

comment 5mo ago · link · parent

HUD won't protect from a driver texting and running you over!

comment 7mo ago · link · parent

surely you've witnessed the backlash to uv as a result though

comment 7mo ago · link · parent

I love this but with all the advances of TUI frameworks, using C + ncurses feels like such a hard path.

comment 8mo ago · link · parent

yeah I remember learning this trick in like 2007 with libaa and later caca for color.

It looks like this app is shelling out to ffmpeg to get the bitmap of a frame and then shelling to something called chafa to covert to nice terminal-friendly video.

https://github.com/hpjansson/chafa/

comment 9mo ago · link · parent

I had been confusing this game with Unknown Horizons, another RTS but based on the game 1602 AD. Just realized they're totally unrelated.

comment 9mo ago · link · parent

"the sham legacy of Richard Feynman" https://www.youtube.com/watch?v=TwKpj2ISQAc

comment 1y ago · link · parent

Collaboration slows things down but going fast at all cost leads to tech fragmentation, tech debt, and product debt.

fwiw I'm not in the camp of "we must have everything done in one consistent way" but there are places, for example a public API, where having 4 different names for the same concept, 3 different response format/url path styles, etc. starts to look really sloppy.

comment 1y ago · link · parent

As someone who does not use a case, I almost never see anyone else without one. To the point that when I do, I usually mistake their phone for mine.

comment 1y ago · link · parent

Yeah, the first few times I thought maybe I was just imagining it; but I went from STATE=7280398215952, tried to merge my 64s into the left corner and instead ended up in STATE=7280398025476; my 64s have become 4s.

Can't reproduce it exactly as it happened, but if I run `STATE=7280398215952 bash 2048.bash` and press a 8 times, the 128 always becomes a 2.

comment 2y ago · link · parent

and even if some analysts at Hertz could did their job, I'm sure they were promptly ignored by executives who just liked Elon's vibe.

comment 2y ago · link · parent

I think the equivalent would be if you ported Vue to the beam, but impressive work nonetheless!

comment 2y ago · link · parent

I'm certainly not qualified to speak on this but I heard this story recently about an effective treatment for alcoholism that's been available for decades but for complicated reasons hasn't been widely accessible: https://www.reflector.show/p/how-to-listen-to-episode-1-the-...

comment 2y ago · link · parent

This is a cool toy, I've been wanting to do something similar with my flipper zero to make a BT morse keyboard.

This also reminds me of TapXR, which I would totally buy if did morse, instead of inventing their own encoding. I get it, theirs is probably way faster but fluency is morse is more general purpose.

comment 2y ago · link · parent

I’ve been pretty happy with web-ext, I’m curious what abstractions and configurations Extensions.js avoids comparatively. I’m assuming you’ll still need a manifest.json, and it looks like both use npm/package.json for dependencies.

https://github.com/mozilla/web-ext

comment 3y ago · link · parent

For working, it's not as good as an actual monitor but much easier to travel with. Really shines for games/movies though.

comment 3y ago · link · parent

I must be rare in that the longer I use tiktok, the less relevant the recommendations feel. Maybe because I compulsively watch videos until the end even if I don't like them.

comment 4y ago · link · parent

I have the opposite opinion. These things tend to get lost in my tabs.

comment 4y ago · link · parent

He literally doesn't even care

comment 4y ago · link · parent

Can we ban car alarms next? I can't believe we allow such an obnoxious feature with basically a 100% false positive rate.

comment 5y ago · link · parent

Kind of reminds me of parser combinators but not extensible.

comment 5y ago · link · parent

Yeah I agree we should be using 17 except Gradle still does not support it, despite having been out for an entire month...

https://docs.gradle.org/current/userguide/compatibility.html

comment 5y ago · link · parent

(2) No, dependent types are not the same as overloading. Basically it's when the type depends on the values; so like having a type for odd numbers or having an array that knows its length at compile time (for example to avoid array out of bounds exceptions at compile time)

comment 6y ago · link · parent

And yet every time I go to my parents' they've somehow installed Adobe Reader for Mac. I've deleted that app like 6 times.

comment 6y ago · link · parent

It just depends on whether you trust a government or a rich philanthropist to "properly use" capital (get the most impact/$).

If you let billionaires make the choices then sure you get some like Feeney/Gates/Buffett but you get Koch brothers.

Government could theoretically do a more equitable job but only if social programs are run competently. Think about the leadership of EPA and HUD.

comment 6y ago · link · parent

At the string literal level doesn't do anything, but the standard library adds an extension method to string called `stripMargin`. This has some nice examples https://www.oreilly.com/library/view/scala-cookbook/97814493...

comment 6y ago · link · parent

I've done stuff like this but behind Tor. I tried to make the data random enough it would be tough to see which records were real. I remember once my IP was getting blocked after a certain amount of requests (not sure if via some automated fail2ban or a human) but Tor has an API to swap to a new outbound IP, so I just had it do that in the case of a timeout.

comment 6y ago · link · parent

This kind of reminds me of Ammonite: https://ammonite.io/#Ammonite-Shell which definitely for a different audience but kind of a blend of being a Scala repl and somewhat-usage shell with several common commands being implemented as JVM functions with sensible types.

comment 7y ago · link · parent

It's a decision choice to be single-threaded. Using threads requires locking or sophisticated concurrent data structures which can sometimes outweigh benefits in both code correctness/maintainability and performance.

comment 7y ago · link · parent

I stopped paying attention to the Rust parsing ecosystem for a while, curious how LALRPOP compares to nom/pest/combine and if something about python's grammar led to the choice.
123