Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spieglt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
spieglt
6y ago
Reminded me of this: "In the strict sense, it is not true that one's character is unchangeable; rather, this popular tenet means only that during a man's short lifetime the motives affecting him cannot normally cut deeply eno
32.
▲
by
spieglt
6y ago
I work on open source projects* when I have a need that other tools don't quite fill properly, and because I like to work with languages like Rust and C that I don't get to use at my day job. I'd like to have a "buy me a
33.
▲
by
spieglt
6y ago
Patch merged.
34.
▲
by
spieglt
6y ago
Oh cool, was that you also? I will after work today.
35.
▲
by
spieglt
6y ago
Wow, thank you very much! I've thought about trying to get a few of my projects into distribution repos but was somewhat intimidated by the process.
36.
▲
by
spieglt
6y ago
I have strace'd whatfiles, in fact that was a very useful way to debug a couple things, so maybe? I have not been able to attach to the same process with both whatfiles and strace, however.
37.
▲
by
spieglt
6y ago
You're right, thanks. Fixed.
38.
▲
Show HN: Watch what files any Linux process accesses
(github.com)
131 points
by
spieglt
6y ago
|
37 comments
39.
▲
by
spieglt
6y ago
Exactly, it's a difference in degree, not in kind. Rust isn't perfect with regard to memory errors, it's just massively better than C. I don't think pml1 will be convinced, but I've been working on a C project latel
40.
▲
by
spieglt
6y ago
But overall the two situations aren't nearly equivalent. Writing C, you're constantly at risk of making these mistakes. Writing Rust, you can keep the vast majority of your code safe and more closely examine the smaller unsafe are
41.
▲
by
spieglt
6y ago
I am working on a Linux program that will show you the files opened/read/written by another process (and its child processes/threads). I wanted to be able to run an installer and see exactly what files it creates. Or when Lib
42.
▲
by
spieglt
7y ago
Thanks! Mapper 1 is since done as well as battery-backed RAM support, and I'll be implementing mappers 2-4 in the next couple days. I just read your blog post and the audio section caught my eye: I went through the exact same struggles
43.
▲
by
spieglt
7y ago
Hi Steve, thanks for all you do for Rust!
44.
▲
by
spieglt
7y ago
> I'll bet you a nickel something screwy is going on with the JMP Indirect logic. You've lost a nickel! It was a problem with my signed-offset branch function where a bad cast was allowing 0x80 (-128) to overflow. It was really
45.
▲
by
spieglt
7y ago
Yeah, I'm going to fix that. I thought I'd tried `u8 as i8` and it hadn't worked, but I guess not.
46.
▲
by
spieglt
7y ago
Actually a nod to https://adventuretime.fandom.com/wiki/Neptr
47.
▲
by
spieglt
7y ago
If you want an easy way to make a file (or .zip of files) more private before storing it in the cloud for backup/availability purposes, please check out Cloaker: github.com/spieglt/cloaker. It's simple, password-based, d
48.
▲
by
spieglt
7y ago
Just read this today: https://medium.com/cantors-paradise/the-unparalleled-genius-...
49.
▲
by
spieglt
7y ago
"Cheap" is another one that bothered me as a kid. It means both "of low quality considering its price" and "of low price considering its quality."
50.
▲
by
spieglt
7y ago
For when you need to get your photos off of FB: https://github.com/spieglt/fb-photos . Hopefully makes it easier to get "Photos of me" which they don't include in your data export.
51.
▲
by
spieglt
7y ago
It's also good for crypto, image processing, logging, file compression, and other commonly useful things. Go does have an emphasis on network services but is not limited to that. "a stdlib accommodating all of its usecases would b
52.
▲
by
spieglt
7y ago
If Rust had a standard library like Go's I'd love it even more.
53.
▲
by
spieglt
7y ago
Yep, that's actually the last three lines I quoted from chapter 17 in a different translation.
54.
▲
by
spieglt
7y ago
I really like the Daodejing on this topic. Chapter 17: The greatest of rulers is but a shadowy presence; Next is the ruler who is loved and praised; Next is the one who is feared; Next is the one who is reviled. Those lacking in trust are n
55.
▲
Show HN: Cloaker, simple password-based cross-platform file encryption
(github.com)
1 points
by
spieglt
7y ago
|
0 comments
56.
▲
by
spieglt
7y ago
Heh, your blog post about that was the inspiration for mine, thanks.
57.
▲
by
spieglt
7y ago
I wrote a similar tool in Node a while back that can delete by year and category: https://github.com/spieglt/fb-delete And one to download all "Photos of you", which Facebook doesn't include when downloa
58.
▲
by
spieglt
8y ago
Well, I guess alignment doesn't say anything about how large of a block is allocated.... And this is the clearest source I can find, which says 32 bytes. https://prog21.dadgum.com/179.html
59.
▲
by
spieglt
8y ago
https://www.gnu.org/software/libc/manual/html_node/Aligned-M... "The address of a block returned by malloc or realloc in GNU systems is always a multiple of eight (or sixteen on 64-bit systems).&quo
60.
▲
by
spieglt
8y ago
This runs the web server on a computer, but allows two-way file transfer from phones: https://github.com/claudiodangelis/qr-filetransfer
More ›