Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
defen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
181.
▲
by
defen
3y ago
> And we all know why u10000 is in there: because you have to have arbitrary-width integers when writing a compiler You don't need them as a built-in type to write a compiler. They're there because LLVM was the original backend
182.
▲
by
defen
3y ago
He literally stole an election https://apnews.com/article/lbj-stolen-election-box-13-mangan...
183.
▲
by
defen
3y ago
> This tweet is confirmation these people have no idea what they’re doing. This is not an original point by me - I've seen multiple people make similar comments on here over the weekend - but these are the people who think they are
184.
▲
by
defen
3y ago
Another son (Justin) owns a small arms manufacturer (Kahr Arms)
185.
▲
by
defen
3y ago
"Did you fly on a private plane to an airport 4.5 miles away from the location of the Super Bowl, the day before the Super Bowl" doesn't quite have the same ring to it.
186.
▲
by
defen
3y ago
The agent's commission is irrelevant. That just means the buyer needs to make a higher offer to be competitive with someone who is not using an agent.
187.
▲
by
defen
3y ago
I don't consider myself a Rust expert, but this feels like a semantic argument? You can use `unsafe` to erase lifetimes, right? I'm not saying it's a good practice, and it's not globally disabling the borrow checker or a
188.
▲
by
defen
3y ago
fn trust_me_i_dont_need_a_borrow_checker<'a, 'b> (x: &'a mut u32) -> &'b mut u32 { unsafe { core::mem::transmute(x) } } fn main() { let mut owned = vec![40, 2]; l
189.
▲
by
defen
3y ago
The quote leaves off the punchline, which is that the person did have drugs and a firearm in the vehicle.
190.
▲
by
defen
3y ago
Actually the nice thing about all the recent advancements in machine learning and generative AI is that you can set it up to record everything you say in the house, and train itself to learn your speech patterns and voice. Then it can behav
191.
▲
by
defen
3y ago
> The surprising part is that this communication was not done over the phone or some other secretive non-transcripted way. That only works if the other party is already willing to do what you want. "I'll need that in writing&qu
192.
▲
by
defen
3y ago
There’s a character in the Aubrey-Maturin series who uses this construction often. I always wondered if it was an idiosyncrasy, a regionalism, or an archaic usage. Guess this answers it!
193.
▲
by
defen
3y ago
How would that agent eventually account for the missing round?
194.
▲
by
defen
3y ago
That blog post is exactly what I was looking for, thanks!
195.
▲
by
defen
3y ago
Is there a quick summary of the problem somewhere? I haven't worked on frontend stuff in nearly a decade.
196.
▲
by
defen
3y ago
It's possible that he perceived his ownership stake as having negative value - e.g. due to tax reasons or other regulatory overhead (needing to participate in board meetings or whatever), legal risk (they get sued for doing something d
197.
▲
by
defen
3y ago
> A lab leak implies that we should cease funding work at WIV WIV was defunded by the US 2 days ago https://abcnews.go.com/Health/us-halts-funding-access-wuhan-...
198.
▲
by
defen
3y ago
Is your parser available anywhere?
199.
▲
by
defen
3y ago
There's a proposal for complex numbers: https://github.com/ziglang/zig/issues/16278 Vectors are already first-class types via @Vector, aren't they?
200.
▲
by
defen
3y ago
I agree that it's probably impossible to write something that is orders of magnitude faster than LLVM and better than LLVM at optimizing, but I don't see that claim in the original text. It seems like a lot of work but also doab
201.
▲
by
defen
3y ago
> In C99 it is allowed to declare the last member of a structure as an array with no number of elements specified. The size of the struct will then be as if the last member did not exist. There's one gotcha here, which is that the a
202.
▲
by
defen
3y ago
This is a pointless discussion. Even if it is Big Government (debatable), thinking that you're going to "gotcha" Republicans on their hypocrisy will have about as much effect as Republicans saying "See, Democrats are the
203.
▲
by
defen
3y ago
I doubt pg was a billionaire in 2005
204.
▲
by
defen
3y ago
The point is that the language has decided that some kinds of builtin operations can panic, in the interest of developer ergonomics. The alternative is that every indexing operation returns a Result, or you write 4 lines of code instead of
205.
▲
by
defen
3y ago
That's a cool idea. Would also be interesting to consider the size of the commit - a single 100-line change is probably more likely to introduce a bug than 10 10-line changes.
206.
▲
by
defen
3y ago
I think it would have. A huge portion of early deniers (generally people of a conservative disposition) were in the "it's just a flu" camp. I think "scary virus from China" would have made those people stop and thin
207.
▲
by
defen
3y ago
Suttree is your best bet if that's what you're after.
208.
▲
by
defen
3y ago
Plus he's the mayor of Knoxville, McCarthy's old hometown.
209.
▲
by
defen
3y ago
I'm shocked that people are interpreting this as not fishing for a payoff, honestly. "We can both skip off into the sunset" does not mean "rewrite the app to do fewer API calls", as he tries to claim later in the
210.
▲
by
defen
3y ago
It's not literally every line, but `try` means "unwrap the error union result or pass the error back up to the caller". It's roughly equivalent to Rust's `?` operator (although Rust's can also unwrap optionals
More ›