Readit News logoReadit News
Kyro38 commented on Level S4 solar radiation event   swpc.noaa.gov/news/g4-sev... · Posted by u/WorldPeas
ccozan · 23 days ago
I am south-west of Munich and with a perfect clear sky I could only see stars, one meteor, and that's it.
Kyro38 · 22 days ago
We also had them in Grenoble, south of France.
Kyro38 commented on Date is out, Temporal is in   piccalil.li/blog/date-is-... · Posted by u/alexanderameye
tshaddox · a month ago
This article lists several of the absurdities of the Date constructor, but only barely touches on the most unforgivable one. The example from the article is:

  // Unless, of course, you separate the year, month, and date with hyphens.
  // Then it gets the _day_ wrong.
  console.log( new Date('2026-01-02') );
  // Result: Date Thu Jan 01 2026 19:00:00 GMT-0500 (Eastern Standard Time)
In this example, the day is "wrong" because the constructor input is being interpreted as midnight UTC on January 2nd, and at that instantaneous point in time, it is 7pm on January 1st in Eastern Standard Time (which is the author's local time zone).

What's actually happening here is a comedy of errors. JavaScript is interpreting that particular string format ("YYYY-MM-DD") as an ISO 8601 date-only form. ISO 8601 specifies that if no time zone designator is provided, the time is assumed to be in local time. The ES5 spec authors intended to match ISO 8601 behavior, but somehow accidentally changed this to 'The value of an absent time zone offset is “Z”' (UTC).

Years later, they had realized their mistakes, and attempted to correct it in ES2015. And you can probably predict what happened. When browsers shipped the correct behavior, they got too many reports about websites which were relying on the previous incorrect behavior. So it got completely rolled back, sacrificed to the altar of "web compatibility."

For more info, see the "Broken Parser" section towards the bottom of this article:

https://maggiepint.com/2017/04/11/fixing-javascript-date-web...

Kyro38 · a month ago
You might want to play with https://jsdate.wtf/

One can't fathom how weird JS Date can be.

Kyro38 commented on Google Logo Ligature Bug   jefftk.com/p/google-logo-... · Posted by u/cubefox
adzm · 9 months ago
Wow it still works.
Kyro38 · 9 months ago
The issue has been fixed on Chrome: https://issues.chromium.org/issues/391788835

But ligature is indeed still visible on Google search.

Kyro38 commented on Switzerland suspends Deutsche Bahn trains due to chronic delays   thelocal.de/20250430/swit... · Posted by u/gslin
tetris11 · 9 months ago
I'll never forget the day when the DB went on strike, and Swiss trains crossed the border to pick up passengers from Frankfurt.

Smoothest, quietest, roomiest train I've ever been in. Even the aesthetics were calming, with nice wide windows.

No random stairs or narrow corridors, no garish yellow or red colours, no speakers or beeping doors yelling at top volume.

Kyro38 · 9 months ago
You're just describing the swiss old single level carriages.
Kyro38 commented on Why are things expensive?   why-expensive.com/... · Posted by u/gmays
nox100 · 2 years ago
Are you sure that's not just a delayed thing?

The first hit when I search is "SUVs accounted for 54% of new car sales in the EU in 2023" :(

Kyro38 · 2 years ago
European SUVs aren't the same as the american ones. Lot of what are considered SUVs are much smaller (You can't compare a Peugeot 2008 to a F1500).
Kyro38 commented on Oxlint – JavaScript linter written in Rust   oxc-project.github.io/blo... · Posted by u/pritambarhate
Aissen · 2 years ago
> 50-100 Times Faster than ESLint

> Our previous linting setup took 75 minutes to run, so we were fanning it out across 40+ workers in CI. By comparison, oxlint takes around 10 seconds to lint the same codebase on a single worker[…]

So it's in fact 18000 times faster on this embarrassingly parallel problem (but doing less for now).

Kyro38 · 2 years ago
How much of those 75min are due to @typescript-eslint ?

Requiring the TS AST adds a massive overhead.

Kyro38 commented on Mounting your iPhone on your motorcycle can damage its camera (2022)   old.reddit.com/r/motorcyc... · Posted by u/behnamoh
victorhooi · 2 years ago
Does anybody know if this would affect bicycles as well?

I have a phone mount on my roadbike handlecars - one of the Quadlock ones - does anybody know if the road vibrations from cycling can cause as much damage as the motorbike?

If anything...I would have thought a fairly stiff road bike would have more vibrations than a motorbike?

Kyro38 · 2 years ago
several years ago my iPhone 8 focus was broken after like 10K KM of riding.

u/Kyro38

KarmaCake day254April 19, 2016View Original