HNHacker News
TopNewBestAskShowJobs

rjrodger

139 karma · joined September 3, 2010

@rjrodger https://www.devrelmeetup.com/ https://senecajs.org https://voxgig.com
submissionscomments
rjrodger··on A Modern Web App in C
My first web app in 1995 was also built like this!

Except I had no idea malloc existed and the whole thing was static arrays...

rjrodger··on Divide by depth for instant 3D
fabulous!
rjrodger··on Divide by depth for instant 3D
OMG This how I got 3D wireframes working on my zx spectrum in 1989! Linear Algebra - what's that? I got it working by pure experimentation - no coding high has ever quite reached the same level since...
rjrodger··on A new experimental Go API for JSON
null != nil !!!

It is good to see some partial solutions to this issue. It plagues most languages and introduces a nice little ambiguity that is just trouble waiting to happen.

Ironically, JavaScript with its hilarious `null` and `undefined` does not have this problem.

Most JSON parsers and emitters in most languages should use a special value for "JSON null".

rjrodger··on Gettiers in software engineering (2019)
Good to have a name for this!

My favourite debugging technique is "introduce a known error".

This validates that your set of "facts" about the file you think you're editing are actually facts about the actual file you are editing.

For example: is the damn thing even compiling?

rjrodger··on Pg_vectorize: Vector search and RAG on Postgres
Any chance you'd Open Source it?
rjrodger··on Ask HN: Good books on philosophy of engineering?
You did say philosophy of engineering, right?

Look no further than “The Specialist” by Charles Sale

“YOU'VE heard a lot of pratin' and prattlin' about this bein' the age of specialization. I'm a carpenter by trade. At one time I could of built a house, barn, church, or chicken coop. But I seen the need of a specialist in my line, so I studied her. I got her, she's mine. Gentlemen, you are face to face with the champion privybuilder of Sangamon County.”

Sometimes the best books are also the shortest.

https://www.toiletrevolution.com/wp-content/uploads/The-Spec...

rjrodger··on A coder considers the waning days of the craft
To me this looks like a Jevons Paradox situation: https://en.wikipedia.org/wiki/Jevons_paradox [1]

Increased developer productivity will lead to a lot more software development, at all levels, rather than less.

1. "In economics, the Jevons paradox occurs when technological progress or government policy increases the efficiency with which a resource is used (reducing the amount necessary for any one use), but the falling cost of use induces increases in demand enough that resource use is increased, rather than reduced."

rjrodger··on Amazon Prime Video’s Microservices Move Doesn’t Lead to a Monolith After All
Well each of our microservices is also a Node package, so we also do that ourselves for the Lambda deployments - load 'em all up in the one Lamdba!
rjrodger··on Using Bun.js as a Bundler
fs.watch is definitely a high priority in order to support day-to-day dev as a build system.

(Hey Jarred - Let’s get that zig package thing done soon!)

rjrodger··on Asymptote: 2D and 3D TeX-Aware Vector Graphics Language
This is pretty fun - used it to generate diagrams for my book!
rjrodger··on Why Python keeps growing, explained
Not really safe to assume there's a decent one. Better to install directly from https://nodejs.org/
rjrodger··on Startup Decoupling and Reckoning
I will hire the founders of a failed startup any day of the week over just about any other category of candidate. They are "salted" horses of the finest calibre.

In my last shop, we had 8 (I think) former CEOs on staff. All made very significant impacts to the business.

If you are staring into the Valley of Death, remember that it is a valley, and you do come out the other side, and that makes you rare and valuable.

rjrodger··on The Art of Money Getting or Golden Rules for Making Money by P. T. Barnum (1880)
Salty, but a true classic. Having read easily several hundred "business" books, this one is my desert island book.
rjrodger··on The James Webb Space Telescope is finding too many early galaxies
Visible light was scattering off densely packed electrons up to about 300k years after the Big Bang - so I guess - white.
rjrodger··on Real World Micro Services
Microservices are about reusability - at the "business logic" level. This framework and its services gets that exactly right. All the network stuff is fine and dandy but first you need to build actual features, which is where intentionally reusable microservices like these really shine.
rjrodger··on Ask HN: Anyone joined a company after contributing to their OSS projects?
Speaking from the company side, this is our main method of hiring! It works great.

A key factor would be that we as a company support and maintain an open source framework. I'm not sure how well it would work without that.

rjrodger··on An underrated idea: the priority view
Is this not equivalent to medical triage? Those who will die anyway, and those who will live anyway, get no immediate treatment (apart from morphine). Those who will not survive without treatment, get the resources.

Thus: move to the city, as the gifted child will most likely do just fine in life. Have dinner with the depressed friend, because the happy friend will enjoy the concert anyway.

Seems perfectly consistent with even simplistic utilitarianism.

rjrodger··on Making Emacs Popular Again (2020)
That's it. That's the reason. You can usually get Emacs key bindings (or a shallow approximation thereof) in most editors. But yeah, we're stuck, so I guess we just gotta double down.

It is fun when the young 'uns do a double take after you execute a particularly fancy macro. I do love that.

rjrodger··on How narcissists climb the career ladder quickly
You'll be wanting https://www.ribbonfarm.com/2009/10/07/the-gervais-principle-... - The Gervais Principle, Or The Office According to “The Office” - the ultimate meta discussion of office politics.
rjrodger··on Cue, an open-source data validation language
Try cuelang.org/play - it's exactly that. Seems to be just a demo though.
rjrodger··on Cue, an open-source data validation language
Our implementation is in TS. However that's just an API. Do you have some ideas on how you'd like the TS type system to work with the Cue type system. It's an open question for us.
rjrodger··on Cue, an open-source data validation language
And we kinda leverage the docs on cuelang.org since the syntax and semantics are mostly the same!
rjrodger··on Cue, an open-source data validation language
Yeah - we're just cheating and using YAML syntax modes for the moment which mostly works. The plan is to support LSP for much better DX of course.
rjrodger··on Cue, an open-source data validation language
Started working on a JS version a few weeks ago [1]. Even with 20% of the features it’s already so useful we’re building systems with it. And not just config - model all the things!

Overrides and inheritance are a world of pain. Unification and commutative operations restore sanity to the actual work of coding with a domain representation language because WYSIWYG. And you get type safety for your domain model.

The project is still at the “Read the Source, Luke” stage so caveat emptor until we get a respectable release out.

* https://github.com/rjrodger/aontu

rjrodger··on Dealing with Insomnia
If you’re like me and noise cancelling headphones make you seasick, try 3M Peltor Optime ear protectors - very effective.
rjrodger··on Taking Theatre Online with WebGL and WebRTC
This is awesome! How much is open source? Fascinated to see how you put the code together...
rjrodger··on The US Army's earth-shaking, off-road land trains
I wonder did this somehow inspire The Amtrak Wars[0]?

(Probably not, but I'm loving the `strange(truth) > strange(fiction)`)

[0]: https://en.wikipedia.org/wiki/The_Amtrak_Wars

rjrodger··on Imre Lakatos and the philosophy of bad science
And the interesting question is, for each of those conceptions, did we call it into being, or was it “there already” in some sense. Consider the case where aliens on the other side of the universe got there first (we consider only possibilities, not probabilities!).

With respect to the debugging of the Euler characteristic, one might ask what truth value formulations during those decades of debugging had, from the perspective of those on the ground at the time. Are we so sure in our present age that there no bugs in Andrew Wiles’s work?

Even if you use automated machine proofs (Mathematica and friends) you still can’t be sure that stray cosmic rays don’t flip a bit every damn time.

Fun times.

rjrodger··on Imre Lakatos and the philosophy of bad science
I wrote my final year thesis on Lakatos’s book “Proofs and Refutations”[0]. It’s a short, mind-blowing book that answers the question: “Is mathematics discovered or invented?”

You may think the abstract structures that you learn about are fixed fundamental truths, but just read Lakatos’s account of the multi-decade debugging of the Euler characteristic for polyhedra and you will realise that maths is both created and discovered.

How do ya like them apples for yer epistemology!

Another example would be limits vs infinitesimals - which is the “true” foundation of calculus? [1]

Or have you ever struggled with the Axiom of Choice?

[0]: https://en.m.wikipedia.org/wiki/Proofs_and_Refutations

[1]: And the correct answer, as all you Coventry City fans will know, is: trick question

Page 1 of 3Next →