skysight-inc/HackerNews huggingface dataset:
Um, we can tell after the election is over? I mean, that's generally what a forecast is tested by - the outcome versus the prediction. Every scenario is different, so relying on one model is only good for one test I think. Not saying building models is useless, I just think the analytical part is flawed in general because it still relies on humans to respond and humans are...difficult...

I know a guy who correctly predicted the Obama/Romney popular vote outcome within 1% of each's actual take IIRC. As of now, he's got Clinton at 47% and Trump 34%, based on nothing more than personal outlook, hunches, and mulling over various polling data (he had 47% Clinton to 41% Trump just before the Conventions). Point being it might be just as likely an irrational human can point out human behavior (en masse, e.g. voting) on par with a statistical model, given some particular circumstances.
It's not hard to imagine; if the Moon colony is established by the US, for example, they'll want to be able to protect it from Russia and China, or vice versa. The initial defenses will be installed by the parent country.

Naturally the Moonians will declare independence after they feel confident enough that they'll be safe from retaliation.
It's not the same, but it is a powerful metaphor. Wanted email is to consensual relations as spam is to physical violation.
They are not and he wasn't talking about the magnitude of moral failure I think, but how it provokes an instinctual mistrust of the accused, more than other accusations.
> “It depends on the needs of the website,” said Boris Epstein, co-founder of the tech recruiting firm Binc. “Coding academies and boot camps” — short courses lasting a few weeks to several months — “graduate people who are perfectly fine.” As a result, wages for web developers nationally increased only modestly during the same period, though the rate of increase was most likely higher at more tech-heavy companies, which also frequently offer stock options.

> The example of pastry chefs — a field where the artistic and technical requirements may be even more demanding — is no less striking. Tony Galzin, a former pastry chef at the Chicago restaurant MK, cited ice cream making. It can take months to learn how to achieve the correct proportions of fat, sugar, protein, water and stabilizers, all of which are thrown off by the use of different ingredients.

Please try a bit harder to read the article you're commenting on.
Empress Sato!!
Alternative on the command line: http://wkhtmltopdf.org/

Might easier than adding a JSON wrapper and obtaining an API key and incurring network latency in many use cases. SaaS might not be a silver bullet.
Most people don't know, but Tox (just posted here a few days ago [1]) started on /g/.

[1] https://news.ycombinator.com/item?id=12657891
Why did the compiler do that – the one with VRP and integer size
My thoughts about JavaScript and the libraries/frameworks/tools depreciation: https://gist.github.com/ggregoire/f41ae88bb8e192ad70be690f19...

TL;DR: We have mostly used the same tools for years. People feel that React or Webpack are the new hype tools for cool kids, but React is there since 2013 and Webpack since 2012. A lot of companies still use Angular 1 (released in 2010, almost 7 years ago).
That would explain why campaign intern polling is always such a sacred ground.
If that's true, making non-technical people conduct technical interviews is also a pretty big failure.
> So where does this discrepancy between vote counts and comments stem from?

People are probably concerned about not being viewed as a good or knowledgeable developer if they admit to using PHP here, so it's probably not a fight that's worth having for most posters. People don't always give their genuine opinions when they think that their personal reputations or livelihoods are on the line.

This isn't just the case in technical or career matters, but especially when it comes to personal reputation. Just ask people how many sex partners they've had: the results will probably be skewed up or down in fairly predictable ways if people think there's a chance that they'll be judged somehow based on the answer.

Personally I think PHP is a useful (and extremely imperfect) tool that is very appropriate to solve a fairly wide range of problems. For certain problems, it's arguably the best tool. That's why it's going to be around for quite a while.
Uber hits another roadblock
Apache log4net Needs Help
Hyperloop One Raises $50M, Hires Former Uber CFO
I really liked that article was short and to the point!
I spend very little time on my short/solo podcast but it makes a decent amount (much more than $1k) each month with long-term sponsors.
I recall that from Thomas Watson Jr's autobiography about his life working for his father at IBM.

https://www.amazon.com/Father-Son-Co-Life-Beyond-ebook/dp/B0...
Want to Know Julian Assange’s Endgame? He Told You a Decade Ago
Looks cool. What would be the prototypical use cases for something like this?

I'd imagine something like this would already have been possible with a proxy (i.e. hot swap upstream without closing client connections).

Also, any idea how this handles clients that execute scripts via EVALSHA? If a client already loaded the script, wouldn't this break that expectation or does the client contract not allow caching that?
"Why arn't wages rising?"

I hire a good, trained Pastry Chef. I pay her/him well. I then have that person train the line of unemployed guys who are lined up out back to become a Pastry Chef. I then fire, or tell the trained Pastry Chef I can't afford to pay you anymore. End. Repeat.

I have seen this in the telecommunications industry. I have seen it in the Electrial field, especially non-Union outfits.
I have seen this in every job I have ever had, except dishwashing in high school.

Right now certain sectors of, I don't even know what to call you guys, Computer engineers; seem somewhat safe, but this field will eventually get hit hard too.

Jobs with high barriers to entry will be safe, but most of us didn't get accepted to medical school.

Sorry if I sound bitter--I am. It's human nature, in at least the Bay Area, to pay least amount you can get away with. And they do! There's a reason for unions? If those Pastry Chiefs were in a union--this common senerio would not be so common place? We wouldn't have hordes of unskilled labor comming here taking their job eventually?

"O--that's not right? Owners are wonderful/moral people? My job is so complicated--it will be years to train the right special person to do my magic!"

Yea--keep believing that, and let's keep up these stupid debates. They love it when the help doesn't quite realize when they are being exploited.
Temperature difference propels droplets
Why not have the REPL (or whatever else you're exposing to localhost) require a token for authentication of each request?
There is a cost in not having certain procedures in place. On the other hand the red tape has a cost too.

A single mistake shouldn't lead unconditionally to a mandatory multi-step process that involves multiple people and may take several months to finish. The examples of the "cover your ass" decision making overpowering the common sense engineering are abundant.
Morningstar buys deal-tracking site PitchBook for $180M
Hey, don't tell the kids Santa Clause is not real. We need to hold up the believe that there is some magical wizard who is the only one knowing how to do polling the correct way.
having worked on cloud foundry platform in the past, paas was extremely exciting at the time (2012), we even came up with something called warden which was way before docker. but since then, i have to ask, is there really that much benefit to having a paas? i understand the arguments about not needing to have devops/sre's, etc, but i think iaas works just fine, sure there's the initial plumbing for things like load balancers, installing an operating system, upgrading/patching that operating system, securing all the network connections, but it's not an everyday task. cloud foundry at the time required a minimum of 20 vm's to get the environment running (cloud controller, bosh, service nodes, dea's, nats, etc), and these weren't your t1 micro aws machines, these were memory and processor hungry instances; to manage the entire environment required a team of sre's and devops. nice to see that flynn only requires 3 nodes minimally, but as the environment scales, you'll need more nodes and i wonder how the overhead scales with flynn. obviously for small environments (let's say 6 vm's, an additional 3 vm's to support flynn is not ideal). but if you get up into the 20+ vm arena, perhaps the overhead starts to pale in comparison?

perhaps it's just me, but the devops part isn't that annoying, yet, but i've got an ultra small environment running nginx, golang binaries, and some services like rdb and k-v store.
One of the things to appreciate about PHP's ecosystem is how much you can be exposed to warnings, criticisms and cautionary tales. There's so much energy put into tearing it apart that if you aren't getting an education about coding pitfalls it's really your own fault.
Moulitsas and Linzer don't use Silver's publicity firm. The models they all use are fairly questionable.
Nothing of that. The reason has nothing to do with "startup culture", head in the clouds buzzword crap, quite the opposite.

The changes are pushed and working in staging, the tests are passing, Q&A is done. Why hold off? So that you get your Good Practices™ badge? I'd say it's better that you don't have to deal with last week's work on a Monday if at all possible.

I think being down to earth, and keeping your good judgement is key. I don't recommend making world-shattering changes on a Friday, but even then, well, it really depends on the circumstances.
Sorry, don't get me wrong, my point was just to illustrate the silliness of kbenson's definition using reductio ad absurdum. Haskell and Rust aren't weakly typed in any conceivable universe.
As Hawaii deliberates, giant telescope considers new home
i think thats wrong. its mostly "not nearly as much as money does". and money is directly correlated to customer happiness
This is only true if your framework depends on global variables to manage request state. If your framework passes request state in as an argument to the request handler, then there is no state to reset. Don't use global variables and you don't have any of these problems.
Or... bring the team in to review some old code that no one has touched in a while and give everyone the opportunity to critique it. Set those critiques as the bar for everyone's code review. Then, when you review the JD, if he has made those mistakes, you don't have to be stern, you just have to remind him (or her).
Aluminium foil works for this just as well. Or a cheap faraday bag. You don't need to fund a $75k project.

To answer your question though, yes it would have to. In order to dissepate electricity it would need to be conductive and a Faraday cage is any closed conductive surface (though in practice you can have semi-open conductive surfaces just as well).
I don't mind JS and all of the ecosystem. I like the openness unseen anywhere else and dynamic growth and dropping stuff when better stuff gets created.

But as I'm trying to control page transitions in SPA using react-rotuer v4 I have a feeling that I basically re-implement subset of a browser ... poorly.
"A number of scholars have argued that all people are capable of learning mathematics, to high levels."

How on earth is that even possible. Toddlers can't solve complex differential equations.

So clearly not all people are capable of math at the highest levels.

Next, I suspect, just slightly, that someone with an IQ of 70 that isn't some rare kind of savant, MAY struggle a little bit with trigonometry, but I could be mistaken.
Qubes VMs cannot get the battery state. Assuming that the user didn't install custom fonts, the font list should be the same across all the installs.

I think Qubes closes most of the low hanging fruit in this space, but completely preventing fingerprinting is very hard and there are probably ways to leak identifying info.
open incognito
Always wanted to live in NY, but knew owning a place would be impossible (also a developer). Chicago is probably as close as NY as I'll get, and that's fine. Can easily afford a large SFH or two-flat (with tenant paying most of my mortgage) with a yard. This is with a short walk to train station (less than 30 minute commute), to work in a big city with a wealth of culture and entertainment options.

I can't find that particular combination anywhere else in the US.
Cloud Database Quest – Retro Dungeon Map from IBM
I don't think I was being pedantic. The parent poster was very clear, there was nothing there for me to overstate.
This is horrifying. It's one of the reasons I stopped using ebay.
I know it works on GNU/Linux, and I'm fairly sure it works on illumos (Solaris). I don't really use any of the BSDs, so I can't comment on that. Sounds like a nasty kernel bug though -- Linux implements AF_UNIX sockets as actual filesystem objects (so you go through VFS implicitly to interact with them).
/pol/:/sg/ helped the Russian airforce identify rebels positions in Syria and destroy them. It is not all bullshit at all; there is a significant proportion of it that is undeniably childish garbage but there is the occasional gem as well.
A mistake is an education. If you fire someone after they make a mistake then you are throwing away your investment in their growth.
This looks like a lie. For the right amount of money, people will work for long periods of time on crap code bases.
The complexity of the JIT isn't in pypy's implementation of python. This is probably the most important part of the pypy project: it's a python implementation written in a simple subset of python plus some standard hints, and an independent piece that generates a JIT for things written in that subset.
could it be that they were affiliated with the dailykos?
I fundamentally can't agree with this because desktops apps are generally synchronous with one computer involved and web apps are asynchronous with at least 2 computers involved.

I can't see how that's not a MASSIVE difference. That's adds a whole extra layer of complexity.

There is virtually nothing in web apps that is easier, almost by very definition. What web apps made easy was deployment. Please name one other thing that's easier than in a desktop app. HTML wasn't even designed for apps.

I just cannot comprehend how you can believe what you wrote. I really haven't written many desktop apps, but generally speaking when I did in say VB6 or Silverlight, they have been trivial to make compared to a web app of identical complexity.
Of course. I guess I can give some examples.

One developer writes huge methods or functions with a tangled mass of if-else. The inevitable result is that an else case missed and the whole thing fails spectacularly in some situations. Discussions with the developer are basically "That's how I've always done it and I don't want to change. I'll just add that missing else".

Another developer constantly forgets to terminate servers that he started in our cloud hosting provider. This costs the company money and thus should be avoided. When its noticed that they're still running, he gets asked to terminate them but he doesn't do it right away and forgets again. Someone else ends up doing it. He's been asked repeatedly to make sure to terminate the servers. Suggestions to help include setting a timer, writing a script that will check for unused servers, etc. Those suggestions aren't heeded or I guess he forgets to remember to set the timer.

Another developer says in a meeting that he'll perform a task, but forgets before he gets out of the meeting. When he's asked to write it down, he does so, but never looks at the paper later.

There are more cases, but it seems to boil down to people not learning. You need to learn how to structure your code, you need to learn how to manage your time, you need to learn how to remember to do something.

But maybe I'm the slow learner and I'm missing something. Thus I'm open to suggestions. So far my strategy is to accept that these other developers behave this way, and setup ways to protect myself from their failures.
Adam Smith Institute: 'The UK and the World in 2050'
Great anecdote. We've all done it. Another thing I learned really early on - never deploy code on a Friday. Especially not Friday afternoon/evening. And definitely not if you're leaving for the weekend :)
Hello koolba, I did not expect this commit to reach HN, but here we are... so: there are different use cases but distribution of read-only data to far places with an easy upgrade path for the data is one that comes to mind. Since this pattern is requested very often there are for sure other applications. About Lua, the scripts are atomic from the POV of Redis, so the swap happens before or after the script is executed: they should work as expected AFAIK, but thanks for hinting about that.
I recently started moving my static jekyll website to AMP. The biggest annoyance by far is that an AMP website requires javascript, and <img> tags are no longer valid. <amp-img> is required.

This means I now have to choose between blog posts that are valid AMP and valid (and rendering) in an atom news reader.

I sort of get why this is done on a technical level, but I prefer my HTML to follow HTML best practices. HTML will outlive AMP. Please just allow this and fix this in your AMP caching systems to automatically transform this.
The big advantage of Orion is that we're reasonably confident it would work, and could probably build one within the decade with a serious effort. Zubrin's NSW rocket, on the other hand, falls into the "hasn't yet been conclusively proved impossible" category. We're not sure if we can control the reaction, and we're not sure how much heat would be transferred to the rocket if we can.
Many US states are "At Will" employment. You can be fired for almost any reason, at any time. At the same time, you can quit at any time. Giving notice is a professional courtesy, but not strictly required.
>"web development itself is inherently complicated"

The functionality of 99% of all websites I see these days can be replicated with simple DB calls, string concatenation and a handful of straightforward progressive enhancement libraries on the client side. Some developers simply choose complexity.

The fundamentally complex aspects of web development aren't solved by the stuff people are fatigued by anyway.
This was publicly announced more than a year ago, but still isn't live: http://www.thesempost.com/google-working-completely-separate...

This title seems misleading, especially the "better" part. I think what's going on is a lot of the web has bifurcated into mobile versions and desktop versions of the same site. Mobile versions are often stripped down for speed reasons, but mobile searchers can still land on a page based on a search query that only exists on the desktop site. Google is fixing this in a pretty sensible way (although I don't get why they are explicitly making the mobile crawler more active or "fresher").

This won't affect sites that serve the same content on mobile and desktop. I suppose now the concern may swap over to sites that offer more content on mobile, but I don't know why anyone would do that.
Very simple decision for them. They care about android far more than desktop stuff.
Let's say if some forecaster says a candidate has a 60% of winning in each state, and in fact he wins all of them. Does that means that the forecaster was 40% wrong?
George Orwell never dreamed of advertising as invasive as Yahoo’s proposal
No, the algorithm mentioned by recruiter is among the slowest ways.

I recently tested different approaches. I’ve been working on some code that downsamples large set of 1 bit voxels to get shades of gray on the edges. For that, I had to counts gigabytes of those bits as fast as possible.

Advanced manually-vectorized SIMD code worked several times faster, esp. on the hardware that supports SSSE3 or XOP instructions.

And even when the hardware doesn’t have SSE4, doesn’t have SSSE3, doesn’t have XOP — SSE2-only backup plan is still faster than lookup tables. Here’s the code: http://stackoverflow.com/a/17355341/126995
Only farmers care about tractors.

That's not a reason to use horses instead.
> I also think the PHP professional development community is smaller than that of other languages when measured as a percentage of the total professionals using the language.

Is this really the case? I've seen estimates of around 70-80% of websites using PHP as part of their backend. Granted, many of these would be simple Wordpress sites or other blogging/shopping/content management platforms where almost no actual coding by the user is involved.
Based on past history, we can assume they have to give Trump a higher than average of the current polls chance to win.
If it has the potential to take down your site? Unless you have someone who can fill in for you, absolutely.

Really, it will come down to a cost/benefit analysis. Are your chances of the site going down due to being hacked over the weekend higher than the chances of a last minute update taking down the site?

The answer is almost always no (much to a sysadmin's chagrin). If the answer is yes (i.e. another heartbleed), then you are probably going to be working through the weekend anyways.
The jit is _generated_ from the interpreter; you can actually run pypy's interpreter directly from cpython, it's just slower.
Ask HN: Platform, framework or service to build a e-learning site?
Hello HN, I am trying to build an open (editable by the community) platform for disseminating music theory. What are some platforms/frameworks/services that are suitable for this? I have considered just building everything from scratch with rails but it feels a bit overkill for this. The site is going to be heavily oriented towards content with a scattering of interactive exercises. Do you have any suggestions?
Why do people care so much about polling and forecasts? Why not spend that effort on looking at issues, voting for the right people and after the election see who won? This seems a total waste of time.
Washington, DC? I think though that in the surrounding metro area, a SFH costs more on average than in Chicago.
Mongoose plugin that deletes paths on a document and its sub documents, if any
source? if true, this would be a troubling precedent in the use of third party analysis in conducting military operations
Stern really is the last resort mainly because the things that people really argue about are often just opinions. No one is going to argue that test1, test2, etc... are good test names. It is certainly better to let someone realize that on their own with a question than sternly tell them they are bad.

The very rare times when I have to be stern is with consistency issues. Usually though, that's even softened with a "Yes this might be a better way to do it, but it is not consistent with how it has been done so far. We'll make some time in the future to change it everywhere, but for now stay consistent." Often times the biggest issue with juniors or even mid level people is they are only looking at their immediate piece, and not thinking about the larger application or system level picture.
> you make it sound as if a daily $4 latte is that normal

I buy maybe 2 lattes a day at 3.50 EUR each.

I also spend about 350 EUR a year on coffee beans/grounds and this year 1-2k on coffee machines (a one off admittedly, I expect a yearly average of 200-300 EUR on equipment going forward).

Maybe I'm unusual, but I expect people who buy fewer home materials will drink at cafes more?
Do you know that Arabian Oryx is the national animal of Oman
Rust has actual type inference. It just happens to be a local affair. For example, you can create a vector, even an empty one, without explicitly specific its element type. But, somewhere in the current function, you have to provide information about the element type, say, by inserting elements into the vector, or by using an element in a way that constrains its type.