skysight-inc/HackerNews huggingface dataset:
Customizing Redis pubsub for message persistence – Part 2
As skwirl pointed out, yes SSHing is more for debugging production server issues than for setting up the servers.

The transition itself took one month. So far it's been several months and it's been very stable with pretty minimal maintenance. We did end up writing a number of Python scripts to help make the deploy process easy for developers (i.e. replicating most of the common Heroku features we used to use)
Why not just use while(1)?
I'm not sure what made reddit turn so bad (and I mostly mean the default subreddits and the subscribers rather than the site itself) but I hope that some care is taken to avoid it. HN is a breath of fresh air compared to reddit and I would endure a lot of bad UX if it helped keep it that way.
I'm curious... Any major websites using Mithril in production?
Microsoft at 40: Read Bill Gates' anniversary email to employees
Great point!! working towards fixing that (the general problem of safe execution of binaries). signed releases will help.

I will release as self-describing signed package for this soon.
Being free of subsistence level farming turns out to be a hell of a motivator.
Domain is registered to "Contact Privacy Inc. Customer 0139466240"
I would try reading up on Markov chains.
It is literally that easy. This is how it is done in Rust, for instance. You have improved your engineering by (1) requiring exhaustive match on anything that is potentially null, and (2) eliminating the need to check for null anywhere else. I don't understand why people take it as an article of faith that this must be difficult. In fact, the sheer simplicity of it is why I believe it should be in Go, and am confused about why it is not.
I'd say social cues are important. When you write in text you're really speaking in the tone and voice of someone's mind - which means their current emotional state, perception of the writer etc.

The only reliable way I've found to make text only social interaction work is basically to be what feels like overly nice. Which manages to average out to a casual conversation in the real world - I think. I mean who knows?
Yes, I agree! That was my point. We lost the affordable when _everything_ went PC/Mac. PCs were very expensive until the mid to late 90s. Even then they were pretty pricey, but not quite as pricey when you account for inflation (my argument above).

We are only getting the price down again now with the ARM revolution.

Anyways, I could build a pretty darn capable PC in the late 90s for about $800-$1000 which is about what an Atari ST would run you in 1986/87.
... Did we read the same article? The EFF is arguing exactly that. They say that if the transportation authorities deem it necessary to regulate then fine. But they haven't. Abusing the DMCA instead is just stupid and wrong.
I think the author is overreact / grandstand, it's not fair to say this app encrypted nothing - I decompiled the code and found it at least does encrypted the SMS/Call logs data, using AES. Secondly,maybe only XOR the front 128bit for video/image files is not secure enough, but anyone who has a brain knows that, considering the computing power of most Android phone, using strong algorithm to encrypt a whole media(e.g. video) file is hardly realistic, even unwise -- unless you can tolerate a long decrypting decrypting process before playing a video.
BTW, I read through the description of Vault Google Play page, there is nothing says it sales the ability of encrypt data, it just claims to "Hide some xxx on your phone" -- for that purpose XOR is enough
It's worth noting that Elastic Beanstalk just released support for multiple docker containers per instance. This takes EBS from being a novelty to being production-grade Docker orchestration. Previously, it ran a single docker container per instance which - while good for stage/prod parity and easy rollbacks - doesn't really take advantage of the core Docker advantages over a VM. Now, you can orchestrate multiple containers per host, including nice-to-haves like zero-downtime deploys, automatic load balancing, monitoring, and log aggregation.

We're using EBS at StaffJoy and in the process of switching to multiple containers per EBS host. This means that a staging environment can have cheap redundancy (e.g. for zero-downtime deploys) by utilizing the same EC2 hosts, but also that queue workers (sporadic, processor-intensive scheduling operations) can split a processor with the more memory-intensive web app.

Getting EBS to work with the private docker registry was a bit of a pain because documentation was lacking - if you're having trouble with this, feel free to ping me. I'm considering a blog post on our deployment system, including easy rollbacks.

The problems we haven't figured out yet on EBS are streaming logs from hosts to another service (e.g. loggly/logentries/papertrail for realtime production error monitoring) and monitoring deploys (specifically to send a Slack notification that changes are fully deployed and to flush the Cloudflare cache).

(Note - here EBS = elastic beanstalk, not elastic block storage)

Edit: A final note - we ended up doing a Jenkins install instead of using CircleCI for build promotion purposes. We build a container, push to the docker registry, then deploy to a stage. We have a separate job that lets us deploy to prod. However, there's no rebuilding - it's just a button that takes a build number and tells EBS to deploy that existing build to the master cluster. For rollbacks - you just enter a prior build number and a prior build immediately starts rolling back We couldn't replicate this stage->master promotion/rollback in CircleCI.

Edit2: We chose to build the image ourself and register with the private registry instead of having AWS build it because we run our unit tests within the built container, so we can guarantee that the image that passes tests is the exact same as the one deployed to production. There was some concern that the image hash could differ - e.g. due to a pip download failure - if AWS built the image separately.
Just wow....
> I'm not sure what made reddit turn so bad

Popularity, I guess. It became a very general interest site that covers a wide range of interests, and therefore appeals to an equally wide range of visitors -- including those with, shall we say, poor taste and etiquette. HN, on the other hand, is largely centered around the working programmer, a group of people who, for the most part, are looking for something interesting rather than memetic jibber jabber.
You can buy your own uncut currency sheets here http://www.moneyfactorystore.gov/2currencysheetsbeptestsheet...
Pain,

I say this with empathy. Do you have doctors telling you to take medication? Please take that medication.
Cheap Nike Air Jordan Shoes for Sale,Wholesale Jordans Shoes
Explain a bit if/how that is going to lead to healthier literacy reading and writing? Someone else asked (https://news.ycombinator.com/item?id=9285958) if that was what I am doing but I have zero math feels, just pain feels.

One pain, two pain, three pain (ease, save, kill) ~~? Feels like missed math.∫∫??
Asset forfeiture is one of the most heinous violations of people's rights that has come out of the drug war.

One of the effects of this is that it denies the accused the ability to defend themselves by making them immediately destitute and thus unable to afford good legal advice... which results in them being more likely to take bad plea deals etc.

Worse, it is corrosive-- many police departments seize millions of dollars a year which they then use on toys for themselves.

Thus it provides a financial incentive for corruption, and denies due process. Part of the corruption this creates is that if one tried to undo this law, those who abuse it have millions to spend on propaganda claiming that it would "Deny understaffed police agencies from millions they desperately need".

Not to mention, executive orders bypass the legislative process and I am not aware of any authorization for them in the constitution.
Too many gradients and not enough dubstep for the 2015 aesthetic.
Nothing can override a constitutional right to due process. That's what it means for the Constitution to be the "supreme law of the land."
If you think that this won't be abused, you're foolish.

Paul Timmins gave a speech at NotACon in 2008 (or maybe 2009) about his experiences with getting arrested for the Lowe's breach in 2005. In the agents vigor to seize equipment for a search warrant, they tried taking his cable TV boxes, amongst everything else with a cord.

It's my fear that if anything ever happens and they come beating down my door for any reason -- right or wrong -- and see my desk with three computers and four monitors on it, that they'll find a way to think that I'm "hacking" and then I'll be screwed -- no way to work equals no money for a criminal defense (and no money to make bail and leave jail) in most cases.

The seizure laws need to be reduced, not expanded...
>Point us to a code sample: something good and clean to demonstrate that you know what you're doing--ideally from an existing project.

Just another example of why I personally need to actually work on "side projects." I keep a tiny github repository of abandoned projects and partially working school assignments. The code that I get paid to write can't be public.

"I'll get to it next month" has been my mantra on this for far too long.
You own the disk, but you do not own the music on it. The disk comes with a license to play the music only in a certain manner. If you do something that is not allowed by the license, you are not covered by the license and therefore you are liable under copyright for using a work you do not own.

I think, we should use the word own if we want to protect ownership rights. If we start saying that "own is such an overloaded term, lets not use it anymore" this is the first step to giving up any ownership rights you may have had.
Did Humans Evolve from Monkeys?
You're also missing another part -- because they're destitute, they can't make bail, so they're more likely to take a horrible plea deal just so that they can get out of jail.
HN is as good as it needs to be

It will be once it gets a decent mobile view akin to viewing reddit on /.compact.

Anyway, good point--I've heard people complain that Haskell is hard to learn/understand, but I've never heard of anyone actually using it in production and regretting that decision.
Change we can believe in!
That’s because they use a certificate from Cacert, whose root certificate is not included in the major browsers.

(See also https://en.wikipedia.org/wiki/CAcert.org#Inclusion_status)
Show HN: Automatically generate Java builder classes
It probably amounted to a real crime. I had my driver's license as well. But you only live once and only a few of us even get a chance like this once in our lives.
Is this even allowed outside of the US?
...so when will the US media admit that the current administration isn't enacting laws that are in the best interest of the US citizens?
you don't need a third-party CI service, you can just run "eb deploy" from your git repo

http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create...
This was really cool! Great demo.
what is SARA?
As a counterpoint: The more specific your guidelines are the more you have people who will attempt to abuse them pedantically (see reddit for so many examples). They will also become rules, rather than guidelines. I think the idea may be that they want the community to use these as guidelines and interpret them as appropriate to keep the site mature and pointed in the right direction.
Write AI bots for games in your browser
You should do a blog post. I had no idea Elastic Beanstalk allows multiple docker containers per instance. This changes EVERYTHING! I would love to hear how you got this all tied together.
With all the recent progress on asset forfeiture, this seems like a huge leap backwards. Essentially any foreigner can be accused of a crime, have their assets within US institutions stolen, and then has to prove they're innocent to get them returned (assuming they can).

Plus "cyber attacks" is such a broad brush. One that has been used against people who access unsecured URLs which aren't meant to be known (essentially security through obscurity).

It may also make security research abroad against US-based organisations impossible. Most of the bug bounty programs are now extremely high risk.
Since we don't follow the Constitution 95% of the time anyway, who cares about another violation?
> (Note - here EBS = elastic beanstalk, not elastic block storage)

I, really, really don't recommend using EBS as an abbreviation for Elastic Beanstalk, since Amazon uses the actual abbreviation canonically to refer to Elastic Block Storage. At worst, just call it Beanstalk, when the AWS context is clear.
Relatedly, when will people realize that the executive branch should not be enacting laws at all?
I was watching a Revolutionary War area TV series the other night and one of the plot lines involves the British loyalists issuing Bills of attainder against suspected patriots effectively stealing all their property. It was one of the things that Americans were really ticked off about in those times, so much so that bills of attainder were banned when the constitution was written. How is this asset forfeiture w/o due process any different than a bill of attainder except for the fact that it takes place in the executive branch.

http://en.wikipedia.org/wiki/Bill_of_attainder
Here's the announcement - it's a little over a week old:

https://aws.amazon.com/about-aws/whats-new/2015/03/aws-elast...
Note: the comment above applies to the situation pre the changes they're making now. I have no info on what's going on now.
I'm also curious if any large projects use it. We tried it out for a couple weeks - it worked fine but we felt overly constrained by the configuration rules and ended up rolling our own solution.
We use beanstalkd queue too (SQS gets expensive at scale!), so "beanstalk" is unfortunately also equivocal in our infrastructure. I think it's just bad naming for AWS Elastic Beanstalk overall.
Out of curiosity, did you consider Dokku, which approximately reimplements the Heroku API on top of Docker?
In my experience, even when you describe the gravity and the impending impact, you are still seen as being negative. I think it has less to do with logic, and more to do with evolutionary biases. Mainly in-group/out-group bias (for instance nationality, or brand allegiance) or avoiding cognitive dissonance (If I accept your point, that means I have to change my view of the world to a more uncomfortable position).
The constitution only applies to American citizens and to a lesser extent others living physically within the US and its territories.

There is a bunch of material on this topic (both on illegals in the US and US territories) but as a start:

http://en.wikipedia.org/wiki/Insular_Cases
http://en.wikipedia.org/wiki/Downes_v._Bidwell

Essentially even if you're in a US territory the US constitution only barely applies, and it doesn't apply at all to everyone not in either a US state or its territories.
I know it's just a minor mistake, but you have no idea how amusing it is to see a highly pedantic person try to insult me WRT to my ability to communicate correctly, while referring to my negativity as "gratious[1]."

As far as the rest of your post goes, communication isn't just a series of code comments for everyone in this world. If every post were subjected to some Critical Thinking 101 interpretation of logic, we'd never get anywhere. If I wanted to be an ass, I could destroy your message citing dozens of logical fallacies, but that's pointless. You have your way of writing and speaking. And that's cool. I respect that. And I don't think it would be fair of me to subject you to some diatribe about what you could do to improve in my eyes, because we are obviously both literate enough to know the consequences of writing/speaking in the manner we do.

I know what I said and how I said it, and a lot of people have agreed with it. If my caustic tone is too much of a hurdle to get over, then down vote me all you want. I'm saying what I'm saying directly to Sam Altman. I'm using my real name. There is a decent chance that at some point in my life, Sam could be a benefit to me, and I choose to communicate with him, negatively or positively, in the most effective manner that I know how, even if you think you know of more effective ways.

[1] Gratious: An obsolete spelling of gracious
What does it matter? Justice died some time ago in the US. Be good little citizens and don't dare challenge nor question those in power.

Be sure to refuse any wealth not given to you by the government or risk having everything taken because they came from someone deemed unfriendly to the status quo. Instead be extra safe and only work for the government then you can fear no punishment.
The Mountain Pass, California rare earth mine, once the largest source of rare earths in the world, was shut down in 2002. After a series of toxic spills, and price competition from China, it wasn't economic to operate any more.

Now it's back on line, after a huge rebuild.[1] It wasn't easy to satisfy California environmental controls, but they did it. Even the Sierra Club is reasonably satisfied.[2] Rather than tailings ponds, they have a large back-end processing operation which gets the water out of the tailings. They can then reuse the water (a big deal during the drought), and they get a solid waste material out, which is essentially what was in the ground to begin with, minus the good stuff.

A few years ago, China tried cranking up the export price of rare earths, and refused to export them to Japan at all. So users of rare earths came up with alternatives, and production restarted in the US, Australia, and Canada. Rare earths aren't all that rare worldwide, it turns out. With demand down and production up, the price tanked.

Molycorp, which owns the US mine, is having terrible financing problems, but the mine and all the associated gear are up and running, producing about 4,000 metric tons a year of rare earth materials. Rare earth supply is now mostly a solved problem. China's mining operation remains a mess, but that's not inherent in rare earth mining any more.

[1] https://www.youtube.com/watch?v=id8hDUT5nHQ
[2] http://www.desertreport.org/wp-content/uploads/2011/03/DR_Sp...
How a Silicon Valley teen made thousands hacking a popular online game
And if anyone helps out those accused they will also suffer the same.
you guys can go home now, you've just made HN worth the visit for me for the rest of the month. Great discussion!
Around here, we have yearly inspections for cars. (UK would call them MOT tests). The inspector records the mileage every time and it is stored in the motor vehicle register. When buying a used car, you can check on its history (the owner may make the history private so that it's not given to buyers, but then you know that the history is not available and the car might be a lemon).

Requires no Web connectivity of my year 2000 Nissan Micra.
Actually, this isn't enough. You also want to set --release-channel=beta, otherwise you effectively get a nightly build of the beta tarball (unstable features available) instead of a proper beta channel build of that tarball.
The issue is that this EO can directly affect citizens (if you transact with a cyber-criminal, you're at risk of seizure)
are you really comparing spain to iran? That seems a bit far fetched.

Even the star of this story (Barbijaputa) was suspended from twitter by the company, not by any part of the spanish government (plausibly because of misapplied ToS enforcement, not because of censorship).
How is it different from gibbon.co ?
From the medium post[0] by POTUS:

"These sanctions are meant to protect our national security, personal privacy and civil liberties. As such, sanctions will in no way target the unwitting victims of cyberattacks, like people whose computers are hijacked by botnets. Nor does this executive order target the legitimate cybersecurity research community or professionals who help companies improve their cybersecurity. And unlike some other countries, we will never try to silence free expression online or curb Internet freedom." (emphasis added)

How will they know? Doesn't just the existence of an executive order like this curb internet freedom, even if they aren't explicitly trying to do so?

[0] https://medium.com/@PresidentObama/a-new-tool-against-cyber-...
The best teacher I had at METU was an older professor teaching (mathematical) combinatorics. Contrary to regulations at the university, he lectured in Turkish---but appointed a translator for me.
Legitimate question, because I don't see any reality in which overzealous DA's will not abuse this to exert pressure without due process.

I pay my taxes. I am a law abiding citizen. If I want to store the majority of my assets outside of this country (in a fiat currency), preferably in a location that doesn't automatically cave to US economic pressure and/or with limited diplomatic channels, what are my options?

Hypothetically, what would give you semi-reasonable freedom to transfer and spend that money, while still keeping it insulated from a government that wantonly steals from its citizens without discretion?

-----

I always used to think in the "worst case" scenario the EFF would be the safe-haven of reason, able to exert equal and opposite pressure to any intimidation tactics, but I think that balance has forever shifted.

I no longer feel safe or represented within this country, and while I still value my citizenship (a debate for another time), I think we all must recognize that personal insurances and safeguards are now requisite when dealing with the federal government. I'd rather be prepared.
Dokku is a single host solution, so no redundancy and no horizontal scaling.
Not really. As said, you can get knowledge from other sources. Now more so than ever.
I never notice that before.
Can I see the scanned image of that yellow dot?
You do not even need to be accused of a cyber crime to have assets seized under this order. If you make any contribution to or provide any services to someone accused of criminal hacking, you may have assets seized.

Aside from innocent individuals falling victim to unjust asset forfeiture, it seems to me that organizations like GitHub, Amazon, or Dropbox are exposed if they end up providing services to the accused.