skysight-inc/HackerNews huggingface dataset:
> it's another retarded Zenz hit piece

AKA it makes the CCP look bad so it must be a 'hit piece'.

So, again, how would you like it if your wife was sterilised against her will or had a forced abortion?

ANSWER THE QUESTION
That's more a problem with the way you workplace operates, as even the php organization doesn't support versions < 7.2 (and more realistically < 7.3). You're kind of in a no-win situation.
Really cool product, lots of potential, pretty well done too, it's really easy to use. One thing that'd be really cool for social videos is to let users add animated gifs from existing libraries like giphy.com and such (basically like Instagram / Snapchat does). Wish you all the best with this project.
I find the tropes presented in fiction misleading or unlikely to reflect reality once further examined.

Misleading road signs about the future may be worse than no signs at all.
Sorry my comment was very imprecise:

I actually agree with you and the general assessment of modern PHP (see below).

What I wanted to say is that I feel like it is slightly misleading to advertise these things as bad practices if the audience is unknown. For example a beginner should probably just stick with the default idiom of a language/domain/project and understand it first, before adhering to advice given in these kinds of articles. PHP just has too many footguns so you either go with modern idioms or you are experienced enough to avoid them _safely_. Also there is the issue of documentation and learning.

---

PHP is almost never my language of choice, but since I do freelance work it chooses me more often than I would like. The language is more expressive than many think and has some nice and sometimes unique useful features. But it is so inconsistent (in many ways) that your code is already ugly _before_ you start writing it (as opposed to after).

That said I personally dislike writing overly abstract "OO-everywhere" programs and in my opinion PHP is _specifically_ unfit for this kind of style, since it is stateless, so everything you need to load before you do actual work, becomes a continuous performance hit (unlike for example Java, which also starts to get very fast once the JVM is warmed up).

There are abstractions and utilities that absolutely make sense when dealing with PHP though:

- Response & request handling with routing (parameters etc.) and middleware abstractions, including convenience for session handling and validation.

- A sane abstraction over building HTTP requests (if needed).

- SQL query builders (if needed) for convenience, increased safety and better error reporting. PDO is still a bit too error prone to use and is inconvenient compose.

- DB migrations (if needed).

- A convenient logging library.

- A collection library. Built in PHP array functions are very inconsistent, straight up weird in terms of naming/functionality and incomplete in terms of what you'd expect there to be.

- File handling uploads, streaming etc. (if needed).

- You definitely want to use composer and auto-loading.

- Probably _some_ more but you get the drift.

A framework will give you all of these things (hopefully) plus a whole bunch of stuff you don't need (like ORMs, DI, code generators, template engines etc.)
You can block the offending domains with uBlock Origin or similar tool. It's a relatively small effort to block the most used ones after which you won't see most of the popups anymore.
Income Predicts How Well You Can Socially Distance
Epic Systems employees decry CEO's decision to call workers back to the office
If we hardly know what good nutrition is for humans, how can we assume that meat is some ancillary part of our diet?

This dogmatic view to end meat consumption is a horrible mistake, as it’s predicated on us understanding the human body in its entirety. There’s really no studies that investigate with causality a human diet. It would be unethical/expensive to properly study causality. We have epidemiological studies that find correlation, which has been wrong many times (red meat causes cancer, saturated fats are bad, etc). Epidemiology is meant to point towards a correlation for us to separately study causality, instead of these statistics game of conflating the two via attempting to remove confounding variables.

Further, you’re assuming all land that’s currently used for livestock had no prior use. Much of the land was formally used for crops (until the soil was depleted from poor farming practices, injected with nitrogen/fertilizers, then essentially decimated) if the topsoil was nutrient dense.

Deforestation is needed for crops as well, it’s not exclusively done for animal agriculture. Removing all meat sources would still require some amount of land to fill in the caloric gap. You can’t just subtract all livestock land and say you can plant trees, and thus a net gain.

https://theconversation.com/yes-eating-meat-affects-the-envi...
> Why in gods name would people donate if it didn’t help them?

Because they think it helps other people?
Do you not think that poor Linux support is a result of low users numbers rather than the communities requirements?

MacOS has higher barriers to entry than Linux if you want to be on their stores, these do not seem to be an issue for people to overcome.
all these simulators out there and still not one remake of plasma pong
That thing is a nuisance, a terrible idea. People should really cut it out with that thing.
The moving server on cart part made me nervous. If there was any rotating rust in there, bouncing across the parking lot would make things difficult for flying heads. I'd have hand carried it from stage to stage, setting it on a padded cart each stop, treating it like sweating TNT.
We all renamed our "master" repositories, didn't we?
We don't need to plant trees nor use any new technology because trees come with their own way of reproduction which comes for free with each growing tree! They will spread exponentially via seeds.

If we just let trees spread themselves around instead of championing venture backed startups to use drones or something equally bizarre to do what nature would do if we just sit back we might be able to channel our guilt or desire to control nature into some other area.
There's a great quote in "Liar's Poker" where the author's mentor is explaining to him the dissatisfaction he feels even though he got a big bonus. He describes how as you earn more you become ever more jealous of people who are earning even more than you. It goes something like "We never become rich, we simply experience ever-increasing levels of relative poverty".
I want memory allocation to run in constant time, so I can achieve low latency. That's the point of concurrent GCs - they run in the background to free up memory.
There’s no moral obligation to make incredibly efficient and streamlined software. Solving the problem and proving sufficient value is usually enough.

Sure, they might get displaced by a competitor in the future - but by then they’ve probably got a large user base and a warchest to compete with. Slack is a great example of this.

If it’s software that’s life critical, then maybe, but that’s a small minority.

Markets and buyer preferences are always changing - I think it’s better to be agile (ie high developer velocity with talented product managers) to be able to detect and capture these shifts.
They "can" do whatever they want but if they do too many things that are universally unpopular the politicians will find themselves out of a job, possibly also with a hole in their head depending on how the specific government handles transfer of power.
Instagram is launching Reels, its clone of TikTok, in more than 50 countries
> I have this option enabled and you would be surprised how many major web sites it breaks.

It's caused two major outages for us. Rather insidious as well since Chrome does A/B testing and gradually was rolling this change out.

> I generally address this by contacting the site admins, showing them screen dumps of their broken site and say they should demand their web devs fix this for free since their design goes against industry best practices

That's just not how the world works. Sites today are a mish mash of different application engines, SAAS providers, libraries and frameworks. If the version I built on two years ago doesn't set the Same-Site property that's not my (or the vendor's) fault. They gotta pay me to upgrade to fix it. And that's hoping that everything I depend on has upgraded their stuff to fix it.
If people routinely stored gold bars at home it would improve the cost-benefit ratio of breaking into people's homes.
Do you have any favorites to recommend?
> we're going to need every calorie we can get hold of to prevent mass starvation

Then we should begin transferring animal agricultural lands to plant agricultural lands because plant agriculture produces more calories per acreage.

Kansas is perfect for growing many legumes, grains, and vegetables. Instead it is largely used to grow beef and dairy.
In Java, everything is heap allocated, whereas in D you have a choice.
Fresh Chromium installation, no adblocking or other content blocking plugins. Zero advertisements and popups on that site. I keep reading these kind of comments on HN and everytime it seems to be only that one person reporting the problem that sees that behavior. Are you sure your network is not compromised?
The hack that could make face recognition think someone else is you
Neanderthal, a static blog generator
Page loading speed is not the only concern the users have.
in Germany mobile networks work just fine in the subway as ISPs have deployed hardware there. I actually have more issues with the network when using classical railroad transport...
This makes sense to me. I usually assume that there isn't a real person at the other end of those bubbles, and that if there is they'll only be trying to sell me something.

We use Intercom in our product at work. But it's for customer support, and is always initiated by paying customers.
It’s only over short time periods that gold might look like a good investment. Inflation adjusted gold is flat over the last 40 years. That’s a real ROI of 0 from 1980 to 2020. Which means for every good investment someone else lost money.

Now it’s currently above the historic average so you do get 1% real returns from 1900 to 2020. But, stop in say 2010 and things look even worse.
That is a policy I heard to be used in already not-extremely-secure environments like software development at a bank (completely isolated from production environment).

They didn't go so far as to cause alarms on unknown device ids, but devices would just not be mounted if they were not whitelisted.
Fresh Food Year Round? You Can Thank Frederick McKinley Jones
Maybe you are right and it was just a plain statement. But it sounded quite snarky to me. As if it was condescending reddit for biases given subreddit might have, like HN has none.
to me, this sounds more like "Ruby tools don't have sane defaults unless you use Rails"

Some examples from crufty Java world. You magically get connection pooling with any JPA provider. If you import a logging library, it magically works. Flyway and Liquibase db migration tools have built-in failsafes, and "just work" with defaults.

I think Ruby suffers immeasurably from most things being built for Rails. In Java and Python, there's so many options that everything is forced to be modular when running standalone and play nice with various frameworks.

Ruby is loved for Rails, but Rails is slowly killing the langauge by making it hard to do anything without it. For most purposes, Ruby is Rails. To me this is a good reason to use a different language where I have flexible options
> sadly. We switched from Javascript to Typescript (...) I'm not convinced it's worth the trouble.

Judging by the seismic shift in the industry away from vanilla JS towards TS I'd say that qualifies as an extraordinary claim.

It would be interesting to hear some of the details behind your experience.
Too bad MetaLua never took off, these could be macros embedded in Lua rather than a separate language. http://metalua.luaforge.net/index.html
LibreOffice 7.0 is released. This is what's new
I can imagine those roles being a lot of fun. They know what they're doing, respected in their roles, working with people they like and respect I would guess. Salary can't be bad and you'd expect they can offload any of the work they don't like to subordinates.
Creator here- I created this tool to build my personal website/blog, so it has all the features I needed. I decided to build it out into a full tool others could use. My personal website (https://matthall.codes) is rendered using this tool. For those unfamiliar with this space, Neanderthal is similar to Jekyll and Eleventy, but way less polished than Jekyll and more opinionated then Eleventy.
Insanely smart, and well educated.
IMO, the main advantage of Rust is that it doesn't require an extensive runtime in order to have memory safety. This allows you to write a library like an image processor or embedded database without using C / C++.

Otherwise, if you wrote your image processor in C# or Java, it becomes hard to call your library from Python or Node because you have to require the entire VM. Likewise, you can ship an application binary that has no requirements for a runtime. (Your application binary doesn't require a JVM, CLR, Mono, Python, Node, or some other runtime.)

I've been through the Rust book twice but I'm just getting to the point of trying to write something in it. The mental model is very different. Coming from C# / Java / Javascript / Objective C; I'm wondering how many hours I need before I can get my head into Rust?
I really hate those live chat bubbles, and many people feel the same way. When I see one of those I instantly go looking for alternatives to your site. Sure, you might win more clicks or whatever, but it's also worth considering the goodwill lost.

It's kind of like hiring a used car salesman to do your sales. Sure, perhaps he'll sell more in the short run, but if that's what you're after there are plenty of unsavory tactics out there you can use. Wouldn't you rather customers just had a good, clean experience they're happy to share with others?
About 13-14 years ago some parts of the US DoD resorted to hot glue gun filling all the usb ports on desktop PCs, except for the two ports required for the keyboard and mouse.

This was during the windows XP era when it seemed there were an endless number of security problems related to usb devices, no matter how good the group policy and registry settings pushed via active directory membership were.
After seeing how google treat's users of other browsers as second class (YouTube, search, to name a few), I decided to switch to Firefox before Google gain's complete control over the open web
Engineering Leader Onboarding
The same thing that happened to thousands if not tens of thousands of other businesses and I think you answered your own question. The pandemic is what happened to their supply chain. I have been trying to buy a desk from IKEA for months that has also been out of stock. This isn’t some rare phenomenon right now.
Content Security Policy: Going from Idea to Afterthought
I host some services at home, mainly targeted at friends and family.

Some are IPv6-only, because it's much easier to manage from my side. I whish I could add an A record for these that pointed to a reserved IP address that would inform clients the service is IPv6-only.

For now, I just don't put any, and browsers just display a generic error. Since some DNS don't answer with IPv6 addresses, the browser couldn't even provide a meaningful error message if it tried to.

Would that be worth an RFC? What IP address should be used?
Data Trinity: Graphs of Data (Part 1.1)
How many people pin the exact version of a system library they are using? Or of a binary used in the build process.

Also, how many people run the build in a sandbox to avoid "interference" from the environment?

Yes, this is all good practice, but I think very few people do it, because it's not easy.
> IPAM with IPv4 is a massive pain in the backside once you get up to a certain scale, even if you're allocating from 10/8.

Comcast (an US cable ISP) starting deploying IPv6 because they have so many CPE devices that they are out of IPv4 addresses to do management on them. Story from 2010:

* https://arstechnica.com/tech-policy/2010/01/comcast-running-...

It's also why Apple mandated at some points that iOS apps had to work on IPv6-only networks: it was a requirement from mobile phone companies, as IPv4 addresses are getting scarce, and mobile telcos don't want to shell out cash, so they use IPv6 on phones and do NAT64.
How thoughts could one day control electronic prostheses, wirelessly
Don't forget scanning. Yes, moving blocks of memory around is expensive, but it can also be done concurrently. Scanning, AFAIK, cannot be done concurrently, and thus remains the primary blocker to lower latency. And scanning is something that is entirely eliminated with static memory management.
Most SPA frameworks work fine with the back button and bookmarks--they'll either use the URL fragment (#) or the history API. I'm sure there are lots of developers who don't bother to turn on that functionality, but that's not an inherent flaw with SPAs.

(For the record, I don't think that every app that is an SPA should be, but I do think that they have a place.)
1M Hours of Stratospheric Flight (2019)
Facebook launches its TikTok rival, Instagram Reels
Yeah, the type system helps in that, but for a unit testable product you need factory methods, which produce some valid and invalid cases. If you write simple tests for those it is a type checker on it's own and the type checker is just overhead. If I could choose my next project from two similar implementations where the other would be type checked and the other unit tested with basic datatype factors (at least) I would choose the unit tested one.

I would use typed API's though, because it saves documentation reading time and makes the editor autocomplete to work like magic.
Modern steganography does more than just use the LSBs of the image. For example, the watermarks used for SDMI (audio, not image data, but same logic applies) used techniques from communications systems like spread spectrum carriers (similar to what you might see with a digital radio system). For images you can also try to place the stegotext along edges and other high-frequency regions where there is more "noise" available to hide what you are doing. If you need to maintain secrecy, you can combine steganography with cryptography e.g. use a PRNG to select carrier frequencies (IANAL but you probably should beware of ITAR issues if you distribute such a thing).

You should also give thought to how robust you want the stegosystem to be to image filtering, downsampling, etc. The MPAA uses watermarks on movies to determine which theaters are the source of camrips, and those watermarks have to be as robust as possible (they must survive both the camera's inherent reduction in quality and possible transcoding/editing by the pirates). Not all stegosystems need to be robust, for example SDMI used one robust and one weak in an effort to identify downsampled copies of the audio (the RIAA assumed that downloaded music would always be significantly downsampled).
The link addresses 7 arguments.
With respect for the people who talk about the technologies involved, server-side vs client, bandwidth vs latency, etc, etc, etc.

I don’t think any of that is really the core of it.

Humanity sent spaceships to the moon with way less power than a smart watch.

After watching tech evolve over my lifetime, the real issue feels like it’s about the psychological choice:

When more power is available we fill it with either less efficient code, more layers of abstraction, or more features.

(Besides outliers) this seems to be true no matter what the tech, and is especially obvious on the web.
To the author's credit, I have experienced this boogeyman during my time in the PHP world. There have been a couple of times on SO or reddit where my questions were met with a "why don't you just use Laravel?"

My most memorable experience was during the interview process for a company that used PHP for their backend. I attempted to solve the take-home assignment using a couple of libraries (some Symfony components). An overarching criticism of my work was "you should have used a framework" and "always use pre-existing packages rather than write your own." The reasoning was that popular packages are vetted and tested by the PHP community.

I understand why they believe this. I also find it astounding that PHP developers distrust vanilla PHP so much (and likely for good reason).
AppBoost – An open source Ad network for developers to promote apps for FREE
AppBoost is an ad network we have been developing to help developers promote their apps for free.

It works through cross-promotion, each developer that integrates the ad network in their app gets other developers apps promoted in his/her app and vice versa. The SDK is currently only available for native apps developed with Java. We will soon release another version to support all other platforms.

The app stores are getting more and more saturated and competitive with thousands of apps being published everyday, Developers and Businesses with little to no budgets are finding it difficult to sustain their app businesses.

AppBoost Aims to solve this problem by helping developers and businesses drive traffic to their apps and thereby increase their revenues.

We aim to create a community of developers helping each other succeed in these tough times.

Thanks for reading this
Isn't the presence of an AAAA record but the lack of an A record already a sufficient indicator that the service is IPv6 only?
Classical Music and Its Slave Orchestras
> I'm still yet to be persuaded of its benefits for home users.

According to Apple, IPv6 is 1.4 times faster than IPv4 (latency wise AFAICT):

* https://www.zdnet.com/article/apple-tells-app-devs-to-use-ip...

This is supposedly "due to reduced NAT usage and improved routing."
With 1Password or 1Password X? 1Password X is good for autofill, but it's delegating management to the website which isn't very good a lot of times.

1Password proper however... using it in 2 Windows machines and both ignored the shortcut to open it at least once today.
My only quibble with your "there is literally no permutation of events, no alternate universe" take is injury and other bad luck. I suspect for every Lebron -- who's been lucky enough not to be in the wrong place at the wrong time, injury-wise, for decades -- there are a number of equal/better players (physically and mentally) who get bumped, land wrong, tear an ACL, and their trajectory changes forever. (Or get in a car accident, or... etc, etc.)

The underappreciated part of luck (by the lucky) is not the good luck people have the benefit of, it's the bad luck they avoid.
At any non-shady dealership, you should presumably have to give some sort of evidence that you own the car in question (registration documents etc. and ID matching the name on the registration). For many online accounts, you probably don't need (or want) to give ID when creating account, so that's out as a way to prove ownership when attempting to recover. So how else do you prove ownership?
People in the trades world do it too. If a job won't provide the margin they are seeking, or the job is more difficult than it's worth they will up the price. If the consumer chooses them to do the job, it's at a pricepoint that's worth the trouble but they are really hoping to be passed over.
Damn, the performance on that is really impressive.