HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jayflux

no profile record

Submissions

The Quiet Driving Force Behind Rising Curtailment Costs in Great Britain

ukerc.ac.uk
59 points·by jayflux·9 माह पहले·77 comments

Temporal_rs is here! The datetime library powering Temporal in Boa and V8

boajs.dev
38 points·by jayflux·10 माह पहले·6 comments

Speeding up VSCode extensions in 2022

jason-williams.co.uk
179 points·by jayflux·4 वर्ष पहले·36 comments

comments

jayflux
·2 माह पहले·discuss
> David who was at the BBC at the time suggested they use yellow balls instead

Apparently he didn’t explicitly say they should be yellow, he just said the white didn’t work, the ITF chose yellow after research and studies.

Ironically, Wimbledon was the last venue to switch to the colour, despite David influencing the decision to change it.

> In 1972 the ITF introduced yellow tennis balls into the rules of tennis, as research had shown these balls to be more visible to television viewers. Meanwhile Wimbledon continued to use the traditional white ball, but eventually adopted yellow balls in 1986.

https://en.wikipedia.org/wiki/Tennis_ball#

https://pressurebox.com/blogs/news/why-are-tennis-balls-yell...
jayflux
·2 माह पहले·discuss
> In 2022 is was £1.89 a litre and spent most of the year over £1.60 a litre

Why are you choosing the 2022 energy crises as your baseline? Not only your choice was arbitary but you managed to choose the year fuel was at its highest as a reaction to the war in Ukraine.

That price was not representative or typical, it was a spike. You can see it here.

https://www.ons.gov.uk/economy/inflationandpriceindices/time...
jayflux
·4 माह पहले·discuss
This was an intentional design decision. We wanted to make sure all the temporal types could be serialize/deserializable, but as you mentioned, you couldn't implicitly go back to the object you started with as JSON.parse doesn't support that.

Instead the onus is on the developer to re-create the correct object they need on the other side. I don't believe this is problematic because if you know you're sending a Date, DateTime, MonthDay, YearMonth type from one side, then you know what type to rebuild from the ISO string on the other. Having it be automatic could be an issue if you receive unexpected values and are now dealing with the wrong types.

There is an example here in the docs of a reviver being used for Temporal.Instant https://tc39.es/proposal-temporal/docs/instant.html#toJSON
jayflux
·5 माह पहले·discuss
What we’re seeing today with Windows is more representative of the times we’re living in rather than because of who’s the CEO.

I don’t doubt for a second Ballmer would also be jumping onto the AI hype train if he was still running the show.
jayflux
·5 माह पहले·discuss
Pretty much every citation added to wikipedia is passed on to web archive now, either by the editor or automatically later on.

For news articles especially the recommendation now is to use the archive snapshot and not the url of the page.

It’s not a perfect solution, but it tries to solve the link rot issue.
jayflux
·8 माह पहले·discuss
I’m sorry I struggle to understand your comment, but I’ll have a go.

> Saying “nuclear can handle the easy part” doesn’t help.

That’s literally how baseload works, look at France’s energy mix for an example, they have nuclear handle the bulk of their demand (at least the very minimum it will ever be) and renewables + transfers handle the rest, if renewables goes up they export it or lower their nuclear output (yes, their nuclear output can be modulated).

> You still need 20GW of extra capacity to cope

The goal isn’t to replace the entire energy mix with Nuclear, the goal is to add enough nuclear in the mix so that we don’t need gas being generating all year round (gas sets the price in the merit order so we don’t want it on 24/7). If you added just 6GW of nuclear you’d be achieving that on some days.
jayflux
·8 माह पहले·discuss
That’s quite an odd statement to make.

The UK certainly does have continuous demand, our overall energy demand has rarely fallen below 25GW in the past couple of years. Right now gas makes up for much of that, the goal here is to replace gas with nuclear, using gas as baseload generation isn’t wise long term.

Source: https://grid.iamkate.com/
jayflux
·8 माह पहले·discuss
That’s simply not true, or at least not today.

First of, the UK are investing in battery storage, there’s already a rollout of grid-level battery systems across the country*.

None of them hold capacity for longer than 2 hours before they need to start discharging. In fact, the record breaking duration is 6 hours. This is great as a short buffer, but it’s not “storage”.

To put this in perspective, last year the UK went 2 weeks without any significant wind, so a 2 hour buffer is nothing. This is why Hydrogen is still being kept as an option for long term storage.

https://stateraenergy.co.uk/projects/thurrock-storage

https://rhomotion.com/news/longest-duration-battery-energy-s...
jayflux
·8 माह पहले·discuss
The past year has been huge for conformance for us, not only we caught up with the top engines but we surpassed them when working on Temporal and having all tests pass for that.

We hope to wind down some of the conformance priority now and focus on performance, we need to work on a new GC, refactor some parts of the engine, and improve various areas.

The idea of a JIT has been raised and we’re not against it, but it’s not on our plans right now (because of the above), that being said there is an open discussion.
jayflux
·8 माह पहले·discuss
Hi all, wow was not expecting this to be trending right now.

I’m the creator of Boa, you can catch my talk about it at JS Conf EU 2019 https://www.youtube.com/watch?v=_uD2pijcSi4

That said, today Boa has a whole team of maintainers who I’m sure will answer some questions here.

Yes the name does invoke the sense it’s a Python project but I liked it and stuck with it, I saw a Boa snake at a zoo once and knew I wanted to name my next project after it, I was also inspired by Mozilla at the time who named their projects after animals.

Speaking of Mozilla, Boa’s existence came to be because at the time I was working on Servo and wanted to include an all-rust JS engine, one didn’t really exist so I set about making one as a learning exercise, after around 2 years more joined me on that journey and today Boa is around 8 years old. It is not browser grade (although at 94.12% it is more compliant than some browser engines) but that doesn’t matter, plenty of Rust projects have found good use for it as they find it easy to embed and use, so we’re happy.

One recent example is Biome who use it for their plugin infrastructure. https://github.com/biomejs/biome/pull/7300

Another recent thing which we’re very proud is seeing our implementation of Temporal be used in V8 and other engines, so we’re also helping the wider ecosystem and raising all ships! (More here: https://boajs.dev/blog/2025/09/24/temporal-release)

We do hope to improve performance over the next year or so, hopefully that answers some of the Qs here.
jayflux
·9 माह पहले·discuss
Transmission is a real problem and just like Nuclear, we haven’t improved it in the past 30 years.

So both eastern green link projects (offering more capacity) are due to be finished in 2029, “ok” I think “but surely we’re doing some work onshore to improve the existing network in the meantime..”

> Due to ongoing project work for increased power flow from North to South across two Transmission Owner (TO) regions and the interaction of the outage plans, increased capacity across the boundary will be limited and intermittent till 2029

So basically no transmission, onshore or offshore is going to be improved until 2029, but we’re still green lighting wind farms in Scotland. I’m amazed someone has the foresight to increase generation but not transmission until now, how were these green lit in the past knowing full well this bottleneck existed.

Maybe it’s controversial, but id argue for stopping more generation until transmission or storage is sorted, otherwise curtailment is going to be even higher in the next few years.
jayflux
·10 माह पहले·discuss
> Even if you’ve been doing JavaScript for a while, you might be surprised to learn that setTimeout(0) is not really setTimeout(0). Instead, it could run 4 milliseconds later:

Is this still the case? Even with this change? https://chromestatus.com/feature/4889002157015040
jayflux
·3 वर्ष पहले·discuss
Really? I was only today reading a Reddit comment from last week of who I assumed was his dad? https://www.reddit.com/r/Tetris/s/hDAjX39SGt