skysight-inc/HackerNews huggingface dataset:
There's an easy way to win that war: diversify the content you consume. If you're willing to step outside of the immensely popular, there are great treasures to be found.

IP owners are protecting their assets which are worth a lot. The irony is that the value of those assets come from us content consumers. And I'll be the first to admit that I'm a lot less interested in the local amateur hockey team than the national league team I follow. I chose to consume that brand. But I don't have to.

Yes I lament the loss of a vision for free-flowing information. But the society in which we live, unfortunately, values and protects powerful asset owners. Technology cannot fix a society problem.
Security Education: What's New on Surveillance Self-Defense
Shit Programmers Say – 2 min video
psh, it's 2017. Clearly we should switch to hex, ditch scientific notation and decimal points and all that difficult junk, and just use IEEE 754 double precision notation for all our calculations. Granted the sign bit in front makes hex notation a bit awkward but I believe it will give us a nice kickstart for when we will inevitably be subsumed by our AI overlords.
Coke is huge in this part of Chiapas, especially in indigenous areas.

I was there last spring, and my guide said Coca-Cola bribed the village curanderos (spiritual healers) to increase the consumption of Coke, so they incorporated it into religious rituals [0].

The water isn't safe to drink, and Coke can be cheaper than milk or formula, so many moms feed their babies Coke instead [1].

The point is, when the megacorp has subverted democracy from the national leaders [1] to the regional leaders all the way down to the village healers, how can you not hold the megacorp accountable?

[0] https://costumbresporelmundo.files.wordpress.com/2014/05/tum...

[1] http://robinewing.com/2013/09/22/cola-consumption-and-the-ch...

[2] https://en.wikipedia.org/wiki/Vicente_Fox
Why is dedicated standard library support needed, when you can recover it from tuples, single-argument functions and Hom-tensor adjunctions[0]?

[0] https://en.wikipedia.org/wiki/Tensor-hom_adjunction
I would but hardly anything works in it which is the problem.
whats interesting is i communicated more with my family when we only had a phone to communicate than when facebook came along. I'm not sure how or why it does it, but i believe it actually thwarts communication.
Let's assume we actually get 50 Virginia class submarines (whims of Congress, and all that). Let's assume we need on average 3 controllers per year. That's a total of 5,000 XBox controller.

At $20 a piece, the pentagon has now spent $10,000. This is not what in military spending passes for excess $ :) Yes, the numbers might be somewhat off, and there's storage cost, but really - we're talking Pentagon here. The place of the infamous $640 toilet seat :) (I know, the price got reduced to $100. Still, on the scale of Pentagon procurement, a lifetime buy of XBox controllers is pretty trivial)
Hey y'all, Greg from Twilio here with the Studio team at SIGNAL London. Pretty excited about Studio and would love to answer any questions you have.
It means that we grow things in California that have no business growing in California.
Yes. This recent thread and screenshot complained about 36 red notifications from Facebook instead of real human beings: https://www.reddit.com/r/mildlyinfuriating/comments/6zjzge/n...

Facebook is diluting its red alert into meaningless nagging.
this is a really helpful distinction that isn't made on the other comments that address HHVM and MW; thank you!
It has always been like this (see browser wars, WHATWG).

In this case W3C is involved just as a tool. Microsoft/Netflix didn't need W3C for anything other than the brand name lending legitimacy to the spec they've designed and implemented before presenting it to the W3C, and didn't materially change it after.
Anyone who's not on Facebook has demonstrated their antisocial tendencies and needs to be even more carefully monitored.
Show HN: 15 Dollar Bootstrappers Marketing Stack
Ed Weissman (edw519 on Hn) on Managing Software Projects and Leading Engineers
This is an excerpt from a book. And it's not that the author dislikes having to use Facebook, but rather it's complex and nefarious interaction with society and the behaviours of its many willing users that is being decried. I'm all for grumbling, but I think a more specific directed kind of grumbling is appropriate for these comments.
To your second point, these things are manifactured in China. What's to prevent them from adding tracking devices or backdoors to these if they realize they're going into US military ships?
It's the same for me, but I'm sure they have all the analytics they need to know what increases engagement and what doesn't...
If by time you mean 5 years ago.
Solar Panels Made with a Particle Accelerator? – Minutephysics [video]
> So if I find a dollar on the beach and pick it up, what liability has been created by my having a new asset?

That dollar bill is a title of government debit.
In reality, I don't think there's a polarized divide. The guy's worldview was kind of messed up, a simulacrum of the misogynistic community, which he developed because of his own ok insecurities and the encouragement the misogynists give when you parrot their creed. Most people don't agree with that stuff. But most people don't call for the shunning of the guy. It's more the outrage that surprised me, because Asheville is usually peaceful. But the double standards are strong. You don't see them picketing Bikram yoga centers in spite of the apparent rapey-ness of the founder, who gets franchise money from each center.
I did that for a couple of years and I could agree that occasionally it may be useful for engineers to feel first-hand pains of the user. However in my experience it quickly devolves into engineers spending whole days on customer support, which is terribly expensive for the company and terribly unfullfilling for employees.

The company pays significant money for the guy, who instead of creating persistent value (in a form of software), spends days in meetings with customers, clicking around their servers to setup the software or solve some configuration issues.

The employee goes through boring and exhausting meetings with customers, and after those few years feels completely burned out. Furthermore with most of the time consumed by such meetings, any changes to the software will be done ad hoc, without any further consideration, because there's no time for consideration, when the customer always wants the change to be done ASAP.

The same job can be done much cheaper and by someone who actually enjoys day-to-day interaction with customers.
I have been trying to be sarcastic. Sorry.

I do not support legalizing drugs, decriminalization yes.

I am afraid that capitalism and greed, lobbying and 'free market' will be given a chance to make big profits from it. And put more people into addiction in result.
Tried on both firefox/chrome. Didn't check for console errors. I went back to the previously opened tab and the cross worked this time. Unable to reproduce now.
They could conceivably provide APIs that refuse to give detailed scans when a face is detected.
Doesn't seem overly tricky?
https://stackoverflow.com/questions/37282159/default-propert...
I know. I wish they would update the iPhone SE (my current phone). As it is, looks like I'm not upgrading anytime soon.
The 8 has a better camera.
Yeah, it seems like there's a thread on HN every week where half of us jump in to share our story. I haven't been on FB in over 5 years and am much happier without it.

That said, I have other more tolerable addictions (like reddit).
Having a flip phone I get a kick out of it how dorky people look using their gadgets, the same way the one button mouse made me laugh when I had an actual one. More of all that, please. As long as it's more than a piece of cloth people chew on while staring off into the distance it's still way too useful and all the important people know it.
This article is just exploiting our desire to hate corporations.

What ever amount of water Coca-cola is taking it is surely a drop in the bucket compared to other uses of water. More likely it is a problem of water being contaminated for other causes. Chiapas is in the middle of the rainforest. They get 120 inches of rainfall a year. In any case their problem is that they get too much rain.
> What kind of an argument are they that it's "modern"?

What would you consider a modern feature? I don't know of anything in the last ten years that could be considered new. This is the second time I'm asking, if no one can answer that...

We can only have one conclusion: No language can be considered modern by this definition, rendering it fairly useless as a definition.

---

> So which one is it?

Allow me to quote myself:

> You have the Exception system, used everywhere. When finer-grained control is desired, you also have that available

> they complained about multiple redundant ways to do something in a "modern" language, and your explanation is that most of those ways are historical cruft.

That was not my explanation. Some are historical, some giver finer grained access.

syntax-error allows you to control error handling within macro-expansion time, for example.

scm-error allows you to output your own backtrace, including asm if the compiler supports it, and strerr allows you to output Unix errors.
One thing I'd point out is that the only relevant objections are things that are true about the XBox controller that aren't true about all the alternatives. One-off bespoke custom hardware at dozens of thousands of dollars a pop are not necessarily going to be better supported at these time scales, because even if you sign an iron-clad contract with an entity to do whatever maintenance you could dream up, they still have the "going out of business entirely" option. You also can't neglect the hours of training involved and all the other associated costs with bespoke solutions.

We're trying to solve the problem of how to point periscopes here, not solve the generalized problem that when it comes down to it, nobody really knows what 2027 is going to be like.

(By contrast, "this is a new vector for malware if the supply chain is not secured" is a valid concern because one presumes and/or hopes that bespoke military hardware is better controlled there. This is a solvable problem, but solving it eats into the cost advantage.)
Technically, yes. Possibly a very short vibration, however.
> When he set up his initial meetings with business leaders at the beginning of his administration, the tech giants were notably not invited.

Hmm? https://techcrunch.com/2016/12/14/donald-trump-meets-with-te...

"President-elect Donald Trump met with some of the most prominent executives from the tech industry today at Trump Tower, with investor Peter Thiel and Vice President-elect Mike Pence at his side. Trump opened the meeting with CEOs from Google, Microsoft, Apple, Amazon and others by thanking Thiel for his support."

"Attendees included Eric Schmidt and Larry Page of Google, Tim Cook of Apple, Satya Nadella and Brad Smith of Microsoft, Jeff Bezos of Amazon (who expressed his excitement that Trump’s administration could be “the innovations administration“), Safra Catz of Oracle, Chuck Robbins of Cisco and Sheryl Sandberg of Facebook. Thiel’s business partner, Palantir CEO Alex Karp, attended as well."

Seems like different sectors just had different meetings? Which meeting specifically were you thinking of?
> The water isn't safe to drink, and Coke can be cheaper than milk or formula, so some moms feed their babies Coke instead.

Fucking hell that's awful.
Targeted Attack Uses Word Docs to Collect Info about Installed Software
A lot more tax money goes to non-military parts of the government[0], like welfare and education. I'm not happy that Amazon doesn't pay its fair share.

[0] https://www.usafacts.org/government-finances/spending
Carbon dating finds oldest recorded use of the symbol 'zero'
This is not something that other dynamically typed languages necessarily do

Yes, I agree, and this is because Javascript is very weakly typed, and sadly, no tool like Typescript will go so far in counteracting this, because the runtime itself (JS) is still weakly typed.

So... no real substitute for good old runtime testing, i'd say.
HN has a rule against sensationalised headlines.
Blade Runner means so much to me. I'm very glad that this is a thing, although, like with all sequels and re-interpretations of experiences that are near-and-dear to me, I'm struggling through "trying not to have too many expectations."
I'd like to see the way that this is re-interpreted - but there's a very particular aesthetic and air about the original that I'd love to see kept around.
Just to be clear, I don't advocate currying everywhere. To me, the distinction between uncurried and curried functions lies primarily in the kinds of usage they suggest:

(0) Uncurried functions are easier to pass as arguments to higher-order functions, because the author of the latter doesn't have to anticipate the arity of the former.

(1) Curried functions are easier to partially apply. This is particularly useful for collection-traversing higher-order functions (map, filter, reduce, etc.).

Furthermore, functions of three or more arguments can be “partially curried” in various ways, and the optimal choice ultimately depends on how you intend to use them.

That being said, when in doubt, I tend to go for uncurried.
The Ten Essentials for Good API Documentation
Perhaps the knife was a bit exagerated. It will be considered a weapon in many jurisdictions. Lynx however will/should hardly be considered a hacking tool. curl has been in deep waters many times, equally perplexing as the lynx scenario. https://daniel.haxx.se/blog/2016/01/19/subject-urgent-warnin...
Isn't this also related to climate change? Given the rate climate is getting warmer, it has been long predicted there will be shortages of drinking water and wells will be drying up as well as vast green areas of today will turn into desserts. Water will be cause of military conflicts in the future I believe. It will be more valuable than oil.
> The example is always some simple math, but usually functions are doing more

On a language like Haskell, 90% of the time you see partial application it is something like `(+1)`, or `inClass isSpace`.

That insistence on functions doing more is a very OOP thing. Functions that do too much do not compose well.
I worked at a military contractor one summer, decades ago. Back then, nothing went out that wasn't mil-spec. My novice understanding of this was that equipment used by the military must be able to withstand a much wider variety of stress, and exhibit a much greater degree of usability under every possible scenario, than could be provided by consumer-level products. Specifically, my job at the time was sitting in a dark room helping to measure the light output of switches that were used on airplane consoles. This was understandable because this equipment is not only life-or-death but must perform in chaotic and hostile environments.

TL;DR. Does the xbox 360 controller to be used on navy submarine work when say....it gets wet? (or just how does it deal with saltwater corrosion). Not to mention the security issues I see other people mentioning here.
I guarantee that they ran some tests and figured out that xBox controllers were either manufactured to tolerances "close enough to what we'd spec out that the difference is negligible" or that stuffing one more spare in a ziploc bag gave them less overall downtime than nicer hardware and carrying fewer spares.
Why put quotes if you're not quoting what I said? You are suggesting that your modified text is what is on my profile and it's not.
The generator is passed random noise from a distribution, so iterating through all the samples is the same as just sampling from that distribution a ton.

If your noise is uniform on [0, 1], then, sure, you could just iterate through every possible float, I guess. Though in practice you're talking an astronomical number of possible combinations.

Another option is to take two samples from the distribution and interpolate in-between them, which might give you an idea of the distribution of samples. Maybe, it depends on the GAN and data.
Django project optimization guide – part 3
The Fed can't print money without devaluing the money already in print. The federal government can make money off a transaction and use it is as additional revenue.

Not really arguing "should" here, nor am I arguing that the supposed profits were real. Just pointing out a big difference between the federal government generating revenue and the federal reserve printing more money. If this were not true, then why would would have taxes? The Fed could just print money any time the government needed to spend it.
Jachris/cook: An Extensible, Dynamic, Fast and Cross-Platform Build System
This isn't the first time our armed forces have used the venerable Xbox 360 controller, they're cheap and easy to replace, ubiquitous, and basically anyone can use one comfortably.

Sure, they aren't waterproof, dust proof, have overvoltage protection, etc. but whatever - you can carry a dozen spares for $240.
College Life Hacks Tested by Real Students
Hysterical notifications are why I deleted the app from my phone. I was getting notified about stuff that I didn't care about, that no sane person would ever care about, and I lost patience with their whack-a-mole settings system.
Show HN: Meet people that wear their music
> The company says the photonic mast handgrip and imaging control panel that cost about $38,000 can be replaced with an Xbox controller that typically costs less than $30.

I'm curious if their supplier will give them the bargain US-government-only price of $1999.95 per controller.
A Reactive Database for Progressive Web Apps and More
> I won't be able to see what code is running in my browser

Yes, but it's not JS. It's a plug-in the EME spec calls "CDM", and it is allowed to be anything, including kernel modules and hardware.

Websites that sign contracts with CDM plug-in vendors can use these unrestricted plug-ins, but you aren't allowed to check what they're doing because of DMCA.
Not directly but ARKit exposes face tracking, expressions and other info: https://developer.apple.com/videos/play/fall2017/601/

https://developer.apple.com/documentation/arkit/creating_fac...
I suspect it's a question of goals. Facebook talks a lot about increasing usage time and interaction count.

The changes drove me away, but I was a low-time, low-activity user to begin with. Trading me for expanding the value of a 'whale' is probably a sensible move for them.
Seems bizarre to only think taxes go into the Military Industrial Complex. I mean, sure they take their cut--but I'd like to think that our taxes go towards maintaining our civil society as well!

Edit: Seems very much cutting off your nose to spite your face, if one is 'happy' a corporation isn't paying taxes
Food, actually. They cram food all over them. When the embark, they don't have room for all the food in the galley. So, it gets tucked into every nook and cranny.

They don't just get to stop at neighborhood grocery stores, after all.
I don't understand his rant about "wireless" charging. He wrote a whole article about it with two dictionary definitions that completely contradict his own point, too.

Wireless means there's no wire and you don't need to plug your phone to charge it. So it's wireless charging.
It's funny to see that they are not even able to implement an Ebook reader mode. Crowd sourced data to selectively enable/disable JavaScript for invasive/resource hungry websites will save a lot of battery too!
The military has been buying 360 controllers to do a bunch of different things and I'm sure MS has been providing them on contract and will continue to provide them because it's easy money.
CentOS 7 Server Hardening Guide
How do you know which ones are headed for a submarine? The military could literally just pick a BestBuy and go pick up a dozen controllers whenever they're at a port.

The manufacturers in China would have to put backdoors into all of them, which would be noticed pretty quickly, and the gain is what? They can control the periscope direction? That would be noticed immediately too.

I'm not saying it's impossible, but it sounds more like a plot device for a "set your brain on the seat beside you" action movie.
Waste water, unless the plant is specifically setup to recycle it's water waste, tends to eventually end up in the ocean. Dumping fresh water in the ocean is reasonably close to shooting it out into space. (Of course nature will reclaim it from the ocean for you over time.)
This. The southern Indian state of Kerala successfully resisted and shutdown this company for good. Even the state made legislation to sue the company for those affected by its ruthless exploitation of ground water.

The factory was in the Palakkad district of Kerala which has historically low levels of ground water. The company was extracting more water than agreed to. The politics behind approving this plant in an already water deprived area is another story. The villagers were experiencing health problems, water depletion in their wells.

I would say the politicians approved this plant and the people shut it down. Even there was a smear campaign in the state against Coke depicting it as an effective insecticide so that people would stop consuming it.

This is not an isolated incident of foreign companies exploiting a third world country. I do not understand what companies means when they say "responsibly sourced". People need jobs and salaries, but not at the cost of their own environment & health.

http://www.righttowater.info/rights-in-practice/legal-approa...
The argument I've heard in favor of this is that in 1995 if you wanted to talk to Aunt Sylvia in Indiana you had to pick up the phone and call her. More often than not, this resulted in a 20-30 minute conversation where you talked about something. This would happen, what, once every few weeks or months? Now, you see her in your news feed, and you might like it or fire off a one-sentence [fragment] comment. This mini-interaction happens on a weekly or daily basis, so you feel like you're more in touch with what Aunt Sylvia's doing now, when in reality it's much more superficial.
The new Pixels will have the same problem as the current ones
KaSim: A rule-based language for modeling protein interaction networks
"I think you're arrogant in suggesting that only beginner and intermediate programmers make these mistakes" level.

Yes, advanced programmers make these mistakes too, and they find tools like this helpful in catching them. That's why Microsoft created TypeScript. That's why Facebook created Flow. Facebook and Microsoft are two companies I wouldn't call beginner or intermediate.
Indeed they do — far more impressive museums and monuments than we have here [1]. Notably, they do not have hundreds of monuments dedicated to those who fought to preserve slavery.

[1] http://www.theroot.com/look-at-all-these-monuments-from-arou...
Marketing Strategy Dissertation UK Supermarket Industry
>They catch 15% of the bugs in Javascript projects on GitHub.

Using JS projects in GitHub is a really misleading sample. GitHub is used by all kinds of purposes, for example most coding bootcamps and institutes here tell the students to upload their code to GitHub. You have, for each institution, about 400 Javascript GitHub repositories each year, full of code written by true beginners.

GitHub is simply a big container of code for literally everybody, so judging kind of bugs produced by looking at what it's inside the Github repositories is akin to judging how many gramatical errors book authors make by taking a look at all the MS word documents stored in Dropbox.
What if you dont have a product out yet.
'Bitcoin is a bubble,’ says the head of the world’s largest hedge fund