Hacker Newsnew | past | comments | ask | show | jobs | submit | jauco's commentslogin

It’s mostly the same. But if you realize you forgot to add something to the dirst commit while you’re putting stuff in the second commit then this avoids having to create a fixup commit and then rebasing that afterwards.

Also the release that drops typescript transforms: https://github.com/nodejs/typescript/issues/51

(I’m not disagreeing to remove it. It just took me a while to find out what happened to it)


Initially it didn't make sense to me... but it looks like type striping is really the way to go for future TS.

There's the "types as comments" proposal[1] which could even land on browsers one day.

I started using the erasableSyntaxOnly setting in my tsconfig to get ready for this.

[1] https://tc39.es/proposal-type-annotations/


At this point we should really prompt all the AI power in the world we have to create a TS replacement. It seems grotesque.

Something that uses WASM probably has more chances to succeed given the massive effort/investment in the past decade to shift from JS to TS.

It’s actually worse than that. It wasn’t always whole coubtries who decided to adopt (or not) but cities and sometimes people within cities (i.e. the protestants in the city would be lagging, or maybe I’m misremembering and this was about people who where abroad)

In any case, for awhile, the date you picked depended on who you were writing to. And then also the relative standing. If he was of much lower standing you might force your own calendar on them.

Also, I think with the previous calendar it was always a bit debatable what year december belonged to. I can’t quite remember the details.


We still have this sort of thing today. In the occupied West Bank, Israeli settlers change to daylight savings time on a different day than the Palestinians

Arizona in the US does not observe DST at all. Within Arizona is the Navajo nation, which does observe DST. Within the Navajo nation are Hopi enclaves, where DST is not observed, and finally, within one of those Hopi enclaves is a Navajo community where, again, DST is observed.

The least painful part and it’s infuriating.

> It’s actually worse than that. It wasn’t always whole coubtries who decided to adopt (or not) but cities and sometimes people within cities (i.e. the protestants in the city would be lagging, or maybe I’m misremembering and this was about people who where abroad)

There was some of that indeed, depending on the centralization of the country e.g. Spain and France adopted the gregorian calendar wholesale because the king decreed it, but in less centralised countries like the Dutch Republic or Switzerland it happened by region (the seven catholic cantons switched to the gregorian calendar in 1584, the protestant canton only switched over piece by piece during the 18th century, and Schiers and Grüsch were the last remnants of Julian calendar in the entirety of western europe, only adopting the gregorian calendar in 1812).

... and then there's Sweden, which started on a plan to gradually approach the Gregorian calendar by skipping leap years over 40 years, except they immediately forgot to skip the second and third so concluded the plan was stupid, then instead of switching to gregorian they reverted to julian, before finally switching to gregorian 40 years after that.


This reminds me of the strange fact that the New Year used to be considered to be March 25th, so for a while people wrote dates in the months of January through March with 2 years like "10 January 1708/09" to resolve the ambiguity.

https://en.wikipedia.org/wiki/Dual_dating


Where I live the municipality generally has people (money-coaches) to help. Maybe just go over to yours and see what help there is? In general, when you’re in a bad place the advice would be to go off the internet and towards actual humans I think.


But once you can make people download your malicious js code using npm, why would you then need to inject malicious js code in protobuf?


Well, in this attack, you're using the vulenerable dev to modify their code to run a protobuf schema that's vulnerable; so then it can inject that vulnerability to the client code, and then you're exfilitrating 10's of users (the dev who ran this code isnt very popular).


Not if you were browsing the internet of that time using a 28k8 modem.


Why not use the op cli? It seems to do the same thing?


One of my favourite (dutch) children’s books is “400 degrees in the shade” which explores exactly that. A human colony sticking to the terminator. (It’s quite dystopian though)

https://www.goodreads.com/en/book/show/7697564-400-graden-in...


Use difftastic. You can do so with current git :)


It’s not the ME countries who are profiting, because they can’t export. So it’s a net loss. (Saudi and oman win a bit, but in no comparison to the iraq kuwait loss)

The winners are mostly: Russia, Iran itself and (margibally) the US. But mostly Russia.


The biggest winner is China. Countries/people who have any common sense will switch to solar, induction stoves (replacing LPG/LNG), batteries, electric vehicles (of all kinds). China is the only supplier of solar, batteries, EVs and all things electric with everyone else being a rounding error.


I've been waiting for people to have common sense in this domain for decades. The short term always wins


But that's what has changed. Even short term solar is becoming the obvious solution. Look at countries like Pakistan and their solar hyper growth.

Everybody thought it has to be western countries (mostly europe) switching to solar first. But west might actually be last to get off fossil because they can afford it and populist politics will force fossil. It's like burning fossil for nostalgia.


Ya, look at what happened in Nepal, poor access to oil via India, who imports it themselves, but lots of hydro potential. China being next door with an actual rail and truck connection, and cheap EVs.

The developing world has the potential to achieve developed living standards for a much cheaper price, while the west rots away catering to vested interests.


China also benefits that demonstrated its influence (by persuading Iran to negotiate) and from its supply of cheap Iranian oil:

https://x.com/shanaka86/status/2041682779948380317


Russia has banned the export of gasoline starting April 1st, because hits on infrastructure by Ukraine are causing internal shortages. They may be profiting in some other way but it’s unlikely through major exports.

https://m.economictimes.com/news/international/world-news/ru...


Over the past few months their oil facilities have been heavily attacked. It’s hard to believe they’re actually making a big profit from this in the short term.


The US isn’t winning. The owners of us oil companies may have won a little. Commodity gamblers won a lot by knowing what Trump would say and betting before he said it.

The US government and population have lost a lot of wealth.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: