HNHacker News
TopNewBestAskShowJobs

RangerScience

4,752 karma · joined March 3, 2014

nicktbarone at gmail
submissionscomments
RangerScience··on Kitchen staff were canaries in the coal mine (2022)
I think the idea with the “canary in a coal mine” isn’t that it’s the margins that are at risk - it’s a signal that those margins have moved.

When working conditions worsen, and those at the previous margins leave, does that mean there’s now new people in the margins who were “safe” before?

RangerScience··on Analysis of EV charging stations finds reliability issues galore
The supercharger network remains Tesla’s largest advantage.

I wonder - there’s probably something similar in the history of cars and gas stations?

RangerScience··on Interviewing the Interviewer: Questions to Uncover a Company's True Culture
I've asked for and received more time during the interview process to ask these kinds of questions, so you can just do that. If they say "no", that's a pretty strong signal itself.
RangerScience··on Do Art Scenes Lead to Gentrification? (2018)
Yes, build more housing, but, art scenes don’t happen in housing, they happen in spaces that people can turn into their community spaces.

Also build more community spaces.

RangerScience··on Good programmers worry about data structures and their relationships
It isn’t :/ I’d be down to recreate it if you can point me at an open-source project to do it in! :)

Basically - we had some custom framework-ish code to do things like general error handling, reference/relationship/ORM stuff, and turning things into a React hook.

I rewrote what we had to use function passing, so that you could define your API endpoint as the simple Axios call (making it much easier to pass in options, like caching config, on a per-endpoint basis).

So you’d define your resource nice and simple, then under the hood it’d wrap in the middleware, and you’d get back a function to make the request (or a React hooks doohickey, if you wanted).

But typescript doesn’t really play nice with function currying, so it took some doing to wrap my head around enough of the type system to allow the template type to itself be a template-typed function. That nut cracked when I remembered that experience with C++ typing; in the end it actually came out pretty clean, although I definitely got Clever(TM) in some of the guts.

RangerScience··on Good programmers worry about data structures and their relationships
IMO, “wrong question”, but thanks for asking.

IMHO - “class” definitions are really just a data structure (abstractly, a possibly-nested hash) with associated functions, and that’s it.

This is extremely apparent in Perl, where that’s literally what a “class” is - a hash data structure “blessed” with a class name. JS is almost identical (a class is a hash where some of the values are functions), and “under the hood” both Ruby and Python are similar (although in very different ways - consider that the first arg in a member function in Python is the instance).

Database schema is (usually/mostly) just that structure without those functions; then you maybe use an ORM to provide them again.

So, IMO, on a theory and design level, both the database table and the data part of a class definition are “data structures” (note that you should include in considerations the relationships between data structures)

RangerScience··on Good programmers worry about data structures and their relationships
Not defending that code - and I agree with you that wild TS code gets nightmarish (I usually call it a “type explosion”) but

Waaaay back when in my C++ days, starting to get into template metaprogramming, the “aha!” moment that made it all much easier was that the type definition could be thought of as a function, with types as input parameters and types as output parameters

Recentlyish, this same perspective really helped with some TS typing problems I ran into (around something like middleware wrapping Axios calls).

It’s definitely a “sharp knife” if you overuse it, you screw yourself, but when you use it carefully and in the right places it’s a super power.

RangerScience··on Good programmers worry about data structures and their relationships
Agree overall (yay data structures, and that types prompt thinking about them) but I don’t think you need types to make good data structures, and, just because you have types doesn’t mean you end up with good data structures.

But yes, definitely - working in a typed language encourages that mindset, and it’s the application of that mindset that yields the benefits (imo).

RangerScience··on CEOs are running companies from afar even as workers return to office
> A proper theory of the mind can often be quite absent.

+1 spicy!

> Make a fun space, and make people's work schedules be loose enough to where they can actually relax in the space, and some people will show up!

I've tried to tell this to a couple of places that wanted me to work in a office. The conversations didn't go anywhere - perhaps because of your prior quote? :)

RangerScience··on Artists score major win in copyright case against AI art generators
AGI, I would hope, would be governed by different laws - including worker’s rights - so that the economic relationships between all parties is more similar to human relationships than LLMs.

In other words: turning Taylor Swift into a software product should be a different legal situation than raising a digital consciousness.

RangerScience··on There Is No Antimemetics Division (2018)
Both Scifi Channel's "Warehouse 13" and Remedy Entertainment's "Control" video game (same studio and universe as Alan Wake) are essentially reskins of SCP, if that helps anyone.
RangerScience··on There Is No Antimemetics Division (2018)
I quite like WotC all the through, although it definitely changes... "tone" over time?

It starts as one thing, but by the middle it's much more clear that it's a therapy exercise for the author that got wonderfully out of hand. There's a lot more talking through issues and emotions as you get deeper in. The author's next major work ("this used to be about dungeons") is same-same-but-different; it's lighter-hearted, almost FRIENDS.

MoL is great and pretty consistent in vibe all the way through; IMO the protag goes from kind of insufferable to a stand-up guy. Quite a good romp to scratch that "creative solutions with magic" itch.

RangerScience··on There Is No Antimemetics Division (2018)
Ada Palmer's Terra Ignota; Will to Battle is book 3 (of four, all released)
RangerScience··on There Is No Antimemetics Division (2018)
Seconding all of the recommendations. Wildbow (author or Worm) has a number of other works (Twig got rave reviews; I’m uncommon in liking Pact)

And, if you like those… I’ll also recommend Practical Guide to Evil (and that author’s next and in-progress work, Pale Lights)

RangerScience··on There Is No Antimemetics Division (2018)
Is it just me or are these books just astonishingly good? Like… sometimes k come across media at juuust the right time and (emotional) place and they’re amazing but on review merely good.

I’m immediately re-reading them and they’re just as good - if not better - the second time.

Quickly became my favorite books of all time, which you’ll have to trust me is saying something.

RangerScience··on Apple's requirements are about to hit creators and fans on Patreon
AFAICT, all the best things on the internet came from people giving things away; although usually with some kind of way to send them money later.

Open core, Royal Road / Patreon pipeline, Linux itself…

RangerScience··on Ask HN: Should we bring software dev in-house?
IDK. I don't have much experience with modular monoliths. What experience I do have says they'll just become regular old monoliths...

...unless you still do the same thing I'm advocating for when considering microservices: defining, and treating, each chunk as a discrete product.

If you can do that, great! MM or MS will both work, and you can probably decide between them based on the other factors you're dealing with.

If you can't, I would expect you to end up with a regular old monolith, so you might as well lean into it.

RangerScience··on Ask HN: Should we bring software dev in-house?
> It depends. In the end EDIFACT is just a protocol. If you go the Java route Smooks, for example, has pretty decent support to read/write EDIFACT messages.

You can also do shim servers to translate between protocols - a long time ago, I had to interface with a Rails app (by another team, so I couldn't modify it) with an Emerson (the industrial giant) SOAP API, and what turned out to be effective was a Sinatra shim server that only converted JSON to SOAP. Now I could plug the two together without worry.

So - I'm guessing you could have a Java Smooks applet that translates from a JSON API to the EDIFACT protocol, and then you can write your main app in anything you want.

PS - Seconding the "don't go microservices", even though I'm advocating for one here - IMO, you only want microservices if they can be fully defined, independent products; a JSON/EDIFACT translation service would probably qualify.

RangerScience··on Ask HN: Should we bring software dev in-house?
>I wouldn't trade a "cool project" for any of that.

something-something "Life is short to deal with problems we didn't have to have"

RangerScience··on Ask HN: Should we bring software dev in-house?
My two cents:

You have a greenfield development project with a very well understood set of business needs and requirements, and you have the budget (I'm guessing) to run some small-scale experiments without the usual sort of time pressures; to a certain kind of developer (hi!) this is super attractive.

I would spend a few weeks getting to know big chunks of the core use cases, and then architect a system designed from the beginning to handle those needs, and the prototype a bunch of that system over a couple of months.

Although these time estimates are totally armchair bullshit, what I'd actually do is timebox both steps to something like "two weeks" and "two months" - that'll help mitigate scope creep that'll come from not having the usual sort of time pressure. It's not about getting it done, it's about finding out what it would take to get it done, and seeing how much can be accomplished in a set amount of time is a good way to do that.

The key bit in all cases is (1) hiring good people (2) getting out of their way except for (3) keeping them on track. (One trick for #3 is to have them propose plans, and then always ask "okay but is there a simpler way to do it?", 2-3 times, kinda like 5-why's).

For #1, I'd look at talks people give at conferences, and then either try to hire those people, or ask those people for referrals.

For #2, that's your executive-level corporate culture. Unfortunately, from what I've seen, you either already have it or you don't, and that's probably not something you can change because if you don't have it, you also don't have the psychological safety necessary to find out that you don't have it - although, you can look for where you've got high employee churn, and that's where your problems are.

For #3, I'd use a combination of what I call the "wine trick" with "ELI5". The "wine trick" is that you don't actually need to know anything about wine to find out if someone else does: just get them talking about the details of their special interest, and if they can, they know a lot about their subject. Combine that with "Explain It Like I'm Five" to find out if they're actually just bullshitting, and because the other way to find out if someone knows a lot about something is if they can teach it. (Plus, they'd need those communication skills during the rest of this process anyway).

RangerScience··on The play deficit (2013)
> company is to take a bet that I can succeed without being anything other than myself, both to prove it to myself and to everyone else

I’m about to try the same, any tips? (Can I email you for advice?)

RangerScience··on 1970 Clean Air Act was intended to cover carbon dioxide
Check out the book “Legal Systems Very Different From Our Own” for the millennia-old tradition that is “finding a way to interpret a holy text according to your politics”
RangerScience··on Ask HN: How to build site with payment, subscriptions, user login, registration
Ruby on Rails with Devise and Stripe pretty much does this out of the box.
RangerScience··on The upstream cause of the youth mental health crisis is the loss of community
Counter-take: Smartphone addiction, like other addictions, it a coping mechanism for other issues, see https://www.psychiatrictimes.com/view/what-does-rat-park-tea...

> But Alexander wondered: is this about the drug or might it be related to the setting they were in? To test his hypothesis, he put rats in “rat parks,” where they were among others and free to roam and play, to socialize and to have sex. And they were given the same access to the same two types of drug laced bottles. When inhabiting a “rat park,” they remarkably preferred the plain water. Even when they did imbibe from the drug-filled bottle, they did so intermittently, not obsessively, and never overdosed. A social community beat the power of drugs.

RangerScience··on The upstream cause of the youth mental health crisis is the loss of community
Hot take:

The upstream cause of this is, essentially, "the rent is too damn high". Not necessarily in a sense of housing prices, but -

In order to have a community, that community needs a space. (The early 'net was interesting in that "space" was cheap/nearly free - IRC, forums, etc, which might be one reason it took over as a social space to begin with)

Extremely consistently, I see efforts at forming communities fail simply due to a lack of regular space in which to have them, and from what little I know talking to organizers, it pretty much always comes down to the cost of the space - the rent. This remains true even if the space itself wants to be cheap/free - it has to pay it's own rent, which means it needs dollars from everyone using it.

AFAIK, religious institutions get around this through (1) advantageous tax laws and (2) long-term ownership.

RangerScience··on One-man SaaS, 9 Years In
Inspiring!

How do you handle on-call / customer support, particularly around vacations?

(In other words, if you want to go away for awhile, how do you make sure any outages get resolved?)

RangerScience··on Just Be Rich (2021)
> wealth inequality is bad

There’s an interesting economic science paper from awhile ago where the researchers examined an economic simulation as wealth inequality increased, and their finding was that it’s like temperature in that it causes phase transitions. At some level of wealth inequality, agents stopped being able to trade (most agents didn’t have the funds to trade most goods), causing a “freeze” - going from liquid(ity) to solid.

RangerScience··on The saddest "Just Ship It" story ever (2020)
Do you have some tips for getting started on there? I poked on a few months ago, but wasn't able to make enough sense of it to get started. I think I just didn't find the right entry points?
RangerScience··on The saddest "Just Ship It" story ever (2020)
Can I hit you up for one those in September if my current thing doesn't work out? Completely serious.
RangerScience··on Ask HN: What is the best code base you ever worked on?
> Modularisation is usually the key. Small modules do one thing and are as seperated as much as possible with as little side effects as possible.

100% agree. The nuance I find is that a lot times, people want to draw the lines of the module along something that's more immediately intuitive, but results in longer-term complexity.

← PreviousPage 5 of 34Next →