Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pjungwir
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
pjungwir
5y ago
That's a cool puzzle! It's the same as the Bridges of Königsberg, right? If each square is a node, connected by edges to adjacent squares, then it's only solvable if there are at most two squares with an odd number of edges.
92.
▲
by
pjungwir
5y ago
"Ontological remodeling" is a lovely term. I think it's ubiquitous actually, but another nice example is the puzzle about tiling a chessboard with dominoes when the board is missing two opposite corners. Can you do it? If so,
93.
▲
by
pjungwir
5y ago
The three forms of heat are radiation, convection, and conduction. I see how radiation is different. But how are convection and conduction different? Conduction is heat transferred when things are touching. Convection is heat transferred vi
94.
▲
by
pjungwir
5y ago
G takes a line number as its "object" like other vim commands. So 1G is the first line, 10G the tenth, etc. G is the last. (0G goes to the last line too.)
95.
▲
by
pjungwir
5y ago
I'm also an independent contractor trying to find one or two trustworthy partners to go to the next step. I haven't found sales, collections, etc. to be so onerous. In fact usually I'm turning away work. A few years back I tr
96.
▲
by
pjungwir
5y ago
Even in literary criticism, this balance and specificity is such a pleasure. It's one of the things I love about Samuel Johnson's essays. (Contrast with what people are saying in the article about failing literary magazines.) I
97.
▲
by
pjungwir
5y ago
I was an English major who took 300-level courses in math (and CS, physics, history, philosophy, and Chinese). For 25 years I've regretted not applying to places like Princeton and MIT. I'm sure I could have gotten into some of th
98.
▲
by
pjungwir
5y ago
I have this in my ~/bin, but I like your version even better!: grep --color "$1"'\|$'
99.
▲
by
pjungwir
5y ago
I just re-tested on Ruby 3 & Rails 7, and even in development it no longer minds if I rename the erb file in the middle of iterating---so that's an improvement for sure! I found a Rails issue tracking partial performance in a loop
100.
▲
by
pjungwir
5y ago
> I am currently finding Rails view generation to be shockingly slow. I haven't checked this in a few years, but the last time I looked each `render` call reads the partial off disk, parses it, and executes it.[0] So the common patt
101.
▲
by
pjungwir
5y ago
What I'd really like is Database Migrations but for Terraform: a way to maintain a history of imperatively-expressed changes with up/down functions for each one. The hard part is transactional "DDL". CloudFormation has t
102.
▲
by
pjungwir
5y ago
> This latest recognition of aphantasia as a neurological difference is only a decade or so old (although references in the literature go back to the 1890’s.) The first time I heard about aphantasia I recalled reading someone, one of the
103.
▲
by
pjungwir
5y ago
I earned my Network+ cert last year for a DoD contracting gig. It was kind of nice to learn a few more port numbers, but wow: hours and hours of drilling cable standards and telco protocols from the 1990s, fiber optic connectors, servers to
104.
▲
by
pjungwir
5y ago
I've been using Solidjs the last month for a project, and I really like it. Small bundle size, super fast, not much to learn, not too much magic, lots of control. Basically instead of having a vdom the framework is able to track finer-
105.
▲
by
pjungwir
5y ago
SEEKING WORK - Portland, OR or Remote I'm a full-stack developer with 20+ years experience. My specialties are deep Postgres consulting and web development in Rails/Django/React. Occasionally I write some C or Rust for perfor
106.
▲
by
pjungwir
5y ago
An easy way to get xfce is with the Xubuntu distribution. I've run that since 14.04, or maybe longer. I get all the benefits of Ubuntu with a lot less UI churn. If you already have an Ubuntu box, you can also install the `xfce` package
107.
▲
by
pjungwir
5y ago
Yes, pretty much everything is like that: explained in terms of their web services wrapper, not the actual messages sent on the wire. And if you want to log the SOAP messages going back & forth, you have to implement a weird listener cl
108.
▲
by
pjungwir
5y ago
Any time I see "accuracy" reported as a single number, I assume it's B.S. and "for marketing purposes only". If you're serious, give me the precision and recall.
109.
▲
by
pjungwir
5y ago
I see what you're saying, but maybe "array" is the wrong term. Indeed you can't say `WHERE foo IN (?)` and pass more than one parameter (or an array parameter) for the single `?`. That's a limitation of the database
110.
▲
by
pjungwir
5y ago
If you are using Rails and ActiveModelSerializers, I wrote a gem to take your serializer definition and build the whole JSON result in Postgres: [0] It hasn't gotten much use, but I know at least one company that has used it to get 100
111.
▲
by
pjungwir
5y ago
I would love to see a FUSE filesystem for Kubernetes, CloudWatch, Data Dog, etc. Maybe something that lets you set up the folders/files based on your preferred facets, then read your logs with tail/less/grep as you like. It w
112.
▲
by
pjungwir
5y ago
It would be really cool if databases had an Option<T> type. Then you could remove all the NULLs. Although you can mark a column as NOT NULL, that restriction doesn't "travel": it isn't present for function inputs&#
113.
▲
by
pjungwir
5y ago
Yes, it makes sense. But it sure took me by surprise when I finally read the original paper.
114.
▲
by
pjungwir
5y ago
I looked up Date's two exceptions. The first is uninteresting---databases cannot contain pointers---but the second is sort of relevant: > If a relation r has heading H , then no attribute of r can be defined in terms of a relat
115.
▲
by
pjungwir
5y ago
Codd's paper is not that hard. [0] is a PDF copy. One of the pros to reading primary sources is you then know "the whole story": what if anything is missing from popular explanations, and what is changed. A striking bit of tr
116.
▲
by
pjungwir
5y ago
It reminds me of PNP & NPN transistors. Could these liquid "defects" have applications too? Ever since childhood I've wondered why the water behind a rowboat stays flat for so long. You'd think the surrounding water
117.
▲
by
pjungwir
5y ago
Huh, I think that is happening to me. A few questions: - Does the stats update happen only for SELECT, only for DML, or both? - Any drawbacks to `async statistics update`?
118.
▲
by
pjungwir
5y ago
That seems like a good point. I've worked from home for 15 years, and my productivity (and billable hours) took a big hit last spring, just from the distraction of trying to learn what I could and be prepared. Subjectively I'd say
119.
▲
by
pjungwir
5y ago
Wow these look great! My family has two 2013 Macbook Airs I need to replace soon, and the latest Apple options feel like big compromises. I love that I can get high levels of RAM. Linux support is a hard requirement for me though. And I
120.
▲
by
pjungwir
5y ago
I left programming for about six years to do grad school in Classics. I came back because programming was way more fun. The writing was on the wall when I started writing scripts to scan dactylic hexameter and convert L'Année philologi
More ›