skysight-inc/HackerNews huggingface dataset:
On the other hand, there was a very interesting documentary of McDonald's about how they prepare the hamburgers for the photo. [tl;dv: It's true food, but it's cooked in a very strange way.] "Behind the scenes at a McDonald's photo shoot" https://www.youtube.com/watch?v=oSd0keSj2W8 (I remember that it was discussed here a few years ago, but I can't find the submission.)
As someone who pays taxes in New York City, I'd much rather see my tax dollars go towards paying the rent of the homeless than 99% of the other things the city does with our money.
Congress has specialized, non-partisan staff called legislative counsel. They will take instruction from Congressional personal staff and committee staff and create drafts of legislation. At times, if the Congressional staff choose, outside counsel (K-Street) can be involved in this process. They can provide "model legislation" at the beginning of the process or suggested revisions. This can be very helpful because the K-street counsel is, at times, more expert on various highly technical aspects of the law. It can also speed up getting the bill into a finished place where it can be introduced. There's nothing particularly nefarious about this process, although well-funded, well-connected interests can get bills drafted sooner. But to be clear, Congressional political staff (who may or may not be lawyers) are in charge of the drafting process. Congress writes the laws.
I didn't see the 300,000 number in your CDC link. I'm curious where you found a number so low.

https://www.cdc.gov/nchs/fastats/deaths.htm says that some 2.6 million Americans die each year. I think it's safe to estimate that more than the 36.5% obesity rate for the entire population applies to this group, implying that some 958 thousand people died while obese (ignoring cause). The top 10 causes of death include heart disease at #1, strokes, and diabetes; these factors alone total to 853 thousand deaths due to conditions largely caused by obesity. Furthermore, studies suggest that some fraction of the almost 600k cancer deaths are caused by obesity. I think you're at least a factor of 3 too low.

I will play devil's advocate for a moment, though, and say that among high school girls, anorexia is a much more frequent problem than death by heart attack. No, it doesn't lead to death, but that doesn't mean it's not a problem.
Not sure you read these responses, but thanks, appreciate your thoughtful response.

Definitely wish I had said what I said differently - you're right - it was an emotional response. I was in the middle of a busy day and didn't have to time to gather my thoughts better so it was all stream of consciousness.

That said, all my follow up responses were a lot more measured, and I even acknowledged that I shouldn't have used the language I used in that post.

I should know better than to call tech workers entitled on a site like HN and that's probably the best reminder for me out all of this - know your audience.

Regardless, apologies that you had to spend time cleaning this up.
This whole article boils down to "new hires require training". Is this surprising to anyone?

Yes, those are examples of bad code - I've written it, and in a code review (y'all do those, via reading pull requests or some other method, right? Your new hires don't just start shoving commits into master, right?), the senior developers pointed out my mistakes, and showed me the correct way to do things. Once I became a somewhat better developer, it was my turn to do the same thing for those who know less than I do - or even for those who maybe just got a bad night's sleep, and aren't at their best that day.

It is fucking frightening that this blog post needs to be written.
I stand corrected. Assuming no fallthrough, what are the advantages of this over chaining if and else-if? Just to look cleaner?
That's wild to think about from my perspective. I haven't touched physical currency in years in Canada. I'm sure you get by just fine but it's an interesting thought. I kind of miss cash.
Just a reminder that anyone can issue credit. A composition notebook and a pencil is all it takes to keep record.

1. Pay by the end of the month and it doesn’t effect me. No interest.

2. Otherwise, 1% to 1.5% of the balance in interest month over month. You have to pay at least the interest every month.

3. If I need to borrow, I can do it on the strength of my accounts receivable and my ability to collect interest payments reliably.

4. If I don’t get payed back, I can take someone to court when things are back to normal and yes, the court will side with me.

4.b There's always ways to create incentives to pay debts.

It has worked this way for hundreds of years in parts of Latin America and other areas of the world with fluctuating infrastructure.
Cool! And yeah, count me into that camp as well.
I know, and I very much dislike that as well. That is one of the reasons why I got a Fairphone 2, with long term support.

I also bought a Xiaomi for my partner (cause the FP2 would be an old SoC for the same price it cost 2 years ago) with specs which otherwise would've cost us more than double. I expect the device to last 1,5 years. Hopefully by that time the FP3 is on the horizon.
I haven't, but I'd like to. Anyone who's reading a thousand tapes nowadays must be doing something interesting. :)

Well, probably.

There was a stack of floppy disks sitting on a shelf in an old thrift store. I couldn't help but buy it for $1. What could they contain? They're sitting on my desk right now. I still haven't bought a floppy disk reader, but I'm really curious. I assume a USB floppy disk drive + linux will be enough to dump the raw bytes, but I haven't looked into it. Spelunking around old tech is fascinating for unknown reasons.
Indeed. Bitcoin is a crossover point between cypherpunks and goldbugs.
I live in the EU and agree on the smoking issue; thankfully more places are disallowing smoking in their outdoor seating now, and chewing tobacco and vaping are becoming much more popular.
> They've simply gone through enough ego-gratification, that at this point they have the confidence to demur on complexity and favor simplicity instead.

I think they've also made enough mistakes in their past to spot potential new ones well in advance - that's what makes them valuable, in my opinion.
Flash hiders don't actually make gunshots harder to spot, the change the direction of the flash away from the shooter line of sight allowing the gun to be used in low light conditions without blinding oneself, and in modern days allow you to use nightvision devices.
Muzzle breaks don't make a gun louder, the make it louder at the muzzle which is why some ranges don't like them.
Muzzle breaks don't reduce recoil they reduce muzzle rise which is only really useful for follow up shots.
I personally don't find the notch distasteful. The only problem I have is with Safari's complete embrace of it even necessitating whole new css customizations[0] and letter-boxing(!!) of websites that haven't customized its handling of the notch in landscape mode!

[0]: https://webkit.org/blog/7929/designing-websites-for-iphone-x...
There are polls on this, it's not 'a very small portion'. Here's a recent one. https://www.nytimes.com/2017/09/26/upshot/nearly-half-of-ame...
What It Was Like to Report on Feminism for Playboy in 1969
>I don't see what motivations the justice system can have to apply the law like that, can somebody explain it to me?

They're chasing statistics to make themselves and their departments look better.

If you can't measure the important things, the important things become what you can measure.
I use it because if your switch is exhaustive, it's nice that the compiler can tell you exactly which parts of your code need to be updated when you add cases to an enum. (Also, in Swift, fallthrough is opt-in instead of opt-out, which is great.)
Nobody really cared when Flint Michigan had a water crisis so I’m not sure the “is it America” thing really makes a difference.

America is simply too big for people to care all that much about what happens in far flung areas. Hearing about flooding in Louisiana is like about flooding in Bangladesh. Unfortunate, but not my problem.
> No, they don’t want to. But I think it would be advantageous to them to not have Android around.

In 2016 Apple got 104% of the entire mobile industry's profit. Not revenue. Profit [1]

I hardly see how disappearance of Android would bring Apple any more advantages.

This year Samsung looks like they might beat Apple on profits ... due to large sales of components "to a major smartphone customer" [2]

[1] http://fortune.com/2016/11/04/apple-smartphone-profits/
[2] http://money.cnn.com/2017/07/27/technology/samsung-profit-ap...
But is it really fair that surgeons or NFL players don't match societal distributions for their respective traits? Think about how this makes all of the low-dexterity, low-coordination little boys and girls feel. For the sake of feelings, I demand mandatory mediocrity for every profession. Anyone trying to be exceptional should be hampered accordingly.
It's not that hard. Take a Black Rock, and a few samples ok known purity, 75,80,95,100%. Then scratch the gold sample across a set of lines, of these purities, and see which is the closest.
Interesting side note, source contains 8701 goto statements -- I like it.

$ find . -name "*.c" -exec grep goto {} \; -print | wc -l
8701

Most of it to unify releasing resources on function returns to one place at the end of the function body. This is what makes RAII in C++ so important/convenient.
What made gold a currency was not the metal, it was the stamp of the local ruler underwriting the claimed value.

The metal was just a convenient pick because it was useless for tool and weapon making, and didn't degrade quickly if left in some damp place.
HTML was based on the ideas of a British national, Tim Berners-Lee. He spoke English. So did Linus Thorvalds, and the founders of Skype and Transferwise.

ARM and Nokia are/were not mainly software companies, but producers of chips and cell phones (where software is a part).

Not sure what bubble you are talking about.
In my experience, a junior developer can't see as many of the potential pitfalls ahead, and tends to solve the immediate problem - as well as usually using the first solution they can think of or come across.

Which is fine; if you're straight out of school, you might not have a huge variety of resources to draw on. You haven't shot yourself in the foot often enough to figure out which directions aren't a great idea to point a gun in.

It doesn't mean you're a bad programmer.
I believe the point is to explicitly take advantage of the fallthrough.
Postgis 2.4 released with native vector tiles
What terms would you use?
And likely thousands of years before that, until the economists and their fairy tales came around.
And what are those projects exactly? They haven't achieved anything technically groundbreaking or even game-impacting for developers for a while now. Swift maybe, but even that...
Giving raises to existing employees is not related to demand and supply at all, but to other institutional reasons. Managers have more freedom to give offer higher salaries to attract good talent, than they have to offer super high raises, which can also cause discord among teams unless you offer raises to everyone, which may be more money than the manager can afford.

Of course it depends on the market, but I disagree that is just SF. Seattle, NYC, SoCal (LA, San Diego etc.), Boston, Austin all have a thriving tech sector, although Bay Area still far outstrips them in demand and compensation.
They are kidnapping or taking people away still today. They are kidnapping people like the folks in hong kong who publish books the leaders don't like, here's an article https://www.theguardian.com/world/2016/jun/17/china-behaving...
No it's not. Just because most people's use of the Internet can be summed up by visits to X, Y and Z.com doesn't mean I can't create W.com to take them over. You can still compete.

Without net neutrality, forget about it.
I don't think that's clear at all; there's no border around the ad, so you've got quotes about how great Paint.NET is, some info about Google Duo, and then a big INSTALL button. It's not at all obvious that Duo and Paint.NET are unrelated, if you don't know what Duo is.
I would say most of the middle class doesn't have the ability to legally defend themselves either. They might be able to, but it's financially catastrophic. You can pay a lawyer to plea for you, but if it goes to trial, it could be in the 10s of thousands. It all depends on how long the prosecutor can draw out the trial. Also keep in mind while this is going on, you've probably been fired, so you don't have any income to pay for it, so it depends on how much you have saved. (You probably won't get a loan with no job).

https://www.thumbtack.com/p/criminal-defense-attorney-cost
Its not comparing the same thing I think, commits to a repo and diffs sent over email, and even if it was, its not really the same thing anyway...

Kernel development seems to progress fine, I'm pretty sure if there was a problem, Linus would have made some effort to change it, just like the whole source control thing that ended up becoming Git.
Still, it isn't entirely obvious under what conditions the methods of a React Component class are going to be called. For all you know they might always be called against the instance.
> What voters vote for wealth redistribution?

1. You're not to think you are anything special.

6. You're not to think you are more important than we are.

> Where does Antifa corner someone with bad speech and beat them up?

4. You're not to imagine yourself better than we are.

> Where does gang violence (epitome of contrived us vs. them) happen?

2. You're not to think you are as good as we are.

8. You're not to laugh at us.

9. You're not to think anyone cares about you.

---

> You think gang violence is because people are trying to stop other people from rising out of poverty, rather than someone trying to rise out of poverty through crime?

Tomato, tomato. First, gang activity is perceived to be zero-sum; a gang protects its territory. Second, vengence is primarily about hurting the other guy, not helping yourself.
In practice, I think you'd be hard put to find a university CS degree that didn't involve a fair bit of programming. There was often more distinction in the past, especially at schools where CS came out of the Math department for historical reasons. But look at something like the Intro to Algorithms and CS class at MIT--there's a two-part MOOC on edX--and there's definitely programming. (Although it's clearly designed for people who already have some programming background. The assumption at top-tier schools tends to be that incoming students who want to major in CS already know programming to some degree, which has it's own set of problems but that's another topic.)
That is exactly the point I am trying to make. If the Spanish Central Government had handled this better, it probably could have convinced more Catalan against independence. But its actions have antagonized more and it doesn't look like it will end well.
I have no idea why you're downvoted. Email is great especially because it's an open standard. I don't understand why people expect Linux kernel development to adopt some kind of proprietary platform for communications. I think it's a terrible idea.
ah nice, to not see that I must be part of the bourgeoisie oblivious to the socioeconomic woes of the underclass

finally.
> Net neutrality is an irrelevant issue given that situation.

No, it most certainly is not, because those of us who do not belong to the 95%, those of us who are trying to build new Internet services or new products that need fast, reliable Internet service in order to work, need net neutrality as a core principle in order to have a fair chance at competing. Innovators are always a small percentage of the population, but that does not mean their needs are irrelevant.
Of course cash is still useful to those that the keeper of the notebook doesn't choose to issue credit.
TIL there are over 20,000 species of bees, and many of those species are "antisocial."
This entire post is so true.

As a personal (not so personal anecdote). Purescript[1] Book[2] claims "No prior knowledge of functional programming is required, but it certainly won’t hurt. New ideas will be accompanied by practical examples, so you should be able to form an intuition for the concepts from functional programming that we will use."

And then it goes through a rather gentle introduction of various concepts. And then this is the first time ever that `map` is mentioned:

> Fortunately, the Prelude module provides a way to do this. The map operator can be used to lift a function over an appropriate type constructor like Maybe (we’ll see more on this function, and others like it, later in the book, when we talk about functors)

WTF.

"lifting over typeclasses wat". The whole concept of lifting isn't discussed until six chapters later.

[1] A Haskell-derived/Haskell-based language that compiles to Javascript, http://www.purescript.org

[2] https://leanpub.com/purescript/read
Remember OpenOffice.org? That is still getting ~100,000 downloads a day in April this year [1]. That's after all the Linux distros moved to LibreOffice for years. Forks work for moving development, but not necessarily for moving users.

[1]: https://lwn.net/Articles/729460/
As a German living in Sweden since more than a decade ago, I've often appreciated the impact the Law of Jante has on Swedish culture. However, at least in central Stockholm, many people nowadays express aversion against the Jante Law, as they associate it with the old socialist Sweden in which many of the freedoms (and choices) of today apparently didn't exist. I'd assume though that it still works as a guiding principle in many decisions Swedes make and behavior they demonstrate - no matter what they publicly say about this philosophy. Compared to Germans and many other cultures I know, Swedes are pretty good at not taking themselves too seriously, which I consider to be a result of Jante.
Firefox Nightly on Android has the best tab management work flow far more usable than Chrome ... have been using FF nightly on linux laptop for past several years and love how Sync seamlessly shares bookmarks and open tabs across devices ... in general I find FF uses less RAM and CPU than Chrome ... Congrats on the hard work over at Mozilla !!!
For other Safari Books members, they happen to have it.

https://www.safaribooksonline.com/library/view/the-managers-...
(honest question, just Incase it comes off as sarcastic).

How would you get a job a job as a junior dev without any form of dev training.

Side note: how could you be a Dev without knowing the fundamentals of how to code?

I looked up a computer science course (https://ocw.mit.edu/courses/electrical-engineering-and-compu...)

Which seems to cover some programming. Surely something such as a switch statement would be included?

Edit: fixed course link.
I want to add that as one person's level of education increases his support for Erdoğan decreases http://www.vegaste.com/wp-content/uploads/2017/04/IMG_201704...
I would say at 117 edge locations vs 93 Cloudflare will have lower latency, but most notable in markets that most companies care least about. Probably of more importance is by using embedded V8 as opposed to a process-level sandbox running Node.JS, the Cloudflare service worker will have a much faster startup time in all locations. I seem to recall from tests in Lambda that we're looking at 40-50ms, which is actually substantial given how close these locations often are to the user. But the biggest edge in my books is CloudFront bandwidth is ridiculously expensive and Cloudflare doesn't charge (directly) for bandwidth. Bandwidth often being the single biggest line item in your AWS bill if you get a lot of traffic.
Honestly I never bought into the stories that the current generation is full of dummies. It's mostly news hype made to make you feel superior about yourself. Those stories are amping up here in the US about Millenials. It's all BS.
AIR ALERT: AIR FRANCE A380 ENGINE DISINTEGRATES MID-AIR
In case anyone is interested, Statistics Norway believes that the median after tax income for households consisting of persons living alone under 45 years old was 280,200 NOK/year in 2015. The exchange rate with the dollar varies of course, but this is somewhere between 33,300--38400 USD/year.

This report https://www.census.gov/content/dam/Census/library/publicatio... suggests that the median income of non-family households in the United States was ~33,800 USD/year, before taxes but after cash transfers from the government.

I am not sure how to compare the before and after tax measures, but even if I could, there are still many remaining differences between the United States and Norway. Also note that the two groups being compared are not the same, because of the age restriction.
> Maybe the real answer is to take a step back and consider what is a middle ground that gets 90-95% of what anybody needs.

I call this "pragmaticaly typed language", but should just call it "a pragmatic language"
I went to college with Rick. He's an awesome guy and deserves to be paid for his work on this. He's the only developer of it. Look at what photoshop costs. It's a tiny amount to pay for what you get.
> The implication of this article is that agencies would be obligated to use what the article calls "more obtainable" bodies. Is this actually the case?

Obligated overstates the case, but certainly economically encouraged to compared to the status quo ante, as the benefit (where manipulation is required) is lower and/or cost (of finding models and constructing shoots where it is not required) for not using obtainable body images.
I remember Nick Lowe in an interview saying one of the best things about getting older is you get less judgmental. He was talking about music and his example was that one day he realized: hey, Barry Manilow is actually pretty good.

Those old hats are actually pretty good.
I really love those Soviet white hats. Does anybody know if they served any real purpose, or was that just soviet chic?
Setting aside the actual results of Puerto Rico's referendum, which was to join the union…

The other colonialist powers in the Caribbean (France, the Netherlands) don't seem to have any problem providing hurricane relief to their Caribbean departments and territories. Only we, the wealthiest country on the planet, can't help our own citizens, a hair over a thousand miles from our shores. American exceptionalism!
Step 1) Kalanick creates a successful company that disrupts the taxi industry

Step 2) thousands of people are now losing money and get upset at Kalanick

Step 3) millions are spent lobbying governments, suing Uber, publishing anti-Uber news, shilling against Uber on social media etc

Step 4) everyone hates Uber and Kalanick
And by extension the government. Americans have a built in distrust of our government (often for good reason), which is why a lot of policies don’t happen here.
England: here's the definition of rape.

http://www.legislation.gov.uk/ukpga/2003/42/contents

You need to read that in combination with the prosecution services guidance: http://www.cps.gov.uk/legal/p_to_r/rape_and_sexual_offences/ especially the consent section: http://www.cps.gov.uk/legal/p_to_r/rape_and_sexual_offences/...

> Lack of consent may be demonstrated by:

[...]

> Evidence that by reason of drink, drugs, sleep, age or mental disability the complainant was unaware of what was occurring and/ or incapable of giving valid consent; or

You also need to read these in combination with the sentencing guidelines: https://www.sentencingcouncil.org.uk/wp-content/uploads/Fina...

Alcohol increases the culpability of the offender.

In practice I agree with you: it's harder for victims to prove their case when alcohol is involved for a variety of victim blaming reasons.