Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
trealira
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
trealira
1y ago
> Clearly if those from which money is taken maximized their utility by charitably giving it away to familes with newborns, this policy wouldn't be necessary. >To that end, this policy creates deadweight loss for those from whom
32.
▲
by
trealira
1y ago
>Why should I have to pay for Debbie across the country to have a kid? Or Fred across the state? It's a net benefit to society encourage people to have kids and keep the number of births closer to replacement rate.
33.
▲
by
trealira
1y ago
Well, perhaps if there's a Democratic president in four years, and they aren't afraid to break laws as much as Trump does, they could abolish ICE by withholding Congressional funding, destroying it the way this administration dest
34.
▲
by
trealira
1y ago
Transgender people would also be taking hormones and get surgery(/ies), changing their bodies to be closer to the sex they weren't born as. I get what you're saying, but am just clarifying because it sounds too close to the &
35.
▲
by
trealira
1y ago
I'm not who you asked, but I remember being one of the few quiet boys in my classes when I was a young kid in elementary school (in the US that's like ages 4-10, grades kindergarten through 5th grade). I was resentful of the ones
36.
▲
by
trealira
1y ago
Oh, sorry, I didn't downvote you. Just gave you an upvote.
37.
▲
by
trealira
1y ago
What Rust's syntax really reminds me of is Algol 68, or BLISS, both of them being these old procedural languages where everything is an expression. The "loop { ... break expr; ... }" thing reminds me of BLISS's "exi
38.
▲
by
trealira
1y ago
The site is pretty much entirely software developers.
39.
▲
by
trealira
1y ago
I mean, I know that. I'm thinking of why it doesn't "sound black" to others but it does to you. Words are just words. They don't have inherent qualities that can't change or are the same to those who haven'
40.
▲
by
trealira
1y ago
Maybe you mainly heard it said by black people, so it just sounds black to you? Whereas someone who heard about it on Twitter in 2015 wouldn't have made the same subconscious association, even if it's explicitly about celebrating
41.
▲
by
trealira
1y ago
Slave owners would cite Ephesians 6:5-6. Slaves, obey your earthly masters with respect and fear, and with sincerity of heart, just as you would obey Christ. Obey them not only to win their favor when their eye is on you, but as slaves of
42.
▲
by
trealira
1y ago
>I assume you would not have wanted to live in a universe when humanity was wiped out aeons ago, or left to some Mad Max existence. But if that had happened, none of us would have been born to care anyway. I'm not arguing for antina
43.
▲
by
trealira
1y ago
Such a self-absorbed, corrupt grifter of a president, especially with the degree of influence over the FCC the president has.
44.
▲
by
trealira
1y ago
Android does let you produce em dashes. I'm typing this with Google Keyboard right now. If you hold the hyphen button, you get options for an underscore, an em dash (—) an en dash (–), and the dot symbol (·). The ellipsis (…) can be wr
45.
▲
by
trealira
1y ago
Nope, it was introduced in C++11, along with the type std::nullptr_t. Before that, you either used 0 or NULL, which was a macro constant defined to be 0.
46.
▲
by
trealira
1y ago
>calling unwrap() on some optional fields to convert them to non-option types then this should raise alarm bells Yeah, definitely. And the equivalent without optional types, dereferencing a null pointer, might happen because they don
47.
▲
by
trealira
1y ago
That still can't cause a null pointer dereference.
48.
▲
by
trealira
1y ago
GNOME doesn't look anything like Windows XP, though. Not the design language and not the actual layout of the UI.
49.
▲
by
trealira
1y ago
> No language forces to handle errors. Even Rust. It does. If a function returns a Result or Option type, you can't just use its data; you have to either automatically propagate the error case upward, pattern match on both the succe
50.
▲
by
trealira
1y ago
I imagine the one they were thinking of was Rust, since it seems like that's more likely to be used where Go or C++ is, and it actually lets you use what are basically restricted pointers. But yeah, any language with an Option type tha
51.
▲
by
trealira
1y ago
I've been reading a bit about it, and it seems easier to make goal-driven backwards chaining AI from it, like the block world example. You could in theory use that for something like a video game AI (like GOAP, Goal-Oriented Action Pla
52.
▲
by
trealira
1y ago
For a while now, I've had the desire to make an AI that kills enemies and beats levels like a human would in the game Crypt of the Necrodancer. Here's[0] someone doing it as a human without ever taking damage. There's somethi
53.
▲
by
trealira
1y ago
>For example, the way in which power is so widely distributed means that anyone who manages to come to a powerful position is strongly incentivized to spend all their efforts simply maintaining their power lest they quickly get removed a
54.
▲
by
trealira
1y ago
I'm not them, but it does straight up say in hashmap.c that the code was copied from https://github.com/git/git/blob/master/hashmap.c , which is under the GPL license.
55.
▲
by
trealira
1y ago
>Hating Trump himself is relatively pointless. I hate the fact that Trump is only a symptom of a deeper disease, one that wouldn't diminish in the slightest if he were to vanish tomorrow. Yep, it's not just Trump, but the conse
56.
▲
by
trealira
1y ago
>their role is to give temporary (often exclusive) access that is restricted to a statically know scope, which is pretty specific and fits only some uses of some pointers/C++ references You could have a vector of references to heap
57.
▲
by
trealira
1y ago
> This is "the capture problem", and it is quite annoying. Generally to avoid this, we need to rename everything1 in our "substituted" term to names that are free (do not occur) in the "subsitutee" so nothin
58.
▲
by
trealira
1y ago
> 1. Plumber is a skilled trade, but the "skilled" parts will eventually be replaced with 'smart' tools. You'll still need to hire a minimum wage person to actually go into each unique home and find the plumbing,
59.
▲
by
trealira
1y ago
> Over the last few years, I've seen a few in use here in Berlin: https://www.alibaba.com/showroom/robot-waiter-for-sale.html Wow. I genuinely didn't think robotic waiters would ever exist anytime soon. &g
60.
▲
by
trealira
1y ago
> If CEOs are salivating at the thought of replacing white collar workers, there is no reason to think next step of AI augmented with robotics won’t replace blue collar workers as well. Robotics seems harder, though, and has been around
More ›