skysight-inc/HackerNews huggingface dataset:
Ask HN: How to teach a 12 year old to make JavaScript games?
I am teaching my 12 year old cousin how to program Javascript (currently with Codecademy).

He is doing pretty well and finished the Javascript course. Now he is very interested in learning how to build Javascript games.

I have no experience with games, it seems pretty hard to me cos (I think) you need to know both programming and graphics.

I am looking at the source code of 2048, I think it might be too advanced for him.

Question: What is a good way to teach a 12 year old to make Javascript games?
This revolutionary EKG glove gives a 12 lead ECG in less than a minute
I have created plenty of playlists w/ Spotify that are very predictable and I often play them in a linear fashion.

I've done the same w/ YouTube, but since they have such a wide array of disappearing content; they playlists aren't very predictable in the long-term.
Hi, thanks for the feedback. Protecting your data and maintaining your trust is core to our mission at SwiftKey, and the procedures we have in place are under constant review. You can read an explanation from the founders about why SwiftKey Keyboard is now free here: http://swiftkey.com/en/blog/why-we-set-swiftkey-free/ If you want to find out more about how we keep your data safe, please read our Data Security statement here: http://swiftkey.com/en/data-security/
Interesting project. Why is there no grep in this, or on the to-do list?
Completely agree! Our website does require you register. Only at the end - just before payment - do we ask for an email address.

EDIT: the email address is so we can send you the product you just ordered.
That is a popular story, but I'm pretty sure it's not true. Do you have a source?

I suspect you're thinking of the sort of elite academy type schools that have tough entrance exams - but those are a very tiny fraction of private schools. There also exist private schools that that take anyone who applies and even private schools that specialize in special-needs students.

Also: in several parts of the US (including all of Florida, Ohio, Georgia and Utah as well as various municipal districts), special-needs students actually have their own separate voucher system which parents can use to attend private schools because the public schools aren't good at educating those kids.
I think the combining the "no registration at all" with an optional "send me the link via email" is really nice.

Actually of the 5000 people who have "registered", more than half have given their email address... probably means people like optional stuff, I know I do.
according to nakedsecurity at http://nakedsecurity.sophos.com/2014/06/11/14-year-olds-find... :

"When the ATM asked for a password, they plugged in the first lame-o, six-character groaner of a bad password that popped into their heads."

I'm going to guess that six character bad password was "123456".
It's unfortunate that signing up via Facebook or twitter or some other OAuth method gives people such a creepy feeling. It sure is a lot more convenient for everyone involved: don't need a password, no email confirmation, sometimes it's one click and you're in.

I feel like Facebook screwed this up for everyone when people's feeds were covered with apps their friends were using. Now when a site asks you to authorize it with facebook, users don't feel like they can trust what it's going to do.
It is no better than their Amazon Instant Video. Their video offering is pretty terrible. Takes ages to move between menus. You cannot just continue from where you were previously. It doesn't skip the credits and offer the next episode. The whole thing is painful to use compared to Netflix.

Another example. Yesterday I was looking for a TV show I was watching. I went into "Your TV Shows" and it wasn't there. It had been pushed out by other shows I watched. Instead it appeared in "Recently Watched." It is so unintuitive.

I have a prime account. I wouldn't mind cancelling Netflix and Spotify but can't while the user experience offered by Amazon is so horrible.
Hi, thanks for the feedback. SwiftKey Cloud is a secure, opt-in service that allows you to safely backup your language data and sync it across your devices. We take your data security seriously and you can read how we keep your data safe here: http://swiftkey.com/en/data-security/
[Edit: yes the code above seems to be valid for the author's non-standard "jonesforth" implementation of Forth. ;CODE is defined in the ANS Forth standard to mean something very different.]

Sorry for the nit-picking, but the code you give is most likely wrong. Assembler code in Forth is enclosed in CODE...END-CODE . ;CODE is used to attach machine-code run-time semantics to words created with CREATE [1].

CODE RDTSC ( -- d )
RDTSC
EAX PUSH
EDX PUSH
END-CODE

Here RDTSC and PUSH are not compiled but executed immediately to output the corresponding machine code to the current definition (which also uses the name RDTSC albeit in a different vocabulary).

You can generate machine code by invoking the Assembler's words from Forth words (a "word" is what you call "functions" in other languages), which can be used as a simple macro facility or as a facility to dynamically generate machine code, do automatic register allocation etc.

ALSO ASSEMBLER
: my-macro RDTSC EAX PUSH EDX PUSH ;
CODE RDTSC my-macro END-CODE

BTW for those interested, this is the source of the x86 assembler, written in Forth, that ships with GNU forth [2]. The amd64 version [3] even supports SSE. When writing assembler code in Gforth, the non-standard ABI-CODE facility [4] is preferable over CODE..END-CODE, BTW.

[1] http://www.forth200x.org/documents/forth13-1.pdf

[2] http://git.savannah.gnu.org/cgit/gforth.git/tree/arch/386/as...

[3] http://git.savannah.gnu.org/cgit/gforth.git/tree/arch/amd64/...

[4] http://www.complang.tuwien.ac.at/anton/euroforth/ef10/papers...
Great fun. Quick pointer though - the convention in IF games is to map X (for eXamine) to look at. Kept tripping me up.
Hi drdaeman please can you send us a screenshot of where you're seeing the text you mention to reviews@swiftkey.net and briefly recap the issue? We'll get our Support Team to investigate for you. Thank you.
Website creators seem to not understand that when we register, we are giving them something of serious value - we are giving up our privacy. And I do not give that to strangers in exchange for nothing.
Sorry guys, HTML is faaaar from being proven technology for the apps. And it will stay that way, sorry to dissapoint you.

On the other hand: why this obession to have mobile apps built with HTML and JS. Why not fight for desktop, if you are so inklined. That does not make it any less stupid, I am just curious about the reasons.
/optimistic

I think debuggers are under appreciated by Open Source languages(as in, it's not THE priority). An approach I am forced to use is heavy log statements and a DEBUG flag, so that I can feel the program show me what it's upto.

I think Bret's ideas are worth pondering on. The only issue when dealing with the philosophical idea of time, I find for myself, is that it's an easy rabbit hole to fall into.

Nice interesting paper tangentially related to this, http://www.vpri.org/pdf/tr2011001_final_worlds.pdf
I agree. I think the creepy feeling comes from the potential threat to your private life... I know Facebook and the others are trying hard to make it clear what permissions are involved each time you sign-up but the fact that you have to check "ooh this one can access my friends list, I don't like that" is pretty unconfortable
Büyük Deprem – Megafault Filmini Türkçe Dublaj izle
> The market needs an open mobile OS that respects the
> user's liberties

How do you know that?
What Are the Risks From Smoking Hookah?
The tobacco from hookah is no less poisonous than cigarette, and the water in the hookah is not filtering out the deadly elements in the tobacco smoke.
Those are the worst kinds of websites.
IOS 8 Split-Screen Multitasking Shown Off On Video
The problem with leaving the country is that your very good degree is now almost worthless. I got mine (from a good technical uni) issued in English, I even wrote my thesis in English. Not a single employer wanted to look at it. Yet, I earn the same as my colleague with a PhD from a local uni. Turns out no one cares about degrees in software engineering. Maybe it's different in your industry.
I've seen this idea before, and I really do like it. However, I managed to close my window (had incognito mode), and now I will never be able to retrieve my predictions. No big deal perhaps – but still annoying.
This is an interesting difference to bring up. I would trace the push for high graduation rates in the US to its inclusion as a parameter in the canonical US News college ranking equations. The oft-stated reasoning is that a top-flight college that allows even 10% of its students to leave without a degree in 5-years is failing them somehow.

To some extent, this is true -- I have personally seen brilliant friends drop out of a stressful college when clearly the university was not serving their reasonable needs.
I would like a minimal identity provider, i.e. something like BrowserID where you can create throwaway identities that is not associated with any social presence.
> I know Facebook and the others are trying hard to make it clear what permissions are involved each time you sign-up

What they don't make clear is that Facebook is informed every time people visit (or in some cases, login in to) those other sites and can generate better profiles from that data, even sleep schedules, even for people who rarely use FB itself.
Tips for Fasten Your Workflow in Terminal
More like 1.45x: http://data.bls.gov/cgi-bin/cpicalc.pl?cost1=10%2C000%2C000....
Are apps the next era of contraceptives?
I'm stuck there too...help!
World Cup Scams: Evra Hazardous Phishing Scam Matas
We had this discussion when we were talking about web based IDEs here on hn the other day (can't be bothered for the link). I like oauth, but I hate clicking "sign in with {Facebook|Twitter|Github}" and then being asked for a user name and email address. This is redundant and nonsensical...

Most app people are very happy to immediatly use the account email to send you stupid personalized followups, aka "Peter From Lame-App".

If it would be "click, see and forget" - OAuth signup would be great, but being required to accept spam really breaks the deal. I am not sure if too many people share that feeling, but it really bugs me.

The issue you point out with aggressive App spam on facebook is different with other services, I feel. Twitter Apps usually ask whether they might tweet something in my name. So I believe you are right, facebook might have screwed this up a little.
Funnily enough, a lot of Bitcoin gambling sites like just-dice.com, also operate on an URL-based account system. It is really minimal barrier to gamble.
try "say neverdeployonfriday"
Just ask man
Say you run a hotel at 60% occupancy. Then the hotel suddenly goes to 80% occupancy. No additional costs. No inventory paper trail. A small motel with paper bookings could probably launder a lot of money for a silent partner.

10k comes in as bitcoin bookings (2-3 rooms per night). 10k-laundry fee gets paid as dividends to an "investor," "consultant" or anything really. The reservation books are paper.

Many consumer facing service businesses fit the bill, but hotels are a nice big category. It makes sense for them to be accepting internet payments.
Ah.. Help text should really be updated.
grep is not part of the coreutils.
I think that your exception for Doodle's case is also applicable to this use case and many more: if you're creating a predict-a-score league with your friends, you're going to have to share it immediately.
It's incredibly low-information. Each time you scroll to a new screenful of information you get about 10-15 words of marketing. Even clicking the "Learn more" doesn't give me any screenshots or videos.
AMEN BROTHER!
You don't necessarily lose privacy by making up a username and password for a site. You do lose some privacy if you use social sign-on or the site requires you to provide an email address that's verified.

My pet peeve is the arbitrary rules that sites now have for passwords. When I am registering for something I don't care much about just because I have to, my inclination is to use the same easy-to-remember password I always use. But the rules thwart this, and no two sites can agree on the same rules, thus forcing me to alter the password, and guaranteeing that I will not remember it.
> Also, who is the boss/supervisor who would fire or penalise the driver for saying it's not great?

From the view of the driver it could be you: It's not that uncommon for corporations to test employees like that using HR people disguised as customers. I have no idea whether Uber does that, though.
I'm using f.lux and, since it's early here, I thought the site was pink and it actually looked pretty nice.
It would be very cool if browsers had an "auto-register" feature, where you give the browser your information (name, nickname, email) and it automatically fills registration forms when it encounters e.g. an META tag in the page header.

One part already exists - the new html5 input type="foo" classes which COULD be used if sites would actually USE them. The other part is the password manager - it would need some rework to generate truly random passwords. Oh, and if the email confirmation messages could be standardized, too, then the mailclient could automatically confirm the mail.

edit: dear website owners, please allow facebook, twitter or any OpenID based flow, no matter how much you dislike these services. I hate nothing more than the tedious crap of filling out differently laid out forms, captchas and email confirmations.
I'm surprised no one has mentioned www.jobserve.co.uk. I have found all my jobs on there; you will find most of the agencies advertising there. Restrict your search to London, and you're good to go. It's another matter if the agencies don't call based on your cv
Hyundai Tuscon Fuel Cell hits Californian roads with free hydrogen
The missing link is insurance or a hedge with buyers/students opting for protection from the schools product or service if not delivered in spirit or letter of its premised promise (aka marriage of warranty/collision-comprehensive). Secondly insurance or hedge against themselves as students/buyers for when life happens or they otherwise screw up delaying, discontinuing, rerouting their pursuit (liability).

The fix for one sided finance is to add a second dimension in an equal and opposite direction.
Yeah this is what kills me; if I send something legitimately to an address it hasn't seen for me before it requires me to re-enter my full credit card number and other information to prove I am me; I don't understand why they don't do the same for replacement orders. It doesn't seem like that hard of a problem to solve when not solving it means they are out $1000 worth of product from my account alone times however many people this has happened to.
Somebody really needs to solve this problem. I've given some thought to it, but I haven't come up with any idea that's a slam-dunk.
An unguessable ID that designates some resource is called a (crypto) capability.

Capabilities are quite different from access control lists (ACLs). In an ACL system, the list of authorized principals is attached to the resource. Thus, sharing access to a resource requires updating the resource. For instance, if Alice creates a document and wants to share it with Bob, then Bob needs an account and Alice needs to add Bob to the document's ACL. In a capability system, the capabilities designate the resource and sharing the resource is as simple as copying the capability. In fact, Bob can also share the document (without copying it first) with Carol. In an ACL system, Bob would not typically have permission to update the ACL.

For more information about capabilities, start with, for instance, the e-rights wiki at http://erights.org/elib/capability/index.html .
Blurry text is worse than the real life equivalent!

Sorry can't play it, makes my eyes go funny. Can you turn that text blur off or down?
Here in the UK I played a game on the CBeebies website with my daughter (age 7). It wanted her to sign up for an account with an email address and details so that she could save her progress.

She just plays from the beginning restarting each time and picking a different path through the game.
Passwords are weird.

You give a site your user name and password via a form. Your browser converts these into a http request to a link via parameters. The site sends you your account page, or makes you try again if you fluffed it.

Isn't this the equivalent of giving somebody private URL, like in the article? It's essentially the same, functionally, as a password you remember. Except passwords are less secure, as people use the same ones repeatedly, or generate them from a simple system repeatedly (less vulnerable to automated password guessing attempts, but as vulnerable to a dedicated human attacker).

Are their web frameworks that let you determine if a user is genuine by their behaviour as much as their passwords? E.g. if I usually log in from the US, why am I suddenly logging in from Russia, less than a half-hour since I logged in via the US?
Africa, the Awakened eCommerce Lion?
Creepy feeling. Well guess what: apparently something that you say on FB which anyone finds offensive can lead to your FB account being disabled, without warning or official way to appeal.

Now tell me again, how convenient is this global login that can at any time disappear from under your feet?
I used to think that this was an ideal space for governments, or some semi-public organization. Identity as a societal service, much like running water and electricity and highways.

But then Snowden dropped by to tell us that we can trust our own governments even less than all these companies.
Go may have gotten a headstart, but Rust seems like a much more worthwhile language to work with.

If we're going to ditch C for something proper, lets do it properly.

Go just seems like another half-assed minimum effort Google project.
thanks for the explanation, makes a lot of sense and my Physics seem to be rustier than I thought :D
I do, yes. The domain this linked post is on is registered to my current mailing address which is the same as the one I have on my Amazon file as my shipping and my billing address.

I've changed my Amazon email address as you suggested in your helpful email and hopefully that will be enough since I don't think it would be practical to try to put my mailing address back in the bottle at this point.
I'm getting so tired of every city claiming a Tech Boom, headlines like "[City X] is the next Silicon Valley", etc. All these articles are isomorphic ("here, check out this bunch of hip, trendy developers with an app that you haven't even heard of who live in our city"). This is insufferable. Here is a short list of cities on which I have read articles in the past 6 months claiming that they are the next Silicon Valley or something to that effect:

-NYC

-Berlin

-Ljubljana

-Chicago

-Detroit

-San Diego

-LA

-Toronto

-Dubai

-Tel Aviv

-Nairobi

...

This isn't news. Yes, believe it or not, most cities with a few hundred thousand people in them have a tech scene! (Especially the ones with a University housing a major CS department --- like Seattle!) Yes, it is 2014 --- the tech scene is mostly booming wherever you look, especially on a sufficiently long-term perspective. Really, articles of this sort are usually just self-serving advertisement for the city in question.

The truth is, of course, that the tech scene in most of these cities is not really booming in the sense of the word. Developing strongly is often a better way to put it, and the growth rate is often non-linear (probably more toward the logarithmic side of things) because founders of successful companies have a tendency to move to the Bay Area.
As you say in one of the slides, the main difficulty of iOS programming is the API.

You're presenting mainly the language, which makes senses but might be already ticking boxes with at least part of the audience here which is already familiar with Haskell, or Rust, or OCaml, etc.

So, it's great to see the features and syntax, but what would be great is use Swift to make a tour of the API for iOS newcomers :)
People don't like to register? I don't think so:

I am using a CRM as our main website. It has a small "Register" link in the corner which I was unable to remove until now due to my poor html/css knowledge. It doesn't have any functionality. Still we have around 3 new user every day :)
Bitcoin Regulation is Inevitable
The Promise of a New Internet
You might be interested in the Portable C++ ABI proposal: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n402...

Considering how quickly C++ compilers are iterating, it might even be available in GCC/Clang before Rust 1.0.
nice read if you are interested in expanding your ecommerce business to Africa.
2048 with joker – add fun quotient
Ah, yes, one easy-to-remember password for large number of sites is definitely a great way to protect your security. /s

Complaining about loss of privacy, but eagerly weakening your security for convenience. I don't understand this argument at all.
This is my primary lingering worry about the whole situation, that it may impact my ability to get replacement items sent out if I actually need them in the future.

Hopefully they take your Amazon history into account when figuring this sort of thing out because I've been a customer for a very long time and have spent an amount of money that would likely seem obscene (if I totalled it up) over the years.
> Unfortunately 95% of the complexity is in the massive API set, not language syntax.

Can't agree with this more. I'm a web developer (with Scala experience) and was watching the WWDC live streaming. As soon as I heard about Swift I had just one aim - download Xcode 6 and give the playground a go. Within two days, I managed to go through the iBook on Swift. But I still don't have a single app ready. Most of swift tuts teach only about the language and the Obj C tuts are hard to port (for a beginner). The new language is surely more approachable to newcomers but its still going to take time to learn the Cocoa framework, Storyboard and other parts involved in building an app.
Gracenote claims to have more than 130 millions of songs in his database.

Source: meta field "description" at https://www.gracenote.com/company/faq/
What I like about the prospect of Seattle (when compared to NYC, being in that area) is:

Cost of living: http://www.numbeo.com/cost-of-living/city_result.jsp?country...

And it often (surprisingly because of the weather..?) gets better-than-most rankings in "happiness:" http://www.cbsnews.com/news/the-10-happiest-and-saddest-citi...
Yeah, I read about that on Chris' blog (the one linked in my post here). Unfortunately I didn't notice until both items were delivered (at least to the the Portland, Oregon destination) so there was no chance for me to undo the damage.

I'm not really interested in staking out the address these items to sent to, as mentioned I think it is just some sort of remailer service anyway so it wouldn't be useful unless the police could get a warrant to figure out where the redirected packages went to. I don't really care that much because Amazon is the one who lost out here financially, not me; but I still do feel a tiny bit violated that my account was used for this.
I opened dev tools and deactivated the text-shadow property in .terminal-window (also found the blur horrible.)

Edit: Hmm, after playing a little, the shadow is in more places... Already did too much js and css (and go) today to bother, so leaving it for tomorrow.