skysight-inc/HackerNews huggingface dataset:
If you are using PhpStorm you can run a code analysis for a PHP version.

I did this on a large project made for PHP 7.2, including the vendor folder. The changes I had to make were minimal and were done within half an hour.

If this makes the language better, why not?
Node.js: Why is my M1 mbpro 5 times slower than my 2017 Intel i5 iMac?
>With low level of obstruction, the distance range of 5G is half a kilometer.

Um, no. I regularly connect to a N41 sector broadcasting over 12km away and pull 300-400mbit off it. That's midband 5G, which most consider medium distance.

AT&T is running 3G on 850mhz which they can put a 5G N5 carrier on. This can do that kind of range with obstructions, but is less spectrum so will congest easier like T-Mobile's 600mhz N71 carrier.

EDIT: WCDMA (3G) was always the weakest for coverage. Geographic cell sizes actually shrink as more users connect https://en.m.wikipedia.org/wiki/Cell_breathing_(telephony)
Google Operating System
I'm talking about the cost paid by the library author for the additional burden of writing exception safe code. Whether you use this downstream doesn't matter, the cost is already paid (in fact arguments like "no one catches" make it worse since the cost is paid and no one benefits).
That’s what the ? syntactic sugar is meant to solve. It will return at the point with an Option null, or the error variant of Result if the preceding expression’s error can be converted to it.

something.map_err(…)? is quite readable in my opinion and that is the worst case, when your method returns a Result<..,..> but the called method has an Optional return type. Otherwise it is just a single ?.

Sure, I do believe that exceptions are superior but we do have to understand that rust is a low-level language, period. It is very expressive considering its nature, but it will never be as productive as a managed language in my opinion - we have this distinction for a very good reason. If you want maximal control over what happens “behind the scenes” you loose some automatism that could improve productivity.
This was a great read, and it was heartening to be reminded that there are plenty of talented physicists out there who aren’t afraid to lift the rug and see what’s under there.

I noticed, as I progressed through my studies of physics, a tendency for people to go from “what if” to “it is” before finally reaching “what if” again, as their knowledge grew and developed - I think many went into it for the same reason as me, seeking explanations for reality, and there’s a tendency to mistake theory for explanation, if it’s explanation you’re looking for.

All of it, from QFT to Cartesian coordinates to mathematics itself is just a construct that we humans have come up with to create a rational framework of information that can describe reality - but as anyone who has ever written software knows, there are many ways to reach the same behaviour with different underlying code.

It’s all essentially reverse engineering from a point where you begin without even language or the concept of logic, and everything, everything that you have to work with is the stuff you’ve created, outside of the black box of the universe - but made only with the stuff of the black box.

I moved diagonally into computer science and philosophy, as I was only ending up with more questions the deeper I went into physics - and the whole information as reality concept has stuck with me, as it’s the only part of all of our frameworks which remains a consistent truth.

I think our next big breakthrough in understanding will likely come not purely from physics, but the intersection of physics and computing, as I think we will come to realise that they are essentially one and the same.
this is not the way
> 1. Yes or no, do you support the ability of the police to put people in jail in a way that circumvents the elected district attorney?

No. But an injunction doesn't put these people into jail. Let me flip it around: do you support restraining orders for abusive spouses if not part of a criminal conviction for abuse? Obviously it poses some dilemmas, but do you oppose the entire notion categorically?

> 2. Yes or no, do you view yourself as somebody that could at some point —for any reason whatsoever— piss off a cop?

I'm very respectful of cops, partly because I grew up in an environment where cops arrested people around me, including family, and cops were to always be avoided. I learned to 1) fear cops (e.g. avoid unnecessary contact, keep excessively polite when approached, hands at 10-2 if pulled over, etc), but also 2) avoid doing all the shit and anything tangentially related which people around me did to get arrested. On my paternal side most of the men--excepting myself, a cousin, and a nephew--have been to jail, several on convictions (i.e not merely pretrial detainment). Objectively speaking I'm not at all at the same risk as many other populations of men; OTOH, I have far more direct experience with the system than the vast majority of people otherwise in my risk cohort. More importantly, I have far more direct experience living in the types of violent environments which unfortunately necessarily require the intervention of law enforcement (regardless of whether that intervention is too heavy handed or not), and understand that there are unavoidable trade-offs to be made when it comes to maximizing the safety of communities. And the hyperbolic, metaphorically-pearl-clutching attitude regarding liberty issues, expressed at least numerically largely by activists which have no such experience--either with community or police violence--nor face even a substantial risk of that experience is... bothersome. Communities experiencing that violence tend to have more nuanced and complicated opinions, especially when they're facing concrete choices with potentially immediate consequences; when there are no direct consequences to policy choices, people tend to become more extreme and ideological.
The corrections for the article are hilarious:

Correction, April 10, 2019: Due to an editing error, this post originally misstated that the black hole is 6.5 million times the size of the sun. It has 6.5 billion times the mass of the sun.

Correction, April 11, 2019: Due to an editing error, the post also originally misstated that the black hole was 55 million light-years old. It is 55 million light-years away.
Alberta has wind though.
But then you also have to consider what services are included in the tax that the lower tax rate might have to pay out of pocket.
Dokku is fine and is great at what it does - running an Heroku-like on your own hosted server. I ran a hobby project for over a year without any serious problems on top of a cheap Digital Ocean droplet.

It doesn't really have a story for when you want to scale up though - for example moving to multiple web servers behind a load balancer with your databases on some other vms. So it's great for side projects and demos, less so for anything you want to run in serious production mode.
I am using a OnePlus 6, still working perfectly fine, supports 4G and VoLTE ("HD Voice")[+]. AT&T kicked it off their network because it is not on their whitelist (The OnePlus 6T is). They sent me a branded LG Prime 2 as a replacement of a "equivalent" phone. It is actually a budget phone, not supporting 5G, and not even on AT&T's approved devices list (it seems they added it now, but last year it wasn't).

Forum users reported that customer service can whitelist an IMEI. They did not for me. So I switched to the T-Mobile network. From my international SIM now I get a message from their roaming partner AT&T saying that voice calls will not work.

T-Mobile is sunsetting 3G as well in July 2022, they sent me a text saying that they "think" that my phone is compatible. The decision of AT&T to not support my phone is not technical.

[+] It has 2 SIM card slots, something that seems to be impossible to get in the US. I think only one of the 2 slots fully supports LTE.
Compared to some other countries:

The Netherlands: €31.5k average household income, average house price €387k - so 12.3x.

UK: £31.4k average household income, average house price £274k - so 8.7x.
In high tax Euro country those 50% also include stuff like public health care, retirement and social security.
"A3 Laser".
WAT? Is it April 1st? I hope this is a joke, but I'm not sure, since I'm Austrian, and, well... I have some experience what our governments are up to...

UPDATE: Sorry, phew:

<This article was posted using the glory of
the Austrian crown, JavaScript. (To hide this
message, pay royalties to the Austrian government)>
Sadly vanishing from most southern Europe
> Consumers don't care about streaming tech..

You haven't tried All4 then? Even a paid subscription will not save you from random freeze and adverts.

https://www.channel4.com/
Exhibitionists certainly like to use it, since AlixExpress allows uploading images in the reviews... some interesting things to be seen when browsing lingerie reviews, or so I've been told cough
> You had a depressive episode, and you recovered.

You’re quick in jumping to conclusions.
What is the seven hell is this message ?

> I don't blame you, it's hard to stand across a tidal wave, especially when young. But how about standing out a bit from the herd once and think outside of the political box?

That's a lot of assumption about me from one comment. You don't know me, we never met nor discussed, you should refrain from talking to people that you don't know like that.

> Most schools are run by the government after all, and obviously governments will claim they need more power or society will decay.

This is far from true on many level. Also, the only class that talk about politic, society and such is teached in high school, when most teen already started to develop their own critical thinking, and is very short.

> So from a young age students are basically taught to give up their power if not their lives to authorities, to politics. It has to be politics, it can't come from the individual. So they don't care about freedom or personal sovereignty (that's evil), they ask for government, rules, laws and taxes like would seniors. And they call that protection, if not "progress".

What ?

I had a lot of friends who were anarchist and communist in high school and after. Unions and the french communist party were often coming to the high school giving literature to teens who would accept them. So no, a lot where not "asking for government". That and there was often student protest (blocus, when you block your high school).

And even then, what is wrong about asking, and fighting for, the government to improve ? The political class to improve ? What is your solution ? It's not like the government is going to go away.
So what do you want ? Massive privatization ? We saw the result of such policies in many other country. Asking for public services and fighting for them to improve is not "asking the government", it is being involved and being able to think critically. Critical thinking is not about being a libertarian ancap.

You are just acting like a pedantic know-it-all making a lot of assumption about a whole class of people without making any meaningful proposition and insightful criticism.
> At an early age, you learn that all assymetric tools were designed by idiots

Then you have learned the wrong lession. Assymetric tools might not be inclusive, but they are generally designed that way because it brings some kind of advantage.
Cloud price comparisons are often apples to oranges.

Due in part to an extremely large number of hidden factors.

I'm not just talking about direct cost, but even 1vCPU != 1vCPU.

When discussing s3/gcs storage; for instance, you would need to understand the difference between each of the storage classes and how they're charged for access.

This would look much more like a series of a million graphs than a table.

On the whole: I'm extremely unimpressed by this article. Maybe one day when I'm bored enough I'll give a shot to a reasonable cost comparison of some actual infrastructure.

Maybe even throw in some TCO calculation for administrative duties, such as understanding your billing, ease of debugging and setup. If I really hate myself that day.
This happens on my home Debian box when I mistype `git`:

$ gti
,---------------.
/ /``````|``````\\
/ /_______|_______\\________
|] GTI |' | |]
= .-:-. |________| .-:-. =
` -+- -------------- -+- '
'-:-' '-:-'
Well, you just change state to absent and it will be uninstalled. You don't need two tasks for that. It's one task that describes state of a package. That state can be a number of things. You don't even need to create a task for each package, you can easily make a loop over a predefined key:value list with statuses of packages you want/don't want.

What I mean is that It's not an impossible goal with Ansible. Not even a tough one.
More importantly, mortgage payments have gone from 1/3 of income to 1/2. That's reaching unsustainable levels.
I live in NZ and my home has more than doubled in value over the last 5 years. The rapid increase in prices is scary.
Internet Service Sanctions: Changes to the UK Sanctions List
'Affordability is pretty much arbitrary and depends on the banks' lending criteria and interest rates'

Well, we are at a point where significant % of the population will pass awat before they can pay off their mortgage
They are indeed a handful in the breeding season. Here's one from Finland that isn't the least bit fazed by a running engine: https://www.youtube.com/watch?v=8bS-zpGKTuQ
Google Translate once translated 万 (ten thousand in Chinese) to “million” for me. I was shocked it could make such a basic mistake. It wasn’t even that long ago, maybe 2018? Machine translation has a loooong way to go.
So, if the average person can save 10% of their income, it takes 8.8 years to save a 10% down payment? Factor in tax and the time it takes to save a down payment is starting to look close to the time it took my parents’ generation to own a house free and clear.
That's not normal? I paid half my income to rent when living in London 10 years ago, and prices have only gone up since then.
The Algol 68 Genie project
It's just a slightly weird translation of a popular search query, which Aliexpress uses as search text placeholder. But that's actual items that Aliexpress sells and they do exactly what the text says, so there is nothing really wrong here on a technical level.

Now if those items or their search queries should make it into front-page recommendation, that's another story.
We often left phones at home during lockdowns. Or put in airplane mode. Just in case. Messing up statistic based on illegal acts from our gonverments feels good.
Fuel prices have gone up way before russa attacked ukraine, and cars are not just a transporting-device, but also shelter, storage and a safety device. Electric cars would solve many things, but general unavailability of cars (wait list), general no-repair fuckery of factories (either unable to replace the battery or making it too expensive), and lack of general infrastructure (charge points) make them unusable in many cases now.

But due to fearmongering of both pro-oil people and 'green' parties we practically stopped building nuclear powerplants, which would bring power prices way down and make stuff like electric cars more viable.
Instead, it might be better building something like an OS from scratch. I think that would encompass nearly everything valuable you can learn from a Master’s.
Have you been tested for sleep apnea ?
Sage of Sage
They will, as long as they have a job.

All the forfeited houses from the people who cannot serve their mortgages will flood the market and drive down prices.

Additionally, all the surplus construction infrastructure will be there, fighting for every project, which will make new houses cheap.
A huge part of the Afghan war against the Soviets was funded by private citizens of the gulf. Huge sums of oil money were spent on recruiting religious mercenaries.
Saudis spend huge sums annually on exporting wahabi islam overseas. Iran has their version of this arrangement too. The Saudis offered to build mosques all through Europe when asked to do their share for the Syrian refugees.
I call this religious extremism. An intolerance of other religions combined with forceful propagation of your own.
Somehow muslims in the gulf and other countries feel the need to fight for muslims in other sovereign countries.
Never heard of a practising Christian voicing a protest against treatment of Christians in some sovereign Islamic republic.
On the other hand i never heard of the Russian orthodox church meddling in the affairs of other countries. The KGB maybe.. but not the church. The distinction being religious ideology vs others. Political islam is unlike political Christianity. Political Christianity died with the crusades. Political islam thrives in the modern age. Mix that with oil money u get a deadly combo.
Sure the west has bombed the daylights out of the middle east but again it was for sake of pure financial gain from oil. America is out for global military dominance. That's the political ideology. It is not fighting a crusade which is a religious ideology.
> Why are they allowed to keep it

I own land in the UK, which in reality means I brought it from someone who brought it from someone who brought it from someone who brought it from someone who was given it by the king as a reward for helping kill the previous owner.

And if someone quarries marble on my land to make a statue, it has the same provenance.

So we've basically decided there's a sliding scale. If it was stolen at gunpoint 1960 you've got to return it, but if it was in 1690 you get to keep it.
I agree with the if-I-could-redo-this statement I would tell myself to set aside time, at work even, to go deeper on the things that I didn’t know.

Spending time to learn things usually pays off. In recent years, I've seen students try to solve problems by searching the web for "solutions". The result is often a cobbled-together mess, with unused variables and and the inclusion of a wide range of libraries to tackle problems that can be handled in the base language. I fear that very little is gained by this. Stackexchange and similar sites can be good tools for those with experience, but they are ruinous for students who are just starting out.

When in doubt, read the documentation.
I had a very similar problem 2 years ago. I was 38 at the time. For me it was burnout. I had been at a failing startup for 6 years. I took about a year off and removed a lot of stress from my life and took a part time React/NodeJS job, and got really good at react over the past year.

I have realized that a TON of the dev working being done on JS frameworks is by people that have no idea what is going on under the covers, they are just following examples and best practices and making applications work. I'm not saying that is wrong, but for people our age we are more used to understanding things at a lower level and that is becoming almost impossible with the current JS framework situation.
BOLD is very pleased to Introduce Perth Mint Silver, Gold & Platinum Coins, Bars, and Rounds. With all the best deals on popular Perth Mint coin series such as Kangaroo, Perth Lunar, Koala, Kookaburra, Wedge-Tailed Eagle, Dragon Series, Next Generation & Australian Wildlife Bold is the best place for all the investors and collectors to buy Perth Mint Coins.

Perth Mint Highlights:

1: Perth Mint is refining Gold and Other Precious Metals since 1899

2: Weather it may be Pop Culture or Animals, Perth Mint has the huge themed coin Collection

3: Perth Mint is known for the purity and build quality of their Coins

Why Should you Buy Perth Mint Coins From BOLD Precious Metals

1: Unwavering Trustworthiness

2: 24X7 Great Customer Service

3: BOLD has a large unique Inventory

4: Get the best price on every product
How naive are you? You need a lawyer and pay for that lawyer. And time off to argue in court and handle all the details. Are you familiar with the constraints of minimum-wage workers?

Courts might as well make decisions based on income. Income and working conditions already filter out a lot of theoretical rights for the working poor before even getting a court date. And come to think of it, there are all sorts of examples where the income of plaintiffs or defendants even matter expressis verbis...
I lived up North 10 years ago and my rent for a 2 bedroom house was £320 a month. It wasn't in bad area either.
Yeah, I also believe that Java is the closest to the best error handling I am aware of. Unfortunately though, it is inheritance based which is a bummer here. It would be perfect with sum types though.
Aliexpress at one point decided I was going to have to learn either Russian or Hebrew if I wanted to shop there again. It seems tied to my account as it just flips me right back to either one of those languages when I log in. It helped me get out of my low-key shopping addiction at least.

A few months ago, one of the sellers I had purchased some stuff from (only for about €200 over a span of 2 years) contacted me on my personal email and asked in very broken English if everything was alright since he hadn't seen me in a while. He sent me a bunch of coupons for his Aliexpress shop and several links to those really well made fakes everyone is always looking for on there (so now you know, the trick to finding those is through your Shanghai bff :) ).

The products are cheap, the sellers surprisingly kind, but the place itself is just really weird!
I grew up in a "commie block" as everyone aaround me. There was nothing wrong with them (decently sized, balconies, etc.) besides the comparatively poor insulation. It was certainly much better than the quality of your average Parisian housing in a century old building.
Having used PHP a long time ago, this is very confusing to me. I would have thought that "${var}" does exactly the same as "$var", but being usable in more cases. For example if you want to append text without a space: "${var}moretext". This is how it works in Bash, at least.

I am really surprized that braces on the outside works at all. I would have expected "{$var}" to expand to "{FOO}".

I thought the version with parentheses is some new general-expression syntax, like "${( $foo + 2 )}" - but that doesn't seem to exist. I would have expected "${(var)}" to give a warning, like the classic "`var` is not a constant. You should use `$var`. Accessing `var` without `$` will stop working in a future version of PHP". (As I said, I used PHP a long time ago...).

PHP is indeed still "a fractal of bad design" :-D, because it gives you the illusion of being able to come back and pick it up easily. But everything does something slightly different than you expect. I commend the PHP devs for removing the footguns and making it a nicer language again!

Personally, I would have removed #2 and #4 - keeping only "$foo" and "${foo}" as equivalent, just like in Bash. And when they get a general expression syntax - maybe "$(foo)" like in Bash, or something else - then you get variable variables back for free.
Completely disagree. Lead is very bad for people. See wikipedia for details: tetraethyl. The guy who made it Thomas Midgley Jr., even got lead poisoning.
For most people, that's 99% of "the internet".

Almost all "other" protocols, have been replaced by HTML over HTTP. (from chat applications, web interfaces for mail, forums instead of newsgroups, etc.)
Perhaps it can also be renamed "SHP" (strict homepage processor)

Why would anyone prefer a tool dead set on undoing their productive investments with each new release? Decisions like this are a massive red flag. It doesn't allow the feature to be removed (interpolation still exists and isn't going away), I doubt it simplifies the code much, it just breaks existing projects out of essentially a stylistic preference. That's not a tool I'd ever want to depend on
Aliexpress does not sell women afaik
it's a nicely done satirical article, the author should write for The Onion! :)
If you set error reporting to E_ALL I assume you will get a 'undefined variable {foo}'.

Which I think will be loud enough.