skysight-inc/HackerNews huggingface dataset:
If my project is "big enough" to warrant something like Laravel, I would just pick Rails or Phoenix over it any day.
I find both those languages much better to work in and I just feel like I'm getting things done way faster. If its smaller than that, I'dd definitly just pick go or node with express or go maybe.

I work with PHP 5 days a week through work and even a few years into it, i still do not like it. Its feels like a mess compared to the other languages I work with for my own projects. Even when working with something like Laravel which do mask a bunch of the pain points of the language, it still feels cumbersome IMO.
Germany turned on a dime, and is going to use the Google/Apple solution. Denmark is about to turn on the same dime, as our solution mirrored the Norwegian solution, but had the same iOS problems (I only read that the government was strongly considering the Google/Apple solution, but no verdict yet).
You forgot the 3x liquidation preference.
Institutional trust has been eroding since Watergate and almost non-existent since Snowden leaks.

Seeing Apples name on the PRISM slide was a gut bunch, you dont and will never get blind trust anymore.

Saying this is similar to the anti-vax movement is so frustrating for me to read when special closed courts are set up in my country to deliver verdicts on the legality of data acquisition and they STILL found the GCHQ overeached and illegally spied on citizens.

The UK gov has even decided to not use the API provided by Apple here so if I could trust Apple (which I don't) its being undermined by the fact the government decided to take Palantir on to help make it and it looks like they are getting involved in the US effort too.
How to Get Rid of Belly Fat? 5 Easy and Simple Steps
> Back when music videos were awesome works of cinematography, production, visual, and musical art

They still are, but the mainstream eclipses everything and the noise level is much higher.

I have a music 'tv' dedicated to these videos: https://humanmusic.tv/
They had to write an installer ecosystem around installing docker images, whereas with PHP and most stock server configs you can SSH a file into a server and you're pretty much done.

Still if I want to write a simple web app in < 1 day, I would definitely use PHP.
The incentive for them is their reputation.

I agree that if you market your news product a certain way then there is little incentive to be correct (tabloids do this). However, the NYT is not marketed that way.
Juul is not an alternative to Big Tobacco. It is just another member of the club, facing the same kind of existential regulatory pressure as the other major participants in the industry. And as mentioned by others, Altria owns a third of the company.
Ask HN: Can you learn to become charismatic?
It seems charisma is an important skill associated with leadership and which enables relationship building (e.g., for sales, business development, recruiting). Can one learn to become charismatic or is charisma an entirely innate skill one is born with? I'm interested to hear opinions on this.
Oh the UK government has got a great plan for that - they're going to stick the NHS logo on it. That way people will incorrectly think it's trustworthy, and when they find out it wasn't it'll damage the reputation of the NHS - which is a key goal of the current government.
Elon Musk and Grimes have had their first child together, according to Musk
WHO says it has no evidence to support 'speculative' Covid-19 lab theory
I’ve been thinking lately that these long stretches of time are less long than we think when we’re young.

A person who lives a long but relatively normal life might live until 70 to 90, and for the healthy and or affluent that’s been true basically forever.

Thinking about this in terms of human lifespans shrinks time a lot. I have been told stories about my great great grandparents, so even those experiences are at the fading edge of recently passed down history.

But anyway, back to thinking in terms of lifespans...

It’s only been 1 lifespan since world war 2, and only a generation (1/3 of a lifespan) more since world war 1.

It’s only been 2 lifespans since the civil war. 3 since the Napoleonic Wars. 6 since the renaissance, Columbus, and the fall of Constantinople (separate events but close in time). About 20 lifespans since the Roman Empire.

When you imagine that you yourself will live 70-90 years or more, and the changes you will see and have seen so far, and how quickly that time passes... it’s interesting to think how recently history happened.

At least for me, with this measuring stick, it only starts to sound “a long time ago” again when thinking about things like the first pyramids (2570 BC), about 57 lifespans ago. And it’s interesting to note that that far back, there were only about 14 million people on the earth.
Worth mentioning that this is just the domain resolution, not necessarily the real volume of connections. The reason they try every second sometimes (I have devices that do exactly this, ~86000 attempts every day) is because they keep failing. Assuming they resolve once they stop flooding the Pi-hole and will bundle their connections in fewer, larger chunks. Couldn't say what's in those chunks since they're encrypted but I can make a fair guess.

But the bottom line is that the number of attempts to resolve the DNS doesn't say anything about how egregious the activity is. You could have a device try every second because it wants to send an "I'm alive" message home, or you could have a device attempt DNS resolution once per day and send all the traffic it captured from your network. Don't use that number as an indication of how evil the device is, I'm sure the most egregious malware or crappy IoT will be careful not to flood DNS requests.
Long term effects may be much more serious than Flu, as this thing eats your lungs and possibly other organs.
Just looking at IFR is not enough.

We simply do not know yet whether it is a good idea to infect everyone.

Why is everyone here a medical expert?
And their modules ecosystem is turning it into a security nightmare.
It never made sense. The original hash bucketing mechanism for the function lookup in PHP was the length of the name of the function, so each new function was named a specific length to ensure the function list was evenly distributed across the hash table.
Also, Popcorn Time doesn't circumvent anything. It only distributes and plays.
what modern features does python 3 lack compared to phoenix/elixir?
Or they use ctrl+c
I am was on a mission in south-west France at that time and the local pharmacist told me around February she was convinced Covid was there since November 2019... She saw some of her customers having strong cases flu that would not go...
Anxiety is just a normal feeling, if you are a animal out in the wild.
I've been using PHP professionally since ~1999. I remember ripping the Perl fanboys in the early 2000's until the foundations of PHP started to crumble with what are issues that stick in peoples minds today; so I do wonder if we brought it on ourselves sometimes. But PHP moved on carefully to preserve backwards compatibility. I still have a SaaS first developed back in 2005 on the latest version of PHP that's happily ticking over with the minimal of maintenance required - the code base is horrendous but that's because a developer I had with me at the time made a massive case for "software design patterns" that he crowbarred into every nook and cranny regardless of if it was required or not.

I've done things with PHP that would give people nightmares. It's a far more capable language [1/2] than most realise and with version 8 bringing us JIT things just keep getting better. Would I use PHP if I was starting out today? Unlikely, but I know PHP inside out and can wield it to my wicked ends with ease so won't be dropping it anytime soon.

[1] https://stitcher.io/blog/php-in-2019

[2] https://stitcher.io/blog/php-in-2020
I regretted the name after launch. It seemed fun & playful at first, but soon its limitations became pretty apperent.

Next time I'm just going to use a "Does what it says on the tin" kind of approach to naming.
Tools for working remotely – Remote work series
You can just flick left/right on the volume/brightness icons to adjust a single increment, without having to bring out the slider. This isn't documented anywhere, it's another one of those hidden features you just have to learn.
Bytecode is simple enough to alter at load time. This gives you aspect-oriented programming and instrumentation of everything that statically linked binaries have never offered. And I don't think anything compares to the JVM's GC throughout yet; why roll your own if it's slow?
That's an incredibly process-immature way of managing deployment.

How do you know what version you have deployed unless you copy everything you deploy to some archive somewhere?

How do you roll back?

How do you find out if you monkey-patched something?

Deploying Docker images or static binaries is vastly superior and no more difficult. It's just a new paradigm.
It is absolutely a stretch. Mozilla is still catching hell for it. People have switched operating systems over this. Caddy is no different in that regard... except that its creator did the right thing and got rid of it. Mozilla and Microsoft haven't.
Edtech’s newest unicorn, ApplyBoard, lands $1.4B valuation with fresh funding
> weak typing and legacy bloat

Lots of legacy stuff has been removed.

Static typing has been added as a feature back in PHP 7.0.
But it also matters how those billions live, and considering that the vast majority live in extreme poverty the picture becomes less rosy. Not to speak of the ecological disasters of climate change and pollution this is causing, which also has an impact on our well being. Modern agriculture and medicine have in a way made it possible for all those people to be alive at the same time. I agree with your last sentence since we obviously can't change the past.
One of the most useful habits ever.
I realize that, of course. No need to insult me.
The amount of heat generated by the Sun per volume is much less than a typical pile of burning coal.
Well there's WWDC of course. But I suppose that's not really "out in the world".
> math or biology

Biology?! I'm not even sure if math is in place here. I would put instead 'CS and engineering'.

People who do things that never existed before are rarely these who are good at math. These people are called engineers. They have different skillset and background and very different attitude towards solving problems.

Don't get me wrong, being computer engineer myself I have huge respect for both biology and math. I took a biology class recently and I do read math books.

> go back to concrete mathematics

I would say: go back to making things aka engineering

You get back the joy of building things by building things. Something that worked for me when I was in similar situation was working on some Arduiono projects. It's not only programming, you are making sometehing in the physical world as well. The projects are usually simple and small, you don't get burned out. The actual programming is pretty simple - you don't need design patterns, some havy framework or functional programming to make few LEDs blink or a mottor to spin back and forth.
I felt for sure we would have Minority Report interfaces by 2020, but looks like we're stuck with terminals until retirement.
> Don't make enterprise software. Don't write unit tests. Don't accept pull requests. Simply write software for yourself and have fun doing it. Forget refactoring code into modules, just fucking code

I've found a really nice perspective on this recently: An app can be a home-cooked meal [1]

It's okay to build things that aren't popular, that don't scale, or that aren't economically viable, for the delight of a few users.

1: https://www.robinsloan.com/notes/home-cooked-app/
ahah, more likely the company (I think Palantir, might be wrong) will get paid anyway and won't care what the results are.
See my other post here about my friend getting paranoid on mefloquine, leading to my discovering that mefloqine is suspected in playing a role in several instances of peacekeepers attacking unarmed civilians. Search [mefloqine "freaky Friday"].
Am a phoenix/node developer. not offended.

Rails certainly has its strengths. If speed to knock out a working app was my #1 prereq, rails has better abstractions and drop-in libraries to get something off the groud fast. Its probably your best bet for knocking out a CRUD mvp.
Why not C++ in this area? The more I use PHP the more I appreciate C++'s type system.
That's a tangent we could go down but not really the point of what I'm talking about.
There's such a simple solution: don't buy an iPhone.

They're not hiding anything from you about their walled garden.
An interesting read. If the problem is apps entitlements, I wonder why Apple didn’t develop an AI to flag apps with suspicious entitlements? For a parser, it might be a problem with complex nested tags, but for human reviewers I argue it’s much easier to spot constructed entitlements. And Apple can always require the developers to rewrite the entitlements falls needed. Automatic sanitizing entitlements would be helpful, too because they are not designed for being complex.
There are also some people raise privacy concern
Can you link or be more clear? I assumed you are talking about the array and string related functions that are not consistent in argument order.
The dependency solver is what is slow, not so much the downloading.
For hosting companies, PHP has a unique benefit: A single installation which scales with the load. Most Python, .NET, Java, NodeJS, Docker, whatever require to run a seperate executable for each site permanently (producing a basic workload / memory consumption / security mgmt needs / ... ).

In that sense, PHP is like a early variant of Lambda ;) When there would be a universal, simple-install, simple-use, low-requirement version of Lambda (incl. Gateway etc) we would see a easier hosting market for all the languages beyond the public clouds.
Don’t understand what the fuss is about. To continue their discussions, Can’t these employees get on a service like Blind? Yes, amazon throttling such behaviour is questionable, but why bitch and moan about not being able to use a company resource when there’s something like Blind available?
I believe the idea is that you don't notice time passing in an environment with purely artificial light, so you'll stay longer, work more. It's kind of the same reason why casinos and chicken farms don't have windows, either.
See my long post elsewhere in this thread about my friend getting paranoid on mefloqine, leading to my discovering that some suspect mefloqine has played a role in multiple instances of peacekeepers attacking unarmed civilians.
Advanced Programming Languages (2009)
TensorFlow Object Detection Server Deployment
Airlines have been sitting people next to strangers who could be infected with anything for more than 50 years. Life is not without a certain amount of risk.
Have you read http://chinamediaproject.org/2020/01/27/dramatic-actions/ ? Given the long incubation time, and large number of asymptomatic carriers, and global flights for all sorts of reasons i see no contradiction in the timeline.

What got diagnosed early on was just the tip of the iceberg, from some cases developing serious symptoms.

Furthermore: 1st case/patient zero=Stall operator from the seafood market...
Does anybody know WHICH sort of stall he operated? Maybe he delivered test animals (in)to the lab, and got infected that way?
Why do these discussions always end up in some black/white dicotomy? Are there situations where PHP is a valid part of a tech stack? Sure. Are there places where, if you could choose, PHP is not a good choice in the stack, Yup.

My personal view of it is that it is part of our eco-system and will not go away, how eager some of us may be to have it disappear, so seeing it getting better as a platform should make the world a little better for a lot of people that need to use it in systems that are built with parts in PHP.I cant see how that is a bad thing.

The thing I dont understand is, if you for some reason do not like to use a specific language or tech, why bother trying to convince others not to use it?

Few of the people I worked with have only one tool in their belt, and they can work in any language. We all have some favorable setup that we think is best for us/others to use in order to build better software with quicker iterations. But all of us (hopefully) also know that few, if any, stacks are 100% solid and consistent after a couple of years. There is always some parts that we wish would not exist, some script that magically does stuff that we do not dare to touch, some service that is written in some fancy language by that awesome dev that worked here 10 years ago or some really central part of our software that is written in Python, talking to a module written in C that needs to be compiled with a specific compiler that went dead 4 years ago. Even if we dream about the perfect system that just works (LIKE I WANT IT) and has a fantastic setup, it is only at specific snapshots of time systems work like that. Time, people, organizations, product requirements, marketing efforts, buzz, hacks, fixes, playfulness, boredom etc all makes system degrade over time and while it is important to manage these debts, it is more or less impossible to have a system in a state where it will always have the tech stack you want right now. That way, we will always have to address bugs in PHP, old Python-versions, rage over custom compiled nginx or whatever. Whether or not PHP is a good language or not is a meta-discussion IMO. If languages that are used by a lot of people gets better over time, that is awesome in my book. Having a perfect tech stack with only funny/new/fancy/awesome tech is at best an interesting mind experiment.
Not that I know of. I'm running on a pi3b and never had issues. I suggest raising a GitHub issue, they're usually pretty quick to respond and quick to fix bugs.
This is almost exactly what happened in my household. I am also in the NYC metro area. Kids had very mild symptoms, wife lost her sense of smell and I had fever/chills for a few days. I tested positive for covid but thankfully it appears to have been a relatively mild case.
ok, let's go back to 2014. I was working on a project, a web front end. The ticket was "change color of button". This sounded easy, modify the CSS.

However, the CSS was generated. From YAML. The YAML was generated from JSON. the JSON was pulled from mongo. The Mongo was updated through a strictly validated XSLT that had an enumeration of colors. Those colors did not include the button color we needed.

Don't worry! There was an ability to reroute the xml through the use of ruby mixins and then add the attribute by parsing the dom, editing it, then re-ingesting it later downstream so it gets out to mongo right.

oh and there's a cache layer at every point here. so make sure you invalidate it to see the change. every time.

I closed the ticket and did a few more like this for 6 weeks, mostly in ember - they were even crazier.

The product, an interface to some server software, had basic html with markup like this:

<ul class='links'>

<li><a href=/a>link</a></li>

</ul>

Like the most trivial stupidest simple code you can think of. 15 minutes of php, at most.

However, changing it to do something else was never direct. 4, 5, 6 maybe 7 different languages, servers, restrictions, databases, input and output formats ... absolute and total batshit.

I left. Company is worth over $100 million today, looks like I'm the loser I guess.

This isn't about having a dev and release branch, this is about endless layers of abstraction and insanity that make easy things 1,000 times harder and almost impossible.
I agree with you regarding non-violent crimes but for violence crimes I think punishment and justice trump humane conditions.
ANSI/ASCII Art Archive
What do you mean by "real support for both native and Javascript"?
This lab story is given way too much attention and this is so because it is a convenient story to spin for many governments, Trump's first and foremost but not only.

All the credible experts say that this virus is natural and that it may have jumped to humans years ago, and also that people in the relevant rural areas of China have antibodies for similar virii. And then there's also SARS, MERS, Ebola, etc.

There is a reason experts have been raising the alert for years about this: what has happened was inevitable.

But of course laying the blame at the feet of an "hostile" government can buy you political mileage, not least during an election year or when you're coming under criticism.
Tried PHP again (using it since the 3.x days off and on) a few years ago and didn't dislike it. It would be great if types were even better enforced. But then again I could have been working with Microsoft MVC instead and have an even better experience, especially in terms of autocomplete in an IDE (because C# has stronger types and they are more logical to find by trial and error, like typing a . after a string value), something which I highly value.

But I still think PHP is really cool when you just want to hack something together and indeed like many people said before run it anywhere without headache. You can output formatted text really easily. Other languages are way more formal about output. I hacked together a song recommendation and voting system for my marriage website in a few hours and people loved it.
I still can't see how it can be "mature" if it offers an iterable returnable type like in the article example yet doesn't indicate the type of the object it is returning!

It has type hints for function parameters and return types but not for arrays. This makes it useless to me.

I know everybody will say "just add comments so an IDE can interpret it" but this should be a feature of the language. Just adding comments to hint to an IDE is not a real solution.

It's still just a vector<void* > in C++ parlance. Nobody would take you seriously if you said "just add comments to indicate what your void* might be" in a large codebase.
Just curious what problem are you trying to solve, I never had the need for different threads to communicate in PHP, most of the time in my work a user makes a request, and a PHp scripts does something like update the database or does some searching/working and returns a result.
Ask HN: Can we add channels to Twitter, please?
Twitter seems like the perfect platform to utilize the “channel” abstraction. There are so many people we follow because we like one topic they tweet about, only to be ruined by a temporary period of heavy tweeting in another unrelated topic. Some people tweet about multiple topics like urbanism, software, and politics, so why don’t we just follow the topic of interest?

Likewise, on the tweeting side, when you press tweet, it would be simple to designate a tweet to a subset of your custom channels, or just default to “all”. It would easily make the signal to noise ratio go up massively on twitter while providing increased value for tweeters and their audience. The audience no longer needs to unfollow you when you start posting pictures of food. It simply gets a new channel “food”. The tweeter no longer needs to worry about polluting their audiences feed with irrelevant tweets that puts them at risk of being unfollowed.

The feed instantly gets better for all users.

On twitter’s side of things, there can be less of an algorithmically selected feed and more of a user defined topical feed. Ads can be injected into feeds or channels with a higher amount of click through because it’s likely a promotion for a tweet or product in a channel or category the user has explicitly defined interest in.