Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
drran
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
481.
▲
by
drran
5y ago
> Python packaging needs to better serve the needs of python developers, not those of sysadmins. Use Fedora, or Arch, or another developer-oriented distro.
482.
▲
by
drran
5y ago
I checked an old (1 m high) ant colony near to a corn field at the end of summer: this summer it was dead.
483.
▲
by
drran
5y ago
After a while, your code will be easier to reason about, you will learn how to use asserts and proper logs, and you will write much better error messages. Why I need to launch a debugger, when I can detect an error condition with assert and
484.
▲
by
drran
5y ago
Today we are wiping insects as a class, and all birds that prey on them.
485.
▲
by
drran
5y ago
What the problem with trees? They are trees, not cyclic graphs.
486.
▲
by
drran
5y ago
I tried to implement removing of elements from the tree, just as an exercise, and I see no problems with borrow checker at all. I use Rust since version 1.0, so borrow checker is my friend. Rebalancing of the left branch is a bit complicate
487.
▲
by
drran
5y ago
GitHub can alter the CODE. Why it should play with just a key? If GitHub wants to pwn the whole world, it can do it right now.
488.
▲
by
drran
5y ago
Tree and Node must own subnodes, but node need just to point to parent, it cannot own parent. #[derive(Debug)] struct Node { data: i32, left: Option<Box<Node>>, right: Option<Box<Node>>, parent
489.
▲
by
drran
5y ago
Rare example of broken backward compatibility: `cargo install gltf-viewer` doesn't work today because of an error in gltf library. The error is fixed, but gltf-viewer is not updated to use the fix. Compiling gltf v0.11.3 error[E
490.
▲
by
drran
5y ago
https://patents.google.com/patent/US10507452B2/en
491.
▲
by
drran
5y ago
LENR scientists are using palladium and nickel to compress hydrogen up to 100k atmospheres (90 hydrogen atoms per 1 atom of palladium) at room temperature and pressure.
492.
▲
by
drran
5y ago
Just implement a driver for your memory controller and update all software to use syscall into kernel (about 10k total instructions per syscall), which will perform memset or memcpy, then measure performance improvement and tell it to us.
493.
▲
by
drran
5y ago
StackOverflow
494.
▲
by
drran
5y ago
OK, OK, we can start with a warning in the compiler that use of any language except English is unsafe.
495.
▲
by
drran
5y ago
It depends. Japanese, Chinese, Korean, Mongolian, etc. writers are using vertical layout for text without problem. https://www.w3.org/International/articles/vertical-text/
496.
▲
by
drran
5y ago
Most code made by English speakers contains English word and Latin characters, so other languages and alphabets must be abandoned, and their native speakers must imprisoned until they understand their mistakes.
497.
▲
by
drran
5y ago
Uranium can be used to create weapons, so we don't want to allow Uranium mining everywhere except a few safe spots. If demand for Uranium will increase, then price for Uranium will skyrocket (buyer marker will switch to seller market)
498.
▲
by
drran
5y ago
Check your internet connection and Google/Gmail certificates. It looks like you are taped.
499.
▲
by
drran
5y ago
Imagine that you have pair of socks. You sent one sock to Alice and the second sock to Bob. When Alice opened her package, she sees the left sock, so she immediately knows that Bob received the right sock. This is the FTL communication. Ali
500.
▲
by
drran
5y ago
> When clock travel faster than speed of light it catches up with the previous light showing clock earlier time. I can just record the clock and replay the record. It makes back-in-time travel much simpler then.
501.
▲
by
drran
5y ago
I use steel chain with steel lock[0] for last 5 years. No problems so far. [0]: https://ae01.alicdn.com/kf/HTB1UMz3k8yWBuNkSmFPq6xguVXar/1pc...
502.
▲
by
drran
5y ago
Terror is a tool of war. If winning of a war is not a goal, then it just pure terror, and inducing it is terrorism.
503.
▲
by
drran
5y ago
If you survived Covid without complications, you should not fear a vaccine, because it contains parts of the virus you're already exposed to, so nothing new for your body.
504.
▲
by
drran
5y ago
Efficacy != efficiency. Efficacy is just estimation after some tests. It must be at least 50% for vaccine to be accepted. 95% is bigger than 50%.
505.
▲
by
drran
5y ago
Why not to use `perf` to figure out why Eclipse is slow, fix the problem, and then send a patch?
506.
▲
by
drran
5y ago
I have no car, I don't fly on planes, I don't want to have a nuclear station near to me.
507.
▲
by
drran
5y ago
Radiation poisoning has a long tail, so it hard to calculate how many were killed by cancer and for how long. It doesn't mean that we easily discard long-term safety when talking about nuclear power.
508.
▲
by
drran
5y ago
Yep. Few more Chornobyls, and CO2 level will plummet back to 200ppm then.
509.
▲
by
drran
5y ago
mc + mcedit is much better for those, who came from DOS camp.
510.
▲
by
drran
5y ago
Science (all about profs) is opposite to belief (acceptance without proof). «Some folks, which are used to use proofs, are accepting something without proof...» Emmm...
More ›