Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jlokier
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
241.
▲
by
jlokier
2y ago
Actually it did get used. Linux and Windows used the x86 TSS for process context-switching for years. During that time, Linux had a limit on the number of processes, which was due the maximum number of TSS entries that fit in the x86 GDT. E
242.
▲
by
jlokier
2y ago
CRIU is used by LXD to save the state of an LXD container, very similar to suspending or snapshotting a virtual machine. Unfortunately, I was disappointed to find `lxd stop --stateful` couldn't save any of my LXD containers. There w
243.
▲
by
jlokier
2y ago
It's not about the formula. The formula comes from the geometry. 1/r^2 falls out as the formula, starting from the geometry of "flux" and "field lines", along with "conservation of flux", in 3d space
244.
▲
by
jlokier
2y ago
I assure you there's at least two of us :-)
245.
▲
by
jlokier
2y ago
X-rays are mentioned 28 times in the Wikipedia link about CRTs, https://en.wikipedia.org/wiki/Cathode-ray_tube Although X-rays are not used to draw the image, they are generated as an unwanted side effect. The phospho
246.
▲
by
jlokier
2y ago
Unfortunately, 'caffeinate' doesn't have an option to keep the Macbook awake with the lid closed and no attached monitor or power. I use Amphetamine instead, so that I can continue Zoom calls after putting my laptop in my bac
247.
▲
by
jlokier
2y ago
Yes, this. Because of this, I saw substantial data corruption that had built up over years in live medical databases: The on-disk B+trees had corrupted internal links due to incorrect handling of concurrent updates and rollbacks. This made
248.
▲
by
jlokier
2y ago
My Fujitsu-Siemens Si1520 laptop from 2006 was usable in bright sunlight. The LCD display turned reflective and monochrome in sunlight. Text and window decorations were perfectly clear. This was a surprise, because it wasn't an adve
249.
▲
by
jlokier
2y ago
I just ran phi3:mini[1] with Ollama on an Apple M3 Max laptop, on battery set to "Low power" (mentioned because that makes some things run more slowly). phi3:mini output roughly 15-25 words/second. The token rate is higher
250.
▲
by
jlokier
2y ago
From the article, at least one Conservative MP thinks that's a reason to wait longer: > Privately, there is confusion in at least some parts of the Conservative Party about why Rishi Sunak decided to call the general election soone
251.
▲
by
jlokier
2y ago
Good point about all the people about to hit a mortgage renewal crisis. For our friends in the USA: in the USA it's common to have a long-term fixed-interest mortgage. In the UK they are limited to a few years, then you have to renew.
252.
▲
by
jlokier
2y ago
The Fixed-term Parliaments Act of 2011, intended to make the election timing more predictable (every 5 years) to reduce all the weird politics and posturing for years in the run up to unknown election times, was ignored (by parliamentary su
253.
▲
by
jlokier
2y ago
When you measure the flow of electrical power along a cable, the energy travels close to the speed of light, yet the electrons drift very, very slowly in comparison. Electrical power is transported as a fast-moving density wave in the elect
254.
▲
by
jlokier
2y ago
> 1. results must be handled explicitly, exceptions are forwarded automatically. This means I must deal with each result locally, even with a "forward up" to the caller. This means much complex and less readable code Rust addre
255.
▲
by
jlokier
2y ago
Reading about all these >= 1 Gbps connections, I'm envious. The fastest I've been able to get quoted to my office in the centre of a UK town is 17 Mbps, and to home it's 34 Mbps. The speed limits are both due to old infras
256.
▲
by
jlokier
2y ago
That's why some industries have separate "verification" and validation" (V&V) activities. Verification is checking against formal or at least known requirements like those being discussed in this thread. Validation i
257.
▲
by
jlokier
2y ago
Thanks for mentioning it. You're right and it still is, but it's not obvious because the pricing summary doesn't say clearly that 1 person businesses are exempt. > Free for personal use. We don't charge based on feat
258.
▲
by
jlokier
2y ago
You've misunderstood. Ubuntu's TPM-backed full-disk encryption isn't DRM like the type used to prevent you from copying movies. It's meant to assist your own privacy and security, by prevent other people from accessing
259.
▲
by
jlokier
3y ago
I would add WebGL to the mix, for when you need that GPU performance in a browser that doesn't support WebGPU yet..
260.
▲
by
jlokier
3y ago
I think people's stated positions on CLAs are often not clearly thought out. Mostly when I've seen people object to CLAs, it's on the grounds that it's not acceptable for any company to be able to take freely contributed
261.
▲
by
jlokier
3y ago
`strncpy` is commonly misunderstood. It's name misleads people into thinking it's a safely-truncating version of `strcpy`. It's not. I've seen a lot of code where people changed from `strcpy` to `strncpy` because they
262.
▲
by
jlokier
3y ago
> I'm really surprised the software isn't simply a fully online webapp... They're actually going in the opposite direction. It was possible to file VAT on HMRC's website a couple of years ago, but they've take
263.
▲
by
jlokier
3y ago
You have to update, though not automatically. New versions are required to handle changes to the PAYE tax rules, which have changed every few months recently. There was a change announced this month which takes effect next month. If you do
264.
▲
by
jlokier
3y ago
Rust doesn't solve this. You can easily make the same mistake as the article describes, in Rust. Thiez points out that a Rust mutex wraps the data it protects. But that doesn't fix the issue described in the article. The C++ in
265.
▲
by
jlokier
3y ago
A condition variable is used because the workers are waiting for a condition, `m_queue.size() > 0`, in addition to the kill flag. The kill flag is sticky, but the queue condition isn't.
266.
▲
by
jlokier
3y ago
A trapdoor function isn't the same as asymmetric cryptography. Trapdoor functions can be used to build asymmetric cryptography, i.e. public-key encryption and signing. In general, hash-based asymmetric cryptography can do it with any
267.
▲
by
jlokier
3y ago
The cryptosystems the article says are too big to use, Kyber and Dilithium, are both lattice-based. A solution to this problem may also be lattice-based: SQISign is mentioned, though that is too slow. Or it may be something else: Unbalance
268.
▲
by
jlokier
3y ago
> QM predicts that QCs will work. Although that is true, QC isn't ruled in or out by other current observations, despite the extreme accuracy with which quantum physics theories match a very wide range of observations. If QCs can&#
269.
▲
by
jlokier
3y ago
Aggregate data is not considered personal data by the GDPR. Managers and everyone else can have charts and graphs without retaining personal data. The processing of personal data prior to anonymisation to turn it into aggregate data, that p
270.
▲
by
jlokier
3y ago
Photons do interact with each other: • Gravitationally. • Conversion to matter-antimatter pairs. • In non-linear optical media, which is technically all substances, but effect strength varies. Of course electrons are involved in the last of
More ›