skysight-inc/HackerNews huggingface dataset:
FTA: "I claim that PHP’s simpler “think; edit; reload the page” cycle makes developers more productive.

I agree wholeheartedly with this. I prefer statically-typed languages w/ a bit of local inference (I end up in java usually, but C# got it right) and I consistently see people in my world underestimate the edit/reload workflow. Even a small compilation step is enough to break flow and make development a chore, once you've worked that way.

As a side note: java not allowing signature changes and requiring a whole server restart is absolutely awful. It didn't have to be this way: the DCEVM[1] was presented at the 2009 JVM Language Summit[2], by Thomas Wuerthinger. He patiently demonstrated and explained how his work allowed for hot swap of arbitrary class changes, while the Sun guys sitting in the audience told him that what he was demonstrating was impossible. We ended up using the DCEVM for a long time, but as of right now I'm back to restarting my server when I make breaking changes. It's a funny world.

¯\_(ツ)_/¯

[1] - This is a modern fork of the project: https://dcevm.github.io/

[2] - http://wiki.jvmlangsummit.com/Hotswap
I wonder when we can start 3D printing our own resistors and transistors.
Seriously - I miss it as well. But my access patterns have changed as well. I spend more time on the terminal, and with autojump, the alternatives (with similar features) on Linux aren't really that useful to my usage.
>This is how I've felt about unions since the grad students tried to unionize at my university, and all the hard science grad students would have lower salaries if the union came to fruition

How would they know what their salaries would be if they chose to unionize?
Really cool, curious to see how hard it gets. Reminds me of college.
> It sounds like he didn't just ask for a contract change: He simply crossed it out and expected them to take it.

I believe that's how one typically asks for contract changes.

https://blog.pandadoc.com/what-is-contract-redlining-and-con...:

> The term “redlining” commonly refers to the editing and negotiation process during document and business contract management where contributors mark text and track changes collaboratively. As part of the redlining process, one party receives the document and makes additions or annotations, and the redlined text will appear in a special color so the other party (or parties) can easily track changes without needing to spend time searching for modifications.
I just mean there's a reason why one would work hard(er) even if one has limited faith in in-group mentality and peer approval/status, and that is building reserves. BTW, you don't need a lot of reserves.
brew info pdftotext

https://formulae.brew.sh/cask/pdftotext#default
We already have cheap "batteries" in our homes. Run the electric water heater when the power is cheap. Water in the tank stays hot for a couple days.

The only piece missing here is an internet-connected thermostat for the tank that inquires about the spot price for electricity and turns on when it's cheap.

The same thing applies to your HVAC system.
Kathryn Spiers did a man-in-the-middle attack on company property, like how some ISPs used to insert their own popups into HTML crossing their wires. Google tracked Spiers down and fired her for it, 100% justified. Separately, Google's hiring of a union-busting firm is fair game for disagreement, absolutely.

Also, I don't consider an employer having total visibility into its devices to be a power-trip. The onus is on the employee to keep their personal stuff out if they don't want it getting swept up. Of all companies, even Google couldn't design machine learning or quarantining sufficient to wall off personal data from company data inside someone's phone during their forensic prevention and investigation. So the legal department sure isn't going to promise they can unbake the cake that is your voluntarily mixed-use device.
A Note on Formal Specification for Programmers
Per title.
Do they still create new backend code mainly in PHP or have they also adopted other languages for new code?
It at least show that it possible to increase capacity if needed.

The issue with the way case number calculated is, vast majority of the people are either asymptomatic or only have mild symptoms.

How do you figure there will not be enough icu nurses?
I have no illusions I could easily create anything on the level of complexity of ITA (super impressive team/product). If I were to do this, it'd be a layer on top of some flight API doing the heavy lifting.
lib-ruby-parser: A Ruby Parser Written in Rust
Some people claim I live in a cave and green lights match the season. I just thought I'd play the part. Maybe I'll try red next week and see how that goes.

/s

Actually, I set my living room to red because that's my favorite. And I set my dining room to blue because eating is cool. And when you gotta go then just look for the green light in the hallway in front of the bathroom. And my office is definitely purple in the morning to show just how much I want to punch things because I have to work. It's pink in the afternoon because pink noise from the freeway shouldn't be limited to sounds.

At night I set all the lights to 15%. With the colors it's dark enough to not be blinded when I want some water from the kitchen but also bright enough to see the contours of the door knob or kitchen table or dining chair so I don't stab myself with any of the corners while walking blind.

What colors do you set your lights to?
Thanks, I will check it out!

I recently started working through Network Programming in Rust, but it wasn't as low-level as I wanted.

I am also planning to take a hack at the open source Illinois CS 241 book & course
It is good to keep in mind that this article is more than four years old. I would advise against Hack at this point since most of the good bits have been integrated into the main PHP release - typing is a lot more predictable and enforceable for instance.
I really like 441. It's simple and fairly easy, but has a really nice feel when you get it going. Like an asynchronous version of the box. I like doing the 4 throws as outside throws and then the 1 is almost a handoff in the center.

https://www.youtube.com/watch?v=71xgThS46bI
What did they do to fix it?
Sunsetting Faker
That quote wasn't in the article... I suspect OP was joking, but even if they had been given a massive discount, I'm sure the contract prevents them from telling anyone else the terms...
This looks a bit like MHRD [1] but with a GUI :)

----

[1] https://store.steampowered.com/app/576030/MHRD/
electrolysis, bitcoin mining (!), electric car recharging, etc.
To put lottery winnings in to context, the biggest ever lottery win in the US was $1.56bn, or approximately 0.84% of Jeff Bezos's current wealth.
Not necessarily. It depends on the combination of numbers (and the irrational number).
Subsidized polysilicon produced from coal in Xinjiang is a much larger contributor than the technology improvements.

https://www.pv-tech.org/news/wacker-chemie-blames-chinas-pol...
Google already will pay for you to have a separate corporate phone (the hardware and the data plan).
You prefer a system where dictators and authoritarians concentrate power and the populace has no means of even airing concerns, much less reigning in dangerous leaders???
Not even remotely. Batteries have some of the worst energy density both by unit of volume and mass https://en.wikipedia.org/wiki/Energy_density#/media/File:Ene....

Not to mention global annual battery production amounts to less than 1 hour of the USA's national electricity usage.
An example of what works written since your question: https://news.ycombinator.com/item?id=25281611

Clever, not at anyone’s expense and absurd to disagree with.
Interesting - so the airlines that didn't cancel just assumed that they were far enough down the list that Boeing would figure it out and passengers would forget? I'd be asking for a discount for sure - especially since commercial airlines are hurting for cash.
Some of my favourite courses of undergrad were Digital Electronics 1 and 2. How you can build everything up from nand gates is so satisfying, I’ve forgotten much of it now but this is bookmarked to come back to for posterity
They'd have to be retrofitted to be capable of loading and unloading cargo similarly to typical air freighters. The standard passenger entry/exit portals are not big enough to move large pallets on the plane.
That's why it's highly unlikely there was a civilization on the Earth before ours.
They already are. Most lithography processes are additive, including making the active components themselves (is some applications, not in general)
This is not a rare policy.... but they give you a work phone, and you only use it for work. If they don't pay you for being available after work, you turn it off after you stop working, and turn it back on in the morning.
Late to the post, but if anyone wants a good primer on Materialize (beyond what their actual engineers and a cofounder are saying in the comments), check out the Materialize Quarantine Database Lecture: https://db.cs.cmu.edu/events/db-seminar-spring-2020-db-group...
A new plane design takes years from inception to first revenue flight. Early development of the 787 started in 2003, first revenue flight wasn't until 2011. And then we all remember when it spent a couple months grounded in 2013.
The drawing of these numbers is under question, but you would expect a significant proportion of players to select sequences such as this, even if it's not in their best interests to do so.
Close I think - the best language to use is the one you will have the easiest time hiring good talent for. If you found a startup and all really love and are fluent in COBOL that's great but... good luck when it comes time to hire another employee.
r/askscience might be the closest one in terms of strict moderation and not tolerating off-topic/joke/anecdotal (or otherwise unscientific, obviously) stuff; you'll mostly find high-quality answers submitted by the verified panelists of the sub.
> Canada has bars, pubs, restaurants, with people drinking in them in public all the time.

Bars, pubs and restaurants are private places. Parks and sidewalks are public.
One of the funniest video on YouTube in my opinion is this 2007 demonstration of voice recognition on Windows Vista for Perl programming. The lad spends the first 4.5 minutes trying to enter „open (INFO“ before typing it out. Absolute classic.

„Thank you... delete thank you“

https://www.youtube.com/watch?v=MzJ0CytAsec
"the reality is that people are getting it from the same people they used to"

I've read that the Canadian government mandated that legal cannabis be limited in potency, so that in order to get high potency cannabis people are forced to go to the black market.

Could such potency limits be what's keeping the Canadian black market alive?
"For instance, 123 == “123foo” evaluates to true (see what it’s doing there?), but 0123 == “0123foo” is false (hmm)."

Can anyone explain this to me? I know if a string starts with the number, PHP takes the number part and throws the rest, so "0123foo" should be 0123 for the comparison, so why is that false?
My point was only that every President deals with litigation about the records placed in the Presidential Records Act. Obama was more progressive on this point (but was notably not progressive on FOIA requests). It’s effectively SOP for public records watchdog groups to sue Presidents at the end of their terms to ensure the Act is followed because its largely toothless without that action.
At this point they are in a corner, and from a corporate standpoint need this to compete with Airbus.

The length of developing a fully new aircraft is too long considering the competition, assuming you aren’t particularly passionate about safety.
Sound. Just being able to avoid the 737 MAX for the next few years would be welcome.
Who currently produce components that go into Teslas.
Edit: I was wrong. 0123 is octal, not decimal

[Incorrect original post: 0123 evaluates to the integer value 123]
I don't think they're obligated, but many airlines do. Changes do happen, though, so the plane listed at booking may not be the plane you fly on.
Privatizing the grid isn't enough to make it cheaper. The regulatory environment has to be set up to allow competition. It's competition that lowers prices, not simply being privately owned.
One of the potential benefits of improving the measurement of a "constant" is that you can now uncover fluctuations that were previously buried in noise. Not that I can think of a way of doing it in this case, but perhaps the spectra of distant stars might tell us something.
The joke is just a little too subtle if so lol (though perhaps how it ought to be), seen some really weird arrangements during this year
Gold, inflation-linked things like beaten down oil/commodity stocks, apartments in fundamentally different locations (preferably cheap), but also cash for deflation (or bonds, but bonds are really no longer a thing since covid put a final nail into the yields, imho). And it's all about % allocation. S&P500 is great if you use it right, besides most of us already have a large exposure to the "US stock the world beater superman" via engineer salaries.

Farmland would be perfect, but unless you're actually a farmer and know how to survive on your own this is simply not in your reach. I'm just a software guy, really like this profession, but doing software mostly precludes having the knowledge of a farmer.
I love how hard parts of HN falls into the never 737 hysteria, even though its less probable than dying from the nearest sharp object.
Norway's system of municipal hydropower ownership combined with export of surplus hydropower, effectively converts the (basically mandatory) electricity bill into a tax. Reducing the need for other forms of local government taxation, given that the municipality is well-run and not corrupt.

Beneficial side effects are incentivizing power efficiency, since capital-intensive efforts like insulating your house and installing a heat exchanger are only profitable if electricity prices are high.

Another dramatically undersold benefit is that Norwegian municipalities are effectively well-paid pumped storage operators when continental European power prices are low or negative, which effectively reduces the effective "synthetic" power bill taxation, while retaining its income to the municipalities.

Authorities and publicly owned power companies have really screwed the pooch on explaining these benefits to the public.

Given these benefits, retaining ownership of the hydropower companies in the hands of the public is super important. If they're sold to private owners, it's basically tantamount to allowing private owners to purchase tax collection rights. And honestly, screw that.
> Maybe they should have bit the bullet and fully redesigned the 737.

If I were the EU regulator, I would have forced them to... It's a great way to screw over Boeing (American) and boost sales for Airbus (EU), while having the fairly legit rationale that you no longer have confidence in the US regulator due to a long series of blunders, and you are not happy for a major new plane design to use a decades old type rating (and is therefore missing now-mandatory safety stuff).
Choose higher numbers as people tend to choose low ones

Also there's sites for picking numbers that others didn't but you still share the pot.
It's like someone took the maddening random guesswork user experience of mid-80s text adventures, mixed in mediocre speech-to-text and decided to base an entire product category around it. I absolutely do not get it.
China lands Chang'e-5 spacecraft on moon to gather lunar rocks and soil
The scale hasn't changed?

A thousand years ago there were numerous independent but relatively identical farms and towns, all facing a circumscribed set of similar problems. Life was simplier.

Fast forward and now we have the a limited set of large powerful nation states, and groups of nation states, centrally controlling finance/trade/health/education systems that are invented (by politicians and lobbyists!) as they go, and affect everyone.

Instead of many simple small similar systems we have fewer larger more complicated systems. More eggs in less baskets.

Some politicians in the U.S. decided in the 1990s to allow banks to sell securities, which resulted in an almost collapse of the worldwide financial system not twenty years later, millions of people drastically affected.

That was not possible one hundred years ago, because the world was not so complicated and interconnected.

Wouldn't you agree that the complexity has scaled up enormously? Or were you thinking of something else?
It’s hard for me to relate, because I just don’t see “edit; reload” as being that important.

I think the difference is I write tests. I usually code everything while writing/running tests. Then it always works the first time I run it, so there’s no need for “edit; reload”.
I did. Cheapest Mac mini. I saw some benchmark claims that someone tweeted and it pissed me off enough to buy one to test it for myself. because I kind of do reviews I was able to justify it to myself. My opinions are mixed. there are a lot of things that this thing just flies through.
I was originally looking for "old companies that currently work in tech", but even their original industry of copper smelting was pretty high tech for the 15th century.
My favorite irrational number is ϕ(1/10). Can you help me find (1; 2; 3; 4; 5; 6) in it in base 10? ;)

All normal numbers have the property you mentioned, and nearly all irrational numbers are normal, but there are some that are not.
Yeah seriously. The company I work for doesn't allow corporate stuff on personal phones, but they do give them to everyone who asks for them. It's pretty nice, you get a choice of android or iOS phone and they just ship new ones out directly from AT&T.

What would suck is if you're not allowed to bring your personal phone at all on campus. Then if you have to reach family you have to do it from your work phone.
Illuminating Conspiracy
But the integer part of the string "0123foo" is also 123
I'm not a privacy nut, but I am concerned about a company owning my ideas when I'm working on personal projects.

I'm careful about that.

Would that be a deal breaker even at a dream job, yes.
isn't that the game plan for hydrogen powered vehicles? so they can build a plan to absorb all these excess from over provisioning at a lower rate to produce hydrogen for their fleet
Ericsson was founded in 1876 and had a big part in developing 5G. Nokia started in 1865. There must be many 19:th century tech companies around.
>I’m trying so hard not to rant here

Not that hard, there's a bias showing.

First, those things you've mentioned are nothing to sneer at, are actual very good decisions (even if accidental) for a webserver-centric language.

They enable even naive developers to achive good scalability and isolation, and make fast development/debug cycles trivial.

Second, PHP has been improved by leaps and bounds from the days of 4, to the point of being a totally different language - all of the above points are already made in TFA.

Most arguments against it are moot today, or only apply superficially to the standard library, not the language (order of arguments, and so on).

Plus, it is speedy too, post 6, and especially post 7 (and there's a whole new JIT in 8). In any case, it has constant work on speed and memory reduction.

And of course it has a huge ecosystem of libs, projects, and frameworks, including not available anywhere else projects like Wordpress.

And the standard library (warts included) between JSON, DB drivers, LDAP support, SMTP, etc., is one of the most complete ones this side of Python, and perhaps even fitter than Python's for typical web development work.

Plus the deployment model is one of the best. Copy your files to a directory. Done. Add a redirect instruction to your server if you want to make it more fancy...

For third party libs, composer is up there with any major package dependency/install solution.

And for the core libs, plugins, etc installation is handled perfectly by the standard package managers in all Linux distros (and probably Windows too), and is even easier with MAMP, WAMP, etc for local development. Trivial to dockerize too if that's your thing.
There is absolutely no way Apple would build their own foundry. You are talking about a yearly investment of five to ten billion dollars, not to mention how long it'd take to actually make it production ready.

Technical problems aside, Apple's stakeholders would fire the entire board if they approved something like that.
I think it's the same problem as surveillance. When tailing someone required a substantial investment of an actual person's time and a wiretap literally required physical handling of the physical lines to that person's phone, it makes/made sense to give the police wide leverage in who they put under a lens because it required a substantial investment of time from the police in a way that was intrinsically limited and unable to scale to the population level.

Enter today, when nearly everyone can be and is surveiled with detail cops of previous generation could only dream of, and we're still dealing with those same laws, but we removed the unwritten premises that they're based on: surveillance couldn't scale.
I'm with you. 10 years ago I was doing moderate 'shell scripting' type stuff in PHP - if I needed to scan a dir, parse some files, etc. PHP seems usually far more useful than trying to shoehorn the problem in to bash. And... writing shell scripts in Java ain't ever going to be a thing.
0123 (octal) != 123 (int)
I'll probably maybe possibly get the second gen cheapest one too. It is certainly cheaper and smaller than buying other computer hardware out there and reviewing it.
Plus it's super powerful for a lot of things and I could just have it plugged in and stacked up in the corner and it could actually like do things useful things for me.
There was this ancient Flash game called "Engineer of the People" that was all about designing IC circuits (NPN and PNP junctions) in the Soviet Union for some secretive reason. I never beat the game and got to the reveal. IIRC it was by Zachtronics, the same guy that did Shenzhen I/O and infiniminer (the inspiration for Minecraft).
Not quite - 0123 is the octal value 123 which happens to be 83 in decimal. Numbers starting with a 0 in PHP are assumed to be in octal but I this isn't the case for strings[1] - to add to confusion "123foo" == 123 => true but "0123foo" = 0123 => false.

1. https://3v4l.org/hAoL2
> technological future

I presume you meant to put that in inverted commas, otherwise, very funny.
Does anyone have any idea how many daily "official" lotteries are drawn worldwide?

I'd guess something on the order of 1,000 maybe? (One per country, plus a bunch more for individual states within countries?)

I know they vary in numbers of positions and values, but I am kind of curious roughly how often you can expect a sequence of consecutive numbers (increasing or decreasing) to be chosen anywhere worldwide.

As an initial guess, if it's 5 balls drawn from 50, a thousand times a day, then it's something like a ~13% chance to happen somewhere yearly.

So since this is international news, and not the kind of thing that gets reported every year... it doesn't seem implausibly unlikely, no? (It's not like it's a once-in-a-millenia or once-in-earth's-lifetime kind of thing.)
Do you think two draws a week is a little on the high side or the low side?

The U.K. has 7 draws per week, and I assume the USA has draws in every state, so it could add up fast. I’m assuming most lotteries are weekly, but they could be much more infrequent.

I assume there are other funky possibilities like the crazy thought that someone could get their own phone number as a result, or the sequence 10,20,30,40,50,60 etc so I suspect there are a few other notable sequences hidden in there.