Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
djur
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
811.
▲
by
djur
4y ago
That kind of material is also taken down.
812.
▲
by
djur
4y ago
There's no political constituency for "limited government". Most voters want the government to do things they like and not do things they dislike. They just disagree on what those things are.
813.
▲
by
djur
4y ago
If people were posting revenge porn of Tiffany Trump on Twitter and RNC staffers contacted Twitter to notify them of the offending tweets, I think that would be commendable.
814.
▲
by
djur
4y ago
The poll showed that 4 out of 5 people who said they had been following the laptop story (i.e., people who already knew about it despite the "censorship") thought that it was "very" or "somewhat" likely that co
815.
▲
by
djur
4y ago
The two "others" were Bernie Sanders and Evan McMullin, and the one Republican was Adam Kinzinger, a high-profile Trump critic who didn't even run for reelection in '22. There was a single individual donation of $200 to
816.
▲
by
djur
4y ago
> some have alleged it contains child pornography as well (with Hunter in the scene) This is a tremendously incendiary and defamatory claim to make on the basis of "some have alleged". Unless you're willing to name your so
817.
▲
by
djur
4y ago
Why should anybody trust that the feed was complete and that favored individuals or organizations weren't filtered out?
818.
▲
by
djur
4y ago
Is the Taliban posting nude pictures of people without their consent?
819.
▲
by
djur
4y ago
Either Biden was already effectively able to employ government power against Twitter or Twitter had the ability to affect whether he got elected, but arguing both makes no sense.
820.
▲
by
djur
4y ago
Thanks for the info! Those mostly seem like problems that can be resolved without cryptocurrency.
821.
▲
by
djur
4y ago
Why is it a problem?
822.
▲
by
djur
4y ago
I see this a lot, and I'm not sure why people are so confident about it. Lighter, thinner, more durable materials are a huge upsell and focus of ongoing product development in eyeglasses, and that's to save 10 or 20 grams. The lig
823.
▲
by
djur
4y ago
I've worn glasses since I was a small child and that's not my experience at all. It's comparable to wearing clothes, except they cost me less and are quicker and easier to clean and maintain. I've occasionally had uncomf
824.
▲
by
djur
4y ago
Also the senior leadership in these companies are all part of overlapping social circles, have similar educational backgrounds, have a similar media diet, etc.
825.
▲
by
djur
4y ago
This "benefit" is available to everyone laid off. It's not discriminatory just because some people don't need it. Otherwise offering free bicycle storage would be discriminatory to people who bus to work, and offering fr
826.
▲
by
djur
4y ago
That's a good point, but according to my tests DYM already won't suggest `table_name=` for `set_table_name`. The spellchecker is based on Jaro-Winkler and Levenshtein distances, not substring matches. An alternative would be just
827.
▲
by
djur
4y ago
You're thinking deep immutability? I'm not sure that's ever going to make sense to bundle with the language. Too many caveats. I'd rather see incremental additions to this minimal Data API than trying to do too much at o
828.
▲
by
djur
4y ago
I submitted a pull request to did_you_mean for a simpler solution: only suggest methods ending with = if the user tried to call one, and vice versa.
829.
▲
by
djur
4y ago
Agreed. The second chapter of Programming Ruby, "Classes, Objects, and Variables", shows you how to manually implement 'attributes' before introducing you to the attr_* methods. This is fundamental stuff.
830.
▲
by
djur
4y ago
"ImmutableStruct" does not communicate the key detail that these are compared by value, not identity. "Data class" is a common term for this in other languages, including Java, Kotlin, and Python. "Data" is def
831.
▲
by
djur
4y ago
Yeah, I'm happy to see this. Every Ruby shop I've worked for has some kind of hand-rolled immutable struct, possibly in addition to various implementations provided by libraries. The backwards compatibility reasoning for not addin
832.
▲
by
djur
4y ago
They're higher in fat than traditional veggie patties. That could explain it.
833.
▲
by
djur
4y ago
Yes, although they still evaluate to 0 and 1 and conditional logic is still defined in terms of 0 and 1. Maybe that will change at some point in the future as well!
834.
▲
by
djur
4y ago
Most of the linters I'm aware of do the opposite. You could probably create rules for one that require the condition of an if statement to always contain a comparison, but it's worth remembering that the comparison operators thems
835.
▲
by
djur
4y ago
In C? C doesn't have a concept of truthiness, just zero and nonzero.
836.
▲
by
djur
4y ago
0 is the false value in C, no implicit casting or "truthiness" involved. The C standard explicitly defines if statements in terms of zero: "the first substatement is executed if the expression compares unequal to 0... [else]
837.
▲
by
djur
4y ago
I've always been interested in Deming and his ideas (my dad was kind of obsessed with him when I was younger) and every time I want to find some good material on him to get other people interested I have trouble. A lot of the websites,
838.
▲
by
djur
4y ago
> “A rose by any other name is a rose,” he said. “In the end it’s how a symbol affects you visually and emotionally. For many, it creates a visceral impact and that’s a fact.” I'm sympathetic to both sides of this argument, but I th
839.
▲
by
djur
4y ago
What a food critic reviews (the food, the service, the ambience) is analogous to the user-facing Twitter experience, which you don't need to be a programmer to review. What a chef does to create that dining experience (sourcing ingredi
840.
▲
by
djur
4y ago
In my experience, very intelligent people can fall into a trap where they're so used to being able to solve problems based on their initial assessment that their ability to actually dig in and solve more difficult problems analytically
More ›