skysight-inc/HackerNews huggingface dataset:
What they really ought to do is do away with MOTOBLUR (and merge anything salvageable from it back into Android proper) and then concentrate on making first class hardware running stock Android. All the other manufacturers are afraid to do it because they want to "differentiate" their products, which ironically leaves a huge opportunity for someone to "differentiate" by using stock Android on excellent hardware. People love the Nexus devices. Make a whole line of devices running that software under the Motorola banner and they've got a good hook into returning to profitability, meanwhile eliminating the development cost of redesigning the UI solely for the purpose of being different.
> The falacy [sic] of success

Translation: The fallacy of thinking one can correctly type a submission title.
RG couldn't do anything while using Heroku's load balancing infrastructure (well, other than rewriting their app to be more constant in performance).

A third-party could do a load balancer entirely outside of Heroku or even AWS, feeding sessions in based on feedback from the application ("intelligent routing"). Heroku even offers a way to bill for that kind of thing. You can open outgoing connections from each dyno and then load-balance over that.

Doing it with ELB would be possible I think, but I don't really like AWS ELB. I think it would make the most sense to do near US-East AWS, but arguably a CDN type service could do it from many locations. Being closer to users (as long as your connectivity to US-East/Heroku is still good) helps performance more.
I don't think most people start off with the goal of creating popular software. People who end up making popular software make something they themselves need badly and they excel in their work. It just happens that a lot of other people also have the same need.
You jest, but pluggable HyperCard could have been one of the very few interesting things to come out of OpenDoc.

... Or not. I'm not sure there's anything that could have saved OpenDoc, but QuickTime itself did have broad plugin adoption for a while there.
have you searched your browser history?
As someone that you corresponded with a bit I am glad to hear you got help and got your problems sorted.

I want to share a bit why I wanted to help with the rest of HN. I throughout my life thought many ailments were my "problem", ranging from simple depression, bipolar, alcoholism, drug dependancy and tried the methods successful for each one to "cure me" to no avail.

A couple of years ago however a psychologist gave me his opinion of ADD. Just simply knowing what it was has helped me enormously. It gave me a set of tools to fight the issue. It turns out that all of those other things were epiphenomena of the ADD, parts of the vicious cycle of the upswing when you start seeing the light, elation with a new achieved high you get from some measure of success, followed by the eventual downfall and depression when you see that you are still not making headway. This cycle would repeat and still affects me a bit.

In my case what helped was a stricter regiment of food supplements (especially D, Omega, B6, B12 and calcium) and using Mountain Dew (yes, I know it's a horrid substance) to elevate myself in the afternoon. This coupled with Mindfulness meditation allows me to stay relatively productive. I'm in the process of getting medication for ADD after reading Flower for Algernon and realizing that refusing medication is akin to Charlie refusing the operation (read the book if you haven't, it's remarkably well written).

Before this realization and change in behavior I was flunking out of CompSci @ University. After that change I managed a whole year of full coursework and graduation. I managed to get a job and am managing to achieve the goals we (me and my boss) set for my work.

My point is: You might think you have a specific problem but in reality you might have another problem, but the symptom is what you notice. ADD should really have been obvious when you look @ my life a certain way (having studied everything from medicine to economics to accounting to philosophy and finally CompSci). I had seen many professionals and only one of them hit the proper diagnosis. The funny thing was once I knew the problem, I had tons of tools I had learned about elsewhere to combat it and the only reason I think he was right is that the methods worked!

One of the things that keep me focused is helping others. It kinda gives me a good reason to maintain myself in fit spiritual condition (agnostic, spiritual here simply means connected with my fellow man). A friend of mine is graduating this spring and he tells me he wouldn't be, if I weren't helping him with his maths. Once he graduates, I need to find someone else to help. It gives me strength to know that the help I received, I can pay forward. I'm glad far_far_away is doing that too.
They seem to have fixed most of the performance problems in the last couple days. Still not sure why they couldn't have done this correctly from the start, but it's at least not horrible now.
You shouldn't read too much into the assembly output from any particular compiler (except maybe dmr's for the PDP-11), but the de facto standard command line option "-S" will cause a *nix compiler to generate a ".s" file containing assembly rather than a binary.
True, but if you hear that folks are having concerns with item X, and you see you have item X, then you should make sure you know why you have it.

Hell, I'd consider that to be extended to non computer things, honestly.
there's a lot of stuff in PHP that bothers me...mostly consistency of function arg orders and function naming. but this has to be the one that really drives me up the wall. i cannot believe they choose to maintain this broken implementation because it's defined improperly in the spec. just yuck.
The Gambling Machine Puzzle
Show HN: an app I built to help you find great beer
Those have been deprecated, you really need to be using the real_ksink functions.

Be careful, though, the argument order swapped.
I wonder how much lacking a privacy policy / data use policy hurts signups for something like this.
Lists in Lisp, objects in Smalltalk, arrays in APL, stacks in Forth. Lua keeps first-class company.
3D Printing and the Future of Naval Logistics
Got it, thanks. More detail at [1] mentioned by gingerline above: "the secure flag does not prevent a cookie from being overwritten. In fact, a HTTP site can overwrite a cookie with a secure flag, as long as the domain names are related appropriately. The secure flag provides confidentiality protection but not integrity protection."

[1] http://security.stackexchange.com/questions/12412/what-cooki...
1) find or buy at least one heroku.com subdomain

2) PROFIT

3) MOAR PROFIT

4) EVEN MOAR PROFIT
I love it.

And I hope that after all the types of fad programming (that work almost as good as the fad diets) we will get to the "common sense programming" - use the proper tools and scale for the problem and don't try to fit the problem in your tools and frameworks.
Not only that, it was total self interest! They're a corporation after all.
I'm not sure about that. Not using "restrict" properly can lead to extremely hard-to-diagnose errors which can only be resolved by reading the generated assembler. I've seen several C programs that use "restrict" everywhere as a magic "go faster" device without understanding what it means...

The automatic conversions in JavaScript and PHP seem pretty harmless by comparison.
It's really annoying when you're working with JSON though. I've used some Lua libraries (the OpenResty stack) where it's close to impossible to generate "[]" because there's no difference between arrays and hashes (and thus an empty table gets converted to "{}").
Always online as well?
;P
iOS and console piracy is in no way "rampant". It is possible. It is not mainstream. Most users don't pirate on those platforms, although those who do probably pirate a huge number.

PC game piracy at one point was fairly mainstream, but then installing PC games at all ceased to become mainstream.

Music and porn piracy is mainstream; streaming services sort of prevent that, at the cost of destroying revenue for creators/distributors. Movie/TV are probably at the tipping point (youtube and netflix helped a lot).
I've found a co-founder I wanted to find just searching the list and sending a message!
Wow, I didn't know about -S option, thanks for the tip! I know it may not be optimal assmbly code, but that's still interesting code to read.
This is very helpful, thanks! It's interesting to see how many 'near misses' there are in the new solutions (e.g. butterfly_1) -- a point that wasn't clear to me from the original plots.
It's interesting to talk about the ethics of this sort of thing because the rabbit hole is very deep.

I think it was P.T. Barnum who can came up with the idea of making customers walk though the gift shop to exit his circus. I think of that every time I walk though an airport that does the same thing on entry or exit from its international flights area. That's an example of user interface design, isn't it?

And, what about the process of automobile sales? For nearly a century buyers have gone through the ritual of negotiating with a sales person who goes to the back room for 15 minutes at a time to "talk the manager" only to slurp on a coffee cup. That's a user interface as well.

I'm not defending the patterns in the presentation, but I don't see them as anything new. The medium is just different. Some businesses are just particularly shameless, and that's a problem.
I recently started programming in Lua too - it's a fantastic language if you want to embed it in anything, and using the LuaJIT FFI [0] makes interfacing with C code from pure Lua a pleasure. I've also started writing a set of extension libraries[1] that provide various "missing" features - mostly inspired by Ruby.

[0]: http://luajit.org/ext_ffi.html
[1]: http://andrew-d.github.com/lua-ext/
I'm sitting here wishing lua was the de facto web language. Javascript makes me sad.
Show HN: UI stickies for web, mobile paper prototypes
Have previously done a lot of paper prototyping for new projects using Balsamiq and Mockingbird by printing out mocked up web experiences and sitting down with people in coffee shops for user tests. Have always found the printing and cutting process to be tedious.

Would appreciate any thoughts/feedback/advice. Thanks!

http://hello.stickyjots.com
Clicky link: http://hello.stickyjots.com
Title of this submission: "Phythonista"

Title of the linked article: "Pythonista"

And people wonder why they can't find anything with Google searches.

Moral: COPY your submission title, do not try to type it -- you will get it wrong.
It has come up in the past that this distinction is a historical artifact rather than a necessity. Linus tried to get Ulrich to change this in glibc, but it was not changed.

http://www.sourceware.org/bugzilla/show_bug.cgi?id=12518
Because that's what Mozilla keeps telling me.
Pretty rough browser game. But seems to be going since 2010/11 and have a pretty tight community, so maybe really give it a shot if you never experienced such a game before. Probably will be fun.

Still, definitely not really an alterantive to SimCity. Sorry.
Might've have been a better angle, not necessarily a winning one though. The trend has been to be very skeptical of speech regulations on broadcast, even if it's a government granted monopoly. The 2nd Circuit smacked down the FCC for fining FOX that year for "fleeting expletives".
See, this is why I'm tired of freelancers and architecture astronauts at companies who just like to make things more complicated.

UNITY_VALUE? Seriously? The agile approach would be to contact the customer, ask them what kind of user story they need to interact with the number 1, e.g. "As an admin, I want to interact with the number that is the square root of 1, which is also the product of i^4, and the multiplicative identity." There may be some back and forth on this, since regular users (not just admins) will want to work with the number prescribed above.

Then, you need to draw up a quick prototype. We don't need any crap like UNITY_VALUE polluting our beautiful agile code. Instead we'll declare a constant called ONE somewhere. (It doesn't matter where you put it, since we'll probably just Martin Fowler that code anyway in 10 weeks--actually, make that 2.)

Then you go back to the customer, show them the prototype. In my opinion, it helps to show them Euler's identity or the multiplicative identity just to assure them it works, in case they doubt it. (They probably will doubt it, since all this agile process stuff looks like automagic to the unenlightened morons we call customers.)

Then move on. Done. Bam. No need for this UNITY_VALUE junk. No additional libraries. Agile magic.
And I am assuming this applies to the Oracle web plugin on Windows? E.g. does the Icedtea plugin on Ubuntu have these issues?
Yes and this transparency gives you a new perspective on the underlying "pattern" between concepts, which is very powerful.
Well JSON does assume JavaScript semantics, so this type of issue crops up a lot with lots of languages. You should be able to define an arbitrary value that is used as [] by the library fairly easily, or a property of the table.
I would even go a step further and talk about the Java runtime plugin supplied by Oracle for Windows?
The trick will be if they can position FirefoxOS as a capable product parallel to iOS and Android without letting the cheaper price tag tarnish it's image.
Giving up is easy, Continuing is Hard, is what most people think, but though the first part is true, Continuing in face of mounting odds is easy, if you just follow a good health regime, and keep yourself surrounded by people you can talk to and be with at ease.

Every life is worth living, you just need to ask for help at the right place, and people will help you see how important your life is.

Yes, their can be a separate tag SAVE@HN for threads from HN users in distress, If it even helps save 1 life, it would be damn worth it!
Despite opting in, I still cannot play most YouTube videos from Chrome without the Flash plugin.
The size of the rooms in the dorm I lived in my freshman year were as follows:

" Single: 14’4” x 7’ ; Double: 14’8” x 14’4” ; Triple: 15'3" x 15'5"'' "

So the single room comes in at about ~100 sq. feet, and the double ~210 sq. feet.

Some of our facilities, like kitchens, bathrooms and showers, were communal however (I can't tell if this is the case in these apartments, but I can't see any bathrooms). Another big difference is that for nearly all college students, the dorm is not really their only home; everyone I know had a significant amount of stuff stored in their parent's house. I believe we were also provided a communal winter storage area for things like bikes, boxes of summer clothes, etc.
The original Reign was released in 2004, so it's been around :} Yeah, SimCity was a bit of a stretch I admit, but Reign players did coin the term 'simcitiers' for defensive, cultured nations :P
Yep, it's persistent!
Historically, we have http://www.ioccc.org/1984/mullender.c use this technique in the Obfuscated C Code Contest in 1984 (hint at http://www.ioccc.org/1984/mullender.hint)
Go back to Linear Algebra class.
Serving others is one of the best ways to get one's mind off oneself and combat depression. I would actually exhort you to commit to doing some kind of service / help for someone else. Start small. Thank you for sharing your story.
I use a lot of those same apps, and I agree that they work. But they work the same way on a laptop. The unique properties of the tablet format can't really be taken advantage of with those apps. I do have an issue with the way files are handled, though, but I think it's minor and will be addressed over time. For instance the "horizontal scrolling list of gigantic previews of documents" just doesn't scale to anything a professional can deal with. And the document syncing is all over the map - Omni told me they won't/can't support Dropbox, etc.

But again, I feel that is a relatively minor point compared to the bigger issue of using the tablet format to its potential. Apple is limiting it in the most severe and terrible ways in my view. This new format DEMANDS (caps!) experimentation, demands out of the box thinking, demands breaking stuff left and right... but the app store and DRM and content limitations are putting harsh brakes on it.
Meet Memoto, the Lifelogging Camera
From the title I thought this was going to me a visual programming approach to game programming ala GameMaker™, but it's apparently restricted/focused on top down RPGs and strategy type games. Still pretty cool, though.
This looks distressingly like a BBS door game, a la BRE.

Those ate my life in the early 90's. I can only fear for my productivity now.

(I still get TW2002 web reboots every so often that can easily eat a week.)
Oh, good point. I should look into this. We need a new homepage too, yikes. Probably should have thought about this stuff before randomly posting a link up :X If you have any advice for me, I'm all ears (ty@reign.ws).
Yeah ... Take a look at Drupal 8 and you'll start to see this creeping in. I overheard Dries saying he wants to see Java style comments and wants to be more like Java.
So what am I in for with Drupal 8 since the two communities are combining?
Motorola is going to mess Google's margins, so they'll probably try to gut everything to improve margins. Right now everything is smoothed by Adwords.
Is that why there's 2-3 second lag responding to button presses and biweekly crashed?
Wallet hack stops pickpockets
There is. Try Enqueue.
what about http://libslack.org/daemon/ ?
Well, you can write client-side web apps in Lua:

https://github.com/mherkender/lua.js

Unfortunately, there is a bug in Lua.js and it doesn't support the preferred method of creating modules[1]. For this reason, I've yet to get a substantial size app written. I'd still like to go back and fix this myself eventually, but I was sinking a lot of time into trying to get it to work.

[1] https://github.com/mherkender/lua.js/issues/13#issuecomment-...
This is somewhat outside my wheelhouse, but don't you do load testing on something like this before release? Did they think no one would want to play it? It seems totally tractable to write some bot players and unleash them in a swarm on your servers.
Printed machine does nothing until the heat death of the Universe
Strong typing and dynamic typing are orthogonal. You can have the former and ignore the latter - see Python - and you can completely forget about both - see PHP.
I guess if we could replace it with Lua we would still be sad. How do you think Lua makes for a better language for web?
Although it sounds like you are joking, I just want to note that this can be quite a dangerous approach. Depression isn't just "very sad, needs help to cheer up". Depression is a neurochemical problem possibly caused by or exacerbated by environmental effects. Amateur psychology and "the power of positive thinking" are the equivalent of homeopathy. They work for some, but not reliably better than the placebo effect.

Depressed people need head doctors in much the same way that physically injured people need body doctors. For mild cases "walk it off" might work (in both head- and body- problems), but depression is more like a broken bone than it is like a mildly sprained ankle.
yes i appreciate the POV, in that JavaScript is widely accepted now and it's curmudgeonly to assume otherwise. NoScript's design takes this into account, for those who are willing to white list domains.

That said, the idea that just because x% of people are happy to run arbitrary code from an arbitrary number of 3rd and 4th party domains, and that this is an acceptable or sustainable situation, I question.

It is ridiculous for a mainstream publisher like Gawker to run code from a laundry list of 3rd party domains, which are probably dynamically loading even more (that's what's usually going on when fiddling with individual domains still doesn't work). If all this code is trustworthy, they really can't download it and serve it to us directly? Of course, they have no ability to verify that it is safe when pointing to so many code bases.

It is also ridiculous that they cannot answer the question of which third party domains are needed to support comments on their system. This is how you take your more security conscious users and say "we don't care about you." With all the things that people will seemingly do to bump usage of their site a few percent, a sane JavaScript policy seemingly isn't always one of them.

Gawker can do what ever they want of course. And I can do what ever I want, which includes pointing out how silly it is!
Just make sure you have a good life, maybe it's the best thing you can give back. A gratitude for yourself.
On big-endian machines, the order of characters is preserved. Because of that, I've noticed this trick used in old network/protocol code where the intent was to use integer values in binary headers while maintaining easy readability if you are look at hex/ascii side-by-side. e.g.,

int x = 'RIFF';

.. if you were packing a WAVE file header.
Bitmessage – An Encrypted Communications Platform Based On Bitcoin
is reign open source?
Would be fun to hack around
The best thing you can do is take care of yourself. Seriously.

The first rule of search-and-rescue is "don't be a victim." Make sure you are taking good care of you.
40 million rows of one column with 1 byte is probably fine in a reasonable desktop system. 40 Million rows of varying "blob" fields each containing a totally different structure of data data, each with a gig or so of various entries... well, I would be surprised to see any current RDBMS manipulate this the way I want as an analyst with ease, efficiency, and speed.

It's not the rows, per se, but the size, variability, and in some cases, the velocity of the data that start to tax RDBMS. Anything with a consistent and relatively simple structure, even with long-and-many rows, can be handled in many modern RDBMS. But once you start varying the data per row, and mixing different levels of atomicity, the Big Data systems tend to provide more flexibility and ease, imho.
Guy Builds Solar-Powered Death Ray In His Backyard
Your life is most definitely worth living, even though it may not feel like it. You can rest assured of that.
I always thought it was a reference to the swedish chef on the muppets. I prefer my etymology.
Focus on getting better right now. You have your life in front of you and once you beat this you will have ample opportunity to pay back to the larger community. Please accept that you don't own anyone anything right now and the best you can do it focus on what you need to get better. Its ok to feel the kindness of others when you are in need.

Also, thanks for being so open. Continuing that openness and building a support group for yourself through that is something which helped me through a similar situation.
I've been looking for a way to introduce my children to programming.

I've been considering several different languages to start them on and Lua has turned out to be a great choice. My children both love minecraft and we've been writing programs in Lua for the computercraft mod: http://www.computercraft.info/
> My main take-away from this is that Google Drive seems like a nice way to put presentations online :-)

Don't. I've been trying to access the presentation for 10 minutes and it won't allow me:

Wow, this file is really popular! Some tools might be unavailable until the crowd clears.

and then I get redirected to https://support.google.com/accounts/bin/answer.py?hl=en&... (which is stupid, because there's nothing cached/cookied for google. In fact, I'm in Firefox's "Private Browsing")
The members of a corporation are the shareholders, not the employees. The employee equivalent to a corporation is a union, which also has free speech rights.