skysight-inc/HackerNews huggingface dataset:
This is not fun. Github bending over every time is not good for us. The Instagram API thing was bad enough, now this. Hurray for M$.
Take a look at their source code. They just push hardcoded responses to the socket. That bench is pretty useless.
This.
For Algebra, look for Topics in Algebra by Herstein. It reads beautifully, and the problems at the end of each chapters are very good at solidifying the knowledge.
The amount of misinformation, false claims and unsupported statements in this thread is mindblowing for the quality that I've been used to see on HN.

Here are some facts:

- Symfony was the backend framework with the most contributors in 2019 [1] (yes, out of any backend framework written in any language)

- PHP has more active contributors than it ever had [2]

- Laravel is one of the most used frameworks in the world [3]

Then I see statements like "PHP only exists today because of legacies being maintained". Can't provide stats on this, but neither can the people who make these statements. Might be just because I'm a PHP dev myself but I see a lot of new projects started with the above frameworks.

And last, people compare it to languages like Rust or Go since they consider those are "innovative". I hope everyone understands that a language is fit for a certain type of task. PHP was created for website development, and in that area neither Go or Rust are even close to matching it in terms of maturity.

I may be biased but for me, choosing php for a new project is a no-brianer. The only other 2 stacks to which I can compare it are the Spring stack of Java or .NET core, and except for these two I wouldn't seriously consider any other competitor for starting a new project. Unless, of course, that project is "for fun" and you want to experiment with new technologies.

[1] https://symfony.com/blog/symfony-was-the-backend-framework-w...

[2] https://github.com/php/php-src/pulse

[3] https://trends.builtwith.com/framework/Laravel
I buy a lot of physical books because I love them, an I can relate to this. Whenever I see a book in my field that the author is offering for download, I systematically buy it. When still wanting a book that is not freely downloadable by the author, I first look at a pirate copy and read it for a few days before buying. Would never consider buying a book before having seen an electronic copy.
Generally lower quality talent. That's half the reason PHP got its abysmal reputation. Brilliant programmers using PHP must be annoyed that they're thusly tarnished. I suppose that's not so different from JS. To the flames with both of them, though, I find them genuinely depressing languages to work with.
Probably because of this:

Popcorn Time repository unavailable due to DMCA takedown

https://news.ycombinator.com/item?id=23075484
Brilliant work.

The way you packaged it can be used to label data to improve ML models. I am thinking of such a link being sent out to numerous people to crowdsource labeling. Even if they answer one question, if a few million people answer it once, that's a few million responses to help train the model.

Is it using any notion of common sense?

https://www.quantamagazine.org/common-sense-comes-to-compute...
It should be possible, but I'm not sure if PHP has the kind of community drive behind it to make it a realistic option.

Or a necessary one – emscripten's main use case is "everyone has a browser", but there's very few PHP hosting offerings where you can't shell out and just run straight native code (in your own little isolated sandbox).
Really really good proramming.
You can disable it on your DNS server using canary domain [1]. Last time I checked it was already implemented in Pi-hole.

1) https://support.mozilla.org/en-US/kb/canary-domain-use-appli...
I can't know where you're working or worked, but please don't think that this is every tech job in every company. There are plenty of smaller businesses doing great work where you get to have your say, good colleagues and some (at least) moderately interesting problems to work with.

My last 3 jobs (over 10 years) have all been with companies in the size of 30-50 people, with 20-50% being product/engineering, working on a SaaS product. My jobs have been nothing remotely like the Silicon Valley TV-series, so I'm quite surprised and appalled when people say how spot on (even if it's a mocking caricature) the show is. And your description of Dilbertesque politics fall very much in that same category.

Will smaller companies have the Big Engineering Problems that FAANG companies have? Of course not. But there's a huge middle ground in lots of different sectors. I'm working for a company that makes a platform for childcare centers, and we have a ton of challenges and opportunities - not what I'd expected 10 years ago. But the work is rewarding, even if I don't get to have a lot of challenges revolving super hard algorithms, huge data sets or whatever else might be all the rage. Most of our challenges is scaling on a budget, nurturing expertise in different areas in a 10-person team, translating feature requests between customer lingo to something we can implement, and many more similar not-wild-and-crazy tasks.

I do feel lucky, but I also do not feel like I was lucky and somehow found three magical unicorn companies to work for. And there's plenty of things that could be better, and I could make more money working at bigger companies but in my mind it's not worth the trade-off.
But the proposed solution in the U.K. and Australia is worse for privacy and is only subject to the scrutiny of the citizens of that country compared to the scrutiny of the entire planet for Apple and Google. Ultimately, if you don’t trust them, don’t take your phone out with you. Because any one of Apple, Google, Amazon, Huewai, Samsung or whoever could start tracking you with a simple software update at any time. Likewise don’t drive a car made in the last few years.
This reminds me a little bit of the discussion about the effectivity of ppe/face masks, in which direction they are effective, and why in some countries. They are effective, if everyone wears them. It just so happened that there were not enough masks available in the countries which had the most heated discussions about this. You got yelled down for saying so. And then, about two months later, when they were available, wearing them was suddenly mandatory.

Soothing the masses, so they don't seethe...
Why do you want to purchase a music video??? Do you run a TV station and will re-broadcast it, or some other broadcasting strategy?
Funnily I find that the new and the shiny is a rebranding of the old and the stable. The difference is a new language + name + platform. I think this is an endless cycle as we see new developers come in and discover old concepts in new frameworks.

Once you've been through a few of these cycles it's easy to get jaded and burnt out, which is when older Devs may push back on the new. I don't think it's because they're changed adverse, just that they doubt the benefit of doing something they already know in the flavour of the month framework/language.

I'm guilty of all of this and have been through several burn outs. Nowadays I accept that everything will always be changing, and to keep an open mind to avoid dismissing things that are truly revolutionary.
How to Use Air Purifier for Best Performance in Your Living Room and BedRoom
If anything PHP is THE language that solves what it sets out to solve.

It does a few things and does them well.
> the vast majority live in extreme poverty

For that matter, the whole point of the primitivist argument is that humans have been quite happy about living in extreme physical deprivation for most of their history. It's only when the social milieu is totally FUBAR that "poverty" as we know it becomes a cause of deep unhappiness and dysfunction. Also as the OP shows, people can also be quite unhappy with their life despite living in a highly developed country and enjoying quite a bit of material wealth.
That sounds complicated. Though I'm not sure if this is a valid example to counter my view. I can't comment on the exact situation you went through. It could be that that complexity was a side effect of having to solve far more complex and frequent issues more easily as opposed to doing simpler and rarer things more easily (unless of course changing button colours is a frequent modification). It's also possible that the design was simply bad.

This doesn't mean that you were going to better off without git workflows, code reviews, tests. My experience has been the opposite. It's exactly where there's no good technical leads/technical discussions/code reviews I have seen this kind of mess. Each person goes on and do their own thing with no clear direction or architecture.

At the end of the day, for me, to stay sane in the face of this kind of nonsense(as in bad engineers - unfortunately there are those even at senior positions), so what if the button that could have taken a few minutes to change now takes 6 days if we are paid to do it? As a responsible engineer, you point out the issue perhaps with a proposal for improvement. If they listen, good. If they don't, fuck it. On the other hand, if all I end up doing is changing colors of buttons regularly, each taking a week, then for the sake of my career, just say no and move on - unless of course if the pay is so good that it makes sense to spend a couple years doing it - people have to do far more shitty jobs for less. And spend some of the free time to code like a cowboy :)
My startups running on PHP and I definitely don't regret it. The language is simple, you have easy access to talent, knowledge, and thousands of mature libraries. Most of the times boring is better.
I understand but I think this is wrong. there's a benefit to asynchronous work and having multiple tasks in your queue that you're chipping away at its like the idea of task scheduling on a single processor I just think asynchronous is fundamentally more efficient for humans because they can maximize their productivity per task. And asynchronous "get back to you" allows there to be like a homeostatic equilibrium of priorities and allows everyone everything to get addressed. like hardware interrupts, and giving everyone that power, when it has a knock-on effect as well to whatever you working on it just doesn't make sense to me as something smart. I think it decreases productivity.
So if you are in jail, youre set free because of the virus.

If you are free, you are put in jail because of the virus.

Got it.
In early February China and the WHO was criticising countries for imposing travel restrictions, while people were dying in Wuhan hospital hallways.

https://www.reuters.com/article/us-china-health-who/who-chie...

In the end, western countries are indeed responsible for their own well being, but China did everything they can to block information from going out.

To know the true severity of the virus, you had to rely on leaked information. Doctors were silenced and journalists arrested, and social media censored.

Taiwan sent their own researchers in December, when only rumors were out. This is what western countries should have done.
What happened to the strain of the virus? The previously known first case in France is this one [1]. If there was community transmission in France for a month, we should see different mutations than the ones in China.

[1] https://nextstrain.org/ncov/global?branchLabel=aa&dmax=2020-...
For that kind of problem we create a database table. then you schedule there your work tasks and background scripts will fetch jobs from the database and run them. This also works great if the third party is busy or fails, the background jobs are set to attempt a few times before giving up.

What solution would you prefer for this kind of jobs? launching a new thread directly? or have a worker project always running and send to it the job directly?
Seconding everything you say here

It takes a while to get it but it is very powerful. Docs could be a bit better (they're not bad) but in the end it is Ruby code. I would also be happier if I had a CLI because the IDE editor has (minor) issues but it also helps a lot with its integration with the rest of the system

But those are minor issues in a great project.

Yes it uses supercollider (too bad that API is much more complicated than Sonic-Pi)
On the path from prison to a PhD in physics
Terry Riley’s ‘In C’
Great Guide to Charter by Seasons
It's always seemed so bonkers to me that Yosemite National Park was made in 1890 and yet Hetch Hetchy, which was part of the park, was dammed in the early 1920s. I get that it was a different time and all, but come on, you can't go around destroying part of a NP like that.
A human monoclonal antibody blocking SARS-CoV-2 infection [pdf]
Thought experiment: People willingly giving this power over to an alternative group of people (a company in this case) could be considered a democratic vote from a populace? Providing power is willingly given to them by the actions of the group.
Correct. I'm an avid Apple product user (a dozen Apple products in the house actively used at the moment), but it's obvious that "privacy" was a PR push against rivals that had little or no impact on their bottom line.

If Apple relied on private info for revenue, the warm smile would be the same but the wording would be very different.

Still, the problem is more along the axis of technology. Even if Apple open-sourced their entire stack, we'd still have to take their word for what was running on our phones at any given moment. Encryption protects us but also ensures we can't know what information is sent from our phones to Apple. Hardware security, which protects us as well, turns our phones into a black box.

Are Apple good guys? Well, we could have a whistleblower come forward with evidence that they're not but a lack of whistleblowers isn't evidence that they are. If the entire stack isn't auditable by 3rd parties then we're just going on faith.

Personally, I'm ok with it. I like the aesthetics of Apple products more than their rivals. The threat to me, if it exists, isn't large enough for me to worry about.

If I were a criminal, I wouldn't trust my iPhone for a second.
How far off do you reckon Backblaze is from designing your own motherboards + electronics, with just the pieces you need? :)
It's worth re-iterating how unreliable bluetooth signal strength is in estimating proximity.

One recent data point using the CovidSafe app is here: https://twitter.com/jim_mussared/status/1256199078314078210

Exploration around the defects in that app is ongoing here: https://docs.google.com/document/d/1u5a5ersKBH6eG362atALrzuX...
You know what's really mind-boggling: the fact that Australian Aborigines have successfully kept an accurate record of multiple Geological events for 40,000 years - by way of oral tradition.

I think the fact this is unrecognised in educated circles is also staggering...
Best CPUs for Workstations
That was good. Thank you.

Ever go swimming in a pond? It's not like a swimming pool. In a swimming pool, the water is clear, the bottom is sound, humans are the only creatures there, and you can be somewhat assured of your safety. In a pond, you can't see very far in the water, the bottom is mucky and soft, there are all sorts of other creatures, and something bad may very well happen to you.

A swimming pool is not a natural system. It takes lots of work and diligence to keep it running, and even then, bad things happen. Fortunately, a swimming pool is a system with a mostly finite set of parameters to change and a similarly-small set of outcomes to manage.

Technology, startups, and BigCorps are natural systems. They're like the pond; they evolved over time without any one person managing any of it.

It took me a long time to realize that many things in life were like that pond when I was thinking most of the world was like a swimming pool. There's nothing wrong with diving into various ecosystems that have emerged out of human complexity. In fact, you can find pleasures there you can find nowhere else. But there are significant differences that nobody tells you about. These systems are emergent, they have tons of variables you might never encounter or understand, and they change based on the actions of thousands, perhaps millions of people, all of whom are not aware that they are, in effect, managing the system. (Even if they knew, no one person has the mental ability to manage all of that.)

I said all of that to say this: natural systems do not have your best interests in mind. You form a startup? Ok, there's a preexisting set of "ramps" you are supposed to get on: bootstrap, niche, unicorn, etc. People who see you in the startup world see you as being on one of those ramps. That is how they process your existence. Same goes for BigCorps: the rule there is to get along, not make waves, and have people think of you as energetic, competent, and friendly.

These are not necessarily bad systems, but you have to keep in mind everyday you interact with them that it is ultimately you who are responsible for your emotional and personal safety, not the system (No matter what they might say to you)

So yes, be disillusioned. It sounds like you've earned it. Then reflect, learn, heal, and engage differently. You've been through a tough experience. I wish you the best. If you're half as smart as you sound, you've got this.
Isn’t just low NO pollution = low pollution = low population density ?
I find it amazing how often ad blocking is discussed here, and start to wonder how many peeps hanging out here on the other hand depend indirectly on ad revenue to pay bills?
There are obviously the big corps Facebook and Google, but also my own small employer, which is in theory in a different biz, runs ads on the web shop as an additional income source (which I find not very clever, increases page load times and is simply not our core biz). Do we all pay our bills with money made from the pour souls who did not get around to install an ad blocker or advanced setups like a pi hole?
I'm on the pro ad blocking camp personally, also worked in the past in a biz that was 100% ad financed for a short period of time. Also there the whole tech department was using ad blockers.
Google is like a poster in the newsagent's window
Man, they’ve been “chased” basically from day 1, this is not their first DMCA rodeo.

It’s just that the studios have been forced by the pandemic to concentrate exclusively on online channels. See for example the latest Trolls movie, which just made $100m in his first week on streaming: that’s considered fantastic (and possibly a turning point) but it’s still half of what the previous movie made with a classic release in theatres a few years ago. Most “tentpole” releases are on hold and they have to keep pumping ads to keep the hype up. Cashflow must be fairly tight.

So the studios right now need all the help they can get, in order to squeeze money out of digital channels. Taking “off the board” alternatives like PopcornTime, even if just for the 2 weeks DMCA forces ISPs to obey, increases their chances. I would expect they’re ready to repeat the trick a few times from a few different entities, at least until the pandemic is over and people can go back to real (overpriced) popcorn.
I wonder if bpf could help a little with the performance.
I wonder why MPA didn't try to DMCA takedown Firefox and Chromium. I mean, copyrighted works are available through these "Projects", too, right?
In the article, regarding the site of John Snow’s famed epidemiological discovery of cholera in 19th century London water supplies:

> There is a plaque and a [water] pump, and the John Snow pub opposite

The plaque and pump were removed several years ago, much to my dismay as an amateur London tour guide.

The pump was then reinstated in 2018 but it was still jaw dropping that such a landmark was removed in the first place.

https://lookup.london/john-snow-water-pump/

Quite interesting
Thanks! — Any idea how they worked this one out?

> Assuming that the heat of the sun has been kept up by meteoric bodies falling into it, it is possible from the mass of the solar system to determine approximately the period during which the sun has shone. The limits lie between 100 millions and 400 millions of years.
I can see it can be, and it actually is useful for many users, but it's not for me, and many others share the same opinion. So having an option not to get the touch bar is important for us.
The NYC subway seems to have a pretty unique local microclimate though. I don't know if it's just the lack of regenerative braking or if the close proximity to the iconic steam heating network is also playing a role in this, but compared to most other subway networks, the MTA feels like a living history museum - even if you close your eyes, block your ears and only take in the air. The influence of air heat and moisture on virus spread is quite complicated (evaporation ends some droplet classes, condensation ends others) so it's quite possible that some subway systems are much worse spreaders than others.
They don't seem to have mentioned the obvious fact that the middle seat is usually taken by someone who is a companion (and frequently, a housemate) of either the window or aisle person.

I think what they really mean is "no two people from different households may sit next to each other". Seems dumb to not sell the middle seat to a family of three for instance.
> Finding ways to have, say, 10 million blacklist elements with a small memory footprint is left as an exercise for the reader.

In case the reader is interested (and this may not be what OP had in mind): In trading memory gains with computation, this is how I squeezed ~4M entries in less than 30 MiB:

1. Compress (reversed) individual entries using a dictionary or entropy encoder. I experimented with Shoco [0], Femto [1], and a modified LZ78 [2].

2. Create a bloom filter for membership checks, [3] or any probabilistic structure for that matter, like the xor-filters [4]. This prevents expensive but unnecessary lookups.

3. Insert the compressed (reversed: google.com -> com.google) entries into a radix-tree [5]. You could use a directed-acyclic graph (DAG), if you don't need to store key-value pairs.

4. Compact [6][7] the radix-tree [8] (compacting a DAG might be super complicated).

5. On every search:

5a. Compress (reversed) incoming query (i.e. domain-name).

5b. Check the bloom filter.

5c. Traverse the radix-tree, if necessary.

5d. Cache an eligible entry in a LFU [9] or possibly, using any other suitable algorithm inspired from Linux's page replacement implementations [10].

6. Strive for zero-allocation and zero-gc.

---

[0] https://news.ycombinator.com/item?id=10060018

[1] https://github.com/gtoubassi/femtozip/wiki/How-femtozip-work...

[2] https://en.wikipedia.org/wiki/LZ78

[3] https://news.ycombinator.com/item?id=12231623

[4] https://news.ycombinator.com/item?id=21840821

[5] https://vincent.bernat.ch/en/blog/2017-ipv4-route-lookup-lin...

[6] https://news.ycombinator.com/item?id=22544718

[7] https://www.youtube-nocookie.com/embed/3Y2weLDiUWw

[8] https://news.ycombinator.com/item?id=2348619

[9] https://github.com/ronomon/hash-table/blob/master/README.md

[10] https://en.wikipedia.org/wiki/Page_replacement_algorithm
> shell out and just run straight native code (in your own little isolated sandbox)

Parent poster said that they couldn't do that on their host, though. Which breaks a MediaWiki feature (syntax highlighting for code blocks).