skysight-inc/HackerNews huggingface dataset:
I find it interesting to compare this compiled JS to the tiny recursive Ray Tracer previously posted here on HN [0]. This Scala->JS compilation is 214k characters while the tiny Ray Tracer is at <1k characters. It should be noted that the tiny Ray Tracer is heavily optimized and minified.

[0] http://www.gabrielgambetta.com/tiny_raytracer.html
"Phone, order green apples"

"Same type as last week?"

"No, the ones I bought before that"

"OK, ordered XXX apples"
It's not an all-or-nothing scenario, you should let users delete everything they can and let the rest be.
Very cool project. Like others say, it can be a pain to debug generated code in opal, clojure, elixir etc. But that's also true of the code generated by the C compiler. This is a chicken-and-egg thing. Either consumer hardware gets so fast that it's feasible to implement the language vm's in javascript or browsers will support other mechanisms for implementing them. But only when these projects are used by many people, which will happen when the code is easy to debug.
> I once used a Ruby library that, when loaded, would try to connect to a database on a remote machine.

How is that at all acceptable? I can't believe that a library that phones home would gain any sort of popularity.

I can't say I know much of anything about the Ruby community, but if they've conditioned you to jump through hoops like importing modules at specific times to avoid delays, that is a serious problem. Conditional/delayed imports have their place, but they should be relatively rare.
Okay, so right here you've got a reason why namecoin won't be adopted. There is a critical mass of many, many memorable names. These organizations already have them in the current system; don't have them on the namecoin (since someone likely is squatting on them) and, as you say, have no reasonable way to gain them w/o paying extortion.

Due to network effects, namecoin won't replace ICANN without making it better for all those organizations; and due to the core nature of namecoin, it won't be better for them.
I almost dropped out of university as I couldn't stay focused on my studies, instead I was compulsively playing Starcraft and Age of Empires. Fast forward a few years an I was struggling to keep my contracting business and the compulsive distraction is the internet. Things are getting better now, slowly.

The biggest thing that has helped me is a book - "The Now Habit" by Neil Fiore. Get it, read it, apply it. Seriously.

I've found my procrastination tends to come form putting work ahead of myself (my time with friends/family, my health, my hobbies, etc). The more time I schedule for myself, the less I procrastinate. And yes, you need to schedule your "mine time" as much as you schedule your "sold time".

Also, be wary that the procrastination can be a symptom of depression. If so, that's what you need to focus on first.
Reddit gives users near total control over their comments and submissions. Comments can be manually edited or deleted months or years after submission. Self-posts can also be edited at any time. Posted submissions can be deleted, which replaces the submitter's name with [deleted] and prevents the submission from showing up in any public list of posts (it will still show up at the submission permalink). The only concession is that posts edited at any time beyond a few minutes from their posting appear with an asterisk.

Deleting an account on Reddit doesn't delete every comment and submission, but it does replace the username on every comment and submission with [deleted]. This isn't perfect from the user's perspective, but it's a lot better than most forums. It anonymizes any post or submission that doesn't directly leak personally identifying information by itself, which for most users will a large majority or even 100% of submissions.

I think allowing users to delete accounts and have their usernames replaced with [deleted] on every comment and submission is a decent compromise between respecting privacy for the user and maintaining the integrity of discussion for the community. I would feel much more comfortable using HN if it had such a system, although my revealed preference is that I care more about posting to HN than I do about the ability to retroactive delete my data.
Motion backgrounds – Earth wings
> You make it sounds like HFT is some sort of non-profit, community service vocation, like teaching, or fire fighters. Do people actually think this?

They're doing it to make money, but that doesn't mean they're not helping other people out. My uncle is an importer; most of his time is spent finding something that's cheaper in Korea than it is here and drawing up a contract with a supplier there and a buyer here. Does he do it as a community service? No. Does he take his cut? Yes. But every deal he makes benefits both the supplier and the buyer.
So, your answer is - if your domain does get hijacked, then you're out of luck unless you pay the hijacker? That's a serious flaw.

Most people don't want their technical infrastucture to be immune to law enforcement, just the contrary.
But isn't it that no matter who you target and where, the click farms always steal the clicks?
"Get your arse out, mate": we turn the tables on everyday sexism (4 min video)
Airbnb increasingly used for erotic encounters
In the masseuse attack, Lee, 29, met the victim, 21, at the West 43rd Street apartment she rented through AirBnB on March 22 after he responded to her ad on Backpage.com, sources said.
Now that's what I call a hack. Bravo!
"In truth, the “chemical imbalance” notion was always a kind of urban legend- - never a theory seriously propounded by well-informed psychiatrists."

Ronald Pies, MD, psychiatry professor at SUNY Upstate Medical University and Tufts University School of Medicine, and editor of the Psychiatric Times.

http://www.psychiatrictimes.com/blogs/couch-crisis/psychiatr...
Domainshares utilizes an auction-like mechanic to
incentivize price discovery for names, making sure
the final owner pays what it is actually worth.

How would this work for, say, google.com ?
Pyro from Team Fortress 2 raytraced in your browser
Someone is going to make a font out of this and it'll be all your fault.
Agree-
Being able to understand how someone arrives at a view while not also holding that view is an important part of being empathetic.
What's CPO?
This may be a catchy way to make your company known, but I imagine you're only getting those who were thinking of leaving anyway.
Ubuntu One: Shutdown Notice
You're correct, but from a user perspective it's a totally valid thing to do. When your system (or pretty much any software) doesn't work, you want to pass some "debug" flag so that the maximum information is logged and you can parse that later. You don't want to pass one debug flag per component, you want it to be global (just like when you say "quiet", you want every component to be quiet).
Brendan Eich is a human/civil rights denier. Now that is abhorrent.

"It makes me very uneasy."

Oh no, I guess you're just going to have to be a decent human being from now on. Sorry.
> I think your view is pretty naive.

You can think what you will about my opinion but it is based on a decade-long career around both BSD-licensed and GPL-licensed projects.

> Copyleft licenses are more conductive to dual licensing because they give you no other choice if you want to sell a closed source premium version.

And the licensor can always decline to sell the license to a competitor though this might be problematic for a big company. The point is that the GPL gives a company control over proprietary spinoffs, while the BSD license does not.

> They can keep any other compiler off the IDE if they want that, you would be competing with them at their house, which is doomed to fail.

Frankly their choice of licensing makes no difference in what sorts of products they can ship.

> With copyleft without assignment at least any later version would effectively remain free for all, whether Microsoft wants it or not.

But the point is that you end up with less competition under a copyleft license because fewer forms of competition are in line with the license. If your fear is against Microsoft as competitor, giving up more rights is better than giving up fewer.

You say you think my view is naive, so I have to ask: how does one both release code under the Apache2 license, a license which allows anyone to change the license and add restrictions when distributing it provided that the license restrictions in that license are met, and adopt an embrace-extend-extinguish strategy. The first two might work ok because one could sell additional proprietary features just like anyone else, but the final one doesn't work because you are competing against yourself if you do that.
I BELIEVE an entrepreneur is an inventor and athlete in one.
coming from java, xtend is probably the best choice right now (also compared to java8) because you are up and running in few hours. really!
and the development time will decrease significantly. You can create full projects in a fraction of time.
Active annotations are also very useful to generate common boring code (Logging, patterns, ...) also from configuration or HTML files, or to generate files like javascript to call your backend service.
the only drawback is that it only works in eclipse. Eclipse has full support, meaning that debugging, refactoring, click from stacktrace and so on are available and work perfectly.
just try it for 30 minutes, you'll not come back!
Torn and weary (on Brendan Eich and Mozilla)
Mozilla still has three big problems – and now it needs a new CEO
Any developer worth his/her salt understands the value of open source these days. Keep in mind that these engineers don't actually run the business.
"Gtk calls sys.setdefaultencoding("utf-8") when imported, changing the way your strings behave in the whole process."

Well, to be fair, that's more an issue with Python than with GTK
Google reveals technical and team details about Project Ara in new video
I suggest you might want to study up the long term detrimental effects of sleep apnea. I had no idea.
Indeed. The popular book by Burns (http://www.amazon.com/Feeling-Good-The-Mood-Therapy/dp/03808...) in an earlier '80s edition before the behavioral angle was added made a significant and permanent improvement in my life, all done by myself, although with medicine and talk therapy added to the mix (my depression is not standard "unipolar affective disorder" and medicine is key to improving it, but not a complete solution).
Don't run any functions at the root level of your module.

Instead, if you really need long-lasting objects which get initiated once, then use an object, and put any initialisation stuff in it's `__init__` method. Then the module can be imported whenever, but your initialisation stuff is only called when the user of your library creates a new instance of that class.

For bonus points, make your classes able to be used with the `with ...` syntax, so then lifetime is kept to a minimum, and errors/whatever are dealt with by default.

If you really really need to monkey around and take control of the whole python interpreter (gevent, twisted, and possibly some GUI frameworks come to mind...) then don't do that at import time, do it with a `run_forever()` or `take_control` type function.

But yes, a virtualenv for every project does help a lot with not accumulation cruft.
How is this "Ruby in Your Browser", per se? You're just saying that you've used Ruby to build a web page now in the browser, correct?

I ask because I'm seeking something more like a Ruby on Rails Implementation waiting for you in your browser, in effect, when you arrive at the service's website, which you can then take with you if you'd like, as a VM, in any number of ways.
I ran this in Chrome, Safari 7 and Firefox. Firefox was the slowest of them all by quite some margin. I guess asm.js specific code enables some drastic speedups with less effort from the JIT's point of view. Too bad this code did not utilize asm.js.
I see that sometimes in reddit, the pseudo says [deleted] but the text is still there. Sometimes the text is shown as [deleted] as well. I don't understand when and how the first occurrence happens.
> Only to the extent that you and your visitors already have to trust your DNS provider, your domain registrar, the TLD registry, and the DNS root.

Which is not something I want to do, hence my push for namecoin :)

> proof-of-work chains have their own burdens

Do you have more information about how it can be detrimental to namecoin, specifically distributing DNS information ?
I wouldn't mind the outputed javascript - it's unfair to compare it with coffeescript as cs is just a thin syntax layer whereas opal giver you all the goodies of rubyan oop (like, method_missing? :) ), so there is a price that needs to be paid for this. But having to drop to raw js everywhere kind of nulls the advantage. Just think of all the errors that a linter or parser could have caught, but now it can't, and on top of this add it to the inherent pain of debugging a transcompiled language and... not fun :| I liked the idea of ruby to js but this doesn't seem like an acceptable solution.
What shader languages are used in cross-platform games? PS3 uses Cg, PS4 PSSL, Xbox & Windows use HLSL and OpenGL on Mac/Linux/Smartphones/Tablets use GLSL. Are there converters from one to the other language? How do big engines like Unreal oder CryEngine handle this?
> Reddit gives users near total control over their comments and submissions. Comments can be manually edited or deleted months or years after submission. Self-posts can also be edited at any time. Posted submissions can be deleted, which replaces the submitter's name with [deleted] and prevents the submission from showing up in any public list of posts (it will still show up at the submission permalink). The only concession is that posts edited at any time beyond a few minutes from their posting appear with an asterisk.

Has reddit not had users who flounced and programmatically nuked every submission they've ever made?

Whilst this wouldn't affect Reddit as a whole, it could lay waste to a subreddit if the person was one of the top posters within a very small area.

This is largely why most forums operate a "edit within a reasonable time" policy. Though obviously there are benefits to being able to cache long-term too.

Can you imagine the impact on HN if patio11 went through a bout of depression and decided to nuke every comment he'd ever made? The impact to the collective work would be substantial.
I'm not sure that's a common goal for obfuscated c code
Sounds like voodoo to me.
None of those posts mention remote. They all give off the impression that you're looking for NYC only. :(
I Pity The Fools That Say SEO Is Dead
Certified Pre-Owned.
It sounds likely that three critical people separating in just two months is more likely to be due to the latter class of reasons you cite. At the very least figuring out why, and why they aren't getting replaced quickly, is critical, and if answers to those questions aren't forthcoming, indeed get out ASAP.
Good for you! My experiences wasn't that bright. Even configuring IDEA was a nightmare, especially because none of the Ivy plugin worked with the Scala stuff. And there were a couple of annoying thing, with which I can't live it. Probably they've improved since then
Unless the spammers simply run remove the extra part from the address. A better way is to get your own domain and use a different alias for each service.
Exactly. They've murdered more people than Nazis and, unlike Nazis, are still doing it on a large scale today (yeah, there are still "Nazis", or yahoos calling themselves such, but they're not running entire countries any more).

As far as I can tell from the the rationalizations expressed by the anti-Eich lynch mob, it's now perfectly okay to expose Communists and force them out of their jobs.
C# 6: First reactions
Portraits of Reconciliation
Account marked deleted but not the post means the user account has been deleted.

Both marked deleted means that specific post has been deleted (but not the user account).
You're deliberately missing his point.

None of this stuff happened until Dear Leader changed his position. Now, all of a sudden, being opposed to gay marriage is the Worst Thing Ever.
I sometimes make calls to collections.namedtuple and other class building functions at the same time as the rest of my definitions.
This comes across as more DIY Web Dev.

CS degrees are not so much about programming, as some people have stated. More so theoretical understanding, logic(which is important IMO), best practices on projects, approaches(agile etc.). The programming that is touched on will be an intro to an OO language. Generally, most CS students are expected to learn programming in their own time on their own accord in order to complete assignments etc.
So, should we stop learning C#? I mean what's the point with the current "JS is a ubiquitous silver bullet" trend? How does the Project Helios fit in?
Hmm, wait, so you're saying that somebody doesn't have good-faith assumptions, and they want to have a reasonable adult conversation with him?

Or perhaps you have a different definition of what "good faith" means?

For example, WIkipedia say:

> In philosophy, the concept of good faith (Latin: bona fides, or bona fide for "in good faith") denotes sincere, honest intention or belief, regardless of the outcome of an action; the opposed concepts are bad faith, mala fides (duplicity) and perfidy (pretense).

The way I read it is, if you honestly want to have a discussion - which means two minds coming together and having a dialogue, and both parties will hear out the other side - then I will be happy to talk.

If your'e going to be a dick, and just bait him, then he'd rather not.

How is that not reasonable?

Unless you have another source for a definition of good faith?
Ask HN Mods: Can you make submission URLs human-readable?
By now, I probably stumbled a dozen times upon the problem that HN links do not reveal at all what they are about. To solve this problem you could maybe simply add the title string to the item ID like this:

https://news.ycombinator.com/item?id=7535606-can_i_delete_my_skype_account

I think that would be fairly easy to implement and it could be easily made backward compatible by forwarding the old links to the new format. With a dash as separator it’s still possible to select the ID with a double click (at least on my system). I think that would be a great improvement. Thanks!
Depends what level we're talking about surely? SpaceX have their own real time Linux which they do use on rocket systems - stands to reason they might bring a similar idea over to automotive systems.
How is assembly going for you? What is fundamental to the web is the APIs (dom/websockets/webgl/...) not the fact that they are exposed through javascript. Dart seems especially nice considering that they go out of their way to provide (most?) html5 apis in dart and also Angular.

In fact the dom is defined in an IDL which can generate the dom API not only in javascript but a lot of other languages (Java/C++/etc)
Source: http://www.teslamotorsclub.com/showthread.php/28185-Successf...
You caught me on a good day for merging pull requests ;) thanks for the contribution, always appreciated :)
>Isn't the core of prop8 based on people who cannot accept
>the LGBT community and want to keep marriage for
>themselves?

Some people might feel that way, but there are arguments against gay marriage that have nothing to do with this. Some people feel gay marriage reduces freedom, some people are against the idea of government involvement in marriage, period (which is actually what I suspect Eich's view is), and some gay people are against gay marriage.

>Shouldn't society squash this kind of thing out of law?

Not just no, but hell no.
And with JS average developers being potentially cheaper (at least in future) the enterprise might actually consider it.
It should be said that Twisted has put a lot of effort into making it possible to making it possible to deal with multiple reactors (mostly so they can run their test suite including all their supported reactors), and even to make it possible to unit-test Twisted code without a reactor at all (by having standardized mocks for the various things the reactor does).

Of course, that doesn't help the mountains of code written for Twisted that expect a singleton reactor, so we're stuck with it for the foreseeable future. Perhaps in the Brave New World of Python 3, where Twisted is just an implementation detail of the asyncio module, life will be better.
Oh wow, I've struggled to find this on YouTube for some reason. Best non-English hip hop music video I've seen so far :-)
It harms people who trade frequently. Mutual funds, and more importantly pension schemes, should be trading relatively infrequently. If your pension scheme isn't taking long term positions you need to find a new scheme as they aren't investing.

Proper investing, buying a stock in the belief it will go up massively over the course of many years is trivially affected by HFTs. You may pay less than a penny per share extra on trades, but if you're looking for tens of dollars of capital gain do you care?
SQL Injection in the Wild
I haven't tried it, but a game of this complexity looks like it could be implemented in roughly the same number of bytes of binary, meaning it fits in a bootsector...

Coincidentally, a sector on optical media is typically 2048 bytes.
yes, but you get first shot at the ones who were thinking of leaving, before they have turned that thought into actual action and you have several other companies to compete with.
And why is it laughable?

The definition of the traditional nuclear family unit, and the inherent roles and responsibilities as we currently know them is very much geared towards man-and-woman relationships.

You could argue that we should change these definitions - but until the, how the majority of people in most countries think of families is very much coloured by the concept of the nuclear family.

Then again, times are a changing - so maybe you'll argue that in the future, we'll do away with the concept of this procreation business, and just clone humans, or have surrogate artificial wombs and we'll just pick our kids off an assembly line fully grown =).
The problems with Laravel
My experience with Uber Cabs in Delhi.
I've found the streaming of anything from build to be completely unreliable from the channel9 site. You can download the vids, but the download times are also horrendous. Seems to me this would be a great excuse for a company to use a torrent to spread their content. It's free anyway, why not use it and promote the legal use of a great technology?
Egg sandwiches ... yuck !
I wonder how this whole thing would have gone down if the original bug report had simply described the problem rather than demanded their preferred solution to what they thought the problem was.

Linus and others keep acting like the bug was "systemd floods the kernel logs when I pass the debug flag" but it was actually it was "Do not parse "debug" command line ".

The obvious answer to the first is " Sorry about that, the bug is fixed in master branch".

The obvious answer to the second is "No, that's what it's for"
I'm not sure what to tell you if your starting position is his this is not about his tolerance.
Meru cabs, man.
I had the same trouble (used SQLLite for RoR), i think it was my 64 bit version of Win7, which gave the most problems (some compiling errors).

A lot has been mentioned on the internet (how to fix it), but none seemed to work.
I even recompiled everything :(
No.

The platypus is not a bird/reptile hybrid. That is a wild misinterpretation of a genome study which happened a few years back.

http://scienceblogs.com/pharyngula/2008/05/10/the-platypus-g...
Those are not good enemies to make... seeing as though they probably drive well over half of your network's traffic.