Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
delamon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
delamon
5mo ago
Lenovo sells ThinkPad T-series laptops as “Linux-supported.” However, if you happen to buy an AMD version of one of these laptops, you may be surprised by how poorly the Wi‑Fi works. It’s been several years since the T14 Gen4 was released,
32.
▲
by
delamon
5mo ago
Right, I misread the spec.
33.
▲
by
delamon
5mo ago
What kind of usage do you envision for 245TB drive with read speed of 3GB/sec?
34.
▲
by
delamon
5mo ago
QLC retention reported to be around 1 year in unpowered state. I would assume, that drive does background refresh, though. No idea what effect it has on total drive lifetime. It is still mean that if you use it for cold storage it has to be
35.
▲
You Don't Review Your Compiler Output
(scottrfrancis.wordpress.com)
3 points
by
delamon
5mo ago
|
0 comments
36.
▲
Rust-coreutils – Program Security Assesment [pdf]
(github.com)
4 points
by
delamon
6mo ago
|
1 comments
37.
▲
by
delamon
6mo ago
Zelic discovered 73 security problems with uutils, 7 critical, 11 of high impact, 29 of medium and rest is low.
38.
▲
by
delamon
6mo ago
Not really. PgUp, PgDown are missing. It is possible to configure software combination that would emulate them. But emulation is emulation.
39.
▲
by
delamon
6mo ago
This blog post is also worth noting: https://ciechanow.ski/gps/
40.
▲
by
delamon
6mo ago
What is wrong with peeking at process.env? It is a global map, after all. I assume, of course, that they don't mutate it.
41.
▲
by
delamon
7mo ago
Rust cannot help you if race condition crosses API boundary. No matter what language you use, you have to think about system as a whole. Failure to do that results in bugs like this
42.
▲
by
delamon
7mo ago
You can bump /proc/$firefox_pid/oom_score_adj to make it likely target. The easiest way is to make wrapper script that bumps the score and then starts firefox. All children will inherit the score.
43.
▲
by
delamon
10mo ago
IBM was producing in Japan T221 monitor staring from 2001. It had 3840x2160 LCD screen.
44.
▲
by
delamon
10mo ago
I've been trying to convert to Rust an in-memory database and failed. It is strictly single-threaded and full of intrusive lists. I tried hard to please borrow-checker, but one have little choice when internal structures are full of cy
45.
▲
by
delamon
10mo ago
Right. So it is not that double-linked lists are inherently unsafe, it is (just) Rust ownership model cannot represent them (any other cyclic structures).
46.
▲
by
delamon
10mo ago
> if your compiler unboxes the contained item into your nodes Is there known compilers that can do that?
47.
▲
by
delamon
10mo ago
Can you elaborate, what key assumptions about memory safety linked lists break? Sure, double linked lists may have non-trivial ownership, but that doesn't compromise safety.
48.
▲
by
delamon
10mo ago
> Storing the data in nodes doesn't work if the given structure may need to be in multiple linked lists That is why kernel mostly (always?) uses intrusive linked lists. They have no such problem.
49.
▲
by
delamon
1y ago
Correct. Any language with builtin bounds checking would work.
50.
▲
by
delamon
1y ago
It is worth noting, that all three CVEs could be prevented by simple bounds checking at runtime. Preventing them does not require borrow checker or any other Rust fancy features.
51.
▲
by
delamon
1y ago
Sometimes managed switch is the only way to find out faulty cable. I'm speaking about a bit bad cable, which corrupts some data, not all of it. Just by looking on interface error counters you can easily tell if something is off. Withou
52.
▲
by
delamon
1y ago
"immutable" top-level folders won't cut it. In order to recursively delete a folder, rm has to delete leaves first. So, you will endup with empty top-level folders, which is no better.
53.
▲
by
delamon
1y ago
> Doing that is an instant performance hit. Not to mention annoying to do. The cost of virtual dispatch on IO path is almost always negligible. It is literally one conditional vs syscall. I doubt it you can even measure the difference.
54.
▲
by
delamon
1y ago
c) SIMD won't be as helpful when you are zeroing small buffers of non-round sizes
55.
▲
by
delamon
1y ago
Pump it to the storage. Building something like https://www.energyvault.com/products/g-vault-gravity-energy-... is impossible for a home owner. But the country scale energy provider can build such thing.
56.
▲
by
delamon
1y ago
Dynamic arrays often use doubling as a resize strategy. This means that on average about 25% of capacity is "wasted". Depending on element size and element count it may lead to larger memory usage compared to linked list.
57.
▲
by
delamon
2y ago
It is well known that copper 10G runs hot. Use DAC or fiber if you want run cool
58.
▲
by
delamon
2y ago
Why not copper with PoE to the APs? You still have to get power to AP somehow.
59.
▲
by
delamon
2y ago
XikeStor SKS8300-8X costs about 100$, can do L3 routing, has 8 10G SFP+ ports, no fan and consumes ~9W. I'm running it in my homelab without any issues.
60.
▲
by
delamon
2y ago
The Wiki has the answer: Unlike most web browsers, Lynx does not support JavaScript, which many websites require to work correctly.
More ›