Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pjungwir
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
181.
▲
by
pjungwir
7y ago
> Also, if you are literally having HTTP 400s internally, why aren't you using some kind of actual RPC mechanism? Do you like pain? I just had a discussion about this yesterday where we have an internal JSON API that auths a credit
182.
▲
by
pjungwir
7y ago
Interesting, thanks for sharing that! I once spent a summer helping a library write one-sentence summaries for medieval Latin books, and all the abbreviations and ligatures made the paleography really tough! But actually we do have a common
183.
▲
by
pjungwir
7y ago
> Out of curiosity, was the use of `&` in "type & read" intentional to try to demonstrate your point? Ha ha, no! :-) I think I often type "&" as a micro-tie and "and" as a macro-tie. In other wor
184.
▲
by
pjungwir
7y ago
In my opinion data warehouses are exactly the kind of database that are easiest to use when the API is SQL. BI people can point Tableau at it and get right to work, and lots of data analysts have an easier time writing R & Python agains
185.
▲
by
pjungwir
7y ago
I don't like it. :-) Splitting each clause into two lines makes my eyes stumble. I can't read it as effortlessly as I read normal text. At least you are left-aligning the keywords though. :-) I have two spaces after my SELECT beca
186.
▲
by
pjungwir
7y ago
Oh fun another style discussion! :-) My own taste is for a "book style": write the code like you see in good books. I agree with most of this guide, although I'm pretty loose and case-by-case in practice. I've gradually
187.
▲
by
pjungwir
7y ago
I used to help coach college friends in their writing. Often their first drafts would have complicated pretentious sentences that really weren't even parseable as sentences, and first I'd ask them, "What do you mean here?&quo
188.
▲
by
pjungwir
7y ago
Not just awk but cat, grep, etc.---even python itself. It's nice to have something that "recommends" such a common Unix convention, a lot like getopt but moreso. In Perl this would be `while (<>) { ... }` and in Ruby `A
189.
▲
by
pjungwir
7y ago
I like a SQL a lot, but I wouldn't mind a nicer interface to a relational database. TutorialD seems more elegant and expressive than EdgeQL though. If I were designing a new query language, that's where I would look for inspiratio
190.
▲
by
pjungwir
7y ago
No discussion of strange ICD-10 codes can omit this amazing book: https://www.icd10illustrated.com/
191.
▲
by
pjungwir
7y ago
That's funny, just the other day I needed some lard for a paté. I called around without luck and eventually bought suet from a specialty butcher and left it in the crock pot on low overnight. Then I needed another half-pound and tried
192.
▲
by
pjungwir
8y ago
Oh I really admire Chronomodel! Actually I link to it in my annotated bibliography ([3] above). Thanks for all your work on that! (Also: I exchanged some emails with one of the Chronomodel devs a few months ago. Perhaps that was you?) For v
193.
▲
by
pjungwir
8y ago
> I'd love to see someone translate the concepts in both books to a useful postgres package. This is some work on this. [1] is an amazing patch by some researchers in Europe that has already had several rounds of review. Their first
194.
▲
by
pjungwir
8y ago
EDIT2: In spite of my personal experience I do think the author makes a strong case for this: "Adding up task estimates is a really misleading picture of how long something will take." Perhaps I've had better results because
195.
▲
by
pjungwir
8y ago
Here is a story about the woes of interpreting statistical distributions: I have two habits when I estimate: First, I like to give a range or even better a triple estimate of "optimistic", "expected", "worst case&qu
196.
▲
by
pjungwir
8y ago
Oh, interesting! Wouldn't it be easier to photograph our own? :-)
197.
▲
by
pjungwir
8y ago
The video JumpCrisscross shared above says this is the black hole at the center of our galaxy, so why isn't its accretion disk oriented the same as the rest of the galaxy? Isn't that weird?
198.
▲
by
pjungwir
8y ago
Very interesting! All my life I've wondered why sometimes we say "violet" and sometimes "purple", with a vague sense that they are not exactly synonyms. Here is a related question that got a very knowledgeable and h
199.
▲
by
pjungwir
8y ago
I wrote a Postgres extension to compute the mean of an array of floats. [0] I tried to avoid overflow problems by using an approach that finds the final mean for each element as it goes along. [1] But that is a lot of divisions, so there is
200.
▲
by
pjungwir
8y ago
Oh interesting. We've lost several pyrex dishes. The first was nine or ten years ago. My wife was baking a raspberry crisp thing (or some red fruit), and the dish cracked into hundreds of little bits before we took it out of the oven.
201.
▲
by
pjungwir
8y ago
I've been using pug with the babel plugin for a React project, and I really like it. I'm a fan of Haml for server-side rendered Rails views, too. I'm surprised pug isn't more widely used in front-end dev, since it is so
202.
▲
by
pjungwir
8y ago
Isn't extra acceleration what dark energy is supposed to explain? (Maybe "explain" is the wrong word. :-) I haven't seen anyone say this (probably for some good reason), but maybe 'Oumuamua's acceleration is fr
203.
▲
by
pjungwir
8y ago
SEEKING WORK - Portland, OR or Remote I'm a full-stack developer with 18 years experience. My specialties are Rails, Postgres and Chef/AWS. I'm also very comfortable in Javascript, Python, and a few other things. At the low l
204.
▲
by
pjungwir
8y ago
It sounds like you're just getting started, so I would say: pay attention to the "seams" between layers/modules/components/machines/etc. Especially these days when we are building higher and higher abstrac
205.
▲
by
pjungwir
8y ago
None of the downvotes were mine btw. :-) He praises Prolog because it was influenced by a logician, so I'm curious what he thinks of Datalog. That is something on my radar to read about, but so far I know nothing about it. But I believ
206.
▲
by
pjungwir
8y ago
Really? He is saying that Dijkstra's own book Predicate Calculus and Program Semantics ("D&S") suffered because "in general computer people seem to have a penchant for whipping up homebrew logics," and Codd is
207.
▲
by
pjungwir
8y ago
Okay, but this is the author's opinion here, not EWD's. It was quite a glib dismissal, and footnoting it seems a bit disingenuous even, hinting to casual readers that there is some substance to his "obvious mess", when r
208.
▲
by
pjungwir
8y ago
That line stood out to me too, since relational theory has been such a success. I was surprised that [12] is just Codd's paper "Relational Completeness of Data Base Sublanguages," where he introduces first relational algebra
209.
▲
by
pjungwir
8y ago
> I made a meshopt_Allocator class that could allocate large blocks of typed data and remember the allocated pointer; at the end of the scope all allocated blocks would be deleted. I only write occasional C, and no C++ since college, but
210.
▲
by
pjungwir
8y ago
The original story of getting rich off employee equity seems to go back to Netscape, but reading The New New Thing by Michael Lewis, I was struck by how abnormal that situation was. Jim Clark hated the VCs, identified as an engineer, se
More ›