Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
papercrane
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
papercrane
2y ago
If you don't mind using a preview feature you should be able to use the foreign function API to call mlockall without any unsafe code. Otherwise, JNA is probably the easiest way, and how Cassandra does it. https://docs.oracl
92.
▲
by
papercrane
2y ago
They also helped preserve Stephen Hawking's voice. Their emulator included an extremely accurate emulator for one of the DSP chips used in his voice machine. Th code was used when Hawking's original voice machine was failing. htt
93.
▲
by
papercrane
2y ago
Not a lawyer, but "general release of claims" seems like a term of art which I would expect to be a something that would waive your right to sue, and not an agreement that includes a non-disparagement clause.
94.
▲
by
papercrane
2y ago
The term "climate change" usage had a PR person behind it. Republican strategist Frank Luntz pushed for politicians to use the term instead of "Global warming" has it sounds less severe. The term is often misattributed t
95.
▲
by
papercrane
2y ago
I'd be interested to see actual data on that. For example, a Canadian study done after a year of legalization found that more youths tried marijuana, but that they were trying it later than average and the overall usage of cannabis amo
96.
▲
by
papercrane
2y ago
I don't think it's feasible to store your summer excess long term like that. It would be cheaper to add more panels to produce enough power in the winter and having enough battery capacity to last you a few days in case of bad wea
97.
▲
by
papercrane
2y ago
At will employment doesn't matter here. Even with at-will employment it is illegal to fire employees for some reasons. For example, it's generally against the law to fire employees for discussing their work conditions. I think th
98.
▲
by
papercrane
2y ago
All the money investors have gotten from Google has been in capital gains (i.e. buying low, selling high). There's nothing illegal or nefarious about that. In fact, it's extremely common, most stock investors gains will be from th
99.
▲
by
papercrane
2y ago
Since the AoC specifies the min-cut for you I found it was simpler to take advantage of that. I picked two random vertices and found the shortest path between them 3 times, cutting each vertex after each iteration. If after doing that I cou
100.
▲
by
papercrane
3y ago
They're already looking to enter the Mexican market. Publicly they say this is to supply the Mexican market, and not export to the USA. It will be interesting to see if/when that changes. https://www.reuters.com/bu
101.
▲
by
papercrane
3y ago
Life expectancy decreasing seems to have an obvious answer. We just had a pandemic.
102.
▲
by
papercrane
3y ago
Iron is widely distributed across the globe. Nearly all soil will have some iron in it. I'm actually in PEI right now to watch the eclipse, and the soil here is famous for it's red colour caused by the high iron-oxide content.
103.
▲
by
papercrane
3y ago
My guess is that the answer is taking advantage of existing NG infrastructure.
104.
▲
by
papercrane
3y ago
The issue in Sweden is that he didn't have enough evidence to convince Sweden that he was arrested and tortured at the behest of the American government. Since he was on the no-fly list no air carrier would take him as a passenger, so
105.
▲
by
papercrane
3y ago
A more viscous sauce will adhere to the food it's on better and feels different in your mouth. Most people would describe it as "richer".
106.
▲
by
papercrane
3y ago
You've got it backwards. The judge in Silverman et al dismissed the claims asserting that OpenAIs output is copyright infringement. The claims for copyright infringement in the training data are still going forward, that will directly
107.
▲
by
papercrane
3y ago
Record types in Java were added with Java 14, released March 2020, it was later that year, in November, that C# added them with C# 9.0. I don't believe C# has anything like the exhaustive switch over a sealed interface that the article
108.
▲
by
papercrane
3y ago
What the study actually says: > current Li-ion cell, primary data were used in this study resulting in 50,8 kg CO2eq/kWh in the WCS and 30,9 kg CO2eq/kWh in the BCS. From the context in the study it's clear they're ta
109.
▲
by
papercrane
3y ago
There are reports that they're looking to build a factory in Mexico. Likely for that very reason, as then they should be covered by the US-Canada-Mexico free trade agreement.
110.
▲
by
papercrane
3y ago
Spoofing is possible, and Russia is known to use it. But it's unlikely they'd use it here. Spoofing is pretty indiscriminate, so nearby devices would also be affected, and as another commenter pointed out the device knowing it
111.
▲
by
papercrane
3y ago
Most flat roofs aren't really flat. They're built with a slight slope, I think it's a 2% slope, or 1/4" for every 12", towards a drain.
112.
▲
by
papercrane
3y ago
> although for some reason Gunnar's baseline is slower. Maybe I'm doing something wrong. I suspect it's because the baseline code is adding each line to a TreeMap before processing, effectively sorting 1B rows and then pro
113.
▲
by
papercrane
3y ago
All the sub-2 second ones are. There is an impressive 3.2s solution that uses neither AOT or Unsafe. It's using the in-preview foreign memory and vector operations APIs. Browsing the solutions it looks like that the Unsafe solutions ar
114.
▲
by
papercrane
3y ago
It's an IC test clip. I believe this is the one pictured: https://www.sparkfun.com/products/13153
115.
▲
by
papercrane
3y ago
In Canada we have the right to be tried in a reasonable amount of time. The Supreme Court of Canada put strict time limits in place in R. V. Jordan. For cases without a preliminary inquiry (which this would be) the Crown has 18 months from
116.
▲
by
papercrane
3y ago
> how did the scammer know that the guy ordered the stuff in the first place?! The idea is the scammer is the seller on Amazon. So the guy orders from Amazon Marketplace, the Marketplace seller uses a hacked Wal-Mart account to fulfill t
117.
▲
by
papercrane
3y ago
If charges are withdrawn or dismissed, as long as you don't have any convictions on record and there isn't a public safety concern you can request the destruction of non-conviction information from your record. It's silly tha
118.
▲
by
papercrane
3y ago
> If the charges go nowhere, the record of the arrest and charge remains on the public record forever. This isn't necessarily true. It's dumb that it's not automatic, but you can request in the destruction of non-convictio
119.
▲
by
papercrane
3y ago
Curious if you considered switching to a different connection pooling library. These days I usually use HikariCP which is fast an actively maintained. c3p0 hasn't had any activity for years, I'm not sure if it's still maintai
120.
▲
by
papercrane
3y ago
The issue here is currently virtual threads don't work well with the 'sychronized' keyword. Right now synchronized will pin the carrier thread. The fix was to switch to a higher-level abstraction that works with virtual threa
More ›