HNHacker News
TopNewBestAskShowJobs

jakewins

3,664 karma · joined March 9, 2009

I build hardware for the energy transition at https://www.fluxrite.com

I previously built virtual power plants at Tibber, databases at Neo4j and fleet management Equipmentshare.

jake@davis-hansson.com https://tech.davis-hansson.com http://github.com/jakewins

submissionscomments
jakewins··on Uber migrates microservices to multi-cloud platform running Kubernetes and Mesos
I re-read the chain and don’t follow your argument.

Do you mean that your original point was about deployments to begin with?

FWIW I work in a microservices shop for a global app in an extremely regulation heavy industry, and we run a single codebase per service, segregating regulator-imposed behaviour via flags to deployments

jakewins··on Banging errors in Go
I’ve done this at times in Python and C#, I really really miss Go or - better - Rust style errors there.

But, exactly like you say, you end up fighting libraries - particularly the standard libraries, and it ain’t a fight you will win.

In typescript it actually kind of works - better at least. JS APIs often are errors-as-values already because of the old continuation async APIs, and typescript of course lends itself incredibly well to rich return types.

jakewins··on Not setting up Find My bricked my MacBook
My experience with pretty much any consumer company is the opposite? They generally help out.

Random example: I had an expensive Sonos speaker just the other week that broke in a move across the Atlantic. Sonos support helped for nearly an hour trying reset options, then gave me a 30% discount coupon for any product, even though the speaker was long out of warranty.

jakewins··on DOE: Pathways to Commercial Liftoff: Virtual Power Plants
I work on building VPPs. Two interesting problems that come up:

- Counter-factuals; you're often paying someone to not do something, and it is really, really confusing and hard sometimes to measure whether something didn't happen. The car didn't charge at 4pm.. would it have charged if we hadn't told the charger to not charge at 4pm? What if the owner planned to leave at 4.10pm anyway?

- Double counting & profit sharing: There is a surprising amount of money on the table here and kind of a sudden frenzy - what happens when Ford auto-enrolls your new car into their VPP for their own purposes, and you sell it yourself to an aggregator like us, and your utility sells it too? And how do the proceeds get split?

jakewins··on DOE: Pathways to Commercial Liftoff: Virtual Power Plants
Aye but y'all are way ahead! I get to hack on software that bids into DSO-level circuits for NODES up in Norway.

I imagine Norway is seeing a lot of the issues - and opportunities - that having high EV penetration brings, so a good place to watch for what works and what doesn't.

jakewins··on Goodbye integers, hello UUIDv7
A useful/horrifying pattern on this topic: you can use UUIDv1 as a prefixed id, giving you a way to generate tagged IDs in a system that uses UUIDs.

You set the node field to a broadcast MAC address, and use that as a namespace/prefix. This inches close to the boundary of the RFC, but is arguably compliant.

As an example, you may generate demo or “canary” data items that are UUIDv1s with a well known node field, which then lets you do distributed “isDemoData()” checks by just looking at the UUID.

jakewins··on Tell HN: Please don't print –-help to stderr in your CLI tools
Yes, the OP is explicitly talking about case 1, and the quoted GNU docs are as well?
jakewins··on Tell HN: Please don't print –-help to stderr in your CLI tools
Can you be explicit with what they are missing, I’m clearly missing it as well?

OP says please have —help post to stdout, GNU guidance posted above says exact same thing?

jakewins··on New CEO took International Harvester from 4th largest US firm to bankruptcy
People keep quoting me these studies they think show CEOs have no effect on company bottom lines. I keep sending them Craig Morgan playlists on Spotify back.

“Chugga-lugga-luggin’ five miles an houuuuuuuurrr”

jakewins··on The elderly are becoming homeless at a rate not seen since the Great Depression
Yeah the article uses terrible numbers, like the rate of the share of homeless is what they are talking about right?

I looked up the homelessness numbers from the 30s, in absolute numbers it was about 4x what it is today - 2 million homeless vs todays half million.

Given that the population has roughly tripled since the 30s that means the rate of homelessness is about 12x lower today than during the Great Depression?

jakewins··on Comparing Datadog and New Relic's support for OpenTelemetry data
It's been a breath of fresh air this summer to pull out New Relics agent libraries from several of our apps and have them replaced with OpenTelemetry dittos with auto-instrumentation turned off.

No more outages because NR's .NET agent generates code at runtime that causes segfaults. No more outages from the JS agent leaking memory if you instrument long-running functions. No more junior python devs spending days chasing the wrong call path because the Python agent produces bogus timing data on async python..

Just a dumb thing where we can ask for important flows to be traced and set up simple metrics for the things we want to keep track of.

Now we can keep using NRs dashboards, NRQL etc backend systems, which IMO are really good, without the downside of monthly outages each time we update an NR agent library.

jakewins··on Skip the API, ship your database
Most of the heavy artillery RDMSes at least, eg Postgres let’s you mount arbitrary HTTP resources as tables, which you then can put views over: https://wiki.postgresql.org/wiki/Foreign_data_wrappers
jakewins··on Climate Change Tracker
There are real issues and unknowns here, you are right - but you also have to maintain perspective and scale.

The rare minerals and metals we are using to drive the transition are not being combusted into the atmosphere like gasoline additives are: when EV batteries wear out the lithium is right there ready to be recycled; it’s not a consumable.

Yes, EVs are heavier, yes their tires give off more particulates as a result, yea that is a problem. But EVs overall give off way, way, way fewer particulate emissions overall by replacing brake pad use with regenerative braking and by not combusting carbohydrates and pumping the residue out their tailpipes.

The things you list are not mutually exclusive: Reducing car use, replacing ICEs with EVs, replacing fossil fuels with electro fuels etc is an “all of the above” choice

jakewins··on 66% of Americans say they want extended European-style vacation policies at work
Before you write these holier-than-though, I-know-the-plight-of-the-common-man comments: check your intuition, are the things they told us in school growing up in Northern Europe still true?

I used SE salaries because this is HN. What does a ”real world” worker actually make?

If you look up the national median salaries you will find the median US worker makes more than the median German household, or more than twice the individual German worker for the same job.

So the exact same math I just did applies on the national statistics as well. Maybe it’s worth thinking about why it feels so important that this isn’t true, that northern EU workers surely must be much better off than their suffering US counterparts. The truth is much more complex than that.

jakewins··on 66% of Americans say they want extended European-style vacation policies at work
The disability insurance that was included with my US job was significantly better than the one I have now.

If I was let go I would retain health coverage through COBRA.

Let’s be clear: The US health system is a shit show, it’s just not - mostly - one that impacts high salaried employees (if it did it would have changed long ago..)

jakewins··on 66% of Americans say they want extended European-style vacation policies at work
All US full time positions include health insurance, the insurance included with a good software job is, in my experience, miles and miles better than the one I now get in Scandinavia.
jakewins··on 66% of Americans say they want extended European-style vacation policies at work
I think you can do this math yourself pretty fast: US median software eng salary is about $170k/yr, German one is $80.

Both will include full health benefits etc.

With 5 weeks paid vacation in DE and 2 weeks in US, that would be $170k for 50 weeks if work vs $80k for 47 weeks.

Not counting US taxes being lower and looking only at gross pay, that’s about $1.7K/week in DE vs $3.4K/week in the US.

So after correcting for vacation, US engineers make about twice German counterparts

jakewins··on 'No-water' hydropower turns England's hills into green and pleasant batteries
> I'm not really sure why the Wh exists

It never really clicked for me how silly this is until you said it, so I went and looked it up.

It turns out it's kind of the other way around; the watt came first: It was originally defined as "the power conveyed by a current of an Ampère through the difference of potential of a Volt".

Watt-hour seems to come around in the 1890s as utilities explore ways to bill customers for electricity use, originally "ampere-hour meters" and then "watt-hour meters".

Joule shows up about the same time, in like 1880 or so, and was defined in terms of the watt, rather than the watt defined in terms of the joule, if I skim Wikipedia correctly.. So that'd mean Joule and Wh are both kind of competing units of energy - one used by GE and Westinghouse and all those people, and the other used by scientists(?)

The watt then gets redefined in terms of a joule much later, in 1948.

jakewins··on Israeli Researchers Produce Green Hydrogen with 90% Efficiency
Rooftop solar in Australia is now cheaper in some jurisdictions than transmission per kWh. Meaning, if I tried to build a nuke or any other centralized generator and I gave the electricity away for free, rooftop solar would still be cheaper per kWh because consumers don’t need to pay to maintain transmission infrastructure..

Of course, only when the sun is shining. But it’s an incredible Lego block we’ve got to play with in building this new energy system, zero marginal cost generation.

jakewins··on Israeli Researchers Produce Green Hydrogen with 90% Efficiency
What legal jurisdiction are you saying this was a rule in? I’ve never heard of this
jakewins··on Things Unix can do atomically (2010)
Dan Luu also says rename is not atomic, at the bottom of this post: https://danluu.com/file-consistency/

I've wondered ever since I read that what the first bullet there means. It can't be what you're saying here, what you're saying would apply to racing processes as well as crashes?

So then.. what does he mean when he says rename isn't atomic if there's a crash? What's the failure condition / in-between state that can occur if there's a crash?

jakewins··on Norway to fine Meta $98,500 a day over user privacy breach from 14 August
What do you mean? They will pay the fine or the NO courts will extract them; Meta has legal entities with bank presence to charge for ads and (I assume) pay employees in NO.
jakewins··on First new US nuclear reactor in decades enters commercial operation in Georgia
> Point is, we can’t just “save the water”.

The storage level at Lake Mead has an annual spread of ~100ft; the dam is currently at historic low capacity and could hold about twice its current level: https://www.usbr.gov/lc/region/g4000/lakemead_line.pdf

Reservervoir dams certainly can store water and dispense it when appropriate.

Like I said, this is happening every day already, you can see it in the hourly data on wind/hydro generation share, and you can see it in the annual storage capacity data for Norwegian hydro.

jakewins··on First new US nuclear reactor in decades enters commercial operation in Georgia
True but PV+wind make our existing dams go much further - recall most of them operate as giant annual batteries, they refill in the rainy season once per year, then dispense that energy over the dry season.

Adding PV means hydro can save much more of its water, just dispensing to “fill in the gaps”. This is already how the hydro in Norway and Sweden operates, you can see it daily if you look at the hourly power breakdowns by generation type.

But I agree, I hope we will get to a point where we can decommission the big dams..

jakewins··on First new US nuclear reactor in decades enters commercial operation in Georgia
Nuclear is dope and we should build tons of it, but it ain’t our only hope; plenty of other alternatives to build at the same time.

Eg hydro, overprovisioning solar or wind, transmission to remove local weather variations, coupling wind and solar, demand flexibility.

Fervo just started its first full-scale new-gen geothermal plant, for instance; 24/7 firm power. You might like David Roberts interview with Tim Latimer about it: https://www.volts.wtf/p/enhanced-geothermal-power-is-finally...

jakewins··on The world’s largest wind turbine has been switched on
At least in sailing, you can go a lot faster than the wind; I assume the same is true for these blades.
jakewins··on The US economy and the EU were the same size in 2008, the US is now nearly 2X
Isn’t this assuming people stay in fixed “compartments” over their lifetime?

My experience with social safety nets in EU is that they have been there when I’ve needed them - when I was a poor student, when I was sick — and now that I’m in a different life phase I pay that forward

Your math makes sense at any given instant, but who is on what side changes if you view it over time

jakewins··on Unchecked Java: Say goodbye to checked exceptions
I think the issue is with checked exceptions as a solution to how to declare this signature, or at least with how they are designed in Java: if you add a new exception to the signature, every downstream call site needs to change, recursively.

This means it is impossible to add new exceptions to library methods without breakage, and even in your own code it may mean hundreds of changes throughout your code to add a new exception type.

Rusts solution seems to have improved this conundrum, where you can describe how to map the new error into an existing hierarchy in a single or a few places instead of at every call site

jakewins··on 100x Faster Than Wi-Fi: Light-Based Networking Standard Released
Maybe this would be in some sort of specialised network appliance, bridging the link into a wired network of some kind, not a general-purpose machine buffering the network data in regular RAM?
jakewins··on Ways to say no with grace and style (2021)
I’ve found the opposite FWIW - in many orgs you get rewarded for getting stuff built, and a powerful tool for that is to show product and upper management the tradeoffs of their requests, to counter scope creep. “I can move the team off what they are doing to accommodate this request, but we will need to deprioritise <thing you asked for last week> if we want to stay on schedule”
← PreviousPage 8 of 19Next →