Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
flakes
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
flakes
1mo ago
I interviewed with Microsoft at the end of 2016 as a new grad and was given the same marble question over the phone. I then made it to the on site interview where I failed horribly haha.
2.
▲
by
flakes
2mo ago
IMO a release workflow would be better with something like this: 1) Upload all files in a staging state. Can be done asynchronously via multiple build hosts. Files in this state are referenced via their cryptographic checksums (e.g. SHA, Bl
3.
▲
by
flakes
2mo ago
What exactly isn’t a language feature? Or do you have issues with semantics? var _ Foo = (*Bar)(nil) The statement asserts that Bar struct pointers are assignable to a Foo interface. I do agree it’s not as clean looking as the Java
4.
▲
by
flakes
2mo ago
How is a package level interface check a “language hack”? They are straight forward and provide a user the same compile time guarantees as the Java implements keyword.
5.
▲
by
flakes
2mo ago
> Isn’t this a symptom of structural/duck typing where interfaces are not declared Yes, essentially duck typing. See https://github.com/golang/go/blob/65504872cbca64d77f45828409... The logic uses a ty
6.
▲
by
flakes
2mo ago
sendfile(2) and io.ReaderFrom both return the number of bytes transmitted. The issue is that users are unaware of (or forget about) the optional interface upgrades and fail to define all the methods required for interface upgrades on their
7.
▲
by
flakes
3mo ago
We did do a lot of work sealing the exterior of the home, as well as removal of bird feeders near the house itself. The poison likely wasn’t a silver bullet, but I recall it (along with removing any access to easy food) having the most dram
8.
▲
by
flakes
3mo ago
One is not really better, you want both. Certificate revocation lists are loaded out of band and depending on the client can be poorly enforced. Questions come up: do you block a request if you fail to download the latest CRL? How often do
9.
▲
by
flakes
3mo ago
When we had mice in our house years ago, we tried for a few weeks setting poison bait in the garage to get rid of them. We could tell the mice were eating the bait, but there was still no end to the mice. We then had a thought... what if th
10.
▲
by
flakes
4mo ago
These models are getting crazy good at examining things like core dumps and disassembly. I've been using an agent to write compiler logic, and its amazing the kind results you can get by having the agent examine the raw binary outputs.
11.
▲
by
flakes
4mo ago
One of the classic examples is highway traffic. You want to prevent traffic jams, so you increase the number of lanes. However, now that there are more lanes, people see less “cost” in driving, leading to even more people driving (e.g. to g
12.
▲
by
flakes
4mo ago
Thanks for the correction. I did mean given the same tooling version/parameters, but (as you and others pointed out) preserving and recreating that state is not at all straightforward.
13.
▲
by
flakes
4mo ago
Thats true. And regardless of compressed vs regular tar, I think the OCI format working with opaque archives is extremely limiting. I hope the industry will eventually redesign to use content addressable storage per file and have metadata t
14.
▲
by
flakes
4mo ago
Recompressing should be guaranteed deterministic. It’s the packing/unpacking of tar archives to/from directories on disk that leads to the non-determinism (such as timestamps and ownership metadata). If the tar is left intact, bot
15.
▲
by
flakes
5mo ago
When a child process finishes (that is not actively being waited on) it is left in a "defunct" or "zombie" state and will stick around in the process table until the parent process waits on them to fetch exit code. When
16.
▲
by
flakes
5mo ago
> "this test failure is preexisting so I'm going to ignore it" Critical finding! You spotted the smoking gun!
17.
▲
by
flakes
5mo ago
I would say that this is limited to a targeted Go version and architecture. For example, the filter checks for the goroutine pointer on `r28` which is correct for arm64 but not universally true. Any changes to the struct layouts, stack, or
18.
▲
by
flakes
6mo ago
You’ll probably want to look to the PEPs. Havent dug into this topic myself but looks related https://peps.python.org/pep-0744/
19.
▲
by
flakes
7mo ago
I'd say a lot of users are going to borrow patterns from Go, where you'd typically check the error first. resource, err := newResource() if err != nil { return err } defer resource.Close() IMO this pat
20.
▲
by
flakes
7mo ago
Thats interesting. If you’re on Chrome I’d try out Firefox just to see. I haven’t had any issues for a long time.
21.
▲
by
flakes
8mo ago
I find it better to bubblewrap against a full sandbox directory. Using docker, you can export an image to a single tarball archive, flattening all layers. I use a compatible base image for my kernel/distro, and unpack the image archive
22.
▲
by
flakes
9mo ago
Maybe it's a mix of me using the site less, or questions I previously answered not being as relevant anymore, however as it stands, it's just not fun to visit the site any more. I have about ~750 answers and 24K rep after almost 1
23.
▲
by
flakes
9mo ago
> Maybe once every four years on leap day or something. Advantage: You no longer need to fix that leap day bug on your website.
24.
▲
by
flakes
9mo ago
I do the same, but I skip rsync for git. git clone $uri dotfiles; export HOME=$(pwd)/dotfiles These days, my laptop acts as a dumb SSH gateway for Linux VMs. No configuration or setup, aside from VS code connecting to VMs. An
25.
▲
by
flakes
9mo ago
Auto has really made c++ unapproachable to me. It's hard enough to reason about anything templated, and now I frequently see code where every method returns auto. How is any one supposed to do a code review without loading the patch in
26.
▲
by
flakes
10mo ago
A selfie at that resolution would be some sort of super-resolution microscopy.
27.
▲
by
flakes
10mo ago
You can, and that is mentioned in RFC 9110... along with the cons for doing so. > Although request message framing is independent of the method used, content received in a GET request has no generally defined semantics, cannot alter the
28.
▲
by
flakes
10mo ago
Yeah, I just always used the context windows to set permalink. Saves me a step now!
29.
▲
by
flakes
10mo ago
> unless I'm missing something I don't think a QUERY verb will change all that much here? The semantics are important. GET APIs are expected to be safe, idempotent, and cache-friendly. When you are unable to use GET for technic
30.
▲
by
flakes
10mo ago
I had no idea there was a hotkey for that. Thank you!
More ›