skysight-inc/HackerNews huggingface dataset:
IIUC the idea is that they want a fixed number of states, that doesn’t depend of n.

Another idea is that nobody knows the exact value of n, so the first task of the soldiers is to count themselves. Then the idea is that a signal propagates form one end of the line to the other end and back, and the time is ~2n. Using two signals that propagate with different velocities they can “count” with a finite number of states.

For example, see the fist graphic “Anonymous, 3n time, 160 soldiers, 13 states” in http://www-cs-faculty.stanford.edu/~eroberts/courses/soco/pr... . They first find the middle of the line, and hen they continue doing binary partitions until all the partitions have length 1, and then they fire. The final step is local, each one has to check that they local partition has length 1 and the nearby partitions have length 1, but the binary split is responsible for making all the partitions of roughly the same size.
When running a business; "wrong" is open to interpretation. There are a million things to do and you can't do all of them so you have to balance your time with other priorities.

It seems unlikely that after 10 minutes someone would understand your situation enough to be able to judge.
I never thought of serving webpages as being CPU-bound. Anyway, to get a 10x speedup, you would have to buy enough of these to use as much power as whatever you're replacing. So if one Mill CPU uses 2% as much power as a Haswell, then you'd have to buy 50 of them to see a 10x performance improvement over the Haswell.
> This is why top-down, single-source of truth is mostly the best way for core infrastructure.

"Top-down, single-source of truth" needs to deal with failover for resilience in any serious setup. The entire point of consensus algorithms like Raft (and Zab, since you've mentioned ZooKeeper) is that they provide a method of providing a consistent source of truth that is resilient without the management overhead.

It's explicitly because top-down solutions are a massive hassle to keep consistent and available in the face of stalled replication (OpenLDAP.... DNS based solutions...) or a failed master.

> It's important for some parts to not be infinitely reconfigurable or dynamic because it would create chaos and service dependency deadlock/DoS.

That is entirely irrelevant to the algorithm used to replicate the configuration information.

> It's also more secure because if it's possible to dictate all of the service details, it's much easier to run a lean and locked-down infrastructure.

Why exactly do you believe that it is not "possible to dictate all of the service details" while using Etcd? To me it's an entirely orthogonal issue.
Background: I'm a long time GIMP user. I've tried Photoshop in the past and hated it's way of doing things too - Corel Draw seemed to make most sense to me.

Anyway the new pedantic approach to saving/exporting seems to be pretty unfriendly - like you say it chides you, you go to save and GIMP says "n-uh, you can only save in XCF; what you want is to 'export' to a new format". Argh!

Whilst it's correct that you're exporting, there's no need for the duplication between save/export other than to indicate to the user that some formats will lose information.
As Mozilla is a US-based organization, is anyone afraid of the NSA/USG commandeering Mozilla to setup pen-register/password-interception a la Lavabit?

Only a couple of months ago comments like mine would have been passed off as tin-foil conspiracy. Now, I think everyone's sense of normal is now tightly wrapped in tin-foil, encased in lead.
Ask HN: is it ok to list past achievements as employee in consultancy portfolio?
I have a CS degree and a few years of employment as a web/software developer.
The next step is starting a software consultancy, as a sole founder.

The problem: the main items on my portfolio would be my achievements as an employee of the companies I've worked for. Can this be a problem? Since these items are not done by “my company for my clients” but instead by “me, the person, as an employee”.

Hope my concern is somewhat understandable.
Interestingly, this sort of request isn't limited to registrars. I did a bit of work with a registry for some new gTLD's (not a program I support; my former employer became involved in the business) and they had already planned for dealing with takedowns of domains at the registry (not registrar) level.
This is idiotica: a ridiculous attempt at a tie-in between pseudoscience and a topical event. it is a waste of time and effort for the reader, the writer, and the researcher.

Climate science is bullshit because it is not science; it is an observational discipline that cloaks itself in the language of science. Calling it science is simply an expression of our vastly inflated impression of ourselves.

Oh, we are severely fucking up this planet, don't get me wrong, we just don't have the tools to prove it scientifically yet. Pretending that we do is just going to make things worse.

The only purposes that this article can serve are to raise the profile of the researcher for tenure-track consideration, and to make money for the newspaper that is shilling for the consumerism that is causing the environmental problem in the first place.

If you are concerned about the planet, don't waste your time with this article. Instead, here's a list of things you can do that would actually make a difference:

(1) Stop having children.
(2) Promote mandatory population control.
(3) Stop driving your gas-powered car.
(4) Stop eating in restaurants.
(5) Stop buying stuff in disposable plastic containers.
(6) Stop spending so much money, you fucking assholes--you are driving the machine that is tearing up the Earth.
Crushify: social utility to discover mutual crushes
You'd think so, but most RDBMS's are a lot of work to set up in a way that provides the kind of consistency guarantees and availability that a configuration store like this does.

E.g. take Postgres. You can't connect to the slaves and write, so your client will need to know how to identify which server is currently the master. And if the master fails, you need to implement a leadership election method, promote the chosen slave, and resync your other slaves from the new master.

Before you know it you've reimplemented the configuration store with a different data storage mechanism. There's very little intersection between the typical RDBMS and a configuration store like this.
I managed to bring in existing repositories by creating a bare repo in the webapp then replacing the created folder with my real repository (or just symlink to it).

Is there a streamlined way of doing that?
Just indicate your role in those projects.
Yeah and Mercedes is responsible for my speeding ticket. They purposefully make their cars able to exceed the speed limit of 50km/h inside cities.
GIMP still has no adjustment layers, so yes, it's included.
POW is a loaded term and really doesn't in any way apply to someone who was abducted and taken as a slave.

Even just the English phrase "prisoner of war" implies the ongoing servitude was somehow linked to the war, when really it was linked to the owners ability and desire to keep the person captive.
As an Aspie, I like the fact that my computer is "stupid".

It understands my commands literally and executes them exactly the way I specified them, down to the last typo. It doesn't try to second-guess my intentions, read my body language, or do any of the thousand other things that neurotypical people do to drive me crazy. After a full, stressful day of interacting with people, interacting with the "stupid" Terminal is a breath of fresh air. I'm sure a lot of other autistic people like computers for the same reason.

If my computer ever began to interpret my words and actions like an actual specimen of homo sapiens does, I'd probably throw it on the ground and destroy it with a jackhammer. When I buy an Intel processor, it's because I want it to crunch numbers for me, not because I want a clone of that thing in the movie "Her".
I don't see how this enforcement would be practical.
Not about Krita, but the steaming pile of fail that is GIMP.

No adjustment layers, and with that no non-destructive editing. No actions that somebody who doesn't know a scripting language can write. (Guess what! I CAN write Python but sometimes I just want to say "oh hey I need to do this 200 more times, I'll just hit record, click the buttons I want, stop recording, and make that action Cmd-F2"). Annoying save dialog. No "Just copy the damn Photoshop keyboard shortcuts" option out of the box. Deafness on the part of the GIMP community that their product is still horrible. The development effort that could have gone in to making a decent photo editor went in to people trying to salvage the disaster that is Gimp. Mediocre Mac support.

I love open source, and use Ubuntu primarily (the Mac references above are due to using a Mac, and therefore Gimp on a Mac from time to time, at work). The user experience is actually BETTER running Photoshop on Windows 7 inside Virtualbox than it is running Gimp. That's just pathetic.
Courts within Civil Law systems are there just to interpret and enforce the law, not to create it. What individual courts decide is not binding on anyone but the involved parties.
It depends on what you want to support. I've done similar as I was working on platforms that didn't actually support POST/PUT/DELETE. However you then have to contend with misbehaving caching too.
Marketing: Don’t Ignore Traditional Public Relations
That's an unfortunate metaphor; it completely spoils the problem. Just have the drummer give the signal to fire, and all the soldiers will hear him simultaneously.
FOSDEM 2014 – First videos are online
http://chetansurpur.com/projects/sidestep/ :

>"Sidestep is an open-source application for Mac OS X that sits quietly in the background, protecting your security and privacy as you browse the web."

>[...]

>"When Sidestep detects you connecting to an unprotected wireless network, it automatically encrypts all of your Internet traffic and reroutes it through a secure connection to a server of your choosing, which acts as your Internet proxy. And it does all this in the background so that you don’t even notice it."
Hello jonalmeida - thanks for the quick reply. That's pretty much what I'm doing now. Problem is that a lot of the specific dates and locations haven't been confirmed so I'm going to have to keep re-crawling to see if something has changed.
I can't believe there isn't a better solution.
Yup, that's exactly what I meant too.
no. it should be a market place, not a mono-poly.
Do you think that's a good thing?
My impression is that EU countries have annoyingly too much regulation for businesses and tend to afford individuals much more freedom than people have in the US. In the US, it seems to be the other way around.
cool. how does this relate to packer & vagrant? this is basically the trend to an abstract machine interface. so you can boot an image at several place and you want notice. this will matter in terms of price and consumer power.
Well, that's the thing, Canada doesn't have ZIP codes. ZIP codes are purely an American system. Canada has postal codes, and you can easily verify the format of them, as well as the location of Canadian postal codes. So if you know the person is in Canada, you simply check against a different set of rules.
A few examples:

- Public swimming pool temperature

- Air quality information in city

- Traffic light status

- Train GPS position
But that misses their own threshold. Rate 4 and you're not asked a thing (if I understand you correctly), but the driver might be kicked out if enough people do the same, right?

If there 4.5 is the minimum average rating, everyone not rating 5 should be asked what was wrong. Or .. fix the rating so that not everything needs 5 out of 5.
repo: https://github.com/apache/libcloud
ZIP codes are an American thing. ZIP codes are a specific system of postal codes. If you are talking about ZIP codes, it's American.

If you are validating an American address, you'd want to validate using something that validates a ZIP code. If you get a Canadian address, you'd want to validate against that (which also happens to make it simple to validate against the province as well).

And yes, if you shouldn't using the term ZIP codes and postal codes interchangeably and treating them the same way in your code.
In my regards it seems that one of their sources of inspiration were Transmeta processors - VLIW core, software translator from some intermediate bytecode (x86 in case of transmeta).
I hope they will get it better this time.
It is not even trying to solve remotely the same issues as Chef. For starters, it is not going to install or uninstall packages or modify files, or nearly any of the things that a typical Chef recipe might do.
They don't translate. Rather, they compile code to their instruction set.
The reason the TLB is so fast is also that it is fairly small and thus misses fairly often. Moving the TLB so it sits before the DRAM means that you can have a 3-4 cycle TLB with thousands of entries.
Getting started with PhantomJS – book review
This reminds me of a game from the early 90's, called "Virus!" iirc, where you had to dig around your filesystem chasing the bad guy.
Thanks for clarifying things. Looking at the solution on wikipedia I also understood what constrain I was missing.
Could be a good tagline:

"We stay paranoid so you don't have to be"
Police Board of Finland Attacks Wikipedia's Fundraising Campaign
We need new countries !
> It's like the developers have never actually used it to draw something or edit a photo.

That seems like an unfortunately common trend. If you ever try any of the hex editors on Linux (ghex, Bless, etc), it's very evident that they were written by people who have no experience actually using hex editors. It's as if they saw a missing tool on Linux, and decided to make it, despite having no personal experience or desire for said tool. It's just a checkbox to tick off.
Goggle, Facebook, Microsoft Recuited the First anti-NSA lobbyist
NYCBSDCon ebook sale - Coupon here :)
Don't forget to DONATE:

http://openbsdfoundation.org/campaign2014.html

Thanks!
Don't forget to DONATE:

http://openbsdfoundation.org/campaign2014.html

Thanks!
or "How to make sure only the NSA can circumvent your security"
One of the better examples of an OWASP cheat sheet is Rsnake's XSS: https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_She....
Probably should be Google in the title?
Hey,
Thanks for sharing. I enjoyed reading what you've done and your advice.
But you certainly spent a lot of time meeting this 50 people ! Can you measured this amount of time ?

For someone who is not on site (like me) It’s very hard to go your way. Any advice ?
This is why I always try to make a business case when filling out feedback forms. If I don't understand the business enough to know the ugly details of implementing the suggestion, I'm probably wasting their time with something they already rejected for non-technical reasons.
Ah yes, RuntimeException for random application-level errors. Always a great practice.
This article is; I just meant that the magazine overall is not mainly about tech. Here's their latest ToC, for example: http://nplusonemag.com/print-issue-18/
The problem isn't a mater of openness, it is Could new transmitters be built? Yes, but it would be at a price no one is willing to spend. I imagine that it would be feasible to obtain the proper documentation, but there is the matter of building the hardware. More significantly, I suspect that duplicating DSN is a rather monumental task.
Finally! Doh, I need to install Aurora by now
I have always wondered why one is able to sell a car that can go over 100mph when the maximum speed allowed on the roads in my country is 70mph and being caught going 100mph will land you in jail.

We already know people cannot be trusted to "do the right thing" so high speed incidents will, and do, occur.

As Richard Miller wrote in SQUED [1]

"Show me a man that has never broken the law and I'll show you a man that has never driven a car."

[1] http://www.waterstones.com/waterstonesweb/products/richard+m...
Maybe there's another way to resize the canvas that you're using, but the standard way, the menu option Canvas Size... has an option to resize some or all layers (defaults to none): http://imgur.com/Yk0oaKx Just an FYI.
This gives me an idea of reimplementing jQuery as part of learning javascript.
It might be a little harder than you think. Satellites typically use some kind of encryption on the command channel, since no one wants to find their satellite has been hijacked. Even back in 1978 that was likely the case. So when they say 'decommissioned the transmitters' what they probably mean is 'threw out the data encryption hardware.' If they also threw out the design files (and remember these are the people who shredded the Saturn 5 engineering plans), there's pretty much no chance of talking to ISEE-3. No matter how many enthusiastic and capable hams try.
Radio transmitters and antennas are easy. Yes, hams could do that part. But the packet structure and encryption - not easy.

It's not a case of hacking a protocol, or breaking the encryption on a given stream of data.
There's no data stream. Unless the encryption is correct in commands sent to it, there'll be no response at all.

There might not be any encryption on the return data channel. Nothing anyone can do with that which harms the mission, so why bother adding more circuitry to the satellite?

Give NASA another brown star.
Stockfootagevideo's albums – Imgur
http://imgur.com/BwoFwdZ
Flappy Bird rise
> I have a hypothesis, that the most life-capable beings are those, who are able to cope with risk and fear, cross the line of comfort zone, and explore new unknown areas. In this manner, America inherited the best ones in the world, and I think this is one of the reasons why America is the wealthiest country, according to several measurements.

Uh, this is the first time I have heard that Americans are somehow genetically or racially superior thanks to their national founding myth. Certainly sounds like a similar theory to a certain other, now hugely discredited political outlook I won't mention.

It seems to lack explanatory power - why are there so many other countries composed of the descendents of migrants that are not as wealthy? Why are there countries composed mostly of lumpen aboriginals and left-behinds that are even wealthier per-capita?
I'm really liking the idea of having lots of new $ instead of chaining/burying things like jQuery does. Most of the functions are bareboned but as a concept it looks interesting.
Awesome :)

I wish wine could do a bit on the visual integration side - enabling themes makes it quite slow, maybe you could have a word with Mr Shuttleworth and get him to bundle and ubuntu wine theme, and fund the last bit of work to get themes rendering quickly.
Exactly. As an immediate counter example, look at San Jose over the past 40 years.
by the time i hovered your fancy kudos button and realized i had just given an "unretractable" kudo by accident I had lost all interest in what you have to say about countries...
wonderful minimalism...
I'm also curious about this. Anyone?
On the contrary, we need fewer countries, fewer borders and more decentralization.
XSS Vulnerability found on Facebook Subdomain
Introducing the regex-tester library for Java
No, we don't need any of these, this will means blood.
How cross browser is this thing? Does it at least support all the browsers versions as JQuery v2?
It's nothing to do with genetics. It's that people who would board a wooden ship to head to head off into the unknown were predisposed towards taking calculated risks. Some of that will have been passed down to their kids, not genetically but how they were raised and educated. It was simply a much bigger gamble to head across the Atlantic than it was to cross the English Channel.

You still see this today, altho' to a less extent because the risks are much less. Anyone who is working or has moved overseas is likely to be among the most ambitious of their peer group from back home.
It’s 21 Century But We Still Measure Driving Experience By Years
Even disregard of how it could ever happens, if the scenario happens, at best, we will realize that people don't like to pay tax, nor doing what they don't want. And then we will "innovate" "law", and some other annoying professions to interpret such innovation, and some other to do boring book keeping to make sure that people aren't trying to do funny things, and then the circle comes full around.

At worst, we're gonna starve because JS framework is not edible.
Zed is dead.
Checklist: What Not to do in ASP.NET
it's unbelievable that the argument of the creationist guy was: "it's not true cause you didn't observe it" and "the evidence it's god's word" as god was something we can all observe...

how can you discuss on this nonsense?
> Anyone who is working or has moved overseas is likely to be among the most ambitious of their peer group from back home.

Also likely to be from a wealthy or otherwise privileged background: wealth offers opportunity and permits risk-taking.
No one speaks of oppression here -- those genetically different should possess all the usual rights (and even public sympathy to the complications their relative loneliness brings, not hatred).

Rights, but not the means to "convert" others in a long-term -- as where the society as a whole goes is a holistic choice, with the voices of 1% playing roughly proportional role.
If this interests you, check out http://zeptojs.com/. Seems like the same concept.
I don't think he was trying to get at race or genetics, but rather attitude. I wouldn't say it 'inherited', but the 'culture' was one of people willing to get rid of their old stable lives for one of 'unlimited' opportunity, freedom, risk and adventure.

Whether or not that attitude is actually still pervasive or whether it's a nice story we tell ourselves is debatable, but it was true of the europeans that founded the country.
I'm a fan of min.js[0], as it is closer in spirit to jQuery. Looks like the major addition this has is the XHR. Not sure how I feel about the individual $method style, but it looks like you covered almost anything one would need!

[0] https://github.com/remy/min.js
It would have made it shorter, and much simpler. Only iptables nerds will find ufw harder.
So does this mean that NBC is fraudulent?

We should remember that... around the time of the next election.
That Uber can keep doing that (requiring 4.5 star averages) could be a symptom of a power imbalance: there is a huge surplus of qualified and willing potential employees to them so they can be picky.

That means that at the moment, there is less competition in the business than there could be (competitors could be nicer places to work, and hence could get by for example with paying less to workers, and be cheaper to customers as a result), or there are simply too much workers available compared to the amount of work available.

It's probably some mix of those. I've also noticed that in low skilled jobs, there can be many companies with very different cultures, and people pick the one where they fit in. They might all pay roughly the same and they don't differentiate that much with their service quality, because there isn't that much to differentiate with. Despite all the talk about excellence, the customers are not willing to pay much for any cosmetic extras.
How long till this is integrated with the main sponsor's unloved child, G+?

I've got more pressing matters than yet another account with personal information and data kept in the US ...
Come on, how can such low quality stuff get on hacker news? The claim that American immigrants have been the best people of the world is a joke. The author also can't even set punctuation correctly.

It also reads like a libertarian pipe-dream.
I imagine there are some legal ways to do that.