skysight-inc/HackerNews huggingface dataset:
Great feedback regarding the conversion rate. We actually went down the road of building both an iOS and an Android version out of the gate but found that the Android platform seemed fragmented. With hundreds of different devices all running everything from 2.x to 4.x, it seemed too complicated initially to do it right.
Ah this just made my day! :)
That's the main reason? So is their goal to ever have more users, or to just devolve into these developer arguments that 99% of users seriously don't care about?
I can already think of a few great uses for this. A few weeks ago I had a friend come into town for San Francisco Beer Week and ALL he cared about was finding which bars carried Pliny the Younger (it's won "Best beer in the world" at least once). There was no easy way to do this.
Have the blatant security problems been ironed out?

http://bitslog.wordpress.com/2012/11/30/bitmessage-completel...
Fujifilm Develops Flexible, High-Reflectance Mirror
Java Multithreading with Executors Demystified
Big Data is whatever you want it to be. For the VC blowhards around here, it is happiness, wealth, a solution to world hunger, and a bikini model with DDD boobs that loves old nerds and doesn't get them thrown in jail for drug trafficking.

But for people who actually work with it regularly, it is typically a constraint that manifests itself in the form of impatience. I could process petabytes of data using AWK, but if I can't wait that long, I will end up using Cascalog on a cluster.
Miami, a Tech Center?
Cryptographic Primitives in C++
I have had substantial experience with both of them, and while the effect is similar, the feeling is not. In my experience, cocaine has a stronger euphoric component than d-amp. Adderall makes me logical and emotionally detached, while cocaine makes me feel like I'm on top of the world.

I think the reason for using the substance could be coloring my opinion of the experience, since I use adderall to get work done, and when I use cocaine (not often, maybe once or twice a year. I did a decent amount of blow when I was doing opiates heavily), it's almost always in a social setting.

I will grant that the pharmacological effects are very similar.
I've been neglecting my ADHD for two years now and I finally set up an appointment. I keep having the same high and lows and the cycle doesn't stop and it doesn't feel right conforming but I'm going to try the pills anyways and see if it helps.

It's nothing that I worried about but I didn't want to keep neglecting suggestions and missing an opportunity for something that can turn out to be a benefit that increases the productivity of my lifestyle.

Sometimes that's what it takes, the only way you'll figure out if you don't need them is by trying them out.
Not only trust, but honesty. It's a lot harder (I would wager almost impossible!) to operate in a flat organization without everyone being willing to both be honest and receive honest criticism.

The company I work for is about 30 folks strong and there are, for all intents and purposes, only two levels of hierarchy. It could probably sustain being completely flat, but I'd fear that it'd fall apart relatively swiftly due to people being unwilling to both bring others to task and be brought to task themselves.

Plus, there's something to be said for decision by committee severely obfuscating progress if consensus can't be easily reached.
Looks great (and I live in Austin, so recognizing some of the places was cool!) but I only have an Android phone. Would love to know if you make a version for it.

Is the data for this app user-submitted, or do you pull from somewhere?
Let me get this straight. You think that if it were allowed to build on every square foot of HK, that there would be no housing problem in HK? What additional problems do you imagine would be created by the paving-over of every unit of land?
Currently, all of the data comes from the users.
I am almost certain the pointer aliasing thing could be fixed by providing the proper optimization tag at compile time. I remember back in introductory systems classes, we saw mind boggling optimizations from GCC at O3 - the pointer example is so trivial it must be optimized by the compiler!
>Because having long bash scripts

Has nothing to do with BSD style init? No part of the system should be either long or bash.

>it's own daemonisation in weird and wonderful ways is redundant and inconsistent

Calling daemon() is not that hard.

>and makes making something a daemon frustrating

That doesn't even make sense. People writing shitty software that should be a daemon but isn't makes that "frustrating".
Consistency, simplicity, and a pretty sparse range of WTFs. No language is magic...Lua is just more pleasant to work with.
I personally think #2 (Rubber Stamp Syndrome) is the most problematic long-term, since it doesn't have a readily-visible, actionable way to fix it (our entire upbringing and society around us reinforces it).

I hoped that this HBR article would have addressed ways to resolve rubber stamp syndrome. Alas, no.

I am consistently disappointed by the (poor) quality of ideas presented in "HBR Blog" articles. I stopped following the HBR twitter account after a few weeks since all the links I was clicking were links to HBR Blogs and every single one of them disappointed me.
Pills are just one part of a solution. Proper framing of your routine is important. Goal-oriented training is also good. Lack of focus is our dilemma. Everything that gets us on a track and keeps us there is beneficial.
localStorage doesn't clear when the browser exits so it's a security issue in some cases. Look at sessionStorage instead in that case.
I feel like this video just points out how technologically infantile and uncultured Miami is in comparison to other cities...
Mortgage debt, or more precisely, home ownership, locks you into expensive maintenance on an asset that is expensive to get rid of. You can't just downsize your house -- all the benefit gets soaked up in transaction fees.
Please, if I was motivated by the expectation of something in return I wouldn't have mailed you.

If you are going to do something, start small, theres nothing worse than creating a huge obligation to yourself that you can't fulfill.
> As for crime, there is no evidence that low inequality causes low crime rates, or the opposite.

This study disagrees: http://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s...
HBR, like many orgs, uses "blog" as its down label brand, like Gap uses Old Navy and Intel uses Celeron.
You can only optimise if you know that it globally isn't ever passed the same, which won't be the case at compile time, as a separate object may be linked which does provide x==z.
I'm amazed at how far the linux world has fallen in the last decade. It is now "normal" for people to run an extra layer of buggy crap software to monitor their buggy crap software and restart it when it crashes. Rather than the long standing unix solution of not using buggy crap software that crashes constantly in the first place.
Great idea.

Doesn't seem to work in Chrome on iOS?
AFAIK most Java plugin exploits are based on a myriad different and arbitrarily involved ways to break out of the applet sandbox. The confirmation dialog should stop those completely.
Ask HN: Where are all the mobile Linux distros?
We have seen enormous proliferation of community-driven Linux distributions for desktop systems and servers, but almost none for mobile systems (phones/tablets). Why?
And your rationale is why we have consumer protection laws: because that behavior is bullshit and cannot be accepted by a reasonable society. It cannot be acceptable to sell one game for $60 that works in perpetuity and one for $60 that gets the plug pulled after two or three years.

Shame that those consumer protection laws are toothless.
Can all products be measured according to just 3/4 metrics? Are there any examples of tech products out there we use today who we can't?
You are gonna get all Rambo wannabes with tanks, IED proof vehicles and drones trying to act soldiers while arresting grandmas over not cutting the grass.

I use grandmas to highlight the fact that most arrests, by far, aren't of the Al Qaida or Mexican drug cartel member caliber
Good points in good analytic terms, yet to persuade people I'd try to show them an example, to make it real. For example, Here's a brilliant (data-driven!) example of why Sociology is also worth your time: http://www.psmag.com/magazines/pacific-standard-cover-story/...

I wish people would realise that data does come in more forms than just numbers. Numbers are useful, but the social and human sciences have much to teach even when their data is less statistically amenable. Some people are afraid of anything that doesn't have stats in it, and that is their loss!
What!? No mock classes?
Static analysis should be used regularly (recheck Clang)
Vouchers without controls drive up prices, becoming a transfer from govt to landlords.

Public owned housing is the answer.
I haven't had a problem with it. If you want to index from zero you can just do

arr[0] = n

and write your own for loops, e.g.

for i=0,10 do print arr[i] end

The only catch being that the length operator (#arr) will be off by one.
"In every age, in every place, the deeds of men remain the same."
Looks like Lua 5.3 will have an integer type.
The primary caveat with this approach is race conditions due to lack of locking. Note the "Issues" section in http://www.w3.org/TR/webstorage/ which says:

"""
The use of the storage mutex to avoid race conditions is currently considered by certain implementors to be too high a performance burden, to the point where allowing data corruption is considered preferable. Alternatives that do not require a user-agent-wide per-origin script lock are eagerly sought after. If reviewers have any suggestions, they are urged to send them to the addresses given in the previous section.

More details regarding this issue are available in these e-mails (as well as numerous others):

http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-Sep...
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-Dec...
"""

So as long as you don't need transactions/locks across the shared state, this might work. Of course, transactions/locks are often necessary.
Ask HN: Does it mean those good at competitive programming are good programmers?
I have seen a lot people investing too much of their time in competitive coding, but does it necessarily mean they are better programmers than those who don't do competitive programming. I have observed that to a large extent the set of open source contributors and those who do competitive coding form non-overlapping sets.
They could set up an emigration plan to somewhere less crowded.
Wouldn't this relationship only exist on earth (to be exact on surface of earth)? Unless we redefine 1 meter of length depending on gravitational field on every surface of planet/star...
Thats even worse
Half of Destructoid's readers block our ads. Now what?
Off the top of my head - No. I cannot think of any products which would require more than 3/4 core metrics.

Each product should be measurable by 3 to 4 metrics max. If there are more metrics which are considered "core metrics" it will be very difficult to ascertain how its exactly impacting your product, to detect how change in one metric affects another will become too complex. i.e. metrics have some sort of relationship between them.
Further irony: Paypal options haven't been very easy or full functioning for Kickstarter projects and siphon off a percentage that could go towards innovation.
The Bible catapults History channel to #1
I used to use Google Tasks, and then that became a data dump of information and ideas of what to do next (personally) and what to do next (business wise) on top of what to do next (on specific projects and different projects). Then I switched to gqueues, then some other to dos that I don't remmeber, I think the standard one that comes on the iPod and other ones..the last one I used was any.do + some sort of combination of things to read with evernote.

They (any.do+evernote) are still the same data dump and nothing really beats off my current set up which is simply google calendar, post it notes on mirrors and walls, behind doors and other places. That's the reminder and keeping in focus part. What I'm really looking for is a Google Glass AR app to visualize statistics and basically the game of life and to have it in my field of vision at least turned on every 15 minutes throughout my whole day.

It's funny that people with ADHD, or any other mental condition are more prone to accept transhumanistic technology without worrying about dehumanization.

I'm completely fine walking with a Vegeta-like scouter to stay on task. Eventually it'll become habit, like the post it notes.

I can also completely accept some sort of solar powered tattoo, in the shape of a watch or anything that'll allow the tattoo to create a hologram, that beams like a simple pager of my next thing to do, powered with an API transmitted through my phone through Bluetooth.

You know one of these days I'll tackle funding a project that helps ADHD people with different ways of learning and tackling tasks.
So to clarify, you are stating that U.S. citizens should lose all right to due process the minute they step off U.S. soil? Or do you believe that any citizen deemed an enemy combatant can be killed by the executive on U.S. soil as well?
Checkout http://www.drinkowl.com/ if you haven't already.
Oops; I was assuming all the games on Origin were EA-owned-studios. They probably will only allow EA studio games.

The Sims is the obvious one; if they give away Sims base games to everyone who bought SimCity, they'll probably see something like $30/user lifetime purchases.
sessionStorage won't work across tabs. You have to encrypt sensitive data; I use securecookie [0].

[0] http://godoc.org/github.com/gorilla/securecookie (Go)
>we need frameworks to implement the same http kernels so we can plug any middleware no matter what the lib is , that's very important.

This is great news - it means PHP is going down the same route that very nearly lead Java to its death and still makes it the laughing-stock of the Dev world. PHP does not have this much traction with enterprisey enterprises, so following Java here probably means PHP is heading for a painful and ugly end.

"Good news, everyone" - Prof. Farnthworth
Resources for depressed hackers are pretty poor.

For hackers suffering from depression, please don't resist getting help because you can't find resources specifically for hackers.

In the case of support groups, it's nice to be with people who share a similar background as you. But I think you'll find that the shared experience with depression will massively overcome what shared experience you lack on the job or as a hobby.

Please get help. It's not an exaggeration to say it could be the difference between life and death. The path downward is often a long, gentle slope. While you're on it, it feels like flat ground. You don't realize you've hit the lowest elevation until... well, you just stop walking.
In Bulgarian we often call it that way. Also, their National Football team - Eire, without exception. I thought it's an abbreviation EIRE, but now I see it's not. Interesting :)
Still sounds dangerous to me. It's possible to execute code from CSS! https://code.google.com/p/browsersec/wiki/Part1#Cascading_st...
Untappd already has critical mass in this space though so hard to compete...
um you do know how to calculate % do you this is effectively adding 30% tax free to the base you do not get taxed at 52% on all the rest you still have the tired tax rates as well as the 30%

And by that time id have moved back to the UK :-)
I guess it depends on what you mean by "relies"

Using a single dimensional array as a 2 dimensional array relies on zero indexing.

index = y * width + x
array[index]

Using modulo to covert an index back to 2 dimensions relies on 0 indexing

x = index % width
y = index / width

Skipping a prefix in a string.

prefix = "ABC"
string = "ABCdef"
unprefixed = string[prefix.length:]

I'm sure there are tons of others. Yes, you can add 1 or subtract 1 in the right places. That's the annoying part of it though.
Why are actual parameters called "arguments"?
Hi! I am really glad to read this. I remember your first post, and wanted to send you an email, but felt that I didn't have much to say and finally I didn't send it.

If you want to give something back, I would suggest to post what you did to beat your depression, it will probably help someone who goes through a similar situation.
A very enjoyable option for history fans is http://www.reddit.com/r/askhistorians, which keeps very high standards for the authority of their responses.
"It's been a year since we've filed for bankruptcy and we're still there." - I work in a company that strives to follow such a model, and it honestly struggles to achieve the kind of efficiency most companies take for granted. I dearly hope it doesn't lead to that end, but from what I can see it's a distinct possibility.
Hi there - I am happy to see you assert yourself and come back to the community with such a positive voice. Thank you for being open to the attention people have given you. Don't worry about giving back, but look forward to it. The idea will come to you and you will know immediately that it is the right one. Believe in yourself, and keep f*ing hacking.
MongoDB Docs down?
One thing that could be a big factor in their favor that such a claim could be credible, is that Valve is privately owned. While that doesn't necessarily mean that greed won't rule the day, but it does mean that if the company leadership prioritizes something besides fiscal performance as it goes through its death throes, it won't be considered criminal negligence.
Thank you. I was impressed with how few lines of code were needed to use the API, always a sign of a well-designed system.
It also limits the geographic area that you can look for non-telecommuting work.
It wasn't his natural trait, his line with women was something he learned young. He was doing this entirely consciously.

http://www.roberttwigger.com/journal/2010/9/16/richard-feynm...
> Mozilla estimates a best case of 2x slower than native with asm.js

No, it's ~2x slower with the early prototype. It will get significantly faster than that.

> a proprietary runtime

The asm.js optimizations being worked on in Firefox do not match any definition of "proprietary" I ever heard. All the work is done openly and is open source, and that includes the spec, the Firefox optimizations and the emscripten support for asm.js.

> That's a ridiculous waste of resources, especially on battery-powered devices.

~2x slower than native is not optimal, sure. But it is in the same range of things like Java and C#, popular languages for mobile development (Android, Xamarin/Mono, etc.). And again, 2x is the starting point.
Yes, it says the service is down.
All web solutions use pluggable middleware ( Ruby Rake , Python WSGI , NodeJS Connect ). So PHP getting some abstraction is JAVA-ISH ?
For me, mousing has been consistently and terribly painful. I bought a right-handed Evoluent mouse (I am right handed) and it worked wonders, until a period of particularly intense mousing, at which point I bought a left-handed model.

Now, I primarily use the left-handed Evoluent mouse. During periods of intense mousing, if I start to feel pain, I'll switch to the right-handed Evoluent mouse for a week or two.

You mentioned wanting a mouse which put your hand at an angle in between a standard mouse (horizontal) and the Evoluent mouse (vertical). Is there a particular reason for this?

I ask because I've found the Evoluent to be incredibly comfortable. Besides which, a vertical orientation most closely emulates the position your hands would be in when you are anatomically at rest (standing, with your hands hanging down at your sides).

As much as I love the Evoluent mouse, I still feel that eliminating mousing from my computer use is the Right Way to address mouse related pain. Treat the root cause, not the symptoms, as they say.

I basically use keyboard shortcuts for everything. The two parts of using a computer which I found most difficult to control with a keyboard were web browsing and window resizing / management.

For web browsing I stumbled upon Chrome + the Vimium extension. It has non-chording key bindings for switching tabs, moving around on the page, following links, copying (yanking) text, etc. Basically, Vimium adds Vim-like keybindings to many common browser tasks. Find it here: http://vimium.github.com/

For window resizing and management, I use Moom (it's a Mac application). It is fantastic. You can setup key bindings to resize a window to a preset dimension, among other things; but that's what I use it for primarily. I have 3 key bindings that I use all the time: 1) full screen, 2) two thirds on the left side of the screen, and 3) one third on the right hand side of the screen. Moom is here: http://manytricks.com/moom/

I've also become aware of Slate for window management on the Mac, which looks amazing, but is a tool of the large investment / large payoff sort, and I just haven't had much free time lately. Slate is here: https://github.com/jigish/slate
How is the title sensationalist? It describes exactly what happened.
I would take a M60 (which was a crap MBT when compared to the chieftain) against customer T55's which is efectly a tweaked late ww2 tank.
That's a great answer - the impatience part!
They changed ipairs around a couple times. It's currently in.

Either way you should be using not-pairs. If you construct a table in a weird way you can end up with pairs going out-of-order. ipairs works fine, also "for i=1,#t" works fine.
Reading the comments here, I wonder if most people read the article all the way down to the paragraph that begins: "Frampton’s long-held defense"? I don't want to spoil it, but would highly recommend reading the entire article before forming any conclusions.
Yes, there are potential security issues with this, but as with anything in the browser you need to think through where your secrets are held. A similar issue comes with setting an expiry time of a few hours on a resource to let the browser cache it, so it's something web developers have been battling against for years.
Just wanted to clarify: it looks like you _can_ set different key bindings for screen brightness in the Mac's preferences. I can't find similar for volume controls though...
And how do I do this if I don't control the server? For example there's all these samples being served off of github.

http://mrdoob.github.com/three.js/

AFAIK there's no way to specify a header from standard HTML and it's highly unlikely that most people will have access to the servers that serve their content to set these headers on a per file basis
Meet the Talking Shoe : Google Debuts ‘Talking Shoe’ Concept At SXSWi
As I understand it, Gecko has significantly lighter resource demands compared to Dalvik. Andy Rubin himself, speaking on FirefoxOS, has said that there are simply places where Android cannot go.

Cite: "There are places where Android can’t go," [Rubin] said, referring to memory and other hardware requirements. Firefox can help reach those. "For certain markets, it makes sense." [http://allthingsd.com/20130226/googles-andy-rubin-on-firefox...]
What Teens Get About the Internet That Parents Don't
http://www.nowykurier.com/toys/gravity/gravity.html
Google style is probably http://google-styleguide.googlecode.com/svn/trunk/cppguide.x... , Chromium http://dev.chromium.org/developers/coding-style
http://caniuse.com/#search=localStorage needs another column.

I was intending this to be a "nice to have if it works", rather than essential to my app. But do people really use multiple tabs on a single site that much on mobile devices?