Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
evmar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
evmar
2y ago
With Rust you could get by with "match bool { true => ..., _ => ... }" and "loop { ... break }" I think.
62.
▲
by
evmar
2y ago
This article is as good a place as any to share a story on this topic. A friend from early in my career went on to become a fancy tech executive. They invited me to a party at their house in SF that included some of their fancy tech execut
63.
▲
by
evmar
2y ago
This post uses a fancy data structure to construct a to_remove set, then iterates through it to remove these from the underlying header map. It appears the "remove_header" call is this one: https://docs.rs/pingora-
64.
▲
by
evmar
2y ago
This post is really great! My biggest piece of advice to someone attempting to do the same is to browse the code via the online code browser, which has working cross referencing. (The codebase is so large it is not the sort of index you c
65.
▲
Polymorphic Shellcode (2023)
(neugierig.org)
14 points
by
evmar
2y ago
|
1 comments
66.
▲
by
evmar
2y ago
In the early ChromeOS days when they were thinking about which graphics stack to use, the quiet but definitive top manager said, if they picked X11, that he'd better not see any stipple on boot. It's such a funny comment that sta
67.
▲
by
evmar
2y ago
[ninja author] I like how their example is a build system, given Ninja constructs an object literally called "Plan"[1]. However, when I later revisited the design of Ninja I found that removing the separate planning phase bette
68.
▲
by
evmar
2y ago
In case it helps any, here are some more details about what I used it for. (Summary: providing examples of a specific translation task, to make it use a particular API in the output.) https://inuh.net/@evmar/1120014143
69.
▲
by
evmar
2y ago
I am using a hacky one I wrote myself. I looked at llm but it doesn't appear to have a mechanism for multi-shot prompting, where you provide both prompts and responses within your query. (Ref https://platform.openai.com
70.
▲
by
evmar
2y ago
> Zig works with debuggers our developers know out of the box. Is this not true of Rust? I use lldb via terminal and VSCode with Rust, I am not sure what I'm missing.
71.
▲
by
evmar
2y ago
Not that I'm a fan of ads, but I find it interesting that this post specifically complains that the ads aren't targeted enough ("my ad was for furniture - ah yes, just what i wanted" / "i do not have a dog"
72.
▲
by
evmar
2y ago
I don't know this book in particular, but I know the author from their writing about "Intellectual Control", which is extremely insightful: https://www.georgefairbanks.com/ieee-software-v37-n3-may-202...
73.
▲
by
evmar
2y ago
Yeah not fully implemented, sorry! For reasons I haven't yet looked into sometimes Minesweeper rarely calls https://learn.microsoft.com/en-us/windows/win32/api/winuser/... with the message-fil
74.
▲
by
evmar
2y ago
Since it's somewhat germane, I have gotten win2k's Minesweeper running on the web: https://evmar.github.io/retrowin32/ , midway down the page In contrast to the above, the x86 emulator and win32 API implement
75.
▲
by
evmar
2y ago
> A portion of this code implemented a SMTP client. If I wanted to root cause this, the real problem is right there. Implementing protocols correctly is hard and bugs like in the post are common. A properly implemented SMTP client libr
76.
▲
by
evmar
2y ago
In case anyone else wasn't quite following this, I think the idea is e^x = e^(a+b+c+d) (where abcd are the bytes of x) = e^a * e^b * e^d * e*d and then you make a lookup table for each of those e^a, e^b values. (I fudged "a"
77.
▲
by
evmar
2y ago
Babies are born without the mouth bacteria that cause cavities, and generally acquire them from their parents (e.g. kissing or sharing utensils).
78.
▲
by
evmar
2y ago
The "maybe you don't need a linked list" proposal at the bottom seems significantly better than the options presented in the post: - almost no cost in the non-erroring path - no extra data structures to manage - a lot less co
79.
▲
by
evmar
2y ago
I am happy to answer basic questions, but it's been a long time so I would probably look at the patents myself to remember how anything works.
80.
▲
by
evmar
2y ago
I was on the team too, with less impact than the names you mentioned. The team filed a number of patents that describe parts of how it worked. You can query a patent search engine with terms like [baker synonyms]. Looking now I think Ste
81.
▲
by
evmar
2y ago
Does this mean they library can also "give up" their licenses once a book becomes less popular? (This is still worse than the system for physical books, but at least it lets them dial back the rent over time.)
82.
▲
by
evmar
2y ago
Wine has a similar problem around needing to reserve the lower 32 bit address space for 32-bit executables. I bookmarked their Mac workaround around here: https://github.com/wine-mirror/wine/blob/b2a099b3ceec6
83.
▲
by
evmar
2y ago
I have been working on an x86 emulator[1] so I have x86 on the mind. As I read the post I was thinking to myself "there's no way you can iterate the instruction stream without a massive amount of effort to parse through all diffe
84.
▲
by
evmar
2y ago
In the bug report a commenter says: "This doesn't affect our own [Mozilla's] builds." I worked on Linux Chrome and over the course of doing so became pretty disillusioned about this problem in particular. In a very real
85.
▲
by
evmar
3y ago
8th added line in the patch has a stray period
86.
▲
by
evmar
3y ago
I integrated Unicorn, the underlying qemu-as-a-library, into my emulator project: https://neugierig.org/software/blog/2023/11/retrowin32-unico... My experience with it was that it was a lot slower than m
87.
▲
by
evmar
3y ago
FWIW the sandbox-disabling bit in xz was in CMake logic, not autoconf. (Or at least the obvious one is in the CMake part; maybe the autoconf is separately backdoored.) https://git.tukaani.org/?p=xz.git;a=commitdiff;h=328c52
88.
▲
by
evmar
3y ago
Nice try, Jia Tan.
89.
▲
by
evmar
3y ago
Not to defend this practice, but some missing context here (AFAIK, I wasn't involved): this isn't the FB app, but apparently "Onavo Protect" followed by "Facebook Research" apps, the latter of which reportedly
90.
▲
by
evmar
3y ago
I did a little experiment with this here: https://neugierig.org/software/blog/2023/01/compiling-advent...
More ›