skysight-inc/HackerNews huggingface dataset:
On the example platforms described at the top of the quiz, CHAR_MAX (char max) is 127, which SCHAR_MAX (signed char max) is also 127. This is because chars are signed by default on those platforms.

The point being made is that the default signedness of char can be different from platform to platform, and the default can be confusing to people who associate the char type with binary data. Better to use int8_t and uint8_t when you want a portable signed or unsigned 8-bit number. int8_t is always signed, and uint8_t is always unsigned.
No More Unemployment Checks for Seasonal Workers
Behind the scenes – Injection molding
When I read things like this it makes we wonder: Are there more trees in an area because there are more rich people? Or are there more rich people because there are more trees?

When you have more money you have more options for where to live. Given the choice, I think many would choose to live in a place with more green space than less green space.
auth page has font issues on chrome-20/windows xp

refer: http://minus.com/lbrEHujglOtZHm
Agile author writes gushing article about Agile. Film at 11.

Where's an article from a CEO that has bailed out a sinking ship after switching to Agile?
Both. People seek out trees, which drives up the prices of houses on tree-lined streets. But rich people also have more resources to spare to plant and protect trees.
I think what people are tought is a big part of any education program. It is the values and ethics that that program teaches that matters.
From what I heard the v2 (which would be called Ya NanoNote) lacks funding and is far into the future. Most efforts currently seem to be concentrated on the M1
http://en.qi-hardware.com/wiki/Milkymist_One , which may become the basis for any future NanoNotes. That'd imply the SoC moving to an open-source implementation (FPGA? ASIC?), too.
Well, the implied ethnicity of the poster is non-Indian, so in addition to the embarrassment of having to spell out obscene words, there's the cultural gap as well. The poster can't judge how offended the call center worker was, and probably feels like he's poorly representing his culture. I've had many similar experiences, especially since I've been living in Korea recently, and it's very uncomfortable not knowing exactly how big of a faux pas you committed.
That is the entire reason. Because the representation of signed numbers could vary from implementation to implementation, making INT_MAX + 1 (or any signed integer overflow) undefined allows for more efficient generated code. If it were defined in some way, the generated code would need checks for overflow wherever it was possible, which would lead to bigger and slower code.

INT_MAX + 1 is never 0 for unsigned int. (unsigned)INT_MAX + 1 is equal to INT_MAX + 1. You're thinking of UINT_MAX + 1, which is always 0.
Scaling Your Clouds
Mentors Thoughts Week 18: Opportunities are Everywhere
Sexual harassment in the world of video games
Greetings Scogle,

I'd be interested to learn more about you, please shoot me an email at Carl@Tabrific.com

Thanks
I would be interested in hearing the results based on derivations of just a single word, 'password' - I bet he could have nailed more than 2000 passwords on the common mashing of that word (123password, passwordabc, etc...)
What I want to know is whether there is a subset of passwords that will be valid against almost all password rules. Like if I make a password that has 12 characters, one symbol and one number, will that fit in 99.9% of cases?
Sorry but i didnt feel like going into the specifics of windows memory management when i and others gave you the resources to learn more, so i listed one common case that everyone can appreciate. As per your original post I find that completely dubious saying windows never crashes after you disabled your paging file. Windows generally bsod's because of 3rd party driver's(70% of the time, and yes that's a real statistic). So i find it very hard to believe that it never crashes let alone what your lack of page file has to do with anything. Maybe it was blue screening and you where too busy making winamp crash hundreds of times and posting snarky comments on HN to notice?
Id (as a team) shipped literally hundreds of times before even becoming Id. For one example: http://www.mobygames.com/developer/sheet/view/developerId,81...

In general, I find that a close inspection of these success stories only uncovers a hidden backstory where, in fact, the protagonists are developing "muscle memory." And this doesn't necessarily mean that they were building a startup, were the best in their field, or even went through the commercial marketplace! It means only that they accumulated the right mix of skills and experience to see - and then reach - success.

Clearly Zuckerberg was, at the bare minimum, used to whipping up CRUD-style web sites - and had even started taking on contract work - before he decided to start on Facebook. He didn't wake up one day, say "social networks, what a great idea," and learn PHP and MySQL all at once. He arrived at a position where it was natural to work on one as an extrapolation from his existing experience, an incremental leap out of the comfort zone.

Just "doing" is not equivalent; lots of people "do" every day, but don't grow or challenge themselves.
Palo Alto has plenty of trees—and not coincidentally, I believe its per capita income is even higher than Mountain View's.
If he'd said that the point of a startup is to make something other people want instead of something only you want, few would disagree. But it obscures rather than clarifying this point to drag in some imagined distinction between art and design.
I've found this to be absolutely true as well. It's astounding what a boon it's been to get on an early schedule where I 1) wake up without an alarm, 2) watch the sun come up, and 3) deliberately avoid mail, news, twitter, etc. for the first several hours that I'm awake.

The most recent experiment has been a regularly scheduled nap in the afternoon, which I find allows me to get to bed later but still feel rested when I wake up.
"Character minimums hurt your entropy too."

Not really. If X is the number of characters your password can be made up of, there are 8^X possible passwords that are 8 characters long, and 8^X-1 possible passwords that are less than 8 characters long. Even here, right on the border, you've only lost 1 bit of entropy (half banned, half allowed), and you win big the moment someone makes it even one character longer than the minimum who wouldn't have otherwise.
Sorry, I meant to say with the BrowserID.
Clippy could ask at least, right?

Joking aside, your example brought the nature of the issue to life; thanks.
This is a great point. If the hypothesis is "unique words gathered from Twitter search based on queries to find terms related to the military", then that's easily falsifiable, like you said.

I wish that more people running these kinds of "experiments" went to the extra step of trying to falsify their hypothesis like proper experimentation requires.
I you haven't seen it, go read The Programmer's Stone, http://the-programmers-stone.com/the-original-talks/ , which goes into detail about dopamine, stress, brain states and group dynamics, and how it impacts programming and creative thinking.

It's ironic that stressing out about building the next big thing could be preventing you from building the next big thing...
No reason why it can't scale. Spawn up more processes, load balance.
Everything You Ever Wanted to Know About Drones
Unless they do for the precise reason of proving you wrong and then arguing against the point you are making.
That's a huge problem with programming languages: Designers can always add things, but removing stuff is hard. JavaScript is a great example of this. It still has automatic semicolon insertion, variable hoisting, and a broken comparator (==). Practically everyone agrees these are bad things, but they can't be changed. Doing so would break backwards compatibility, and there's a huge ecosystem of JavaScript programs that would need to be updated.

Also, language users often rebel when language designers make breaking changes. Python 3 tried to remove cruft, and look how slowly it's been adopted. Instead of adopting 3.x, people backported the features they wanted to 2.x.

I would love it if C had less cruft, but when I say that I mean, "I want C with less cruft, but with the same huge ecosystem of documentation and libraries and tools and debuggers and profilers that crufty-C has."
Do trees really cost that much to a city? I am genuinely curious. You wouldn't think so, as they kinda take care of themselves. But maybe there are some maintenance costs I am not considering.

Do crappy cities hire crappy city planners that cut down all the trees?

Maybe it's that the richer coast cities happen to have climates that can grow more trees than the more mountainous or desert-like areas?
Sure, but the kindle has the same problem: horrible keyboard.
I've seen lots of people say Windows 8 will be the death of Microsoft. This is about as accurate as saying Vista would be the death of Microsoft. In fact all it's doing is cementing Microsoft's incredibly resilient tick-tock process - release horrible OS, then awesome OS, then horrible OS, then awesome OS. Windows 7 was awesome, therefore Windows 8 will be horrible. This is ridiculously predictable.
I don't get it. Sounds like you want me to target one person to spam or stalk each day. But if I already don't talk to these people now then why should I do it through this website?
Bubble, Bubble, Toil and Trouble
In response to the last paragraph, there's a tension between two different visions for the C language. One of the visions is what's sometimes called "high-level assembly language". In that case, undefined behavior lets implementors choose the behavior that makes the most sense in that situation. Someone writing software for a DSP is going to have different expectations for the behavior or integers than someone writing software for a general purpose processor. Forcing both implementations to use the exact same semantics is going to slow both of them down, because extra checks will have to be added to work around the differences in the underlying hardware.

The other vision for C is a portable systems programming language. When trying to write portable code, undefined or implementation-defined behavior is a big problem. I'm glad that compiler writers employ a take-no-prisoners approach here. People shouldn't be relying on undefined behavior when trying to write portable code, so compiler writers shouldn't be bound to implement consistent behavior in those cases. That's especially the case if code ever needs to be compiled with a different compiler, which might decide to implement different consistent behavior.

It's also worth noting that in some cases, the exploitation of undefined behavior doesn't always happen in a single place in a compiler. Instead, it can be a combination of applying a few different rules in different optimization passes that produces surprising results.

With that being said, it sure would be nice if the compiler writers figured out how to give more warnings when undefined behavior is detected. If x + 1 > x is optimized to false, tell me! If a dereference of a pointer that could be null leads to potentially dead code being eliminated, tell me about that too! It's the silently surprising behavior that causes the most problems.
nie to see you here
We aren't really trying to repurpose anachronistic language rules, we are trying to prove loop trip counts, independence of array accesses, etc.

It's fairly non-trivial to tell a user "if you switch these 5 loop nests, we may be able to do something cool!"
Same here; I can't read it.
Ed Hardy EHS 005 Snake 2 TOR
Ed Hardy EHS 005 Snake 2 TOR
Even if you're making larger and more complex changes, the overhead of your testing methodology remains the same. That is how you measure things should be a fixed (small) effort, The cost of building the test is whatever the test is.

In other words multi-armed bandit versus A/B test is something that you shouldn't be deciding based on the effort of the testing methodology.
Is software eating programming?
"In another 50 years, would you expect Apple or Exxon to still be near the top of the list?". Is that a trick question? Exxon obviously - they make the thing we can't live without.
Yes, I saw some of Palo Alto a few years later and thought it seemed much nicer. About all I saw when I flew down to interview was the Google campus and the highway between there and SFO.
A few years ago in San Francisco's Tenderloin, some in the neighborhood agitated against more trees because they risked attracting rich people:

http://www.post-gazette.com/stories/sectionfront/life/san-fr...
Agreed. This is certainly a niche that needs to be filled.
"The essence of a startup lies in the process of discovering a problem shared by many people and trying to solve it."

In the above sentence, you could replace 'startup' with so many words and it'd still be valid.
Also, rich people tend to stay in the same place for longer, so they have more incentive to nurture small trees in the anticipation of enjoying big trees later in life -- pretty much the "owners make better neighbours than renters" issue.
Just downloaded this to try it and I like it so far. Thanks!
Apple iPhone 4S Accessories
I think any new CMS project like yours should consider mobile as a main target
Clearly you've never been kicked off a jury.
Found a bug:

"instance : What you get when you tell Python to create a class."

Of course, what you get when you tell Python to create a class is a class. This one should be:

"instance : What you get when you tell Python to create an object of a given class."
Indian culture is pretty uptight in certain ways, and knowing that would make me feel a lot more guilty about making them uncomfortable.

http://news.bbc.co.uk/2/hi/7871304.stm
50? Sure. But Exxon will also need to continue to evolve in order to ensure their relevance whenever the world's oil supply begins to wane. Probably won't be in our lifetime ... but someday something else will be more dominant out of necessity and Exxon won't necessarily be the one leading that charge.
I think the idea is that you have do something with the full intention of "wasting" time to trick your mind into thinking creatively. I usually don't step into the shower ready to tackle a hard problem -- it's not the best place to do any kind of work. And I'm sure if I decided to solve a particular problem in the shower, I would probably not come up with a solution -- it's when you don't intend to work, do creative solutions appear in front of you.

When you decide to solve a problem, your mind goes at it with a very direct engineered approach which may not reveal solutions that come from a different angle.

Also, I've found when I can't think of solutions, it's usually due to my mind being tired, and the best way to solve it is to actually waste time -- go for a bike ride or something that forces your mind to stop thinking.
StorePair launches DealsChrome
Glengarry Glen Ross

Kinda cliche but still a fantastic movie about hustling and desperation.

Of course, one simply cannot talk about this movie without referencing, at least once, one of the greatest motivational scenes in movie history.

http://www.youtube.com/watch?v=8kZg_ALxEz0
Do trees really cost that much to a city?

Trees get in the way. If you're building a road or a sewer system or other underground services, you usually can work around trees, but it's often going to be easier and cheaper to knock them down. (The same goes for building houses, which is why many cities have bylaws restricting the ability of developers to cut down trees.)
I will probably get down voted for small mindedness,but i cant help noticing that in addition to having "Haskell" as a middle name,he has a B.S in Mathematics.
Taipei, Taiwan has planted a lot of trees over the last thirty years,

http://www.amcham.com.tw/content/view/3313/

and as wealth has increased there from third-world to newly industrialized levels, tree cover has improved immensely. The predominant look of Taipei and the surrounding suburban cities in Xin Taibei (formerly, Taipei County) is tall buildings, but the trees at street level

http://www.taipeitimes.com/News/taiwan/archives/2011/07/04/2...

are quite pleasant to look at, and have improved residential neighborhoods quite a lot as they have grown over the past few decades.

Many cities in the United States Midwest have had to reforest because of the ravages of Dutch Elm Disease,

http://en.wikipedia.org/wiki/Dutch_elm_disease

and Minneapolis has had to be especially intentional about reforestation after losing thousands of elm trees in the 1970s.

http://www.minneapolisparks.org/default.asp?PageID=28

http://www.minneapolisparks.org/default.asp?PageID=926

http://www.na.fs.fed.us/urban/treespayusback/vol1/ufore%20mp...

It is very satisfying to look across the Twin Cities from an airplane window or from the observation level of a tall skyscraper building and see mostly treetops in what are actually urban neighborhoods.

For people who live a long time on the same lot, or who at least have the chance to see the same lot after moving away, little is more satisfying than watching a tree grow up. I remember planting trees with my late dad in 1962 for the newly built house where I mostly grew up. I moved away in 1971, but now live not far away, and can see trees that I remember as saplings now thick and tall and shading the entire house.
Ditto, Chrome 19.0.1084.52 m/Win7
Disclaimer: I also have software for running AB/MVT as well as adaptive control problems (so bandits as well as extended sequential decisions) at www.conductrics.com.

I wouldn't sweat too much UCB methods vs e-greedy or other heuristics for balancing explore/exploit. E-greedy (and e-greedy decreasing) is nice because it is simple. Softmax/Boltzman, is interesting since it is satisfying in that it selects arms weighted by the estimated means, and UCB-Tuned and UCB-Normal are nice because, like AB testing, they take variance measures directly into account when selecting an arm.
Take a look at this paper from Doina Precup (who is super nice BTW) and Volodymyr Kuleshov from 2000 http://www.cs.mcgill.ca/~vkules/bandits.pdf they have comparisons between various methods. Guess what - the simple methods work just fine.
Of course there are various Bayesion versions - esp of UCB. Nando de Freitas over at UBC has a recent ICML paper on using the Gaussian Process for Bandits (based on a form of UCB). See http://www.cs.ubc.ca/~nando/papers/BayesBandits.pdf
I have not given it a tight read, but not sure what the practical return would be. Plus you have to fiddle with picking a Kernel function, and I imagine length scales and the rest of hyper parameters associated with GPs.
I did read a working paper from Nando a few years back that used a random forest as a prior - I can't seem to find it now.
BTW - John Langford is program chair of this year’s ICML over in Edinburgh. If you are in the UK might be worth it to pop up and attend. Plus Chris Williams is there at Edinburgh, so maybe you can corner him about GPs. Although he has moved on from GPs - he still wrote (well, co-wrote) the book and is one of the smartest people I have ever met.
The angel.co page lists an Android position too. Is it outdated?
Maybe when I get some free time I'll tackle that very interesting problem. Thank you for the feedback!
Would it necessarily have more matches than a generic password dictionary? That would assume that military users are smart enough to not use the type of password they'd use on their personal email, but still stupid enough to use a dictionary word as a base.

He also didn't filter out non-military words. His 4,400 words would overlap considerably with list of common English words and could have been built by starting from any seed list.

I think it is an interesting concept. I can imagine this uncovering some jargon that is uncommon outside the niche, but unfortunately his experiments don't prove anything.
This line of analysis looks promising, but the post leaves too many important questions unanswered, including:

* How have mergers and acquisitions affected the rate of churn in the S&P 500? It could very well be that S&P 500 companies are disappearing from the list at a faster rate because they're being merged into or acquired by other companies at a faster rate.

* To what extent does the rate of churn in the S&P 500 reflect declines in specific sectors of the economy unrelated to software? For example, US manufacturing has faced challenging times for several decades, so one would expect to see this trend reflected in the list.

* How did the inflating and bursting of the Housing Bubble impact the companies exposed to that industry in the S&P 500? For example, many home builders and mortgage lenders boomed during the bubble and then went bust when the bubble burst. How is that reflected in the data?

* How did the growth in financial services as a percentage of GDP affect the index prior to the financial crisis? How about after the financial crisis? Think not just about Lehman Brothers's demise, but about all the formerly high-flying financial firms that went bust or whose size is considerably smaller today.
This is the one time, "The exception that proves the rule," isn't sheer nonsense, precisely because it is.
As far as power-users go, how far back does that really go?

My exposure started with Windows 2000. It was fantastic. It made me ditch Mac OS 8.x full-time instead of just maintaining a 9x box for games. XP wasn't horrible either. Sure, after that things stagnated for a long time—and that led me to dally again with Macs and eventually switch back to OS X for my main machine—but after the initial kinks were worked out Vista and 7 added some much-needed things (especially 7, UI-wise).

But I agree that the "death of Microsoft" stuff is tiring. Personally, I'm pretty excited to see how this goes, since I like what MS is doing to bring touch-centered concepts to the desktop, and really don't like the direction Apple is going with Lion/Mountain Lion. I just wonder if MS will iterate quickly enough—Apple's release cycles may put a lot of pressure on them to get an "8.1" out the door very quickly with the kinks worked out.
Airy Pal | Registration
You can give them a special badge.
Thanks, on my first read through I thought "John" was doing substitutions and he was manually comparing hashes.
June 5 Is The Transit Of Venus
I always wondered about these arcane rules, where passwords are easy for computers to hack, but hard for humans to remember.

See obligatory xkcd comic:

http://xkcd.com/936/
Ah, you're quite right, I made a completely false interpretation of his position. Apologies!

However my position has simply been that the response to pink slime was not entirely irrational / hysterical, considering it originated in the private communication of a Government Microbiologist.

I'd also refute your assertion that any health or safety concerns are absolutely specious. It's a very low-quality meat product that is otherwise not fit for human consumption, so on an industrial scale any rational consumer could see that there are potential negative health consequences from some failure in the production line. Approved industrial procedures like feeding cows MBM have triggered BSE in the past, so a natural wariness is entirely reasonable and rational.

The emotional response might certainly outweigh the actual risk, but some of the responses in this thread seem to cast concern / opposition in the same light as tribal people scared that photographs steal souls.
It's been mentioned before, but I don't know that it has enough of a market to be commercially viable.

Here's a tweet I wrote a few weeks ago about it:

> I'd really love to see a laptop running a linux command line environment with an e-ink screen. Programming on the beach, anybody?
This might be a naive question.

On Question 12 ("Assume x has type int. Is the expression x<<32..."), why is this considered an error? Why do we want a compiler to prefer this over "x<<n means shift x by (n % sizeof(int))"?