skysight-inc/HackerNews huggingface dataset:
I remade the game Pegs for the TI-83+ graphing calculator in PuzzleScript: https://github.com/roryokane/pegs-in-puzzlescript. Play the current version at http://www.puzzlescript.net/play.html?p=6862358.

PuzzleScript is an impressive project. The editor is pretty easy to use (the smart syntax highlighting is very helpful). The rule system was general enough to allow me to implement most of the concepts from the original Pegs very easily (with the exception of cross piece selecting), and add new features like animation and sound effects easily too. It was tough to compress some of the 8x8 sprites into 5x5, but I managed it thanks to the ability to use custom colors in sprites. What I didn’t like was the hard-coded limit of 6 layers, plus the occasional severe visual glitches in the running game that required me to refresh the page. The documentation is very good for a one-man project, but has small errors in places and lacks cross-references that force me to look through many pages to find the functionality I was looking for.

I was very interested when I saw this post, because I was already re-remaking Pegs for the browser (https://github.com/roryokane/pegs-js). I have a lot of experience with implementing that game, so it was interesting to see the rules phrased in a different language, and to come up with new colored sprites, sound effects, and animations that reflect what I imagine is really happening when you play Pegs.
Care to give elevator pitch for drywall? I checked it out and looks interesting, but wanted to see where you were going with it.
This is the same megaupload where FBI agents took part in a raid on a house in a non-US country?

http://www.listener.co.nz/commentary/the-internaut/kim-dotco...

As I said in a response on our forum, if the stakes are high enough, no datacentre in the world is safe.

Bruce Schneier recommends protecting against terrorist attacks by improving emergency response capabilities - with the side benefit that your measures also help against natural disasters:

https://www.schneier.com/essay-292.html

(edit: that's not a great version of his point actually, https://www.schneier.com/blog/archives/2005/09/katrina_and_s... is more on point)

Similarly, our main focus for security is protecting against all forms of attackers, including common theft or misplacement of our servers. We consider that to be more valuable for the overall security of our users (including security against denial of service) than fighting an impossible fight.

FACT: if the three letter agencies in the USA want your data desperately enough, they will get it. With FastMail, they have a legal way to obtain it which is quite a lot of effort, but (hopefully) less expensive to them than taking our servers offline.

What they can't do, by Australian law, is require our cooperation in blanket surveillance on all our users.
The key to web performance is finding JavaScript code and ruthlessly pressing delete.
Perhaps consider moving to a less automobile-obsessed culture and a better climate.
If Facebook created something that was so awesome that users would be willing to pay for it, they wouldn't need to rely on ads. They could have a much bigger and more stable revenue stream from people who actually wanted their service and were willing to pay for it.

I would buy into this model. Not everyone would, no. But I imagine enough would that it could change their focus. Maybe.
Can the Guardian Take Its Aggressive Investigations Global?
So I guess it's essentially regressive (or at least flat), in that rich people's consumption isn't dramatically greater than poor people, compared to income. Having a system like that plus a high floor seems relatively fair, IMO, and has reasonable consequences -- everyone is motivated to do marginally more work, and everyone is in a decent position to succeed, or at least for one's children to succeed.

What's really pathological about the US system is that there are gaps where work or other effort is either directly disincented or is so foreign to poor/unsuccessful people that they view being successful as being a traitor to their culture/race/neighborhood/etc. And that for large groups of people, the only way to achieve success appears to be zero sum.
I'm sure NSA is working on this as we speak.
I would expect it to be the CIA and/or special ops divisions, not necessarily the NSA.
Ask HN: iBooks Author for other platforms?
I want to selfpublish my next book and was looking at options available. It's a fitness related book and I wanted to include lots of media (video) if possible.

This led me to iBooks Author on suggestion from a few folks, but that would obviously be tied to the iPad.

My question, are there ways or options for non-iPad users (Kindle, Android, Ubuntu) that would allow me to use video in a e file[1]?

[1] - I don't care much about iBooks Author's fancy interface. I typically write up everything by hand anyway. That isn't the challenge, it seems, rather the resulting electronic file.
I think the assumption is that FBI has to obey the law to produce evidence for prosecutions. NSA doesn't, particularly vs. "foreign".
Yes. Different branch and uncommitted changes are an issue. Different branch can be solved by switching the branch if `git rev-parse HEAD != git rev-parse branch`. Uncommitted changes can be handled by `[[ -n $(git status -s)]]`(simply abort).
Thanks for sharing, this was an interesting read!
It's more a stylistic thing / linguistic tic than about the savings in characters. Without would be "w/o". Like, "I'm going to the dance, w/ or w/o you."

Or imagine an album titled "W/ or w/o you". Has a nice look to it. Also, check out the Google results for "w/ or w/o you". Impressive expansion on the part of Google.

(Edit: I originally said it saved three letters, but of course, that was me forgetting to count / as a letter. :)
> our primary servers are located in the US

Why would you do that, especially when you're not even a US company?
Hello inflammatory headline.

That's a very small part of a lot of what we have to say, most of which is:

* we can't be compelled (under current laws) to install blanket monitoring on our users

* we can't be compelled to keep quiet about penetration that we notice

* there are always risks, including the risk that any random group knows unpublished security flaws in the systems that we use

We have written some things about techniques we use to reduce those risks (physically separate internal network rather than VLANS on a single router for example) - these help protect against both government AND non-government threats. But we can't make those risks go away entirely.

What we're saying is - the physical presence in the USA only changes one low-probability/high-visibility threat, which is direct tampering with our servers.

Regardless of the physical location of servers, we would still comply with legally valid requests made through the Australian Government.

It is our belief and hope that this process is difficult enough to mean that US agencies only ask for data when they have good cause rather than "fishing" - but still easier than taking our servers and shutting us down, with all the fallout that would cause.
Review of the Xtar XP4 charger
Hi, FastMail employee and author of (most of) that blog post here.

Just so we're clear, the point of this post was not that we don't think the rules don't apply to us. Instead we're trying to make it clear where position on these things are. The topic of this thread is a sensationalist sound-bite, nothing more.

I'm not going to go over the points again here because I'm pretty sure we said it all in the post (but ask questions if you like, I'll be here all week!).

The most important point to take away from this post is that your privacy is your responsibility. We're trying to provide you with as much information as we can to help you determine your own exposure, and to let you know what we will work to protect and where we can't help. Its up to you to determine if our service is right for you. No tricks, and no hard feelings if you'd rather take your business somewhere else!
That sentence really jumps out at you.
My main issue with that number is the assumption that Twitter will still be around or significant by 2023. If the past 10 years are any indication, the internet user-base is fickle and moves around a lot. There really isn't enough data-points from the past 10 years to reliably predict trends for the next 10 years, unless you want to say that there will be tons of carcasses and has-beens.
I would actually worry about LDPATH first before trying lxc.
I would pay a ridiculous amount of money for a Ted Chiang novel - "Story of Your Life" is one of the greatest short stories I have ever read, and others like "The Merchant and the Alchemist's Gate" are spectacular as well.
El científico Dr. David McDonald gana la 1ª indemnización laboral
...a life which is much, much more complicated after leaving school, serving in the military, having a career, starting a family, etc. If school has any value to you at all, the utility of finishing school vs dropping out is higher earlier in life than later. Maybe for some people it makes sense to drop out (Bill Gates and Mark Zuckerberg being canonical examples). But for most people the decision isn't so clear-cut, and going back becomes tremendously more difficult as time goes by.
Speed considerations, though not precisely big-O, certainly applies to the database design and how you call it.

And it must apply in many other areas. How many sites have you visited that takes more than 10 seconds to load lately? How many "cloud-based" programs have you used that takes far longer than it should to do basic operations? I know I can name quite a few.
Stepping back a bit: The main problem here is that disabilities are rare, and each disability requires different accommodations. Having the staff and equipment to accommodate every disability would be prohibitively expensive, so most organizations just play it by ear. That forces each disabled person to fight for their accommodations; a frustrating and often embarrassing experience.

This problem will only get worse. As genetic screening and medical technologies improve, disabilities are going to become rarer. At some point, certain disabilities will become so rare that it will be socially and politically acceptable to stop accommodating them.

On the bright side, medical advances will mean fewer disabled people. Eventually, the wheelchair will go the way of the iron lung.
I had so many problems with this on my T400 running Ubuntu 12.04. I had roughly half the battery life compared to when it was running Windows because there was no way to disable/enable the discrete and integrated cards. That was so frustrating.
I'd disagree.

AdWords is great for validating B2C products because you NEED the opinion of MANY people to judge the viability of your product/idea.

In B2B your customer typically has money on the line, and it's quite straightforward for them to evaluate your value proposition: "Does this make me money, or lead to making me money, how much?".

In B2C the question becomes: "Do I like/enjoy/have fun with X product?" typically far more subjective and whimsical. Subjectivity shines in small samples (<10 people) and shrinks in large samples (>1000 impressions).

I agree regarding features/press however.
Because most of our customers are in the US. If your goal is to provide the fastest service around, it helps to put your servers near your users.
Show HN: Instartlogic - CDN Replacement
You're forgetting that Kolmogorov complexity is the shortest possible description, not just any description of the desired output. The concatenation you're suggesting is highly unlikely to be the shortest possible one.

You have to think of it in terms of compression, because that's what Kolmogorov complexity is really about. It is certainly possible that after compression J1 is shorter than T0.
How San Francisco’s new entrepreneurial culture is changing the country
It's UP
So when are we going to pay taxes for writing OSS? I mean, it was either taught to us by government-subsidized education, or we learnt it from the internet which is also government subsidized. The licenses which you license your software under are a product of the legal climate, generated by the legal system, etc etc etc.

Look, all of this is ridiculous. I'm all for taxing business, but honestly, taxes on the house (the structure itself, the materials) have been long paid, and property taxes are being paid. If anything, I'd think that this would be a zoning issue, which would be handled by municipalities. But even then, I tend to agree that unless if your neighbors are taking issue with it, then taxes/fees should be kept at an absolute minimum, if not zero.

e: on top of that, the money which he used to buy his house (with tax) as well as pay the annual property tax is ITSELF taxed by income tax. How many levels of taxing are appropriate? Honestly.
If I was an evil-doer/dissident I wouldn't be trusting my life to the collective wisdom of the internet ;)
I wrote something up some time ago about my friends and I, many of whom switched from electrical engineering to software dev. We are the same age as you, and nowhere near as well off. But we are all infinitely happier for having changed careers.

http://elaineou.wordpress.com/2013/08/10/how-do-i-change-car...
Could you do nightly SCP backup of my entire user database to my own server?
Messing About in Science [pdf]
is it ok if I suggest "http://sideprojectors.com"? Might be able to find others who might want to take over. :)
Concretely, go further with programming and see if you like it: see if it's hard not to think about the things that could be built, and the hard part is picking a single thing to work on; if new tools and technologies or ways to do the work better are interesting even if you're not sure where you'd use them yet; if you can see yourself occasionally building stuff for fun.

Building shippable software will still be maddening when you're almost done but for one fiddly piece of code that behaves wrong and you can't explain why. The clever and visible and intrinsically exciting stuff will only be a small part of the larger product. Much of what you do will sound interesting to nobody (maybe not even fellow techies).

But if there's fun there, it's a huge help getting past all that and finding the whole exercise worth it nonetheless.

Relatedly, I don't think you should necessarily cut yourself off after introductory Rails or Python classes; as long as you're having fun, you're probably learning something, too.

And work on subject matter you care about--you seem to have a bit of room to do what you want, and liking the goal to which you're applying your skills is huge.
There definitely is a product here, and it's already being built. Docker is the underlying framework for which we'll see significant improvement for deploys in the near future.

In the meantime, and if you're on AWS, check out OpsWorks. It's the cat's pajamas. It both makes much of the hassle of deploying a thing of the past, is extremely flexible, and makes it possible to have Heroku-like "git push" deploys without giving up control (or being forced into Beanstalk's opinionated ways). Amazon made a very smart purchase when they bought Scalarium.
Also because Australian bandwidth is hella-expensive, power isn't great either.

Why New York rather than West Coast - that's a trickier one. I'd certainly appreciate the slightly faster pingtimes, but it would be slower for Europe.

I think a major consideration is that we found a really good datacentre with NYI, and we're sticking with them because they're incredibly reliable. Reliability matters in this business.
Remotely detecting if the server is not compromised when you don't trust the physical surroundings is probably unsolvable. If your attackers are very motivated and have lots of resources, what's to prevent them from installing a ram bus signal analyzer during a scheduled/unscheduled downtime. This would be pretty hard to detect (absent an elaborate video monitoring setup), as a good analyzer should not impact the system being monitored.
it's yet another plugin api , so yes it is DRM for HTML5 ,since that's its only purpose.
Robert scoble interviewing founder and CEO of Instartlogic : http://www.youtube.com/watch?v=BbjUWahrlnU
Chris Main wrote to you:

However, if you do choose to release your software under GPL or LGPL you also
place yourself under an obligation to provide build instructions. This is not
what I say, it is what the GPL/LGPL themselves say.

This is wrong. Section 4 of the compliance guide, from which Mr. Main proceeds to quote, is directed towards those distributing GPL software written by other people. The GPL does not place any such constraints on the author(s). If you want to distribute Windows binaries, and don't want to bother explaining how to build nxlog on Windows, you are completely within your rights. If Mr. Main cannot figure out how to build it on Windows, he is simply unable to distribute a modified version that runs on Windows (since the GPL would require him to explain how he did so), and you are not obliged to lift a finger about that.
> Need versioned assets? Need multiple versions of assets in prod? Play doesn't do it out of the box.

Just turn off assets entirely as the Capistrano author does with Rails. Running Bower + GruntJS here, snappy fast, well happy working with tools designed for the job.

Not sure about multiple asset versions, I just have front end web server handle inbound /assets/img/foo.timestamp.png request as /assets/img/foo.png. It's not too difficult to create an asset helper trait to append timestamp at container start up to asset paths.

> Need a specific version of the JVM? Play can't help you there.

This is hardly a strike against Play, installing Java is not exactly an overwhelming task ;-)

> Need to change your start script to do something different (ports, SSL, JVM config). Play can't do it.

Excuse me?

./bin/start -server -Xms128m -Xmx512m -Dhttp.port=9001 -Dhttp.address=172.16.53.1 -Dlogger.file=${HOME}/logger.xml -Dconfig.file=conf/prod.conf
Getting started with animations on Android
Hi Rob,

Has the headline on HN been updated? Because both you and brongondwana talk about it being sensationalist, where I see it as just being a summary of the most salient part of what you have to say.

Do you have Australian legal advice to back up your conclusions? (I agree with them, but would like to make sure we're talking more than the "gist" of the law)
I'm not saying recreate this movie with a bigger budget. I'm saying show the story of his life more, not just tell it.
You're doing too much. All you need to do is:

source /usr/local/rvm/environments/$BUILD

You can put it in a wrapper script if you like. It will unset all conflicting environment variables first.
So, even though you hated your previous job, you obviously did well at it -- at least well enough to save-up a nice nest egg. Let's presume that you will progress over time from crappy programmer to a solid one. Anyone like you will get at least that far and likely much farther. The question at hand is simply what you should do to facilitate this progression. Have you considered solving some small but pesky problem which you know is common in your industry? A calculator for compliance with Governmental Rule XYZ? A converter between two 90's era (or worse) file formats still in use within your previous industry? I have no clue what you did before, and I probably wouldn't know what projects to suggest even if I did. My point is only that you can make-up for being a mediocre programmer with deep knowledge of a specific industry. If Patrick can make $30K+ selling bingo card software to teachers, you ought to be able to do similarly in the niche you know well. To avoid having to be a good salesman, maybe you put up a website with the file converter thingy and then sell premium advertising space to vendors in that niche.
And if you ever need a two-way sync (ie files on both hosts might change, and propagation to the other host is desired), look at unison.
[HN] Watch this [video]Free ticketing quite interesting.
"This kind of frank disclosure should be highly rewarded."

Yep, definitely. I think even more important than the information itself is the spirit of honesty and integrity that it demonstrates. This stands in stark contrast to the ambiguous slimeball statements issued by the likes of Google, Facebook, Apple, Microsoft, etc.

When Big Brother comes knocking, which companies are going to take a risk to stand up for you? It's as much a question of character as policy.
You're implying that you would make less money by trading in your US location for more security. That means that you believe not enough users care enough about their privacy to accept that (really light) trade-off.
Absolutely. It is a powerful tactic. Impede or shut down their business, destroy their reputation, and then even if you can't do anything to them legally, you have still achieved the same ultimate damage.

And, my initial response to seeing this headline: "Oh, _yes_ you do."
Fixed link: https://www.sideprojectors.com/
This government shutdown joke will be a backfire at the White House the more they pull off more of this nonsense.

Not only people are pissed off that these stunts, but they will also recognize that we are probably better off with less non-essential governmental functions...which will be the ironic unintended consequences.
You could have said the same thing about Google during their IPO, and they are doing just fine.

Not to say you don't have a point, but I think the point you are making is less to be reflected in the revenue number but in the probability of the company surviving, which he put's at 100% in his assumptions... that does sound rich to me!
> (which it really is if you use a Windows PC and something like Filezilla).

What does Windows as a client OS have to do with it? FTP is insecure because it transmits credentials in the clear and because it opens additional ports for the actual transfer of data. Neither of which are a concern of the client.
I may have missed this elsewhere, but why are you're severs in the US at all?
Haha, not bothering to explain the wired Internet situation. Short version: You probably should get Sonic.net.

The dominant companies are AT&T and Comcast. I hate them both, but I hate AT&T more, because of their poor customer service and slow speeds and high prices and defective software. In much of Europe, 6Mbps is not considered broadband. In the San Francisco Bay Area, 6Mbps is the standard.

If you're stuck in an area with AT&T, and you're unable or unwilling to deal with Comcast, then you should use Sonic.net. They use AT&T phone lines, but their business model is based on Free.fr. I'm hoping that the more customers they get, the quicker they can get around to installing fiber in my neighborhood, like they said they would 2 years ago.

And then there are various other, small Internet providers. In select neighborhoods of San Francisco, you can get Monkeybrains fixed wireless. In select apartment buildings, you can get Webpass fiber to the premises. If you want cable without Comcast for some reason, there's Astound.

That's about it for San Francisco, unless you're a business spending loads of money. Also, one neighborhood each of Palo Alto and Sebastopol have test runs of fiber from Google and Sonic.net, respectively. I don't know what else is available in the rest of the bay area.
Interesting:

In February 2013, the defense filed a motion asking presiding Judge Preska to recuse herself from the case on the basis that Preska's husband, Thomas Kavaler, had an email address released in the Stratfor disclosure and works with Stratfor clients that were affected by the hack. Hammond’s legal team stated that Kavaler’s status “as both a victim of the alleged crimes of the accused and an attorney to many other victims creates an appearance of partiality too strong to be disregarded, requiring disqualification”.[48][49] On February 21, 2013, Judge Preska denied the request for recusal because her husband did not recall subscribing to Stratfor's mailing list.[50]