Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vient
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
vient
3y ago
Oh, I did not know that perf by default may use some uncore events that are less precise than some Intel-specific events. Thanks for the info!
92.
▲
by
vient
3y ago
> This is a defeatist attitude that is basically saying "it's impossible" I did not mean it like that. I am using profilers to find slow code successfully as well. The problem is that such profiler won't find you a sp
93.
▲
by
vient
3y ago
The problem with cache misses specifically is that perf can't point an event to its exact location so you may get a high rate of cache misses on instruction that does not even work with memory, like jump, so you need to look what gets
94.
▲
by
vient
3y ago
Manually enabling/disabling perf is too slow when you want to profile a part that takes <1ms to execute, but it is an option if nothing better exists. It would be great if you could just isolated interesting code in microbenchmark b
95.
▲
by
vient
3y ago
Yes but this level of info is too coarse. It is not sufficient to know your level of L1/L2/L3 misses if your app has megabytes of code and gigabytes in heap. As I said in adjacent response, I tried to record cache misses with `per
96.
▲
by
vient
3y ago
> just profile and find hot spots Do you mean "hot" in terms of CPU time? It may sound simple but in mature apps you don't have any obvious hot spots that you can look at. Code is complex enough so just reading it also won
97.
▲
by
vient
3y ago
There is a lot of good articles on cache effects, this is one of them. On the other hand, I've yet to find a good article on how to effectively find such cache-related issues in your programs, with perf for example. Can you suggest som
98.
▲
by
vient
3y ago
https://archive.is/oO0dC
99.
▲
by
vient
3y ago
One more nice crypto book https://joyofcryptography.com It goes more in depth of understanding mathematics behind but less in scope — there are no elliptic curves, for example.
100.
▲
by
vient
3y ago
They measure different 3.12 forks, maybe these forks implement different ideas and combined version will be faster.
101.
▲
by
vient
3y ago
Can't you fill W-8BEN form to reduce taxes on the US side?
102.
▲
by
vient
3y ago
It seems that paper authors themselves replaced whole paper with a Dracula story in the latest revision. You can download previous versions [0], they contain fewer Draculas. [0] https://osf.io/download/5fa6d1f29c7a4e006
103.
▲
by
vient
4y ago
> Einstein famously had a lot of trouble with math as well. Isn't it a myth? http://content.time.com/time/specials/packages/article/0,288...
104.
▲
by
vient
4y ago
Network tab showed that game data was loading for almost 10 minutes, maybe that's the case.
105.
▲
by
vient
4y ago
A difference is in the number of times you use some operation. For example, you expect to do a lot of pushes in vector so you can say about amortized time because it will hold on average and you can calculate running time from it and expect
106.
▲
by
vient
4y ago
Isn't the phrase from video's description "Waymo sponsored this video and provided access to their technology and personnel" enough?
107.
▲
by
vient
4y ago
Any serious vulnerability in NGINX will be big news since it is so widespread. CVE database shows some entries by searching for "nginx" but I looked at all 2022 entries and the only ones affecting NGINX itself are in NJX plugin so
108.
▲
by
vient
4y ago
The key sentence is > First discovered by Kaspersky researchers in early 2022, some of the backdoor samples were still not flagged as malicious in most popular online file scanning services. Of course by now majority of AVs detect those
109.
▲
by
vient
5y ago
> If the JIT code needed to call two different dynamic functions separated by more than 2GB, then it’s not possible for both to be direct. Well, you can do MOV rax, 0x1122334455667788 PUSH rax RET in this case. Still direct, ju
110.
▲
by
vient
5y ago
See also cLEMENCy 9-bit middle-endian (sic) arch from DEF CON CTF 2017 https://2017.notmalware.ru/89dc90a0ffc5dd90ea68a7aece686544/... (link from https://blog.legitbs.net/2017/07/the-clemency-
111.
▲
by
vient
5y ago
More like 150 but yeah. SO copycat list is taken from https://github.com/arosh/ublacklist-stackoverflow-translatio...
112.
▲
by
vient
5y ago
>>> log(0.99, (1/2)**(1/10000)) 144.99569695122509
113.
▲
by
vient
5y ago
> assessment of closed source software I saw a company making addons for Microsoft Office, peculiar example of reverse engineering job not in security field https://www.think-cell.com/en/career/jobs/reverse
114.
▲
by
vient
5y ago
Have you opened the link? > Helicopters are banned from flying to the area because of hot gas that can damage their rotors.
115.
▲
by
vient
5y ago
Looks interesting. I've encountered some annoying bugs with latest addr2line when trying to get symbols for addresses, wonder how gimli performs in that sense. Also, it seems that addr2line 2.37 has some performance regressions compare
116.
▲
by
vient
5y ago
Tick-borne encephalitis and Lyme disease are different things. You are right that there is a vaccine against the first one, while Lyme vaccine has an interesting history[1]. [1] https://en.wikipedia.org/wiki/Lyme_diseas
117.
▲
by
vient
6y ago
Python 3 `system` example next(sub for c in "".__class__.__mro__ for sub in c.__subclasses__() if '__init__' in dir(sub) and '__globals__' in dir(sub.__init__) and 'system' in sub.__init__.__globa