Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
conradludgate
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
conradludgate
10mo ago
_Every time I see one of these nifty jj tricks or workarounds I find myself wondering, “why not just use git?”_
92.
▲
by
conradludgate
11mo ago
gzip is not an archive container. You're thinking of .tar.gz which is a "tape archive" format which is compressed using gzip. Zip is by itself both a compression and an archive format, and is what documents like epub or docx
93.
▲
by
conradludgate
11mo ago
You might not think you need atomicity, but some function you call that takes in a `&mut T` might actually expect it
94.
▲
by
conradludgate
11mo ago
When it comes to QUIC, QUIC works best with unstable end-user internet (designed for http3 for the mobile age). Most end-user internet access is behind various layers of CGNAT. The way that NAT works is by using your port numbers to increas
95.
▲
by
conradludgate
11mo ago
TFA claims it is using WebView2
96.
▲
by
conradludgate
11mo ago
It isn't electron. It's WebView2 which is also what tauri would be using on windows
97.
▲
by
conradludgate
11mo ago
I frequently use single threaded async runtimes in Rust. Particularly if it's background processing that doesn't need to be particularly high throughput. Eg in a user application you might have the performance sensitive work (eg r
98.
▲
by
conradludgate
1y ago
My reading of the docs suggests that the relays and both peers must be in the same tailnet. Additionally, both peers must have the correct ACLs set up to access each other
99.
▲
by
conradludgate
1y ago
It is not even close to sufficient. jj fix only executes the command on one file at a time (only the changed files) so it can't work on anything that has linter semantics. jj does this for performance reasons. They don't want to p
100.
▲
by
conradludgate
1y ago
I use git but I instead just keep all PRs stacked on top of each other and rebase when one is merged. If something is easy to review I push it down the stack. If something is harder to review I keep it at the top of the stack. I don't
101.
▲
by
conradludgate
1y ago
I personally avoid pre-commit hooks and instead use git rebase -x "hook" to ensure my commits are not broken
102.
▲
by
conradludgate
1y ago
> You might wonder: “Won’t the block execute immediately when passed as an argument?” Here’s the key insight: in Rye, code blocks { ... } are values. They don’t evaluate until you explicitly tell them to.
103.
▲
by
conradludgate
1y ago
The irony here is that LLMs are great according to these metrics
104.
▲
by
conradludgate
1y ago
By some metrics (commit count, lines of code, latency to bug fix), I'm one of the most productive engineers in my org. My peers are constantly surprised that I still use zero LLMs in my development routine. I'm holding on as much
105.
▲
by
conradludgate
1y ago
Until jj supports `git rebase -x "cargo check --deny warnings"`, it's useless to me. jj has primitive support for fixing individual files that changed, but it cannot work on any linter or formatter that depends on other files
106.
▲
by
conradludgate
1y ago
It's a mix of both. https://doc.rust-lang.org/src/core/ptr/non_null.rs.html#72-7... #[rustc_layout_scalar_valid_range_start(1)] #[rustc_nonnull_optimization_guaranteed] This declares that NonNul
107.
▲
by
conradludgate
1y ago
For now. There's no reason this won't/can't be worked on in the future.
108.
▲
by
conradludgate
1y ago
It's on top of HTTP CONNECT, which is intended for converting an existing request (QUIC stream) into a transparent byte stream. This removes the need to deal with request/response semantics. The reasons states to use http3 and not
109.
▲
by
conradludgate
1y ago
Hard disagree. I've found this way of working benefits both me and my colleagues. I'm able to work on long lived branches without getting into conflict hell because when I rebase, I'm only dealing with small conflicts. I'
110.
▲
by
conradludgate
1y ago
My recommendation: don't treat the development process as the final draft. Write everything in one go, and then afterwards rework the commits to tell the story you want to tell. This does require getting very comfortable with git rebas
111.
▲
by
conradludgate
1y ago
You have to know what key to use to decrypt the timestamp bits of the token. If you change keys regularly you have the problem of keeping lots of keys, as well as somehow determining the right key
112.
▲
by
conradludgate
1y ago
The efforts of developing better sorting algorithms like driftsort/ipnsort and better hash functions like foldhash make my life as developer so much simpler. No matter how clever I try to be, most often just using foldhash hashmap or a
113.
▲
by
conradludgate
1y ago
Since I'm not actually looking at images, instead I'm looking at text, I love my 4k 32" 16:9 curved display. I typically have 2 vertical windows open on it, so since I do more work on the edge rather than the center, the curv
114.
▲
by
conradludgate
1y ago
As someone who completed most of the HK main story, I've decided to stop playing silksong during act 1 because I'm just not having fun
115.
▲
by
conradludgate
1y ago
I built something similar for Neon[1]. We went with the route that the user sessions for JWT RLS had very few privileges, and that the context was managed by our ingress/connection pool. In our case, all incoming queries had to come vi
116.
▲
by
conradludgate
1y ago
It's not only the nonce. The nonce helps to ensure that the message re-encrypted doesn't have the same ciphertext, but the known plaintext can still be used to forge messages. What stops message forgery is the message tag that TLS
117.
▲
by
conradludgate
1y ago
How do you silently drop a TCP connection? Closing the socket fd usually results in a FIN packet being sent whether I want it to or not. Additionally, it's not going to be using that many resources before your kernel sends it a RST nex
118.
▲
by
conradludgate
1y ago
We enabled ipv6 for our APIs at work. Nothing broke immediately, but we've had a steady stream of unreachable host errors related to ipv6 since then. Turns out there're many incorrect implementations of Happy Eyeballs that cancel
119.
▲
by
conradludgate
1y ago
I've been testing our PrivateLink connectivity at work in the past few weeks. This means I've been creating and destroying a bunch of VPCs to test the functionality. The flow in the AWS console when you select the "VPC and mo
120.
▲
by
conradludgate
1y ago
I think they mentioned it's for an arena, where stability is necessary. You might happen to use said arena for a hash table
More ›