Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
roca
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
391.
▲
by
roca
5y ago
Yes it is.
392.
▲
by
roca
5y ago
That's not really true. A ton of intentional work has been done to make optimized builds debuggable ... unfortunately, not enough yet, but it is definitely "an objective".
393.
▲
by
roca
5y ago
> in gdb, it prints many variable values as "optimized out" To a large extent this is still just compiler bugs where variable locations are not preserved by various compiler optimizations where they could be. Some of the rest o
394.
▲
by
roca
5y ago
This is trolling, surely. If so, mission accomplished. Every one of the MAGMA tech companies (Microsoft, Apple, Google, Meta, Amazon) is adopting Rust in significant ways. That is extraordinary; and those companies are only the tip of the i
395.
▲
by
roca
5y ago
Incentivizing people to create complex systems sounds really scary to me. I guess there's an implied "where the complexity is absolutely necessary", but anything that approaches rewarding people for complexity sounds to me li
396.
▲
by
roca
5y ago
I solved this problem in 2016 by buying a 4K laptop (Dell Precision 9550) and a 4K external monitor. Similar pixel density; at 200% scale the pixels on the laptop are a bit small but most apps work well. Most GNOME apps, VSCode, Firefox, Ch
397.
▲
by
roca
5y ago
It would probably read better if they focused on the science benefits and were less overtly "need jobs for particle physicists or no-one will go into our field".
398.
▲
by
roca
5y ago
It's still possible for EGL to not be enabled on Wayland for various reasons.
399.
▲
by
roca
5y ago
What Facebook is doing to humanity is far worse than selling baby powder with possible asbestos contamination. Maybe J&J made a mistake, maybe they didn't, but it's not core to their business model like Philip Morris selling
400.
▲
Gha-runner, a Rust crate for running GitHub Actions locally (or elsewhere)
(pernos.co)
2 points
by
roca
5y ago
|
0 comments
401.
▲
by
roca
5y ago
> The article specifically mentions that that is not the case. The citation they're using doesn't load for me. I'm looking at results like this: https://www.reuters.com/business/healthcare-pharmaceutic
402.
▲
by
roca
5y ago
When we need to triage it absolutely makes sense to take into account how much the ailment depended on the patient's known-to-be-risky choices. Motorcyclists and drug users, sure. Since the major vaccines have minimal known side effect
403.
▲
by
roca
5y ago
This report makes no attempt to control for lockdowns or other restrictions. Countries with high levels of vaccination relax those restrictions, increasing COVID infection rates. And of course focusing on infection rates is really the wrong
404.
▲
by
roca
5y ago
A survey for this is going to be useless for getting unbiased data.
405.
▲
by
roca
5y ago
How would you figure this out without telemetry? A Web crawl could tell you how many PDF documents on the Web use forms, but it won't tell you often your users encounter those documents --- many documents aren't on the public Web,
406.
▲
by
roca
5y ago
That is also true.
407.
▲
by
roca
5y ago
Yeah, when Web fonts rolled around we fought that battle again and won. Some important people saw the light :-). (And to be fair, CORS was more widely available on servers.)
408.
▲
by
roca
5y ago
Yeah our IPC marshalling just isn't that relevant for performance AFAIK.
409.
▲
by
roca
5y ago
I tried really hard to get <video> and <audio> to default to requiring same-origin but people were still skeptical about CORS deployment, and there were also arguments for consistency with <img>. Oh well, I think we eventu
410.
▲
by
roca
5y ago
We almost always deserialize to owned data, partly because our deserialization source is almost always compressed so the data has to be copied. There are a few cases where we want to serialize with a reference and deserialize to owned, but
411.
▲
by
roca
5y ago
Yeah, the format independence is amazing. In Pernosco we use bincode for IPC payloads and when we want to log IPCs we just serialize the payloads to JSON with zero developer effort.
412.
▲
by
roca
5y ago
That's true. Pernosco has lots of serialization code and compilation is slower than I'd like. I feel that it's still easily worth it.
413.
▲
by
roca
5y ago
Fair enough. I have not found that to be true in C/C++, which is my main point of comparison. For very simple cases it's generally easier to write a few lines to a text file, maybe with some whitespace separators in the lines, tha
414.
▲
by
roca
5y ago
That sounds painful!
415.
▲
by
roca
5y ago
Maybe that's true but we haven't seen this happen in practice. Maybe we're just incredibly lucky but we're able to get on-demand instances to recover after spot termination.
416.
▲
by
roca
5y ago
We use custom logic. There are various ways to do it. One way to do it is to poll for the termination signal on the running instance, as part of your app say, and if you see termination coming, trigger a Lambda that supervises the bringup o
417.
▲
by
roca
5y ago
serde is one of the best things about Rust in practice. It is more convenient to use serde to serialize/deserialize to some standard format like JSON or YAML than it is to write your own half-baked format and serialization/deseria
418.
▲
by
roca
5y ago
One tiny correction: the return value of write() is the number of bytes written. That's less than 256 so overwriting the low byte of rax still works.
419.
▲
by
roca
5y ago
In AWS we just `sudo shutdown +1440`. Then we can cancel the shutdown later if we need to.
420.
▲
by
roca
5y ago
Just spin up regular VMs if you can't get spot instances when you need them.
More ›