Better HN
topnewbestaskshowjobs
Log inSign up

rjrodger

139 karma · joined Sep 3, 2010 (16y ago) · 80 submissions

@rjrodger https://www.devrelmeetup.com/ https://senecajs.org https://voxgig.com
Submissions

1.

Show HN: A terminal viewer for plain text data files (JSON,YAML,CSV,XML,)(aless.tabnas.dev ↗)

2 points · by rjrodger · 3w ago · discuss

comment 1mo ago · link · parent

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...

comment 2mo ago · link · parent

fabulous!

comment 2mo ago · link · parent

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...

comment 1y ago · link · parent

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".

comment 2y ago · link · parent

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?

7.

Elephant in the room: The myth of exponential hypergrowth(longform.asmartbear.com ↗)

2 points · by rjrodger · 2y ago · discuss

comment 2y ago · link · parent

Any chance you'd Open Source it?

comment 2y ago · link · parent

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...

comment 3y ago · link · parent

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."

comment 3y ago · link · parent

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!

comment 3y ago · link · parent

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!)

comment 3y ago · link · parent

This is pretty fun - used it to generate diagrams for my book!

comment 3y ago · link · parent

Not really safe to assume there's a decent one. Better to install directly from https://nodejs.org/

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Salty, but a true classic. Having read easily several hundred "business" books, this one is my desert island book.

comment 3y ago · link · parent

Visible light was scattering off densely packed electrons up to about 300k years after the Big Bang - so I guess - white.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

Try cuelang.org/play - it's exactly that. Seems to be just a demo though.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

And we kinda leverage the docs on cuelang.org since the syntax and semantics are mostly the same!

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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

comment 6y ago · link · parent

If you’re like me and noise cancelling headphones make you seasick, try 3M Peltor Optime ear protectors - very effective.

comment 6y ago · link · parent

This is awesome! How much is open source? Fascinated to see how you put the code together...

comment 6y ago · link · parent

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

123