Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Thorrez
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
181.
▲
by
Thorrez
11mo ago
>Since early September, the United States has carried out at least 14 strikes against alleged drug vessels in the Caribbean and Pacific, killing 61 people.
182.
▲
by
Thorrez
11mo ago
The article is the threat? Or the actual buildup of military assets?
183.
▲
by
Thorrez
11mo ago
Depends on the language. In C++ const std::vector<int>& foo = bar.GetVector(); foo is a constant object reference cannot have its properties changed (and also cannot be changed to refer to a new object). std::vector<
184.
▲
by
Thorrez
11mo ago
Oh, good point. I misunderstood your previous question. Is there a name that refers to the broader group that includes both constants and variables? In practice, and in e.g. C++, "variable" is used to refer to both constants and a
185.
▲
by
Thorrez
11mo ago
You can make everything read-only by default, and if you need non-read-only, you use "mutable".
186.
▲
by
Thorrez
11mo ago
The imperative code has // log exception which doesn't exist in the Result version.
187.
▲
by
Thorrez
11mo ago
fun register(registrationRequest: UserRegistrationRequest): UserDTO { return success(registrationRequest) .flatMap { validRequest -> throwIfExists(validRequest.email) { authService.userExists(va
188.
▲
by
Thorrez
11mo ago
"const" means something can't be changed. "mutable" means it can be changed. You don't need both a "const" keyword and a "mutable" keyword in a programming language. You only need 1 of the k
189.
▲
by
Thorrez
11mo ago
Immutable and constant are the same. rendaw didn't use the word mutable. One reason someone might use the word "mutable" is that it's a succinct way of expressing an idea. Alternative ways of expressing the same idea are
190.
▲
by
Thorrez
1y ago
The birthday paradox equation is approximately the square root. You expect to find a collision in 365 possibilities in ~sqrt(365) = ~19 tries. You expect to find a collision in 2^256 possibilities in ~sqrt(2^256) = ~2^128 tries. You expect
191.
▲
by
Thorrez
1y ago
Was it really a scam then? Or just extremely overpriced?
192.
▲
by
Thorrez
1y ago
Occupy Mars!
193.
▲
by
Thorrez
1y ago
I think Google has at least 1 datacenter that uses batteries instead of generators. >In Belgium, we’ll soon install the first ever battery-based system for replacing generators at a hyperscale data center. In the event of a power disrupt
194.
▲
by
Thorrez
1y ago
They only run the generators if the power company fails. To bring that analogy to servers, that would be running your loads in the cloud, but in the case of an outage, failing over to bare metal servers you run yourself. That sounds like th
195.
▲
by
Thorrez
1y ago
>So the platforms have to make it nearly impossible to keep everything in their controlled channel. I don't understand what you're saying. Are you saying Google is making it harder to develop an app for sideloading than to deve
196.
▲
by
Thorrez
1y ago
throwawaykf10 said: >On this topic HN almost always devolves into anecdotes. There's gotta be data on this. What does the data say? How much have DEI efforts shifted the demographics in these companies and/or the professional p
197.
▲
by
Thorrez
1y ago
Check out Google's diversity report[1], pages 63-110. It contains a lot of data. E.g. for US tech hiring, in 2015 2.2% of hires were Black+, in 2024, it was 10.0%. For global tech hiring, in 2015 19.6% of hires were women, in 2024, it
198.
▲
by
Thorrez
1y ago
Is lead exposure going up or down? I assume it's going down, because lead gasoline was banned, lead paint was banned, and the lead that was in the environment due to those 2 source is slowly being cleaned up. I at least assume lead exp
199.
▲
by
Thorrez
1y ago
Yes. I was responding to the sentence "With no directs, even “principal” would be a stretch in any company of note." which talked about direct reports.
200.
▲
by
Thorrez
1y ago
There are plenty of Principal Engineers (L8) at Google who have no reports. In fact, I think the majority have no reports.
201.
▲
by
Thorrez
1y ago
Another I think is Rosario. A male name in Italy, a female name in Mexico/Spain.
202.
▲
by
Thorrez
1y ago
Well, it would have been necessary if they hadn't managed to find the employee in California who had the password for the California safe memorized.
203.
▲
by
Thorrez
1y ago
In 2010 Google decided to stop censoring results in China. >We have decided we are no longer willing to continue censoring our results on Google.cn https://googleblog.blogspot.com/2010/01/new-approach-to-chin...
204.
▲
by
Thorrez
1y ago
In 2010 Google decided to stop censoring results in China. >We have decided we are no longer willing to continue censoring our results on Google.cn https://googleblog.blogspot.com/2010/01/new-approach-to-chin...
205.
▲
by
Thorrez
1y ago
Do you have evidence that Google is filtering searches in China? Disclosure: I work at Google, but not on search.
206.
▲
by
Thorrez
1y ago
People have been charged/convicted of torturing chickens: https://whyy.org/articles/upper-darby-pennsylvania-sentenced... https://www.wave3.com/2023/04/25/man-accused-abusing-chicken
207.
▲
by
Thorrez
1y ago
The law is especially difficult to change because the law is based upon copyright treaties that the country (e.g. the US) has entered into.
208.
▲
by
Thorrez
1y ago
>I'm also curious to know if Waymo's are allowed to drop you slightly off from the address you specified -- in which case they can drop you at the next corner. Yes, they do. >Tell us where you want to go >Choose your dest
209.
▲
by
Thorrez
1y ago
Sure. But why does one coin have a person and the other have an invention? Why not inventions for both or people for both?
210.
▲
by
Thorrez
1y ago
>but I'm guessing if you install an app on a Windows Desktop computer it can do more chaos faster and more discreetly than pixnapping can on Android. On desktop, apps aren't sandboxed. On mobile, they are. Breaking out of the s
More ›