Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nikital
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
Adventures in Reverse Engineering Smart Bulb Firmware
(medium.com)
12 points
by
nikital
10y ago
|
5 comments
32.
▲
by
nikital
10y ago
As far as I know, you can't trivially decrypt traffic as a passive observer, even if you have the private key of the website or the CA. The sides still perform key exchange using something like Diffie-Hellman. The asymmetric keys are u
33.
▲
by
nikital
10y ago
One solution: function(c=1){return function(){return c++}} 44 characters
34.
▲
by
nikital
10y ago
I wonder what is the benefit of rewriting the libc in Rust, as most of the functions are actually unsafe. Implementing memcpy in Rust won't make memcpy any safer. As far as I understand, the main selling point of Rust is safety, so if
35.
▲
Tesla Knows When a Crash Is Your Fault, and Other Carmakers Soon Will, Too
(technologyreview.com)
2 points
by
nikital
10y ago
|
0 comments
36.
▲
by
nikital
10y ago
Household computer / home computer
37.
▲
by
nikital
11y ago
If you're into NT kernel internals, I recommend an excellent book "What Makes It Page?". It describes the VMM in way too much detail (in a good way). It's a great combination of theory and practice - it describes concept
38.
▲
by
nikital
11y ago
You're right, I missed it. Nice catch :)
39.
▲
by
nikital
11y ago
Sure: I wrote it in Typescript, modeled everything in Blender and rendered with three.js. The simulation logic itself it in https://github.com/nikital/clock/blob/master/src/mechanics.t... . That code
40.
▲
by
nikital
11y ago
Oh, cross-browser issues. There shouldn't be any scroll bars at all... What browser/OS?
41.
▲
by
nikital
11y ago
In real life the do align perfectly, otherwise they will get stuck. Here there are off a bit because 1. I didn't get the sizes absolutely right as I modeled it in Blender and not in a real CAD (like Gearotic) and 2. The gear simulation
42.
▲
by
nikital
11y ago
Thanks for the feedback. Regarding the simple version, did you see that you can rotate, pan and zoom the camera? You can focus on the escapement to get a better view. You can also slow it down using the speed slider.
43.
▲
Show HN: Mechanical clock simulation in WebGL
(nikital.github.io)
109 points
by
nikital
11y ago
|
37 comments
44.
▲
PFP – A Python Interpreter for 010 Templates
(d0cs4vage.blogspot.com)
1 points
by
nikital
11y ago
|
0 comments
45.
▲
by
nikital
11y ago
According to https://ssl.masterpasswordapp.com/algorithm.html , Scrypt is used for key derivation. Scrypt is supposed to be very expensive to brute-force. Quote: The master key is a 64-byte secret key generated by performing
46.
▲
by
nikital
11y ago
Your comment regarding the gravity was really insightful for me (I didn't learn PID formally). When I put large values for i, the ball just oscillated and I couldn't see how i is useful. After I added gravity (in my local build, n
47.
▲
by
nikital
11y ago
Yeah, I didn't put anything there yet, but thanks for the heads-up.
48.
▲
by
nikital
11y ago
I agree, I pushed a new update. Also, I adjusted the defaults for a snappier response with a bit of satisfying overshoot
49.
▲
by
nikital
11y ago
That's a good idea, I'll add them. Edit: Done.
50.
▲
Show HN: 2D PID controller simulation
(nikital.github.io)
73 points
by
nikital
11y ago
|
38 comments
51.
▲
Why TCP Over TCP Is a Bad Idea (2001)
(sites.inka.de)
72 points
by
nikital
12y ago
|
43 comments
52.
▲
by
nikital
12y ago
Returned-film camera systems were the highest quality Earth-imaging technology until recent linear CCD cameras. In America, returned-film systems were forbidden for civilian use I tied to find information about these "returned-film&q
53.
▲
by
nikital
12y ago
> or not to do this in the first place. Are there other options besides installing my own root certificate? Assuming I want to write software that legitimately MITMs all HTTP and HTTPS traffic (parental control, ad blocker, anti-virus sc
54.
▲
by
nikital
12y ago
I looked at the source of 2.7: The function PyString_Format (Objects/stringobject.c) does the formatting for the % operator. For %s it calls _PyObject_Str which in turn calls "str()" on the object. For %d it calls formatint (
55.
▲
Sparks from Falling Water: Kelvin's Thunderstorm [video]
(youtube.com)
3 points
by
nikital
12y ago
|
0 comments
56.
▲
by
nikital
12y ago
Is there a reason to use two separate canvases? You won't have this problem if you had just one canvas.
57.
▲
by
nikital
12y ago
It's a fun toy to play with! One thing I would improve: When drawing on the left half and moving to the right half without releasing the mouse, the drawing stops. I would expect the drawing to continue on the right canvas, while mirror
58.
▲
by
nikital
12y ago
Could you show an example for what you meant in #6?
59.
▲
by
nikital
12y ago
The anecdote about electrical education 100 years ago is great, I never thought about the similarities. I think electricity was the high-tech industry of that time, all the cool guys were building generators instead of apps. A lot of big pr
60.
▲
by
nikital
12y ago
One example: If a server script calls system(), it actually pops up a shell to execute the command.
More ›