skysight-inc/HackerNews huggingface dataset:
I just want to note that it seems incorrect to call this a superficial resemblance in terms of syntax. I went and read through the whole thing, and the syntax for the type hints seems to be as close to 100% TypeScript as possible, which is to say, it is very close. There may be some features missing that TS supports, but the bulk of it is there, and what's there is basically Typescript, which is the best thing that could possibly be accomplished here.

Typescript has been doing a fantastic job, and this proposal is continuing in that same vein, truly absorbing as much of that as possible back into JS!

Kudos to everyone involved, great effort!

And re "[the type hints] do nothing":
The section at the end of the proposal clearly explains why that must necessarily be the case: Evolutions of JS must not break the web (especially) for the users.

Quoting: "TypeScript's model -- which has been highly successful for JS developers -- is around non-local, best-effort checks. (...) Additionally, defining a type system to run directly in the browser means that improved type analyses would become breaking changes for the users of JavaScript applications, rather than for developers. This would violate goals around web compatibility (i.e. "don't break the web"), so type system innovation would become near-impossible. Allowing other type systems to analyze code separately provides developers with choice, innovation, and freedom for developers to opt-out of checking at any time."

So this proposal provides the best possible path forward for JS, based on what folks are voting for with their feet by using TS: Making JS compatible with TS-style type hints that can be used by external tools (i.e. not the JS engines executing the code at runtime) to validate the code in a best-effort manner while the developer is looking at it, while not changing JS runtime semantics and thus never breaking the code while the user is running it.
For me the best experience during development is to build ts to js first with something fast like esbuild and check types in parallel without preventing the output in any way from running in the browser.

A perfect scenario for me is having all errors in the project caught by vscode. At the moment vscode only checks files that are currently open. I think type checking should only be done when building to some sort of production or realtime in your editor. Templates like "create react app" can report runtime errors but it's somewhat strange that it also report typescript errors. (although understandable given that it wants to be tooling agnostic)

One potential major upside with adding optional type hints to javascript is the ability to run typescript files directly in the browser without needing to strip types in a build step. Advanced type checking could be done the same way we use linters like eslint.
At one time I was told that it was very easy to fire someone in Denmark. I have no idea how true it is, but it was at a time when the Danish economy was doing much better than the German one, and the anecdote was trying to explain why.

It was a constrast of Denmark, Germany and the US. In Germany it was hard to fire somebody, so employers were reluctant to hire. Denmark & the US had no such troubles, but the difference between Denmark and the US was that a fired employee in the US loses health care, et cetera. OTOH the fired Danish employee falls into the generous Danish social security. The anecdote was that the Danish rules were the best of both worlds.

It's hearsay, but I found it convincing. Austrian social security isn't as good as Denmark's, IIRC, but it's much better than the US's, so perhaps Austria is close to the optimum of the guy telling me that anecdote?
This is the reason most devs are contractors in London. You earn considerably more on a day rate than you generally do even as a CTO.
The US is the opposite of a third world country.
most people i know don't keep cash even in their wallet. Do people even want credit cards or IDs? Even phones track themselves and turn off. What do muggers take these days?
Yes, I flew with them on Thursday, and the Saturday before that. Their hard product in Europe is second only to Turkish Airlines and Virgin Atlantic, neither of which go many places without very inconvenient routing at best.

I typically fly LH economy, though have had a few upgrades (meaningless in Europe) over the years. Their business class is not as good as Singapore or Virgin, or modern United, but better than BA, and typically fine.

I don’t buy tickets through LH, only through United, who answer the phone (to me) with a knowledgeable human in under 1 minute as someone with top status.
You will find warming mostly happens over richly foliaged parts of the planet, and a relationship between plant water retention and atmospheric CO2 concentration. (Leaf stomata shrink or expand depending on carbon starvation; Larger stomata increase plant inspiration, and water transpiration.) This is more pronounced on bigger leaves, so it's not lawns you should be looking at, but the natural carbon sequestering agents known as trees.
There was already a market for mobile phones—car phones, suitcase phones, etc preceded the pocket sized mobile. So it was a natural progression to just making them smaller. Even phones themselves were improvements on other prior forms of communication.

Every new invention builds upon what came before it in some way, right? Like, perhaps when Daguerre was developing his earliest cameras, people wondered why we would want to capture pictures like that. I think not, though, because there was already analogs in the form of paintings and things.

This is completely new territory, and it feels a bit like a solution looking for a problem. There really isn’t a prior analog that I can think of! But maybe there is, and I just am missing it. But I could imagine it being transformational, if it is eventually found.
And I believe in that case Russia would be entirely in its right to retaliate with nuclear weapons against capitals of these attacking countries.
> Most of them want to be "real" doctors and surgeons, like the ones shown in the marketing.

The missing link between real doctors and barbers: behold the dentist.
What really really sucks is when you're so burnt out that taking breaks doesn't even begin to help. At some point you either need a multi month long break to actually begin to recover, OR you need to address the issues at work itself so that a regular break actually works.
Transistor-free compute in memory? Am I hopelessly behind the times in thinking that memory is, like, flip-flops in CMOS?

I get that memory could be anything which holds an encoded state, for instance magnetically. But how is the compute part of it achieved?
>Less than a week after the plaintiff was fired, the Rijswijk branch of Chetu Inc. was deregistered from the Chamber of Commerce and shut down on 2 September, records show. The branch was first registered in the Netherlands on 1 June 2013 with the capital declared at 10 million euros.
This. I wonder how this site can get it so wrong and I hope this wrong interpretation doesn't spread. As a native German speaker, "Eierlegende Wollmilchsau" has a clear negative connotation, not a positive one, and means feature bloat.
100% This series is so fun to read.
I'm sure you personally get more happiness by not doing (too much) more than necessary, but as a "Christian and humanist", aren't you asked to do more?

You can replace "being rich" with "helping others", it still applies: you can trade comfort, sanity and health for more output, whether that's money in your account or helping those in need.
The first thing that came to mind was The Homer: https://simpsons.fandom.com/wiki/The_Homer
Some do, to detect knives - but I don’t think it’s widespread and certainly not outside high schools.
I wonder whether you've ever asked the PM what happens when a deadline is missed? It may be he or she is shielding you from consequences and impacts you're unaware of, hence the anxiety. I had a PM act this way during on one of the projects in my department for awhile and they were a mess. Finally I requested they let the team absorb the impact instead of the PM handling everything. While fortunately is was recoverable, it was definitely a learning experience for the team.
>I get it. I'm default vegan but bought some brie to enjoy tonight as a treat, wear leather shoes etc.

You are not vegan.

We can't confuse the idea of seeing the world as less black and white, and outright changing definitions.

You wouldn't say "Oh I'm default teetotaler, but I bought a bottle of gin as a treat for tonight"

If you want to identify as vegan, that's probably because you see the label as having some value. But for it to have value, it must mean something!
To my mind, the closest thing to a legal option here is to purchase the blu-ray and then use Handbrake to rip it to whatever format you want. I say close to a legal option because in most cases it's still going to be illegal in the US.

I've read conflicting stuff about this, but my understanding is that it is technically legal to make "backup" copies of media you own. However, breaking encryption to bypass DRM on the blu-ray (which you will need to do in almost all cases) in order to make that backup is considered a violation of copyright.

So, while I wouldn't advise anyone to break the law, I will say that this is one of those laws that I don't think anyone has an ethical obligation to follow. It's not only a stupid law, but almost impossible to enforce. Make of that what you will.
Given that the context of the statement is WW2, he's right. The pacifist Bertrand Russell eventually had the same observation.

Stripped of that context and speaking generally, then I also disagree.
Too many cookie notices are only to accommodate Google Analytics.
European in general. My wife works for a biotech company in Austria which was recently aquired by an american company and it's so funny to hear about their efforts to adapt to EU law and culture. Most of their training material is still unchanged from their US branch so there are things they list as benefits for all employees like

- 3 Weeks paid vacation (we get 5 by law)

- Health insurance (you know the drill)

- 3 weeks parental leave (we get 1 year for 80% pay, first 6 months full pay, then 5 years protection against dismissal)

- 5 days paid care leave for when your kid is sick (we get 12)

So their benefits which makes them think make them attactive are all below basic EU law that even store clerks get
Full disclosure I haven't used Luxon nearly as much as I've used DayJS, but I would say IMO DayJS is way simpler and more intuitive, this is a very small thing but for example, why would they format Months, by "L" instead of by "M"?

The other reason I like DayJS over Luxon is the sheer number of plugins you can pull in to do various things. Like for example I was building an application where I had to build a weekly calendar form for a timesheet, the requirement was weeks start on Saturday and end of Friday.

In DayJS I was able to do this pretty easily by doing: dayjs().startOf('week').subtract(1, 'day') to get the start and then took the result and did res.add(6, 'days') to get the end. I'm not sure if Luxon has this type of functionality.

Lastly I like the plugin architecture rather than giving you everything up front. By default DayJS does not include any of those cool transformations like I talked about above, you have to pull them in as plugins from DayJS, this results in a bit more setup but smaller bundle sizes at the end of the day.
Yep, I've had fun with this service. Simple to use, quick and decent results.
I exported the checkpoint and used with colab notebooks.
I'm thinking the killer app might be more along the lines of personal use. A HUD for your car or directions to that Egyptian spice I can never find in the grocery. Or measuring the height of your refrigerator to see if will fit under you cabinets. What about hooking it up to my door camera so I can see who's at my front door while I'm in the garage.

Then there are general functional improvements, like dynamic magnification. I would love to read the tiny text on my prescription bottles. Or integrate it with Alex/HomeKit to provide a visual output for those services: "Alexa, what does Brian Singer look like?"

I know "professional" use is easier to sell to, but I think AR won't really be successful until they start making it useful to normal, household users.
Cant you just cancel the card and get a new one?
There’s a GUI app version here: https://github.com/vrunkel/F3XSwift
Timestamps must have an implicit timezone, otherwise they are meaningless, because they cannot identify a certain moment in time.

Only time differences do not have a timezone.

When Python continues to use the word "timestamp" for a time value with an unknown time zone, then that is the fault of Python, because the name is completely inappropriate.

I assume that whoever enabled a value "None" to be possible for the timezone did not really expect that anyone will ever use a timestamp with unknown timezone, but that in such cases there is a timezone known to the programmer, which is not stored with the timestamps, and that it is the responsibility of the programmer to restore the timezone whenever necessary.
Do you remember when chinese were only able to give 1 single birth?

That policy never applied to ethnic groups, so the idea that the chinese government is trying to imprison ethnic groups to "re-educate" them is hard to believe

Concerning the MI6 story, it's not a conspiracy, when you share that kind of classified, military, materials with the public, your intent is not the truth, it's always manipulation, specially when the videos are always blurry, in the age of HD content, it's kinda fishy, maybe they want to obfuscate the imperfections, it gives me similar Colin Powell vibes

https://www.pbs.org/wgbh/frontline/article/colin-powell-u-n-...
> My phone feels like it may catch fire

Sounds like a design defect of your phone. Might consider getting something which isn’t a fire safety hazard just by visiting a random website.
It won't just be very unpleasant, but it will have serious ramifications on the world's food supply if growing seasons are dramatically shortened and viable ranges for crops shift south by a large amount.
Author discusses precision, doesn't get to the point. There's a joke in there somewhere.
It starts outside this rectangle.
I posted about this elsewhere in the comments, but my experience with day.js is that if you're concerned with these kinds of corner cases, maybe day.js isn't the library for you.[1][2]

[1]: https://github.com/iamkun/dayjs/issues/1816

[2]: https://github.com/iamkun/dayjs/issues/1817
Hydrogen is a horrible means of energy storage, even when stationary. Splitting water, compressing the hydrogen and then converting it back to energy even with expensive, much more rare materials intensive fuel cells, is still far less than 50% efficient. Batteries are better than 80% efficient and are much easier to produce than fuel cells. Burning hydrogen is just completely bone-headed.
There will always be something and if you’re known for getting work done fast then.. you’re rewarded with more work.
you seem to mix up something. termination with advance notice is a normal process and pretty much always possible. i doubt there is any country in the world where you can't terminate employees with sufficient advance notice. the periods for advance notice differ but the process is otherwise the same in austria or in germany for example. and i am pretty sure most EU countries are similar. i only heard about france having much stricter rules for termination. so how is austria worse in that regard?

in this particular example, the legal date for termination in austria would have been december 31st (because by default it is 6 weeks notice after august 26, to the nearest quarter)
in germany it would have been september 30th.

and for termination without notice

https://www.arbeitnehmer.at/kuendigung/entlassung/

pretty clearly spells out the reasons when someone can be fired, which contradicts your claim that people can be fired for no reason.
One might say such word choices are ungood.
Bitbucket server was actually getting good when they cancelled it. They upped the prices of data center to dissuade people.

Their Bitbucket cloud is a travesty, once a promising place, offering private repos before GitHub... But they squandered their lead by letting it languish.
Now this is something I'd consider a new feature that is worth switching browsers over.

I remember back in the day, when (Opera?) added tabs to the browser. Made such a big difference in daily use when I tried it out.

This feels similar. Make the web usable again!

Edit: Actually, this is even more like when browsers added pop-up blockers, now that I think about it.
This seems like a management fuck-up. It's kind of funny because indian outsourcing companies like Infosys, TCS, etc. have often been accused of hiring a disproportionately high percentage of South Asians and Indians within the United States. In fact, this same company named here (Infosys) has also been earlier accused of favouring asians and not hiring "stupid Americans" - https://arstechnica.com/information-technology/2013/08/india... ... Looks like Infy management wanted to fix this problem (or at least appear to do so) and add more diversity but fell foul of US laws by explicitly communicating their desires to HR.
I suppose https://neocities.org/ might count?
The issue lies in the way the signal was actually measured. The first observation was in the digamma decay channel, where it basically amounted to an excess photon count over the background at a specific energy (i.e. invariant mass). So the idea of a simple "null" hypothesis was not really well defined here, because the excess could have also been at other energies. But the five sigma value was given only for the bump over background at ~125 GeV. In that specific sense, Krauss' statement is very much correct, but the overall hypothesis of whether H0 exists - yes or no - given arbitrary data is a bit more complicated when doing the statistics rigorously. That's also why you really want 5 sigmas, because as you widen the parameter space you're searching in, even 3 sigma results (= less than half a percent chance of statistical error) at specific energies regularly turn out to be flukes.
There's nothing in any of the relevant EU laws forcing websites to have consent banners. They could simply handle consent like mobile apps are supposed to handle permissions (i.e. prompt once for a single purpose when it becomes relevant for a user interaction).

But they want to shovel a ton of trackers and tracking ads and analytics and other garbage into every page load, so they need to obtain consent before those can be loaded and then they try to be clever (read: illegal) and trick you into giving them a blank check by making it harder to opt out and continue than to opt in to everything and give up.

There's also nothing in the law saying the cookie banner has to be a modal dialog. The same sites happily went for actual "banners" rather than popups when the first EU cookie law was passed and only required notice rather than consent. They only went for modal popups because this forces users to make a choice before they can access the content.

Ironically, if a data protection agency were particularly spicy that day, it could be argued that putting a site behind a modal consent popup rather than defaulting to opt-out and merely informing the user about other options violates the GDPR's requirement not to make the use of a website conditional to unrelated data processing because the popup is intended as a form of light coersion.
Sounds like they have anxiety because the project is beyond their control so to cope they micromanage.
he was ordered to take part in a virtual training period called a "Corrective Action Program."

This is the sort of name given to processes uses when an employee is already performing below expectations. (Where I work it’s a more euphemistic Performance Improvement). If that’s the case here then his firing was a bit less sudden than it appears. Though the entire monitoring process seems draconian regardless.
I wonder why the Congress takes place during the last few days of December. There aren't many travel options if you want to get back to your country before the new year.
Affect of third-party cookies removal
Google will stop the use of third-party cookies in Chrome by the end of 2024.

How do you think it will affect marketing strategies?
Access has been somewhat reluctant to make BeOS-related material available in the past. For example, they did provide access to the BeOS API documentation (called the Be Book) to the Haiku project, but only under a restrictive no-derivatives license (see [1]). This has caused some pain the past, as extra care must be taken that Haiku's API documentation, the Haiku Book [2], is not a derivative work, so everything had to be rewritten from scratch, even documentation for parts of the API that are largely unchanged.

[1] https://www.haiku-os.org/legacy-docs/bebook/LegalNotice.html

[2] https://www.haiku-os.org/docs/api/index.html
>Is there any place where I can legally purchase a movie file that can be played offline on an Android "smart" TV?

International waters.
So plenty of images of people wearing it but no images of what I see when I wear it?

Does not inspire confidence. I'm assuming the user experience sucks. I'd be really happy to be wrong!
How would that work for existing authors? Would they be forced onto paid plans? Would their old articles still be available? Culling existing free plans is not popular, as we saw with Slack and Heroku.

> So why would a writer do that? To build a reputation that can be turned into money elsewhere, like being able to charge higher consulting fees.

Why would a writer do that specifically on Medium and not on, say, Substack?

Maybe they really have a unique and loyal audience. It's hard to say without knowing their traffic data. But if a lot of their readers come from social media, does it matter to the reader if the shared link leads to medium.com or substack.com?
According to the linked product page, they are 37% carbs (and 43% fat), so not too healthy if you eat a lot of them, but it could be worse.
This isn't quite accurate. Stripe Radar (our fraud prevention tool) is included free of charge for all accounts with standard pricing: https://stripe.com/radar/pricing.