skysight-inc/HackerNews huggingface dataset:
> To reduce cognitive load for me, I should be able to treat the function/method as a black box. Care about what it receives, care about what it returns, don't care about how it goes about accomplishing it.

I couldn't agree more.

This was the massive reason I loved Go when I switched from Node. My cognitive load was massive in Node, because I could not trust a function just by looking at it. Did it return a value? Did it take a callback? Did it return a promise? etc. I always had to have the documentation up. Now with Go, not only is the function signature easily accessible from Code (due to the static nature of it), but most things return values. Async doesn't propagate in an almost sinister way, like it does in JS.

In fact, I'm switching back to JavaScript due to needing to write some ReactNative stuff, and I'm having PTSD of sorts. React & Redux are great, I love them, but they're designed quite synchronously. Async just piles on another layer of complexity, for such a simple task.

Anyway, I'm diverging a bit, apologies.
I find all of this absolutely hilarious. "this is not nation state because it is written in a shoddy way" is akin to "he does not look like a spy because he's too stupid." Get out. Attribution is almost impossible so don't even try.

"It's sometimes the height of wisdom to feign stupidity.” -Cato 149 B.C. (that's right, people knew about this simple trick before Jesus was born, you bet humanity has refined on it since)
Quantum Computing Becomes More Accessible
I would love to see a deep investigation proving/disproving this point
How is the order of transactions finalized in a block before the block has been mined?
Yoke?
What makes this off topic?
Comcast, Charter May Soon Get Even Larger with Joint Acquisition of Sprint
That's not full reverse engineering. They're removing the protection, with a clearly defined goal they can look at to see if they're done, and that's all.

Very different from trying to figure out everything a program does.
I've had one like this too internationally where the key had to be picked up from someone else at another shop but the host gave terrible directions and to my confusion the shop didn't exist on Google Maps. It ended up taking over an hour to be able to get the key and check in meanwhile I'm wheeling around a suitcase in the super hot summer sun. At the end, returning the key added another half hour, to a trip that was already just a few days. That host in particular also claimed to have AC on Airbnb but really only had fans. It added unnecessary stress to a short trip. The key box really should be a universal thing.
It's all bull.

Uber was this so call Unicorn.

These analyst of what's a unicorn or not is more closer to horoscope than to real data analysis.
Can you have sleep apnea without it being loud and disruptive? My partner knows of sleep apnea (her father has it), but she doesn't think I have it. (also, I don't snore or gasp while breathing)

The only thing I know I have is some form of restless leg syndrome. Often I go to sleep without symptoms that I can feel (thank god, it's terrible), but apparently I kick a lot in my sleep like a dog.
I don't believe this is a natural byproduct of capitalism. Rather it could be the lack of proper government legislature adapting to technological advances. I suppose it is tricky to balance a system that supports economic growth while confining and punishing entities for poor competitive practices.

Poor sportsmanship is present in all states no matter the economic system.
But does anyone actually use them for that? In the server space people do not and instead use management cards from the server manufacturer, but I have never worked with desktop IT in an enterprise setting. My guess is that enterprise workstations is the intended audience for the IME.
Thats the interpretation of TDD by people who are afraid of test and seek excuses.

By the name, nothing says you need 100% coverage (a stupid measure abyway, cause you can get those 100% but still neglecting thousands of corner and limit cases for onput data, so actually you need another measure) or that it has to be unit tests...
That matches my experience — I've seen a fairly common learning process where someone adopts a message queue, decides it's great and uses it all over the place, and then spends awhile working through the various failures which didn't happen in their development/testing environment so they're making decisions about how to handle dropped messages, duplicates, etc. in a rush.

It's not that hard to do but it seems to take people by surprise and it's not helped by some poor defaults like almost everything in the RabbitMQ ecosystem silently blocking when the queue fills up (this probably happened transiently multiple times before it hit the level where it caused a visible outage but how many people will notice that if the default isn't to log or raise an error?).
Passing arguments to a function instead of using global state is generally a good idea, but that's a very poor example. Having to pass constants to a function would increase the cognitive load rather than reduce it.
> Do you think Facebook has no servers in Germany?

They might have some leased servers, but afaik none of their custom built data centers are located there. Compared to abandoning a bespoke facility, packing up and moving out of a server farm is little more than a hassle.

http://www.datacenterknowledge.com/the-facebook-data-center-...
Not dumb, it's called integrated care! Kaiser Permanente and the Mayo Clinic do just that.
Unfortunate headline wording. Makes it sound like sexual harassment was related to both Binary Capital and Blue Apron.
many thanks! much appreciated, will read it over the weekend.
SEC may charge four bankers over work on Puerto Rico muni offerings
Estimate buffers?
How do you calculate your estimate buffers in a project? I usually attend a kick-off meeting and at the end, I usually get asked "how long do you think this will take?" Based on my understanding of the ask, I usually respond with a range based what I understood. However and regardless of my initial estimate, I get the non-technical people rolling their eyes as if they could always do it faster. So, I wanted to see what techniques worked for you and what type of buffers you add.
You guys are all comparing hardware platforms. Isn't it the OS that makes the difference? Linux being the most developer friendly these days to the point its almost expected that you know the basics to get some stuff done.
Since I can't edit anymore: I meant the link tag before </body>, not the style tag.
Palmer Luckey just pledged $2000/month for Revive
I thought the Worm was a Maggot.
Please correct the heading. It should read "Allegations of Sexual Harassment" instead of just "Sexual Harassment".

EDIT: After seeing the downvotes I want to apologize for wanting to introduce facts in the topic. I understand facts are uncalled for and actually a trigger for part of the community of HN. I'm truly sorry.
Is it though? US growth during WW2 was enabled by physical destruction of most competition. The Cold War enabled technological advancement which wouldn't have happened otherwise (just look at space investment pre and post '92).

Conflicts hold growth down only when you don't win them.
Tube of paint squeezing out some yellow sounds reasonable.
And the part you don't mention is that Facebook is making 1000x more money than your avg TV station so it is not a problem to have them to conform to society.
Poor people have the answers to solving poverty
2048: The first playable game on DuckDuckGo
I've used Redux, but have never used MobX. How's MobX compared to Redux in terms of debugging experience ? I've looked at a couple MobX examples, and felt like the obserable stuff, while help reduce boilerplate code, could hide too many things which could make debugging a bit difficult.
Because they can not? The original agreement is UK is only allowed to "rent" HK for years. They are never given ownership of the city. Plus it's politics, I don't think it would be such a simple decision made by one party.
I really had my hopes up for VisPy for this (GPU-accelerated 3D plotting). It was supposed to be the convergence of 3 or 4 previously existing OpenGL-based plotting libraries. However, 4 years after starting development, it's still in early stages and not really usable unless you want to code shaders by hand.
Agreed. The confusion led me to read the worthless article.
An Overview of the Logging Ecosystem in 2017
Iphone-7
Sometimes lowering your expectations are a good thing for everyone. Now we know the pros and cons and can use it appropriately. No one particular habit is going to solve all your problems.

https://www.youtube.com/watch?v=7gt4StirOzc
The thought of a truly democratic China today should be a terrifying thought to the rest of the world. It's a risky prospect compared to the current stability and growth. I'm sure they'll grow into their own version of democracy when necessary.

And speaking of "democracy" is a two party system really all that much better or different than a one party system?
It not being illegal, someone can use the internet to distort reality and public opinion using "machine learning" or blaming their "AI".
We can not try it out online, why isn't there a hosted version since it is web app anyway? Do think the (bio)medical world could greatly benefit from such a tool since most researchers in these fields are still writing their papers in Word (as far as I am aware), most these people aren't tech savy enough to use Latex.
4 cool facts you should know about FreeDOS
Terms are certainly subject to change, however users have a right to feel a bit abused given that this service effectively engaged in a bait and switch -- undercut competitors, get it heavily used and entrenched, apply or increase costs.
I'm Comic Sans, Asshole
There are a few unresolved issues with the preventative / home sensor approach.

1. Sensors dramatically increase the acquisition cost for a policy.

2. It is unproven that sensors will mitigate losses. We all see the potential but there just isn't data there to tell us that.

If I could prove #2 then #1 becomes simple math, if the CBA is there then incumbent carriers will adopt it. It's just not there yet to justify doing outside of startups and market tests.

3. When carriers pick a partner and get into the preventative game then there's some liability that opens up if things go wrong. One could argue that the carrier is already covering the risk - this just means the preventative offering has to line up with coverage being bought.

4. Last but not least, the biggest source of losses is CAT related in property. Sensors will get at the second tier water and fire - again loss avoidance has to justify the sensors unless the preventative side is an ongoing fee service.
This was such a delightful read. A quote from the wonderful Okja recently released on Netflix: "Never mistranslate!"... unless you make balls for toddlers!
> Yes, Redux requires some amount boilerplate code

I think you're underplaying this. The Redux apps I've seen thread data through a great many layers - action creators, actions, reducers, sagas, schemas - and I think it's fair to say that compared to other projects, Redux apps have very long 'chains of operation' (I want to avoid value-laden terms like 'structure' or 'bureaucracy').

Is it worth it? I'm not sure. The Redux apps I've seen have used this 'highly formalized' approach to handle quite simple interfaces. Maybe I'd have different feelings if I was writing something bigger?

It's not that I hate Redux, or think it out and out 'sucks'; but I've worked on a lot of projects and first Redux ones I've worked on seem unusually difficult to reason about, and a few of my colleagues share my feelings. We feel like it is hard to reason exactly what an event or command exactly 'does', and that the diffusion of behaviour across files plays a part in that.
Japan wants to put a man on the moon around 2030
Very informative. this clears up a lot of doubts I had because I was doing a lot of snippet copying for my plots before.
I see what you're saying, thanks.

Also, as far as I know health insurance companies can't charge different rates based on genetic testing. How would this be different, than, say, laws preventing car insurance companies from charging different premiums based on race?
Any 'important' field is infinitely deep and never allows one to accomplish everything because no one knows what there is yet to achieve. A physicist does not quit just because they recieve a nobel price, for instance - "Ok, I've contributed all I wanted to contribute".

The question is, is the chosen field 'incomplete' or 'complete'. If the entrepreneurs goals is just to cash a check then his chosen task can be completed. If it's 'bring X to market and let others finish it' likewise. On the other hand, if the business becomes the entrepeneurs baby and they just want to nurture it I'm not sure if that path is necessarily ever complete.
Exactly. Those boxes were bought and paid for by the corporation. They are the company's property, and they have the right to access them whenever they want.

It's a shame that those backdoors then find their way into consumer products, but it's silly to assume that a corporation doesn't have the right to access their own equipment.
The Best Recruiting Video for Athletes|10 Tips
Caldbeck's statement included the line "It is outrageous and unethical for any person to leverage a position of power in exchange for sexual gain, it is clear to me now that that is exactly what I’ve done."

That's an admission of guilt, so it's no longer just "alleged".
This is mindblowing because I'd always assumed that judges everywhere started as experienced lawyers. For contrast, I checked the Canadian judicial system and judges at all levels of court must be lawyers with at least five years experience. In practice, it turns out that most have 10+ years at time of appointment[1].

[1] http://www.cbc.ca/news/canada/choosing-judges-in-canada-1.86...
Not sure what this has to do with generics, Go requires types for function arguments. If your anonymous function gets clumsy and too big in place, just use a named function not an anonymous one:

print("hello", myprinter)

https://play.golang.org/p/3sNOeVIhqi
TLD more than 3chrs? Not for me.

.info is the furthest I'd go. At a push. I'll also still click on ".google" and other reputable corp vanity domains if the content appears on HN and looks interesting enough.
By "development model" do you mean how the Common Lisp project is developed or how developers develop with Common Lisp?
You might wanna give Flow [0] a try. I think the default ReactNative tools include support out of the box.

[0] https://flow.org
The technology is not that different from the ones that make them a lot of money with eyeballs. FB and Google know what is happening, but they don't want to lose this easy money and have to find a new honest and socially ok revenue stream.
You've just reinvented Objectivist-C! http://fdiv.net/2012/04/01/objectivist-c
> "You wanted a banana, but what you got was a gorilla holding the banana, and the entire jungle."

When you say that, what exactly do you mean by it?
Does it? Names are documentation no? Eg, that's the one thing I actually like about named return values.

In my perfect world, we would have named return values by default, so then we could use them to document the return values, but never empty returns. Empty returns are the only problem with named return values Imo, as it's easy to accidentally slip values into the return that you didn't intend.

Though, I had always wondered about returning copies like Foo{} on every return.. guess I know now.

edit: As an aside, I should not dismiss your cluttering comment. I did so, because I feel it's unrelated to this exact topic. If named return values, something which by it's very nature conveys additional information, is cluttering the godocs, then that should be a bug, and filed/fixed accordingly. Imo.
RocketMQ – Open source distributed messaging and streaming data platform
How is Artificial Intelligence changing the legal industry?
Have any researchers tried writing their papers in something like google docs so that it can be collaborative? I will be writing my first paper in a few months, and would appreciate a better way than "track changes" in Word for collaboration.
It's a shame that the internet devolved into cat pictures, pervasive advertisements, and political shouting matches. On the other hand, there are still some great communities out there for great discussion. I consider HN to be one of them.
The smaller stack exchanges are a really wonderful source of content I never thought I needed to know. I always check out the "hot network questions" side panel when I land on stack overflow and almost always find something interesting.
That's obscenely naive.
German parliament backs plan to fine social media over hate speech
> It has first-class support for JATS, the de facto standard for archiving and interchange of scientific open-access contents with XML.

De facto standard? I've literally never heard of this. Where did this format come from?

This looks interesting. I want to try it out but I got an error ("SyntaxError: Block-scoped declarations.. blahblahblah") and I don't feel like jumping through hoops just to get it going just to try it. Is there a) an online demo or b) a Dockerfile to get this working?

The website doesn't do a great job of describing what advantages this has over LaTeX or LyX, but I want to see for myself.

Last thing: I'll say it, "Texture" is a terrible name. Impossible to Google for, loaded meaning in many other contexts. I presume the "Tex" is for "Tex-like", but is it actually TeX or not? Because if not that's terribly weird to put it in the name.

Edit: Info on JATS here: http://jats.nlm.nih.gov/archiving/tag-library/1.1/
If you're updating it anyway, perhaps consider not using Pi as a config value in the first place.
Also the code should just use math.Pi. There are not that many use-cases I can come up with that you would want to use anything different. So I do agree that it is a terrible example.
https://news.ycombinator.com/item?id=14669516
No, it's just a syntax issue, not a generics issue.

Are there any manifestly-typed languages that work that way, though? I'm having trouble thinking of one, though given the number out there I won't be surprised if there is.
What Silicon Valley Has Planned for Public Education
point is typedefs aren't reusable at anonymous function declarations. imo that sucks. that's all i wanted to say.
The weapon of mass destruction that changed space travel
Svalbard Global Seed Vault – Crop Trust
> If you can find a way to own the customer as a distributor, you own the life-blood of the entire business downstream.

Very interesting thought. Like how I buy clothes from Nike, then advertise them. I had some thoughts on this a while back if you're interested:

https://docs.google.com/presentation/d/1XvXVlzZULoRSfmCsPEKf...
The article opens with saying less than 20% approve of the job in congress, but then presents an argument on changing how representatives are elected that totally ignores that statistic.

The entire house of representative and 1/3 of the senate is elected every 2 years. So, the 20% approval statistic shows more that people are happy with their representative but not happy with all the others. This is a dysfunctional electorate problem, not a problem with how elections are run.

At the core this proposal is more about allowing for a more stable bully majority, and very little to do with fair representation in the electorate. If you wanted to start transitioning back to a more fair representation how about we allow states to decide how senators are chosen so both the people and the states of the people can be represented.
This is how sperm whales sleep
A Progressive Web Application with Vue JS, Webpack and Material Design [Part 3]
Read the abstract more critically

The percentages are across breakfast, lunch and dinner; not protein, fat and carbs as you might be assuming.

It also is clear that all participants had equal protein consumption: 1.1g/kg/day.
Aren't those essentially the same? But if there's a difference, then I think mostly of the latter - of development experience when working on Common Lisp code.
I'm confused. Which part doesn't work without js, the hosting or uploading?
"Ubåt" is the most common word for submarine in Swedish, and there is also a little used longer version "undervattensbåt" which also starts with "U".
How to Wear Hijab and Niqab Everyday in Summer 2017 at Home
Looks really cool, the interface kind of reminds me of the long forgotten informix 4gl, infotmix forms, and the like... Thanks for the trip down memory lane :-)
maybe there are none, but wouldn't that be really nice?
Ah, yes, the old ten year long-con bait and switch.
Google Analytics documentation on transport method: https://developers.google.com/analytics/devguides/collection...

GA does not store any data that persists from page to page other than the client ID cookie.
HN is first and foremost a promotional and growth tool for Y Combinator, and only secondarily a discussion forum for technology enthusiasts. However, HN's branding has been so successful that the public perception of HN / news.yc is the complete inverse.
Zillow drops legal claims against McMansion Hell
My own research has shown that a single EEG channel with traditional techniques gets you into the ballpark of 60% accuracy (another human rater on all sorts of data gets you to ~80% accuracy and state of the art methods around 75% accuracy on a single EEG channel). Movement + heart-rate has much less information, so I'd expect about 40% accuracy overall.

My work has been traditionally done with AASM sleep labels which may be a bit more complex that what fitbit uses, so that may bring up their overall accuracy. Additionally I assume that fitbit would use a hidden markov model to predict the sleep stages (which can produce very deceptive results in the context of sleep IMO). I'd say that this would bring their overall accuracy up to around 55% based upon my best guess.
>And VueJS employs two-way binding

Two way binding is an anti-pattern in Vue.
https://vuejs.org/v2/guide/components.html#One-Way-Data-Flow

You actually get console warnings if you try to affect state in that manner.
First off, if you want to see hostile excitement, go look at what happens when men try to get together to talk about real legal discrimination rather than just low representation. A skeptical internet thread is nothing compared to the protesting, fire alarm pulling, slander and career sabotage that occurs.

Second, people don't like it because it's special pleading, funneling disproportionate attention to a minority in the industry for the sake of the omnipresent boogieman of "cultural pressure". Of course coupled with heavy handed moderation that if you disagree, you're a bad person.

The fact that it is easy to get support for stuff like this is paradoxically used as evidence that it's hard. But coverage does not equal incidence, and equal opportunity has not lead to equal occupations in those countries focusing the most on gender equality. Thus the goal posts get moved again in search of a 50/50 utopia that will never happen.
You're out of touch on this topic. Firstly, AMD's newest architecture is competitive power wise with Intel's newest architecture.

Secondly, TDP does not mean what you think it means. TDP is the maximum power a processor is designed to run at. It only tells you something about peak power performance, not idle power or average power perfomance. Especially not in modern processors that can idle at 5-10W despite having a 95W TDP. Laptop and desktop processors run well below their TDP specification 99% of the time. It's not a useful metric for determining power consumption. At all.
https://docs.microsoft.com/en-us/windows/device-security/dev...