Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lucumo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
301.
▲
by
lucumo
4y ago
I've started to remove them from my own code. It's widely mentioned as The Right Way, but I feel the reasons why are obsolete. The stated reason is always that you could forget to add braces when adding a second statement. That wa
302.
▲
by
lucumo
4y ago
If you can digitize it, you can probably sort it, that's true. But the sort keys can get very artificial and weird. Let's say you're sorting a bunch a unlabelled images. You can sort them by number of pixels, that's pret
303.
▲
by
lucumo
4y ago
> Socialists have a blind spot for how people acting out of self interest is the only foundation for a fair society. I would phrase this a bit differently. Socialists[ ] have a blind spot for self interest, but ignoring it does not lead
304.
▲
by
lucumo
4y ago
No, there could be unsortable properties that are nonetheless different. Or the use case could really require that the original order is relevant. But yeah, I don't usually need stability either.
305.
▲
by
lucumo
4y ago
Again, humans are flawed. We have code that is probably broken. There's definitely a chance that the test is broken or incomplete too. Also, I demand nothing, not even a certain commit message. What I ask is that you don't expen
306.
▲
by
lucumo
4y ago
> For a complicated problem, it should not be expected that someone will read through all the “scratch work”. Do people really read through the changelog commit by commit? What's gained by that? I don't read through it at all.
307.
▲
by
lucumo
4y ago
Yes. If I see some behaviour that changed in a commit that says "lint fixes", I can be pretty sure you didn't intend that. I'm still going to check, but if I don't find anything to give me pause, I'm confident
308.
▲
by
lucumo
4y ago
> some see it as a clean up for seeing a understandable 'history', others see it as a falsification. I don't see it as a falsification. I see it as making the history less understandable. Having a track of what happened, c
309.
▲
by
lucumo
4y ago
Thank you for sharing that insight! I've often found myself doing something like that. When my natural inclination is to optimize, and the smart decision is to satisfy, having it as explicit words will help me make a decision faster.
310.
▲
by
lucumo
4y ago
For the law, intent usually matters. If you help someone who has the intention to die, then that's assisted suicide. But people can accept any level of danger they please, as long as they intent to survive the ordeal. The actions might
311.
▲
by
lucumo
4y ago
You are right. They are "appointed" by the website owner. And the website owner can go another way if they don't like what Cloudflare is doing. Cloudflare's power fundamentally comes from the good job they do protecting
312.
▲
by
lucumo
4y ago
Yes, but it's good to note that those rich welfare states still have billionaires and still have income and wealth inequalities.
313.
▲
by
lucumo
4y ago
It's perfectly possible to think that some ways of generating wealth for yourself are immoral, without thinking that all such ways are immoral.
314.
▲
by
lucumo
4y ago
But then you're back to the original question: is eradicating all poverty even possible? A tech like AC is not available to everyone all at once. It starts out very expensive and gets cheaper over time. It may end up cheap enough that
315.
▲
by
lucumo
4y ago
> Ask for forgiveness later may work at a smaller joint, but willfully and knowingly bypassing existing policies can land you in a heap of trouble at a bigger corporate. Interesting. I've found that the bigger the company the more I
316.
▲
by
lucumo
4y ago
> I don’t think MAD is all that effective. At this moment in time we’re seeing: > * Several concurrent arms races in the Middle East, Asia, and Europe > * A high intensity conflict in Ukraine > * China threatening a land invasio
317.
▲
by
lucumo
4y ago
Many things are untrue. Including "if someone else can be blamed, I am blameless". But that's getting a bit off track. I responded to the attitude where someone should not be expected to read a simple and clear dialog because
318.
▲
by
lucumo
4y ago
> Maybe have some kids Got those. I teach them responsibility for their actions. > smoke a joint Done that. Didn't use it as an excuse. > What now? Consequences don't care about your defiance. Nor should GitHub or whateve
319.
▲
by
lucumo
4y ago
> And they're a bog-standard human. Very buggy, get all kinds of tired and sleepy and drunk and high. I don't have the patience to be terrorized with some dumb ass permission lists when I want to access something. None of those
320.
▲
by
lucumo
4y ago
One thing that annoys the living crap out of me is when live chat is the only way to get support and they have office hours! So now I can't send an email at 1 AM when I have some time to myself, but have to take time out of my day to c
321.
▲
by
lucumo
4y ago
> but the fact that there is not a new Homestar Runner or NewGrounds is telling. I think that niche is now filled by the app stores. A lot of little games can be installed on your phone. The monetization of those games has made them less
322.
▲
by
lucumo
4y ago
> I once didn’t want to write or add a dependency for a Python deep equality checker so I just sorted, JSONified, and string compared the two. It worked fine for years. It wasn’t performant important code. I think this one is actually fi
323.
▲
by
lucumo
4y ago
Of course they are. No less than any other "recommendation".
324.
▲
by
lucumo
4y ago
One detail where this could come into play is when some bad actors shout down other discussions. Online this can happen when spammers just post hundreds of viagra ads, or when people get doxed for unpopular opinions. As an aside, free speec
325.
▲
by
lucumo
4y ago
I don't know if it's specced. I couldn't really find anything more than the pin diagrams on Wikipedia ( https://en.m.wikipedia.org/wiki/USB-C ). Those don't mention earth ground at all. But since bo
326.
▲
by
lucumo
4y ago
This confused me, because there's definitely no pin for an earth ground in an USB connector. So I decided to repeat your experiment and see which pin it uses. Turns out, it's the cable's shield that carries the earth connecti
327.
▲
by
lucumo
4y ago
> That's not exclusive, USB-C has ground pins. That's a circuit ground, not an earth ground. It's not for connecting the device to an earth pin. > if you remove the europlug you should see that the charger has a metalli
328.
▲
by
lucumo
4y ago
> All the mac chargers I've had had a grounding pin. The MBPs I've had only came with an USB-C charger. Those come with a Europlug, which doesn't have an earth connector.
329.
▲
by
lucumo
4y ago
You must be fun at parties. Things haven't "gotten" to this point. It has always been thus. Kindergarten definitions leave out many nuances. Definitions are nearly always dependent on context, are nearly always fuzzy around t
330.
▲
by
lucumo
4y ago
District heating here in The Netherlands is a great way to be screwed by a supplier. We have pretty good competition between suppliers for gas and electricity( ). Households that get their heat from district heating can only say yes or no t
More ›