Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ambrop7
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
211.
▲
by
ambrop7
11y ago
I suppose it also immediately reveals the IP address of the receiver to the sender.
212.
▲
by
ambrop7
11y ago
What useful meaning is there for optimization purpuses? As far as I know, there is no meaning in pointer-to-const other than it must not be used directly to modify the stored value (if it is you get a compile error). It is always valid from
213.
▲
by
ambrop7
11y ago
I imagine "matter" as commonly understood would contain at least electrons and protons, but they would just be making electrons and positrons. Can we make protons/neutrons out of light too?
214.
▲
by
ambrop7
11y ago
The typical strcat code you see in the wild: char buf[100]; buf[0] = '\0'; strcat(buf, "Hello"); strcat(buf, " "); strcat(buf, "World"); strcat(buf, "!\n"); The inefficiency is that eac
215.
▲
by
ambrop7
11y ago
Huh, I never use str(n)cat, because it's inefficient by design.
216.
▲
by
ambrop7
11y ago
Windows is supported and works, there should be no reason to add new code. The only thing lacking is a recent Windows build. However, it should be easy to build via https://github.com/Alexpux/MINGW-packages .
217.
▲
by
ambrop7
11y ago
An alternative approach is to use my own tun2socks program [1][2], instead of tsocks. This utilizes an integrated lwIP stack to transparently expose the proxy to the entire OS. It's a little tricky to set up the network interface and r
218.
▲
by
ambrop7
11y ago
> kernel, oh, how I wanted to like this. Every CRC32 operation consists of a write to and read from a socket... Why didn't they extract the CRC32 code from the kernel and try it directly? https://github.com/torvalds&
219.
▲
by
ambrop7
11y ago
Nix is far different than everything else you mention. It's not tied to a particular Linux distribution or OS (well, Windows/Cygwin support is shaky but nobody is stopping you from improving that). It provides a foundation (functi
220.
▲
by
ambrop7
11y ago
Yawn, another language-specific package manager. If only there was something like a universal package manager, that provides a generic but powerful package-management platform. Something where package specifications look just like expressio
221.
▲
by
ambrop7
11y ago
Last-access time should just die. As explained in the article it is practically useless, and it causes unneeded disk writes, making disks fail sooner. When installing Linux machine I always remember to add noatime to the mount options if it
222.
▲
by
ambrop7
11y ago
Where does one get the patched libpng-1.6.19? The libpng site is broken for me right now.
223.
▲
by
ambrop7
11y ago
There are many standards of engineering involving software. - https://en.wikipedia.org/wiki/ISO_26262 - https://en.wikipedia.org/wiki/IEC_62304 - https://en.wikipedia.org/wiki/
224.
▲
by
ambrop7
11y ago
In my APrinter firmware project[1], I rely exclusively on Nix for building for multiple microcontrollers, including AVR and many ARM ones. It's great - I can tell anyone "just get Nix (on Linux) and run this command". They c
225.
▲
by
ambrop7
11y ago
Given the firmware source, it generally isn't too hard to port an existing open-source motion control software (which there are plenty of) to run on this machine. Electronics schematics would help but the firmware source is enough.
226.
▲
by
ambrop7
11y ago
Surely one doesn't have to use the same certificates for the firmware verification of boot images and for the signing of Windows applications.
227.
▲
by
ambrop7
11y ago
When I was in high school (in Slovenia), I have actually brought a home-made "bomb" to school. It had an LCD and a keypad, you would arm it and it would count down while beeping with increasing frequency, unless you entered the co
228.
▲
by
ambrop7
11y ago
It is targeted to ARM uC's and also works on AVRs with enough RAM and program space (yes I've tested it). Write support requires a significant amount of RAM; I think about six 512-byte blocks. When compiled in read-only mode, it s
229.
▲
by
ambrop7
11y ago
I've mostly used Wikipedia, https://en.wikipedia.org/wiki/Design_of_the_FAT_file_system . Also a little bit the dosfstools source code.
230.
▲
by
ambrop7
11y ago
Related, I'm doing a FAT32 driver for embedded systems (fully asynchronous!). It's part of my APrinter firmware project: https://github.com/ambrop72/aprinter/tree/master/aprinter/fs Curren
231.
▲
by
ambrop7
11y ago
I don't completely understand the description but I think they managed to extract the private key of the server.
232.
▲
by
ambrop7
11y ago
As the author of tun2socks (which is currently used under the hood in shadowsocks-android and Psiphon3 for system-wide proxying), I wasn't even aware this effort was in progress. Very sad to see it stop.
233.
▲
by
ambrop7
11y ago
I think the proper check is: // size_t size; // uint64_t chunk_size; if (chunk_size >= SIZE_MAX - size) { return ERROR_MALFORMED; } Due to size being a size_t and SIZE_MAX being well a maximum size_t, SIZE_MAX-
234.
▲
by
ambrop7
11y ago
See also NixOps.
235.
▲
by
ambrop7
11y ago
Do they have permission to use the WebGL trademark in the name? Khronos has quite some info about that, but I don't see immediately how their use fits into the terms. https://www.khronos.org/legal/trademarks/#
236.
▲
by
ambrop7
11y ago
Does the server get the client's public key before or after the client has identified the server? I suspect it's after - which would imply that this is much less harmful than it looks like, since by then you've already confir
237.
▲
by
ambrop7
11y ago
I don't personally care about Python packaging (and virtualenv) anymore when I can use any relevant Python package with Nix, or easily make a Nix package myself. I just hope the wheels don't make it harder to package stuff with Ni
238.
▲
by
ambrop7
11y ago
How do you conclude that all enclaves are exclaves? A connected state that is entirely surrounded by another state is a counter-example.
239.
▲
by
ambrop7
11y ago
Indeed. No need to use "complex" features like RAII/RTTI/exceptions. Generally, I see features like classes, overloading and templates as "compatible" with C-style coding.
240.
▲
by
ambrop7
11y ago
I'm not sure if you're already doing this, or if it's relevant to you, but a possible way to improve performance is to allow a "window" of commands that you haven't received an "ok" for. I believe com
More ›