HNHacker News
TopNewBestAskShowJobs

hashmap

561 karma · joined June 6, 2012

submissionscomments
hashmap··on GraphQL: The enterprise honeymoon is over
I do like the look of this! It seems like it nicely provides that without like kicking you into React, which I have ended up having to draw a hard line against in development after my first couple experiences not only with it, but how the distributions in AI models make it a real trap to touch. I'll swap this in in one of my projects and give it a go. Thanks!
hashmap··on GraphQL: The enterprise honeymoon is over
> GraphQL isn’t bad. It’s just niche. And you probably don’t need it.

> Especially if your architecture already solved the problem it was designed for.

What I need is to not want to fall over dead. REST makes me want to fall over dead.

> error handling is harder than it needs to be GraphQL error responses are… weird. > Simple errors are easier to reason about than elegant ones.

Is this a common sentiment? Looking at a garbled mash of linux or whatever tells me a lot more than "500 sorry"

I'm only trying out GraphQL for the first time right now cause I'm new with frontend stuff, but from life on the backend having a whole class of problems, where you can have the server and client agree on what to ask for and what you'll get, be compiled away is so nice. I don't actually know if there's something better than GraphQL for that, but I wish when people wrote blogs like this they'd fill them with more "try these things instead for that problem" than simply "this thing isn't as good as you think it is you probably don't need it".

hashmap··on Australia begins enforcing world-first teen social media ban
The execution didn't finish; it started. Big policy changes typically take time to solidify, and it'll probably take a bit to get a reliable read on its trajectory. But there is international momentum on this, so making predictions based on whatever percentage of people that were supposed to have their accounts deactivated actually did the day of (if we even have that data, and I doubt that we do), is probably not going to be useful.
hashmap··on I wasted years of my life in crypto
It is both telling and very, very funny to confuse asking for specifics for making an argument against something.
hashmap··on I wasted years of my life in crypto
> I would encourage you to learn about them as if they were just incredibly robust databases that even governments would struggle to take down. Surely you can think of something cool to build with that, which doesn't involve money.

Why is it so popular for someone in tech to assign everyone else the task of thinking up something useful to do with technology x they think is cool?

> It's not an overstatement to say that distributed ledgers are as big of an advancement for human coordination as democracy was.

Ok, if that's really your thinking then you need to lay out: here's an impossible-to-ignore thing we can do with this, and this is how, and this is why this wouldn't be possible without this thing.

hashmap··on The programmers who live in Flatland
I am literally asking you to show me what you are talking about.

Who retired early? What did they make with Lisp? Do you have a link to that thing they made? Was it actually something special about Lisp or did they just happen to use Lisp while making something that could have just been as easily - or more easily - done with something else? Is that real-world, specific, material outcome replicable by other people and they should know about it?

hashmap··on The programmers who live in Flatland
"Lisp makes people rich, and I love being rich. Using Lisp actually can't help but make you rich. But I can't actually provide any examples of that happening or how they might translate to anyone else. Get so rich with Lisp. Lisp."

Show me!

hashmap··on The programmers who live in Flatland
> The ability to manipulate compile-time so effortlessly is a new dimension of programming. This new dimension enables you to write fundamentally better code that you’ll never be able to achieve in a lower dimension.

Show me. Specifically, material outcomes that I will care about.

hashmap··on I put a real search engine into a Lambda, so you only pay when you search
Serverless gets a lot of hate for its name, but I have had so much success with it myself that I have moved on to its successor and have started developing for computerless architectures.
hashmap··on Dicing an Onion, the Mathematically Optimal Way
Well, so much for that sentiment! Those onion letters definitely struck me as the original "look we can make chairs out of avocados" use case for dall-e. I guess it's not surprising that good looking AI images turn out to not be AI images in the first place.
hashmap··on The road that killed Legend Jenkins was working as designed
> No one "exactly designed" this road to kill children

https://en.wikipedia.org/wiki/The_purpose_of_a_system_is_wha...

hashmap··on Dicing an Onion, the Mathematically Optimal Way
I dislike easily 90%+ of the images I recognize as AI-generated, but the ones on this internet web site I think are a good use of the tech.
hashmap··on In restaurants, We need a new way to signal that we're ready to pay
> The waiter brings over the bill, in a black rectangular wallet, and walks away.

This is when you pay, just have your card or whatever ready to go. Skip the extra limbo state and leave when you're ready.

hashmap··on Decreased CO2 during breathwork: emergence of altered states of consciousness
Put on a five-minute song and start hyperventilating. You can tell pretty quick.
hashmap··on Will the Man Get Frog
I love this kind of thing. Something about the font hurts my eyes though, I think there's just slightly too few pixels in it.
hashmap··on I've been using Claude Code for a couple of days
This has been my experience as well. I find that the copy/paste workflow with a browser LLM still gets me the most bang for the buck in both those cases. The cli agents seem to be a bit manic when they get hold of the codebase and I have a harder time corralling them into not making large architectural changes without talking through them first.

For the moment, after a few sessions of giving it a chance, I find myself using "claude commit" but not asking it to do much else outside the browser. I still find o1-pro to be the most powerful development partner. It is slow though.

hashmap··on The “strategic reserve” exposes crypto as the scam it always was
I dunno, can you fill your tank up with bitcoin when you need to get to work?
hashmap··on Bots, so many bots
Karma is a number that can go up. Numbers going up is a supernormal stimulus for humans.
hashmap··on Did Reddit just destroy mobile browser access?
This whole thing has felt like the other person in an unhealthy relationship ending things. Maybe a little painful at first, but very obviously, and immediately so, for the best.
hashmap··on 'Guilt Tipping': Pressure to tip has gotten out of control
It's not though - the restaurant pays the employee as low as $2.83 per hour. Restaurants should have to pay their employees the same minimum wage as everyone else, and anything the customers decide to give the wait staff should be extra (if tipping really should be legal at all)
hashmap··on 'Guilt Tipping': Pressure to tip has gotten out of control
On balance this is a very classist reaction. Restaurant staff in general is not going to stick their neck out to assault customers.
hashmap··on 'Guilt Tipping': Pressure to tip has gotten out of control
The better societal rule is to disallow tipped employees from receiving less than minimum wage. A better step yet is barring restaurant staff from receiving tips altogether. The marginal benefit from letting them accept the generosity of customers is far overcome by abusive employers leaning on the guilt of customers to pay their employees something to live on.
hashmap··on 'Guilt Tipping': Pressure to tip has gotten out of control
A number of years now.
hashmap··on Children aged 2-6 successfully trained to acquire absolute pitch (2012)
This isn't quite right; the University of Chicago study replicates what has already been known for a long time - that musicians can develop their pitch memory around the timbral context clues of a particular instrument. However, this learned pitch does not generalize to other instruments and/or common everyday sounds (train horns, washing machine vibrations) in the way that people with absolute pitch can instantly identify.

An analogy to this might be that a colorblind person if shown enough fabric and told what the colors were can eventually associate the texture of the fabric with a given color and can learn to do this translating in their head, but they will not be able to train their eyes to see color no matter how much practice takes place.

Rick Beato covers the subject rather well in his video "Why Adults Can't Develop Perfect Pitch" https://www.youtube.com/watch?v=816VLQNdPMM

If it were the case that such a substantial number of amateur test subjects could develop absolute pitch from doing a few exercises, we would expect to see commensurate numbers of musicians who spend thousands of hours playing music to also develop this skill, but this is not and has never been the case.

hashmap··on Bob Lee, former CTO of Square, has died after being stabbed in San Francisco
You both did a much better job answering those points than I was prepared to do, that was really nice to see.

> I simply can't get good, data-based positions from those that are here to cry for the blood of those they label criminals.

That's the nature of it, unfortunately. The people who freak out the most about murder are the most excited to call for additional murder, and the mental gymnastics needed to resolve that cognitive dissonance means you're not going to get a good faith argument. They don't even necessarily believe what they're saying in many cases, it's just lashing out after getting riled up thinking they're being targeted somehow. There seems to be a lot of that here in this thread especially, since the victim was a techie.

I try to remind myself that it's not about convincing the person you're responding to, it's about reaching who else might be reading.

hashmap··on Bob Lee, former CTO of Square, has died after being stabbed in San Francisco
Damn.
hashmap··on Bob Lee, former CTO of Square, has died after being stabbed in San Francisco
It's a liberal city, not a progressive one. That analogy is quite bad and I think you know that - there is no answer to the problem of homelessness that does not involve spending large amounts of money, and the implying that the answer doesn't is quite dark.
hashmap··on Stable Diffusion copyright lawsuits could be a legal earthquake for AI
Shouldn't it be decided on an image-by-image basis? If the resulting image doesn't infringe copyright, what's the relevance of how it was made? That's how it's worked up until this point.

I mean, maybe because the impact is so severe we should HAVE new laws affording more protections to artists, but that's a different argument right?

hashmap··on Thinking hard makes the brain tired
> Their eyes were the clue. The pupil initially constricts when participants are shown the two options. The time it takes for the pupil to subsequently dilate reflects the amount of mental exerted. The pupil-dilation times of participants assigned hard tasks fell off significantly as the experiment progressed

Maybe tracking pupil dilation time with your webcam can give you a live reading of how tired you are or how much you're exerting yourself at a given task. I'd pay for this.

hashmap··on Gitlab to lay off 7% of staff
I dunno, maybe look at more than one company doing layoffs and think about whether the group as a whole is in dire fiscal straits, whether they're continuing to hire through the layoffs, and who the winners and losers will be through the whole ordeal. Those details are elsewhere on the thread and are easily googleable if you have a real interest.

If you have a hard time believing capitalists wouldn't literally do capitalism when they see a chance for it, I don't know what I can tell you really.

"I don't really see it" is a pretty... well it's something, that's for sure.

← PreviousPage 4 of 6Next →