skysight-inc/HackerNews huggingface dataset:
These two lines of code are now deprecated, and will be removed in PHP 9.0. My question is: what will they do in PHP 9.0? Will they throw a syntax error? Or will they print something else?

echo("${foo}"); // Will this print '${foo}' in PHP 9.0, or will it raise a syntax error?
echo("${(foo)}"); // Will this print '${(foo)}' in PHP 9.0, or will it raise a syntax error?

Personally, I would prefer it to raise a syntax error. Otherwise, code that runs one way in PHP < 9.0 will run a different way in PHP 9.0, failing silently. I would prefer it to fail loudly.
> Odd, why is this Roman sculpture being returned to Germany?

Because the museum was the rightful owner of the piece.

> It’s obviously not a German artifact and while I might be wrong, I assume it was “looted” from Italy.

To start with, Italy has been actively looted by Italians since at least the later part of the Middle Ages, but more actively from the Renaissance onwards. A lot of the pieces you see in other countries, and I'm quite certain this one fits the bill, were just traded privately between aristocrats for centuries.
And that's assuming it's from Italy at all, it could just as well have been found in German soil. Germany happens to host a few major Roman cities.
Yay, What If is back! Munroe hasn't posted one in ages, it's one of my favourite science pages out there. Really looking forward the new book.
You know this kind of leads towards communism... Which I think is the key problem with any kind of shared equality by force system, it will work nicely so long as no one running things decides they don't want it to, then it works really poorly.
Zandronum online, mainly CDI, Shotgun Frenzy.

Recently (after another HN thread) picked up Tiberian Dawn in OpenRA. Despite 20 years since the last time I played I still get outraged when my MRLS get ravaged while tanks (even on attack anything setting) doesn't care a bit.
What the heck man? This doesn't match my experience at all. And I can't find your username on neither matrix nor discord. Did you just found a chance for a sucker punch and took it? I bet Zig is the wonder land.
It seems to me your career had been focusing on how to get things build. Would you entertain the idea of becoming the guy to come up with ideas "what" to build? Put it other way, to identify "problem" in a more general sense
They've gotten more aggressive lately in wiping away the dusty corners of the language, little-used alternative syntaxes like these,some of the footguns. But nothing even approaching a full reorg/rename of the stdlib.

I think the sense is doing something like that would get you into an undesirable "Python 3" type scenario. Instead, the sort of unceasing wave of deprecations leads to some make-work but doesn't seem to cause the same kind of long term resistance to updating.
"Less frequent" is one way to describe almost 4 years without updates. I assumed that the What-If section was dead :)
Mac/Linux ports?
I can confirm that this happens in Italian as well. I've never visited the site before and my search placeholders in the top bar are just full of weird NSFW terms.

Weirdly, it only happens to the desktop site, if I access it via mobile I get mostly normal suggestions.
It’s definitely pretty good once you’ve used it.
"March, a French-Italian base in East Antarctica recorded temperatures 70 degrees higher than average"

'degrees'? what kind of degrees Mr journalist?
I suffer from Post Exertional Malaise but from before Covid. Though Covid has made it worse.

Really a horrible predicament because the more you try, the more you get punished.

Currently thinking about taking a break from running and lifting which is incredibly hard because well, i'm a white collar worker that's already too sedentary.

If you or others have tips to get out of the cycle of crashes please share your tips or sources!
I get the same “Accept everyone”.
Those are deaths which are clearly linked to the vaccine. The rest is mistery.
Not all side effects are reported and not all deaths are linked to the medication.
Doctors are busy and patients die mostly at home.
> If some Frenchman digs up some artifacts in France, and then sells/trades/gives them to a British museum, that's not looting

According to French law, it is both looting and traficking ;) We have a different approach to it than the British.
That's not how it works. I have strong randomly-generated passwords for most sites, and store them in a password manager that I only ever load on ~3 devices that I completely trust and own. Short of typing the password in on a compromised machine, a "forgot password" reset (via the website or customer support), or being incautious enough to log in via a phishing form, I see no way that my accounts can be compromised.

And as I said, for some accounts, there are no consequences if they are compromised.
How’d they get so many bananas down there?
You can't say "Does it require a biometric?". The attestation is proof this device was issued by this manufacturer, so you're going to be whitelisting manufacturers and maybe specific product lines. Somebody technical needs to understand how to determine matches, and then somebody with authority needs to decide which ones are acceptable (maybe they're going to buy and test each model?), only if you're actively doing this is it even viable.

Now, I want you to imagine if corporate has to approve motor vehicles for the HQ's 600 vehicle car park. Of course the CEO's BMW M5 daily driver is approved, and for the first week maybe the random cars owned by people who regularly use that car park get whitelisted pretty easily. By the next month though, one of two things, either you're told just buy the same exact model of car as the CEO to "save trouble" or everybody just tells you to use a different car park nearby, and the HQ real carpark sits mostly empty because approval is a hassle.

The right answer, you can see, is to just not have a rule whitelisting cars at all. It's a bad rule.

If all you want to ask for is "Use a second factor" then you can do that, there's a flag in WebAuthn, and the resulting signatures have the UV bit flag set (all WebAuthn signatures have UP set, but Presence of users is distinct from Verification of users). Because it's a signed flag, even though it's a single bit, you can rely upon it unless you don't trust the device you enrolled. But, again, why? What is your threat model where your users do deliberately enrol untrustworthy devices but presumably never just helpfully enrol a device for a crook ?
> there would be no phones used without 5G compatibility soon

With low level of obstruction, the distance range of 5G is half a kilometer. The distance range of 4G is ~30km. 5G covers roughly one fiftieth of the distance of 4G.

If they phased out 4G, people still owning a mobile telephony device would stop receiving service when out of urban areas?
If you want a x-platform VB like RAD take a look at XOJO.
computing was easier back then; why the trend has been reversed?

very nice to have VB6 again.
What do you mean by the "only US provider allowing" ? Blacklisting old phones is a thing every US telcom is doing ?
I'm european, I know the US is really NOT into consumer rights, but still, this is a massive FU to phones users who want to keep their phone for a good 2-3 years, and pushes for a massive electronic waste.
My Spanish isn't perfect, but the suggestion text "hombres denudos xxx" seems like it might not be to everyone's liking. Too bad they don't have a Swedish site, I'm curious what they'd come up with for us!
I got it before it went down and downloaded it, but don't really know how to distribute a mirror via the files I have locally.
https://en.wikipedia.org/wiki/Repatriation_(cultural_propert...

It does, but international law doesn't work like national law. Who are you goig to sue? The British Museum? The United Kingdom? The Crown? Under whose jurisdiction? Sure, you can prove that the British Museum outright admits a given artefact's origin but how do you establish rightful ownership? It's not enough to prove that something was stolen, you also need to prove who the rightful owner would be, possibly generations after the initial theft.

And if the British Museum (or the Crown, or the UK) flat out says no, what are you going to do? The US infamously established that it will invade The Hague if any US citizen is ever put in front of the Human Rights tribunal, but even without such blatant threats it's difficult to coerce anyone under international law if their own nation refuses to comply. You can try to propose sanctions but there's no "international community", you just have a whole bunch of politicians representing different nations voting on things and they likely don't care about those artefacts enough to do anything especially things that would damage their already subdued economies.
That's exactly what happened to Linux Mint's Warpinator the name was purposely chosen to be stupid as a temporary placeholder, and then they ended up sticking with it.
Rust is the low level Haskell of the industry. Everyone talks how great it is, no one uses it for anything that matters or pays
Beside doing this, I like to first just move files to another dir (keeping the relative path) instead of deleting them. It's basically like a DIY recycle bin.

If both paths are on the same disk moving files is a fast operation - and if you discover a screw up, you can easily undo it. On the other hand if everything still looks fine after a few days, you just `rm -rf` that folder and purge the files.
I don't talk to taxi drivers in Sweden. It is very seldom you do.

Doesn't make me rude, just makes me normal.

Would I be an asshole according to US standards? Probably. Doesn't mean I am a shot person, just unaccustomed to new normal.
I think there are a few cases where Rust likes to panic, but different people probably have different opinions here:

- Extremely common operations with dedicated syntax, where introducing error handling would be burdensome. Things like array indexing or arithmetic overflow. In these cases, you usually want an alternative, fallible way to do the same operation.

- Cases where most callers will probably convert the error into a panic anyway. One example of this might be .split_at() on slices, which is bounds-checked just like an array access. Most callers would probably just .unwrap() the out-of-bounds case, and callers who don't want it to panic can easily check before the call, so it's more ergonomic to panic.

- Cases where the only plausible reason for failure is a bug in the caller. For example, the .borrow() and .borrow_mut() methods on RefCell will panic if a write overlaps with another read or write. The caller is almost always expected to statically guarantee that that doesn't happen, usually by making all borrows short-lived. (And here again there are fallible alternatives available.)

An interesting example of something that doesn't panic, but which probably should, is taking a mutex. The standard mutex in Rust includes a "poisoning" mechanism, which almost every caller just .unwrap()s. I think the majority opinion these days is that poisoning should just be removed, but given that it's around I think most people wish it just panicked instead of returning a Result.
CL has many constraints that make it less dynamic to "minimize the observable differences between compiled and interpreted programs" (CLHS, 3.2.2.3 Semantic Constraints). For example, if f is defuned in a file, throughout that file you can assume (f x) refers to that f and does not have to be looked up dynamically at runtime.

If I recall correctly, method calls in CLOS are also not syntactically distinguished from regular calls either (like they are in x.f() languages), so there is no motivation to write a method unless you actually want the dynamic dispatch methods provide. Methods are fairly rare compared to regular functions.
You're not wrong, grabbing by the legs is the answer, once you have them by the legs upside down they calm.

Growing up, we were farming some turkey and it is how we caught them when butcher day came: https://youtu.be/YRXhM9ycU0Y

Nothing a grown adult can't handle, but for elderly or children it is definitely stronger (and heavier!) than a chicken.
Did Making the Rules of War Better Make the World Worse?
Most people I spoke to about the black hole photo was just as excited as anyone else, even though they maybe didn't understand the full implications.

And if your argument boils down to "I mean, it’s just not that aesthetically pleasing" (like the article you linked to), I don't know what to tell you.
I wouldn't hold my breath. The original VB6 was chock-full of COM+ and lots of Windows specific stuff. I would rather attempt to migrate VB6 projects to Gambas (http://gambas.sourceforge.net/en/main.html) which is a modern FOSS take on (Visual) Basic. It's well maintained and runs pretty much everywhere.
> how would you know that the problem is solved [?].

That's the key: the more clear you are about assessing or measuring success, the easier finding the actual solution will become. Often, trying to define a quantitative metric how close a partial solution to the ultimate (complete) solution can help you track progress, and then you're no longer "flying blind" on your innovation journey.
Neutrino observatories have ruled it out (for meaningfully large aggregate power levels).

- "...hypothetical georeactor at the center of the Earth having power greater than 2.4 TW at 95% C.L. is excluded"

https://arxiv.org/abs/1909.02257

(That physics paper counts more coauthors than neutrinos!)
I never knew this. Is it taught to users anywhere? How did you find this feature?

Netflix's UX is fucking terrible. Even when they do something right, they do it wrong.
ROGD is a invention by an adjunct who asked parents on transphobic websites. It was never intended to represent the reality of transgender people. Please don't spread lies and misinformation -- you just have to perform a cursory glance online to find that out.

> Lisa Littman, as an adjunct assistant professor at the Icahn School of Medicine at Mount Sinai, created the term based on an online survey of parents on three anti-transgender websites who believed that their teenage children had suddenly manifested symptoms of gender dysphoria and begun identifying as transgender simultaneously with other children in their peer group. [1]

[1] https://en.m.wikipedia.org/wiki/Rapid-onset_gender_dysphoria...
> errors are spread across the server, the language runtime and even within that there's different types of error systems with error reporting, exceptions, error values and so on.

To the best of my knowledge, errors are not spread across anywhere; server errors have nothing to do with PHP, and would happen regardless of the backend language you're using.

As for different types of errors, the PHP team has been hard at work moving -everything- over to exceptions. It's precisely because they're willing to remove old/obscure/confusing parts of the language and clean the syntax up, that it has been able to evolve into the fast & modern language it is today.
A flat-rate surcharge doesn't mitigate the problem, not to mention they seem to already be solving the problem with deprioritizing roaming traffic anyway, thus the surcharge being a BS money grab.
We should also ask ourselves: how can the problem be avoided in the first place.

Some of the most elegant solutions in my career I have been able to find by inquiring whether the problem should or shouldn't, as it may be a side-effect of a broken process.
I have tried to contact them several times for at least 7 years because they have a bug on the orders confirmation page for my local language. It displays HTML code instead of the translated text.

One time someone even answered that they are aware of it.
They are selling the overpriced hardware as a way to support the development of the OS, which can be summed up as:

- docker-based app store

- IPFS-based image registry

- some utilities to set up your own VPN

- a "portal" system for those applications you want to open to the public web

- webUI to manage all that.

And yes, it is meant for you to run at your home.
Replacing income with M3:

https://inflationchart.com/m3-in-home/?time=10%20years&zero=...

Neat website btw. Thank you for sharing.
It seems to. The placeholder and popular search are different for differnet languages. You can switch to Deutsch and try to translate the page.
Women are more productive than men at work these days
Just saw this, but why not use delphi - there's a free community edition, works much the same as it always did - made a fart app with my nephew in an afternoon, he was happy
I agree with what others say
- it sounds like you are running a burn-out schedule,
and your body has just informed you it is not designed to
function that way.
You must get more physical exercise,
more rest, and more switching between 'running and not running'.
You cannot persist only on 'running/sprinting' activity,
it is like teaching a horse not to eat.
It will work for a week, then the horse dies of hunger.
The rest periods is the 'price' for it being
possible to do the sprints.
This is why europeans do things like 37h working weeks.
It is because if you want to work a human body for 40-50 years (ie 20 to 70),
you cannot operate it in a way that ruins it in one or two decades.

Companies like amazon might find it amazing to
run people like F1 race cars, where the body stops working
after 15 years, but you are not amazon, you a a human ape
with needs.
They've been doing that since 5.2
It's amazing how some people are so optimistic and self-confident that they are simply incapable of learning. Reis kept going for "easy money" and risky ventures until the end. Complete lack of moral character aside, he apparently never accepted that, given the way in which he approached things by cutting all sorts of corners, the fallout from his failing schemes kept destroying the gains from his successful schemes, both for himself and for others.
> At some point, a lot of home buyers started shopping by payment without regard to total price

Isn't this how everyone has always shopped for housing? House prices are just a Present Value calculation. For example, if you can afford $3,000/mo over the next 25 years and you have a copy of Excel or OpenOffice calc handy:

Affordable house price at a 5% mortgage rate: =PV(0.05/12,25*12,-3000,0) => $513K + [your down payment]

Affordable house price at a 2.5% mortgage rate: =PV(0.025/12,25*12,-3000,0) => $668K (30% higher) + [your down payment]

Atm, here in the UK interest rates are basically back to where they were in late 2019, but housing is still priced 20% higher. This is due to the chronic lack of housing stock and shifting buying patterns
this not even close to expert knowledge, thats entry level
Climate change already has a marked effect on the present lives of these teens (larger and more numerous forest fires, draughts, hurricanes and heatwaves).

I would also like to point out that your insinuation that mostly "obscure Amazon insects" face extinction is false and misleading.

Even by your contrived standard of "would you see them?" the extinctions will be remarkable. The world's coral reefs are visited and seen by almost 70 million tourists each year. Over half the reefs are already dead, and 90% of all reefs are estimated to be lost in less than 30 years. Of course the ecological disaster of losing the reefs will be worse than the lost sights. This is just a single example.
“Embrace all” That’s the spirit
Or it could look like Vienna https://m.youtube.com/watch?v=41VJudBdYXY
I’ve had useful conversations with my doctor about similar topics. I’ve been perhaps lucky to have exceptional care, but in my case my doctor was able to identify (and help treat) clinical depression.

Misery may be common, but seeking help shouldn’t be discouraged.
> I still have an inkling of hope that I will be able to move my sim back to the pro1 after whoever is responsible for the 3G shutdown gets their bonus

you're missing the point

at&t is shutting down 3g towers because pretty soon they won't be legal anymore

no cell company can service you whether they want to or not. that spectrum is being turned over to 5g devices mid next year.

https://www.wired.com/story/3g-service-sunset-what-it-means/
I would advise telman17 to immediately go on vacation, at least for three weeks.
Don't play a hero, the quicker you address this issue, the less damage you will do to yourself. Don't wait until it's too late. The brain is very fragile, and your livelihood.

Burnout is an awful thing. If your whole life is built around intellectual work, becoming something that has a cognitive ability south of a vegetable is a terrible thing. You lose your identity. The way back from there is long, my friend.
Market discipline does not exist on state actors.
What high-end, non-smart OLED TVs are there, though?
whomst'd've'ly'yaint'nt'ed'ies's'y'e
You should use the filter functions for that
There are floor area ratios (FAR) now that prevent small units. I have a 6500 sqft lot. I can build 14 units. I have a FAR of 3, so 19500 sqft / 14 units is 1390 sqft per.

Zoning is your problem, not who is building.

Developers and landlords are working in the insanity that are municipal governments. Do you understand why we write people off when they say they want more of their involvement?

Loosen zoning and I'll take advantage of it. We don't need to pay some bureaucrat who has no incentive to do their job efficiently to sit in the middle of this. Zoning office budgets should be tied to number of permits approved or units built. Right now they get the same money for being impediments.

Oh, I almost forgot, I also need to have 14+ parking spaces if I build out fully. Again, zoning problem. Developers don't just love parking lots.
They don't because they are already there. Just like the mould.
> clears the ground for adding any-expression interpolation, which PHP is currently missing
If there is a recession, young people will not be in a position to buy homes
Sounds like what bad translator might make of "accept all" [cookies/terms]
This really does sound like burnout. One of the most helpful explanations I found was that burnout isn't just (or even in an individual case, at all) caused by 'working too much'. Instead, it's a mismatch between your values and your work. A classic example is wanting to make a positive change in the world but instead having to wrangle JavaScript frameworks for some incredibly dull (although potentially still valuable to others) business application. Or, alternatively, you know your intelligence could simply be put to better use, or you're simply intensely curious about truly different things for which there is no real current market.

You must take an extended break to reflect on what exactly you want to be doing, where your career needs to go, and so on. I say must because the only alternative is extended burnout and very possibly health and psychological issues. Don't ignore the signs! Doing so always ends badly. If you can't yet due to financial reasons, you simply have to start devising a strategy to do so. Otherwise you're making the best of a bad situation and you'll have to move to coping strategies instead which others have explained in this thread. Such coping strategies can mostly only attenuate the burnout, they probably can't solve it on their own.

Personally I got burnt out from caring too much about something which ultimately was literally the opposite of all my values. I didn't become burned out from working too many hours.

The crucial thing with the 'burnout isn't exclusively from hours worked' realisation is that you can burn out working only 10 hours a week on something if you've come to truly despise it and all it represents.
I think the main thing is that e.g. python allows you to reimplement all of its most basic data structures in python if you so desire. There's no real way to reimplement e.g. an array in C. The result being that python could still be useful if it wouldn't come with a bunch of data structures built-in.