skysight-inc/HackerNews huggingface dataset:
Questions for PHP, and MySQL folks (not meant in a negative way):

- PHP: A few years ago I heard about how PHP was needlessly complex. I wonder what the recent status of the programming language is. Specifically, do experienced PHP programmers stick to a subset of PHP, as in "PHP: The good parts"? (similar to "Javascript: The good parts"). (side note: As a diehard python person frustrated due to latest versions becoming bloated in features, I fully acknowledge that I'm in the "Python: The good parts" camp right now).

- MySQL is owned by a company lately. I wonder if PostgresQL is clearly a better alternative?
I highly doubt this was $50 of the scammer's own money.

More than likely, it was money he received by scamming some other victim.
Honestly at this point they should just rewrite it in Javascript and focus on javascript bindings. Javascript is simply more productive and friendlier for devs to work with. This would allow Qt to compete with Electron for how well my hands are kept warm by my laptop during the winter.
Also, Jay Leno for decades has been an outspoken proponent for electric cars, in his ownership and restoration work on electric cars from the early 20th Century.
This is the whole concept of Solaris boot environments
us backend guys come from a time when buttons worked when you clicked on them. It's a concept we are adamant to share with you new front-end folks :)
The beer and wrench won't work on me, but the $5 might.
The really fun ones are the ones that work better with the JS disabled.
Why don't you drive an 18 wheeler to work every day? They are used by millions of professional people every day who's job it is to drive! Why would you be different from all those people that you think you need to use a little car instead?

The answer is obvious in both cases; You don't need it and it would be wasteful. If I don't have a huge database with constant read/write calls, If I don't have to try to manage multiple end users submitting content, if I don't need super async real-time snappy UIs to compete with the latest android app fad or session tracking of tens of thousands of users, why would I need laravel?

If nobody rolled their own specifically for what they needed, we would still be writing ASM/APL/Raw hex.
What ? It does for me on Linux with Firefox 68.

PNG are handled by Firefox since Firefox 1 or 2, over ten years ago.
The coming deepfakes threat to businesses
AMC's CEO thought he was so smart and defiant by eliminating what he saw as a competitor, yet was, in reality, probably the largest individual block purchaser of AMC movie tickets. Meanwhile in the midst of this bull market, AMC's stock hit an all-time low just last month, from which it has recovered slightly (still trading about 65% below 2016). With some tweaking to its ticket availability, MP could have been these over-extended theater chains' golden goose -- huge surge in off-peak ticket sales with zero marketing cost to the theater -- yet they failed to recognize it, instead, actively sought to crush it.
jQuery isn't garbage as per se. It's a great library for directly querying & manipulating the DOM.

Trying to make web applications with it is another story though. The lack of any state management is a nightmare, hence declarative frameworks/libraries such as React/Angular(JS)/Vue/Svelte etc. etc. came along.
Should they? Wouldn't they legalese the profession the same way that politicians would politicise it?
yup, this guy is clueless and should not provide his advice let alone spend time to make a chart.
I know already all of the advice. Yet, I don't follow any of them. Maybe would be great to write an article about how to get rid of those bad habits :-)
I think jQuery got a bad rap because so many script kiddies would drop the entire damn framework into a page when they just didn't feel like writing a standard selector to do a mobile menu.
is it possible to have safe bindings for something like Qt? never understood if that's a thing or not since I've heard FFI usage is inherently unsafe.
i am not questioning the intent, but I just wonder how would one support content creators besides donating money?
No, but to make sure we are talking about the same thing, a car share is a bit like renting a car by the hour. Uber is a computer-dispatched taxi service. Uber is not "car sharing". It is also not their other bullshit moniker "ride sharing"
I've seen countless unmaintainable applications written using popular MVC frameworks that required simple modifications, but the next person in line wasn't able to understand what the hell was going on.

Popular frameworks are not silver bullets, but apparently it's popular on HN to think so.
For an example on how to do this with fewer compromises on security, check out Dropbox's homepage. They also call out to a dozen third parties, but the entry point for all the JS is a sandboxed <iframe>, mitigating the fall out if some of that JS becomes malicious.
The Open Money Initiative [0] has done qualitative research to help pin this down- from what I remember of talks they've given, the answer to real usage in Venezuela is somewhere in between. Crypto has certainly been helpful for capital flight, since smuggling eg gold outside the country is quite a bit more difficult to get through customs than a private key seed.

[0] - https://www.openmoneyinitiative.org/
Not excusing shoddy lawyering but here are some thoughts:

1.Many of these lawyers probably don't actually specialise in open source. Especially if they work for companies as project or product lawyers. They've probably been allocated it as part of their remit, along with issues like contract and data privacy.

2. Open source is a niche within a niche (IP law). It requires a nuanced understanding of copyright and patent law but also requires strong understanding of software development practices. Concepts like GPL linking are really tricky to grok even if you are a knowledgeable IP lawyer.

3. Several popular open source licenses weren't written by lawyers and so can be a little ambiguous when read against the relevant jurisprudence. Most are not well tested in court and so it's hard to give definitive advice on how they work.
Native Lazy-Loading Launched on Chrome 76
And that binding generator is called Shiboken, which was motivated by boost::python and the same idea behind the binding generator written for Java in the old days (from QtJambi).

At the moment Shiboken is more general, and mature and can be used even for C++ projects (which are not related to Qt).
https://wiki.qt.io/Qt_for_Python/Shiboken
Revealed: Amazon touts high wages while ignoring issues in its warehouses
https://www.cybersecurity-help.cz/vdb/SB2019080703?affChecke...

https://aws.amazon.com/en/security/security-bulletins/
Rooftop solar requires landlord permission and wiring a reserved parking space, which works if you own a house and garage but it's a pretty big impediment to wider apartment coverage.
To be fair, I am mostly surprised there are not yet EV or hybrid vans, versus PVs on the roof. Seems like stop-and-go, or lots of idling, fleets would benefit signifigantly.

I imagine vans use the battery for more than propulsion, so PVs on the roof might be welcome. Charging from a generator is probably still more cost-effective, except for some niches (e.g. boon-docking). Lots of van-dwellers have PVs on their roof.
It's not like bodies of water are always blue anyway. The ocean's not. I've seen the same broad stretch of the upper Mississippi appear anywhere from pale green to battleship grey, along with several shades of blue including almost sapphire. The lower part of the Missouri's mostly brown or grey. I'd assume anyone who described it as any kind of blue without apparent purpose or calling attention to how unusual that is had simply never seen it.

The later example in TFA of the Bible using the phrase "red horse" is an odd one. There are red horses. Hell Steinbeck wrote a novella titled "The Red Pony". They're pretty common. What's the big deal?
Probably because for those familiar with Italy's history, conspiracies have been proven again and again, including in courts.

https://en.wikipedia.org/wiki/Operation_Gladio

https://en.wikipedia.org/wiki/Propaganda_Due#Criminal_organi...

https://en.wikipedia.org/wiki/Piazza_Fontana_bombing

https://en.wikipedia.org/wiki/Giuseppe_Pinelli#Suspicious_ci...

https://en.wikipedia.org/wiki/Giulio_Andreotti#Trial_for_Maf...

https://en.wikipedia.org/wiki/Giulio_Andreotti#Trial_for_mur...

https://en.wikipedia.org/wiki/Vatican_leaks_scandal

And that's not even getting into mafia itself, its ties with judges, state and municipal governments and so on (a whole book on its own), church scandals, and so on...

Americans, who naively believe in the innocence of states and big corporate interests and disbelieve in political conspiracies and cover ups (despite some of their own elite's shit having been exposed time and again, from Hoover's blakmails and politician surveillance to the Watergate, and from Iran-Contra to Abu Ghraib on to Snowden), should probably refrain from commenting on places like Italy...
> xg4ken.com is a domain registered under Kenshoo inc.

Why did they register such a bizarre domain, that even calls out the exact owner? To avoid blocker-lists for all of 3 seconds? Why not a subdomain, or at least a domain that doesn't look like that?
Having met a fair number of top executives I don’t feel this is true. People at the top do care quite a bit, and put personal pride into their company being good. But all low level decisions are made downstream, and middle managers are far less personally invested. Reactions to bad press are reactions. Hard to say whether it reflects anyone’s reality.
There is some truth to it. The whole ecosystem encourages a lot of things that are bad for developing simple, stable, good performing systems. I don't go anywhere near that world unless I have to for these reasons. You get all the downsides of dynamic language ecosystems, with worse compile times than Rust (webpack etc).
Privacy Badger was breaking it for me
That's fine to be cynical about it, but Jay is a well known Electric car fan (owns a Baker Electric).
Given that airplanes haven’t been hacked yet, security by obscurity seems to have been working...
You can't browse the web securely if you're being served third party ads. I'm not sure why this is considered acceptable and why the onus is always on the user to find and report the "bad" ads that a site owner has no control over, but it's really stupid.

I spent years browsing the web before there were any advertisements at all. There is no need for this garbage despite how many Stanford grads tell you it's totally necessary.
Yes, the problem with shipping is that batteries just don't hold enough energy for such a long trip. It might be that hydrogen fuel cells charged by renewable energy will be the long-term solution.
Want to recommend me a good sociology paper?
"am I gonna use it once and forget it?"

Isn't the saying, YAGNI (You're not gonna need it)?
As a non-coding technologist I was also a skeptic about how this was differentiated from other non-coding options, but it seems I need to get on the Webflow train. I will now add it with Figma to the toolbox for my venture builder empowering immigrant entrepreneurs - seems to have a good story to match that too. Cheers Webflow team!
AMP Adds Support for Server-Side Rendering
Because the way that adtech takes credit for sales has very little to do with whether it actually influences you. So they claim to be effective at the same time as doing the stupid stuff you point out.
After selling on Amazon for a few years, I can say this sounds exactly like something they're probably doing.
It's not like the government is just containing the river for fun - they are containing it because huge investments have been made along its current banks, and to just let it run it's course would destroy billions of dollars of value permanently(because other groups would not invest in the new water course if it could change again after 20 years leaving them high and dry).
I was recently asked how to lazy load images in a javascript interview. I said "The browser already does this".
As an amateur historian, I never understood the fascination for Sparta. They were quite powerful in militia, but not for so long and they got instantly owned once republican values were on the rise. They were famous in a period of time, but not more than that. It was a totalitarian system, with little freedom value to my eyes in comparison to Athens or Rome, for example.
What you call the "oil" industry is really the energy industry, and they really don't care which way things go as far as climate policy is concerned. They're set up to make money either way. Who do you think all those government grants for "renewable energy" research go to?
the water and feed needed to sustain not something we can keep scaling.
Hydraulic debt.
With regard to climate, "why don't we just X" is wrong for pretty much any X, but a lot of climate scientists think we probably should build nuclear plants along with everything else we're doing.
HTTP Desync Attacks: Request Smuggling Reborn
Having control over the energy source gives you a lot of power. It doesn't make sense to give up all that power right now. We have to wait until holding on to this power is more expensive than letting it go and this can take a long long time.
Wow.

Those who would give up essential liberty, to purchase a little temporary safety, deserve neither liberty nor safety
- Ben Franklin.
> Someone else mentioned SPAs. I 100% guarantee that no user in the world ever wished for their “back” button not to work as they expected.

This opinion invalidates the rest of your post. If you lack a fundamental understanding what people are building obviously it seems overcomplicated.
The generated code is similar as how a C++ compiler would do it.

Easy to check with VS Assembly visualizer or WinDbg alongside SOS.dll.

D, Ada, CLU, Mesa, Mesa/Cedar, Algol, PL/I, PL/S, PL.8, Delphi, Dylan, .NET, Swift, Oberon, Oberon-2, Component Pascal, Active Oberon, QuickBasic, Turbo Basic are just a couple of examples of languages allowing for pass by value and pass by reference, some of them also quite safe.

And then there is also call by name introduced alongside Algol.
No, research microkernels are generally much faster than mainstream OS kernels when you measure the operations that are implemented by both, because the crucial question for microkernel viability is whether they can be made to be fast enough; that's been true for 30 years. So an immense amount of microkernel research has focused on that one thing. You can run lmbench on your Linux laptop and get some numbers you can compare with published L4 numbers on similar hardware.

The way that microkernels are sometimes slower is, as I said above, on operations that monolithic kernels implement internally, but microkernels leave to userspace processes. For example, ping-pong IPC is something you can measure on L4, and reliably get orders of magnitude better performance than on Linux. But creating a file isn't, because L4 itself doesn't have files—you can implement them in userspace, and that can be done with varying degrees of extra overhead. It might still come out about even with Linux (I think I've seen some results to that effect) but it probably won't be orders of magnitude faster.

The part of your comment I agree with is that measuring performance is complicated.
Personally, I would not want a tech monoculture for passenger jets. A single issue grounding all flights (or worse) wouldn't be good.
AMD EPYC Rome Officially Launched: 7nm High-Performance Server CPUs
This article seems well meaning until the end where it hints that forced participation in the community might be something to admire about Sparta. Talk about illiberal and fascist.
For the Americans: AFAIK, "menu" is what we call a combo.
Airbus.

Not a matter of pride, but you don't want to help your competitors offer the same capabilities as you for $0 R&D costs
https://www.us-cert.gov/ncas/current-activity/2019/08/06/swa...
ASCII-Patrol (Terminal Game)
I recall seeing a thread sometime ago where someone claimed to be a Venezuelan who was using Bitcoin. I can't find it, but my recollection of the discussion was that

a) people in Venezuela are using anything they can get their hands on as hard currency, and

b) Bitcoin was one of those things, but it was negligible usage at best.
Because most people have heard the scaremongering about global warming for decades already, and nothing that requires a total realignment of the economy and society hasn't happened yet (and no, some heatwaves and some extra hurricanes are not a big deal enough to make people care). Politicians understand that nothing serious will happen in their lifetimes either, and scientists, when asked, don't paint nearly as bleak picture of the warming as the activists suggest.

Look at the most recent IPCC report: the predicted sea level rise by 2100 is below 1 meter with 95% confidence, and the economic cost of global warming is predicted to be at only a few percent of global GDP. Sure, we'll need to build a few sea walls here and there, rebuild a few more houses destroyed in hurricanes, shift cultivation from the newly-desertified areas to the areas where the climate change increases precipitation, but that's not a disastrous outcome that we need to avert by spending huge amounts of effort right now. Of course, if you support yourself by back-breaking subsistence farming, these things would in fact be a disaster for you, but this is a problem for poor people in poor places very far from developed countries. We (both society and the politicians) don't care much about their plight today, and we won't care about them in future either.

That's why hardcore "green" politicians don't push the society for some serious change: because there's not much need to do so in developed countries. People wouldn't like the change, because it would make their lives clearly worse, while doing nothing won't make it significantly worse. Some people though like the mood affiliation brought by "green" people fighting for "climate", which is why the green politicians only need to hit those notes in their hearts to get the support. Making real change is optional.
The lack of any state management is a nightmare

What makes the lack of state management a nightmare in the javascript world, but a complete non-issue when doing .NET or Qt apps?

As someone who started with desktop apps and then moved into web dev, I never really understood why Javascript developers wanted a library to help them manage state.
I know that there are many climate depressed people on this forum, frustrated by the fact that nothing is being done and, at the same time, under the illusion that they themselves cannot do much about it.

Yes you can.

Eventually, the solution will have to come from the government. But the government won't act unless we demand it.

- Change your lifestyle. Less flying, driving, meat. More non-electronically powered forms of play.

- Divest fossil. Invest renewable.

- Most importantly, get away from keyword and join other people. e.g. https://xrebellion.org
Working as I do on a decently fast machine I have to say performance differences between the two don't concern me much. Both are fine in practice.

On privacy & many other grounds I'd far rather use Firefox even if there were a minor performance penalty. Unfortunately I find it just too unreliable. It always ends up simply hanging on most sites, which is fixed by (yet again) blowing away my user profile & setting everything up. Sync makes that less troublesome than it might be, but it's too annoying as a regular interruption of my work day to continue with. Chrome it is, because it works, and Firefox doesn't, regrettably.
Yes it did: "Spartan citizens, who were greatly outnumbered by the enslaved helots..."
Masterfully condescending. I also appreciate the dig at JS via C++, which is perhaps the most complex programming language still widely used in the industry.
Lyft Says IPO Lockup Period Will End Early
Bike lanes would incur 10% of their current cost if they didn't have to be engineered around the ubiquitous SOVs. That's another externality of automobiles, and it doesn't account for how insufficient, broken, and unsafe that bike infra is, all because it has to route around cars being catered to as the “first class” use of ROW.
No, they just had to check that box to make sure that they did ‘everything in their power’ to make it secure.
Did you ever develop with Flex? MXML and CSS + ActionScript was a great way to design webapps, and if phones actually ran flash, apps and components could be just as responsive as anything modern. The closest JS ever got to it was Angular 1, but then the Angular folks changed course and whatever version it's at now is very different.

My current favorite is the ClojureScript ecosystem, but it's even more different than either still, and really only suited for apps. For a plain old website composed of several pages, mostly static content, it's hard to beat plain old HTML with maybe a light sprinkle of JS for a couple things.
The fact that Spartan treatment of the Helots was considered abominable by other slave-owning states of the time should reveal how bankrupt the Spartan system was.
They absolutely care. If renewable energy catches on, the values of their oil reserves will plummet. That's why they continue to fight against any reduction of emissions.
Funny thing: in the last couple years I've seen way more back buttons broken because of backend idiossincrasias than anything else.

It is super common to see "Don't use your back button" messages after placing orders on e-commerce websites.

On the other hand, most frontend developers writing SPAs just use react-router or something like that (instead of reinventing the wheel) and it just works.
My point wasn't the money being spent is being wasted. It was that when nature decides it's time for change, all the money in the world isn't going to make a difference.
I am not saying that. I'm saying that considering the government to act only violently is a gross mischaracterization of reality such that even if you define things such that it is technically true, it is not a useful position to take.

My government has never forced me to do anything with a threat of violence -- I have been threatened with different manners of obvious inconvenience, but if that is no more acceptable to you than an actual threat of violence, then I'm afraid that is an unproductive, reductive, and uncompromising opinion.
Sounds like someone is going to have to build a network of depth chargers :-)
What does your react setup look like?

Do you use webpack? Just babel? What about grunt/gulp?
How often do these things change? If you left your project for 12 months, would it still work?
Personally I'll put off upgrading my iPhone as long as possible just so I can keep a headphone jack. I listen to music on the phone, I hate dongles because I lose them, and I have headphones that cost more than the phone did.
> come out