skysight-inc/HackerNews huggingface dataset:
Our mac mini build server is working through the queue. Takes about 30 seconds to build each app.
Error Handling with Blocks
I once led a scraping proxy project that required users to be registered in order to access it. When someone unauthorised tried to use it 402 was returned with a message body giving a bank account number that was a concatenation of consecutive prime numbers. I wonder whether I made someone rich by accident.
Technically, yes - the workers can be multithreaded. If you put multithreaded workers behind an event-loop web server (both nginx or apache can do this), then they can handle many http keep-alives as well. It's not the same thing as using an event loop throughout the whole stack, but it's pretty effective.
> "Since gittip's main beneficiaries are women I disagree with, gittip should be shut down"

You're conflating /women/ with a small group of toxic feminists. There are many women in tech who have distanced themselves from these people.
Sure, but I usually write tests when I have a good confidence in the API of my class, even if that API isn't implemented. I tend to have more biases and assumptions if I write the tests later, so I find this works better for me. So, unit testing is often a subset of TDD.
Not sure I've ran across what you're describing. Are you talking about using streams as an option to get around callback hell? Have a link describing this?
It doesn't mean they're ready. Lots of stuff on GitHub is unfinished half-broke stuff. (And I don't fault anyone for that, because lots of my stuff on GitHub is like that.)
Coming from the furthest thing considered open-source - all we have are TDD evangelists - we have 0 implementations. The one die hard TDD I've seen is so unproductive it's painful to the business. Is this just something that's enjoyable to kick around?
Do they have sensors at the door or anything?

A pretty neat solution would be to put rfid tags on the boxes, and rfid readers (powerful enough to read them) at the doors. When you exit it could check and make sure the given item number was actually purchased by a user.
I clicked on this article thinking it was about Telecommunications Devices for the Deaf, wondering what the alternatives are now that installed payphones with TDD consoles are not to be seen anywhere. I must look into the smart- and feature-phone alternatives.
So basically "find work locally"? That seems to ignore that (AFAIK) most people use Freelancer et al because it's remote work, because they live in a less developed country or rural area with poor-paying/nonexistent local work.
Regarding the UI issues, I think that libgit2 takes a good approach by separating the UI from the core in a clear way. This way, you have a library that contains all the capabilities that are needed, but a UI can take advantage of that in anyway it wants.

For example, a UI could have a "create new branch" feature, which internally does a "create new reference pointing to commit xxx; checkout a working copy of branch y".
Mobile Search Is Shifting From Google to Mobile Apps Like Yelp
Strong agree on there being many places to find clients.

I began my own freelance career by browsing http://jobs.perl.org and responding to the more interesting requests for contract work. That was like 7 years ago; pretty much everything I've done since then has been through referrals.

It's just a question of getting yourself kickstarted. There's plenty of great clients out there who need help, and aren't using crappy lowest-bidder sites (because they care about good work and are willing to pay for it).

Good luck... you can do it.
I don't know that gist just seems contrived. I'm totally not a rails guy so I have to ask: is that the only way you can implement that in rails land?

In (most)JS and/or python I would just monkey patch the save method and/or constructor on the employee object to get the isolation and branch coverage.

I would probably need to do some of the same crazy abstraction for Java though.
This isn't a way of adding logging to your own software; it's a way of taking any software's logging (yes, even printf) and sending it to a remote server without having to modify the software directly.

So, basically, it's like systemd-journal except not actually like systemd-journal, significantly easier to use, and can use printf directly instead.
If it's struggling from corruption then that is even worse. What happens when someone who is corrupt gets in charge of the surveillance? They could do anything, like have everyone they don't like branded as terrorists.
Interesting! What is the clustering based on?
My experience is similar: Started off as a light and resistant Google user, learned about Now, decided to go all-in, so that The Google could know so much about me it would tell me and show me useful things.

At first, maybe it did. Over time results have seemed to become random and uninteresting, as others have suggested.

"Google Now == Great Big Meh" in my book.

Does Google suffer from "shiny" disorder? Do they come up with cool ideas, jump on, do cool stuff, only to get distracted when things get challenging? That would explain Now and a great many other things.
How did they write an article on the outcome of my startup in 2016. You are good Slate.

Ok I won't quit the day job(startup). But seriously I wonder how much the employees actually got. Any guesses?
Location: India, Remote|Relocation within India, Full Time | Part Time

Stack : C/C++, Java, PHP, python

Resume : https://www.dropbox.com/s/zpg7hmy1r3t6tku/Pooja_Resume.pdf

Contact : pjkumar2@gmail.com

I am a fresher and have just completed my bachelor of engg in CSE. I am looking for a challenging job which helps in building my skills.
Nothing in this intrinsically requires you to be local to the client. I mentioned that because some people seem to be more comfortable with it.

I mean, you don't live in Tulsa, right? The Internet connects you to Tulsa. Can you find a financial advisor in Tulsa with 5+ employees using only the Internet? Can you find 10+ firms which are similarly situated in a day? Great. That should get you 2 ~ 5 meaningful conversations.
Most game devs never get to go to ANY conference, let alone E3. You make it sound like everyone gets a free flight to LA and a tourist visa.
I think this was brought about by a recent conflict that occurred (and gained some attention on reddit at least) on twitter. Mojang has been well aware of servers that "sell" in-game items and in-game features (the ability to teleport or fly, for instance) for a fee. This is against Mojang's TOS, and Mojang has taken down several servers in the past for various TOS violations including this pay-to-win stuff. During the recent twitter bout, a Mojang representative stated there was a distinction between a server accepting donation, and a server rewarding donations/selling ingame benefits. A server accepting donations in order to continue running is A-OK, but a server selling benefits violates the TOS.

This recent activity from Mojang to reclarify their TOS and actively tackle violations was likely a result of last week's twitter bout.
I have never worked on a software team with a hard 80-column limit, FWIW. It's always more of a suggestion.
What Are The Incentives For Creating Machine Readable API Definitions?
The Simple Mathematical Law That Financial Fraudsters Can't Beat
Most of the time is spent on generating the random string, which was because I very quickly realised looking through the entire possibility space in order would be unproductive. Granted, my entire approach was unproductive, as shown by linuxbochs, pedrox, and others below :)

I actually did some micro-benchmarking in the midst of all that and found that hashing a single, static, string took something of the order of 20ns. That's half a billion hashes per second, or 2 billion on four cores. Add a little overhead for string generation, and yeah, we get the same number.
I agree with a lot of the arguments in the article, but I do feel a very negative opinion about Node.js. I don't believe Node.js is that bad.

The 2 points I always hear from Node.js are:

1) Node.js is fast. It is really not that fast. It all depends on what you are comparing it to.

2) It is easy to learn. It is not easy to learn. The difference between browser javascript and V8 javascript are considerable. Not everybody will pick it up as easy as you imagine, specially if you are choosing Node.js to allow frontend devs work on backend code. It is a very different mindset.

I like the idea that is Node.js, but I don't think it is mature enough to take over the backend. I think there are other more mature languages right now that do the job without making programs look like spaghetti code.

I think people should take this article with a grain of salt, and keep getting their hands dirty in Node.js. I think it has a future in the cloud.
When I'm grinding out Cobol or Algol code (yes, I am a dinosaur), I stick with 80 columns per line. Because, for better or worse, that's all my compiler sees. One compiler squawks when a line extends beyond Col 80, another allows the use of Col 81-90 for a markid, but the standard editor doesn't grant access to those columns easily, so it's infrequently used. But if I'm using a more freely-formatted language, you can bet I'm ignoring the 80-column limit. But I'm still keeping my lines as short as possible, and even wrapping in some cases, because my code needs to be easy to read, and side-scrolling is the antithesis of reading easiness.

Also, when I was coding in PascalVS at the University of Pangaea, I distinctly recall becoming incensed one day over the fact that, while the Hollerith card provided 80 columns, the PascalVS compiler stopped reading earlier than that--maybe it only accepted 72 characters per line. That was irritating. And costly--we had to provide our own cards, and on a student budget, they weren't cheap!
Maybe more interesting is why we've retained some of the limitations of the past, while moving beyond others. 80 characters probably isn't as constraining when your variable names are limited to 6 character (as in Fortran77), and seem more constraining for identifiers like "MemberSubmissionAddressingWSDLParserExtension".

http://www.pushing-pixels.org/2007/11/07/and-the-longest-jre...
I have no idea what this is as I am not a programmer, but the website looks really good
What I'm trying to say is, even in the event that Go was created after NodeJS, the "but Go could learn from Node's mistakes" argument implied here doesn't work. There were enough event-based concurrency systems before the advent of Node, and I'm sure the creators of Go were aware of them.
this is real cool. How did you guys go about building this?
I really wouldn't think about it too much. They'll easily reject you as quickly as they reached out to you. Recruiter performance evaluations are typically based in the raw number of placements rather than hit rate. It naturally skews them towards a shotgun approach.

Maybe you're a fantastic Dev but getting a call from them doesn't really mean much.
New Black Market (in USA you can easily buy a gun, but not a Kinder Surprise)
I once talked to someone from GitHub who said that the way he sells people on TDD is to show them the tests running automatically when they save a file. I thought this was a pretty neat idea, and have used it on a couple of projects. If you write Go for example, you can run fswatch . "clear && go test" in your project's folder and get this result.
Get the important tasks done, productivity app
Speeding up JavaScript Goats, Wolves and Lions by 18,800 times
That's fascinating. A friend of mine ran a server a bit like this, for his friends, although there was no pay-to-unban. We enjoyed the extra challenge, but it eventually died out because people got banned too often.
Except when you pay police salaries, you're expecting them to maintain order within a society. The end goal of advanced military equipment[0] is to kill people as efficiently as possible. It's the goal, not something out of line.

[0] Doesn't even have to be equipment. Maintaining databases which are required for a functioning military complex means you're still serving their vision. Their visions as of late are often amoral.
Node is popular because it feels light and easy to use.

http.createServer(...a simple function...)

Holy crap! I just created an http server and now I can respond to events with just a few lines of code!

Once you get deep enough into to it to realize that it creates a tendancy towards complex deeply nested code and that making a good, maintainable application is a non-trivial task... it's far too late. Because of the 'fast' feel of it, you're convinced that these are just things you have to figure out and learn best practices for - it couldn't be that the 'fast' feel was deceptive to begin with.
"Old" red blood cells? I thought since they didn't have any DNA to repair themselves, they died after a few weeks anyway.

Edit: a few months, not weeks. But cells dying faster seems to be related to diseases, not health. https://en.wikipedia.org/wiki/Red_blood_cell#Life_cycle
Google now will occasionally alert me to heavy traffic on the way home. That's about it.
Unfortunately, phonegap (and cordova) don't make these work by default, and instead make you implement them yourself. Which very few developers get around to doing.
I wonder if carbon dating would work. Seems like it ought to, since C14 is produced in the upper atmosphere, so if's been sealed then it wouldn't get any new C14. The small amount of decay over 42 years might be trouble to measure.

A potentially crazier idea: measure the trace amounts of uranium, plutonium, and other long-lived fallout products. Atmospheric nuclear testing continued on a semi-regular basis until 1980, and so the makeup and concentration of the fallout would be different if it had been unsealed after 1972.
That chicken wing you’re eating could be as deadly as a cigarette
Dawn, a Docker based PaaS in Ruby
ohh, maybe it's something similar to Google Loon project but to put Facebook in the hands of all...
Depends what you want to use it for ...

Tumblr? Dropbox (I've used this for sharing a large album to family and it worked well)? Self-hosted (maybe Owncloud, could do with more suggestions)? Picasa?

Presumably there'll be a service that lets you host photos out of S3 somewhere.
Who Owns Your Genetic Data? Hint: It’s Probably Not You
These are called hardcore survival servers. They are basically what made me attracted to the idea of playing minecraft multiplayer, actually.

I remember seeing a picture of someone discovering a random build in the middle of a forest (in a large map) on /r/minecraft. Apparently people still do builds on these kinds of servers! Even if that's usually dangerous! And how interesting it is to find such a build.. or bump into someone, and do a bit of game theory ("should we try to kill each other, or should we trade?") (the latter is not that usual, granted!)

(Normally, you start by running away from the spawn point (which is a safe zone), to find food (nearby food sources are usually nonexistent), and make a small shelter. You then move on to building an underground base (e.g. under an ocean floor), building up armour, maybe going back to spawn eventually.. Or maybe you stack up resources, and just roam around the lands, or go out with some friendly people to found a city. There are spawn-campers who try to kill noobs, and then sometimes there are people who try to hunt down the noob-killers. Sometimes there are also people who plant seeds around the spawn to help out... etc.)
Text of the letter in question: http://www.scribd.com/doc/228334970/Letter-to-David-Hyman
Control your AC with your Windows Phone
The German start-up makes AC smart and if they reach their kickstarter goal until Wednesday they'll also go for a Windows Phone App.
That's why the "smart" thing for someone to do is to game the system, either through ring voting, asking friends to upvote on twitter. I can't blame them, thigh it's technically a bit borderline. I guess it's more legit for show hn than blogspam though.
When Pfiffer told me peh would post that on HN, my reaction was something like "Fine by me, but I'm pretty sure I'm going to get schooled." Looks like I was right.

I got schooled, I'm learning, next time I'll be more clever about it, thank you!
Herenow: A Location-Based Mini Social Network
That's a conspiracy theory that doesn't hold water. Preventing servers from selling items does not encourage people to use Minecraft Realms, Realms serves a completely different player base. Realms are limited in capacity and limited in ability, the servers that operate as successful businesses selling items (that will be affected by this change) have up to 10,000 players online at any one time running hundreds of plugins, the maximum players a Realm can have is 10 and they do not support any plugins. They're not comparable services.

From my position (I manage a third-party Minecraft website) I completely believe that Mojang are starting to take their EULA seriously in an effort to protect their customers, I don't know if it's the right decision or not but I don't believe they're trying to be anti-competitive.
Here's some references I found from Jonathan and Mathias.

http://www.jonathantneal.com/blog/understand-the-favicon/
http://mathiasbynens.be/notes/rel-shortcut-icon
http://mathiasbynens.be/notes/touch-icons
When someone buys a copy of Minecraft, does it include code to run a multiplayer server? Or did the community modify the Minecraft "client" code?
You can generalize about the incentives of the politicians who control the military.

I'd be interested in discussing parts of the military that aren't related to U.S. imperialism. Care to bring one up?
Funny how this works. Normally on the internet people disagree with one another point-blank with no niceties, so a "polite" "excuse me?" stands out.

(Brit here as well)
Second the mockup point. Even mid-fidelity mockups have caused me all kinds of headaches. Perhaps that uncanny valley effect, but no one ever asks you to move buttons 5px to the left, or change the title bar colour from dark blue to a slightly darker blue with a paper sketch!
> where are YOUR commits?

The 'it's open source, fix it yourself' concept breaks down significantly when you're dealing with other people's complex projects.

OpenSSL in particular is a convoluted and horrific codebase, due to a significant number of reasonably awful and insecure decisions, making submitting your own patches a nightmare. Consider yesterday's MITM flaw, where a patch to OpenSSL 1.0.1 provided the opportunity to exploit a bug that OpenSSL has had for over 15 years.

There's also the issue of many open-source projects won't accept patches from outside people, or for features they don't care to implement/support. In the case of OpenSSL, that might actually be a good policy, but it still makes the 'why don't you fix it yourself' argument a weak one.
There was a great quote from the Scott Meyers video the other day at DConf,
"If we don't do our job right, people could LIVE!"
If we'll be talking about strawmen, the idea every SQL query is composed of many concatenated string pieces is the biggest of them all.

You both talk about the perils of dynamically building queries, yet proclaim the benefits of static syntax checks. You can't "statically syntax check" a dynamically built query. Even with ORMs. So pick one. Either you're building it dynamically, or if it's static there won't be "string pieces" to worry about.

Most of queries are defined statically: a query with several anonymous (?) or named (:foobar) parameters to insert literals. So none of those scary string concatenation problems even occur.

Regarding stray commas... please: listOfIdents.join(','). It's not rocket science. Plus, I'm not necessarily advocating you use string functions to build queries, there are many small helpers to be had when you need to build a complex query, but the point is to know when to stop, and not try to completely hide the resulting SQL from the user of such libraries.

It's one thing to use a query builder for those rare complicated dynamic queries, but an entirely different thing to lock down and hide the connection and have your hands at the mercy of an abstraction layer for your every query.

If you can't control when and how your database gets called, if you can't control select locking, and transaction isolation levels, if the vast majority of its functions and syntax is out of reach, you can only do the most basic of CRUD operations on SQL.

It's just ugly that we have a complex piece of machinery like a modern SQL database, with all those advanced querying and MVCC features packed in for people to use them in order to build fast and safe applications, and watch them use it like a little more than a file system.

It's like buying yourself a million dollar supercomputer so you can play Solitaire on it.
Apple wants devs to love Swift – But there's a catch
This is inspired by last night's post to HN of the Goats, Wolves and Lions problem: https://news.ycombinator.com/item?id=7855455 .

I and others noticed that the javascript solution posted was far from optimal. So for fun, I tried optimizing both it and the algorithm used. The end result runs almost 20,000 times faster and handily beats all implementations in the original post, including the carefully optimized C++11 one by almost 1000x.

As I say in the gist: it's still about the algorithm, not the language.
I hope that robot can also print food, so the cheap international workers who lose their jobs don't starve.
SEEKING WORK
either local Tallahassee, FL, USA or remote
Love writing, am seeking documentation, RFP, and RFP response projects; successful history of nonprofit funding requests
workflows, manuals, templates, web content, audience analysis,
very successful with creating productive and effective collaboration among board members
I deliver clarity, succinctly and accurately.
I work to earn referrals.
William
william AT the biggs group DOT com
I joined up, but submitting seems to be invite only at the moment.
Most of the other advice here is shit. This advice will get you a job. Serious. It works.

1. Make a list of local places you might want to work.
2. Print out resumes.
3. Go to the office, and hand resume over to front desk.

In person say - "I would like to apply for a job. Here is my resume."

Top of your resume, put evidence you can do the job.

"These projects prove that I can do the job:

1. Launched project using php. http://1.example.com/
2. Made Y for client doing X. http://2.example.com/
3. Shipped X. http://3.example.com/

I am a very hard worker.

"

-- You will get call backs, and interviews on the spot at some of the places. No one else is doing this. --

I'm not going to wish you luck. Since I know after reading this, you will get off your arse and make it happen.

Now. Get going!
Introducing Doge Serialized Object Notation
StackExchange Skeptics addressed this last year:

Can a plant survive bottled in its own ecosystem for 50 years?

http://skeptics.stackexchange.com/questions/15838/can-a-plan...