skysight-inc/HackerNews huggingface dataset:
I can't decide because in this pattern you ignore once and check once and I like the lint for the check. Ideally the linter could recognize this pattern. Even better would be if the linter could catch when you never close, I've made that mistake a few times.
This is a problem for me as a language learner on mobile. I set a keyboard with (for example) Russian, and suddenly the world looks Russian, even though I am far from comfortable in it yet. I wish there were a way for the browser to ignore some system languages. This is worse for apps because I also get served with localised versions, where I need to uninstall, remove system language and re-install.
I think it's mostly about the input lag. FPGAs will have a lot lower input lag so retro purists like it as it behaves closer to the real thing.
Russia's top-secret military unit reportedly plots undersea cable 'sabotage'
This is the way.

func doSomething() (err error) {
var f *os.File
f, err = os.Create("foo")
if err != nil {
return
}
defer func(){
if nil != f {
f.Close()
}
}()

_, err = f.Write([]byte("bar")
if err != nil {
return
}

err = f.Close()
f = nil
return
}

EDIT: fixed the bug
It is maintained. They just do it internally. Latest versions are periodically synced to Github. Most teams at Meta are still using Hack.
Our devices already overshare information about us. The notion that all cars should be connected to each other is a security nightmare. The claim that all data will be anonymous is clearly a lie.

No entity that collects data today is able to resist reselling it.
> But people also constantly make mistakes
I absolutely agree.

As far as I know, the judge is on the table about whether we do anything different from them.

> "hallucinating" is error in processing the input causing it to be malformed

For now, "Erroneous" is a concept exclusive to us humans.
To a model, a response is not "erroneous". It's just the result of processing an input, and it is indistinguishable from any other.

How do we bridge that gap? No idea. Perhaps it will happen eventually, by sheer quantity. Perhaps the algorithms need to be implemented in a different way. Perhaps we need different kinds of models interacting with each other in order to mimic the kind of response a human would give (including the "I don't know"s). All I know is that we are not there yet.
I hate to break it to you be GitHub is going to shut down too. Everything does.
Is it getting the JQuery treatment now that type hinting is almost fully in php?
That's what I was thinking too. It looks like someone just reinvented tar, and given how it's a JavaScript thing I'm wondering if it's a zoomer who didn't know tar existed and the HN crowd would set them straight. But then I come into the comments here and people are posting about how absolutely brilliant it is, so surely I'm missing something… right?
they both did, as they made a deal that was illegal under EU law. I assume it's similar to a US state and corporation therein both falling under federal law.
Apple must pay Ireland €13B in unpaid taxes, court rules
How else could information be compressed in human brain besides a similar statistical graph nature and networks of relationships being created representing various different patterns and models of the World.
It takes all the screen space from latitude 0° to -90°!!!
God, I just have to share a little experience that not too long ago happened to me, relating with what you said about oculus and repairability.

So, ol' monkeyfun had a quest 2 controller grip button break. From gentle, ordinary gripping. And on the same day as fixing an unrelated problem in another controller. Tragedy!

Naturally this loser went to fix it. No guides? Oh well, at least she could see 3rd party 3D printed parts online for sale.

Might as well disassemble it to see how broken the part is, to know what to order. Whipped out tools, started disassem-- aaaaaaand it broke.

Not only was there a terribly placed ribbon cable made very difficult to access, not only were tons of parts inconsistently either held in by the lightest friction or intense nearly glued-together forces or strange catches, but the precise intersection of these aspects (and a ribbon cable that was seemingly stuck to the connector on just one pin) meant that when a disassembly step caused the controller to spontaneously fall apart into a few pieces, it was so forceful that it damaged that ribbon cable.

AAAAAAAAAAA!!!!
================

For what it's worth, I anyway discovered that the way the part broke would need me to extract an embedded piece of metal anyway and make some repairs to another piece of plastic, so it was never going to end in success.

But it really made me appreciate just how terribly designed those controllers are for repair. Even the component that broke was... designed to bend a piece of plastic repeatedly from what I could tell, rather than say just having a small metal spring.

So user-hostile.
This really does not come as a surprise. PHP 7 erased the performance gains that Hack had, and PHP 8 brought a lot of the last few missing pieces that helped modernize PHP.

Hack was heavily optimized for Facebook-sized setups and was never intended to run in the places that PHP is most often run from (such as cPanel servers), so it never really picked up much traction among the PHP world.

Non-PHP developers never even considered it as an option, as they probably didn't consider PHP as an option either.

Basically, it was one of those projects that may have been a good idea when it was released (although perhaps just contributing more to PHP might have been the better thing for Facebook to do, but that's a different story), and it's time has now passed. I'm just surprised it took this long for them to end work on it, honestly
It's telling me CA$120 for an iPhone 12 mini.
Are we really at the point where last commit less than two months ago means something is unmaintained?
Pretty much any where I live (finland), can't fire people at will. It requires constant effort to not show up and get warnings to get fired. I believe this is a lot better approach, because it allows for correction and dialogue between employye and the employer without any burnt bridges
I've never needed a driver for my semi...
Out of curiosity, just how compatible is Hack+HHVM with unmodified PHP 5/7/8 code?
> fork plans to rewrite in Rust

Lmao.
Won't ever happen.
I wasn't aware they had a Discord, so that's in addition to "real" support and community support forums? Seems like a crazy way to approach things.
Kind of. It's already prohibited, depending on what you mean. It would be legal to say all companies can have a tax break if they hire X people in Ireland. It's not legal to give the tax break to one company and deny it to another.
In this case it's quite easy: Luxembourg does not discriminate between the companies that want to use their country for tax breaks, they will all be treated/taxed the same. Ireland did not apply the same tax rate on every companies, which distort competition and is anti-market behavior, and the ECJ just validated that.
Not to be terse, but did anyone outside of FB ever care about Hack? Mentally I always just knew "FB built everything in PHP, it got too gunky, they invented Hack to try to solve the issue without needing to rewrite everything"

PHP usually ranks pretty high on many "developer hate" polls, so it's not too shocking to me that Hack never got the hype of React or Golang.
Connecting your comment to another about commercial model, seems the potential win here is selling useful tools to radiologists that may leverage AI rather than to end customers with the idea to replace some radiology consultations.

This seems generally aligned with AI realities today: it won't necessarily replace whole job functions but it can increase productivity when applied thoughtfully.
Radicle 1.0
Wow, you're really offended. How dare I speak of my smartphone use.

Of course I use a few other things, just very rarely. I do my programming on a laptop, I watch my tv on a tv, I read my books on my kindle, and use my car's nav for maps.

I hope you realize the irony of your "main character syndrome" accusation whilst writing a massive diatribe denouncing a random post on the internet. You could have just disagreed and moved on.
Note that in the case of Apple, the fine is proportional to the benefit Apple gained from Ireland. So if the fine is meaningless, then so was the original value of the ill-gotten gains.

(This is in addition to the other commentators, who have correctly pointed out that if you just divide market cap by the fine, you're producing a number that isn't useful for anything but misleading people).
Pivoting Away from Usage Based Pricing
Human Exposure to Vacuum
I'd imagine that if you can say "I don't know why x happened" then you can also save some breath and say nothing at all, and there are billions of folks doing that right now.

Putting out a general inquiry of "why did x happen?" also has a lot of stigma attached to it in RTFM, LMGTFY internet culture. The result will not be a cloud of other people interested in the answer upvoting the question to make it visible to folk who might actually know. Snide comebacks notwithstanding the question will languish forgotten in a dusty corner of whichever forum it was asked within.

But bold assertions based on plausible conjecture? That can earn upvotes, drive engagement, draw ad clicks, and sometimes even prompt corrections from actual experts.

Certainly not an ideal situation but this does appear to be where we're at.
I find it interesting that it’s still getting a few github stars monthly[1]. I wonder if that’s organic discovery or an appetite for an alternative PHP?

1.https://github.com/trending/hack?since=monthly
My Cloud Billing Screw-Up
LLMs have no idea if they hallucinate ≠ LLM make no mistakes.

The former statement is a bold claim that would require some sort of evidence. The latter nobody really argues with.
Why is Everyone Talking about Heat Pumps [video]
> their net profits to the Polish exchequer

I believe that part of the reason is that they still pay other taxes (eg VAT) in the country of sale.
PHP doesn't have a lot of fans on here. Not sure how popular Hack is in general, but if it is used the users don't hang out here
Mine are 3 an 0. The three year old handles them fine - but kids are different;)
It's compatible with PHP 5.

They stopped shipping PHP support with PHP 7.
You can email me (jgc@cloudflare) with the ticket number and I'll take a look.
I noticed this before: https://news.ycombinator.com/item?id=40049170
I assume it works like pipx, caches the download until a new reboot
Loved the latex templates as they are one of few clean and professional templates on overleaf. Then tried out your python package and it is definitely a game changer since you don't care about the styling anymore.

And it is much more enjoyable to use compared to "CV creators" on the web, as you are simply managing a data format you can edit anywhere and not filling out a cumbersome form.

Makes a lot of sense to turn it into a web app to appeal to more people. Will definitely try it out
Migration Dashboard – BirdCast
More context:

> The vulnerability report doesn’t mention it directly, but the discussion thread about it on Fedi gives some more context on that deadline: the reporter has had several previous vulnerability reports completely ignored by the Nix development team, including one open since February and still untriaged. The Nix development team received and acknowledged this new Nix 2.24 vulnerability on August 30th (so, > 9 days ago) and they seem to have mostly sat on it until today (the reporter received no further comms), to the extent that a new point release of Nix was released a few days after the vuln was reported and did not contain a fix.

Source: https://lobste.rs/s/ixb3v7/nix_2_24_is_vulnerable_remote_pri...

The first one from Feb: https://matrix-client.matrix.org/_matrix/media/v3/download/p...

It's a community project run by volunteers but I don't think such response ("Impact: blabla") to a vulnerability gives a good impression to your users.
This drives me nuts when I visit foreign countries with a language I don't speak and then the internet stops working. My browser literally tells the server I speak but 90% of the content I get back is suddenly in the wrong language.
Probably not, but I'm trying to find all feeds.

I guess the best option is to show results as soon as they are found, without waiting for everything to complete.
The article suggests using a named return value `err` to allow the return value of `Close` to be be propagated - unless doing so would overwrite an earlier error:

defer func() {
cerr := f.Close()
if err == nil {
err = cerr
}
}()

Wouldn't it be better to use `errors.Join` in this scenario? Then if both `err` and `cerr` are non-nil, the function will return both errors (and if both are `nil`, it will return `nil`):

defer func() {
cerr := f.Close()
err = errors.Join(err, cerr)
}()
>There's blame to go around, for sure.

Who is to blame? (not a rhetorical question)

Blaming politicians/system get really old, doesn't it?
Better yet: Offer en_CA, en_GB, en_IE, and en_US, with appropriate flags.

(Bonus point for fr_CA with the CA-QC flag)
From what I understand it is still a quite popular language at meta, and strongly supported and preferred for lots of development, though definitely never got much traction externally.
That is not a fictional example, in case any might still be wondering.
I worked many years for an american/canadian/global company in europe.
The software WE developed would be owned by a separate company entity.
Whenever we sold "OUR" software systems to our real local customers, "we" would 'borrow/rent' OUR software from that separate entity, at a hefty silly price.
Incidentally, that silly price was so high, that "we" (our company entity) would consistently produce a loss each year (even though our parent entity was raking it in, through that separate entity and the silly-price money we were transferring to them).
Those losses of course are tax deductible, so our company would consistently pay zero taxes or worse (I don't know if they were also able to trigger things like the state having to reimburse them..)
It is/was, as far as I know, totally legal and totally disgusting :-/.

The irony as I see it, was that the software was developed by us locally and used by local clients, but somehow ended up being "owned" by carribean islands.
If you're referring to a single pot of money that exists to support Research and Development, you would typically refer to that as "The European Defence Fund" as "entire EU defence fund budget" would be interpreted differently.
Apple would have gone elsewhere if the scheme didn't exist, so it's not accurate to say Ireland has missed out on 13bn.
> In Canada if you look at telecoms, banks, insurance, grocers, airlines, etc – there are a few major competitors and that's about it. It's very difficult to start a competitor, often for regulatory reasons, and most smaller competitors end up getting bought out by the big guys.

> As a result, they have crazy shitty experiences. Telecoms are frustratingly expensive for cable and mobile services. Banks are dreadful and charge fees left and right, for basic things that are free in the US. Customer support with any of these companies is terrible.

This is funny to me from across the pond, because that's how I'd describe the US as well.

Small amount of telecoms and banks that charge exorbitant fees sounds like the US too.

High barrier to entry for physical infrastructure and banking are the reality all around the world, and for good reasons. There's more to it than that.
This is a false dichotomy. They both are terrible at privacy (see my other post here with links). Try GNU/Linux phones if you actually care about it.
Yes, I wouldn't want all of these https://en.wikipedia.org/wiki/Software_design_pattern to be enabled by the language. I personally like my languages to be simple.

Also, I'm not sure how some of these patterns could be realized as language features. Like, particularly the common UI patterns.
How much has it improved consumers’ data privacy?
I worked on Hack during my Meta bootcamp and was surprised to learn that many people used and relied on Hack outside of Meta. It didn’t appear to be anywhere near the size and scope of PyTorch and React but the number of users looked relatively large!
Doesn't work on FF on mac sadly. But the idea of togetherness and shared place on each URL is very curious to think about.
I think this was really well written and insightful, but I disagree about the extent to which your girlfriend is representative (and not based on her education or anything). Most normies do notice dramatic improvements in battery life, camera quality, and screen quality. My tech-illiterate family may not know what OLED is or how it works, but they definitely prefer the OLED TV to the LCD. Similarly, they can tell a stark difference between a 5X telephoto and a 5X “digital zoom” photo or a macro photo versus an attempt to take a close-up photo without the macro lens. Similarly they will notice the improvements in low light conditions over models that are 6+ generations older. Further, the AI features (enabled by new hardware), for better or worse, will probably be a dramatic change in how people engage with their phones. I’m writing this from an iPhone 11 and I’m sure I’ll notice some stark differences if I upgraded to the 16, and I even notice big differences when I use others’ newer phones as well.

I sincerely admire your girlfriend’s penchant for simplicity, I just don’t think that represents most people IMHO.
> In contrast, Apple doesn’t need your data for most of the products / services they sell. Privacy is a selling point, so they’re incentivized to build robust privacy features.

This is not even funny:

1. "macOS sends hashes of every opened executable to some server of theirs" https://news.ycombinator.com/item?id=25074959

2. https://sneak.berlin/20231005/apple-operating-system-surveil...

3. Apple fined $8.5M for illegally collecting iPhone owners' data for ads (gizmodo.com) https://news.ycombinator.com/item?id=34299433

4. Google collects 20 times more telemetry from Android devices than Apple from iOS (therecord.media) https://news.ycombinator.com/item?id=26639261

5. Keeping your data from Apple is harder than expected (aalto.fi) https://news.ycombinator.com/item?id=39927657
This is from 2017, errors.Join did not exist at the time. But yes, today you'd do it differently.
ClipShare on GitHub is a solid open source alternative to Loom.
Did you even watch it? The battery life has definitely been an important point here (likely due to Apple intelligence using a lot of energy).
We use a C compiler for embedded systems that doesn't support link time optimizations (unless you pay for the pro version, that is). I have been thinking about some tool like this that merges all C source files for compilation.
This is just a reality of hiring, I think. People with more experience tend to find it easier to get hired, thus granting them even further experience.

IMO, the best way to avoid this chicken/egg is with government subsidized technical internships like we have in Ontario. It's a great deal, businesses get junior technical labor at 50% on a fixed contract, and the students get access to learning they'd never have during school.
> every 5 years on a smartphone.

Phones frequently die after 4-5 years.
I dunno, which flag would serve as a comprehensible shorthand for Arabic? How many Arabic readers would recognise that flag? How many Spanish speakers would recognise the Spanish flag?

If you use flags I would still recommend putting the language name in the language next to it, for example the French flag next to 'Français'.
Show HN: Visahacks.in – you don't always need a visa
Ever wondered how your existing visas could open doors to new countries? VisaHacks.in is a tool designed for Indian passport holders to uncover travel opportunities you might be missing. Discover which nations offer visa-free or e-visa access based on your current visa profile from countries like the US, UK, and others. Simplify your travel planning and make the most of your visas. Explore smarter at VisaHacks.in and expand your travel horizons.
iCloud Backups can be E2EE encrypted if you enable advanced data protection.
github shows me ads to their other tools, conferences and whatever all the time. And my company is a paying customer.
While I would agree that overall repair-ability isn't great, you're wrong. Replacement controllers are available without an issue directly from meta:

- https://www.meta.com/us/en/quest/accessories/quest-2-control...

- https://www.meta.com/us/en/quest/accessories/quest-touch-plu...

On the software side they have been pretty great with support IMO, e.g. by adding 120Hz to the Quest 2 quite some time after release and opening up the Oculus GO, after they discontinued it. Maybe not valve-level but definitely much more than I expected from meta, and their hardware was a third of the price of valve's, despite having an actual APU in them!
AIUI Windows/386 2.x is basically a pre-emptive V86-mode DOS multitasker that happens to be running Windows as one of its tasks. So the GUI itself is cooperative, but between its VM and DOS VMs it can pre-empt.

(Windows 3.x 386 mode is similar, with Windows 9x stuff in the Windows VM can pre-emptively multitask, mostly).
If what I say is true, the people are still apt to buy a new phone instead of a new battery. As before, once you've overcome the friction of having to buy something new, you're going to evaluate all the options.

But let's assume what the OP says is true. It is still not clear why anyone would do what you suggest? The investment required to be that player would be intense and knowing that you only have one product lifecycle to recoup it... Highly unlikely anyone is that daring. Competition sees players seek to be the winner, not the first loser.
KaiOS: Mobile Linux distribution for keypad feature phones based on Firefox OS
> community support forums

That's like the "old place" and then everyone moved to discord.

Well, discord is where the developers go (including the cloudflare 1s).

> Seems like a crazy way to approach things

In a way, you might get a faster/better response there than enterprise support!
It seems to me that this project is still being maintained and it isn't archived, if it is not maintained and not archived then it would present a problem.
A more generous interpretation is that GP provides context and logical reasons behind the decision, not excuses for it.
The cost of string composite key 1c, 1v, 1u, 1tc
U.S. Colleges That Make New Graduates Rich
Would you mind to explain the technical process that you use to achieve consistency?
Irish Corporation tax receipts for 2023 alone were valued at €23.8 billion. The ruling was for the benefit of the Irish public to indicate our willingness as a good faith and hospitable host for American MNCs now and in the future.

Given the propensity for the EU to throw us under the bus when the Teutonic books don't balance, its a lot more important for us to maintain our special cultural, economical and political relationship with the USA.

In any case, that money would never end up ringfenced for a Metro that has been in planning hell since the 80s. We're well able to afford white elephants (e.g. the new Children's Hospital).
> someone just reinvented tar

Or "shell archives", .shar files - https://en.wikipedia.org/wiki/Shar - they used to be kicked around in comp.sources.
This take makes no sense. The whole reason the 13bn exists is because of the tax arrangement. Apple would have gone elsewhere if not for that.
> It's not like we today pour over the images that exist of our parents and grandparents.

We do, I really would like to have waaaay more photos of my parents, grandparents and of myself when I was younger.

That's why I take pictures of my children frequently so they will have that what I do not.
> Do they tax LVMH?

Any reasons to believe it isn't taxed?

> Or fine it for monopolistic practices?

Well, currently it is being investigated it seems:

https://www.reuters.com/business/retail-consumer/french-poli...