Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
MarekKnapek
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
MarekKnapek
2mo ago
Wasn't there a problem with Alpha, that it had too weak memory model or something? Think of atomic instructions with multi CPU system. Or do I remember something wrong?
2.
▲
by
MarekKnapek
5mo ago
Yes! I need a glass Klein bottle video!
3.
▲
by
MarekKnapek
5mo ago
My idea is: 1) Determine how frequently you want to update the number on screen. Every frame is too often, once per second is too infrequent. Maybe 4× per second is OK. 2) Determine how much time to average over. One or two seconds seems fi
4.
▲
by
MarekKnapek
7mo ago
Is there a way to have benefits of both? Version 7 for better database clustering. And version 4 for complete randomness? So users can not inference nothing from the id? I have an idea: Use version 7 internally, then scramble it before send
5.
▲
by
MarekKnapek
8mo ago
On division: There is a paper about a division algorithm. If you split your 128bit integer into four 32bit integers, you can use a 64bit CPU built-in instruction to do the 128bit division. If you are on 32bit CPU that doesn't have the
6.
▲
by
MarekKnapek
2y ago
As PDF supports DEFLATE compression, it should be possible to shrink the size of the PDF document considerably.
7.
▲
by
MarekKnapek
2y ago
There is also this one, but it is no longer maintained. https://github.com/MarekKnapek/DependencyViewer
8.
▲
by
MarekKnapek
3y ago
No, Windows has stable API and ABI named Win32 API. This comes from times of 16bit Windows and works also in x64 / ARM / ARM64, previously it worked in Alpha / MIPS / IA64. This API is implemented in kernel.dll user.dll
9.
▲
by
MarekKnapek
3y ago
> memory allocation can occur here and there What about HW decoders? Of video formats (that are much more complex than image decoders)? Such as MPEG, H.264, H.265, VP9, AV1 and similar. If memory allocation is needed here and there, I gu
10.
▲
by
MarekKnapek
3y ago
The article says that GLONASS time counts days from zero to 1461, then resets back to zero. This is 4 years if we think leap year is once 4 years. But it is not. Leap year is once 4 years, but each 100 years it is not, except each 400 years
11.
▲
by
MarekKnapek
3y ago
What about NaN? Does Erlang have NaN? How does Erlang compare two variables containing a NaN (or expressions evaluating to a NaN)? There are (2^24)-2 different NaNs in a 32bit IEEE 754 float, and there are (2^53)-2 different NaNs in a 64bit
12.
▲
by
MarekKnapek
4y ago
If you are administrator, you can create and launch new scheduled tasks ... as NT\SYSTEM from that you can ... anything. Get TCB privilege, get Trusted Installer account, install kernel level drivers ... god mode.
13.
▲
by
MarekKnapek
4y ago
Implementing AES from scratch is easy and fun, just read the spec and implement it 1:1, until ... you encounter GCM mode and its Galois Field "weird" math. Very. Not. Fun.
14.
▲
by
MarekKnapek
6y ago
Please don't compute speed-up like that. Old time: 6 minutes (360 seconds). New time: 1 minute and 50 seconds (110 seconds). Speed-up calculated by article author: 1-110/360=0.694 (69.4% saved). Speed-up calculated by me: 360/
15.
▲
by
MarekKnapek
6y ago
Yes. At previous job where we were making a desktop Win32 application we experienced this. Our automatic pipeline is: Build server compiles all the .EXEs and .DLLs, creates an .EXE installer and sends it for testing. Test agent grabs the in
16.
▲
by
MarekKnapek
6y ago
Did SolarWinds' CA (certificate authority) reworked their code signing certificate?
17.
▲
by
MarekKnapek
6y ago
Few years back I created some HelloWorld application on Google's AppEngine (requires Java, Python or Go) and was positively surprised about its statistics on theirs dashboard.
18.
▲
by
MarekKnapek
6y ago
So this certificate will be added to "not trusted" of all the certificate storages (Windows, Firefox, Chrome, Java, and all others) ... riiight?
19.
▲
by
MarekKnapek
6y ago
James Webb will prove nobody nothing. Search Twitter thread by Foone who discussed there how many wonderful things humanity managed to pull off while waiting for James Webb to launch.
20.
▲
by
MarekKnapek
6y ago
Most likely we would cuddle more. As explained in Minute Earth's video: https://youtube.com/watch?v=c6Ko0Hzi47U
21.
▲
by
MarekKnapek
6y ago
At my previous job we released updates to our Windows desktop application about 3-4 times per year. We had about 20'000 customers (but many of them not installing updates). We checked final build of our product on Virus Total before re
22.
▲
by
MarekKnapek
6y ago
int* a, b; /* wrong */ int *a, *b; /* also wrong */ /* correct */ int* a; int* b;
23.
▲
by
MarekKnapek
6y ago
Yes, Moore's law is hitting its limits: For example 5nm distance equals like about 25 silicon atoms. That's like: Quantum electron tunnelling will ruin your life. So if we want increase our chip's performance any further, we
24.
▲
by
MarekKnapek
7y ago
> Fortunately this doesn’t seem to work in the Explorer shell, but it does work when passed to native APIs such as CreateFile. CreateFile is Win32 API, not Native API. NtCreateFile would be Native API.
25.
▲
by
MarekKnapek
8y ago
Search for Eugene Khutoryansky on YouTube.
26.
▲
by
MarekKnapek
8y ago
Yes, English version was on 15 (or 13 specially formatted) 3½ discettes. Localized into my language was on 28 3½ discettes.