skysight-inc/HackerNews huggingface dataset:
Not just the price. Have it tell you any one of a number of information types that you personally value. Such as if that item has any ingredients that you have blacklisted (or your doctor has). Have it show you a "Pollan-score" for the item or reviews of it by experts and/or friends. Have it tell you a guess at what ratio of the price will go to corporations that you do and don't like the politics of. Did it get shipped on a boat that has a carbon-emission rating that is higher than you like? Is there another brand sold at this store that more closely matches your preferences, and if so what does their packaging look like?

Customers have had their information stream systematically filtered/impoverished by those who would rather not have the invisible hand of the market move in response to some subgroups' aggregate utility evaluations. Information at the point of choice can alter these dynamics.
I wish this article spent more time discussing how autolayout is implemented in the real-life example, and less time talking about absurd situations such as using autolayout with a thousand subviews.

We are given no info about what constraints were used and whether the view was created in code or IB. For all we know, maybe all they needed was an extra constraint or two they to speed things up. Diving into how changing individual constraints affects overall performance would be interesting. It would be nice if Instruments had a template for inspecting autolayout performance (or does it? I haven't looked and not by my desktop).

Also, the numbers without autolayout still aren't great (hopefully that was tested on low end hardware?). I wonder why the OP didn't just pre-render the next view in the background, since he has the luxury of knowing that users will page through views in a linear fashion.
And the poor are typically the people who need a car the most, because they don't live in neighborhoods well-served by public transit.
Just to clarify, I'm not the author. I submitted the article because it makes some valid points.

Of course the author generalizes and if people would stop founding because similar things already exist, there would be no progress.
Nice. Works in Chrome on my ICS Android tablet too :-)
Make things people want to buy, and you will be wildly successful.
That's a bit of cheating, as it removes 'lines' or 'line' from code, decreasing readability. So to be fair you want to add it back:
print sum(map(float, open('somefile.txt'))) # over lines
or
print sum(map(lambda line: float(line), open('somefile.txt')))

Either one is all right, but personally I prefer list comprehension notation.

As per Guido: ... and that a more concise notation for anonymous functions would make map() more attractive. Personally, I disagree—I find the list comprehension notation much easier to read than the functional notation, especially as the complexity of the expression to be mapped increases. ...
You need to play more Kerbal Space Program http://kerbalspaceprogram.com/
The way to eat cheap is to have 49 friends. Costs are much lower if you buy a lot of something. Soup kitchens as they are called in the US (and elsewhere?) do this. There are self sustaing ones in the US that charge $1 for a meal which is prepared by those who eat there. As a community center $1 for a meal is doable. And with the pound being worth more than the dollar, one should be able to do that on a 1GBP as well.
More like a guideline.

If the new UI has great workflow benefits, then a user can learn it and use -- and it could be a competitive advantage in its favor.
I have to do a usability critique of a current website for a class I'm taking and I came across this article. Anyone know of any current, major websites that have usability issues (of any kind)?

In regard to the article I'm pretty sure Pepsi's 1996 website beats out their 2013 website, what a mess.
The author just retweeted a link to this header file to enable Clang warnings using #pragma's https://github.com/macmade/SeriousCode https://twitter.com/macmade/status/328219581879558144
I think you mean this discussion https://news.ycombinator.com/item?id=5485653. It's about the same project actually. It didn't have affiliated links then.

Full disclosure: I'm the author.
I'm happy to know I'm not the only one who tried searching for porn with this.
Whenever I play, my teammates pause the game and wait so the 5 minute timer doesn't apply.
Invest in people, not resources
Not sure if the PA is what caused this, but the last time I tried to set up a prepaid card a couple years ago, (one of those off-the-shelf drugstore ones), the actual card could only have $100 put on it until I filled out a form online that required all kinds of PII, including the requisite SSN.

The prepaid card only worked in person too, never online. (I assume they did this by having a bogus or placeholder name attached in their database, which would fail any basic verification checks done by an online seller, but work just fine at a local retailer.
This is fascinating! And they don't even talk about their last point "showing what is good, encouraging good behavior" but they now have a "honor" system where you can give other players badges for their good behavior. They now have that as well in CS:GO and Dota2. And it's working.

I was surprised to see a complete shift of attitude, and I think this was the most efficient point (too bad they didn't talk about it). People now say GG before and after every game, it actually looks really superficial, like they're only being brown nose to get good badges.
I wouldn't say you are being overly defensive. The post made the author come off as extremely arrogant.
'Treat warnings as errors' is the greatest thing since shirt pockets. I've found that most warnings are really latent errors. I've been using this setting for as long as I've been compiling with GCC/LLVM, going back to gcc 2.x.

Whenever I take over a new project I immediately endeavor to fix all the warnings. The reason is simple: I've spent too much time chasing bugs that were directly related to a specific warning in a sea of them. Once you get a project warning-free it's quite easy to keep it that way.

Regarding the author's specific complaint--unused variables--I find that it's quite simple to comment out the declaration. There's no need to resort to pragmas in this instance.
Most people I know who were active in that "scene" from that era (even those who think Eric Corley is an annoying hot-air bag) love "Hackers", mostly because of how ridiculous it is.

But I mean, c'mon, you've got Penn Jillette there, one of the best soundtracks of any movie out of the mid-90s there, Angelina Jolie's boobs there, what's not to like?
> have completely failed

> doesn't work

From my point of view it's working wonders. Have you played the game long before and after these changes? It's day and night.
> It's surprising to me that anyone would think otherwise.

I'm pretty sure you're more worldly and knowledgeable than I am, and yet you've managed to maintain more optimism than I have. :P
New Apache backdoor serving Blackhole exploit kit
Consumers' shift to older iPhones raises concerns on Wall Street
I think he was joking.

I laughed, anyway.
Very good idea! I like it!
I did some development work on the first idea but didn't get funding or media attention before a founder breakup. For the second idea I was even worse - I decided not to even attempt to build the project unless I got YC. This sounds ridiculous, but this story is so incredibly common. I talk to my peers and I read posts about people who completely abandon their projects the moment they fail to get into YC or [name incubator]. As if these fellas are legitimate gate holders.

I am admittedly fickle when it comes to startup ideas, but I must make it clear that these were not my only projects - they were the projects that I modeled my understanding of entrepreneurship on. I was the Director of Technology at Modify Watches [1] for two years and helped grow that business with the team to a pretty healthy size. I also created a coupon site that was generating about a thousands bucks a month semi-automatically which I ran for two years. These just weren't Silicon Valley opportunities... I wasn't at the helm.

My timespan for success is completely dependent on which level of success I'm looking at. With my current business, I consider the fact that I wrote software which generated revenue within an hour of turning it on to be a pretty huge success. In terms of how long I expect it to take to make the Big Bucks, I am completely realistic that this doesn't happen overnight. I plan to be in this company for the long haul.

Although I do not have the life experience of an older gentlemen, I would posit that my experience is light-years ahead of people who are my age. [1] I've literally been running companies or been deeply involved in them almost non-stop since I was 13 years old. I have real, executional experience and textbook knowledge from my Berkeley education. Not to mention, this company is not a company of one... Anywhere my team and I need help, I'm exciting to bring on somebody who does have the life experience.

I really appreciate your perspective. I love a bit a constructive criticism / interrogation... It helps with introspection!

[0] http://www.modifywatches.com/

[1] Not necessarily light-years ahead of other 20-year old entrepreneurs, but of the 20-year old public at large.
I think the advertising focus on the camera is actually brilliant. Look at facebook, and instagram. Outside the hacker circle, instant updates mean very little. Quick photos are cool. Eventually people will start seeing the value in a HUD, but for now its probably too futuristic for a majority of people. Instant photo's really aren't.
It does not "interject physically between you and your conversation partner", it becomes available in a corner of your vision away from your conversation partner and you can pause the conversation and look at that, or dismiss it just as you dismiss a vibrating cellphone.
neat, but eigenfaces is really overplayed and outdated, there's lots of better face recognition algorithms that can handle a bit of distortion/deformation that really plagues principal component methods
Whenever I am involved in build setups for C or C++ projects, -Wall, -Werror and static analysis are always part of the build.

It is the only sane way to give C and C++ the same strong typing that other languages enjoy since birth.

Quite useful in projects where due costs, most developers are not that experienced.

I am yet to do a Objective-C project, but I would use the same approach.
"a/k/a the poor are only to stupid - look here they can live a healthy diet on even less)."

Agreed. George Orwell explored this one in his Road to Wigan Pier, ch 6.

I would encourage people to shop at their local food market. I can get all the fruit and veg we need for a week for £5 to £6 relatively easily at Birmingham's Fruit and Veg market.
Yeah, they seem to have thought what was called for was "Crank, but more so" when what they really needed to hit was "Crank, and exactly the same amount." I wasn't too disappointed though, since the original stands so well on it's own.
> It goes without saying on HN that not playing the VC-driven-startup game is the tougher road of the two options.

Tougher how? There's no way I could start a company if I was resigned to the fact that I'd have to be selling myself to financiers constantly. To me, running off my own cash is easier and saner.
Yelp is not Consumer Reports.

Yelp, Google, UrbanSpoon, YellowPages all charge for placement. And that's fine. But the veneer of collaborative filtering is a con. It's no different than the industry standard quid pro quo system of reviews for ads in tech / product magazines.

Yelp's claim to some form of algorithm objectivity doesn't change the power dynamic.

In other words, I don't credulously believe there to be a functioning Chinese firewall separating the business functions within Yelp. Because those firewalls rarely work, if ever.

But hey, to each their own.
One way they could have upgraded their database to make it more secure: http://blog.jgc.org/2012/06/one-way-to-fix-your-rubbish-pass...
I hope it wasn't the CTO guy.
128 bits is a big number/keyspace but the solar system is no lightweight, either.

2^128 = 3.4028E38
solar mass = 1.9884E30 kg or about 9E56 atoms.

You don't need to get down to atoms, you could be crunching 128 bit keys on a single AWS dyson1-medium instance.

256 bits is the one where the hosting costs start getting not merely planetary but intergalactic.

2^256 = 1.1579E77
atoms in Milky Way = 2.9E76 atoms
> because I really don't expect priming to be that strong

Have you looked into it? I never heard of it but I read a lot about suggestion, conversational hypnosis... I'm going to spend my night studying this priming thing but I'm not skeptical about it.
If they are true friends, they will forgive you for your behavior. An apology will probably help smooth over any discord that you might have prepared. After that, don't worry about what you've done in the past: you can't change it, all you can do is change how you move forward.

Thank you for posting this. It was an eye-opening read, and hit pretty close to home.
Very cool! Two suggestions: show the examples more prominently (and my add a regex for email, cause it looks cool), and allow people to link to specific regexes.
Depending on your country, you probably are being photographed all the time - if significant portion of cars have dashboard-cams (as, say, in Russia) then on the street you're likely all the time on someone's camera.
If this doesn't illustrate it I don't know what would-- just because it runs open source does not mean it's open.
I'm glad you brought up Sublime. They were a big inspiration to how I wanted to charge for Draft. I love their model. It really makes trying out the entire tool super easy, and still allows the people who do get a lot of value from it to pay for it.
1st world problems

Sent from my iPhone
Show HN: A Marketplace for Status Updates
A bit about me: I'm a forty-something guy who works on large enterprisey applications for a living. A workmanlike programmer whose time is highly constrained, I'm more driven by whacky or interesting ideas than technology.<p>I'd love to get your thoughts and suggestions on this nascent product's clarity of proposed value, actual value (or potential, or lack thereof), design quality, and avenues of business and product development.
At least among children (the only group for which I could find this data, see the citations I added to the post you responded to), this is not correct. The number of poor children who don't get enough to eat is virtually the same as the number of rich children who don't - about 5%.

In the last few years, the number of people using foodbanks in the UK has increased dramatically, for instance.

This does not mean people aren't getting enough to eat. The human body responds in very predictable ways to food consumption - do waistline measurements suggest anyone is lacking food?
You're definitely right there is a distinction. I accept that, but still would argue why is it bad to make prescriptive suggestions for others lifestyles? He feels strongly that his choices are the right way (and is fighting against the notion that happiness and lower consumption, materialism, consumerism are mutually exclusive). Perhaps it is right for many people, and by making his judgements public, it will provide helpful information for others to be exposed to. Why is upsetting certain people by telling them that he disagrees with their lifestyle choices a bad thing, such that he should refrain from making these judgements public? OP seems to be saying, your judgements of my lifestyle hurt my feelings, and made me self conscious of my choices and that's bad... regardless of the positive effects of strongly and clearly stating his value judgements so as to cause people to critically examine their assumptions and choices. I think the OP's reaction is just the effect MMM would like to cause people to have, if it results in positive changes. If it rubs some people the wrong way, that's a side effect that's worth it. If people are confident in their choices they shouldn't care what this guy or anyone else says about them.
there are tons of 4:3 monitors kicking around. Put a want ad on craigslist and you're going to be flooded with them.
I added a couple to the post above. The link with "women" in the title also includes data on men under the data tab. The gist - poor women are more likely to be gluttons than non-poor women, no big difference among men.
Not 'eventually', it's already confirmed, manufactured and used - some of the demoed Glass units have a slightly different front frame where prescription lenses can be attached in the same way as for "normal" glass frames.
Does the HN community not talk about Pulp Fiction? This app must be buggy.
Timing is not just for traders anymore. Networks need it too
The govt definition is income, not spending.
The makers of hardware innovation
Google already promised that Glass will work with your prescription glasses as a screwable addon:
http://9to5google.com/2013/03/12/google-confirms-prescriptio...
“Wrong but works correctly” is a pretty novel definition of wrong.

The argument you are making is that this particular ORM needs optimizations. Which is true! The point stands that the semantics of the two expressions is different, and thus should do different things. The point also stands that the user is mixing metaphors.

If the ORM can be informed of the guarantee that the FK constraint provides, and optimize accordingly, that’s good too. But this doesn’t tell us much about ORMs, except that they can be improved.

Also, a database that has two different query plans for queries that are logically equivalent…needs improvement.
"I can never remember what it's called, but it's very annoying when you need to find it to disable it."

These days, clang will tell you what a warning is called any time it gives you one. If you ever need to disable a warning, make it happen (which you probably already did, otherwise why would you need to disable it?) and then just read the error message to see what flag to use to disable it.
It seems to be turning out better results, though.

http://facebook.jpg.to/ -> http://mebe.co/facebook.jpg

http://rock.jpg.to/ -> http://mebe.co/rock.jpg
Companies that market these products is what bothers me the most. I read somewhere that some women in Africa were feeding their babies Coca Cola because they thought it was healthier than breast milk.
I guess numerious spelling misstakes amd grammer errors are ok tho?
I can't disagree with your sentiment... there comes a point where a hardware security module makes more sense than extraordinarily convoluted, tortured concealment of the salt and hashing mechanism.
Your citations show a link between poverty and obesity, not gluttony. If welfare programs were generous poor people might be able to afford fresh vegetables and other nutritious foods less linked with health issues, rather than the cheap, high-calorie, low-nutrition foods.
Another not mentioned here: sharding becomes much easier. You don't need a central authority that controls the increment.
http://placenoun.com/ too
OP here. Good points! The idea is that if something comes up in discussions often then it's part of our collective memory. Studying and drawing inspiration from it seems valuable and interesting.
I don't know much about how autolayout works, but wouldn't it be possible to solve some of the constraints at compile time? e.g when you compile your app for iphone it could try and solve as much as possible considering the known screen size, etc..
I don't play LoL or CS:GO or DOTA2, but I do play a lot of Call of Duty (yeah, yeah I know, real gamers look down their noses at COD players -- I play mostly because it is what my IRL friends play online and it is a great way to socialize with them regularly).

The idea of the wider player community deciding who is or isn't an honorable/good player is absolutely terrifying as a COD/FPS player where large swaths of the community think you're a "n00b camper" if you play the game even slightly strategically. Every FPS I've played (as far back as Doom LAN on PCs) has been like this where the game supports many different weapons and play styles but community majority tends to decide what small subset of those are "good" play, and which are "cheap", "overpowered", etc.

So... meeh, I personally am not a huge fan of the player community being in charge of this stuff. YMMV depending upon which games you play and the average maturity of their community, I suppose.
What does this use that is only supported by chrome?
I certainly was. I could hardly read the page because of it; it was just too distracting.
CSS filters. They might work in Safari too... can't remember.
This looks interesting. I'll have to check it out, thanks.
Ask HN: programming with a chording keyboard
I've recently been having some difficulties with typing: turns out it isn't my wrists, but rather I'm pinching a nerve somewhere in my arm/back whenever I flatten my arms out to type. I'v been investigating alternative keyboards and came across the Twiddler chording keyboard (http://tekgear.com/keyboards/chording-keyboards.html). Has anyone used this to program and if so how was your experience? What major drawbacks did you experience? I use emacs as my primary editor and I'm mostly in an SSH shell.
Thanks for your feedback and kind words! There's Stuff [1] page there for all the different things HNers link to. But as I'm only indexing links there's not that much data to draw reliable conclusions from. :(

[1] http://www.hnstore.co/stuff.html
This is amazing.

But it makes me think about how much easier it would have been to make that in Flash 10 years ago. Sigh.
Well, you don't get simultaneous real-time editing by multiple users with conflict resolution - but that's not why I use Dropbox for. In the last year, I had two documents where I needed to do that, and I used Google docs for that; but it's a very rare edge case for me. Frankly, in many real cases, I'd trust Word's track-changes+email workflow better despite its horrible usability - as when editing an agreement or technical spec, you don't really want to share everything with the "other side", so you need keep the comments and not-really-decided edits hidden; and you also want to review all their recent changes explicitly every time.

Most documents I work with need no conflict resolution as creator and viewer is strictly separated; but where proper collaboration is required, Google Drive won't cut it, I would want to have a proper version control system like git or similar.

There won't be Google Drive support for native-level editing of, say, Photoshop files, folders of code, audio data, or any data files edited by in-house built tools; but you can have a decent workflow where Dropbox syncs these editables between all your computers, and also allows others to read their latest version from a shared folder.
50 million customers compromised in LivingSocial hack
Again, supply and demand. That CEO would have his engineer at the market price for what he wants. If he wants a top-notch one, that'll cost accordingly.
> I talk to my peers and I read posts about people who completely abandon their projects the moment they fail to get into YC or [name incubator].

Yeesh. As someone who's currently bootstrapping a lifestyle business, this point of view seems downright toxic to me. If you really believe in your company (and its product-market fit), then giving away equity (and control!) should be an absolute last resort, not something to be sought out. Better to work on your business as a side-project for months of alternating consulting gigs and destitution.
I understand Perforce users you are talking about, but their problems are temporary and that's OK - almost anyone changing main language from Java to Haskell need some time to start feeling comfortable and get productivity to his usual level.

But about Bash aliases - is there any real need to use vanilla Bash (or sh, or ksh, or csh) when he has his settings/aliases file with him?