skysight-inc/HackerNews huggingface dataset:
Jeez, the hoops people will jump through just because they can't program!

Reminds me of the intricate machinery people build out of Excel spreadsheets and PowerBI.

P.S. I'm only half joking.
If that was only in the US or other wealthy economies, maybe. But they're an international company. Some of those rides are in places where a $2 increase doubles the price of the ride. I think it would be more revealing to compare with their total receipts and see the % change that would be required.
> That said, we wish the App Store offered a better solution than what we had to settle with; we'd much rather people know up-front the business model than download the app, be surprised, and possibly leave a negative review.

GP here. I was indeed surprised after downloading the app because the business model was not known (I didn't leave any reviews though). I haven't purchased the previous version and have no experience with the app.

My issue is not about your business model in that comment, but with the App Store description not saying that the application is usable only by an in-app purchase. I wouldn't even have downloaded it if that were clear. You should update the description to make it clear that the app is completely useless without buying an in-app purchase.
Do you have a staging enviroment you can use?

As others said, vscode with php extensions works quite well (you do need a local php install for intellisense to work iirc?)

As for migrating. I wouldn't aim for 8, that's a hell of a jump to make from 4/5 and just getting to 7.x would give you a few years of breathing room https://www.php.net/supported-versions.php .

First goal, get it working on 5.6 without any deprecation errors or notices, that's a good basis for a "legacy" codebase to be on.

From there, the hop to 7.x is mostly changing any mysql_* calls, avoiding the short tags (use `<?php` instead of `<?' and a few other things found by looking at the migration notes here https://www.php.net/manual/en/migration70.php (other version notes available from the menu on that page).

As for tooling, Rector, phpstan and Psalm might be helpful, but might be more trouble than their worth if you've only dipped your toe into PHP development. Rector can do automated refactoring with some code (helpful for the mysql_* function removal/replacement with mysqli_* for instance). phpstan and psalm are static analysis tools that can help find problems or issues with the code.

Final comment, make sure this is in version control so you can track any changes made and have known working versions.
Bringing rich and real-time infrastructure monitoring to Netdata Cloud
Hey, if this is your experience, then I suggest you take a step back and look at the world outside of academia a bit more carefully. I was a naive post-doc and wanted an academic job, but soon realised that it wasn't going to happen without years of hanging round in crappy roles. So I got out and didn't look back. I can assure you, there are plenty of "normal" jobs out there where people _will_ care about your PhD and the skills you learned while getting it.
And other programming languages get away wihout overloading the term.

It's not an excuse for slacking on language design.
Of course, that's why the list is sorted, he might never make it pass 1 :)
How so? That sounds weird.
Often this feel is based on past mistakes made. In this case a mistake would be a well intended law overturned by the courts.

Intuitively I feel like mistakes would be repeated on a longer time scale. So someone who remembers what we did 15 years ago would say “let’s not waste time on this, it hasn’t worked in the past”.

You can still learn with 10 year term limits but then you’re doomed to repeat the same mistakes every 10 years.
Web development for me. It’s the most logical layer based editor I have ever used.
Very interesting experiment, included the use of quite a bit of engineering to simulate exposure to the virus.

My question after reading it was: the recovered viruses (even those that passed through) were able to infect Vero E6 cells, but would they be able to infect animals, should they get exposed to the recovered virus? Vero E6 cells don't have physical barriers (nose/mouth) or an innate immune system.

EDIT: the reason for the question is: is the virus that "goes through" still enough to infect a person, or would it get stopped by the aforementioned obstacles?
I meant it more like "the period after covid started" :)

We are allowed to go to the office in the UK as long as it's been made "covid safe", even though the government recommendation is to WFH wherever possible, it's a suggestion not a rule.
Back in the day I worked in a dairy company as an IT guy. When the RFID antennas would need a reboot I had to go to the deep freeze storage (-40 Celsius), walk in with a ladder, climb the ladder, switch off and then on (IT crowd style), wait to see the green light bleeping, and then climb down and leave as fast as I could.
The whole thing would take 40-50 seconds (I was counting EVERY time). I couldn't wear gloves, because ladder/switch. I was wearing all other gear though. Touching anything (aluminum ladders get cold very fast at -40)(so are walls, switches, everything).
I did this process a couple of times wearing just jeans and tshirt. In that "less than a minute" my clothes would freeze solid, the wool was hardning and it felt like wearing a plank. Same with jeans.

In other cold related story, I was in a "cold country", out in the open, -25 Celsius, my phone rang, my gloves didn't have the electro-thingie so I couldn't "slide to answer" so I too my glove off, answered, talked for 60 seconds. Then I went to a warm pub, and after 10mins I could bend my fingers again.

Yes cold can .... you up badly in seconds.
I can imagine a few of these on the roof of a bar on a beach getting the sea breeze - possibly the vanes can be decorated too.
Would this even be a problem if we didn't tie benefits like healthcare to employment?

It certainly would take a lot of the administrative burden off startups and free up more people to consider starting or joining one if healthcare weren't at risk.
Vanilla discusses the merits of Strawberry.

Let me know when there's room for actually changing things.
Does it matter if you execute it only once per request?
The media industry, the advertising industry, the platform holder and the manufacturer are sometimes one and the same. And of course they're not separating those roles. Like Google protecting you from other companies' ads but not their own, or Microsoft pushing ads on an OS that you paid money for.

Lately I've really wanting to get into the phone/laptop manufacturing and OS development industries to design better ones that are designed to serve the user. Basically do what Apple does, but more honestly and more open source. No walled garden unless the user wants it (because some do).

Of course I have no way to actually start doing that, and I certainly lack the expertise. It's not an easy market to enter.
Why is it a broken tool ?
When teaching mathematics I like to always mention that the greats like Ramanujan, while it seems like they just knew everything from pure thought, they all actually did a ton of work by hand. Ramanujan in particular is known for his fastidious notebooks calculating thousands of digits numbers like pi. From writing out the calculations for hours and days, he'd come up with simplification formulas and develop new insights. These days, we have a tendency to just look at the formula and go "wow, how the heck did the think of that?" Well, what we would call "busy work".

Do the busy work. Do the calculations. Write it all out. Nobody is better than the busy work: it pays off and it's how you learn.
Ask HN: How are Digital Nomads coping with travel restrictions?
Many countries have effectively closed their borders, by not issuing tourist/visit visas, or requiring 14+ days' quarantine, often at the traveller's expense.

What happens when your short-term visit visa expires? ... Get an easy extension? Register for 'language school' or other dodges? Suffer a month of quarantine for a visa run? Return to your home country?
That's what baffles me with PHP. Instead of building on PHP's unique capabilities, they try to become more like Java. When PHP was and is quite successful as server-side language for HTML templating, rooted in embedded PHP triggered from SGMLish processing instructions in otherwise static HTML. It's only that they made such a hack job without context-dependent, HTML-aware escaping, making it a primary vector for injection attacks.
What if everyone in the world went vegan? [video]
someone need to make a GPT-3 to ffmpeg commands converter
They might as well not exist
Bringris, a non-Euclidean falling block game
I use PHP for scripting in Windows, a saner language is not needed for that, in many ways PHP is saner than scripting options included in Windows. It is a good enough product for that job. I can also quickly create a few minimalistic web pages to simplify some of my work, the other languages are an overkill in most of my use cases. There are other reasons to use PHP than what you listed.
I've spent a lot of my career updating/fixing/replacing aging PHP apps, so here are some pointers:

0. Ignore PHP8 for now. There's much more community support for PHP7, so fix it up to work on PHP 7.4 first.

1. My first task is always to use a code scanner to test if the codebase is PHP7 compatible (or PHP 5.6, or the next version on from whatever you're running). See https://blog.fortrabbit.com/php-testing for an incomplete list (I've used others but haven't got my bookmarks to hand). You'll get false positives but also a good feel for whether there are serious issues.

2. You don't say if it's a CRUD app or an API. If it's the latter: set up a PHP 7.4 box (with a copy of the datastore) and route all traffic to the current production box and to the copy. Save the responses from both and compare they're the same. A simple way to see if the app will work on PHP, and when you find something that's broken, you can fix it, reset the logs, and try again. Hard(er) to do with CRUD, but I have compared the datastore contents before to check they're the same.

3. Needless to say, stick it all in source control if it's not already.

4. For your own sanity, run a code formatter over it if the code is messy.

5. I like PhpStorm as an IDE. It's not free, but the intellisense and refactoring support (and the built-in debugger) are timesavers.

6. Assuming it's not global variables everywhere, that they've used functions/classes(!), then as you fix bits of the code rename the single letter variables and add comments. PhpStorm can refactor variable names, so you see what will change before it happens.

7. If the code's using mysql_* functions, which aren't present in PHP7, there's a shim to make them work: https://github.com/dshafik/php7-mysql-shim

8. Good luck! I like unpicking codebases like this and keeping them running. As a sibling commenter has said, it's an internal system so assuming staff are not going to exploit any vulnerabilities or you have guarded against those already, there is no problem keeping it running internally as-is. So long as you can still recreate the VM from scratch (I have had old packages disappear - now that makes for an interensting disaster recovery plan) and reinstall everything you need should backups fail, you're okay.
And yet people drive cars that need to be serviced etc. out of action for hours at a time.
You should try coming to Europe.

I have repeatedly had to tell recruiters that no, I am not adding a picture and date of birth to my CV.

They were completely baffled by the concept.
It's a blessing and a curse.

Drupal 5/6/7/8 intentionally broke backward compatibility between versions in order to move the architecture and the feature set forward. The net result is that they are now at a point where Drupal could drop PHP 5 support. They also moved towards modern PHP / coding practices over the past years (Not invented here -> Proudly found elsewhere, composer, PSR's, OOP,...).

WordPress stuck with preserving backward compatibility and so the core API's have never seen a fundamental breaking change between versions. New features have been tacked onto what was already there over time.

I have kept a personal WordPress blog since 2005 and I have always been able to easily update things without migration pains. Of course, I run a minimum of customized code (beyond a custom theme that is). And I suppose YMMV and you still might have a different experience, if you did heavy customization through plugins, heavily leaning on WP's core API's.

Drupal? Totally different experience. Breaking changes and fundamental alterations of the database schema have been par for the course. I've seen 6 month long migration projects to migrate crucial enterprise data between versions. The PTSD of migrating from Drupal 6 to 7 to 8 is real.

Then again, WordPress and Drupal are different tools despite a significant use case overlap. I'd be weary to use either Drupal for a simple blog, or WordPress for an intricate, tailored back office application. I think they are both designed to do different things all together.

Having said that, it's worth noting that the Drupal project is very aware of past pains. One of the big goals of the past few years was working towards avoiding big breaking changes between major versions. It is purported that migrating between Drupal 8 and 9 is far less painful. Of course, it remains to be seen how that holds up in the long term.
I logged in on my phone to tell you this is based.
Yeah I agree it works, I have experienced the same and been on the good side of it in orgs where I got promotions faster than the remote folks.

I'm currently working mostly remote and even though I am in the senior management team in the firm I work for I've noticed people are treating me slightly differently; even though I am sticking to my guns because I am relatively high risk for COVID.

I also let my team decide whether they want to work from home or from the office (as long as they can get to the office without commuting) and I've noticed the more junior people are keen to keep coming into the office.
Also generations of hardware matter - earlier GeForces and Intel CPUs have a worse encoding block than newer generations.

In any case, they massively lag behind software encoding.
VBA or Excel formulas are responsible for at least as much.

They're actually great technologies, but for a very specific scope. Once you're outside of that strictly restricted scope, they're objectively horrible from an engineering point of view. The standard example is building a database with Excel + formulas.

There is a point in this whole thing. Some technologies should whither and disappear, slowly, over time, so that better one can take over. Or they should remain in their very narrow niches. For PHP I'd venture that it should remain a language for hobbyists creating personal home pages.

Related to this, standard, fixed column, steering wheels also were probably responsible for hundreds of billions of dollars of turnover globally.

But I'd still want my car to have a telescopic steering wheel, airbags, and all the modern safety features you find in a car.

The old school fixed column steering wheel should only be seen in museums or in classic cars out on the road with a special license.
It's an anecdote which could be completely fabricated, I'd expect it is since the source seems to be a book where it is mentioned as story with no names.

If anyone has some kind of study or more concrete example, I'd love to hear about it.
European Portuguese to Brazilian Portuguese? Or translate to any other language?
"so, instead of having us train and produce capable researchers, even if they don't all get faculty positions, you would prefer we cut their numbers?"

Instead of training and producing large numbers of capable but underemployed researchers, I would definitely spend more on permanently employed researchers. I am certainly not advocating one student per permanent position: some of those excess PhDs will go into important roles in industry, but most will not:

https://theconversation.com/young-educated-and-underemployed...

I might spend more effort on practical Masters degree level education which can fill roles where a PhD really isn't necessary.
I am sorry, I was trying to make a lighthearted joke but it must not have come across this way. I have removed the joke.

> People paid directly for Google music

In the case of many people they were paying for Youtube Premium and got Google Music for free.
Attach those digital wallets to biometrics and just like that, we have the nightmare to which you are alluding.

Going against the zeigeist again but if something gets pushed onto us for something silly like "pandemic preparedness" or "contact & trace" like 9/11 has brought onto us...that offers identity management that can be expanded into a system like this...

If that happens, can we please stop pretending like something about biology and infectious diseases has fundamentally changed because of COVID for a second and get back to our senses...

We as a global society are clearly prone to collective hysteria whether we have been brought here by a series of unfortunate events and coincidences or by malice pushing their agenda.

Science loves being proven wrong, science loves getting to the bottom of things. There is nothing wrong with worshiping science but scientist worship is a part of it. We are all humans with our egos, trouble admitting being wrong, or simply personal gain from acting a certain way. Many of us just go with things to fit in, or have a career or just to make ends meet.

Numbers can be fudged. Everyone should have the stance of "show me" before believing. And you can't just take what media shows you at the face value. Reenactments, B-roll footage, the whole thing is a lot less "real" than we are lead to believe.

It is not a pandemic if you need to be told it is a pandemic.

You are losing your rights and freedoms because people are scared.

If you were alive during 9/11, doesn't this feel eerily familiar?

Doesn't it feel exactly like it feels when the second plane hit on 9/11?

Scare me and take my rights and freedom.

Can't you see people have the same emotional reaction when you try to get people to question the official COVID narrative that you see when you try to get them to think outside the official 9/11 narrative?

We are a lot less free now than we were before 9/11. And we are not any safer.

The same is about to happen if not happening right now.

We are all being played. Open your eyes and question even the sources you trusted for years. Just because your views aligned with a source for years doesn't mean they are on your side. They can be fooled too. This isn't about intention. We are all human. We are all fallible and this is about to get worse unless we all open our eyes and stop repeating the narrative the media is feeding everyone.
Where are you living where state taxes are remotely comparable to federal taxes? State taxes are chump change compared to federal, and federal is what generally pays the bills you actually rely on.

Capitalists need to stop crying and find decent businesses to build. The benefit of being in a capitalist society is that nobody deserves any fucking tears when things fall apart.
anybody ever tried to reverse the protocol and shim the server ?
Yes I agree with that.
McDonalds is in the real estate business (letting buildings), fast food is just a side order.
> Burning subtitles into the video implies re-encoding

In principle, would it be possible to only re-encode the macroblocks affected by the subtitles, leaving the rest of the frame bit-for-bit identical?

It's been a long time since i read a video encoding specification, so i don't know if things still work this way.
Brad has a page about his SF publishing on his personal site [1]. He says that it is still possible to get the CD-format anthology that includes the hypertext version of A Fire Upon the Deep by joining the EFF. More details on the page.

[1] https://www.netfunny.com/hugo.html#get
Does it matter what platform it is build on?
OT, I hope you don't mind me asking, how does this work out for you? I have some reasons to consider moving to Finland but the language barrier seems very rough. Is it even possible for the average hacker to get by with just English?
In addition:

- Make sure you have version control. So easy to do these days, so often forgotten.

- don't think that the steps above must be done in order, right now.

- dkarlovi mentions tests. Start with 1.) smoke tests like simple selenium tests or something like that. You'll find lots of vate towards it if you look and I admit it has issues but for simple projects like this that doesn't change much it should be fine. Of course of you find something better use that.

- one of the most important things about a good IDE is being able to refactor confidently so you can rename variables to something reasonable as you figure out what they really are.

- the book "refactoring legacy code" might be the best programming book I've read.
How is it a great fit for the web, compared to other languages? All its unique strengths (in this very narrow context) are being phased out:

1) It used to be loaded straight into the Apache process as a module, which made it very convenient to get started with but required terrible broken hacks to run multiple applications/users separated from each other in a secure way. But nowadays people are switching to PHP-FPM, which is the same approach used by Python, Java and most other languages.

2) Every possible extension baked right into the language as a global function instead of using namespaces and a package manager like other languages. But nowadays people use namespaces and a package manager, just like in other languages.

3) Templating as part of the core language (in fact the core language is a templating language) so you don't need a separate templating library like in other languages. But nowadays people use separate templating libraries, just like in other languages.
NT was being designed starting in 1988 or 1989. You don't change your character encoding throughout the operating system on a whim a year before release, though.
Meanwhile in academy everyone is complaining on the pressure to publish fast on expense of quality.... Maybe this judging on quantity isn't totally bad?
This has always been my own basic approach. I am constantly writing stuff.

More importantly, I’m constantly writing different stuff. I write about that here: https://medium.com/chrismarshallny/thats-not-what-ships-are-...

The iteration definitely helps me to be a better engineer. Also, pretty much every day, I start off with an issue ahead of me that I’m afraid of, and am not sure how to solve.

I often have several problems solved by 7AM.
Equator Aircraft, Highly Efficient Electric Seaplanes
There are more results on lcevc.org and more are coming out. Itself, LCEVC is agnostic to the underlying 'base' codec so it does enhance h.264, HEVC and AV1. Also EVC/VVC in the future, when they are available.
I know PHP is interpreted hence my comment "to have an IDE with a kind of "compiler"".

What I would like is an IDE experience: everything that isn't PHP8 compliant is underlined in red so I can fix the thing without launching the app every time and see if I broke something.
All companies do things for profit, that's their primary raison d'être.
Where are you driving where you get a substantial lean that's not a racetrack? I've not ever personally seen a motorbike that's at all leaned over.

Tesla already has recognized motorcycles for quite some time.
Cute toy, but the links right below the buttons are absolutely infuriating.
XAG webinar explores growing crops on Mars