skysight-inc/HackerNews huggingface dataset:
Flow feels almost like the Betamax to Typescript's VHS - Flow is better technically in many ways (in addition to the things you mention, I miss being able to spread the properties of one type into another, rather than having to inherit from an interface), but in practice, in terms of engineering cost, it's so much more expensive that it's hard to justify using it.

Flow's team have made it clear [0] that they don't care about usage outside internal Facebook projects, so since Facebook (from what I hear) uses few external JS dependencies, support for library types is terrible - there's no practical way for library developers to ship Flow types with their library. The third-party flow-typed repository helps somewhat, but relatively few libraries are covered there, so in practice you'll need to write your own typedefs for most libraries you want covered.

When I worked in a Flow codebase, I enjoyed writing Flow types for things, but it was only ever fun in a sudoku-puzzle-solving, Zachtronics-game kind of way. The tools provided were technically enough to express whatever you wanted, but it always took some lateral thinking. TS certainly allows for the same kind of type astronautery, but as a non-library app developer you never have to resort to that; you can always fall back to something slightly less strict that covers you from most real-world problems without the all-or-nothing strictness Flow mandates. In the end I was the last holdout on the team advocating for not migrating to TS. The migration went well and the team was more productive for it.

It's fun to think about an alternate universe where Facebook gave Flow the investment and community support it deserved, and today it's part of a beautiful React/Flux/Jest/Flow/Reason ecosystem (eventually leading to a complete takeover of the browser frontend by Ocaml). For real work, though, Typescript gets the job done.

[0] https://medium.com/flow-type/clarity-on-flows-direction-and-...
I liked AS3 quite a bit, but it was limited to Adobe products. I don’t think it was ever given a chance to make an impact beyond Flash and Air.
https://archive.ph/DT5e0
Great post/looking back at the core decisions/bets that worked out really well (from the post):

* "Impose no runtime overhead on emitted programs."
* "Align with current and future ECMAScript proposals."
* "Preserve runtime behavior of all JavaScript code."
* "Avoid adding expression-level syntax."
* "Use a consistent, fully erasable, structural type system."

I also really liked the callout of their approach to "innovating in the type system around conventions and patterns found 'in the wild' of the JavaScript ecosystem."

This "you can still write the JS-style APIs you want, just safely" is a stark contrast to the Dart/ActionScript/others options mentioned in the HN thread, which said "you have to give up the JS-style APIs you have, and instead write 'basically Java'".

It's also amazing how TS 1.x itself was "basically Java" (in terms of a type system, albeit except being structural), but so many of the TS 2.x type systems innovations (mapped types, conditional types, etc) look as if they were designed in the language from day 1.

One other point, the post calls out they didn't add extra syntax to JS, only types; in this regard, I think TypeScript frankly got lucky by how much JavaScript itself has evolved in the last 10 years. Like if JS had been going through a "10 years of sterility" period like Java did from ~2005-2015, then TS itself would have been greatly hindered and probably would have had to jump to syntax-level changes, like the Scalas and Koltins and other Java.nexts had to do.

So, kudos to JS itself for also evolving extremely well from its ~2010 everything-is-a-callback early days, and letting TS stand on its shoulders.
You may be right, but the point is that guy would have no shot at finding a relationship. Being comfortable with who you are would naturally stem from being wealthy, handsome, social, and fit.
> remove cigarettes

Is this the days of 4kids anime again? Going to replace them with lollypops? (Yes I know OP isn't the one doing that.)
In my mind yielding should be based on the relative efficiency of the transportation. Mass public transit should have priority, then bikes, then pedestrians. Cars should obviously be last. Of course this shouldn't be all the time. Even when this is the system in general people should follow rules and take their turn to keep everyone safe.
What the bill does NOT do is change the substance of antitrust law itself.

Oh..

The lead organizer of this campaign is Congressman Jim Jordan, who is the Chair of the House Judiciary Committee and a well-respected conservative

Well respected? The guy trying to overthrow the results of the presidential elections The guy who isn't the chair because the dems control congress.
Oh geez. Isn’t that the show where the fans threw tantrums at McDonalds to get a special nugget sauce? Probably not where I’d look for life advice.
I see it the same way. My point is just that this one particular puff piece contained an error, and that the nature of this error and the background of the (putative) author make it seem unlikely that he could have made that error. So it seems to me that the most likely explanation is that the "author" had this ghostwritten, and didn't read it over as carefully as he might have before posting it.
Sadly, real-world Science is almost never about confirming null hypotheses. There is an enormous amount of research that never gets published for this reason; because the authors had some interesting idea and it just happened to not pan out.
I do like the way the site connects your hex values with an existing named colour. I cycled through 123456 to 234567 etc until abcdef. Ends up 0xABCDEF is pale cornflower blue.
I disagree with the choice of language you're using, but I agree with the sentiment.

Why the hell would a sense of loyalty to fans be called "misguided"? What does that even imply - that musicians should not be loyal to their fans? That seems like quite a businessman's perspective, looking at music as just show-business with the purpose of making money, instead of an art form.

Some things are more important than money. Money is just a middleman. A lot of people seem to forget that.
Google have two business models:

User as a product:
Create free services/products (search, Gmail, android, chrome etc)
These are sometimes bad, but they use brand name and reach to become popular.
Users of these services are a product that is sold to advertisers.

Obviously, there is no need to provide human support for free product. Since users are dumb enough to become a product, there is even less need to care.

Software as a Service.
Create a bunch of products/services and sell these to companies (GCP, Adds, Google for business)
These are sometimes built on top of free services/products.
Companies that use these because these are way cheaper than alternatives.
Google and MS would use market position to bundle these products into attractive lock-in.

Obviously, there is no need to provide human support because there are too many clients and profit would suffer compared to the first business model. Google has so many clients that it would require multi-million people to provide support.
Think the UK will get 3 Prime Ministers in 30 days?
I took a few elective Human Computer Interaction classes in undergrad and grad school. I have never seen a company pay more than lip service to doing actual UI design.

I generally work with graphic designers who made the switch to calling themselves UI/UX designers because the realized it paid more. They’re much better than me at understanding composition, fonts, colors, visual hierarchy etc…, but they don’t know much at all about actually designing interactive UI.

In many cases the designers are the first people to work on engineering the product and they aren’t equipped for this work at all.
Or an even better fourth option: the warning message literally says "you cannot access your files". https://i.imgur.com/6jk6imp.png

That is apparently false because the user did access their files and dragged them into the temp profile.

Either that should be literally true (a completely broken profile is a bad problem that needs help from a competent tech support person) or the profile should at least be made read-only until the entire profile is deleted. That way they could copy the files into the temp folder, but not lose anything (other than changes) after logging out.

Also, the warning should be more obviously "fatal", not something to be clicked through. E.g. replace the desktop background with a black screen and put the warning text in red on it.
Hey, I'm building that!

https://photostructure.com/faq/why-photostructure/

The novel random "taste" UI makes navigating even very large libraries fun and serendipitous.

There are a ton of configurable image and video filters that can prevent the exif-less screenshots and other random nose from getting imported in the first place. Hop into the discord if you need any help with setup, I'm online.

(Also, know that I've open sourced a bunch of the core functionality, but this is commercial software, albeit with a very generous "free" tier).
You can have a ms account but never use or know or share the ms email address associated with it
Yes, but they're not buying "a bunch of tickets". They buy (almost) ALL of the tickets in a matter of minutes.

If you could afford to buy ALL of the DeBeers stock, it would have a similar effect on the diamonds market: You could charge the poor sods that are desperate to get engaged ASAP 4x the price DeBeers charged.
No RPi vulkan I believe for the embeddable world.
This. To be honest, I think it's a miracle that my machine boots at all. Most people take it for granted, but I cherish each day it boots and I don't have to do a clean install because something breaks (typically some bizarre edge case scenario unique to Windows that only breaks on my machine). There is the old saying: if it works, don't try to fix it.
Eh, last I checked (and I admit it's been a while) a UCB degree still means something in the hard sciences. It's a school you might be able to fake your way through for a little while, but not for the six years or so that undergrad followed by a PhD program would take.
No, it's really not.

I mean, yes, Ctrl+Esc opens the Start menu, which the Windows key also opens.

But the Windows key -- before MS renamed it, the Super key -- is a single modifier key in its own right.

Win+R = Run

Win+D = hide all windows and show Desktop

Win+E = open Explorer

Win+SysRq = open System Properties.

There are dozens of them; these are just a few of the ones I personally use.

Other OSes and desktops use it for other things. In GNOME it opens the Overview. In Unity it opens the search function, and Super+A opens the app search function, and Super+S opens the virtual-desktop switcher, etc.

It has lots and lots of uses, and opening the Start menu is just one. Ctrl+Esc doesn't do any of these other functions, and it cannot do them because it's not a modifier key so you can't use it plus another key at the same time.

People often say that they can't use an old, pre-Win95 keyboard because they need the Windows key. What I am pointing out is that it's easy to work around that, by sacrificing another key that's not very useful: Caps Lock.

This also sits in the same location as Ctrl on the old Sun keyboards, which is a convenient position for a modifier key -- it's easy to press CapsLock with your little finger while using the rest of the hand to press the other key of the combination.
Block the domain analytics.tiktok.com
>It most certainly reduces, as far as I know.

That would be news to hundreds of millions of men.

>Surely you're not going to make your case on this petty a detail.

I think any sane person would see removal of the clitoris to be quite different.
Agreed. I started a project with Cypress a year ago (having used Cypress for more than a year at that time) but then had to switch to Playwright and have been quite happy with it 200 tests later. PW is able to do everything I needed from Cypress and has much better performance (easy parallelism and sharding) and has tracing/video recording in the free version. PW also uses regular JS promise versus the mysterious half-async-half-sync Cypress commands. A less mentioned distinction between the 2 is that Cypress also runs in the browser main thread and I’ve observed that this interferes with React 18 applications that use concurrent rendering so tests become unreliable (not the case with PW). One thing PW lags behind is the interactive test runner and I think they’re working on it.
Security tax
It is built by https://lumi.guide/portfolio-items/p-route-bicycle-utrecht/, I just happen to know some people who worked there. The Haskell community is pretty small :)
That’s basically what a GAN is — they’re great, but not a panacea.
Internet activists scramble to help Iranians evade Tehran’s digital crackdown
Ticketmaster's motto: Because fuck you, that's why.
That person is just on a personal mission right now. Once he has achieved his internal goal, the space for leisure will start opening up to him. People who like video games, but are on a mission about their new thing don't really feel like they want to play video games, even though they played them a lot in their past for example.

Also some people are just missing things neurologically that make certain things compelling for most people. Some people just don't care for music much because it doesn't do much for them and concerts are kind of confusing enjoyment wise. Same with many people in software for watching sports, they're just not that into it.

For others, it moves them greatly. Maybe he doesn't create the internal world required for fiction when he reads fiction.

So either he is on a mission (people who are noticeably good at something tend to be) or they are just missing the thing that would make it enjoyable for them.
> It is not ‘just because’, it’s because there are more people who want to go than there are tickets.

The emphasis is on the last part, i.e. "just because they could". My point is that they should not have been allowed in the first place.

> how do you suggest the tickets be allocated

First come first served. There are usually different price ranges anyway, so the market forces are already at play. I don't understand why we need to have black-market-as-a-service.
I imagine the vast majority of people who use debuggers for Linux programs are doing it over ssh.
> I'm saying that the seller in your example is a scalper.

They're not. Intent and quantity are the defining traits of scalpers. If you're buying a single ticket with original intent to use it, you are not a scalper.
> Scalping does provide a value… it creates liquidity in the market.

That's invalid economic reasoning. Tickets are a monopoly market with a fixed supply. The monopolist (band/label) can issue tickets at whatever price they want, but once that price and quantity is set, additional resellers are only rent extracting, they are gouging consumer surplus and providing zero service in return - the exact same number of tickets are sold to the exact same show.

There are many legitimare reasons for a band to issue tickets bellow market clearing prices, i.e. leave some fans with money in their pockets even if they would be willing to pay more. For example, building a long term relation with their fan base, providing a good service for a "fair" price etc. Essentially it's a gift economy where people exchange more values than just money (trust, appreciation, artistic expression etc.); the scalper is throwing sand in that transaction by maximizing its own financial revenue.
>Funny how the same crowd that complains about ‘not owning’ your phone/car/tractor etc is totally fine with not owning a concert ticket…

Yeah, "ownership" is not exactly a black-and-white issue such that impinging upon it is always bad. People in general want good outcomes, not bad ones.

They think that the way John Deere impinges upon the customer's ownership of their tractor (to lock it down and force you to pay recurring fees, use only licensed mechanics who kick back to Deere) is bad, and the way that Rammstein impinges upon the customer's ownership of their ticket (to keep you from scalping it and making money as a middleman who offers nothing of value) is good.

Ownership is one of those concepts where it is difficult to draw universally applicable rules. Instead, we investigate the specifics of each case to decide whether the infringements are ok or not.
Are You Registered to Vote?
It does not sound unrealistic at all.
I've read a lot of cocaine-induced language in that article.
As a former Flash/Air/Flex dev way back in the day I agree, AS3 was a great language that JavaScript still hasn't fully caught up with in some ways but it was only really viable to author ActionScript within Adobe's endorsed editors and their Eclipse fork abomination. Being confined to the Flash runtime also made life difficult as a general purpose programming language. It was a rough development experience and no amount of language superiority would ever fix that.
I googled around a bit out of curiosity, and it appears the remote control is indirect - the train controller can override a green signal to red. (Presumably not the other way around!)

All trains have instrumentation which will cause them to stop if they pass a red signal.

The gritty details appear to be in the Togframføringsforskriften, however this has been repealed a couple of years ago, presumably to bring us in line with EU regulations - but I am too tired to try to figure this out tonight, though I have always been a sucker for figuring out how signalling systems work...
People get a little bit hysterical about demand response.

It's just a cheap and sensible thing to do. But since fossil fuel interests need to create that continuing narrative of chaos and collapse, doing the cheap and sensible thing is treated like one of the four horsemen of the apocalypse.

The rest of the article touches on why the peakiest peaks are expensive. But still, sending a text message to offer a financial incentive to do something trivial to help avoid an inefficient waste of resources, is a sign that civilization is on the verge of collapse, rather than a boring cost optimisation.
Am I crazy to think that is borderline illegal?
You see my thought is that a lot of proprietary drivers end up being half assed, and kernal code tends to be pretty good. Your mileage may vary though.
My code is straightforward and doesn’t do advanced type operations.
There really shouldn't be any problem! Disk drives on any operating system can fail at any time. All they have to do is simply restore from their backups.

Shame on Hacker News for doing this juvenile "Mico$oft WINDOWS BAD" crap. It's boring and stupid.