skysight-inc/HackerNews huggingface dataset:
How to choose the number of topics/partitions in Kafka
It's intended to be used with a Bluetooth mouse (if the user wants to use something other than the trackpad).

Even now, this is sort of like saying 'Forget about watching a movie on these laptops' about it since it doesn't have a DVD drive! (I was going to say 'in a little while', but really, wireless mice are so common now)
The problem (at least one of the biggest problems) with singletons is exactly that the singleton state is explicit. Making a singleton explicit means making it global, which allows random code all over the place to take direct dependencies on it. This increases coupling, and also makes it hell when you realize you were wrong and you need two instances of the singleton.

To your example of the connection pool, there is absolutely no reason that this has to be a singleton. You could have N connection pools, each with their own pool of connections, just as you could have N thread pools, or N memory heaps. This is not only possible but sometimes preferable, if different subcomponents need resource isolation (so that some connection-hungry component can't starve a component that needs reasonable responsiveness for the interface, for example).

Further, most of your code shouldn't even care about the connection pool. That's a level of coupling you generally do not need. Most code should care only about an actual connection, which could be passed in. Taking a direct dependency on the connection pool when not necessary increases pointless coupling and makes changes more expensive.
When CLion met biicode
Wal-Mart is reportedly furious over this hilarious website
I do a lot of JavaScript and Lisp is extremely appealing to me. JavaScript is a functional language, but not a very good one. Lisps are much better at doing functional programming than JavaScript. So a Lisp that translates to JavaScript is right up my alley.
But don't you think the bot has already stopped crawling the site due to it being unavailable? That's probably gonna hurt too.
Fantasy author Pratchett dies aged 66
Which countries have the best 4G?
Unless you make the mistake of tying the level of BI to observed inflation. But don't do that.
6 Things That All Entrepreneurs Should Stop Worrying About
> And 'lets kill that asshole' is an easier sell than investing in intelligence and long term planning.

If that were true, how did we end up with a court to decide the fate of serial killers?
I'm waiting for a prototype to be completed before I can start calling customers

That sounds really bad. There has to be something you can do to line up customers beyond waiting for a prototype. Have you pitched all the possible customers yet? Do they all know that the next exciting step is you coming back to show the prototype?

You have to be pro-active.
Drones are to war what anesthesia is to surgery. It's not that people are against annihilating the enemy, we just don't want to know the dirty details. We know that there are times we'll need to eliminate an enemy -just don't get me dirty with it. This tool allows us to put fewer of our own in peril while putting out enemy at a disadvantage. Given that we are involved in conflict, neo liberal ideology has to step aside and let Realpolitik take over.

So just as we don't want to be conscious when the good doctor puts us under the knife and are spared from all the guts and nasties, so do drones do the dirty bidding for us. We could all clean up dirty toilets ourselves, but we'd mostly rather have someone else do that for us.

It's a job which must get done, just spare me the details.
There is little moral difference in my mind between ISIS armies and Western armies attacking and killing people.
They did really try to seize the moment and imho did act a bit disingenuous towards OpenSSL. They even played on the point that OpenSSL's coding style wasn't "modern" and adequate and therefore made it near impossible for people to work on[1]. Since when does having curly brackets on different lines make something impossible to read?

They also gutted more than 90,000 lines in the first month (something that would be naive to claim had absolutely no unintended side effects), and claimed the OpenSSL project would not accept a single change (sort of alluding to the OpenSSL project having some delusional desire to stay "broken"), mandating the fork[1][2].

OpenSSL was largely written by cryptographers. LibreSSL is being hacked on by OpenBSD developers.

OpenSSL's code may not be pretty, but I sure think it would have been a better use of time and efforts to have the OpenBSD developers work alongside the OpenSSL cryptographers.

[1] http://www.infoq.com/news/2014/05/libre-ssl-first-30-days

[2] http://arstechnica.com/information-technology/2014/04/openss...
If anyone is interested in part one of this post here is the link https://equityzen.com/blog/considerations-for-your-startup-e...
I got asked this as a Google interview question, I'm assuming that's why it's here though its a fun question by itself.
There is an added item at play here: the equity stake and future pro-rate amounts are based on invested capital, so for $75k you can get 100k (or more) in pro-rata.

(The more comes from the fact that a lot of times this is convertible note with a discount, and the discount also provides a bump in pro-rata rights. See http://www.bothsidesofthetable.com/2014/10/12/the-authoritat...)

So this isnt just tax optimization, but investment/equity optimization as well. That said, smart founders should probably value their involvement in the accelerator as an valuation multiplier: if it isnt, they shouldnt join one.
More accurately the people who buy enterprise software are very rarely the same people who will use it. That is why they use other criteria such as tickboxes, and also why the UI design matters so much less to them.
I'm iterating what's been said here already, but want to make sure you realize it really is the best way:

Just find another position, give decent notice, and move on. If anyone asks, it's always about how much better the new opportunity is, not about how crappy the current job was.
Unfortunately, no. He doesn't even talk about the specs that much, the focus is on the backsory :)
I don't know in which part of the EU you live in. I am from Germany and I can tell, there is no such thing as a 2 year warranty required by law.

What most people mix up is, that there are two different types of warranties. One that is given by the shop and the other one is given by the manufacturer.

The warranty given by the shop is required by law and is 2 years. It covers _only_ that the shop gave you a device without defects at the time you received it. After 6 month you as the customer has to prove, that a defect was there when you received the device, which is hard to prove.

The warranty by the manufacturer is a free given by the manufacturer. Apple give you a 1 year limited warranty. If something breaks during usage, than Apple will replace it within this 1 year.

That basically means, if something breaks between 1 year and 2 year, then you can't use the manufacturer warranty. You could try the by law required shop warranty. But then have luck in proving to the shop, that the defect was there when you bought it.
Every time I tried to license a project under GPL (e.g. my FurBB project), I received backlash from the community. I've therefore been using WTFPL licensing for everything.
There are only 10 hard problems in Computer Science.
> You're going to spend all that work using "the author" everywhere and still manage to get my gender wrong ("his")? Okay. I don't really expect any different in this field, but just noting that.

Wow, you got some really hostile reactions for your politely worded comment. Some of those responses belong on @shithnsays
Except the decapitation strike we are talking here are not about ISIS (That is another matter entirely now, they are effectively a state in many respects).

We are talking about the places where drones are used in a controversial manner: Afghanistan, Yemen and some other countries few people heard about, in all those places, the enemies US are fighting are warlords, tribal leaders, and loose terrorist groups...

They are not anarchic in the classic sense, they have hierarchy and structure, but they are like the Hydra, no matter how many heads you cut off, other will always pop up in its place.
Subjective Evaluation of Higher Dynamic Range Video [pdf]
Search, recommendations and a fault tolerant UX
...poor people with incredibly wealthy friends who fund their misdeeds. So yeah, relatively speaking they (the foot soldiers) may be poor but those controlling all sides are not.

And I'd say the 90's was the beginning of the "cruise missile" guided bomb era of warfare.
Site is slow/down, probably due to the amount of traffic.

Got a screenshot of the site, though: http://i.imgur.com/Ui09H2y.jpg
> What happens if you add a second camera?

You call it TheSecondCamera, duh.
He will be missed so much ... he was next up to Carlin ... RIP. I just don't know what to say. I grew up with his books and have reread everything more than 5 times ...

Small gods is still one of the best books ever written ...
> Ceding large swaths of a country to random strong men doesn't seem like a sustainable solution.

Why? At least some of those local strong men are going to be amenable to your ideals. Support them with knock off equipment and let them conquer their enemies. If they become hostile after they've conquered their enemies, you can kill them then and iterate the process with someone else - though ideally you're using the spreading of their influence to spread your culture and dependencies on your support at the same time.
Forget smartwatches, smartcars will drive the next revolution
Well I guess the crux is the difference between what one considers 'major differences'. It's true that a 25k and a 75k car will bring one or multiple persons from point A to point B. A $500 clunker will do that, too. 25k will get you (sticking to new cars for the sake of the discussion, but the same dynamics hold for used) a Camaro, a Dodge Grand Caravan or a Ford Escape. 75k gets you a BMW X5 or a Porche Cayenne Hybrid. The room in those cars, the level of comfort, the quality of the drive is of a different level than in the first 3. Is it 'worth' it? Of course that depends on your frame of reference. For somebody with a commute of an hour, or somebody who regularly goes out to ski or on longer road trips to visit family, it's a real difference.

Back when I was a student, or even when I just had my first job, I looked at cars in that price range and thought that people would have to be nuts to spend that much on a car. Now that I'm in my mid 30's with a family, the BMW X3 I drive doesn't seem like such an extravagance it once did. If I had 2 million I too would semi-retire, but the X5 or Cayenne would be out of my price range - the yield on 2 million doesn't make it fiscally responsive to buy a car of that price range. But somebody who retires with 10 million could. And they could dine in much nicer restaurants much more often (for those into that), and do a bunch of other things that would be a real difference from those with 2 million.

Which brings me to the second point - what's the difference between having 1 million or 10? Well quite a lot. 1 million will let you 'retire' if you're content with a lower-middle class lifestyle and do some paid work you enjoy every now and then. 10 million lets you retire comfortably and lets you go on holidays abroad a few weeks or months a year. It still 'only' (yes yes, first world problems) affords you a house in a nice but not upper class neighborhood, and you won't be jetsetting first class around the world with it. Is that 'necessary'? Of course not, billions of people would literally give their right leg for just a fraction of these amounts. Yet most people in my (Western European, mid career professionals) social circles don't consider it 'wealthy' or would be content with such a lifestyle for the rest of their lives, without any prospect of advancement.

Maybe there is a similar case for the difference between 10 and 100 mil, or 100 and a billion, I don't know - I don't have that much money, most likely never will, and I don't hang around with anyone like that either. But I can imagine that the people with the 50 feet boats in the marina (the 100 million crowd) have a different lifestyle from those with boats that can go from Miami to Monaco (the 1 billion crowd).
Show HN: Automatic Recurring Bitcoin Transfers [FOSS]
That is exactly what PHK plans to do with ntimed: split it up into separate packages for clients, time distribution servers and authoritative time transmitters.
Why can't I zoom the text on this website in and out?
Yea, we haven't started yet :)
Hot water activity on icy moon’s seafloor - Cassini from Enceladus
> With Iraq we believed that they were still hoarding WMD's that they had from the 1980's

That doesn't explain the necessity of the attack. If he'd had WMDs he'd had them since the 1980s and it's not clear why it was important at that point to remove a capability that had not caused us trouble in twenty years.
"Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life." — Terry Pratchett

RIP
Now you're suggesting that Google basically devotes a team to detecting "crawler-free-quota abuse", when the real solution needs to handles crawlers from many different sources that aren't all Google.
And the House and Senate just went along.

http://en.m.wikipedia.org/wiki/Iraq_Resolution

Of course, the major news agencies colluded to deceive the American public because they propagated the lie.
In reality, I consider that a problem in the consumer space too, but designers don't really care. Which is now why I just prefer to use enterprise-grade products in the home.
Maybe the poster isn't even a primary English speaker and their language uses masculine as the default. BUT sorry that most people when they see anything aggressive from a female they get all worked up. It is a strange phenomenon when most never sees any bias in themselves because they like their mom and sister and they only dislike that woman and that other one oh and maybe the other one. It is so strange.
Show HN: D&D 5e Monster Manual and Pride and Prejudice Markov-Chain Twitter Bot
>Some advice on accepting a job in SF...

Think of SFO as your real-life Grad School. Plan to stay 2-3 years grinding it out, build your professional network, gain experience, see how the other half lives.

Then move back to the Heartland-- raise your family! You'll have tons more options for work/life balance.
It's almost like this (at the Apple store):

Customer: I'd like new MacBook, I really need to get some work done.

Apple Employee: Here you go, this should solve your problem. (gives him a new MacBook)

Customer: Great

Apple Employee: Could donate to the Apple foundation?

Customer: Sure, I'll ask my partner what they think. (walks out the shop with the MacBook, without paying for anything).
Singletons in multicore environments are dangerous, one bottleneck to rule them all.
Is that really how it works?
Nobody expects the cache invalidation!
bbc link: http://www.bbc.co.uk/news/entertainment-arts-31858156
yep and hence the constant uphill battle by companies to continually add new features to be able to advertise how much more the product can do for you and thus how much better it is. Its the checkbox mentality of the sales process which creates this race
Petition: Release the Intellectual Property of Bold MDA Framework for Delphi
> That was presented as a defense of My Lai and was a not successful argument.

I'm not sure how that's relevant. The "job" here being of far larger scope along the lines of "prevent future terrorist attacks". If you're the military presented with that task, you will go down generally the same route that US has, though perhaps without the same level of consideration for innocents.

The real "solution"(which is only in retrospect) is to identify the factors leading to extremism in the first place(American foreign policy) and change them. But that wasn't done, so here we are. Are you to argue that we simply stop trying to fight them on their soil? Instead we hope they don't retaliate?

> Absolutely not! It's a simple, clear, actionable, moral rule. It's also a core principle of international law. I'm not sure why this is so much of a problem.

I totally agree, but it's not applicable to the current situation. I'm not sure why people think this is a "solution" rather than a "yeah, we should have done that instead".
Kitematic is pretty cool, though it currently has a rather hard time dealing with any docker things installed on the system the first time it boots.

Also its AGPL

If under Docker Inc in can fix those couple hurdles to wider adoption, I think it could become a pretty widely used tool.
Huh? Oh, I think you mean ComputerScience.js
> but somehow allows Tor?

How would you go about blocking Tor? The point of it is that anyone can access the Internet freely from anywhere, even if you are in Iran or China. Or behind a FascistFirewall, as Tor's config nicely puts it. I'm not sure whether it was a to-do or whether they succeeded in making it look like any https traffic, but it's not trivially blockable, not based on IPs of Tor nodes nor based on port.

> Also likely is a call from security about wtf I'm doing.

I wonder how "security" catches onto you. It's not legal (here anyway) to monitor every employees' Internet usage all the time. Investigating based on alerts may be, but what would trigger the alert in the first place?
... =(

I saw his movie on assisted suicide. I hope he left us with no regrets. RIP
Since the drone was undetected, they could've have informed the ground patrol of the convoy heading their direction, kept the choppers in the air, followed the convoy, and acted as soon the supposed terrorists engaged. If the convoy really headed the patrol direction, they would even have intel from the ground.

The problem is that you have here a military force doing the equivalent of police work. They are on war mode, shoot first ask later, be on the "safe" side, which is incompatible with how you're supposed to work when you have civilians everywhere.

If civilian casualties mattered as much to high command as troop casualties (and it should, not only for humanitarian reasons, but also political), the decision making would be different. The US has one of the best military in the world, they have the technology and the means to avoid collateral damage, what they lack is a change in culture if they're going to act as a peace force.
I literally was at a talk from an AXIS Communications salesperson yesterday. They advocated their never-changing web UI as a feature, and everyone agreed it was one.
"Dear $NAME,

I am writing to give my $LENGTH_OF_NOTICE notice as required in my contract. My last day of employment with you will be $DATE

Please let me know if there is anything that you'd like me to focus on in my last $LENGTH_OF_NOTICE months employment.

Your sincerely,

$YOUR_NAME."

This is all you need. You don't need, nor want, to go into the reasons. It's probably best to not mention the reasons even if they specifically ask; just tell them that you got a better offer somewhere else.
I have my doubts about this ranking, starting for taxes implications which are probably severe for several of the top 10 countries in the rank.

And Switzerland and Israel are very small countries, where the engineering sample is probably very low and so are th work opportunities.
Fantasy author Terry Pratchett dies aged 66
Xonsh: a Python-ish, BASHwards-compatible shell language and command prompt
TheCameraArray[1]
I did this fellowship last summer. A really great experience, and you get work on problems that are WAY outside of the normal tech-group-think.
AT LAST, SIR TERRY, WE MUST WALK TOGETHER.

https://twitter.com/terryandrob/status/576036599047258112
This assumes all levels of income are inflated equally, which they are not.
I remember taking Calculus 1, 2, 3 but only having 1 linear algebra course and some engineering math. Although I did well in them, as a developer, I wish I payed more attention to linear algebra or at least wished that my uni offered more courses related to it, like discrete math and maybe even statistics. Good thing I still have my old books!
'Cause then you would need multiple batteries.
You still haven't provided an example of a planetary system whose planets revolve around a star due to force other than gravity!

I asked for a measurement which could identify such a group, not a measurement that would. I can easily tell you experiments to test this in physics - solve Newton's law of motion and find a celestial body with motion that doesn't agree with it.

If I were advocating for the invisible roller coaster track theory of celestial motion, I couldn't provide such an experiment. The invisible roller coaster tracks are observable only by celestial motion - whichever way the moon moves, that's where the track is.

The only way to refute the theory would be via an alternate method of observing the position of the tracks and then observing whether the moon actually followed that track. If someone didn't provide that alternate method, I'd say he was not even wrong.

However, if you have specific questions...

Besides the one I repeatedly ask, you mean?
This is why the Pi is not a good computer for school coding.

It's just too damn hard to use for most kids. By the time they've worked their way around the Linux command line and file permissions, a big percentage have lost interest. (Yes, this is based on experience, from friends who are trying to use it in classrooms.)

It's good that the Pi Foundation is making an effort to produce educational materials. But IMO they should have worked much harder on initial usability, with a simple task-driven desktop that pointed kids straight at coding and web design.

With the old 8-bit micros you could start coding immediately. The Pi is nothing like that. The effort/reward function is off for all but the very brightest kids.

As for the Micro Bit - as you say, it looks a bit like the BBC's take on Arduino. I guess success is going to depend on the software environment, which is something that no one seems to have much information about yet.

I'm concerned that C++ is included, because that wouldn't be my first choice as a teaching language. But Python is too, and there's a custom language for beginners, so it may all work out.
Hahaha the patriarchy! How much of your day do you spend feeling oppressed?
There's something amazing about how Pintrest -- a seemingly simple social media app, roughly replicable with a few hours of CRUD framework programming -- takes on a life of its own when infused with venture capital funding and a strong engineering team. The core of the web product is so simple as to be almost trivial: show a grid of images and links to each user. Indeed, when Pintrest first started I'm sure the logic entailed little more than that. Now, billions of page views and dozens of engineering hires later, a once-simple app becomes a behemoth force, crunching data on the order of petabytes per day.

How do the operations powering an app like Pintrest evolve from simple to so complex? Do the complexities emerge from necessity, or simply from idle time on behalf of the engineers, who naturally crave hard problems to solve?

It's a fascinating meta-commentary on our industry that simple web apps grow to become such complex operations. A business can survive on the kernel of its core competency -- in this case, photo grids -- but to thrive, it requires careful attention to petabytes of peripheral decisions. Indeed, it seems such an evolutionary process is advantageous for a web startup. Friendster and MySpace may well have failed because they mistook their problems for simple ones. They were able to solve the core problem of a social network, but not the many peripheral ones of operating that network at scale. It's the ability to do the latter that sets apart the major successful startups from the also-rans.