skysight-inc/HackerNews huggingface dataset:
About 3 months ago, my brother and I decided to create our first game. I have been using Objective-C for a long time, and I wanted to use Shade Slide as a vehicle for learning Apple's new Swift Programming Language.

The game is a puzzle, where by you have to try and clear the board of all tiles, by matching them into rows and columns.

It's been an interesting experience using a language that is still going through the final phases of development for a full blown product. It made some aspects far easier than I expected, but at the same time made other aspects far more tedious.

For me personally, one of the positives to using Swift is actually (and rather surprising) using it in its pure form, without any of the Cocoa frameworks. All of the Core Business Logic in Shade Slide for constructing and managing puzzles is done using the Swift Standard Libraries and no hint of Cocoa at all. It was remarkably easy to actually get something up and running this way. Curiously this aspect of the game, never had any issues between beta versions of Swift (where as the Cocoa level aspects of the game did).

In regards to Cocoa and Swift... I've found to be a less than smooth experience. Cocoa is built in Objective-C and relies heavily on its dynamic runtime and weak linking. The result in Swift, which uses static linking, is optionals everywhere. Either you make sure you have everything instantiated from word go (even if you do not have the data to do so yet) or you create an optional, which requires a lot of boiler plate code for constantly unwrapping them.

Another annoyance with Swift and Cocoa is inheritance (at least from SpriteKit related subclasses) that it will demand that you override all designated initialisers even if it is just to call back to the super.

It has been an interesting experience, and it has certainly been fun to use Swift. Would I use it again for our next game? Probably not so heavily. It is safer than Objective-C and won't let me make the same careless mistakes, but at the same time it currently feels very unforgiving and awkward in places.
Or just basic literacy and numeracy for some.
open -a Finder ./
This is, I believe, a seriously under-used command by engineers and Terminal ninjas. Whether you want a Finder window, Sublime, TextMate, SourceTree or any flavor of app that works on files or directories, `open -a [App Name] ./` smooths out a workflow that would otherwise involve Spotlight Search -> File -> Open -> Navigation -> Click. Gets even faster with `alias oa='open -a'` in your ~/.bash_profile.
> a small shop that runs on scanty resources and needs to build robust and reliable applications, a heavy weight like Java or .Net is still ruling the roost.

That seems to be the opposite usual scenario for "heavyweight" enterprise frameworks.

I actually think Go hits the sweetspot - faster to develop in than Java/.NET, but much more robust, reliable and faster than the scripting languages.
> Yes it's called the CEO's 30,000x higher salary.

That wouldn't work. The CEO would just go to another company, and it's REALLY hard to find good CEO - there's a reason they are paid so much.

Also, with the kinds of companies affected by this the CEO doesn't get paid at all. The owner only earns any profits, but draws no separate salary.

> Because a corporation's losses cannot harm the owner's personal wealth.

That's a surprisingly good answer.
Yes. And why only such a limited number of books? Why no (unconnected) computers? Why no exercise equipment?
Introducing LastPass for iOS 8
Interesting. I also prefer saccharin, but I have to specifically buy my own to keep at home and the office. Everywhere else seems to, nowadays, have sucralose (more so) and/or aspartame (less so). This is in the UK, Ireland and South Africa.
Atlanta Falcons vs. Tampa Bay Buccaneers live stream watch here NFL online hd
I don't get it. The startup in the example paid a lawyer for advice, and that lawyer didn't have his own good templates to use for this stuff, and just charge the bare minimum for the minimum amount of time?

Sounds like they picked an inappropriate small-town non-startup lawyer. That's a way bigger problem than the legal zoom documents.
People must be desperate for nicotine. Seems like quite the markup.
Tell that to the judge.
I'm not on mobile and don't see images either.
"Suspicion of Authority" and "Society never works" are not something arising from culture, they are consequences of the principal agent problem in Western states.

http://en.wikipedia.org/wiki/Principal%E2%80%93agent_problem

IOW, it's a fundamental problem of Western democracy and any other "representational" system that is not based on voluntary agreement and/or immediate feedback.

Unfortunately, people do not have a sufficient degree of control over authorities, hence a frustration and its emergence in culture.
Take a second to think about what you're saying. You're basically talking about prison revenge scenarios. Do you seriously think the real reasons are ever going to be admitted?

"Your honour, I didn't shank him because I hate hispanics, it's because he stole my dope!"
How did you end up on both HN and in prison?
Yep. Found this through the HN feed in my feedbin.com account.
I happened upon the video through a different source yesterday. Saw it. Didn't really get the title. Sure he quickly ran through the What-Why-How-Perf-Examples of ClojureScript. Had I not already been interested in Clojure/ClojureScript, I would have walked away from the talk thinking whats the big deal? Other languages also compile to JS and vanilla JS isn't all that bad once you get to know it. So yeah, just by watching the video, I didn't understand what the title meant by 'Lisp's Revenge' or even 'Hoare's Revenge'.

EDIT: Before viewing the presentation I wasn't aware who the presenter, David Nolen, was. I was aware of the online persona "SwannOdette" and his blog posts [1] were a major reason for me seriously considering ClojureScript. During the presentation I realized that "SwannOdette" and "David Nolen" are one and the same. His blog posts [2][3][4] are a lot more convincing than this video.

Some day I will write in vanilla Javascript the corresponding code for the examples in those posts. That will truly help me appreciate the advantages Cljs brings to the table. Incase someone else does that, please do reply here.

[1] - http://swannodette.github.io/2013/11/07/clojurescript-101/

[2] - http://swannodette.github.io/2013/07/12/communicating-sequen...

[3] - http://swannodette.github.io/2013/07/31/extracting-processes...

[4] - http://swannodette.github.io/2013/08/31/asynchronous-error-h...
Define what you mean by hard and then I can say whether you're correct or not. Otherwise you're putting words in my mouth. I didn't say I want programming to be "hard" but I did say I'd rather work with smarter people. That doesn't mean smarter programmers exclusively program in Haskell, Erlang, Clojure, Scheme, Racket, SmallTalk, etc. I find programming overall to be quite easy in any language once you're used to thinking with the abstractions the language offers. The hard part is communicating with other people.

Also, your "less anecdotally" is by definition pretty anecdotal.
Singapore has caning. Perhaps someone did a study on that?
How is that any different than kids playing video games or sports? It's not like subject material in school is being replaced by iPhone games and Snapchat.
I'm getting an offline for maintenance page, so here's the cached version: https://webcache.googleusercontent.com/search?q=cache:mY-oh-...
Display ANSI art in your browser with ansilove.js
Reporters can't copy alt text.
I refuse to install it. I get around to my messages when I get back to my computer. The messaging app is terrible.
Reads more like Tim's sense of humor than a statement of fact.
Terrible bad, is an abomination compared to reading a PDF version on windows/osx.

I don't know if is the fault of the format(mobi) or they are really bad at formatting technical books.
Here in Turkey, there are folks buying from US and selling with a small premium ($50ish), worked well for my son's Paperwhite 2 (with ads). You can tell Amazon that you don't live in US and they disable ads instantly [1]. Sometimes, you need to change your country in the Amazon profile to buy a book from US store and back, but I can live with that.

{1] http://www.labnol.org/software/remove-kindle-ads/28341/
Just to be clear, we're talking about mail sent with an @icloud.com or @me.com address, right?

Surely all IMAP traffic doesn't flow through their servers.
I highly doubt the canary would be a valid defence.

By omitting the line you are, for most intents and purposes, saying that you received a request. Now, saying you received a request and saying specifically what request you received are different, but I imagine the gag order doesn't make that differentiation.

Gag order is not that you can't say a specific thing, it's that you can't communicate a specific piece of information. The canary is communicating something.

A court order can ask you to lie, so the "I can't lie to my customers" defence probably won't work.
After Escaping Yugoslavian Wars This Woman Became a Successful Tech Entrepreneur
SwiftKey Keyboard on iOS8
David is a great guy, but sometimes his talks don't get the point across in a powerful way.

Clojurescript uses CSP (same concept as Go channels invented by Tony Hoare) to allow simulated multiple concurrent threads of execution in javascript. How many compile to javascript languages have concurrency? not many.

Clojurescript has powerful immutability at the core of the language, macros that are so powerful they can add concurrency to single threaded javascript via a library.

I admit it's not simple to understand everything clojurescript has from a casual glimpse, but if you learn enough, it can really kick all the other compile to JS languages in the butt.
Make your slide decks better
That's true, but there is strong evidence that while people prone to commit crimes are in jail that are not, simultaneously, outside of prison committing more crimes.
Go v.s. Swift's flatMap? Monoids v.s. non-monoids. Hard to compare the two.
How to Write High Quality Articles with These 5 Time-Saving Tools
I. Extracting Data from Passcode Locked iOS Devices

...

For all devices running iOS 8.0 and later versions, Apple will no longer be performing iOS data extractions as the data sought will be encrypted and Apple will not possess the encryption key.

Interesting. What changed in iOS 8, I wonder?
Why would you use your work computer for anything but work? I treat it like someone else's property. You can also assume your employer is keylogging and watching your network traffic.
Writing an article that is of a high quality requires more than just structuring an outline and entertaining the reader. It is in many ways a creative art based on the use of online marketing tools that help us gather and organize the information to be contained in the article. This gives the article validity and authority.
For some biological context, we have taste receptors in our digestive tracts identical or nearly identical to those on our tongue, only the ones in our digestive tract are not hooked directly to sensory neurons, but instead trigger endocrine signals and such. Since the receptors are identical, then anything that tastes sweet on your tongue will activate these receptors as well. If I recall my metabolism course correctly, studies have found that artificial sweeteners can trigger insulin release through these receptors in the same way as real sugar (leading to possible hypoglycemia as your body compensates for a rush of sugar that never comes).

So basically, I have no trouble believing that artificial sweeteners can have many of the same long-term health effects as excessive consumption of real sugar, since they're already known to have many of the same short-term effects, including effects on insulin regulation.
A million times this. In fact, even as a windows user, preview on OS X is the best PDF reader there is.

I'm note sure it's the format over the technology to start with as it's quite complicated to lay out technical material effectively so it requires some human intervention to a standard which doesn't make you want to poke your eyes out. PDF is just paper on a screen which takes the layout engine and automation out the back and shoots it.
Bring back the lash – Why flogging is more humane than prison
You're correct when you say that creating a LLC is not hard to do. IANAL, but creating a LLC might not be the best choice of incorporation for a startup though. The referenced Y Combinator company Clerky helps incorporate startups as Delaware C-Corps for a grand total of $381 [1]. That's about as cheap as legalzoom, not including the filing fees for California LLCs (which are $800 a year to the Franchise Tax Board). [2]

[1] https://www.clerky.com/pricing
[2] https://www.ftb.ca.gov/businesses/bus_structures/LLCompany.s...
That's already covered by Unimat for a long time:

http://www.thecooltool.com/en/products/unimat-metalline/unim...

There is a CNC pack which contains steppers, control systems and software:

http://www.thecooltool.com/en/products/unimat-metalline/unim...

I own the non-CNC unit and it's a fine piece of engineering!
Hidden agenda
So Python is becoming the new C++ in terms of cruft?

"We can't change A, so let's add B which does A, but better" ... a version later ... "well, B didn't work out either, here is C".
I get that. There are times I need to relax by being alone. Then I'm the Earth flipping magnetic poles and being alone irks the shit out of me.

It is most annoying.
Demonizing the Minimum Wage
I'm 20. Am I already too old for this? I use Twitter and Snapchat most days, though my contributions to either of those are limited in comparison to my consumption of others' content. I've deleted my Instagram account and haven't felt like I'm missing anything. My Facebook feed is filled with clickbait and auto-playing videos.

I think people are starting to recognize that your social presence catches up to you later on in life, and as a result are flocking to semi-private networks like Twitter (via private profiles), Instagram (again using private profiles) and Snapchat. Using these networks in such a way removes the anxiety of posting to a large audience, and in some cases (Snapchat) you can easily control the audience who sees your posts. I think this is really valuable. The other commonality between these apps is that none of them require your real name - you can choose to mask your identity, or make yourself easily discoverable publicly (especially Twitter). Oh yeah, and none of these apps require that you sign in with Facebook. I think asking for a Facebook login is just about the laziest way to attempt to harvest data about your users, and it's not as though they no longer recognize this (or at the very least, it's yet ANOTHER app asking for you to associate your account with your Facebook account.)

Monetization in apps of the future will rely on creative new ways of associating non-identifying data. This will mean relying more on the information the user generates vs. the information they give us explicitly (Who are your friends? Where did you go to school? etc). It should be an interesting next few years for the big players like Facebook. It's certainly been interesting seeing Snapchat rise to such success with such a simple concept. I think there's a potential to "Snapchat-ize" every major feature of Facebook into many wildly successful apps. Now, what's more important than photos?
Spiralizer
As far as reading PDFs on Windows goes: evince (default on Ubuntu, I think) works really well - it's fast, remembers my position in various PDFs, and in general works really well.

https://wiki.gnome.org/Apps/Evince/Downloads
We already have that :) http://dotscot.net/
oh, I understand that. ...but saying it's due to the hate crime law is not the same thing as using that law as an excuse. My point is that it's being misused, not denying that it happens.
I want to reinforce ThomPete's point. Most of learning a musical instrument is muscle memory. I really don't think flash cards / spaced repetition will help you for learning an instrument. In fact, it seems to me that it could actually make it more difficult for you because you would start to associate notes with visual neural pathways rather than motor pathways. To learn any activity involving muscle memory there's really no substitute for hours of actual practice and quality instruction.
I certainly have that tendency, perhaps the external chaos is a result of my decision-making, and not out of my control as much as I think.
The binary is tailored, in the beginning it does some identity check. In CMU, as I remembered, you have to login to the school's cluster using your own account to actually diffusing the bomb.
Core Unleashed Part II: Introduction to GobiesVM (and STM)  RubyKaigi 2014
>
Regardless, I can't understand the criticism. Their site works remarkably well for what it is. A shopping site.

Go tontheir site and search for "microwave oven", the. Sort by price. You'll have hu dreds of items that are not microwave ovens but accessories for ovens. You'll also get items that are not mocrowVes or useful for microwaves.

Go to their site and search for, eg, sansa fuze+, the. Sort by price. You'll have several thousand cases and screen protectors.

In both cases I would have made a purchase if Amazon had returned a product.

You're not supposed to use search. You're supposed to ise the menu system to drill down through the site to find the product.
Not infallible - I could talk tech near-perfectly (I am a native speaker of BS), but I am most definitely not a coder pretty much at all - but a good start.
Starbucks almost always has very clean restrooms when you really need to go.
Yes it is strange. I felt the article also showed how simply getting a lawyer might not work out for you either.

You have to pay attention, had anyone been paying attention either at the legalzoom review/selection, lawyer selection, lawyer review or combination of both at all they might have been fine.

Having one lawyer all the way through is nice but that rarely happens in reality probably. Somewhere someone has to pay attention, legalzoom usage or with a lawyer.

Mistakes can obviously be made at any level, the best advice from this is probably get multiple lawyers but I am sure that is what the law firm blog wants you to do.
Dude?? Did you wait until you go to Spain to post this?
Still, it is very fun to read this post and comments here.
Actually, I prepared these two crackmes in order to arrange a small competition among universities at Turkey. But, they became very good interview questions also.

It's really good to read these responses. Cracking ability is really rare in CS student community in Turkey. Our intention was increase awareness. Reading these comments showed me it was a really good step.
Do you still work at a major IT services firm ?
If you're based in Calif, there is no benefit tax-wise to filing in Delaware. Calif will tax you on the dollars you earn in Calif., regardless of where you incorporate. As an LLC, the minimum tax in Calif is $800. So, if you're based in Calif. you might as well incorporate in Calif too and save the $381 to incorporate in Delaware and pay the annual Delaware fees. I know this b/c I went through this very mistake a few years back.
Ask HN: Remote php jobs seeker
Can you suggest some platforms where I could look ?
Haha! I tend to agree that's probably true for most people.

Some people can taste the difference (double blind and everything - I'm not sure if anyone has done the tests). I would think the water used would also make a difference.
We've been rotating the sysadmins through customer service. Not taking calls (our CS calls tend to be long and detailed, and a n00b isn't going to help), but being there for the CS people. It's been marvellously instructive. It also cheers the CS people that someone cares. Now we need to get the devs doing the same.
Testing Connectivity of Mobile Games
Well, strictly speaking the dude who shared that particular insight is portrayed to have a bit more cred than the guards' stories, but i guess that's beside the point
Free Distraction-Free Text Editor for Windows PC
Write! - Distraction-Free Text Editor With Markdown, Wiki and Textile Syntax Support - http://wri.tt
auto keyword was in C++11, but as this article points out, it does a whole lot more in C++14.
Barcelona, Spain would have implied Catalan, not Spanish.
Secure Encrypted Communication Solution
At best this link bait. At worst they've taken up bad practices used by other industries (specifically the personal finance industry).

As others have mentioned the post gives no evidence of how LegalZoom fails their customer.

This is a good sign for LegalZoom and similar startups, the post is one of many legal service firms attempting to scrape the bottom of the barrel and fighting to discredit the inevitable automation of their services.
As someone who doesn't own an e reader but rather the kindle fire (cyanogfen 11 nightly) and a nexus 4, I can't understand why someone would complain abnoiut a battery that lasts over a week.
If you look at the transparency reports, only the report for the first half of 2013 includes that canary (specifically mentioning Section 215).

It was removed for the latter half of 2013, and this just-released first half of 2014 report.

Take that as you will.
Thanks for this. A good read for those who have never used such tools.
I'd kind of be a dick move to screw over people who can't read the images (people who use screen readers for instance), so the alt-text allows that. But what reporter knows how to copy it?
Sure looks like Turing patterns that you get with Reaction-Diffusion simulations.

See http://pmneila.github.io/jsexp/grayscott/ and select "holes"
Except it may flash your bios or reflash any of your PCI cards and persist there.
There's no reason the refusal to store warrant-worthy data or to use end-to-end encryption would prevent men in black from carting away all your servers. In fact, it might very well increase the likelihood of them doing so.
Sorry, but actually wrong on all fronts. I was genuinely pretty surprised by how bad the situation was and thought it would be interesting to write about. Sorry if you feel differently.
It has all the signatures of a static site generator.
I agree, Nolo > LegalZoom.
Explore minecraft maps with voxel.js
Uploading files over HTTP fails on iOS 8 Safari
No, no idea why you're running McAffee Web Gateway, sorry :(
One problem with dealing with the state of California is that mail correspondence sometimes span many weeks. You may not receive your endorsed LLC paperwork for a quite while. And if your form has an error, the state will return your rejected LLC paperwork, and start the clock again. In most cases, its worth paying somebody to avoid these delays.
Not surprising to me about Coinbase. A friend interviewed there and decided not to continue with the process as he was so turned off by their team. In particular he made a suggestion for improvement and they got very defensive.
I was genuinely confused about this too, and am still not 100% sure I get it after your comment. So the deck size means it's 50 concurrent cards, but I can add/remove card sets to my deck as much as I'd like using the free version?

If I remove cards from my deck to make room, does this mean any training on how well I've told it I know those words is lost?
I seriously don't get why people want buttons (including these side "buttons" with haptic feedback) to turn pages. It's so much more satisfying to turn a page on a Paperwhite with a flick of the finger sliding across the "page" (the screen) like you would do with a book. You can already tap the screen with your thumb (using the same hand to hold the device) to turn a page. Why on earth would you want these ugly lines and dots now on the side of the Voyager reader so you can turn your pages that way?