HNHacker News
TopNewBestAskShowJobs

earthboundkid

6,536 karma · joined May 1, 2007

A beach bum based primarily out of Waikiki, the earthbound kid has cleverly deceived friends and acquaintances into believing her self-stylings as a would-be philosopher and raconteur at the University of Hawaii at Manoa.
submissionscomments
earthboundkid··on Why Is the Django Admin "Ugly"?
I mean, the Lawrence paper has been on WordPress for like half a decade now. It's just in a hard spot because the niche it was made for got squeezed out of the market from the middle. If you have enough money for a developer, you probably also have enough money for a real backend UX.
earthboundkid··on Running the "Reflections on Trusting Trust" Compiler
Usually rsc’s blog posts are intimations of what he’s going to propose next for Go. Um, er, oh boy.
earthboundkid··on Psychedelic Mushrooms Hit the Market in Oregon
From a programmer's perspective, I think everyone should try them once. It's like commenting out a portion of the code to see the effects as part of debugging. It's neat to be like, "Oh, if you just turn off the image stabilization, the walls look like waves, and then the pattern matcher takes over and goes crazy."
earthboundkid··on How to Fetch a Turbo Stream
I find the setup as described confusing. What is stopping a customer from just triggering the Stripe call with an invalid code? Presumably, the answer is they can do it, but after the Stripe call, the order will be rejected at fulfillment time. So, the check is just a preflight, but the real validation comes later. (Or is there a signature involved? Could be, but TFA doesn't specify it.)

Either way, you can just do a quick JSON fetch call on the client side as part of client side validation once customers type the code into the box and then pass it along to the server for the final POST.

earthboundkid··on Trying out TinaCMS
A CMS manages content. Hugo is a Static Site Generator. It’s a different tool. I use Hugo at work and have a custom built CMS for it.
earthboundkid··on Trying out TinaCMS
I’ve used it in prod before. It’s fine for small, focused sites. For example, I have some lists of people who journalists can contact. It uses decap to let editors manage the lists.
earthboundkid··on [dead]
It's a common problem because American English no longer preserves the pronunciation difference, but posting to HN about it is a waste of time. Get a highway billboard and put it next to the ones about Jesus if it bothers you that much.
earthboundkid··on How to Fetch a Turbo Stream
> Let’s say your app also allows promotional codes to be used, and that promo codes in your app live outside Stripe, because Stripe does not support promo codes for your type of product. What this means in practice is that before calling Stripe’s confirmPayment, you have to send a request to your server with the promo code that the user wants to apply. This request can respond in one of two ways - either the promo code is valid, or it isn’t. If it is valid, then you can go ahead and call confirmPayment. If it isn’t valid, then you need to render validation errors.

This is an extremely trivial bit of JavaScript, but it is made difficult because it is trying to use a JavaScript framework developed by people who hate JavaScript. Do the form validation on the client side to give users instant feedback and then do final validation on the server side where you enforce business rules. These are two different kinds of validation and it's not actually effort saving to try to combine them. If you have good client side validation, you can just be a hard ass on the server side because you know that anyone who gets the server side error is already bypassing client side validation, so they are being naughty to begin with. It makes like easier to keep the validation separate.

earthboundkid··on Pro-Palestinian creators use secret spellings, words to evade social algorithms
The Chinese have been doing this for decades. They'll do the equivalent of Cockney rhyming slang with Chinese characters so it will be like "fuck your mother" can be written like "grass mud horse" which can be interpreted as an Alpaca and then it gets weirder from there… https://en.wikipedia.org/wiki/Grass_Mud_Horse Xi Jinping looks like Winnie the Pooh, so you can talk about bears, honey, etc. The thing with the COVID riots that was shocking was that people were so fed up with the lockdowns that they just straight up said so without using any indecipherable codes.
earthboundkid··on Who profits most from America's baffling health-care system?
The AI has been running things for its own benefit for hundreds of years.
earthboundkid··on Doppler Effect analysis of two videos of the Al-Ahli hospital attack
I think both sides of the war are horrible war criminals, but Israel has repeatedly both bombed civilians and lied about bombing civilian, so it’s Occam’s razor that they did it here too, and the burden of proof is on them to provide any evidence at all for misfire theory.
earthboundkid··on History of Tcl
PS less than a year until the Bell Riots! https://bellriots.netlify.app/
earthboundkid··on History of Tcl
Strange New Worlds has hinted that the timeline we’re on is shifted because Khan was supposed to conquer Earth in the 90s, but now it’s the 2030s due to various temporal shenanigans.
earthboundkid··on Perilous Joy: George Eliot and the marriage question
Don’t ruin perfectly good philistinism with your tedious facts. Whoever this Mr Eliot is, we have more important things to do, like fighting about Vim vs Emacs.
earthboundkid··on Doppler Effect analysis of two videos of the Al-Ahli hospital attack
But will we ever really know who shot down Pregozhin? Makes u think.
earthboundkid··on Doppler Effect analysis of two videos of the Al-Ahli hospital attack
Who could have predicted that the obvious suspect did the thing that they had done before? Next you’ll tell me that the US bombed Nordstream or that China is covering up the lab leak.
earthboundkid··on Toyota adopts the North American charging standard
lol, Elon is totally that petty, isn’t he?
earthboundkid··on Meta Plans to Grow Threads by Ramming Its Posts to Facebook
https://knowyourmeme.com/memes/the-gendo-pose
earthboundkid··on The Killer Use Case for LLMs Is Summarization
Another application is to use the LLM to build an embeddings database, and then do semantic search only within that database. Don't just let the LLM talk about whatever it wants to hallucinate up, force it to use a set of known good answers while accepting natural language input and summarizing documents in the known good dataset.
earthboundkid··on Meta Plans to Grow Threads by Ramming Its Posts to Facebook
Lina Khan smiles and nods while she tents her fingers in front of her.
earthboundkid··on The most insane "robocall mitigation plans" that telcos filed with the FCC
This is already a thing. Crooks create a 1-900 number and then use stolen identities to call it from other phone accounts. They managed to rack up a couple of thousand dollars in charges on Verizon when they stole my identity in 2015.
earthboundkid··on Microfrontends should be a last resort
Microfrontend was such an obviously dumb idea. It's just a pretty name for tech debt.
earthboundkid··on The Techno-Optimist Manifesto
Live long and prosper.
earthboundkid··on Lab leak fight casts chill over virology research
I think if there's even a 49% chance that a certain kind of research caused the pandemic, it should be banned, because that's too high. Hell, even a 1% chance of another pandemic is too high, but I don't think any honest evaluator can put the odds of it having been a lab leak that low. It's not 100%, but I think anyone being honest with themselves about the evidence has to put it over at least 20%, and I think as high as 80%.
earthboundkid··on Lab leak fight casts chill over virology research
Sure, remember how useful GoF was during the pandemic? Oh wait, no, that was mRNA vaccines. In fact, if there was ever a time GoF could have been helpful, it would have been a global pandemic. So maybe it's a crappy technique that should be banned by all countries everywhere because it is all costs and no benefits. :-/
earthboundkid··on Lab leak fight casts chill over virology research
I mean, are we supposed to feel bad for a handful of scientists and not the millions of people who died and the billions whose lives were disrupted? Seriously?
earthboundkid··on Lab leak fight casts chill over virology research
I mean, good? They did cause a global pandemic costing trillions of dollars and millions of lives, so maybe they should just chill TF out for a while?
earthboundkid··on No morphological differences between living and non-living systems are yet known
It’s just Aristotle 101: you’re not going to find a formal cause of life because life is a final cause, duh.
earthboundkid··on Using Goatse to Stop App Theft
There’s an HTTP header you can add that prevents a page being in an iframe, but go off, king.
earthboundkid··on Better HTTP server routing in Go 1.22
Go's flag, log, image, and sql packages all work this way, so it's not just the HTTP router. I sort of see both sides. Having implicit registration makes it very easy to have different teams working on different packages and you just import the package and it registers itself. But it also makes the behavior of the resulting final binary hard to understand and based on implicit code instead of explicit. I personally try to just have one big routes() http.Handler function that returns everything all in one place, but I get why that isn't always practical.
← PreviousPage 8 of 34Next →