HNHacker News
TopNewBestAskShowJobs

ketralnis

4,271 karma · joined September 4, 2007

David King

[ my public key: https://keybase.io/ketralnis; my proof: https://keybase.io/ketralnis/sigs/-b8hg9xv4sLOgAEnBoAfmQjftzv790I-mM2YelSrYfI ]

submissionscomments
ketralnis··on Tom 7: Badness 0 (Three ways)
For something user facing sure but trying to debug why _sometimes_ my grep job hangs with large data dumps because my popen3 didn't know to consume from stderr because of your whimsicle message would be pretty rage inducing
ketralnis··on Make your program slower with threads (2014)
I love the fancy modern type systems and all of the superpowers that they give you. But this is an area that I feel isn't adequately explored.

If you call a function that calls a function that has side effects, or that closes the file descriptor you're using, or could panic, or that needs global shared state, or spins up a thread, or allocates, we don't have a good way to deal with that. There are some partial and underutilised solutions like monadic IO and linear/affine types and, uh, not having panics. I have some (bad) ideas but I think this is a space that's worth playing in.

ketralnis··on Tom Waits vs. Frito-Lay, Inc (2003)
The video description is

> All credits to FX. I do not own any rights.

Appropriate

ketralnis··on One-third of Amazon warehouse workers are on food stamps or Medicaid
It's incrementally better for them to be making $20 instead of $10, sure. But it's worse for the world for that to be footed by the tax payer instead of by the trillion dollar company that they work for. In effect the tax payers are lining Amazon's pockets.
ketralnis··on Glance: A self-hosted dashboard that puts all your feeds in one place
I know so many developers (including me) that build this very thing. There's clearly demand for it, but no incentive for any large services to integrate their stuff into it when they can demand that you go directly to them :(
ketralnis··on How bad are satellite megaconstellations for astronomy?
A: yeah we're hurting you but if we didn't, B & C would

B: yeah we're hurting you but if we didn't, A & C would

C: yeah we're hurting you but if we didn't, A & B would

I guess it’s nobody’s fault then

ketralnis··on High prices are not the main cause of low fertility rates in cities
> with the intention of having kids

You're not disagreeing with the GP

ketralnis··on Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?
VBDOS, Visual Basic for MS-DOS, was incredible at quickly whipping together a TUI. The tool itself was a pretty slick TUI but I used it for writing all sorts of TUI tools for everything from doing my homework for me to editing game config files.
ketralnis··on Borgo is a statically typed language that compiles to Go
Rust is not as complicated as the opening graphic indicates. I usually see this meme from less experienced people but I'm frankly surprised to see it from somebody that's capable of writing a compiler in rust.
ketralnis··on Watch cars evolve using genetic algorithm
Time comes for us all
ketralnis··on The unstallable plane that stalled
Things that can influence stall speed include weight, power, center of gravity, flaps/landing gear configuration, and more.

Why? Well, stall speed isn't a real thing. There isn't a speed at which you stall, that's not how it works. It's a convenient short-hand that we use for the more complicated reality. The physical reality is that stalls happen at a particular angle of attack (AOA) into the apparent wind. That is, the angle of your wings relative to the airflow. Up to the critical angle a higher AOA means more lift to counteract gravity. As you slow down you generate less lift because there's less airflow over the wings. So as you slow down, in order to generate a similar amount of lift you have to increase your AOA. If you keep slowing down and adjusting your AOA to compensate, you'll reach a speed that's low enough and therefore AOA high enough that adding more AOA no longer adds more lift (the air no longer flows smoothly over the wing). That's the stall speed, the speed at which more AOA no longer generates more lift. But it's the AOA that's the problem, not the airspeed.

In addition to lower speeds needing more AOA, you also need a higher AOA if you weigh more. A wrong but illustrative way to think about it might be that you need the engine's thrust pointed more towards the ground the more you weigh. That means that as you burn fuel (lose weight) the AOA that will stall you doesn't change, but the excess AOA available due to your weight-change does so in effect the air speed at which you would be near the critical AOA to stay airborn does change.

Stall speed is still a useful concept especially while landing but it's misleading outside of landing and when anything else is remotely unusual like weight or modifications to the plane. For this reason the FAA has been trying to get AOA indicators installed in planes and to train pilots to look at those instead of thinking about stall speeds https://www.faa.gov/sites/faa.gov/files/2022-01/Angle%20of%2...

ketralnis··on PS1 Programming Course with MIPS Assembly and C
The average age of me is up there :) I mean to say that any 3d programming being "retro" makes me feel old
ketralnis··on PS1 Programming Course with MIPS Assembly and C
min(you, the website)
ketralnis··on PS1 Programming Course with MIPS Assembly and C
There's something aging about "If you like retro programming & want to learn more about the early days of 3D games..."
ketralnis··on What's the fastest language in the world?
> predating LLM revolution

So? It's not about LLMs?

ketralnis··on Paris preserves its mixed society by pouring billions into public housing
As someone who lives in an area with plenty of high-density residential buildings, I can attest that I love it and I wish there were more American cities that were an option for my lifestyle.
ketralnis··on Cisco Acquires Splunk
I'm sure this will have no effect on the price of this famously expensive product
ketralnis··on The language you speak changes your perception of time
Shrug, you can read the book and find out
ketralnis··on The language you speak changes your perception of time
John McWhorter has a book about this called The Language Hoax: Why the World Looks the Same in Any Language in which he's extremely skeptical of Sapir-Worf, particularly the sort of stoner linguistics "what if we're all, like, made of language maaaaaan" as it's usually described in what seems to be the biannual Popular Science article.

In fact, time perceived as volumetric rather than as a length is the specific example he uses and includes the actual research. There are extremely specific cases like this where it does in fact hold up but the effect is extremely minute, to the point that it's difficult to even measure properly. In most cases it doesn't hold up at all. But these very tiny barely measurable cases are often used as evidence for frankly nonsense claims so it's important not to extrapolate this to "Japanese blue and green are the same word so Japanese people must be colourblind", which is where people often take this.

ketralnis··on UK Judge Declares Craig Wright Is Not Bitcoin Creator Satoshi Nakamoto
I haven't read this case but much of the time that courts are deciding weird looking statements like "this person didn't cheat at this video game" or "Craig Wright is not Satoshi Nakamoto" it's in defamation cases. I say "coding123 is a big poopy head" so you sue me saying that I defamed you. In most countries truth is a defence for defamation, so if I can prove that you are in fact a big poopy head then I can defend myself from the suit. That means that a court has to determine the truth of a statement that doesn't seem like a thing that courts should be worrying about
ketralnis··on Crypto 'mixer' convicted of money laundering on Bitcoin Fog
Okay but money laundering is https://www.law.cornell.edu/uscode/text/18/1956
ketralnis··on White space does matter in C23
> White space in variable names is a bad idea.

In many contexts yes but as a blanket statement no. Calca allows whitespace in names and it is a delight to write as a result

ketralnis··on DJGPP
I learned C on this compiler. Very fond memories
ketralnis··on Unusual basis types in programming languages
Also "strings but moreso". e.g. in TCL and bash everything is actually a string even if you can contextually treat it like an integer.
ketralnis··on Changes we're making to Google Assistant
And yet humans figure it out sometimes
ketralnis··on Changes we're making to Google Assistant
Be better and misunderstand less often?
ketralnis··on Copilot key will eventually be required in new PC keyboards
I mean sure it's "everybody" but renaming Edge to Edge: AI Browser (https://play.google.com/store/apps/details?id=com.microsoft....) is more over the top than most.
ketralnis··on Maze Generator
I agree and it's certainly their perogative and one should respect it.

That said, how are people using this to generate any income at all? Printing out and selling mazes? How big can that market be?

ketralnis··on DOS on Dope: The last MVC web framework you'll ever need (2010)
Or COBOL on COGS http://www.coboloncogs.org/INDEX.HTM
ketralnis··on Volkswagen, Porsche, and Audi say they will use Tesla's EV charging plug
I've done a fair amount of road tripping (~15k mi over 1.5yr) along the WA/OR/CA/NV corridors where Electrify America is dense enough to use solely, which is convenient since my car came with 2 years of free charging from them.

Ignoring their pervasive station reliability problems, their app is pretty bad and only barely functions.

* I've had to skip a perfectly functioning station because the app thought I was still charging from the previous time and wouldn't change its mind about it.

* Their Carplay app has literally never worked for me, not once (usually it shows me still charging from a session >1wk ago even when the regular app doesn't, sometimes it doesn't boot, sometimes it shows me as not logged in. The main screen has never once rendered.).

* One of their level 2 stations (which tend even less reliable) existed in the app on about 50% of refreshes.

* The app requires a pretty solid signal to work at all since it seems to consult their API to query for stations near where you are and then you guess at which one it is ("is this the target one or the mall one? it's the target that's in the mall?") which is pretty silly when you're parked at the station so it's in range of your hands and eyes.

* I eventually figured out that I can add the EA plan to my Apple Wallet and tap the phone instead of ever opening the app, but that seems to randomly select between the "free" plan (rather, included in the purchase price of my car) and the $10 balance that they make me maintain for god-knows-why when at California electricity prices no charge has ever been below $10.

* The stations have credit card readers which I've never tried to use but almost always when I see somebody having trouble at a station it's because they're fighting with that thing. I assume EA's response would be "just use the app, it's so much better"

That's all just one app, not a slew of them for every charging network in my area (which also includes at least evgo & chargepoint just to cover the big ones). The sooner this app bullshit can die the better.

← PreviousPage 2 of 34Next →