skysight-inc/HackerNews huggingface dataset:
> Would Wordpress have chosen PHP if they started today?

You could replace "Wordpress" and "PHP" with whatever you want, depending at which point in history this comment is made.
I got 8:2 in my favor... It might have been luck but I think I could tell the signs of the machine-written bits. Sometimes it was a small grammatical detail that I thought a pro writer would take into account, other times when it was inference on content, where I did not think Goop would write about that.
Unfortunately the important people are not paying attention to these warnings. Scientists have been warning for more than thirty years now. Almost nothing happened. We haven't even managed to get the second derivative of the CO2 concentration to become zero, let alone negative.
Increases the chance of bringing covid in earlier and thus passing to residents
Neumann accuses SoftBank of abuse of power over WeWork deal
Don’t forget Grape and Sinatra. Plus Hanami 2.0 is around the corner and Hanami-API has fantastic performance on Falcon.
I got back into web development in the last year or so. Previously I did mostly Python/Django and then 5 years of something unrelated to dev. Now I'm working in a fairly typical PHP/Wordpress mixed joint, and now I understand why PHP has the bad rep - because it allows/tolerates/even encourages bad practices (and beyond the usual "shoot yourself in the leg" we can see in other popular/common languages). And I guess that is one of the reasons why a lot of libraries/plugins/php code out there is simply bad. For example: Seeing heavy mixing of PHP code and HTML output in 2020 is a horrible sight for me (and it's waaay to common in what I saw).

Of course you can write good code in modern PHP, but you can write really bad stuff too - more (at least imho) than in other popular languages. And then the whole ecosystem "drags you down" and gives PHP a bad rep -> but I don't think it's totally undeserved.

On a similar note, this actually compelled me to try Rust/something similar instead of just going straight back to Python (which I still love tbh).
It's certainly more ready than a custom hacked-up database which has data corruption even on my own laptop.
Whether you like or hate PHP, it has achieved something that no other language has done - made it easy to host a dynamic website or app on the server. Other languages may claim to be 'web-friendly' (e.g. Python, Ruby) but when it comes to ease of deployment, they are anything but 'web-friendly' or easy.

This is what programmer and blogger Jeff Atwood - who isn't a fan of PHP - has written about PHP:

"If you want to produce free-as-in-whatever code that runs on virtually every server in the world with zero friction or configuration hassles, PHP is damn near your only option"

He wrote that in 2012. It's 2020 and I can't think of any other language that has caught up with PHP's ease of deployment. If you want to get your customers to self-install your software as painlessly as possible, what other language can match or exceed the ease of deployment of PHP?
Is there a way to do unlinked forks? Or is it impractical to obfuscate code?
Sorry no - I work on enterprise websites for a very big brand and the process is a key part of the product - liaising with European developers creative agencies in the UK / US and the brand and ourselves is a key part.

Unfortunately a lot of the big name consultancies and agencies are terrible at written communications and quite often farm out work to what appears to be interns with poor writing skills and very little knowledge of the web.

I got sent a scrappy unformatted PDF yesterday that if I had delivered that when I worked for British Telecom would have got my appraisal marked as needs improvement (the first step to a PIP)
In this case I have been writing a lot of Java in the last few years. Nothing wrong with it, all the extra parentheses made it pretty good.
> There is nothing new or revolutionary in PHP7, just adopting features present in other major languages.

There is nothing wrong with that. Java also follows that philosophy.

> Would Wordpress have chosen PHP if they started today?

According to Matt Mullenweg: no, but does it matter?

People do start new PHP projects, and people use old, but still maintained PHP projects.

If you're looking for shiny new things, look elsewhere. But you don't have to take away the working, well-known "old" away from others.
Most webhosts provide some kind of support for containers don’t they? Perhaps I’m completely missing the point here? I’ll readily admit that Im young enough to have used docker to deploy apps nearly everywhere I worked. Is php useful for ultra low cost websites? Is it low maintenance? Is that the appeal? Genuine question.
Can Computers Learn Common Sense?
The software engineer is the worker of the 21st century. In many organizations he/she is at the bottom of the pyramid. Some organizations like to insist on that point. Take it or leave it.

[Edit] try replacing software engineer with teacher, nurse.
Fascinating. The head of the worlds most powerful and extensive intelligence service, and largest and best funded medical agencies justifies his actions by saying some random journalists didn’t know any better either? And you blame the journalists for calling him out on that?
"Wow. Do you mind if I call in our resident have a look at you? This is a great case study."
> Having Google/Apple develop a tracking technology is the same as the US government having it.

This is why you want an API that never uses any data you don't want anyone else to have. That's what this API is.

The "trust" here isn't about whether they'll keep your data safe from third parties including state level actors. Your "trust" only needs to be that the API does what it says on the tin.

Which leads to this conclusion: either you A) trust this API to be what it says: something that doesn't ever deal with any sensitive data. Basically an exchange of random numbers.

Or B) you think that there is something nefarious here and the API might associate who you are or where you are, and store or distribute that data.

If it's A) then you should be fine. If you think B) then you shouldn't use a phone from Apple or Google. Because as far as you are aware, they share your location and personal information.

As far as integrity goes, I can't see a situation where you would both accept running an iOS or Android phone but at the same time avoid apps with this API out of privacy concerns!
The anti-malarial drugs are not all the same. I've taken hydrochloroqine a few times without much side effect. Mefloquine is on a completely other level, at least for some people.

One of my closest friends from university was also a work colleague at the time he went on a recruiting trip to India and his travel doctor prescribed mefloquine for him. It's standard practice to keep taking the drugs for some time (2 weeks, IIRC) after leaving a malarial area, and he was noticeably mentally altered when he returned. He seemed uneasy with his eyes darting around, and he wasn't his normal outgoing self. He seemed a bit paranoid. The incident that brought it all into sharp focus involved a couple of colleagues that were your garden variety gossipy braggarts and I had a minor disagreement with one of them that we resolved quickly, but which prompted my friend to whisper to me "You don't get it. They're not good people." He gave me a look like I was the crazy one for believing the minor argument was resolved. (On the one hand, he was right. I would never trust the one any further than I could throw a fully loaded server rack. However, I still smiled, remained social, and watched my back.) I googled [mefloquine paranoia] and went down a deep rabbit hole. I found out that mefloquine has been suspected in several incidents of peace-keeping troops getting paranoid and attacking unarmed civilians. [mefloquine "freaky Friday"] or [mefloquine "wacky Wednesday"] may be a better search. Also, at least at that time, several sites said that if you had ever taken mefloquine in your life, you were ineligible for one of the front-line malarial treatments should you ever contract the disease.

Due to his mood changes / paranoia, I strongly suggested he talk to his doctor about coming off of his medication after just one week back in the U.S.

> 100F+/35C+ temps

Note that 35 C is below normal body temperature. 100F ~= 37.8 C. I used to donate plasma once a month back when I lived in the U.S. (I'm fortunate enough to not have cytomegalo virus, so newborns, chemo patients, HIV patients, etc. can receive my blood.) My body temperature for my pre-donation check-up was typically 35.8C/96.4F.
In my new job I do a lot of writing; documentation, architecture (ADR's), and lots of details in the user stories themselves - although those are mainly for myself.

But I have a fear. What if nobody bothers to read it? What if they start reading it but just glaze over because of the sheer volume of it? I mean the ADR's for example are a lot of 'internal' musings that I've considered.

I am a solo developer on this project at the moment (my colleagues do other stuff), so I've got nobody to check my work either.

At my last job, my colleague just said to not bother (we were err, very different personalities in that regard), it's wasted effort, I'm not going to bother reading it, just show me how to start it then show me the code. Which I guess works in smaller codebases in easier domains, but this won't be one of those.

Is there a similar article that emphasizes that people should read other people's writings?
Looks really nice, I'll be sure to try it out!

For people interested in this, there's also a recent project https://github.com/overtone/overtone which looks similar, using Clojure though (which seems to deem itself better to live programming).
For me the walled garden of iOS attracts me to the platform. Its apps are relatively safe, stable and curated. Sure, these restrictions might suck for you as a power user. For me, someone who makes phone calls, chats with family, takes pictures and reads the news this is just perfect. I don't need to think a lot about security because the platform thinks about it for me. For you it feels like prison, for me it feels like one thing less to worry about. For you it's ill-designed, for me it's designed for me the consumer.

I'm curious what your definition of robust is.
Sam Aaron [1], the creator of Sonic-Pi, just released v3.2.0 [2].

I've only played around with Sonic-Pi a bit but I find it exceptional. It has the sound quality that I would expect from a more professional tool while still being accessible to the beginner and being programmer friendly. It's also completely free/libre/open source.

There's a good community over at the discussion forum `in_thread` [3]. Sam Aaron also has many videos of him practicing, live streaming, etc., complete with code in the background to see what he's doing [4].

I'm a bit light on the details but I think Sonic-Pi uses `supercollider` [5] "underneath" as the audio synthesis engine.

I've heard that Sam Aaron offsets some of his income by doing live gigs and talks. COVID-19 has put a damper on that so I would encourage people to donate to his Patreon [6] if they can.

[1] http://sam.aaron.name/

[2] https://in-thread.sonic-pi.net/t/sonic-pi-v3-2-tau-released/...

[3] https://in-thread.sonic-pi.net/

[4] https://www.youtube.com/user/samaaronuk/videos

[5] https://github.com/samaaron/sonic-pi/wiki/Sonic-Pi-Internals

[6] https://www.patreon.com/samaaron
Most of the time you do not chose a language or ecosystem because it has some cool syntax or some new feature. As an example if you need to do X you look at what solves X the best, if I can do X by installing say ffmpeg and write a bash script I will do that and not cry that bash does not have some cool feature.

I think languages like PHP, Java, C++ appeal for people that solve hard problem where the fact that you have a giant ecosystem of existing libraries and a large number of existing developers compensates the fact that the language is not "cool" or is missing some feature that you probably don't need anyway or workaround it with a library.
You’re missing the point:

- AppStore or not, you should not be able to access this file in an app. The exploit (plist parsing bug) is about breaking out of the sandbox and getting the permission to access system files (and much more!).

- Also. There is nothing stopping someone for using this technique to publish an app in the AppStore officially.

Or maybe I should have said “was”. Best case scenario Apple would retroactively check for naughty plist files in Apps submitted to the AppStore present and past, and ban developers that used the same hack. That being said, this is reactive and the damage would already be done.

This hack is not using a private API or doing something that Apple would have caught during App review. Even the system file path could be obfuscated (or downloaded from Internet later on).

So “don’t install apps outside the App Store” did not really help in this case.
We open sourced our Instagram Filter with 20M impressions
thank you for the links. I learned a lot !. But there's gotta be a better constant than other currencies, following this logic as long as other countries pump a proportional amount to the US, there will be no apparent inflation
Fascinating.

I once built a cloud-printing app (free printing in exchange for banner ads printed on the pages) and for an initial launch, we installed printers loaded w/ paper across a university campus. A Japanese friend recommended and even sent us paper from Japan (can't remember the brand anymore) to use because he claimed it was some of the thinnest industrial-grade available and this would help us maximize the paper capacity for each printer.
Dsadsadas
What if there's an R?
I remember reading about Ghost.org team members saying that if they had chosen PHP instead of Node.js when they got started, they'd be much further along in their roadmap [0].

PHP has a reliable ecosystem of 3rd libraries with LTS releases. I am not aware of something like Symfony [1] for Rust or Go.

[0] https://www.indiehackers.com/podcast/007-john-onolan-of-ghos...

[1] https://symfony.com/
Oof. Yeah, complaints about other people - if they are NOT formal - should not be in writing in the first place.

If you're making a formal complaint, by all means. But otherwise, treat it like you're posting it on the internet for everyone to see.
Oo! I will maybe check this out. I've explored Supercollider and thought that was v interesting, though a bit tedious to jump into actual music making with for me personally.
> PHP's raison d'être remains its ease of getting an instance running on a webserver. But with fewer people self-hosting these days, that has become less an advantage. And even for those who do self-host, the advantage is becoming narrower as other languages have made it easier to distribute their web applications.

And if you are doing something moderately complex/serious/modern you probably need/want composer anyway - because uploading all of the million files via FTP is cumberstone (let's not even get into the versioning/modern deployment practices). Then you are at shell already and not that far away from other language deployments.
Oh, the main contributor to Overtone is actually also the main contributor to Sonic Pi!
Yup, that's the downside of modern day internet culture; even as a software developer, my main and most used skills are reading and writing. And with reading, since there's so much of it people end up skim reading / skipping.

Once upon a time I was on an internet forum and I would read each and every post. Nowadays, if it's longer than a paragraph long and not by someone I care about, I just glaze over - I can't be bothered anymore. Mind you, having less time for that kinda thing also doesn't help.
PHP, Python and Ruby all feel to me like last-generation languages. IMO we should be building new frameworks on modern languages that support concurrency & static typing. The most promising new stack I've seen is Kotlin's KTOR framework. Thanks to the expressiveness of Kotlin it's not really any more verbose than something like PHP or Ruby but it's far more powerful and robust.
Active Machine Learning with PyTorch
Nah. The JVM must go; we have Docker and the universal platform are Linux ELF binaries so the entire "bytecode" concept makes sense for the compiler (i.e. LLVM), but no longer at runtime. It's just bloat.
FYI, folks have forked fast_jsonapi to https://github.com/fast-jsonapi/fast_jsonapi as the Netflix repository has been mostly inactive recently.
- Oracle is offering a free certification at the moment (https://www.oracle.com/au/education/)

- Unity Premium Learn free during covid19 (https://unity.com/products/learn-premium)
For us techies, no, it doesn't really matter.

For average business owners who buy a WordPress template and some 5€ hosting in order to set up a business card web site on their own, on the other hand, it matters a lot. So if your project targets that group of people then PHP is pretty much the only option; anything more complicated than an FTP upload/MySQL import is pretty much to advanced for them and they generally aren't interested in learning new skills just to get a web site online.
Agree that PHP, Python and Ruby Web Frameworks lack modern features. Have you tried Elixir + Phoenix?
Some people in government want the government to succeed and make people's lives better. Some people in government want the government to fail in all ways besides keeping them and the people they like safe so they can personally benefit and pocket the tax savings on top.
Thank you! Right now I haven't planned what kind of information exactly I am going to provide for subscribers yet. However, I am thinking about creating some useful information about saas product creation not only from design perspective, but also from development, maybe update subscribers about new listings added (Although I think this would be little bit bland), also there are some ideas about growth case studies. So there are a lot of things and I will try to experiment and see what people who subscribe really like.
It would have worked and passed through the App checks. It’s not like the App is using private APIs.

Now that Apple is aware of this class of bug, they may add automated checks to the plist files containing a super strict XML parser.
Just since you took the time to update your previous comment: I think the current situation is not that bad. People who particularly care about this release might end up on this page anyway (e.g. because they submitted it themselves), and can still discuss it, see the relevant links posted here, and discuss the diff against the RC.

Thanks for the moderation work.

Edit: Also, I hadn't seen the comment update you posted the last time:

> That makes this post a duplicate by HN's rule (see [2]). I won't bury this one, but when this comes up again in a few weeks, let's not have a third thread.

I wasn't aware of this, or I wouldn't have reposted. Sorry!
-I'd be surprised if some unknown exploit was being used to gain access to Bluetooth - basically, it would probably be too useful for other, more nefarious purposes, so it would be unlikely to be used in an app deployed to millions.

The Norwegian NHS equivalent had a similar app developed, running off-screen on both Android and iOS, using Bluetooth - though I have no idea how they pull it off.

Edit: The above paragraph is incorrect; my apologies. I did some research and found that the app only uses Bluetooth on iOS when the phone is unlocked; however the app itself may be off-screen.

While the phone is locked, it relies on GPS for positioning and presumably correlates location and time data to indicate whether you may have been exposed to an infected person or not.

Irrelevant anecdote - as I am typing this, Spotify put on The The's 80s hit 'Infected'. Hah!
Did you actually read the article or just the headings? Any features that pre-date 7.x are discussed as being 5.x features and, where applicable, the author expands on how it's been further refined / improved upon in 7.x releases
Altria owns a 35 percent stake in them, so their interests are definitely aligned.
>If you want to get your customers to self-install your software as painlessly as possible, what other language can match or exceed the ease of deployment of PHP?

Anything with containers. Docker was a real game-changer here.
That’s why the government provides drug research grants and 20-year drug monopolies (aka patents)
Meanwhile JavaScript/ECMAScript's syntax creep is turning it into PHP.
I suspect there's just not enough jobs like that (most is low-margin consumer electronic crap), hence there's little competition (in terms of throwing money at people) for the best people, and the salaries for that skillset don't rise. Meanwhile, all the corporations need millions of Java developers to work on important projects and it creates enough pressure on salaries.
If you're starting with WebDev in 2020, choose Go or Rust. Concurrency & safety + simple deployable static ELF binaries > weak typing and legacy bloat.
For Win10 Home this works: https://sourceforge.net/projects/devwarningpatchgen-bat
Lake Agassiz and Lake Missoula were glacier-dammed lakes that periodically overflowed the lowest sill of their basins to cause massive floods. Lake Agassiz is thought to be responsible for the deeply incised Minnesota River valley.

The shifting of glaciers and the ice sheet altered the effective relief of the basins over time, so simulating these lakes today takes a lot of work.

In the Great Basin, away from glaciers, Lake Bonneville and Lake Lahontan were the largest lakes that formed during a colder, wetter time, as endorheic valleys filled with water and repeatedly overflowed the lowest sill of their basins. Lake Bonneville is thought to have overflowed the outer edge of Great Basin itself at Red Rock Pass near Downey, Idaho; eroding the gap and releasing a huge flood into the Snake River basin.

Because a moving ice sheet wasn't a factor in their case, DEM shading can be used to approximate their overflows. This doesn't account for isostatic rebound or tilt in terrain, but gives a visually enlightening approximation, and lets one interactively explore how these outflows may have worked.

One can shade a topo map of the Great Basin at 4785 feet -- today's elevation of Red Rock Pass -- to approximate how Lake Bonneville's floods may have worked. Or, shade at these key sill elevations, in feet, to see how Lake Lahontan may have outgrown one valley after another: 3878, 3933, 3976, 4154, 4180, 4301, 4386.

Example with Caltopo at 3976 feet: https://caltopo.com/map.html#ll=40.28729,-118.02612&z=8&b=t&...
Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learning (https://arxiv.org/abs/1709.00103)
I'd add https://boomkat.com/ to your list of options.
A beginners guide for Arduino with cool project ideas
Bad analogy. the difference between 800m and 1b is 20%. The difference in energy between 50 and 80 is 156% (kinetic energy is relative to velocity squared).
Thanks for your work on Caddy. I've been using it since 2016 and it's served me well over the years.
PicromaPlasma in Blender 2.8
OnePlus 8 Review
I wrote a blog post on a similar topic that goes into a bit more detail in some areas: https://adrummond.net/posts/macho There have also been some significant changes since 2014.
Yes it matters. This is often unessecary maintenance overhead.
Ask HN: What's your preferred technology for secure stateless back end in 2020?
The thing I hate about php is the inconsistency and unpredictability for new-to-php developers.

camelCase? snake_case? nocase? Who knows what the global function will be.

And who knows what order the arguments should go in. Sometimes the array is first, sometimes not (in array iterating functions like map).

The thing that got my goat the most however was that referencing an undefined variable merely caused a warning, but referencing an undefined key in an array borked it.

And what's with arrays and maps being the same thing?!
Better Content, Technological Advancement to Drive Video Streaming Market Forwar
Sharing data without user consent: bad idea