skysight-inc/HackerNews huggingface dataset:
>So can someone illuminate me why the HN community is so anti-PHP

Not everybody is. Mostly newbs who think it makes them look smarter if they bash what's unfashionable (though for people who code in JS, to badmouth PHP as a bad language is rich), and holier-than-thou types, who value purity over pragmatism, and have never created anything substantial anyway.

People who code in C or C++ for example, have produced working products, and know all the bad areas and deficiencies of their languages but appreciate them for the results and pragmatism they allow, would think twice before bashing PHP for not being some perfect language.
The article's code leaves the input stream open, which causes reads to block forever instead of exiting with an end-of-file marker. As the student projects are for an introductory course, making them handle that particular detail would only be a distraction from the desired learning outcomes.
I've lived in Hong Kong and Tokyo as well Bangkok and Manila. Many of these observations totally miss the mark, which isn't unexpected from someone just visiting as a tourist.

Blockchain and Bitcoin are huge in HK tech circles right now, in fact I'd say it's way too huge. Same for all of Asia really, but the main Crypto operations are all HK or Singapore based. I know quite a few people in Asia caught up in the Crypto hype to the point that it feels like a cult.

If OP spent a bit more time in Asia he might start to see the dark sides to this "progress" he lauds and realize it comes at a human cost. Many in Asia are cast aside or left behind as a result of constant advancement. Europe tends to strike a better balance between change/progress and mitigating the human toll IMO.
I don't understand your logic. I never said UBI discourages working.
Who is waiting for Ubuntu 18.04? April 26th is the release date
>PHP is a pain to work with. It doesn't have the tools that other languages have.

Like what?

>The libraries available for PHP tend to be buggy or poorly designed.

Which? In what era? Compared to what? The mountains of crap (alongside quality stuff) on npm?
> Isn't it OP's job to present proof for his claim?

No, it’s not his job. I’m guessing programming is probably his job.

He’s not a researcher and this is not a peer reviewed journal. This is a place where amateurs of conversation come to discuss things that are of interest, but most of us know nothing about, in our spare time. It started out differently but that’s basically what it has evolved into.

Providing citations is nice, it helps, it’s useful and constructive. But it’s not a job, it’s not a duty. You are a capable person with a working, sceptic brain who can do your own research if you so please. Anyone is free to make baseless claims, just downvote them or kindly ask for more info if you don’t like it.

But I’m tired of this “provide 3 different citations from peer reviewed journals to get a passing grade” attitude. It’s getting so bad I’m seeing it in daily life now, and it’s killing all sense of colloquial conversation. You do some work if you don’t like what people are saying. Everyone will thank you for it.

Or just ignore them. Or downvote them. Or be amicable, at least. But nobody has to do anything. I disagree.

Sorry, I guess :/ pet peeve.
Unfortunately, it is a hype right now.

It really shouldn't be, but for that, everyone needs to understand, the federated (eg. "decentralised") is infrastructure, not a product. Infrastructure is rarely capable of making vast sums of money, it's more about serving needs for longer periods - think of post, or ISPs. Yes, it's profitable, but it's not unicorn, and exit strategies are also incompatible with decentralisation.

It can, could, and, should be the future, but it needs a change in mindsets before we can get there.
I have always found that people defaults to themselves when they don't know the gender and there is little or no clues for it.
Again the issue is how we learn. Short sessions show some effects but homeworks are very tedious and put a lot of pressure on everyone.
I'd like to see a decentralized alternative to "rating stuff".

(where the rating applies to everything from products, services and websites to comments)
Was marijuana the blockchain of 2017? Where as long as you aligned your product with weed, even if it was actually a pretty generic product, there was suddenly extra interest?
Yes. See "Useless use of cat" (or "UUOC").

If you prefer to have the command arguments at the end of the line (so it's easier to amend), you can do e.g:

< file.txt grep pattern

instead of

grep pattern file.txt

or

cat file.txt | grep pattern

There are also some related useless uses, like useless use of grep | awk:

grep pattern file | awk '{print $3}'

which can instead be written as

awk '/pattern/ {print $3}' file
It's not a good sign that the first three minutes of the first video contain a pointlessly dangerous technique.
YOLO v3 – Object Detection Model [pdf]
5 Bad Habits Young Entrepreneurs Should Break to Be More Productive
Probably because she had excellent grades, and was very enthused at the start of the program.

There's no magic way to determine, years in advance, that someone will become disenchanted with their career choices.
Could it just be availability?
Not sure about the specifics in the US, but those are well defined categories.

Wikipedia lists two brief excerpts here:
https://en.wikipedia.org/wiki/Flavor#Regulations_on_natural_...
Then a smart program will find ones who won't drop out
There is an approved list of ingredients at the FDA for what constitutes "artificial flavors" and "natural flavors":

(a)(1) The term artificial flavor or artificial flavoring means any substance, the function of which is to impart flavor, which is not derived from a spice, fruit or fruit juice, vegetable or vegetable juice, edible yeast, herb, bark, bud, root, leaf or similar plant material, meat, fish, poultry, eggs, dairy products, or fermentation products thereof. Artificial flavor includes the substances listed in 172.515(b) and 582.60 of this chapter except where these are derived from natural sources.

(3) The term natural flavor or natural flavoring means the essential oil, oleoresin, essence or extractive, protein hydrolysate, distillate, or any product of roasting, heating or enzymolysis, which contains the flavoring constituents derived from a spice, fruit or fruit juice, vegetable or vegetable juice, edible yeast, herb, bark, bud, root, leaf or similar plant material, meat, seafood, poultry, eggs, dairy products, or fermentation products thereof, whose significant function in food is flavoring rather than nutritional. Natural flavors, include the natural essence or extractives obtained from plants listed in subpart A of part 582 of this chapter, and the substances listed in 172.510 of this chapter.

From here: https://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfcfr/cfr...
Add object's property
I did a quick count: 6 paragraphs about 20 are directly devoted to his Smart Fan. 10 paragraphs out of 20 refer to ceiling fans. Also, an actual quote from the article:

"Engineer Sharad Ashani is fond of demoing his anti-suicide ceiling fan by attempting to hang himself on Indian TV."

You'd think/hope somebody making this kind of product would at least be aware of the Young Werther Effect.
there an english dude on youtube, robert murray smith, he setup a "little" lab then factory to produce storage using graphene or close. <hyperbole>Caps and the likes. Do you know him ? I wonder how good he can be with his reduced size operation.
> Still, I wish I could see more info on this. At what point does the additional cognitive burden of advanced type system features become a worthwhile tradeoff for program correctness? It seems to me that this depends wholly on the complexity of the program.

I think that's a false equivalence, because there's only a burden if you're doing something complex. Indeed short scripts can see a lot of benefit from using an advanced type system, since they tend to have interacting effects that can easily lead to misbehaviour if uncontrolled.

> Further to that point, the most complex programs I can think of (perhaps you may be able to offer other opinions, which I welcome) are AAA game engines. What are the reasons why the big engines out there are not using higher-kinded types, dependent types and the like?

My experience of the games industry is that it's full of young developers with a macho performance culture (I appreciate that this doesn't match everyone's experiences). "We're adopting a tool that will help us make fewer mistakes" is a tough sell in any segment of the software industry - it requires a mature culture to get beyond the "just write better code" response - but particularly so in games.
While there are good reasons to use gradient descent on neural networks, finding the global minima of the surface of the earth would not be my first choice. Various metaheuristics would do much better.
I don’t want to sound like a jerk, but you didn’t know people like things to be fast and memory efficient before the dumpster fire collection of web view “code editors” became popular?
These octopuses just wanted a safe place to lay their eggs but now theyre doomed
Come to Asia for Tokyo, but live in Hong Kong...

To be fair I live in Hong Kong, and it's chaotic, sure when you first come here, but after a few months you adjust to it's normalcy... And it's really no different from New York, Toronto, London. I guess it's something about people more so than anything else.
I use Linked Helper & Follow Liker :)
And the chemical environment is just trying to maximize entropy.
The reason for this is pretty simple: you get free public education in these poor countries, but only if you pass the entrance examinations.

For a lot of families this is the only way for their kids to get out of poverty. Moreover because of the way the school system is structured, your kid could easily fall behind at age 7 and never recover. The reason for this is because of stratified classes, where they group kids into classes, by their performance on yearly examinations.

So there is simply much more incentive for families in poor countries to put more effort into homework, which BTW, is nothing like the homework that American kids get.

It is nonsensical to try to compare what parents in India and parents in Finland are doing.
> Nationality is a fading illusion, nobody cares where they were born unless they have nothing else to cling to. We are citizens of the globe. Home is basically where a good bed, a supportive environment and fast Internet is. The former you can get from IKEA pretty much anywhere. For the latter, we'll just travel and spend most of our time where things are easier, cooler and better.

What a nice, sheltered life :)
That color sensor we're obsessed with just got an upgrade
Another reason why Google/Amazon is too centralized to be a single point of failure.

We need more decentralized Internet. Not more clever hacks.
The great concert ticket rip-off: How are these companies allowed to exist?
(a) i'm thinking home usage. An 8 core machine with 6GB RAM is plenty - plug in a keyboard, mouse and screen, who needs a mac mini? OTG and/or a hard disk attached to my wifi router is all the local storage I'd need, let alone the cloud.

(c) If Google pulls off seamless integration of Android apps on a Chrome OS tablet then the rumoured ARM Macbook may have users wondering why they can't run their favourite iOS apps too.

But that's just me, I guess, and my wants.
Aaron Parecki wrote a very nice article on this:
https://aaronparecki.com/2016/12/17/8/owning-my-reviews
> I sincerely don't understand if this was a jab towards me on some kind of "invisible hand of the market" argument or the complete opposite.

Between those two, it was the former. What I mean is that I don't see that people are obliged (_i.e._ should) trade with each other at all. If they nevertheless choose to do so, I don't see that every good or service should cost the same, or have a maximum difference in price.
Pyroelectricity could extract energy from heat sources below 100°C
Google Chrome users can now download one of its rival's best features
He's comparing 2 spots in Asia with the whole of Europe. Holy generalization, Batman!

I also find this amusing:

> there's a general sense of aimlessness and cluelessness.

That's how Europe has always operated. Its historical success came from chaos. Tons and tons of chaos from many sources, all competing. Columbus was looking for India and he stumbled upon the Americas.
I know somebody who did the same, and he ended up being the boss of a plant. Not the CEO, but still a lot of responsibility. And not from the start, he worked on all factory machines first and slowly he was given more responsibilities. It all depends on what they are looking for. This company looked for a local to replace the expats. It was a match.
Banks Warn Sweden's Central Bank to Stay Out of Retail Market
Having an immutable public ledger should make collecting taxes easier.
My first year as a mobile Software Engineer
IMHO, you don't need that. If you will accept that our Universe is «digital» in nature (i.e. you cannot have 1/2 of black hole or 1/2 of star, of 1/2 atom, etc.), then you will see that each photon can be represented by large _integer_ number. This means that photon will lose 2*1/2 of it smallest digit at each revolution at average. Exceeding energy will make vacuum «hot». It's all.
That's what happens when a company doesn't take product management or any kind of planning/vision serious and just builds whatever feels right in that moment.
The Giant Recruitment Agency Scam in Ghana: Non-Refundable Registration Fees
"The taxman"? The original title was "Tax authorities in Finland matching Bitcoin transactions & bank transfers to collect tax on crypto trading profits".
Bitcoin Mining Even Less Economically Viable Than Thought
How North Korea’s Hackers Became Dangerously Good
My father rebuilt a 16th century house by himself on Saturdays. He used electricity and the house has modern features such as piped water and internet but no modern materials were used (concrete, aluminium, steel, etc.), only "old" granite and wood. It took him almost a decade but he builds houses for a living so it's not exactly a hobby despite the fact that he considered it as such.

Do you think people would like to watch videos about such things? My youngest brother now works for my father and he is tech savvy so it's something doable but would be in Portuguese.
This is very fascinating, great job!

One thing I was wondering how did you manage to build it? There's a lot of code there and I was wondering if I could make my own version for a different programming language.
Intel KVMGT 2018-Q1 Release Offers Mediated GPU Pass-Through Improvements
Are you suggesting there is a PWA scuttlebutt implementation out there somewhere? Or just joining the apple hate bandwagon?
Historically, most people have built as much of their houses out of wood as they could, because it was easier to work with. Where wood was rare, only roofs were made out of it. Where wood was exceptionally rare, even roofs were vaulted.

Wood didn't last long, but until surprisingly recently, houses weren't meant to last. In Northern Europe, for example, even as late as the Iron Age, houses were rebuilt every few decades.

Exception: rich builders, like the church in Europe, and later on (roughly the thirteenth century) rich individuals, built out of stone.
In the UK you struggle to get a mortgage on a wooden construction so have to be cash rich, you'd also struggle to get conventional housing insurance cover.
Mind sharing how you manage to not see tons of baby photos shared by your contacts?
Planet Earth doomed to become 'hellish death world' like Venus, Nasa says
Musiio uses AI to help the music industry curate tracks more efficiently
For comparison, the ingredients of OpenCola are probably similar:

https://en.wikipedia.org/wiki/OpenCola_(drink)
No, that's what happened when you disconnect medical science from law and instead use culture and moral as legal basis.

There is no good decision here, the alternative, refusing on medical ground is not correct either. There is no medical ground to refuse the guy some weed, when it is perfectly legal for him to buy unlimited quantities of alcohol which, medically, is as bad or worse.

In both cases, the law puts the doctor in a position where he needs to bullshit. Some will chose to ignore the global context and look at the patient request in isolation, other will do the opposite.

edit: also "pain" is intrinsically difficult metric for a doctor.
Nice try, Pepsi.
Can you give examples of broken promises? I think evgo and chargepoint have held true to what they promised. And I don't think Volkswagen and Porsche cancelling their plans (after VW being legally mandated and Porsche designing a 800 volt 350kw level3 charging car)
The most important suicide prevention measure is to reduce access to means and methods.

If people in India are hanging themselves from ceiling fans a safer fan would be an important suicide prevention measure.

Why is it "stupid"?
BMGShop Grosir Tanah Abang
BMGShop http://www.bajumurahgrosiran.com is a place Online Shopping in Jakarta Pusat Tanah Abang, here you can go shopping fashion Asia Indonesia for more Model.
> there's an interesting background on why people takes that risk

At least in some cases, the reason was that paying the fine was quicker and maybe even cheaper than going through the municipal bureaucracy. People would even denounce themselves once the construction was finished.
Unless people want to change the mongodb code that they would be using, using the agpl software should be a non issue and there are not problems with it. People should start understanding the available licenses instead of spreading fear.
i think they mean "european HQ" in the sense that they serve the whole of EU from Ireland.
Timber frame houses will last a long time if properly maintained. The main source of decay is water or condensation getting into the structure and causing rot/mold - if you make sure that doesn't happen, the houses last for 100+ years
I'm thinking a small laptop with less moving parts (no DVD) and less powerful for the sake of price, mobility and battery life.

I'm intentionally vague about the specifics, but as far as I'm concerned, 11.6" fits the bill. For example, Eee 1101HA was 11.6" and was widely considered a netbook. The Pinebook, by comparison, must be somewhat lighter (no mechanical HD, tiny motherboard).

That said, I haven't really kept up with the ensuing maze of laptop terminology since the netbook days. Some late era netbooks would probably be classified as "sub-notebooks" or "ultra-portables" or some such today.

But I get that you'd ideally want 7", since you stated that explicitly. I've been passing time on train rides with a Libretto 50CT lately, and it's so damn practical in terms of size, so I feel you.
Yes, for the same reason.

The reason why they call themselves "decentralized for X" or "uber for X" is because that's what makes most money. It was "uber for X" a couple of years ago. But in 2018 it's "decentralized for X", because of the ICO hype where all the coins rails hundreds of millions of dollars.

But on a positive note, exactly because it has so much potential I think we can't dismiss it as just a fad. After all, Uber and the similar approaches DID change the world.

It's kinda funny because if you said "decentralized for X" a couple of years ago, people would just say "yeah good luck with that, nerd", and the only place you would hear about these things would be HN.

The only change since then is Bitcoin. But even on its own Bitcoin is such a disruptive piece of technology that so many people are just betting on it. And I do think some will succeed. But from what I see, most people working on these have no idea why Bitcoin works therefore will fail.

I see two groups:

1. Super tech nerds who think they understand how Bitcoin succeeded so far, but actually totally miss the rest of what made Bitcoin successful. But at least these people have ability to build something meaningful. Most of the famous projects that sound like they're doing really well belong to this category. I won't name names, but I'm not even talking about obscure projects. The leaders from most of the top tier highest profile projects don't seem to understand how to make their project a success, they're either too focused on tech (thinking somehow if they keep working on it, it will succeed in a "decade") or too focused on shady stuff. They will all fail either because someone better will come along and fork their protocols and do it leaner and better, with all the lessons learned, or because they all get burned out before the "decade". A decade is a really long period.

2. Shallow people: most entrepreneurs I see have no knowledge about how these blockchains work and just assume that they will work and raise millions of dollars. Actually a lot of my friends are like this, but I can't just outright tell them to quit because they're friends. But I'll use this opportunity to say, if you don't understand what you're building on, from economic aspect, technological aspect, and social aspect, you'll probably fail 99.9%.

I think the success won't come directly from these first generation protocols with this naive mindset. I think the only way to actually succeed in this wild wild west is to educate yourself on a deeper level. Then you'll quickly see that a lot of these high profile projects are bunch of bullshit. And maybe along the way, you can come up with your own solution that can truly become the "Uber of decentralization"
Would you say that a disproportion alone is an indication of racism? If so, would you expect every single metric to be a perfect 50/50 proportion or are we doomed to always be confined to - a bigger or smaller - discrimination, because we'll always deviate in some metrics?
When you travel to a new place you fall in love,everything is fantastic, not like the shitty place you come from, but if you live in a place long enough you start seeing the failures of the new place (and the good things of your native country).

I was born in Spain, and had experienced this effect multiple times, living in San Francisco, Boston, London, Shanghai, Tokio, Berlin...

Right now I value a lot more Spain and Europe at its culture than I ever did.

Living abroad gives you perspective and lots of options. When I started I thought it was risky. Now I think what is risky is living in the same place all your life.
"natural flavours" can be used to mask the secret sauce or to mask that you bought some flavouring from a third party supplier and don't want to list their ingredients too.

you can also mask flavourings that have a bad reputation.
Actually he was asked if Facebook would roll out the GDPR requirements globally and he said they aren't and that America has different sensibilities
I didn't even downvote and I don't have a bone to pick in this fight.

But the discussion went:

* original poster (HN1) made a general claim

* someone (HN2) answered with a sourced counter-argument for a specific case

* another commenter (HN3) said something like "good on you, but your source doesn't prove much cause it doesn't disprove all the other cases"

Conceptually, for me at least, I'd rank their statements, from good to bad: HN2 > HN1 >>>>> H3.
Not that I'm surprised, but there's a terrible mismatch between the article title and its content.

"Venus may show us the possible future of Earth" is very different from "Earth is doomed to become like Venus".
That explains it.