skysight-inc/HackerNews huggingface dataset:
These kinds of votes should never be 50/50 on average, if every participant were truly delving into details and making a frank recommendation based on real analysis. It’s obvious that what’s really happening is a partisan divide; sure, you can lull a few members across the aisle now and then but mostly these hearings are a farce.

Political parties need to go away, because they poison votes both outside and inside the system. Every single decision should be based on something other than the letter next to someone’s name.
Less rage-y jobs than developing
Hey HN,

I find myself constantly angry as a developer, either because I find the UX of the tools I'm using terrible and unintuitive, or because I hate the code I'm working with because it's fragile or inelegant.

What alternative jobs would people recommend?
This comment about his wife's pubic hair prompted me to read the original article; but alas, pubic hair is not mentioned there, but brought up only in this comment.
"...if we have zero information concerning the value of x, than we are also clueless in what concerns the value of, say, x^2"

But that is not true, we have -some- information concerning the value of x, namely that the value of x is equiprobable.
It's nontrivial to measure definitively, due not only to subjectivity but to various selection bias problems; but why do you think it could not be true?
Ask HN: What's your preferred LaTeX editor?
I'd like to write more reports in LaTeX, but I can't find a suitable editor that has code completion, real time rendering, and a GUI for constructing formulae. How do yo write your mathematical reports? What tools do you use?
The very first episode of The Grand Tour (The Holy Trinity) was about how awesome hybrids are (the McLaren P1, Porsche 918 and Ferrari LaFerrari). Granted, those cars are worth over a million dollars.
> we are all on fiber at like 10mbps

Where the heck do you live that runs fiber to the home but can't deliver better than 10mbps?
I made this project to help people who work with Three.js to make their 3D apps/games much faster and better.

This framework includes:

- Module system

- Component system

- ReactJS integration

- 3D physics module

- Devtools (as modules)
> devs have an easier life using JS

I think that is willfully missing the point. Creative work, especially UI-centric product development, requires significant iteration. Layouts change frequently, entire view hierarchies can be re-worked, sizes are tweaked obsessively.

This isn't just about decreasing the burden of engineering (as if Obj-C/Swift/Java/etc. were so hard to master). This is about decreasing the time from concept (e.g. Photoshop mock) to implementation (interactive working app) so that iteration can happen quickly.

As much as I love the performance possible when coding directly against Native APIs, I also have direct experience using web views in native apps. The improvement in the design process around web views is worth investing in getting the performance as close as possible to native. This is multiplied when you consider the cross-platform benefits. However, the performance and UI experience of web views is not good enough.

I can't vouch for React Native giving the iterative benefits of pure web view development nor the performance benefits of pure native development. However, if it does strike a reasonable balance between them I can totally understand why people invest in it.
Hedge funds have customers because the majority of them don't beat the market in the long run.

If a hedge fund is consistently highly profitable, they stop taking customers. For example, see RenTec's Medallion Fund, which is only open to its own employees.
Has a cryptographer ever looked at the protocol you invented? Maybe doing the asymmetric crypto on every packet is just a harmless performance problem that, but maybe you invented something insecure. Or is the protocol strictly from the spec (NaCl?) and just the implementation strange?
The International Space Station will get a new, private airlock in 2019
Faking TV Remote Control with Paper and a Lighter
In addition to everything else listed in the article, you should also learn to proofread, and especially learn the correct usage of "your" vs "you're".

And before someone accuses me of nitpicking, keep in mind that as a consultant you are very often communicating using written media.
isn't that because they are not distributed systems?
Interesting compendium of apis here https://www.microsoft.com/cognitive-services/en-us/
This figure of 4-10% of connections is meaningless here, either you're intercepted or you're not. The warning would only matter for websites that bother to implement certificate pinning.

I don't really know how widespread key pinning is but if it's reserved to the more sensitive websites (banking, e-commerce etc...) it might make sense to at least issue a warning.
>at the cost of safety

Are you talking about type safety? Because you can use TypeScript with React Native too, and it's probably a nicer dev experience than plain JS as well.
> if they had any idea of what they were doing, they wouldn't need to sell

Having spent some time in the industry, I disagree, you're always trying to maintain or increase AUM. Funds constantly sell to existing and future limited partners (investors). Internal prop trading desks sell to management in order to keep their allocated VaR and to risk for similar reasons. Traders themselves sell to their boss and peers. VCs sell their top quartile-ness. All of the above sell to their junior staff to keep them around.

The thing is you don't know if you are good or lucky until many years into your career and someone has to put up the capital until then. Even the top funds with great track records can one day stop producing results, at which point people abandon ship.
Ehhh I don't agree that that's the case. Any time I've dealt with BDD I have to add more / rewrite the backing bits constantly.

For this reason, much prefer test-libraries that read more like BDD cases without actually trying to invent a new DSL for me to maintain on top.
Good question. I'd say it is probably possible to replace a battery pack on the gasoline-refill time scale with a well-engineered drive-over clip-in type mechanism or a side-trolley replacement mechanism.

They replace whole nose assemblies in <30sec in F1. Audi some years ago replaced the entire rear transaxle & suspension assembly at LeMans in < 5 minutes in the middle of the night, because they'd anticipated the potential need for it and done the prior engineering necessary (iirc, that car finished 2nd and their other one won).

Reliability and safety would take some real work, just like the high-speed fuel rigs previously used in F1.
Lessons from Doing YC Twice – Harj Taggar [video]
Full Text of “SRE: How Google Runs Production Systems” Now Online
Betsy DeVos Confirmed as Education Secretary
Call Me Maybe post here (updated in Jan 2017): https://aphyr.com/posts/322-call-me-maybe-mongodb-stale-read...

HN Discussion: https://news.ycombinator.com/item?id=9417773
I heard the same joke before, but instead of the KGB, it was the LAPD.
Previously-accumulated USDA data (that has already been paid for and is technically a public good) has been blacked out also. Source: https://sunlightfoundation.com/tracking-u-s-government-data-...

The USDA announced that public access to that information would now be mediated through Freedom of Information Act requests.

There was a dog food poisoning reported [earlier this week](http://patch.com/illinois/hydepark/s/g0ven/illinois-company-...) The "supplier" of the poison dog food is probably pretty happy the public can't figure out which other pet food manufacturers (Besides Evanger's) they vendor.

This move was likely designed to hide facts from the public and to make investigative journalism a lot more difficult.
Public health and safety data needs to be public and squelching it is akin to public endangerment.

[edit: thx for grammar correction.]
> It's not a contract, it's a license.

License and contract are overlapping, not mutually exclusive (a license can either be a gratuitous license or a license contract.)

Website ToS may be (a component of) either sort of license arrangement. (On a site where your access is undisputably part of an exchange-for-value, like a pay site, you have a contract relationship and the ToS are almost certainly a part of that contract, probably by reference.)
When building a company, I care more about culture than anything else. It's the people that make the company great.

When choosing a database, caring is only one aspect of it. It's necessary, but not sufficient.
Show HN: Ignorable Observers – Dynamically disable Laravel's model observers
While I like the style of writing very much, I don't like the pseudo-scientific take on the 'problem'.

In any probability class, you will learn that you can't have an uniform distribution on an infinite set.
The dirty little secret here is that the Tesla can only do this speed at full or very high state of charge. Once the battery level drops so do ALL performance numbers.

Super cars also handle exceedingly well.

Sorry but the this fixation on 0-60/100/etc is just pathetic. Show me five hundred mile range, show me five minute recharge, because those are the issues that will advance the position of EVs
Context switching is not a good way to do things. I've found listening to music and using my tendency to get distracted on finding songs and artists that go for 10's of minutes to keep myself occupied while doing work.
So I actually worked at cognitive networks up until the end of 2014. I've read this thread and thought I would address some things here that didn't seem to get fully concrete answers (in no particular order).

The ACR technology that cognitive used was/is in vizio and LG tvs. during the time I worked there we only had a deal to use it actively on vizio tvs. I guess lg was just testing the waters to see how it'd work. The ACR technology that CG used is based on RGB values from sampled patches on regions of the image. There was no audio finger printing used. There were a number of items that would mess up the "recognition". Some of those included aspect ratio of content, watermarks from different providers, overlays and basically anything that modified either the size of the original image or obstructed it. For the server infrastructure, what we did was we ingested live feeds from the major network providers, these feeds had to be ahead of what tvs were watching by at least 5-10 seconds so we actually had the fingerprint data in our database to be recognized. we would pair the ingested fingerprints to TV scheduling data and voila, we "knew" what you were watching. Now clearly if we didn't have the content in our database we had no idea what was being shown on your screen.

What did we use the ACR data for. Well there were 2 "deals" going on while I was there. One was ratings, something to compete with the likes of neilsons. Different content providers, distributors, marketing agencies, etc. would want ratings info. Additional there were other "data mining" companies that build profiles based off public IP addresses that would want to use our data to enhance and augment their data. The other application that was the one that everybody was after want "interactive advertising". This would allow us to pop up an HTML5 app/page based on the ACR. So for example your selling a car, your ad comes up, you pop up your app and allow the user to schedule a test drive or look at the car in more detail. The use cases were endless though.

The ACR technology ONLY worked on content that was viewed from the HDMI ports. Any built in apps like netflix or hulu that were run, ACR was force disabled. One thing I remember about that was that netflix is huge about NOBODY getting viewing data/ratings information about netflix and it's users. Only netflix has that data apparently. One somewhat reassuring thing about disabling the technology is at one point vizio did notice a bug on one of its TVs where ACR was not being disabled when the user opted out of "interactivity". This was a big deal and we were required to solve it ASAP.

AMA if I missed something.
My impression was that Jobs was most upset with Eric Schmidt, not Larry.
If we have any probability distribution, that tells us something about x. If someone tells us that license plates numbers are uniformly distributed, we can pretend to be a license plate maker by sampling from a uniform distribution, and nobody else could tell the difference by looking at the license plate numbers we make.

Zero information is more like not knowing what probability distribution a variable comes from. Rather than hiding "what value does x take", we can hide "what probability distribution does x come from". That's one level up. (Then you could ask what the likelihood of x having a given probability distribution is, and so on -- zero information is having none of this information, all the way up.)
Just further confirms that "Smart" TV's are a ripoff at best and a scam at worst.

Never, ever, ever buy a television described as smart. For any reason at all. All of the solutions are miserably pathetic. All of the solutions are riddled with bugs, design omissions and potentially nasty security zero days. All implementations have little to no update support from major third parties.

And, in many cases from many companies, the units spy on you as aggressively as could be to sell data for marketing purposes.

"Smart" tv's are lose lose lose lose. You pay more, you get inferior software, inferior hardware and ultimately have your privacy abused.

EDIT: To be fair, I love my Vizio dumb TV I just got. 40" 1080p dumb TV for $167 inc. taxes this past black friday. Got a HDR/4K Roku for an additional $70 and this TV is beautiful and the Roku is so much impossibly better in both hardware, software and third party support than any "smart" solution ever could be, and costs far less than the "smart" upgrade!
Perdere peso con pasta e patate
There was actually a guy in the washing machine, that just made me completely fall in love with that talk and I already liked it a lot.
Oh of course I meant "secession from Russia". It's OK to promote any other kind of secession, as long as it does not contradict Kremlin policies (if it does, you could be a target of anything from low-level harassment to murder).
> That's why it's absolutely critical that everything you do is end-to-end encrypted. These government agencies have the resources to crack most encryption, too [3] but at least you aren't making it trivial.

This comment in particular seems to imply that government agencies can break e2e encryption. However, other sources would suggest that's not entirely the case. Snowden, for example, still seems to believe PGP works. I don't have reason to believe that it doesn't, or that the NSA can currently crack any arbitrary 4096-bit RSA keys.

Further, there's a lot to be said about other modern encryption standards (ed25519 curves, forward secrecy and asymmetric double-ratchet protocols like Signal), which I don't believe have been shown to be compromised. I understand the importance of e2e encryption, but it seems that you're overstating the governments ability to crack it. I agree that SSL and TLS don't have the best history, and maybe we shouldn't rely on them, but it is also important to know that there are solutions out there which we still have quite a bit of reason to believe we can trust.
Nitpicking, but you can have a uniform distribution on the unit interval, which is infinite :). What you cannot have is a uniform distribution on an unbounded set.

Edit: As pointed out, the correct assumption is not unboundedness, but having infinite measure (since then no normalization constant exists). I thought they were equivalent, but a simple counterexample is [0,1] \cup Z.
They didn't care for it very much. Unfortunately, the world doesn't revolve around happiness.

Check out the story of Alfred the Great in England. The story of England and the UK is the story of Christianity's development. The Saxon, Welsh and Norse pagans were certainly and rightfully not happy with how that transitioned, but ultimately the outcome was almost certainly for the better.
This article address many of the incorrect claims being made about the dataset and processes: http://icarus-maynooth.blogspot.com.au/2017/02/on-mail-on-su...
"Better not have any unplanned downtime" --> "Make it all planned downtime, then..."
Galera was tested - enabling MySQL to behave like a distributed database
What's interesting about those 3 cars is that while they are hybrids, they don't leverage that technology to increase economy; they use it to increase power. There are real, physical limitations involved in gasoline engines and the electric motors are used purely to compensate for those limitations (time it takes for a throttle to open, fuel and air to mix, and ignite--the time it takes for a transmission to change a gear. These things can be made ultra-fast; but, they cannot be eliminated).

BMW did a very similar thing with their 330e model; the electric motor is primarily used to increase the power from the relatively small engine that is normally only on the lower-end 320.
I think it is :-)
I think maybe the doubt is based on case like https://aphyr.com/posts/282-jepsen-postgres which all systems are subject to.
Yes, I understand how JSX works. My point is that it permits nesting in a syntax that is much simpler and emulates markup, which is familiar to web developers.

It's okay if you prefer to write code using the direct function calls, but I'm not sure most people would agree with you. I've built a product using direct calls (in CoffeeScript) and using JSX, and JSX was far easier to work with and less error-prone. YMMV.
It's path dependence.

Had public key pinning existed before companies started thinking of intercepting their internal TLS traffic, that wouldn't be an issue. But since TLS interception was already unfortunately common when public key pinning was developed, not having that exception would mean that nobody could ever use it, since it would mean instantly breaking whichever site enabled it.

And in a certain way, users are already being warned, as long as their bank uses an EV certificate: the EV green bar won't appear, since EV certificates are only allowed from a hardcoded list of CAs (unfortunately, according to https://www.grc.com/ssl/ev.htm that's not the case for Internet Explorer).
> Game-theory software can even help locate a terrorist's hideout [... by estimating] on a 100-point scale the importance a wanted man attaches to his likes (fishing, say) and priorities (remaining hidden or [...] recruiting suicide-bombers). Such factors determine where and how terrorists decide to live. Game-theory software played an important role in finding Osama bin Laden's hideout in Abbottabad, Pakistan, says Mr Owen

After a crescendo of unsubstantiated claims, the article finally reaches a well-known case. The claims here seem laughable. First, by all accounts, bin Laden was pretty stationary in his compound and any hot-air model of his psychology regarding fishing vs. recruiting would have been irrelevant. Second, the US government at the time would have been ecstatic to push a story about game theory finding bin Laden - it would have protected sources on the ground, the guy doing a fake vaccination campaign etc.

Regrettably, the article's agenda seems to be no more than pushing a gaggle of unsubstantiated claims that would help consultants with their magical game-theory software make money off gullible companies / governments.
This is another troubling action meant to chip away at what government transparency we have left. I'm sure that the argument could be made that government agencies are "inundated" with requests that they can't keep up with and all this is too "costly."

This is worrisome! Will the feds start charging fees to view electronic docs like the State of Wyoming?
http://www.wyomingnews.com/news/wyoming-court-ok-to-charge-f...
Ah! I understand now.

Handlers aren't meant to be nested like this. That is, it's always going to break this way, because the handler needs to live as long as the request and response, so creating a sub-handler is not ever going to live long enough.

So yes, the solution is to not implement Handler for your UserIndexHandler; then you can just call it.

I bet there's something larger you could do as well, but I don't have enough experience with this interface to give good advice. Hyper's undergoing a huge docs drive for 0.11; I'm sure that'll help.
Cisco HyperFlex 2.0
I just bought a westinghouse that isn't
Why doesn't the User-Agent in this adapter reflect the actual library?

https://github.com/bankscrap/bankscrap-bbva/blob/master/lib/...

Does it break functionality if you don't pretend to be an Android phone?

Adding the library version in their would be helpful for debugging too. Ideally it'd be possible to override at the app level so that it correctly shows up in their logs.
Why our super-bowl ad failed
What if organized crime infiltrated the NSA? Then it would not be just the NSA, but also organized crime, who benefits from mass surveillance.
Nothing wrong with responsive UI, just don't create something meant for phones and then just scale it up to a larger screen. Which is what bootstrap, material design etc. often end up looking like.
POOF?
VueJS is a lightweight version of Angular but has the same pitfalls when its comes to being isomorphic.

React is an engineers overkill solution. JSX is bluck.

I use mithril.
Awful news. I just started getting into his work and will be sure to watch some of his TED talks this evening in his honor.
Unreal Engine 4 has Blueprint, which is a powerful node graph programming system. It works great and it's very popular. It's definitely worth looking at for anyone interested in this sort of thing. The "bi-directional flow" (exec nodes "push", data nodes "pull") makes it very flexible for almost any kind of task.
I've been frustrated by some time that there's not a generic "look but not touch" function available to 3rd party programs.

I'm a lot less concerned about a 3rd party leaking info about my assets than I am about them being able to do things with them.

So far, every program or website that wants access to info also gets full rights to sell, buy, transfer, etc.
Ask HN: Is your mobile pagespeed changing?
My startup's site's mobile pagespeed has changed several times in the past few weeks. We are not sure why. Has this affected anyone else?
So why not have a virtual DOM-based data-driven layout engine that _isn't_ an HTML/JS stack. Something in a language that is more optimisable and works everywhere, like Lua with C extensions, or OCaml, or Java. JavaScript is hard to get predictable performance from and HTML is extremely complex, we can do better if we're writing native apps (hell, we should have had a better online solution years ago too, but we don't have control there).
Having worked in passing with the IRS and their tech groups, I can safely say this is the most plausible explanation I've heard for a site like that.
Yet another reason why I love living in louisville. I remember the first open data hackathon what, 3, 4 years ago at LVL1?
Hertz, too.
We had to train our overseas IBM replacements as a condition of receiving our severance.
I will never look this badass
> To say there is no evidence that anyone can break a TLS session is a bit like denying climate change.

None of what you have stated is evidence, and nothing from the leaked Snowden material is evidence. I did not say that they cannot do it as I have no way of knowing that, only said there is no actual evidence at all, so this devolves into "what-ifs" which lead to helplessness. I do not see how that is good for anyone.
I'm sorry, but this is nonsense. About the same time as the article's author (1999-2002), we wrote a huge discussion site all in Perl, and it was pretty elegant. All the code was compiled with strict, all warnings fixed. The code was properly modular. We even post-processed the code with a linter (similar to pylint).