skysight-inc/HackerNews huggingface dataset:
You still need to update DNS ASAP, but unless your dealing with a physical flood/fire you can often get something to respond on the old IP. So, depending on the type of failure your dealing with, often setting up a static redirect is viable for insane levels of traffic even if your hosting it off of a single underpowered CPU and limited bandwidth.

Aka the site has been running off your FIOS connection and a spare CPU the suddenly the taffic spikes 5,000% what do you do? Host a single short test only, sorry we where not ready for prime time please come again, or redirect to a nice scalable static site you can manually update with nice pictures of your total failures / requests for donations or whatever.
The body of law in HR matters is completely missing from the post. I'd argue: No post is complete without it, because the mistakes can be so costly (both in lost time/focus with lawyers as well as money.)
In Python 3.x, this gives me a "SyntaxError: assignment to keyword" error.
So You Wanna Build a Crowdfunding Site
Surely these countries have the power to grant him a passport for their country if they chose to do so.
I have no problem with autoloading classes (though I suppose me including "modules" in the list might've implied that). If a class is autoloaded, I can still find its declaration and implementation using grep.

As for "Not grepping the right file", I meant it should be findable in a project-wide grep, not in the file I assume it to be in.
CrunchBase And AngelList Have A Partnership
>But taxing high salaries is "regressive", just as much as taxing corporations, taxing consumers

I disagree here. For this to hold, executives would have to strive to keep their pay where it is. But this simply isn't realistic. Executive pay has exploded beyond belief in the last half century, it's completely unprecedented.

There is no reason to allow individuals to siphon off so much capital, and no benefit to it. Standard of living with $1B is no different than $10B (which is why after Steve Jobs hit $6B he stopped bothering with making any more money).
My original point was, and is, that the idea that your idea of reality inside the computer is exactly as real as you think it is. Which is as real as you would like it to be. Also, as unreal.

When the water doesn't come out of the tap, the shit doesn't get flushed away, or for some other reason you're forced to deal with the mundane reality of life, your perspective will change slightly. Your reality will shift. Or if you buy a house, or have to do repairs.

What I am saying is, is that this is absolutely no different than everyone else - the other people, who also do not live in reality. They don't understand how the plumbing works either, but their reality most likely involves intrigues, dramas and scripts with other people, played out perhaps on a slightly different stage.

There is nothing in understanding facebook or moving a mouse around which requires new neural hardware.

P.S: > "Reality is what doesn't go away when you stop believing in it" This is kind of ironic when you're talking about "online" as a place. If we're to use that metric, "online" is extremely unreal. (I think it's as real a place as any other, and not especially more unreal than other unrealities we live in).
Give yourself 1 year to migrate off. Tell everyone, services, etc. at the 6 month mark, put that in your sig. at the 9 month mark make an autoresponder. at 12 month, close the account.
Silverstripe CMS, Yii, CodeIgniter, Symfony, Kohana apps on PaaS
Use Webcam to Create Animated GIF
How to Rank Your Site on Top in Search Engine Results
You've got to see the irony in taking asylum in a country where the kinds of spying he blew the whistle on in the first place are brazenly displayed on public television:

http://boingboing.net/2013/07/08/snowden-and-venezuela-my-bi...
I was having a beer in this small Brazilian town, mid-afternoon. Two girls come to my table. We try to chat ; they can't speak any foreign language and my Portuguese is awful.

- Me: What is your job ?

- The girls: Programma

- Me (for the next 30 minutes): Oh great, me too ! Which languages ? <here comes the enumeration of the 100 programming languages I know, each one pronounced in 10 different ways, Brazilian accent, etc.>

Even "Java" didn't seem to mean anything to them. Strange. I assumed they had special programming languages in Brazil.

10 years later, in Palo Alto. I read some article about Brazil society. One word catches my attention.

Programma = Prostitute. Oh.

So yes, don't call yourself a programmer. Especially in Brazil when you don't know the language.
My friend, who was nearly broke and strapped for cash started a web design agency solely based on Wordpress.

Started at Wordpress themes online. Built 10 custom theme frameworks, for every client he just picks the one that best suits the job, adds a logo, changes colours, does a bit more tweaking and deploys at 5k/pop.

In his first month he did 5 sites. A month later he opened his own agency with a few employees under him. All on Wordpress.

+1 on reusable platform. So much time saved.

The way he brought in clients was mainly via twitter and running searches. He searched for any tweets within his locale geared towards the web and hunted clients down, mostly through convincing them that they NEED a new website. For example, if someone or a few people tweeted about a small businesses shitty website "omg I wish xy pizza had order options on their site -_-", he would archive these tweets, compile a listing and other market research and pitch it to the company and score himself a new job.

I hope this is at least of some use to OP. Social media + platform + hustle/hounding = $.
This is exactly, literally the device imagined by Orwell in 1984, which he called a telescreen.
>It's a defender of human rights in this case.

It's political opportunism in this case, there was neither an upside nor a downside to capitulating with US demands, but Putin could at least make the US look like inept hypocrites. Of all the human rights abuses that occur in Russia how can you think that Putin decided this was one that needed to be held to a higher standard?
I think he's 'siding' with anyone that will let him rent an apartment and live like a human being. I'm sure he'd prefer France, but they need to offer and he needs to get out of Russia.
And, to your point, I for one would upvote an enlightening article about Charles Babbage's analytical engine, even (or especially) if it were published 150 years ago.
While I agree with this idealistically and wish that all the code I've come across adhered to published interfaces, unfortunately that hasn't been the case.

Published interfaces may also not be possible in certain code bases or frameworks -- think of a Chef recipe for instance where most (ruby) code is being written to directly interact with the system rather than provide a service to other parts of the system. Dynamically generating variable names and key/value pairs in Chef recipes is a common pattern I've seen which makes grepping and isolating issues difficult if not impossible.
I don't text nearly as much as I used to. Most of my friends communicate using either Facebook, Instagram, Twitter, Vine, and our recent, biggest replacement for texting, Snapchat.
Right now we are in San Francisco CA off of Valencia and Market st Its a bit cramped with 4 of us in a 250 sqr ft place
I agree. This article is a worthy submission to HN, but there's absolutely no reason to change the title.
Chevron Granted Access to Activists' Private Internet Data
ARPA funded the early efforts of building the internet.... the D came later
> If they don't pay enough to get workers, then guess what? No one will work there!

You clearly have no experience with people in abject poverty.
To quote:

“This old lady is giving some of her money away for free to charities she picks. Obviously, she doesn’t care to keep her money, so it can’t possibly be a big deal that we take the rest of her money without giving her a say about it.”

“These people are having sex with a lot of people. Obviously, they don’t mind having sex with other people, and that gives me the right to have sex with them, by force if necessary.”

If these two statements come across as shockingly arrogant to you as an offline-born, then you need to learn and understand that the first statement, which treats privacy as up for grabs, is perceived exactly as shockingly arrogant to the net generation.

maybe privacy invasion and theft can be compared against each other, but bringing rape into the equation as if it somehow sits on the same level is ridiculous.
Good thing we've got BI then, so we're no longer slaves to making any move at all because it might cost someone a shit minimum wage job.
I've managed many developers and I only ever once had to fire one, and it wasn't fast process at all because you first need to prove that they have violated a specific and clearly documented standard by which the whole team is held to, otherwise you just invited a wrongful termination suit into your workplace. People are not virtual servers, you can't just tear them down and launch replacements as needed. The key is hire carefully and mentor as needed.
Agreed, though I would say that if you take away the well known Rails idioms that fail the test, there are still some pretty egregious violations.

For example, try to step through the code that figures out which validation callbacks to trigger for an ActiveRecord model. You'll be led through at least 3 dynamically eval'd methods.

I had to do this recently and probably would have given up had there not been Foo.method(:bar).source_location to point me in the right direction.
Macros still can cause a lot of problems. See some of the crazy C++ macros or Template Haskell.
"The only way Snowden can win now is to come home and let himself become a martyr."

Even then, I'm not sure he "wins". People have a very, very short attention span. He'd be forgotten before the sentencing was handed down, most likely. From a legal point of view, the case is pretty simple: did you release documents you swore not to release? Yes? Penalty is X years in prison. I don't see much martyrdom there. He won't be killed, he won't be tortured (he may be in solitary, which may be for his own safety more than anything else, whether he's a suicide risk or at risk of being murdered in prison -- just my opinion), so there isn't much to be get all that enraged about (beyond what he's already leaked).

The time would probably be taken to put together some evidence, figure out exactly what was leaked, and how. I'm sure there are many, many things he'd get charged with, so there's a lot of research to get done, and since it's sensitive information, there needs to be a lot of care taken to figure out what was accessed and just as importantly what wasn't accessed.

By then, Kim Kardashian will be working on a divorce or another baby ("South", anyone?), Aaron Hernandez will be up for appeal or something and the public won't will care much about this.
I totally agree that it is ironic. I just don't think it should detract from his main point, and personally, I'm bothered by how many people are trying to shift the focus to that. In the beginning, Snowden stated he didn't want the news to be focused on him (see how that's turned out) but instead focus on the NSA. I'm sure he wants it to be focused on Russia's human rights abuses even less (there's plenty of coverage on that independent of him).
But since you can't define methods using reflection, I'd say this isn't used much and isn't really a problem in Java. Are you really having trouble decyphering a Java function relying on home-made dynamic dispatch?

But yeah, I'd say it's more about http://en.wikipedia.org/wiki/Dynamic_dispatch than static/dynamic typing. You can have dynamic dispatch in a statically typed language. I don't know how OP would feel about virtual methods in C++ since he resists using an IDE.
Quite a few Versions of EJB's were pretty terrible, and early Java Web Technologies had a bit of obsession with XML. However, current Swing is pretty pleasant to work with, and I think that most of the Java have stems from early PHP developers. If you had worked with PHP, with database queries and page formatting in one file, all the crazy MVC crap with business objects and and stuff must have seem needlessly complicated. And even if noone does develop like that now (I hope, anyway), the meme that Java is terrible prevails.

EDIT: new Java, for example, looks about like this [1] and that's not all that complicated, even though I would like it more with webflow (technology for describing webpage in term of flows -- each flow is basically FSM with method calls specified on transitions and FMS-wide persistent storage).

[1]: https://github.com/heroku/devcenter-spring-mvc-hibernate
Teen jailed for Facebook joke is released
Working hours were reduced only in the 20th century, and mainly then due to the influence of unions. There was very little reduction prior to this era - basically it was dawn to dusk on farms, then with the industrial revolution, dawn to dusk or even longer in factories, mines and other industries.

Reformers have always argued, "New tech lets us produce the same output with less work, so let's have more leisure time" - but capital owners see it instead as an opportunity to work their employees (serfs, proletarians, then "at will" employees) the same hours and make more money.
Ask HN: Git/Github workflow for students and projects.
Hi Hacker News!

Some fellow students and I are trying to introduce other students to git/Github and holding seminars has never really worked to get students excited and to start taking advantage of the tool and service. This year we want to try and work it into the course by having students use git to submit their projects for grading.

The problem is; we have yet to come up with a proper work flow to do this. Ideally all this could be accomplished via Github. Our school has Github Enterprise so we have some room to play around. I'm not sure how much customization we can do, I'm not really sure what all Github Enterprise provides in that are either.

My first work flow was as follows.

* Teaching Assistant posted a repo with starting code and the project description/assignment

* Students fork the repo to a private repository (I have a feeling this is not possible)

* Students work on their project individually

* When a student is ready to submit their project, they submit a Pull Request back to the Teaching Assistant.

I'm pretty sure there are a few flaws in this, one being that we want to try and keep the students work private. Forking to a private repo may not be possible, and the pull request I'm sure would not work.

I'm curious if someone has done something similar or has any ideas. I'm also willing to setup a separate server. My thinking here would be that students could use Github (private repos) to centralize their code and get familiar with github by forking the project and working from there. When it comes to submitting their project for grading they would then push the project to a separate server. I'm not entirely sure how this would work, but I figure there would be some way to allow for accepting push request and pushing them into different branches via a hook.

Thanks!
Despite the halting problem being unsolvable, formal verification is a huge area in computer science. News flash: you can not formally verify some web app running on Python running on Linux, being fed with input from a gigabit link to the complete outside world.

So the idea of using Python for an electric voting machine is dead from the onset, a complete no-starter.

(And yes, of course computer languages are inherently more or less secure by themselves, through the simple proxy of allowing programmers to make (or prevent) severe errors. Think C and fixed-size buffers on the stack.)
One thing that can often help with this is to have a good REPL. With it you can dive into and explore the code as it is at runtime. For example, a common way that I figured out Rails was to open the console and use obj.methods to see what methods are available.

Other languages in which I've enjoyed REPLs include Python, JavaScript and Haskell. Two languages I have not found a good REPL for are Java and C++. Is anything of this sort available there?
> He has released leaks about US spying on external targets and aims to flee to countries which have very poor relationships with the US

I see what you mean, but I guess this is a personal opinion. I personally think it has had a positive net effect. Specifically, prior to this, hawks in the US were beating war drums after the news about Chinese cyberattacks. I feel they've gone silent lately.

America has also always sat on the morality high-horse. I love this country, but it's still always fun to see the big guy get taken down a peg.
Please email me. My contact is in my profile
I've had a lot of luck negotiating freelance contracts. So far having a lawyer review it and explain until I understand it usually costs <$300. That gives me ammunition to negotiate until I get the terms I can't stomach changed (or turn down the contract so I can sleep at night).

I once got pretty much free reign to rewrite a section of a contract on IP ownership that needed to be signed ASAP.
Erik Schlangen Demonstrates the Potential of “Self-Healing Asphalt”
I have been a professional programmer for 32 years. When I stop calling myself a programmer I will call myself dead (if I could).
As opposed to the propaganda free US media?
Sounds like Boeing should have taken Elon Musk up on his offer to help out with the lithium battery design.
Maybe they should have taken Elon up on his offer...
Note that the reasoning under which this happened is exactly the same as the NSA's reasoning - as long as they don't know that the people are Americans, they don't think the 4th applies.
It doesn't even matter in the first place if it could store 'all' the information about a space, because it's physically impossible to measure that data.

But when you talk about recreating a volume, in a manner that is at least vaguely possible: you could store a record of every atom at angstrom-level resolution in much less space than the original.
If your work is measured in lines of code or git commits, then you ARE a working class.

If you're scared about your future so much that you want to read every TC article, learn every new hip language and attend every meet-up, just to stay on top of things, while selling your LOC to some company, you ARE a working class.

Go be an entrepreneur and start creating value.
But why not violate its own laws? Countries make and break their own laws all the time? Cops drive through red lights by flicking on their lights for a minute, surely a country can wave him onto a plane without checking his papers.
With digital you can heat for a specific time and power, so it's replicable. This is great when, say, heating milk for a baby or water for Aeropress. There's a big difference between 30 seconds and 50 seconds at 800W.
Why is this hard to believe? There are relatively well-established patterns for big libraries like rails, and big libraries like rails are also part of the reason people turn to such IDEs. Such cases could be pretty easily handed with some custom code. It doesn't have to be 100% generic and 100% perfect to be useful.
"[He] has been released on bail after an anonymous donor posted a $500,000 bond." (emphasis added)
I suspect owners of smaller servers will be happier with it ;)
Neat! I'm looking forward to being able to use STM in Python!
It is a difficult choice, not a false one. That is why you and others are trying to justify not making one. Writing it off as false is a convenient excuse.
You're the one going political here. What he stated is a well known fact about the Republicans whether you chose to acknowledge it or not.
As another Canuck, same here. I've gone without benefits sometimes (waiting periods for spouse's new jobs) but that means putting off new glasses or dental cleanings for a few months, not skipping dr's appointments or worrying about breaking an arm.
Not that this has anything to do with your story, but Lua was originally written in Brazil because of governmental restrictions on imported software which precluded the use of more mainstream languages. They did, in fact, have special programming languages in Brazil.
I'd like to highly recommend crunch.co.uk for UK contractors - they're a Brighton-based startup whose product is something like a cross between freeagent and a traditional accountant.

I'm not affiliated with them, just a happy customer. You can read a bit about them in this interview http://elitebusinessmagazine.co.uk/interviews/item/a-waterco...

Disclaimer: They do also have an referral scheme, feel free to nudge me for my token if you're thinking of signing up (or don't, I'd still recommend them - referral voucher or not:)
In semi-related news that I can't post because I get the hacker news "please slow down" warning -- hacker takes over website of VZ daily El Nacional and warns govt not to give asylum to Snowden or face leaks of corruption/bribery/etc

https://knightcenter.utexas.edu/en/node/14126
I think this is a legitimate issue, though I'm not sure I really agree...there just seem to be too many places where it provides too much utility. That said, I tend to change my opinion on the topic fairly frequently, based upon whether I was last writing something where dynamic function declaration was convenient or last looking for where a function was declared.

One thing I think the post might emphasize more thoroughly is that dynamic function invocation (at least when the function is defined in the project scope), is probably far more problematic than dynamic function declaration, particularly if sometimes the function is explicitly invoked, and sometimes dynamically. In this situation, I'll generally try to document that the function is dynamically invoked with the function declaration, but I'm always unsure what exact information I should put there. Simply saying something like "Dynamically invoked -- grep will not find all usages" is a minimum, but I often want to add more than just that.
Ellipsis and slice are used for slicing.
e.g:

class MyContainer(object):
def __getitem__(self, key):
return key
>>> c = MyContainer()
>>> c[1]
1
>>> c[1:]
slice(1, None, None)
>>> c[1:2, 1:2:3, ...]
(slice(1, 2, None), slice(1, 2, 3), Ellipsis)

NumPy uses this to allow advanced slicing of multidimensional arrays:

http://docs.scipy.org/doc/numpy/reference/arrays.indexing.ht...
Not even that....what about the 3D "holographic" optical storage (aka 1TB dvds) we've heard about for years?
Oh please, trickle down has never worked and the Republicans have always known this [1].

[1] http://www.nytimes.com/2007/04/12/business/12scene.html?_r=0
Is there a discussion of the gameplay?

I'm hesitant to just sign up to play for something that may not be interesting. The subject matter is fascinating, but the gameplay might not be.
So basically I can't commit anything containing the slightest form of metaprogramming? Seems a bit extreme to me. A solution is to go for the more concise and robust metaprogrammed piece of code (the example of the form with the User object is a good one) and add a comment mentioning the methods called in there.

The "smartass" way of programming is sometimes overused but it does have its benefits. When you're metaprogramatically setting the attributes on the User, you're also avoiding needless and error-prone repetition and making sure that this central piece of code will either crash all the time or work all the time for all attributes. This has tremendous value.

So while I understand the point about this article, I might want to add a pinch of salt to the dogma underlying it.
Java and C++ are static typed, and are typically very readable and have a less need for REPL, not that a REPL won't help.
So you would rather have him flee to countries that would extradite him to the US so he can be tortured in solitary like Manning?
That's completely false. Hosting a static website on S3 is very well documented.
On NSURLConnection API Design