Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
v_lisivka
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
v_lisivka
8y ago
Split memory into pages. Then create two types: OwnedMem, and SharedMem. OwnedMem will own page(s), so access to memory will require no Arc. SharedMem will implement safe protocol to access memory from different threads using Arc or atomic
92.
▲
by
v_lisivka
8y ago
It's hard to implement unsafe patterns in safe language. It's hard like using ASM with Java, because Java is platform independent language, while ASM is platform dependent language. This impedance mismatch causes problems, which c
93.
▲
by
v_lisivka
8y ago
We can celebrate Pi day every month at 3 14:15:92.65359.
94.
▲
by
v_lisivka
8y ago
As you see, it doesn't change anything: I will be downvoted, then sued, then jailed despite my beliefs.
95.
▲
by
v_lisivka
8y ago
You can mix Rust and C++. I use mainly Rust on my project, while other developers are using C&C++.
96.
▲
by
v_lisivka
8y ago
I have good faith belief that all software on torrent trackers are in public domain or had permission from the copyright holder.
97.
▲
by
v_lisivka
8y ago
If you are doing engineering, then it better to follow engineering best practices, with descriptive names. If you are doing science, it's better to follow science best practices. For example, we have two competing coordinate systems: f
98.
▲
by
v_lisivka
8y ago
Of course, I can get malware in both ways, so recommended way is to trust a third party, a maintainer, which will review code, and then will create signed package.
99.
▲
by
v_lisivka
8y ago
It looks like you assume that SSL guarantees correctness of the file. First, I had experience with substituted SSL certificates (by our government, at revolution), when errors were reported by Chrome only due to certificate pinning for Goog
100.
▲
by
v_lisivka
8y ago
No, you can't. Nothing will check SHA256 of a malware downloaded in this way, so nothing will stop malware from owning your host. To check, just put "127.0.0.1 gitlab.com" into your /etc/hosts and try to serve your
101.
▲
by
v_lisivka
8y ago
malware
102.
▲
by
v_lisivka
8y ago
Of course, it's better, because we can link to specific commit by sha256 hash, which is way more secure.
103.
▲
by
v_lisivka
8y ago
Try Yolo: https://pjreddie.com/darknet/yolo/ . It's written in C.
104.
▲
by
v_lisivka
8y ago
memcpy != memmove , $#$@#@ https://sourceware.org/bugzilla/show_bug.cgi?id=12518
105.
▲
by
v_lisivka
8y ago
Almost 3%, if combined with ChromeOS. IMHO, it is huge success, even if we forget about Linux domination in market of supercomputers, servers, smartphones, and large segment of market in IoT and robotics. Bitcoin is far far away from such s
106.
▲
by
v_lisivka
8y ago
Subsidized home is not equal to free home.
107.
▲
by
v_lisivka
8y ago
> It works in Portugal. Is number of drug uses reduced? Nope. It risen. Is criminal drug activity reduced? Nope. It risen. So, what exactly "works" in Portugal? > Public healthcare works in almost every country on Earth, and
108.
▲
by
v_lisivka
8y ago
1. Drug use was not a crime few decades bug. Smoking is not a crime today. It tried before. It doesn't work. 2. Public healthcare is working well if you are not interested in result. It tried before. It doesn't work. 3. Nobody wil
109.
▲
by
v_lisivka
8y ago
So, if we need to do something without looking at the screen, we should keep hardware buttons, right? And if we don't need that, if we are looking at the screen _with_ buttons already, then hardware buttons are redundant.
110.
▲
by
v_lisivka
8y ago
> As noted in the article, wind can be highly variable in most areas. Optimizing a wind turbine for the average low speed (like here in the US Midwest) means that at super high speed winds can damage your turbine and it may need to be sh
111.
▲
by
v_lisivka
8y ago
With bluetooth keyboard and cover it even bulkier.
112.
▲
by
v_lisivka
8y ago
I still own Droid4 and 4 other Droid's for spare parts. Two batteries are dead now, one battery is weak, but two batteries are still usable, so I can use my Droid 4 for next two or three years. I like to enter text using Droid 4 when I
113.
▲
by
v_lisivka
8y ago
But even iPhone have fixed hardware buttons. Why they are not replaced by pixels on the screen? Can you cite?
114.
▲
by
v_lisivka
8y ago
It looks like he treated his cataracts, because he wears glasses on his 2016 selfie at his page on Facebook: https://www.facebook.com/profile.php?id=100013326305771 .
115.
▲
by
v_lisivka
8y ago
Forbid robots and send this guy instead. Two problems solved.
116.
▲
by
v_lisivka
8y ago
I.e. they are more effective against humans.
117.
▲
by
v_lisivka
8y ago
Mines and other kinds of death traps are primitive robots too.
118.
▲
by
v_lisivka
8y ago
When I was student, I wear no hat up to -25°C (-13°F) (but I still have minor problem with right ear for 20 years after).
119.
▲
by
v_lisivka
8y ago
Finland, Norway, Iceland, Sweden - they are pretty happy countries. https://www.youtube.com/watch?v=_6IsFPRoslY
120.
▲
by
v_lisivka
8y ago
Yep, so it's why it was forgotten so many times in history.
More ›