skysight-inc/HackerNews huggingface dataset:
robinhood.io has done a pretty kickass job of building hype. You enter your email address and get added to the back of a queue. But if you share (and get other people to sign up) you leap-frog over the others in front of you.

Here's another one. When MeteorJs announced "Meteor Developer Accounts" they sent out an email blast saying "Claim your Meteor developer username". And people (like me) scrambled to reserve the username they wanted before it got taken. I thought that would be a pretty damn awesome way to prelaunch anything that has user profiles / usernames. (Reserve your username in advance of our product launch)
L'Homebrew Channel sbarcherà pure su Nintendo 3DS
ue
> "inner JavaScript classes" are inappropriate for enterprise code. I asked him to explain what he was talking about - he meant my object constructors

I'd guess that he and the product do not tend to use javascript objects when writing code - which means that the code was above his (and the product's average) coding head. This also means that it wasn't the best way for you to code the project.

For a code review to pass, the reviewer should think about the minimum person working on the project and whether they would understand or make guesses when fixing it - or at least know where / when to get help.
HumHub: A flexible Open Source Social Network Kit
Is this just using some vague connection to ride on one of your favorite hobby horses? Or does this have a connection to the article, and I missed it?
If you're weighting by page views, you could get a pretty good approximation by just taking screenshots of the top 10000 or so websites.
Agreed, that seems totally backward from my experience. I notice no justification is given either, apart from describing both refactors (small->large and large->small).
Will it quit? A failed fork() will return -1, which is non-zero thus true in a boolean context. The while(fork()) {...} will run.
That's what I am afraid of. I am very uncomfortable with the culture of conniving and suspicion that seems to be rampant here.
Sigh. Using bullshit to argue against bullshit just leaves the whole world shittier.
If you don't want to run nonfree software on your computer, you can install this and it'll only allow JavaScript to run if its freely licensed or if its very basic and passes the rules of trivial code.

That's the point of it.
¿Por qué?
Well thanks a LOT, John Boehner.
http://www.chm.davidson.edu/vce/coordchem/spectrum.jpg

Orange is near the middle of the visible spectrum.
I'm kinda surprised that the assignment-during-test thing doesn't generate a warning in the case of a switch statement. It does in other cases (if and while do under gcc and clang, at least).
> Incidentally, I'm curious as to why I saw this link on the front page of HN from my phone, but when I jumped on the desktop to comment, I was unable to locate it anywhere on at least the first four pages of HN. Now it seems to be back on the second page.

Yeah, that's happened to me very consistently over the past few months. I'll see a link on my phone in the first 10 positions, switch to my desktop (where I'm logged in) to comment on it, and it has just disappeared from the front page.

Given the frequency at which I observe this, I suspect the mods do this (maybe programmatically, maybe not) with articles that are likely to be "controversial".
Having a TTY stream parser in systemd seems pretty odd until you read the reasoning why[1]: there's already one in the kernel, and having one in systemd means one less thing that has to be in the kernel. Which has some interesting implications.

If you're moving stuff out of the kernel into systemd, then the reason it was presumably in the kernel was because there was a need for it, and the kernel couldn't depend on anything else being around to maintain it. So while the kneejerk "systemd isn't complete until it can send mail" response is incorrect, there IS a very real concern for people who are against systemd here -- if kernel stuff is being moved into systemd, it's because it's viewed as nearly equal with the kernel in terms of being required in terms of Linux. That means eventually, nobody will be able to escape the pull of systemd. (This isn't the first time this has happened, either: a lot of the responsibility for managing cgroups is going to be falling on systemd[2].)

1) http://lists.freedesktop.org/archives/systemd-devel/2013-Nov...

2) http://lwn.net/Articles/555922/
Sure playing fast and loose with "invisible", aren't we CNN?
"Instead of commenting in this thread"
Still a big fan of maradns if you need something simple and fast.

And Deadwood if you just need a resolver cache.
Thank you so much for this. I will start going to meet ups ASAP. I have worked so hard to get into this industry (I am almost completely self taught, no tech degree) and all I want is to work with passionate people who are inspired by my passion. I want to make awesome things and be better than I was yesterday. This current job is so disheartening.
Thanks for your feedback! The forms were built to be mobile-friendly and the iframe should resize to the page width. Something's going wrong at http://contactmetrics.com/contact/ I'll look into it!
If you ever think "this can't possibly happen" then you should go right ahead and add an assertion to that effect.
What happens if your system clock goes backwards? I think that NTP will not do this by default, but I wonder if it happens for other reasons.
Your phone can be snooped on via gyroscope
Stevens and Rago, "Advanced Programming in the Unix Environment, Volume II", page 211,212.

if ((pid = fork()) < 0) err_sys("fork error"); is idiomatic in Unix.
If your JavaScript were just a bunch of document.write lines, then it'd run just fine, but if you require my browser to run something more complex, it should be a free software licensed program as it's running on my computer and I installed LibreJS to ensure only freely licensed code runs on my computer.

Similarly, you can use Emacs and GCC to write nonfree software, but if you ask me to run it on my own computer, I can refuse.
The name is slipping my mind at the moment, but there's a startup that caters to this exact thing (get free accommodations while traveling in exchange for pitching in at local startups). Can anybody remember the name? Seems like it might be useful for him.
No, because gravitational mass is not the same as (apparent) relativistic mass. I wrote a post on it a while back, but I'm not sure of the protocol regarding comment links.
Indeed. I like using a VERIFY macro:

#ifdef NDEBUG
# define VERIFY(x) ((x), 1)
#else
# define VERIFY(x) assert((x))
#endif

Then you can write

VERIFY(pthread_mutex_unlock(&lock) == 0);

You don't need, however, to consider the possibility of your program continuing to run after pthread_mutex_unlock fails.
Looking forward to my Bitcoins on the Playa!
Well, it could only ever be an approximation because you cannot make pure white light using two wavelengths of light in the real world. Waves of blue light and yellow light (AKAIK) would not be perceived as white by the eye.
I don't want to be negative about this, but TBH I can't think of a webpage -besides Wikipedia- that will work fine restricting non-free JS.

At this point I can't put my faith in web authors, since they could not even take care of prefixing the CSS for non-webkit browsers (not trying to fault the web authors, but trying to point out that prefixes were a less-from-ideal solution that ended up in the -webkit-disaster)... How can I expect from them to license their code with a free license?

On the other side, the awful practices (like using JS for animation, or tightly coupling the site code with the Tracking code) exists in most websites (including mainstream ones).
> Stallman talking about the web is like a Catholic priest talking about sexual intercourse: he has no practical experience with it

Completely tangentially, its quite possible to be a Catholic priest [1], have never violated any Catholic teaching or discipline, and have practical experience with sexual intercourse. Catholic priests can't get married, and men usually can't become priests in the Latin Rite if they are currently married [2], but widowers can be ordained priests in the Latin Rite, and married men can become priests in the Eastern Rites.

And, in any case, even in theory, becoming a priest doesn't require one to never have violated teaching on this (or any other) point before so doing.

[1] in the usual sense of a "priest in a church in union with Rome", not extending that to breakaway or never-in-union churches that might have "Catholic" in their name.

[2] But there are exceptions to this rule.
Maybe they realized RMS was right before finishing their paragraph? ;)
> The "well-functioning" process, to the extent it exists,includes the same features -- things are introduced by a vendor and proposed for standardization, but generally do not become standardized until there is uptake in the wild of the implementation.

True, but also one vendor does not ship the feature in a unilateral way, in opposition to all the others.

> And, to the extent processes exist that didn't when JavaScript emerged and are even arguably "well-functioning", they apply largely to modifications to existing core web technologies (particularly HTML and JS), and not to new alternative or supplemental technologies, where, to the extent that processes exist, they are largely similar to (or exactly the same) processes that were available when JavaScript emerged.

True to some extent (most standards work is incremental), but also entirely new web technologies have arisen through the standards process, such as WebGL and WebRTC. New web technologies can be added without unilateral and controversial action.
Publishing Your APIs To Product Hunt
Somewhat OT, but in the same neighborhood:

Standard file handles are another thing you should not assume are there (though I'm not sure how to test for it programmatically).

We once had a user that, for whatever reason, tweaked their Unix installations to not pass an open stderr to processes - they just got stdin and stdout (that is, file handles 0 and 1, but not 2). If you wrote to stderr anywhere in your program, it wrote to whatever was open on handle 2, which was not a stderr that the OS passed in.

Yeah, that's a pretty insane thing to do, but somebody was doing it...
Thus the falseness of the article title. The title suggests that terrorists can take over planes using these methods, which is not the case.
Is taking him out for a beer an option? I'd recommend nipping this kind of thing in the bud as quickly as possible; or it'll just spiral out of control.

If you can: be diplomatic, take him out for drinks after work one day and have a heart-to-heart. He wields a significant amount of power, and it'd be in your best interest for him to like you alot.
DemocracyOS
Careful, in many cases C will happily automatically and silently coerce unsigned values to signed values for your check if the types differ. Some functions may be actually intentionally returning numbers that large indicating success and your program might be invoking error handling code assuming a failure.

There's no good substitute for reading the RETURN VALUE(S) section the manpage for every function and testing appropriately.
I remember seeing a talk at RSA a couple of years ago about the plausibility of the "Italian Job" type attack, where they make all the lights green and cause everyone to crash.. they said that sort of thing was impossible because there is a mechanical switch that prevents both lights from being green at the same time.

So at least an attacker couldn't cause those sorts of accidents, even if they could totally mess up the system.
Awesome invention. If they can make it even less intrusive people might start wearing it in daily life. Not sure how to feel about the "Chairolution" slogan, though.
Thank you for that feedback. These are the kinds of thing I can't learn on my own. There is absolutely no formal code review, much to my surprise; in fact, the closest thing to "process" here is to push to UAT as fast as humanly possible. I would love to work in an environment where I felt as though I were actually learning from my coworkers and from the process.
Not sure how this fits in with the competing "brogrammer" model of hiring where applicants must be racially, gender-ly and culturally a clone in order to get hired.
Whenever I read of messiah delusions I'm reminded of this short story:

http://squid314.livejournal.com/324957.html
If you're relying on this one feature to detect counterfeits, that's a bad approach. Magnetic ink has been available for years to print onto fake checks (the account digits are MICR -- not just a pretty font)

Side note: One of the techniques that check kiters used to extend the float time was to erase the info encoded into the magnetic ink, which meant the routing & account numbers had to be typed in by hand at the processing center. The introduction of character recognition software means that technique is no longer usable.
Firebase is great for building real-time apps, and it uses a tree topology to model data. Fundamentally, we are using a graph topology to model data which has some interesting upsides, for instance, data denormalization is not needed.
Did you try Import.io?
Or Arbel (YoAPP) “Got BEST job application in the history of best job appli
Being a company that's large enough to go public makes a company significantly less agile. But of course, I'm totally shocked that a venture investor would argue for companies doing things that benefit venture investors.
If it creates warnings, you can silence them by adding extra parentheses, e.g.,

if ((buf = malloc(buflen)) == NULL)
goto outofmemory;
I'll have the envelopes signed, sealed, and ready when I arrive at Burning Man next week.
Yeah, I was hoping for rides request, I have many ideas with Uber and the TechCrunch Disrupt Hackathon would been a great place to make one.
Very nice, and I love how it's github-centric (and you could incorporate it into your workflow).

OP: whaddya think? Is this trending in the direction you were thinking?
Here is a possible explanation: most digital camera makers tweak the color balance towards warm rather than cool or neutral because consumers prefer that.
How is it not true? Besides void expressions (which aren't values) the above poster's statement appears correct.
It's not an issue. I've noticed dart2js performance is as good as hand-written js.

At least with dart2js I have just one "VM" to target - Google have sorted the x-browser issues for me. Imagine the peculiarities you'd find in Microsoft's implementation, for example.
not yet, but we agree! Integrations are something we're working on. I just started a discussion thread for suggestions: https://opstarts.zendesk.com/hc/communities/public/questions...

Thanks for the pricing feedback, I like those suggestions. We're currently evaluating pricing and will have some updates on launch pricing soon.
> but also entirely new web technologies have arisen through the standards process, such as WebGL and WebRTC.

WebGL and WebRTC are JavaScript APIs, not alternatives to core web technologies.
2 fds per thread works well. Unfortunately, this means you hit select's performance problems twice over, since the performance scales with the maximum fd you pass it, not the number of fds. But as long as that's OK for what you're doing, it's a nice way to arrange things.
Looks very slick, nice design.
Whoa there. As a past inpatient of a psychiatric hospital, I can tell you that respecting the human rights of patients is the number one area of failure of the psychiatric "community". As such, increased respect for the human rights of patients is not to be sneezed at.

As far as benefit to science is concerned, things don't look good on that front. Psychiatry is essentially a state-sponsored pseudoscience, concerned far more with normative behaviour and social control that with understanding mental illness. It's an unpleasant field to work in, with the result (I suspect) that only the stupid or unfortunate in the medical professions end up there.

(Richard Bentall's books are a good place to start if you want a balanced, "evidence based" and intellectually rigorous perspective on the field.)
Does Thor Qualify as a Disney Princess?
There's lots of things they could have done. As I said elsewhere, this wasn't my code,
The market value of labor, relative to other goods.

Also see the book "Two-Income Trap", it basically describes how households didn't become better off from making both partners work, because that just bid down the price of labor relative to housing and education. Everyone ended up in the same position as before, but now they work 2x more and cannot opt out. Also the non-working partner in the family provided a safety net because they could start working if things got rough, and now that safety net is gone.
> How can I expect from them to license their code with a free license?

Some examples of JavaScript code under a free software license:

* jQuery

* extJS

* Handlebars

* Backbone

* Angular

* Ember

In fact, pretty much any JavaScript library that people are using. Then you have stuff like node, which is being used extensively on the server -- also free software.
Possibly. Excluded benefits like health insurance? The cost of which has skyrocketed over the last 1-2 decades?

Makes sense.
Guest Blog Content Wanted
Or that you're the child process when really there's an error, which might go undetected longer.
Coinbase is legitimate. The vast majority of the company's Bitcoin stockpile is stored on hardware encrypted offline hard drives.

I think Coinbase could thwart off a targeted attack, with the worst case being an interruption in service due to DDoS. It is far more likely that an individual account is compromised by an attacker who learns the user's password. Coinbase mitigates the impact of this scenario by:

1. Forcing all accounts to use two-factor authentication

2. Providing users with a vault that provides additional security options. It's meant to hold the bulk of a user's BTC, similar to a savings account at a traditional bank. Withdrawals are subject to a 48 hour delay and can be configured to require multiple co-signers.

The time delay accomplishes two things. One, it prevents an attacker from instantly draining a compromised account. Two, it provides Coinbase with ample time to retrieve the BTC from its offline storage (it's a sign that they're telling the truth about their massive offline storage strategy).

More info on vault can be found here:
https://coinbase.com/vault
Fish playing Flappy 2048 - https://news.ycombinator.com/item?id=7431047
I was originally going to comment saying exactly that — under gcc and clang, at least, just the extra parens will disable the warning; no comparison necessary — but thought to test that the warning is generated in case of a switch statement (and is then disabled by the extra set of parens), which led to realizing the behavior is different.

Just surprised by the inconsistency.
Strange, I can't repeat the results on various folders I have.

I wrote a quick little (slow) Python script to compute a blended photo: https://gist.github.com/williame/92c7179d0963553d605f

If a folder has some theme, such as a folder I have of a boat regatta, I get an average picture that looks as you'd expect. So the code seems to average correctly.

If I run it on a bigger assemblage of photos, I tend to get a uniform gray though.

What am I doing wrong?

(I encourage you to try yourself!)
And you could say the same about 32 bits when the NORD-5 was introduced.
Do I have to login to comment on this? This is a bit annoying.
I attended many of these events. IMHO, these events are practically useless like what mighter said.

I am a business founder with slight knowledge about tech. Being a business founder, like mighter said again, it's hard to sell the idea to tech founder unless you prove yourself. Rather than wait for the right person to come, I decided that I bootstrap myself and launched the site.

I am still looking for that one CTO because I want to apply for incubator (ycomb, techstarts, 500 startups), but now having a fully 100% working site and some early traction, I hope I am able to attract a more credible CTO or other type founders.

If anyone here (CTO, CMO, etc) is interested to find out more, please email me at (there are 9 6's in the email)

guest666666666@gmail.com
So you will block all algorithmically produced content (think of web art)? This is, what I would consider an inconsistency.

Even the greatest original text services, think of "In the Beginning was the Command Line", which is served for free, are still copyrighted texts, and this is ok. If you think of a medial form that is genuine to the web, you probably wouldn't go without any algorithmic aspects, and JS is of all solutions for this still the most open one. (The source code is open and free for any one to inspect, even if it is not open sourced.) But JS, especially on the client-side, is more than just a tool, it's also a mean for expressing creativity, with all the potential of being/producing a text in its own rights.

This boils essentially down to, if you need algorithms, let go of any content.

Edit: I may note that I've done some (even awarded) web art myself, and I'm not making a cent from it. But I would be disgusted to see this copied from the very first minute something goes viral and see it served with ads plastered all over in some crude, barely functional fashion (since the copyist would be only interested in making some quick cents and not in the quality and preserving its aspects as a work. And I'm speaking of real cases here.)
Hey buddy, keep the Ferguson comments over at reddit. This is a tech community.
Welp, we're always looking for front-end devs. http://www.tapad.com/about-us/careers/openings/
Why does that explain why plants are generally green? If you had told me that the energy peak was at X wavelength, I would have guessed that plants absorbed most of that wavelength in order to not be wasteful rather than preferentially reflecting that wavelength.
But it will stop when fork returns 0, i.e. in the child processes, making it non-exponential.
I built/launched one of those co-founder networks a few months ago (itchwork.com) and I ended up completely abandoning the project, in favor of Angellist (angel.co). They're killing it in this space, and they are the only platform I've personally had success on.
Some of these tech investments boggle my mind. Not because of the actual valuation but because of the responsibility of spending $100M wisely and getting at least a $300M return. It's an immense amount of pressure to put on an organization. I guess I can understand it in this case, where network effects will be the key to success and marketing can get them there. But wow, talk about a huge risk.
What about privacy of the data? Where is it going? Is it stored encrypted?
If I was accused of plagiarism, I'd start making plans to leave. I don't say that lightly; this might, I think, be the first time in my overlong time on HN to give that piece of advice.
Except that exceptions and non-garbage collected languages don't work that well toguether.
A null pointer does not need to have an all-zero representation, which mattered once on some architectures. I'm not aware of any current architecture that does it that way, but that's still what the standard says, which is to say that C does technically have a notion of null which is not necessarily identical with 0.

http://c-faq.com/null/machexamp.html
Smart Cap – DIY Head Mounted Display Project