Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jdreaver
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
jdreaver
1mo ago
I recommend getting the 1st edition. I read the 1st edition and loved it. Here is a relevant review of the 2nd edition https://janert.me/blog/2025/book-review-matrix-analysis-and-...
2.
▲
by
jdreaver
5mo ago
I learned recently that Spain uses the same timezone as Germany (GMT+2 currently, according to Google) despite the GMT line passing through Spain. I've visited Spain and did feel like we ate late, but the timezone being "wrong&quo
3.
▲
by
jdreaver
5mo ago
https://en.wikipedia.org/wiki/ReStructuredText This format really took off in the Python community in the 2000's for documentation. The Linux kernel has used it for documentation as well for a while now.
4.
▲
by
jdreaver
1y ago
I recently discovered that `perf` itself can spit out flamegraphs. My workflow has been: $ perf record -g -F 99 ./my-program $ perf script report flamegraph You can also run `perf script -F +pid > out.perf` and then ope
5.
▲
by
jdreaver
1y ago
There are plausible scenarios where a region can go down for days or more at a time, like natural disasters. I'm not terribly worried about a region going away _forever_, but during a regional outage long enough to start losing busines
6.
▲
by
jdreaver
2y ago
You are correct that storage is cheaper in S3, but S3 charges per request to GET, LIST, POST, COPY, etc objects in your bucket. Block storage can be cheaper when you are frequently modifying or querying your data.
7.
▲
by
jdreaver
2y ago
Huge +1 to this, but I would also add walking _at least_ 8000 steps per day. I still had some minor, nagging pain until I started walking more. Turns out humans are not meant to sit all day! I can highly recommend a book called _Built to Mo
8.
▲
by
jdreaver
3y ago
Most of my company uses VS Code or IntelliJ IDEs, which are officially supported by our developer productivity team, but many of us use Emacs and Vim (I'm an Emacs user). I spend most of my time in Go, C, Rust, and the plethora of &quo
9.
▲
by
jdreaver
3y ago
The book is a bit more foundational than that. It teaches you about Bayesian statistics, and discusses (among other things) why the concept of binary yes/no statistical significance is usually not the best way of evaluating a hypothesi
10.
▲
by
jdreaver
3y ago
The Elements of Computing Systems: Building a Modern Computer from First Principles [0] [1] Easily one of the most interesting and engaging textbooks I've read in my entire life. I remember barely doing any work for my day job while I
11.
▲
by
jdreaver
3y ago
I agree with basically everything you are saying, except I think a sprinkle of rote memorization can go a long way in some domains. Whenever I read a math book, memorizing definitions and some key theorems helps me apply them in problems. W
12.
▲
by
jdreaver
4y ago
That's probably so you can rotate your keys without downtime.
13.
▲
by
jdreaver
5y ago
I've used Aurora and the IO is much better there than on vanilla RDS. Postgres Aurora is basically a fork of postgres with a totally different storage system. Their are some neat re:Invent talks on it if you are interested.
14.
▲
by
jdreaver
5y ago
> RDS is slow. I've seen select statements take 20 minutes on RDS which take a few seconds on _much_ cheaper baremetal. I'm sure you observed this, but concluding that RDS is slow as a blanket statement is totally wrong. You ha
15.
▲
by
jdreaver
5y ago
I've read this book and taken this course twice, and it is easily one of the best learning experiences I've ever had. Statistics is a fascinating subject and Richard helps bring it alive. I had studied lots of classical statistics
16.
▲
by
jdreaver
5y ago
Interesting, I know folks at Stripe that have been remote since around or before 2019, and one of the reasons I joined Stripe was because of the fantastic remote policies (hint: they are awesome). I wonder if 2019 was a tipping point for re
17.
▲
by
jdreaver
5y ago
+1 to both of these approaches. Maybe once per year we would have a query plan regress because of out of date column statistics. This happened on some pathological cases like tables that had old data evicted frequently. Once we committed to
18.
▲
by
jdreaver
5y ago
Nope. There is an AWS blog post [0] from September 2021 about setting up pgbouncer in front of Aurora Postgres, and that blog post references the AWS RDS Proxy service [1], but Aurora doesn't have pgbouncer in front by default. For wha
19.
▲
by
jdreaver
5y ago
> If you see idle is above 20 it's recommended to explore using PgBouncer. Exploring pgbouncer when you have lots of idle connections is a great tip, but 20 idle connections feels _extremely_ low to me. I've seen postgres datab
20.
▲
by
jdreaver
5y ago
Making a closure usually requires allocation. For example: package main import "fmt" func main() { closure := make_closure() fmt.Println("closure():", closure()) } func make_closu
21.
▲
by
jdreaver
5y ago
This is solvable with vanilla table design. Add a version column to the discounts table, make your foreign key point to (discount_id, version) instead of just discount_id, keep old discounts around. Don't mutate discounts, just add a n
22.
▲
by
jdreaver
5y ago
Ah understood. I thought this comment thread was talking about replacing _production_ AWS use cases with a bare metal system that has a compatible API.
23.
▲
by
jdreaver
5y ago
https://docs.aws.amazon.com/amazondynamodb/latest/developerg... > The downloadable version of DynamoDB is intended for development and testing purposes only. By comparison, the DynamoDB web service is a managed
24.
▲
by
jdreaver
5y ago
> nor morally defensible. I don't think this is accurate. There are plenty of legitimate critiques against intellectual property, for example: https://plato.stanford.edu/entries/intellectual-property/#Ge...
25.
▲
by
jdreaver
5y ago
I've installed NixOS over wifi a few times, most recently for a desktop that wasn't next to my router and that I didn't feel like relocating to connect via ethernet. The fully featured install ISO (not the minimal version) co
26.
▲
by
jdreaver
6y ago
I wonder if that is just limited to IBKR Lite, their commission free platform https://www.interactivebrokers.com/en/index.php?f=45196
27.
▲
by
jdreaver
6y ago
I have lived in Riverside, California my whole life (about an hour east of Los Angeles), but I've been working remotely for companies in SF for the past 5 years. There are a ton of advantages over living in SF: - Houses are probably 1&
28.
▲
by
jdreaver
6y ago
Absolutely. I work at Stripe now. In fact, I wish I only interviewed at Stripe (hindsight is 20/20), because I would have done zero leetcode prep. It is well known that Stripe interviews are much more practical than FAANG interviews. T
29.
▲
by
jdreaver
6y ago
I did it over 4 weeks. I have two kids, so I spent about 1-2 hours per day. I usually did some reading or a couple leetcode problems in the morning before starting work, and a couple in the evening. Honestly, once you do about 20-30 proble
30.
▲
by
jdreaver
6y ago
This is inconsistent with my experience in my most recent round of interviews. I interviewed at a few places at a senior/staff level, and most of my interviews were behavioral, architectural, or discussions about past work. The few lee
More ›