skysight-inc/HackerNews huggingface dataset:
I know of at least two engineers (and the usual caveats about anecdotal evidence apply here!) who got jobs in Silicon Valley after freelancing remotely for the same company, including a H1B sponsorship, something that's by no means guaranteed.
England also have a revolution few years before the French one, only that it was much less bloody and radical.
If the universe and everything in it--including ourselves--was created by an intelligent creator being, then we would be in no place to judge whether such a being was fallible. The very concept of what constitutes an error would be defined by the being itself.
My company is distributed: we have developers in a number of places. This is not a big problem, although for the moment everybody is in one country (Poland).

It is definitely possible to work remotely, you just have to find the right match. In fact, I've been thinking about looking for developers in African countries, because of the small time zone difference.

So, I'd say it's definitely possible, you just need to have the right skills and find the right company.
Pretty cool. If C was designed to run nicely on the PDP-11 its slightly strange that that could be a better machine for it to run on. Maybe in the future somebody will make a language for the CHERI machine.
Yeah, but your branch isn't up-to-date is it? It's bad wording.
No one is necessarily accused before the processing of a rape kit. In fact, a rape kit may provide exonerating evidence of the accused.

Don't be dense.
I've used git for years after having spent years with SVN. no one taught me SVN and never really read much documetation. It was so simple and straightforward. Git introduces a lot of new power and features, but nowhere near the cost increase of the learning to use it. FWIW, I always hoped Mercurial would win. It's at near feature parity with git, but is far easier to use.
Solid-state drives lose data if left without power for just a few days
Promises are better than callbacks but far worse (in terms of complexity they create) that synchronous code. This might be fairy dust but it crushes promises for reducing developer cognitive load. Having said that I agree with the person who commented that async/await is a better way to go (although sadly not really an option in CS yet).
Is be curious to know how big a problem laziness is in real applications. Is it mostly a non-issue because in a web app things tend to be short requests or do you end up having to use seq and force strictness in many places?
The Russian one improved greatly the life of the Russian people. They ended living oppressed under a dictatorship, but it was miles better than starving under the Tsar's monarchy.
I think the OP and you are utilizing a different definition of "hacker", FYI. Think Summer Con.
I suppose world peace is defined as tyrants and terrorists running the world and US doing nothing about it? US has used military action to promote long term peace and stability. China actively harasses sovereign nations in the pacific region and may invade them some day.
For what definition of efficiency?

And what does a Hussein or a Castro care about efficiency?
Yep. It immediately tells me that I probably will have zero issues deploying it, compared to many of the python/ruby/node etc apps these days.
Let's go meta with that:
http://typedrummer.com/c8094s.
Stop giving up.

Seriously, if you feel like you're giving up too early, don't do that anymore. Keep going, even if you feel like it's hopeless. Maybe not forever, but try going twice as long as you otherwise might.

You expect to feel magic. Either some kind of power that comes over you and makes you do the right thing without putting in the sweaty shit work, or that you'll just start feeling like you can do it after a tiny bit of effort. Magic isn't real; sweat is real.

Trust me, hard shit takes lot of work. And you might just suck at many of the things you try, because that just happens a whole lot. You'll never get any better by abandoning it.

* there's a whole lifetime of this informing my comments.
Seconding "Schwern’s “Git for ages 4 and up." I keep returning to this video, despite its length (content starts at 6:42).

Tinker toys really do make great graph visuals!
Sending a known source text using encryption isn't usually a good idea if you want to keep the key secret.
So they're automatically generating selectors. Remember that when they try to imply that by using selectors and writing up justifications for their reasonable search/seizures, it's all been automated.
But why? JavaScript obviously wasn't made with object-orientation in mind.
Also leaving: Browser Helper Objects. This seems to be the death knell of Flash.
> CA spends less than half as much per student as New York

Is New York a baseline for efficient spending and "best-outcome-for-the-buck", so to speak?

Also, in California, a good portion of education spending goes towards retired teachers' pensions http://www.mercurynews.com/news/ci_28061244/how-does-an-educ... so seems calculating the "per-student" spending should involve subtracting those fixed obligations.
5 reasons why Facebook is not just a Social Network
Arraging flights for an in-person interview, or arranging the visa and accomodation for new hires are what legal and HR departments get paid for. The biggest problem has always been finding good new colleagues.

Bad Internet connection for the initial pass would not be a problem for us, those who have the necessary background (enough relevant technical expertise and willing to move) get sent a homework with a few day deadline, and those who handle it well will be interviewed.
How else do browsers innovate? I don't have much faith in innovation by committee.
> US interests are international stability and freedom of commerce

Haha! You can't really be serious!
If there were a system that was "better," in terms of the total way in which all of humanity measures "better," we'd be using that. That's the efficiency measure.

The state arose judged against the harshest fitness measure known, the actual world.
Ask HN: If there is a failure of the internet, what info would you save?
What if the internet suddenly shuts down catastrophically, and the communication infrastructure needed for the world wide web will not return for the foreseeable future.

Assume you have local computer devices that are still operational.

What information would you want to save to view on your local device?

(This is obviously a question about when TSHTF. What would the HN community do to ensure critical information is not lost forever?)
Nice review, but don't leave us hanging, in the Strength In Numbers section what was the root of the CPU utilization problem?
Mercury – not really a preservative
If it were that easy to get keys HTTPS would be fucked.
Take the original audio stream to reduce losses and always use the best quality video for the audio track source. Youtube already transcodes on upload, you don't want to have three steps of loss in the output.

Unless you're dealing with 10min+ videos, the size difference in the mp3s won't matter anyways.
JS isn't OOP and it doesn't need to be. Please read this instead:

https://medium.com/javascript-scene/the-two-pillars-of-javas...
Arq's client app was much less reliable for me than Backblaze on OSX. But it has been over a year since I switched.
Ask HN: How can I trust a site's .asc key to not be compromised?
Many websites and authors put their public key on their site.

But how can I trust that the .ASC file is not compromised by say, one of the certificate companies?
In related news from last month, South Korea is finally moving away from ActiveX, with the goal of having at least 90 percent of the country's top 100 websites 'ActiveX-free,' by 2017...

http://www.theregister.co.uk/2015/04/02/south_korea_to_depor...

For those who need some background: "A law passed in the late 90's to facilitate ecommerce security requires using an ActiveX control, and therefore IE, to shop on Korean sites."

http://www.washingtonpost.com/world/asia_pacific/due-to-secu...

http://www.zdnet.com/article/south-koreans-use-internet-expl...
Here's my go http://typedrummer.com/0ut7tc
Or, self modifying code.
And then skip ahead and read chapter 10: git internals. This was really helpful for me to understand the fundamental concepts of git and why it is designed the way it is.
I love arq but run into an issue where my laptop fans spin up every time a backup is run. Is there an option to `nice` the daemon so it uses less cpu but takes a little longer? Arq on os x
Further back, there was Compuserv email, MCI email, UUCP email, and, for a privileged few, Internet email. None of those interoperated, annoying users. The proprietary ones all died or learned to interoperate.

Now we have Instagram messaging, Snapchat messaging, Twitter direct messages, etc. The vendors want lock-in, but it's a pain for users. Will we ever get messaging convergence?
Top Secret information has been determined to cause exceptionally grave damage to national security if released. Don't read it; don't click on it; don't post links to it. It's not funny; it's not clever; it's not fun.

The poster does deserve credit for putting the classification in the link text, so I know not to click on it. Seriously, thank you for that.
Mapbox has an office in Ayacucho, Peru and they seem to be on a hiring frenzy: https://www.mapbox.com/blog/mapbox-peru-opens/
Badly titled. This is not an official library.
> * ... intelligently and automatically making sure you're keeping in touch with the people you care about the most*

"care about the most", yet you need an app to remind that you care about them :) . Time for a break
A recent HN post was claiming JEE to be a "startup's secret weapon" (SSW), and I commented that the article did not much to actually backup that statement.

This article explains nicely why Haskell _could_ be an SSW, and specifically in what cases it might is more likely to be. It nicely walks through the strengths and the weaknesses, and compares to the previous experiences with clojure/ruby.
" he notes that “now it seems that anybody with any computer knowledge at all is suspect,"

seems like knowledge is what's being hammered on these days by propaganda. IIRC a kid was arrested for using DOS / a shell on his school computer (can't find the link, sorry)
Event Sourcing Libraries in Ruby: A Guide
If this is about controlling China, and China obviously knows it, then I don't see any reason for hiding it from the public instead of saying "this all is in order to combat China". Or maybe the means proposed are something that most of us aren't ready to accept in order to guarantee the economic supremacy of the West enterprises?
Maybe I'm unfamiliar with the terminology, but isn't that a buffer?
It's up to date with origin/master, which is the local copy of the remote master. 'git fetch' updates those local copies. 'git pull' does a fetch and then merges origin/master into master.

It makes sense when you consider that there are other ways that origin/master could be updated. You could apply commits that someone emailed you (a common workflow in the Linux kernel that git was designed to support), or someone could push commits directly to you over SSH or the filesystem.
You're incorrectly setting up the source tree which makes it difficult to "go get".

why have a makefile and not just allow "go get github.com/rapidloop/rtop" to function?
So, its certainly not.
Can anyone confirm or deny this.. ?

Also, I've read HN's algorithm but how did this make front page with a single point!?
Dataset Roundup – April 2015 – Data (For) Science
The server could partially mitigate such an attack, at the cost of a bit of bandwidth, by appending junk to round file sizes up to the nearest multiple of, say, 1MB. Not something I envision your average site doing, but a site like Cryptome...
Classes is a big enough portion of sugar to change expression level of code. After writing ES6 few months I don't like to write ES5 again, when I have to, and there is a lot of people who think so. Arrow functions is the another (if not first) big thing which makes this feeling stronger, and it's just a syntax sugar also.
OO in ES5 looks less readable and less.. "native" than in ES6.
Hope in some ES version 'this' insanity will be fixed and all will be just fine with classes.

just for note: I have never used "extends" in ES6.
That was genius, Lloyd, sheer genius.
I'm sorry. I changed the title.
Maybe if the federal government showered billions of dollars on police departments for catching rapists and other violent criminals rather than locking up drug users or giving out free urban assault vehicles, we'd see different outcomes.
The ideas you talk about are great and noble, but the implementation shitty. Iraq is no better off than 10 years ago. In Syria, first Assad was the enemy, so they helped the militias, who turned out to be Isis. I'm not saying that China will always remain peaceful (internationally), but so far, their non-invasion policies have resulted in much less deaths than the US's invasion policies.
By "guaranteeing stability" you mean disband the dictatorships and armer groups they established in order to stop the CPPP expansion? Now, these same leaders that militarized the world in order to stop the Soviet Union are deciding our domestic laws in order to stop another country from threatening their economic and military supremacy.
are there any material differences between Julia Computing for Julia and TypeSafe for Scala? From my reading of the OP i didn't see any; if there are not then i should think this is a good thing for Julia.
I was very surprised at that exact same thing as well. I thought I was the only one. I really thought for a second that it was some magazine from the 90s or even early 00s.
This may be true for MAJOR capital campaigns, but in my experience is rarely what motivates a matching campaign. At least in the size orgs I work with (1-2mil), matching campaigns are either genuine challenges from a donor OR a move to get the year-to-date number up to where it should be.
The instability that we currently have in the world is in almost all cases caused by actions of the US. Afghanistan, Iraq, Iran, Saudi Arabia financed terrorism, the list goes on and on.

Whenever the US intervenes it's either creating a mess or involving itself in a mess that was created by the US in the first place.
In fact, the Git Parable specifically addresses this articles approach to teaching git in the introduction:

"Most people try to teach Git by demonstrating a few dozen commands and then yelling “tadaaaaa.” I believe this method is flawed. Such a treatment may leave you with the ability to use Git to perform simple tasks, but the Git commands will still feel like magical incantations. Doing anything out of the ordinary will be terrifying."

Makes the 600 words achievement seem less impressive, if you put it in the context of existing git education.
The best part is, when Randies get what they actually want (http://galtsgulchchile.com/) they end up with what any rational person expects would happen.
> that Mercurial still doesn't quite match

Mercurial's history rewriting is excellent. Do you know of `hg histedit`, `hg commit --amend`, `hg rebase`, `hg crecord --amend`?

If you're using Evolve, there's also `hg uncommit` and `hg amend`, amongst others:

https://www.youtube.com/watch?v=4OlDm3akbqg

(Demo begins around 9:10)
re: interview over skype -- isn't there some better local connection, eg at a cafe or school or library? As an interviewer, I'd be willing to be flexible around scheduling if you can figure out a quiet location w/ better internet. It's frankly better for me: I'll have an easier time with your accent and get a better read on your capabilities.

Don't take this the wrong way, but you were born in Jeddah so I assume you're muslim. If I were you and considering living in the US, you'll do far better if you stick to the coasts. And probably better on the east coast (nyc, boston), just because there's lots of visible muslims there so people won't be freaked out by you. My country can be very islamophobic (I'm sorry).
Inaugural SF Stupid Hackathon – Presentations Today
This weekend, hundreds of hapless hackers converged in San Francisco, ripe with terrible ideas. After twenty-four hours, some "hacks" have rotted (literally), while others have burst into glorious fruition. Come witness the dawn of despair: the technological eschaton nears.

Satisfaction is transient. Regret is forever. How do you want to be remembered?

TL;DR: Stupid Hackathon presentations are today, 3-5pm at the Roxie theater (3117 16th St, San Francisco). We’d love to see you there.

Bewildered, confused, and excited,
The Organizers

http://stupidhackathon.github.io
> as opposed to utilities written in Java/Python/Ruby/Node/etc. which require their respective runtime to be installed.

In Java's case only by those that don't know what the Java eco-system offers.

There are plenty of commercial JVMs that offer AOT compilation, including static linking.

Plus as of Java 8, there is even a packager as part of the reference JDK.
What Harvey Specter from Suits Can Teach Us About Career Advancement
Is it so different from what's done on the northern tip of Alaska? People go to Antarctica all the time. Airplanes are built to handle cold weather like that.

Sure, there'll be problems. Hardly insurmountable ones, though.
Taig Jailbreak for iOS 8.3 Cydia Install iPhone iPad iPod
>I always hoped Mercurial would win.

We're definitely staging a comeback. Mercurial's development is lively and interesting, and with the backing of the likes of Google, Facebook, Mozilla, and Atlassian, we definitely are seeing lots of good stuff in hg.
I should have been clearer. I meant isolated scope within a function.
Or the era in which the government does understand the Internet, and deliberately attacks actual threats…getting caught in the crossfire is never fun, no matter how legitimate the battle. How many people died in the Battle of Britain from shells, shrapnel and planes falling on them? But of course, many more would have died had the RAF not fought the Luftwaffe.

Likewise, how many will suffer today in the crossfire between criminal gangs, extremist organisations and legitimate governments? How many would suffer if legitimate governments didn't fight?
Ask HN: Questions about mobile app architecture
Hello HN, I am currently developing a mobile app with Cordova and ionic. The overview of the app is its meant to help people schedule events with friends. I do not have much experience working on the backend of apps so I am looking to see what the best options are. I completed a online class that gave me a 1000$ AWS credit so I have been exploring their solutions. If their is something dramatically easier like Parse or Heroku for my use case let me know, the new hobby tier DB and Dyno are within my budget. It seems like the three best options I have are to 1. Run an EC2 instance with a Node.js server and Mongodb database to handle all of the business logic and ajax calls from the app to update the DB, the issue with this solution is I am worried about the amount time devoted to system admin would be huge. 2. Run a Node.js applications within Elastic Beanstalk container and use the DynamoDB database 3. Use the Lambda service to get away from all of the server admin along with DynamoDB. Option number three would seems like it would be the quickest and easiest to get up and running but I am very scared of waking up one morning realizing that a bad infinite loop has cost me thousands of dollars(Is it possible to shut everything down if it goes past a price milestone?). The 2 services I am nearly certain I am going to use are the Simple Notification service and the Cognito service for easy user logins as well as S3 for content storage. The amazon credit only lasts a year so I am fine with using around 70-80$ a month on services. I also think its pretty safe to say I will have less than 10K users so it seems like the load is not going to be huge. Let me know if it seems like its a fundamental flaw to use node, how I understand it is I will write an API that the apps use to handle business logic like updating the database and scheduling notifications.

Sorry for the poorly structured post, I tried to fit in all the relevant info. I will clarify anything in the comments.
To get from a pointer to member to a pointer to an object, you have to subtract the offset of the member within the struct from the pointer you have.

The point of discussion is that there is no portable way to write the 'offsetof' macro, even though every compiler on the planet (AFAIK, YMMV) works fine with

#define offsetof(st, m) ((size_t)(&((st *)0)->m))

See http://en.m.wikipedia.org/wiki/Offsetof#Implementation, http://stackoverflow.com/questions/6700114/portability-of-us...

Long story short: use what your compiler provides in stddef.h, and you'll be fine. If it doesn't provide offsetof, migrate to a modern ISO C compiler, or copy the definition used above, and test.
Ask HN: Are my motivations for getting into entrepreneurship superficial?
I had a few concerns and deep nagging issues about building a startup. After some deep introspection, I'm not so sure if I have a product that I'm deeply passionate about. I think my main motivations for building a startup is self satisfaction and proving to myself that I can start a business. Obviously self-management and working on something interesting are bonuses but I came to this conclusion after long hours of thought. It's really bothering me that this might be a superficial reason to pursue entrepreneurship and also that I haven't created anything yet. If entrepreneurship sounds like the wrong path for me, let me know. I hear all the time that to be in this business it's a lot more than just hard work, which I understand. Usually what drives people past this barrier is their deep interest in whatever problem they're solving. For me, I just like building things, regardless of what they really are. I like watching people get excited at watching a product grow and seeing their suggestions become reality. I am a software engineer with good internships lined up so I think I won't have a hard time getting back into the industry if I ever worked at a startup or started my own. Has anyone felt like this going in? Any suggestions on what I should do or what I should consider instead?
If you're trying to say that OOP isn't the central organizing principle of JavaScript, then I 100% agree with you. Lambdas and closures are awesome.

However, JavaScript does have the "new" keyword, and I would argue that constructors are quite central to JavaScript and good idiomatic JavaScript uses them. And it exposes YourConstructor.prototype, which I would argue is also useful.

So I guess maybe you're saying something about the term OOP that I don't understand. Maybe OOP means "everything is an object" to you? Or it means multiple inheritance?

I guess I don't understand the distinction you're trying to draw when you say "not OOP".
> No company will hire you without an in-person interview.

That's not at all true... We (Silent Circle) have hired plenty of people without any sort of face-to-face conversations. It's not uncommon for someone to work for us for several months before getting the chance to meet some else in the company face-to-face.
This little battle took place three years before Skype existed, and being able to send messages to people using what was then the dominant messenging client added more value than just about anything else Microsoft could have spent those developer hours on; as integral to its growth as ensuring that Whatsapp worked with iOS updates.

Yesterday someone challenged my post on Snapchat by suggesting that services with >100M users never failed to make significant revenue, and I just remembered how insanely popular these earlier clients were...
No offense meant, but if you're at a stage where you use a pre-2.7 version because that's what comes with the OS, then it's not really a case of "looked at 3.x and decided it didn't have anything".

OS vendors who will be supporting ancient Python versions until the next decade are a blight on the entire ecosystem.
Exploring existing code architecture using dependency graph