skysight-inc/HackerNews huggingface dataset:
The truth is, nobody wants that. I got a Sony Xperia Z5 Compact. I turned on "stamina mode", where almost everything is disabled. In that case the battery lasts more than 1 week.

However friends want to messsage me on Whatsapp (ergo wifi or mobile data), I want to use the GPS from time to time, I want to google things from time to time (ergo more wifi or mobile data), etc., etc.
> how [microservices] comunicate between different apps/languages ? they use rest api or is better use something like zeromq/rabbitmq ?

Everything you mentioned, and then several other mechanisms. Whatever happens
to be fashionable where they are being implemented.

> Sorry to post this here, but honestly I often hear about microservices but I don't really understand what they are.

A bunch of small applications running separately that talk to each other using
different protocols (sometimes one of the RPC protocols, sometimes raw HTTP
that is today called REST, sometimes ZeroMQ or AMQP or some other ESB). The
idea has little more in it than this, though operationally there are still
some things to figure out.
Well, except vscode is behind vs for F#. Try using a type provider on vscode, it runs like crap for anything non trivial.
i actually ignore a bunch of file extensions

const BAD_EXTENSIONS = ["!*.jpg", "!*.jpeg", "!*.mov", "!*.mp3", "!*.gif", "!*.png", "!*.log", "!*.bin", "!*.psd", "!*.swf", "!*.fla", "!*.ico"];

I was wondering why `.png` was scanned. However, your comment makes so much sense and it will be wise to add default folders like .git as well

Thanks a lot for that, ill be looking forward to what defaults people also want to have :)
Or the hiring process is optimizing for "nerd culture", whereas most development is optimized for solving business problems, and the two are often at odds.

If the desire is for peers rather than coworkers, you might as well ask, "In which Marvel parallel universe did Wolverine have claws made out of banana peels instead of Adamantium?"
I like the idea of an inherent ability for annotations to exist, but I think the glue will still be annotation (read: comment) vendors. My head hurts trying to conceive of existing commenting platforms facilitating this - especially since they exist in large part due to these ease of integration thanks to their walled central storage. That said, the door for disruption is much more open than before.
(if its used)
> The annoying details of type theory don't get in the way until you get to large sets.

I meant set theory there, not type theory.
Nice.

That is a legitimate selling point for me, I'm not a fan of the customised Android versions sold by the likes of Samsung, it reminds me too much of the old Windows days where every OEM would sell computers with their own customised versions of Windows, loaded up with their own software.

Unfortunately the 5.5" Google Pixel (the one I want) seems to be perpetually out of stock.

A big plus with Apple is that they just don't let this happen, you always get stock iOS on an iPhone.
What an interesting commit message format.
The Social, Dating and Blogging Website
Come and join our wonderful community of awesome people... register Free today at shades-of-red.com
They won't tell you the company up front for a few reasons.

The actually company doesn't want to be inundated with resumes without being filtered by the recruiter.

Most companies don't have an exclusive agreement with the company. If they told you the company up front and you decided to apply directly. They won't get their commission.

In the same vein, if another recruiter caught wind that the target company is hiring, they may try to contact the company directly.

Of course they want to get people on the phone.
Ask HN: Do you make more than $200K? What did you have to do?
Having been writing software for over 10 years, I recently learnt that a friend has been making more than $220K for the past several years (similar background). I'm at $170K and always thought I'm getting paid really well (I'm an engg manager + programmer in bay area, Java expertise).

Curious if people here make more than $200K - what your role/salary/experience is.

How did you get your high salary? How have you been raising it? Do you plan for it, or does the company reward you automatically? Do you switch jobs a lot?

Side curiosity: how much do execs (such has CTO or VPE make?)
And while the appraisal is supposed to be independent, the appraiser knows the contracted sale price of the house at the time of the appraisal.
Does it do anything to prevent spam?
Mark Cuban is an idiot that got rich from selling his company at the height of the dot com bubble. AI, ML and NN are not magic, there are very real limitations as to what they can do. ML is really good right now at playing Go and composing tweets that kinda look like their written by a person but lets see the toilet fixing robot, the auto repair robot, the psychologist robot. People say self driving cars will eliminate the need for the trucking industry but self driving cars can't even deal with bicyclists.
Facebook doesn't keep anyone connected to anything but their stupid algorithms and hidden agendas, the only thing you can be sure of is that nothing is what it seems to be and that they're doing everything in their power to twist your brain and sell your integrity.
I read just now that a gamepad module may be on its way to Moto Z officially. That is perhaps the closest we will get, if Motorola or similar is willing to stay the course on device shapes (not likely given what happened to the Atrix line and accompanying laptop docks. Every damn device had slightly different spacing between HDMI and USB ports).
From Bryan's interview it's clear they've solved the problem like that. From article I linked, it doesn't indicate so.

Take a look here[1], at 'EVFILT_SIGNAL'. But does that mean that we have to manually attach signal to monitor, and then we receive "we're done". But that's kinda similar to what you have to do with epoll, the difference is that kqueue structure encapsulates functiona of 'epoll_wait' and 'epoll_ctl'?

[1] https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2

Edit: sorry for spamming with links, but I find these things really interesting, look here http://austingwalters.com/io-multiplexing/ specifically at 4 steps after kqueue code, I think that explains well. So it looks like we wait for signal 'done' after which we rewatch.
This.

I actually use VB.NET at work to strong effect. It enables us to hire domain experts (insurance) and have them working as developers in a week. And you get the full .NET compatibility to networking for updates, PDF libraries, crypto, etc. Everything you'd need for a first class desktop app, with much greater freedom on who you can hire (compared to Java, c#, etc).

But I'd never dream of wanting to build a "weekend app" in VB.NET anymore. You're basically stuck with a very heavy IDE, to fill in boilerplate and do builds. And there's lots of framework churn here so a template you'd have from 2011 would probably be a huge pain to try and implement today.

Never used VB6, but from what I understand it, it was a huge productivity tool: any small task could get coded up and shipped in a day. That's how I think of python right now, I don't want to see it go the way VB. We already have enough enterprise ready type languages, not everyone has to be one.
Governing kidnap for ransom: Lloyd's as a 'private regime' [pdf]
Wikipedia usage survey results
Cognitive Performance Among Carriers of Pathogenic Copy Number Variants [pdf]
We don't really have political ads in the UK, it's certainly illegal to lie in any advertisement in the UK.

I meant a tool was used and was not registered as a donation. This may have distorted the campaigns because the two sides had to disclose all donations.

That one chose not to, is in my view dishonest, thoroughly inappropriate and may very well have been ilegal.

I am not naive, hence my comment. For future elections election officials will need to be observant.
The Chemistry of VX Nerve Agent
The big deal will be to see if this end up with the same fate as the Atrix lapdock, where every subsequence device generation needed a new dock because of different spacing between ports. Until Motorola basically threw up its arms and released a dock with the plugs on flexible cables (actually made it an interesting RPi accessory)...
The Fourth Turning: An American Prophecy
>Immigrants don't commit crimes. Poor people commit crimes.

As I already wrote in in some other thread, Swedish national economist Tino Sanandaji (himself of immigrant background) has shown this is not the case: there is actually a problem of immigration-related crime in Sweden, not just poverty-related.

Sweden has had and still has very small income inequality. But in country-wide statistics, crime has still gone down generally while situation has worsened in some urban areas where there are regular shootings and grenade attacks, things that were completely unknown a couple of decades ago. In a word, there's less killings within a group of local men who have an argument about booze and kill each other with a knife, and there are more killings where a gang member is ambushed and shot or killed by a grenade.

Yes, Sweden is still a very safe society, on average. Much safer than the United States is on average. What's remarkable is, however, that the development has reversed: Sweden is no longer becoming safer, but United States is. During the time period 1990-2015 when homicide rate per 100 000 pop in Sweden has gone from 1.3 to 1.1, the United States has gone from 9.4 to 4.5. My native Finland, traditionally the most violent of Nordic countries, has gone from 3.1 to 1.3, and Norway from 1.1 to 0.4. Denmark is at 0.8. Sweden will soon be the most violent of the Nordic countries.

So Sweden does have a problem, it's not improving like other Western countries.

The U.S. situation is, of course, a thing where also Donald Trump's narrative is wrong: the U.S. has become much safer over the past 15 years, not less safe. There is still some reason for concern in the U.S. though, because the crime is concentrated in a few cities (such as Chicago, the home city of former president, even if some other similar cities like Baltimore and St. Louis are even much worse.)

http://www.nationalreview.com/article/445237/sweden-crime-ra...
Hm... that would be really sad.
The next evolutionary phase of the Cathedral could be a Zuckerberg presidency. It may be his reward for "solving" (in the future) the problem of extra-Cathedral news consumption. But it's early days.
> That's very flawed reasoning: Do you think these scientists didn't have a job before?

A huge percentage of them didn't actually. Most of the current researchers into climate change have always worked as researchers in this field. You have to remember the field has been around since the 60s, but has rapidly begun to attract PHD students and others because of the vast amounts of grant money devoted to it in recent years.

> Where are you getting your global warming papers from?

Nature and Science. Where are you getting your Agile papers from?
I didn't downvote you, but I'll ask the question...

Why not? The new (2016) owners BizX turned that ship around. They seem to actually give a shit:

https://www.reddit.com/r/sysadmin/comments/4n3e1s/the_state_...
I think the problem is that the incentives generally aren't aligned and it's in your interest to be informed anyway about the opportunities near you.

How are their incentives not aligned with yours? They want to find you a job that is a good fit for both you and the company so you stick around for at least a year so they can get their commission. Your incentive is that you want a job that meets your requirements.

They give you the initial lead. It is still your responsibility to close the deal.
Performance of new EC2 I3 instances
Too late to edit so will reply again with an interesting NYT comment today:

>Cynthia New Hampshire 4 hours ago
This behavior is actually the behavior that should be of serious concerns to Americans. I spent six years in the military, and I learned a lot about human nature during that time, and it boils down to this: there are some people who are suited for positions of authority and some people who are absolutely not. Those who are not are often drawn, for psychological reasons to complicated to describe here, to work in positions where they can exert their personal brand of control and authority with impunity. What prevents many of these folks, those in ICE, corrections, law enforcement, etc., from behaving in outright unacceptable manners is the fact that there is a mystique, or more accurately, a facade of controlled professionalism around them that serves to regulate their behaviors. That facade is eroding--rapidly--and what we're seeing is what happens when a society doesn't psychologically screen and train applicants fully. The culture of law enforcement is not a productive or healthy one as it exists today, and the deregulation (clinically) we see here will become more frequent and increasingly ugly. As the need for more ICE and law enforcement agents increases, the quality of those applicants will degrade. I fear that what we'll end up with is a Stanford Prison Experiment sort of free-for-all that we can't call off after six days.

I agree with this. My assessment of the situation has been that while there may not have been direct command from John Kelly et al to start being more aggressive, this can flow culturally through an organization without direct instruction very easily. Look at Uber's culture set from the top down.
This is something I latched on to too; does scaling imply stability and business fitness? Otherwise scaling is not the correct word in this context - thin yet brittle hypergrowth that over-extends the emotions and focus of employees and the correct use of economic resources.

Perhaps they learned the highly valuable mistakes that can make the second time easier?
I'm not sure where else to complain so I will just leave this example here. I was frustrated reading the specification because it contradicts itself.

The data model has a required field called `id` which is an IRI (like a URI) that is basically a globally unique identifier.

The protocol allows an annotation to be transmitted without the `id` field attached.

Why? Is the field required or not.

In my toy implementation I had my browser client attach a v4 UUID as the `id` field before sending it to my server. But it would have still been valid without it.
I am too poor to access a rift or htc, the PSVR seems like it would soil my experience. Like those 720 HD ready TVs.

How do HN people feel about VR?
The family name Bildt is an old noble one with registered heraldry and absolutely not a surname you can take in Sweden. It's also the surname of the prime minister at the time Nils emigrated. Perhaps that's a bit of background to who puts on such a charade.
Yeah definitely- also seems to hold up in the rain outside. I have no idea about the camera button- my previous phone was a nokia windows phone which also had that, so I just assumed it was a standard thing for phones these days.
What's Driving Transit Ridership Declines?
You could probably omit the length, because the length is probably already known implicitly. E.g. git knows the length of its hashes without having to read the hash. If the length < the full hash, it can be assumed to be truncated.
Please don't accuse others of shilling. We have much more of a shillaccusation problem on Hacker News than actual shillage.
Not sure what good J2ME would do.

Seems like it will ship with an integrated Opera Mini btw, as one of the press shots had that stylized O as one of the icons on screen.
Ha! Still using mine too. Holds about a week. The battery has never been replaced.
> I'm pro-Trump (Obama overthrew a democratic government in my country, Brazil)

I'm confused - is the bracketed clause a causal factor here?
Ok, you know any good talk/slide with real examples ?

For example I don't understand why companies like airbnb (I understand for uber instead) need microservices...it's just a frontend app + backend + api. This can(could) be an single app.
> has rapidly begun to attract PHD students and others because of the vast amounts of grant money devoted to it in recent years

I think you are very likely wrong about the causal link there: the way science organizations allocate money is that they decide what is important to study, so it should make sense that important fields are the ones that attract money and people. And there's a general scientific sense in which some fields are more important to the progress of science than others. But that's just how it should be, and less important fields should have less money. So you observe the expected behaviour (important fields get more research effort), but you think you're seeing a pathological behaviour instead. After all, what evidence would you accept that climate science deserves that particular level of funding?
Maybe that's not the right question. What I understand from the article is that the threat is about being manipulated by computer algorithms. We don't really care the computers are actually intelligent and thinking or whatnot. What's bad is that we are manipulated by computers and they automates more and more areas of our lives each year.
There should be the option for an include pattern. I wanted to only check *.py files, this is very cumbersome to do with only excludes.
Same in Firefox for me.
I switched to "Reader View" (I love this feature) and the text appeared.
Is anyone using these? The blog post is put out by a company I've never heard of, and the credits listed on it include nobody who works on a browser, no major websites, and no comment-widget company.

Historically, web standards where a committee gets together and decides how a feature is going to look without the buy-in of users or browser vendors have a very poor track record of adoption. The way actually-successful web features get standardized is that users start clamoring for it, which leads someone to build a hacked-up JS implementation of it, which leads to a company founded around that hacked-up JS implementation, which leads to competition, which leads to browser vendors building it into the browser, which leads to an open standard.

Trying to skip steps doesn't seem to work. If you build the feature without users who want it, nobody will use it. If you build the company without the prototype, you won't get a working implementation. If you build it into the browser when there's a dominant monopoly company, people will continue to use the company rather than the browser's version (this is the story of Google vs. IE+Bing & Facebook vs. RSS & semantic web). If you standardize it before it's been adopted by multiple browsers, people will ignore the standard (this is the story of RDF, the semantic web, and countless other W3C features that have fallen into the dustbin of history).

And if any one of those parties are not at the table when the standard is written, they'll ignore the standard anyway.
This is interesting. I hope it doesn't slow things down too much or become another spam vector.

Aside: That interactive SVG slide-show is pretty impressive in itself.
How Pamela Colloff became the best damn writer in Texas
So would turning off denormals fix the problem? That concept has given me 100 problems in the past and had helped me 0 times.
What would you suggest as an alternative to float?
You have to prove that there was an impact on the electorate and that it wasn't just a matter of hating HRC or desire to shakeup the GOP.

Really hard to prove attribution. The assumption that the election was won because everyone who didnt vote like you was "manipulated" is insulting. We're all just getting more entrenched.

As for shell accounts, tinfoil hat is all I'm hearing. Prove it. There is more substance in DNC leaked emails than any of this left conspiracy nonsense.

Edit: wtf is fraud laundering?
Attackers can exploit that by cutting off a stream. it's best to be explicit.
https://www.damninteresting.com/the-zero-armed-bandit/
My take on that is to carry a 3G (UMTS) featurephone that i tether a Android "phone" to via Bluetooth.

Said featurephone is getting long in the tooth though and pretty banged up (and is on its second battery)...
That program has a requirement for writing a "scholarly paper" described here: http://www.cs.umd.edu/grad/policy-manual#7.2.MS-nonthesis-re...

This was most likely done to satisfy that requirement to earn a MS "along the way" to a PhD.
Part of my day job is to test floating point hardware and write compilers and assemblers. Testing equality---with some care---is completely fine. I can assure you this is a bug in GCC. The GCC bug is compounded by the nonstandard behavior of x87. The x87 unit is not "fixable" but GCC's behavior is.
they could just as well ask to do multiplication without a calculator. many programing languages already have a sorting function in its standard library.
Will selling WP themes be a thing to invest in in the future?
Have you tried IDEA? I used to jump between their products but after getting IDEA you can stay in just 1.
I might have trouble remembering the difference between bubble sort and, say, selection sort off the top of my head. On the other hand, I can implement insertion sort from scratch. It is so simple I do not need to remember the algorithm, I can just figure it out whenever I want.

I think there is a problem with the industry having forgotten the point of why we were asking questions like this in interviews in the first place. The question is not whether you can remember the algorithm, it's whether you can implement such a simple algorithm in any programming language that both the interviewer and interviewee know.

Since the point is the implementation, not the memorization, even simpler algorithms than bubble sort might well make more sense. This is why we've got FizzBuzz for example.

As an alternative, the interviewer could take a moderately simple algorithm like say the Fisher-Yates shuffle algorithm, explain it to the interviewee on the whiteboard, and then see if they can implement it. But again, the point is not to test the interviewee's memorization skills. These algorithms are simple enough that any software engineer who can actually program should be able to implement them from a diagram and some textual/verbal explanation.

The question of coding on a whiteboard vs coding on the computer is a separate question.
Are you an associate?

Basically you'd be convincing someone who's heard about your idea for maybe 30 minutes to convince someone else. A day or two later. This is not productive.

While weeding associates out might be a time saver, you should do this before scheduling the meeting. Between LinkedIn and the fund's website, this isn't that hard to figure out. You could even go into the meeting reversing the proposition. Great to talk to you. This is roughly what I'm working on. Tell me about your fund and contacts. Thanks for the coffee. If you're a technical founder, you can probably use the practice, too.
And then you burn out if you don't have passion for your craft in the first place.
SIPRNet is probably an order of magnitude larger with over four million users [1]. Even more impressive considering it isn't connected to the Internet.

[1] https://en.m.wikipedia.org/wiki/SIPRNet
Well, in order for VR to be successful you ACTUALLY need good VR games. It seems Resident Evil 7 got a fair amount of positive reviews. I believe the VR mode for that game is currently supported only on PS4.
It is pthreads which are fundamentally broken indeed, not epoll.
I like how every commit message is formatted as a problem and a solution: https://github.com/PumpkinDB/PumpkinDB/commits/master