HNHacker News
TopNewBestAskShowJobs

jakewins

3,662 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 Prep: Golang Comptime
Yeah, this reminds me a lot of similar practices in the JVM world with compile time annotation processors.

Bugs in those systems are hell to trace.

Coming to the Go world of “if you’re gonna do code generation, write a dumb program that generates source code text, run it and check the result into source control” was a revelation - yeah, it’s ugly, but guess what? It can be debugged by human beings.

jakewins··on Three Mile Island nuclear plant restart in Microsoft AI power deal
> and the downtimes are scheduled.

Dayjob is in energy market algo trading and DER ancillary services in EU, and I can tell you with confidence this is far from true.

And when the nukes trip for safety reasons - which happens multiple times per year - that’s a GW that just dropped off the grid from one second to the next.

For me, I much prefer the reliability of wind and solar; never seen a correlated failure, and we know their production pattern days in advance.

jakewins··on Three Mile Island nuclear plant restart in Microsoft AI power deal
> No battery farm can protect a solar/wind grid from an arbitrarily extended period of bad weather.

I don’t understand why wind solar is subject to absolutes devoid of probability - “what if the sun and wind stop simultaneously for 2 months?”

We know the probability that the sun stops shining and the wind stops blowing for N days, we can calculate it from historical data.

You can absolutely build solar+wind+storage systems that deliver 24/7/365 energy with many nines SLAs, on the real earth with real statistics on weather.

jakewins··on JVM statistics cause garbage collection pauses (2015)
Man I remember being bit by this in migrating to AWS - this had like snuck through on fast on-prem disks, but as soon as that /tmp was on RDS oh boy, it was a dozy.
jakewins··on Ask HN: Is there any place on the internet capable of freedom of speech?
If your definition of “censorship free” is “not allowed to remove CP and similar content that comes with criminal liability for the site owner”, then yeah they do “censor” things.

What people normally mean when they say “free speech” is in the US first amendment sense, not in the “you can post videos of horrible crimes you’ve committed” sense.

Gabs content policy is pretty short and basically just says this. No CP and other criminal content, anything protected by first amendment is ok.

jakewins··on Oxford commercializes its 20% more powerful solar panels in the US
Volts had a really good recent episode on the state of perovskite PV panels and why they are exciting: https://www.volts.wtf/p/whats-the-deal-with-perovskite-solar

Theoretically they can ~double output of silicon PV, but have historically been hampered by faster degrading; that problem seems now to have been significantly improved

jakewins··on Negative electricity prices in nordics nearly all day
Yeah like the popular answers are eg

- Hydrogen electrolyzers

- Some deferrable industrial processes (or processes that can switch between fuels?)

- Batteries ofc

- EVs

- etc etc

Generally it seems like you have this tradeoff between saving $$ by running intermittently when energy is cheap, but not losing $$ from capital assets sitting idle. EVs are really in the sweet spot for short flexibility - their useful output doesn't change much whether they charge at 8PM or 1AM.

Systems like smelters and electrolyzers are not at all as clear - they have enormous capital costs and their operators are likely not gonna enjoy letting them sit idle.

It's interesting to imagine what kinds of systems could take advantage of this grid we now have where prices will be near-and-below-zero for long swaths of time during summer.. ideally also things that don't tax the transmission system, eg. could be placed close to production facilities..

jakewins··on Negative electricity prices in nordics nearly all day
The EU price is settled in a single daily mixed-integer quadratic solver run, so the prices directly affect each other when the solver runs. The goal is to reach a singular price across the system, theoretically, but like you say that becomes impossible due to transmission congestion.

Either way: These low prices will be driving down prices across the continent, the algorithm will maximize export from these low-cost areas as much as it possibly can; that way the entire continent benefits from the windy weather over the baltic.

The algorithm is documented here: https://www.nordpoolgroup.com/globalassets/download-center/s...

jakewins··on Negative electricity prices in nordics nearly all day
Windy days and low heating needs means consumers get paid nearly every hour tomorrow to take surplus electricity off the EU grid.

Thought this is interesting for HN to discuss - the expansion of near-zero-marginal-cost production from wind and solar means more and more nearly free energy for systems that can take advantage of it. A lot of strain on the transmission system, but also a lot of opportunity for innovation.

jakewins··on Samsung to Mass-Produce Solid-State Batteries for 'Super Premium' EVs
Respectfully the argument you’re responding to is clearly just saying: the level of outrage feigned here over translating the mileage specs and not rounding is out of proportion.

Continuing the thread with rude pedantry is not adding anything useful to the conversation.

jakewins··on Firefox Sidebar and Vertical tabs: try them out
Yeah was about to say - i3 solves this as well, and does so in a general way rather than each app having its own split pane implementation.

Sometimes I want two browser session side by side. Sometimes I want a browser session next to Gimp or my IDE. Sometimes I want a 3-row terminal with that thing I’m keeping an eye on just below the browser.

i3 to the rescue!

jakewins··on Electric chainsaws and the gorge of misery
The law applies to tiny chainsaws - 45cc or less - no professional fells a tree with a saw that small.

The saw they show in the video and claim is banned is well above 45cc and entirely legal to sell in CA.

In effect, they’ve banned the tiny saws that were equivalent in power to electrics, and kept the mid-size and up that are needed for professional work.

jakewins··on Electric chainsaws and the gorge of misery
This blog is nonsense - the gas saw in the video is 100% for sale, you can buy it today from any Husky outfitter in CA.

What’s banned are much much smaller saws - 45cc and down - that are, just like the video shows, in the same ballpark as electric saws.

Rather than spreading anti-climate fear mongering, you can simply refer to the state website to see what implements are covered by the law: https://ww2.arb.ca.gov/resources/fact-sheets/sore-applicabil...

jakewins··on Electric chainsaws and the gorge of misery
I had issues like this as well, started using cleaner fuel (alkylate) and have no issues with my Husky since then; it sits in the shed, starts right up every summer, haven’t serviced it in 4 years now.

I agree in general though - same for EVs right, much less maintenance - but for chainsaws the difference in power output can be lethal. Felling trees you need a saw you don’t have to fight to get into the wood, so you can focus on safety and how you’re cutting

Edit: Thankfully this blog turns out to be fearmongering nonsense; they are banning small saws, 45cc and down. The saw in the video is well above that.

jakewins··on A New Specialized Train Is Ready to Haul Nuclear Waste
This sounds much less efficient than the current proposed path of electrolyzing hydrogen?

Direct air capture of carbon has, as I understand, extremely low efficiency. What would be the benefit of capturing carbon over making hydrogen?

jakewins··on Panic at the Job Market
Questions like these are hit and miss tho - I can do this because I worked in a sub-field where “write a parser for that” was a common tool to reach for. In my current field I haven’t seen a single parser in any company codebase; a dev that grew up here could be deeply skilled but have a gap around parsers..
jakewins··on We Love Writing Software So Much, We're Willing to Do It for Free
> If your not willing to have the other person shame you for your gift then you shouldn't be giving gifts

That is antithetical to how I was raised to react to gifts; you never shame someone that gives you a gift you didn’t like unless it’s something completely egregious.

jakewins··on Copying collectors with block-structured heaps are unreliable
The failure mode here is usually caching, in my experience. Lots of data, all dying old.
jakewins··on I have no constructor, and I must initialize
> How is this complicated?

Here are some ways:

- As a junior programmer, it made the language harder to learn. Language complexity increases super-linearly as each new feature has rules of interaction with several existing features

- Although one eventually learns to avoid the anti-features, you cannot control the actions of others. These features meant to help save keystrokes are happily employed every day, producing hard to read code

Particularly when writing library code for other to use or when maintaining large codebases shared by hundreds of engineers, my experience is that complex features in the language end up used by junior engineers or require consideration in API design.

jakewins··on I have no constructor, and I must initialize
I think if you think constructors in Java are easy, you are much, much smarter than I am or have missed some really, really subtle footguns.

Eg:

- Java constructors can return the object before they complete construction, finishing at a later time; this is visible in concurrent code as partially constructed objects

- Java constructors can throw exceptions and return the partially constructed object at the same time, giving you references to broken invalid objects

- Just.. all the things about how calling super constructors and instance methods interleaved with field initialization works and the bazillion ordering rules around that

- Finalizers in general and finalizers on partially constructed objects specifically

I don't in any way claim it's on the same level as C++, but any time I see a Java constructor doing any method calls anymore - whether to instance methods or to super constructors - I know there are dragons

jakewins··on I have no constructor, and I must initialize
Man I get vertigo reading this. Reminds me of trying to understand Java constructors and object initialisation.

It’s been a while now, and at least in my experience so far Go and Rusts choice of not having special constructors really simplifies a lot.

Is there anyone that’s had the experience of missing constructors once you swapped away from them?

jakewins··on Supreme Court blocks controversial Purdue Pharma opioid settlement
The opinion and dissent are actually relatively approachable and lay out exactly what the disagreement is about: https://www.supremecourt.gov/opinions/23pdf/23-124_8nk0.pdf

It seems to come down to whether the sentence "[A chapter 11 bankruptcy plan may] include any other appropriate provision not inconsistent with the applicable provisions of this title" means "A plan can contain anything anyone can imagine as reasonable as long as it isn't expressly forbidden" or "A plan can contain other types of provisions that follow the same general theme as the concrete list given just before this sentence".

The Sacklers argued that the law says they can take away other peoples rights to sue them, since the law says these bankruptcy plans can include "anything", and the majority opinion of SCOTUS was that that's not the right way to read the law.

jakewins··on Germany is No 1 in Europe for EV production, No 2 in the world
If you dig a bit you’ll find studies that show things like “95% of vehicles are driven less than <some number much smaller than standard EV 400km range> per day”

So no, I don’t think range is a huge issue, and fast charging infra is a lot better in EU than US in my experience.

Price though - it’s a tall order to expect everyone to buy EVs when the low cost options are so much higher than the low cost gasoline options. I can see how that would make politicians nervous

jakewins··on Hurl, the Exceptional Language
Wait I’m so confused by this - this is the opposite of how I thought it worked? Go import creates exactly the symbol you mention in the import statement, like “import fmt” creates a symbol “fmt”?

Can you give an example of what you mean?

jakewins··on Move over, tractor – The farmer wants a crop-spraying drone
That doesn’t seem at all obvious - this thing has to spend a ton of energy on keeping the payload away from gravity that a tractor does not.

It also has a pretty high capex bar to clear - it can’t replace a tractor, the farmer needs that still for implements, so it is purely additive in the capex area :/

Still, looks super duper cool and presumably has some tricks it can do a tractor can’t!

jakewins··on Roll-to-roll fabricated perovskite solar cells under ambient room conditions
You can pull up at MO Wind and Solar off of MO 60 and grab 600W panels for $195/ea today: https://windandsolar.com/risen-595-watt-mono-solar-panel-bif...

That's ballpark where you say, about $65/200W.

They also have remanufactured panels, like the 410W trina ones, even cheaper. Good outfit, nice and helpful, bought several lots of panels off of them.

jakewins··on Glory is only 11MB/sec away (2023)
Yeah agree - if a website doesn’t respond I immediately open google in another tab; if google doesn’t respond I blame my internet and swap to my phone.

We’re all on redundant internet connections now.

jakewins··on Understanding Childhood Trauma Can Help Us Be More Resilient
Thanks for adding that context!
jakewins··on 'Mini liver' will grow in person's own lymph node in bold new trial
That last paragraph is different though, it’s using stem cells to make liver cells, not using the patients liver cells directly..

I have no idea why not, but my wife does a lot of work growing different cell types from stem cells, and my understanding is that that’s still like.. they think they are making cell types a, b or c, but it’s a lot of uncertainty. What they really do is convert the stem cells into cells that express m various markers/pass various tests that the “real” cell type also express.. but it’s really hard to know that it’s actually a 1-1 match.

Just yesterday she was lamenting they were making astrocyte cells, and many of the cells in the colony instead became.. something else, unclear what, maybe not even a cell type that exists in humans normally?

Either way: using healthy liver cells from a healthy liver would be a way to ensure you actually really have liver cells, and not something that just sorta duck-types as one

jakewins··on [dead]
Yeah this just seemed like people making rude (“designed by monkeys”, really HN?) unspecific statements about a standard while the examples were about a library they didn’t specify..
← PreviousPage 5 of 19Next →