Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pjungwir
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
by
pjungwir
5y ago
If we're being picky then you probably also want `mkdir -p -- "$1"` in case they want to create a directory named `-m`, `-v`, etc. Surprisingly `--` isn't mentioned in the mkdir manpage on my system, but it works. E.g. `
122.
▲
by
pjungwir
5y ago
The most famous book to discuss this idea is The Goal by Eliyahu Goldratt, published in the days when American manufacturing was trying to compete with Japanese methods. That book inspired The Phoenix Project by Gene Kim and others, whi
123.
▲
by
pjungwir
6y ago
Thanks for your work on munin. I love it! And I appreciate your responsiveness here. Personally I don't care if my server wastes time generating HTML I never see. It's not enough work to make any difference. But I care a lot about
124.
▲
by
pjungwir
6y ago
Munin is my favorite monitoring tool. One reason (among many mentioned here already) is that its information density is higher than anything else. When your site goes down and you need to know why, the page full of tight graphs is incredibl
125.
▲
by
pjungwir
6y ago
Having good COGS data is also helpful within a business to measure the profitability of different products: e.g. one brand vs another, or shirts vs pants. But it's one of the hardest things to measure. Partly that's from the imp
126.
▲
by
pjungwir
6y ago
In The Chip , T. R. Reid talks about how Kilby and Noyce (inventors of the integrated circuit) spent time reading through new patent applications every day/week. As programmers, we spend a lot of time reading blog posts, but it's
127.
▲
by
pjungwir
6y ago
Wow there are some cool tricks here! In Firefox any objects you pass to console.log are expandable, so you can say console.log("my hash", h). It seems to behave the same when you say console.log("my hash %o", h). But the
128.
▲
by
pjungwir
6y ago
Running your own Postgres is surprisingly easy, even with backups/monitoring/replication. Postgres replication has a reputation for being difficult to set up, but that's not what I've found. I think the reputation largel
129.
▲
by
pjungwir
6y ago
A few years ago I took a printout of Fong & Spivak with me on vacation to Greece. I really enjoyed the first few chapters---and my wife got to make fun of my leisure reading choices. :-) I wish they sold a bound copy, because at home am
130.
▲
by
pjungwir
6y ago
> this second feature (disallowing explicit curve params) was ineffective Not quite. It would override the previous check about being signed by a valid CA. I imagine the implementation was something like this: is_valid = true;
131.
▲
by
pjungwir
6y ago
So could you use this to implement always-up-to-date materialized views in Postgres? It says it uses relational data for inputs and outputs. It says it operates in-memory but also that it starts up from a set of known facts (which sounds li
132.
▲
by
pjungwir
6y ago
Let's not let that be an excuse to settle for poor security, either from Github or our banks. I agree the way Plaid/Yodlee/etc ask for passwords is insane. I've "closed the tab" several times when I hit that. J
133.
▲
by
pjungwir
6y ago
I've read Code . I also liked Financial Statements by Thomas R. Ittelson. It has a similar tutorial-like approach.
134.
▲
by
pjungwir
6y ago
One of my favorite games, Below the Root , has not one but two named playable female characters: Genaa and Pomma. It's from 1984, so only 2 years after the game in this article. I played it on a Tandy 1000. It was a trailblazer in all
135.
▲
by
pjungwir
6y ago
Perl and Ruby have this. In Perl it's kind of an abuse of the perldoc system, like this: print "foo" =pod print "won't run" =cut Ruby basically copied it, although I don't think these
136.
▲
by
pjungwir
6y ago
Thank you both for these tips. I'll see what I can figure out! :-)
137.
▲
by
pjungwir
6y ago
I don't use Rust often (sadly), but I really appreciate its goals and its steady progress. I read every one of these Rust 1.x stories on HN. Around Christmas I made an n-player chess clock with Rust and websockets [0] (because my frien
138.
▲
by
pjungwir
6y ago
I've been experimenting with Rust's Rocket webapp framework, and as much as I like it, I agree it's very annoying how a struct can't permit nulls in one context but not another. I wish there were an easy solution that di
139.
▲
by
pjungwir
6y ago
The book Game Engine Architecture by Jason Gregory might be more detailed than you'd like, but it still covers a lot of those issues (for both 2D and 3D). As a programmer-but-not-a-game-programmer, I was fascinated to read about the
140.
▲
by
pjungwir
6y ago
I agree with this, mostly. Besides the "meeting time" exception others have mentioned, you should be aware of timezones when grouping records into days/weeks/months/years/etc. The timezone affects where you &qu
141.
▲
by
pjungwir
6y ago
As a non-physicist, I've always been hung up on a much simpler paradox: how does radiation escape from a black hole? I thought even light could not escape? Is there an explanation to that?
142.
▲
by
pjungwir
6y ago
SEEKING WORK - Portland, OR or Remote I'm a full-stack developer with 19 years experience. My specialties are Rails, Postgres and Chef/AWS. I'm also very comfortable in Javascript, Python, C, Java, and a few other things. I&#
143.
▲
by
pjungwir
6y ago
> languages need redundancy in their grammar IMO extra redundancy makes Greek much easier to read than Latin. The upfront learning is a bit more effort, but then reading it is much easier. Unlike Latin it has articles (which are declin
144.
▲
by
pjungwir
6y ago
For another light but slightly more in-depth introduction, you might enjoy Financial Statements by Thomas Ittelson. It uses running an applesauce factory as an ongoing example throughout the book. As a programmer with no accounting/f
145.
▲
by
pjungwir
6y ago
For Postgres specifically, I've been enjoying Bruce Momjian's blog lately [1]. He posts some tidbit every day or two, and not trivial things you'd already know. depesz.com is great too and really helps you stay on top of what
146.
▲
by
pjungwir
6y ago
I don't know any Lincoln examples but here in Portland they have pulled down statues of Washington and Jefferson: - https://twitter.com/hungrybowtie/status/1273859657447006208 - https://www.youtube
147.
▲
by
pjungwir
6y ago
I thought of a few others that are "fun": - The Annotated Turing by Charles Petzold - Quantum Computing since Democritus by Scott Aaronson - Euclidean and Non-Euclidean Geometries by Marvin Jay Greenberg (a textbook, but an
148.
▲
by
pjungwir
6y ago
I second this! Gardner would be something more recreational and fun than a lot else out there. The Colossal Book of Mathematics is a good way to get a lot in one place. The Night is Large is also great but less math-focused. I don'
149.
▲
by
pjungwir
6y ago
For a few years around 2001, rounded corners were a big part of hp's branding. I was in a dev shop that maintained part of hp.com, and we had to have them everywhere. I didn't work on their site very often myself, but I think th
150.
▲
by
pjungwir
6y ago
Entropy. Sometimes you read that it's a measure of randomness; sometimes, information. Aren't randomness and information opposites?
More ›