skysight-inc/HackerNews huggingface dataset:
Both of you are lumping all Chinese people together as a monolith. Let's put it this way.

If you come to my house and beat me up and loot my stuff, and then burn most of my house down, but I survive, and then a mob of poor people came by and then destroyed other artifacts in my house, do the actions of the mob of poor people absolve you, the original looter?

Does it complicate or simplify things if you, the original looter, also sold opium to the mob of poor people?
100 rules for tech startups by silicon valley veterans (50 minute audio)
> African countries have the right to develop economically

Who owns the Palm Oil companies razing Africa? Are they largely African held, or is this another extractive colonial project?
I agree. The hack I'm using is PeopleRank (check my comment above).
I like this. Thanks for sharing.

I hope you will consider one thing, and please don’t mistake it for political correctness. The phrase “from good people” is distasteful and I think we’re all better off not implying such a thing as “bad people”. If the intent is to define a division, it’s important to be specific lest we undermine our egalitarian goals. I know you don’t mean it to be exclusionary, and probably instead aim to evoke positive feelings. But, for me it does the opposite. People accustomed to being excluded are likely to read “from good people” and wonder if that includes them or not.
IMHO, ARM performance is "good enough" for consumption and light editing/creation.

The real test for this is software.

Anyone remember this?
https://en.wikipedia.org/wiki/FX!32

Exactly...
Any idea if it's going to come to phones by any chance? I initially thought they meant phones, but after a while they seemed to say they meant laptops.

Also, regarding x64, I believe it was due to patent issues, not because they somehow thought x86 is enough for anybody.
https://www.currentaffairs.org/

I didn't realize how many years I'd been looking for a serious, entertaining, well-written leftist perspective on news and the world until I ran across this magazine.
One such discussion was in the context of the BEAM compiler:

https://news.ycombinator.com/item?id=17671478
Conversely, if the companies are held, run, or funded by Western countries, then the so-called "economic development" can also be seen as an imposition of values, and an application of economic incentives to limit what developing countries do.

Are people living in these countries free to make choices if Western investment interferes with their incentives?
> GitLab is so much more - it encompasses the full DevOps Lifecycle in a single application

That's what I meant by "integrated services already possible with Github". I guess you are familiar with Github Marketplace.

I don't mean to offend GitLab, it's a great service, I just mean that it could be much more if it worked on low level things too, like storage of issues as git objects, or federated instances. These are hard problems that won't make GitLab easy sell to a manager but definitely interesting things that would get developers attention.
Serious question. Is there any precedent? Where a people developed without harming their surrounding.
Not entirely. Check this out: http://www.effectgames.com/effect/article-Old_School_Color_C...
Just out of curiosity, why would one take a prescription sleeping pill for jet lag when there's over the counter ones for occasional use?

I've taken OTC sleeping pills to recover from jet lag with great success.
This leads to my second question. Why NAT if ipv6 and routing ? Surely the performance is better routing ?
No. If I burn my house down and you've kept my furniture, is your act of theft only harmful to me when I get it returned?

(And this assumes that art is like furniture. Hold my beer...)
What's the difference between optional systems and gradual systems?
> This is why absolutely nobody takes seriously the empty words about human rights.

Yeah, sure, because art taken hundred years ago is somehow comparable to breaking human rights.
I've never dreamed. Or at least I've never had any recollection of dreaming upon waking. I wonder if this would make it so that I could dream, or remember that I dream (if I do dream)?
2 days, 28 countries: How hackers robbed Rs 940M from Indian bank
I don't understand how an article focused primarily on demand figures for palm oil does not even mention prices rising because of demand for palm oil.

Sure, I get that it's in Oreos and bread and toothpaste and a number of other products but if the price doubles will it still be in those products? It's used widely because it's solid at room temp, easy to handle, and helps with consistency, but I find it hard to believe that demand will not drop at _all_ if demand is really that high. You can't exactly turn over 20 million hectares in a year.

In my travels, I found this data to be useful:
https://www.worldwildlife.org/pages/which-everyday-products-...
"If you have anyone who can do a better job, please let me know. They can have the job. Is there someone who can do the job better? They can have the reins right now"

Being a leader he has to split his job and find competent people who specialize in that field to do that job. EM seems to have problem trusting or delegating parts of job that he currently does.

I don't follow his twitter that much, does he ever praise his VP's and let them have limelight with his massive followers?, all the major twitter news seems to be about "him" doing something. I know it's his personal twitter, but he uses it to represent Tesla.
If I work in a coal mine, but don't die due to a cave-in, congrats! I get to live to 65. But my lungs are weak from years of breathing dust and fumes, and during a hot, humid summer, I suffocate and die. 10 years before my wife, who spent most of her years raising our children and volunteering at the church.

This is a stupid made-up story, I know, but my point is that there are so many ways our jobs affect our health. Men do dangerous work, it doesn't have to kill us immediately, but it does take us early.
Some recent relevant discussions:

https://news.ycombinator.com/item?id=17698534

https://news.ycombinator.com/item?id=17739569#17742934

https://news.ycombinator.com/item?id=17674859

https://news.ycombinator.com/item?id=17671478
Oh man, any time I read example Go code it always reminds me of code from the 80s/90s. Probably written by the same crowd too.
In the polite paraphrase of John Oliver, host of Last Week Tonight:

"I understand that you want the diamond, but the thing is that we have the diamond, you don't and we're going to keep having it forever. So in summary, finders keepers, go yourself. Cheerio." says Oliver, 'breaking down' former deputy prime minister Nick Clegg's "integral legal argument".

While referring to the crown on which the diamond now sits as an "elegant head sofa", Oliver calls Prime Minister David Cameron's response ("They're not having it back") as "petulant and childish" and expresses surprise that he didn't "lick the diamond to officially call dibs on it".

He doesn't stop there. The comedian 'reasons' Britain's reluctance on returning the Kohinoor saying if they were to start giving back the artifacts they brought in from their former colonies, the British Museum would go empty. He also refers to the British Museum as "an active crime scene".

Source: https://www.indiatoday.in/fyi/story/why-wouldnt-britain-retu...
new york review of books (https://www.nyrb.com/)
Joy was discussed here recently, not a lot of comments though:

https://news.ycombinator.com/item?id=17685548
Connecting the coasts via trains would not have been possible with the millions of bison that used to inhabit the west. Either because of the bison directly destroying track, or interaction with the Natives who hunted the bison and were hostile towards Americans.
Learning handstands as an adult
The US didn’t become prosperous because of genocide. It became prosperous in spite of it.
Erlang is by far my favorite language for anything more complex than a Perl script. I definitely enjoyed that piece.
It absolutely is not. As a queer person I had to emigrate to escape the living hell that was existence in Poland.
Also this one about Factor: https://news.ycombinator.com/item?id=17726634 including another Joy implementation in Prolog https://news.ycombinator.com/item?id=17750910
if you have any interest in baseball, https://www.retrosheet.org/ might be of interest. They have play-by-play accounts for every Major League baseball game going back to 1914.

this strikes me as a good testbed for personal projects, because:

- it's enough data to be inconvenient, but can still definitely fit on a single machine

- it comes in a weird format that is sort of a pain to process, which is good practice

- just loading each event into a database won't be enough, you'll have to transform and reorganize it further to support answering interesting questions

- last I checked, there are undocumented but public APIs for more recent MLB games (on some MLB website), so automatically scraping those and incorporating them into the retrosheet data is another interesting challenge.
Scientists warn fracking could cause water shortages after usage up by 800%
I'm not sure which Wikipedia page you were looking at. There is an entire section on side effects. The original article also mentioned it, as have the comments.
Unless the stock is currently overvalued, in which case it creates a great incentive for bringing the company's valuation into reality.

Short sellers don't need TESLA to fail. They just need TESLA to be accurately valued.
Jason and the Golden Fleece of Agent Oriented Programming [pdf]
So many times this. I'm presently developing a lot of documents for my office with a group of people. If we'd just focused on the content, and not the formatting (layout, font, etc.) we'd have been done weeks ago. Instead, just this morning while peer reviewing a document for the final version, we got bogged down in how to format a section and lost 30 minutes to a pointless discussion that should've been saved for the final revision (once the content was reviewed).

Simple markdown or similar to have a rough structuring/formatting that there are many good editors and presenters for today. Then do a pass through with LaTeX or Word or whatever to (LaTeX may be more appropriate for certain technical documents) after you've written up the content.
Since you think the argument is fallacious, let me spell it out really simply: 6-0 is greater than 3-6.

I am so tired of the "Lebron carries teams on his back" argument. He sets it up this way. It's his own doing. The only time he didn't is when he went to the Heat.

> Now, it’s tough to identify a part of the Cavs’ basketball operation that isn’t dictated by James’s preferences. In 2015, he needled the organization into handing Tristan Thompson an onerous five-year, $82 million contract. That same year, it became clear LeBron liked assistant coach Tyronn Lue more than head coach David Blatt, with James famously ignoring a Blatt play call before hitting a game-winner in a playoff game against the Bulls. Unsurprisingly, Blatt was fired and Lue promoted to the top job in January 2016. James publicly meddled with another free-agency decision the following offseason, urging the Cavs to give Smith a four-year, $57 million contract. While ensuring his team would handsomely pay some of its midtier talents, his connection with his costar weakened: Nobody has claimed that LeBron’s relationship with Irving is the primary reason Irving demanded a trade, but it seems odd that a player who once orchestrated an alliance of superstars lost the allegiance of his best teammate.

> When Lue makes questionable decisions, remember that he’s the coach James wanted. When Smith ruins late-game possessions and Thompson appears to have no real use on the floor, remember those are players James wanted. When Jordan Clarkson falters and Rodney Hood fails to even crack Cleveland’s rotation, keep in mind that those are the guys the Cavaliers traded for due to James’s midseason malaise. The team’s general lack of depth stems from overpayments to players like Smith and Thompson, contracts that were offered to appease LeBron.

> As we consider James’s legacy—and that’s seemingly all basketball fans want to do at any given moment—we need to consider the size of the hills he’s had to climb. In Cleveland, he has helped create those hills.

https://www.theringer.com/nba/2018/6/5/17429314/lebron-james...
I think the problem is you’re severely underestimating the role of Amazon as a market maker / provider of liquidity. By buying in bulk, they underwrite the risk of not having enough direct-to-consumer customers and allow the manufacturer to produce more. Kind of like a bank, or a factor, only tremendously more influential in the process.

The manufacturer cannot easily sell to end users, as it requires fine tuned delivery platforms and most of all, discoverability. SEO alone is not enough for a manufacturer to get noticed, so Amazon will benefit from being the de facto “search” for products. Anecdotally I and most of my friends and family already do this. It’s rare that I have intention to purchase <sub big ticket item> and google it.

As for Tesla, yeah I think it’s time to bet against him. There were many many “great men” like Musk in the 80’s and 90’s that made 1 too many misssteps and ruined their companies. Elon is on a razor’s edge.
Previous discussion 10 months ago, 227 points, 317 comments: https://news.ycombinator.com/item?id=15500510

Popular topic recently: https://hn.algolia.com/?query=dollar%20general&sort=byPopula...
That's a huge claim - it requires a source.

Here ya go: https://www.google.com

As I understand it, most north American indiginous groups had very little concept of realty.

But they did understand war, and the taking of land/territory from one another. The idea that the indians were all kind of peace-loving pacifist hippies is a historical revision.

It will come as news to some people who don't read anything published earlier than the 1960's, but many indian tribes were proud warriors, and routinely fought and conquered other tribes.

There were also indian tribes that were shunned (for example, the Karankowa (sp?) in Texas who were known for being cannibals), and those who were considered backwater misfits (for example, Moapa Paiute).

The indian tribes were much more interesting and varied than modern history teaches.
Damn bisons destroying our fine tracks and bringing Indians with them; let's wipe out their species!
I agree with @scarface74 and would go even further in that I would probably create a custom type for List<AccountId> to convey the purpose of what that thing is now.

And as for the "type shyness":

> Creating a new datatype for something as simple as an int or String defeats that and makes it more cumbersome to work with.

It is never "just an int". Soon you will ask questions about the int, and in a sufficiently large application you will forget the answers to the quesions easily, and scatter the same question (i.e., the same boolean logic) all over the place. Consider an application where you need to filter something by year. A year, you know? As in 1974, 2018, etc. An int is bad, because an int could be -5, which does not make sense. Ok, a uint then? Still bad, because then there is a year 0 and - if your application deals with birthdays of real people, 1800 would be an invalid birthday. The semantics (or pragmatics, linguistically speaking) emerge from how you interpret the integer, and this interpretation can happily live in that one file with that one class that encapsulates "just" that integer.

The AccountId probably shouldn't be < 0, and a specific type could be the one place where you make sure that this is always the case.

What if you start with a 32bit integer and suddenly you realize that your weird Internet-Of-Things-Sensor reading database has grown and the 32bit integer is getting too small? You could just use 64bits. With "just an int", you now get to change every single function that expects an int for the purpose of a SensorReadingId (or an account id or whatever) and change it to size_t, uint, int64 or whatever. OR, you just tell the object that its internal representation uses 64bits now, because the AccountId class is the one single place that deals with account ids. The type provides a consistent interface that allows you to infer the semantics of its use. An int doesn't do that.

This idea predates java by some ~20 years [1]. An int is not an account id. An int is not a year. An email is not a string. The result of working like that is considered a code smell [2].

Still, coming back to the example I made: It was primarily about commenting. I was taught to always comment, and StyleCop enforced comments on each and every field of a class, leading to noisy, superfluous comments.

/// Gets or Sets the Name
string Name { get; set; }

does not add anything.

As for returning an AccountID: I'd like to point out that the Account is a strong and independent object, who can make his own decisions and does not need to return anything. Returning its id like that is actually breaking encapsulation. Still if you do it, it probably shouldn't be an integer.

Why are people scared of creating types and objects?

[1] https://link.springer.com/chapter/10.1007%2F978-1-4612-6315-...

[2] https://sourcemaking.com/refactoring/smells/primitive-obsess...
Keeping Content DRY: Data Relationships in Hugo
oh cool, thanks for sharing that link. In case I wasn't clear, I'm happy with using netdata for short-term data, and hooking up a db in the rare case I want long-term. But that link has a ton of interesting details, can't wait to read later
Where I’m from, all the LGBT people I knew emigrated, me included. Probably because Polish people are not actually very liberal.
The documentation for Product Advertising API is great: https://docs.aws.amazon.com/AWSECommerceService/latest/DG/We... - wasn't to hard to get started.

Long time ago I've mad a service to show the graph - https://www.yasiv.com/#/Search?q=designing%20data%20intensiv... - but the layout is very different there.
They are negatively correlated. Several studies showed that short people live longer.

http://www.slate.com/articles/health_and_science/science/201...

https://www.ncbi.nlm.nih.gov/pubmed/22582890
I've always found enjoyment in finding statistics in things that interested me, so here's a few thoughts on project ideas. The main thing is to find a data set that interests you, and use that interest for fun or for profit:

- pull down your facebook backup, run it through sentiment analysis, throw it in a db, explore yourself through facebook's eyes!
- a while back I was looking to buy a car and used scrapy to process cars.com, ran their vins through a look up tool to find cars that were actually manuals (and not just manumatics, seems few can tell the difference these days). Found reasonable national prices, average miles, etc.
- interested in politics? pull down the data sets for voting records, explore your local politicians' voting records, compare them to national averages or historical information, etc.
- interested in movies? find movie datasets (or scrape imdb.com, themoviedb.org, etc) and find which genres pay the least per actor, have the smallest cast, etc.

Lots of datasets are available online, if not in machine readable format, then in a format that can be easily scraped. Have fun!
I'm sorry to read that you've had such a bad experience with employers, but frankly your experience sounds dysfunctional.

Additionally, your own personality raises caution, with a profile about reading, "Gonna stuff everyone on this website in a locker."

Consider the possibility that you've had bad experiences and have been shaped by them, but others have also not had these experiences and function differently in both the interview process and in day-to-day workplace life.
Cannabis in the United Kingdom
Ask HN: Pro Native Business Case When Compared to Hybrid?
At almost every job I've been at there is eventually a debate amongst non development teams (ie business leaders) and development teams about if to build out a new project using native mobile stacks (Android/iOS) or using some hybrid technology which_lets_us_do_both_at_the_same_time_omg.

The pro native arguments I usually see (and advance myself) are usually centered around availability of or scalability of native features (eg touchID or camera scanning), while the pro hybrid side is almost always advancing the cost savings of needing two development teams.

What are some successful pro native arguments which you have encountered which could help me when asked about the "business value" of native when compared to hybrid apps?
These places are just awful. I went in one last summer and the girls working there were drenched in sweat. The management refused to set the thermostat below 80 degrees! And the cashiers had to stock shelves when there are no customers at the cash register so of course they were sweating. Usually when you go in one, the only employees will be somewhere deep in the store and you have to wait a long time until they check the register for a line.

The idea is to have no stock room so they don’t have to hire stocking staff, and make the cashiers do it when they aren’t actively checking people out. The trucks unload everything right in the store so aisles are always blocked with giant piles of boxes. It’s gotta be a nightmare for someone in a wheelchair.

But the worst part is of course the way they treat employees.
Code N00b: How to Answer Stack Overflow Questions Without Being a Jerk
Really? There's a fundamental and very uncertain question here about isolation vs partial engagement that plays out in all sorts of international relations. The discussion above captures it well enough. I personally have absolutely no idea what the best answer is, and I'd be surprised if most if the other readers here do either.

For a. Example of the engagement question, see the Golden Arches theory (and disagreement): https://mediawiki.middlebury.edu/wiki/IPE/Golden_Arches_Theo...
Disgrace? The Code Napoleon survives across Europe. The ghetto was never reestablished. The ancient regime was not reimposed in France.
Coney Island’s Incubator Babies
https://www.wits.io/writer says 85% but https://www.wits.io/contribute still says 50%.
Microsoft in the 90s used to hire on talent and wall off anyone who "didn't get along". They could code in peace and their manager handled outside communication.
If I have two bases |O_up> and |O_down>, representing the observer in the state of having measured an up spin and a down spin respectively, what is wrong with taking <O_up|psi> and <O_down|psi> to find the fraction of Hilbert space occupied by either possibility?
Ok but for real their implementation is _severely_ lacking.
Have you ever done psychedelics? If so, how does it compare?
Why Are Millions of Chinese Kids Parenting Themselves?
Why choose this problem to solve in 2018? NAT is a hacky solution to an old problem which is fixed by IPv6.
Why the focus on Western companies? Yes, they have traditionally inhabited this role (although far from exclusively) but China is making big waves in Africa.
And the majority of homeless are men.
The British too away a lot of jewels from India, they give some bullshit about how it was gifted to them by the princely states etc, it was straight up highway robbery. There has been a decades-long row between the British and Indian government regarding this.
My fave: http://amiga.lychesis.net/game/ShadowOfTheBeast2/ShadowOfThe...

Loved the music too! That game was one of the first I ever played. It was dark, extremely difficult but with mind blowing graphics. Even though it forced you to watch a lot of the animated intro after each time you died I somehow never grew tired of it in the same way I did other games. It was other worldly
>End of history.

So, you are saying this is an Armageddon level event?