skysight-inc/HackerNews huggingface dataset:
#define continue break

There's my choice. It's one of the few that will actually compile and the runtime effect is not super immediately detectable.
Yeah, agreed that this wasn't a good title. I'll edit it.
Probably to avoid the GPL?
JQuery or JavaScript: Why it really isn't a competition
I was talking to a local business owner who runs a new Takoyaki place in town. I mentioned he didn't have a website. We had a good conversation about it, and he was hoping to get one up but wasn't quite sure what he needed. He's a young guy a pretty savvy overall, having acquired around 4,000 Likes on Facebook and frequently updating it.

I told him (and he seemed to agree) that he needed a simple website that was the following

- No Flash, just HTML5/CSS.

- No music/sound at all

- No long story about the owner, style, etc. If I'm here, I'm likely already sold, just let me know how to get there. At most, a short line on what Takoyaki is, since many Americans in Ohio are unfamiliar with it.

- One page only (SEO people will cringe, but its better than Flash likely and easier to maintain.

- Basic information given upfront: Name, address, Google Maps widget, phone number, hours and their standard menu which consists of 5 items. Mention to check Facebook/Twitter for specials (thinking of maintainability). Making sure none of the items are done as photos, which is a favorite of auto repair and sales places for unknown reasons.

- Very basic colors and formatting. Ugly? Yes. But if I'm on my iPhone and looking for dinner, I don't care. I just need the details.

- Links to their Facebook and Twitter accounts (maybe widgets for each if he wants to get fancy).

- Google Analytics for long term tracking

- Maybe a photo of the front of the establishment, didn't need to be fancy, just something a person who looked online would recognize when they were looking for it. No photos of the owner, etc.

I don't claim to be an expert here, but this is what I want to see when I visit a website. Again, some of these are technically bad for SEO, but that isn't the point. Functionality should always trump SEO in my opinion.

I actually even offerred that I do this for him for some free Takoyaki, since literally it sounds like 20 minutes in Textmate and then just throwing a static page up. Might stop by later this week to confirm the details. I'd rather see a local business do it right than wrong.
If it added a few more features (like an API, cloud storage and embeddability) I would pay for it.
From self-pics to startup
Kids Soccer Shoes
The restaurant website topic comes up frequently, and this is a frequent response. But there are two reasons it's clearly wrong:

1) Restaurants could jam their hours and menu onto a free theme for much less money than they spend getting a bespoke Flash monstrosity and be vastly more usable, yet do the latter anyway.
2) There are lots of cash-strapped small businesses around that don't have as uniformly unusable websites as restaurants.

The issue is not money.
You’re very correct on everything. However, what about anything that is largely async? Background daemons?
Nemo PDF Products - Convert any printable file format to PDF format
Wait, Scala doesn't have switch? So every collection of nested if-statements has to be an O(n) rather than O(1) decision?
Just a note about GCC/XCode on Lion (esp. if using homebrew):

The default GCC installed by Xcode is no longer GCC you expect it too be, it's actually a hybrid of LLVM and GCC

/usr/bin/gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1

A non-hybrid version in installed at:

/usr/bin/gcc-4.2 --version
i686-apple-darwin11-gcc-4.2.1 (GCC) 4.2.1

It's a rather important change to GCC on mac, it even broke `brew install mysql` for awhile:

https://github.com/mxcl/homebrew/issues/6277

Some great hackers found out it was linking to Apple's internal pthread library.

Code-softly hackers.
I think it's cool. People are silly. Don't be afraid to leave messages like this where relevant.
No you can't (or rather, it's not very useful). Sure, you can set someone's password to something you know that way - but since you've already got write access to the database, you might as well do it directly.

This is a flaw of any system that sends your password back to you in plain text, that is not shared by systems that don't.
"Facebook for restaurants" is like another social network.

I know what about.me is, and if he pitched it to me, I would think, "a one page website for restaurants."
Couple off the top of my head:

1) If you have live acts performing at your establishment Friday-Sunday, the website can raise awareness.

2) Specialty products / menu items.

3) Paraphernalia / SWAG from the restaurant.

4) Take out -- order online, pick up in store.

5) If you sell things like coffee beans, web presence increases the number of eyeballs on your product.

At the end of the day, restaurants are about putting bodies in chairs and serving them food. Thus, the focus of a good website should be increasing traffic into the restaurant.

One way I could see functionality between restaurant and website would be linking time-to-wait dynamically with the website. So if I go to a restaurant's website, I could see # of people waiting and average time to wait for the evening. This does go back to putting bodies in seats, but it would better link web presence with what actually happens in the restaurant.
Google Appengine will support Python 2.7.2
I think he got his math wrong. Maybe he
want 5/26/10?
Tell HN: Android In App Purchase Gripe & Glu Mobile... Terrible Customer Service
So earlier today I login to my bank account and notice 3 transactions from Google/Glu Mobile.

64.99, 139.99, and 139.99 for in app purchases. I did not authorize these transactions nor did I know that my credit card information would even be available for an in app purchase.

I initially sent an email asking for the transactions to be voided/refunded. When I received my automated response, it kindly informed me that due to high email volume it could take up to 7 days for a response. I wasn't exactly satisfied by that so I decided to call.

Calling Glu Mobile and speaking to a human being is for the most part impossible. I had to research employee names, and then use the dial by name feature. Dialing 0 or even just waiting on the line sends you straight to a voice mail. When I eventually guessed a extension for someone who was available I asked for support. He said there is no phone support but he could escalate my ticket.

After a short time (less then 1 hour) I receive a response:

"Thank you for contacting Glu Mobile Customer Service.

We are very sorry for the trouble you experienced with the Android Market In-App purchase. Unfortunately we are not able to process a refund.

We recommend you contact your credit card company or your bank and request resolution using their services.

Please accept our sincere apologies for the inconvenience."

I was actually amazed by this response. The lack of care astounded me. What kind of company does this? This company is publicly traded ( GLUU ) - are they really this hard up for $344.97?

---

Sure maybe I should have chained my phone to my hip so it was never out of my posession.

---

My beef with Android is this... there is no option to disable in app purchases nor is there a way to simply ask for a password prompt before purchasing something.

Apple was forced to do it, why isn't Google?

/rant
Some professional photographers say they use Flash because they want to protect their images from being stolen... despite the fact that you can screencap them?
This is pretty much straight out of the daily wtf: http://thedailywtf.com/Articles/The-Disgruntled-Bomb.aspx
If nothing else, I think reputation is a key part of that. I know I'll look at a non-chain's restaurant's website first and if it's terrible, I seriously might not go. Especially if it's not mobile-compatible.
I'm not inclined to believe in any charitable intent with Apple's move. Apple's target focus has traditionally been about the users (user experience, user interface etc.) and seldom about developers.

Apple needs this. Else it will potentially lose its 30% cut off all in-app purchases.
Actually, they are making changes. createthe has been transforming some high end brands towards HTML5.

Thing about fashion is that it's more about brand than usability. They get a lot of their sales from their boutiques, net-a-porter, or other 3rd parties.
10 minutes? What planet do you live in and how much is the rent for a one bedroom? :) If I wait 10 minutes I consider myself lucky, usually more like 30.
Warren Buffett: US Rating Still AAA, No Matter What S&P Says
http://electronics.stackexchange.com/
Don't get me wrong, I love a custom UI in an iPhone app when it's done right. See: TweetBot. Gorgeous, 100% custom UI, and they preserved button sizes, labels, behavior, etc that the user is used to in an iPhone app.
EverClassify.com surpasses 40,000 cities supported. http://tumblr.com/x1e405cgqz
Video of My First Pitch and What I Learned
Agreed, though HN'ers are on the conservative end of design.
BMW reveals the origin of its logo in video form
#define free(x) free(x + 1)

#define malloc(x) malloc(random())
For Some, Rude End to IPO Dreams
They don't have to be stronger than the mob, they just just to be stronger than the next shop.
Some buddies and I were messing around with ways we could sneakily inject one hidden #define somewhere in a C project to make it look like a segfault. We ended up with #define printf to print out "segfault" but GCC always threw warnings, so it didn't have much practicality for use in a joke.
What Apple should do, is worse come to worse, if they can't intervene in all Lodsys cases against each individual developer, they should setup a 'trust fund', with say $2B earmarked just to cover the legal costs for all developers that get sued by Lodsys.

It might be expensive, and maybe even get abused, but the positive PR it would generate and the goodwill it would build up among third-party developers would far exceed the $2B spent (if it even gets spent) on behalf of said developers.

That would be a first and be very interesting.
Watch Jersey Shore Season 4 episode 2 Online 
Watch Jersey Shore Season 4 episode 2 Online
#define int char

I did this one to a friend (briefly) during school.
Any entrepreneur looking to raise money now, shouldn't. Focus on generating cash flow.

The party is about to end. Those sky-high valuations and relatively easy deal flow will be coming to a trickle over the next few months, as we see the financial markets take a beating.
Please let it be a watch (dead serious).
that's irrelevant though, Obvious is an idea incubator, but they launch separate companies/entities (dunno the exact legal structure but that also doesn't matter), and one of them, Twitter, has its own domain name. Unless you are referring to something else . . .
PouchDB (Portable CouchDB JavaScript implementation)
Maslow's Hierarchy of Needs (Why People Riot)
ok, thanks for the clarification. I was confusing the The Met with the City of London Police.
These words make me close tab for the site I'm looking at right away: "Click to launch site". I came to your website... shouldn't it have launched already? Oh it's not a website - it's a multimedia presentation? Great. That's not what I came to your "website" for. No thanks.

(Though I have to admit, there was a time when I actively looked for those sites. I made some good money going to restaurants and other small businesses around town offering to convert their sites from un-editable flash to a simple, skin-able CMS I had whipped up. They were always skeptical until I said "never pay for changing text or prices on your site again". After that, they were my customer and no longer the customer of the wannabe-techno-hipster that sold them the original contract for site and "updates".)
What does Craigslist have like 500?
When will sproutcore ui be back on track?
We have a winner:

#define if(x) if(rand()<0.0001 && (x))
I know there are a couple companies out there that focus just on making restaurant websites. There is Aioli (http://aioliweb.com) here in Seattle and I know that they do the site for James Beard Award winner Lark (http://larkseattle.com).
The OP is attempting to make 3 core arguments with this post:

1) Language that conceals the truth, attempts to impress others or coerce people is bullshit.

2) Creating a word such as "gamification" is attempting to conceal the truth, impress others or coerce people.

3) The word "gamification" is used to conceal the truth, impress others or coerce people.

The first argument holds water but the other two are half truths at best.

Words are created all the time, but they are not just used to try and conceal the truth, impress others or coerce people. It is often used simply to make concepts easier to digest and understand. It gives people a common vocabulary so that they can have more in-depth discussions.

Yes, the words will be bastardized and used by people who really have no idea what they are talking about but to use them as the baseline of how you treat everyone using the word is throwing the baby out with the bathwater.

Simplifying a concept into a word so it's easier to understand is far from attempting to conceal the truth, impress others or coerce.
Treasure Isle Cheats
Both _ARE_ criteria of the requirements set in "COUNCIL REGULATION (EC) No 6/2002 of 12 December 2001 on Community designs" [1]. IP; patent; potatoes; patatoes. I could have just as easily have said the Product has neither "individual character[istic]" nor is "novel."

If it was thought this injunction was just and applied correctly, I don't think we'd be arguing.

[1] http://oami.europa.eu/ows/rw/resource/documents/RCD/regulati...
As we see from this thread, people really need to stop assuming that a site will store their password securely. Find a system that allows you to use a unique, random password for each site and use that instead. Do not trust any site to store your password in a secure fashion as relatively few actually do. If someone can get into the password database on a site, it probably doesn't matter if they have your password or not, because they can usually still access everything directly anyway by looking up your user id and performing the relevant queries.

The danger in plaintext storage is that your password to other valuable sites may be exposed by a leaked database dump or similar. This is not a concern if you use a randomly-generated unique password for each site you visit.

Everything is just much safer this way. With some companies making kind of legitimate arguments for plaintext password storage, just assume that your password is NEVER secret to the admins of a site or anyone who may break in and steal their information. Things would be much nicer for everyone involved if we did this.

There are systems in place that make this pretty easy. Personally I use a home-grown method: pwgen -c xx, copy and paste the coolest-looking password displayed, email to myself encrypted, and decrypt with my secret key and copy and paste any time I want to use a site. There are also things like LastPass, KeePass, websites that generate hashes of passwords salted with another phrase or target site URL (copy and paste final output), websites that output a simple character lookup table based on a user phrase, etc. I believe that an interested party could make one of these things work well enough for use among the general people (especially with automated sync platforms from Google and Mozilla). We need to stop relying on anonymous third parties for our personal safety.
Looks like Nov 5th is the target date. So in ~85 days, they are going to concoct a plan to destroy a $100 billion (allegedly) company? This should be interesting.
U-Mail邮件群发平台最好的精准邮件群发软件-许可式EDM邮件营销工具-邮件代发方案
U-Mail邮件群发平台专业精准邮件群发软件,最专业的许可式EDM邮件营销工具,大型电子邮件群发软件海量邮件代发,免费提供各行业邮件群发EDM营销方案,专业领先技术保证直达用户收件箱成功率99%.完善的群发邮件统计功能,全程监测邮件营销效果,为金融/电信/企业用户保驾护航.支持QQ等各类型电子邮件群发,免费试用按效果付费
Are they though? The app I write that you download from the store doesn't infringe the patent. Its only when its combined with the OS libraries and executed by the user that a system that infringes the patent exists.
I have a historical Erlang article http://news.ycombinator.com/item?id=2866337
Does YC invest in innovation? If so, why am I not seeing innovative startups?

If not, is it because iterative 'also ran' stuff is a safer investment?
http://teuxdeux.com/ is my choice. Awesome!
Alfred (Quicksilver replacement) http://alfredapp.com

Shutting down Email, Chrome, iChat, TweetDeck while coding.

Black coffee ;)
When I take my company out (~20-40 people depending on who's around), I need to first know whether the restaurant sells any food I can eat. If you make it hard for me to know that, I'm going to assume you don't and suggest we go either somewhere I know or some place that makes it easier for me to figure out.
Blog Monetization: Do not Hide Your Ads
My understanding is that repatriating the money to the USA would cause it be taxed, even if it's already been taxed in the country of origin. I believe that the USA is one of the few countries that is prepared to tax extra-territorial earnings, but I am not a tax accountant.
"there's a belief that we had a potentially significant change that might be part of a new world order for a little while."

Another bubble popping?
How to program independent games (Johnathan Blow of Braid fame)
疤痕修复
This group calls itself anonymous as well, and uses the same 'branding', but it is useful to note that the people behind this may have no affiliation with the previous anonymous operations.

The 'original anonymous press release' was Uploaded to youtube by FacebookOp on Jul 16, 2011, and picked up by media only recently.

None of the usual anonymous twitter accounts (http://twitter.com/anonymousirc http://twitter.com/youranonnews http://twitter.com/anonops http://twitter.com/#!/AnonymousPress etc) or the irc channel (irc.anonops.li) have any mention of the operation.

It is of course not impossible to create a new youtube user and a new twitter account called 'facebookop' and post a video proclaiming to attack facebook in the name of anonymous. Anyone can do it.
I'd be more impressed with S&P if their attitude towards accounting errors on the order of 10^12 wasn't "so what, we're still right."
So somehow cutting people off from playing Farmville, talking to friends and family, and generally wasting time is going to endear a small group of "hacktivists" to those users?

Perhaps as effective as cutting those users off from playing PS3 games they'd already purchased.
I think Patio is right to a certain degree. You can be the rock star of rock star programmers, but if you can't explain to me what you're doing, what it does in general (or for me) and why I or anyone else should use it, you're toast. This will depend on job to job and where you want to go, career wise, but I've found, in my current gig, having soft skills does pay off.

At its genesis, coding is problem solving. We are trying to solve someone's problem(s) using a computer. All the coding skills in the world won't help us come up with solutions to people's problems if we lack the ability to listen to the end user, translate their needs into code, and then explain to them why they need this and how it solves their problem. Also, I've found that developing your non coding skills also gives you different perspectives into problem solving.
No it isn't. That will discard the assert expression. What I wrote will still evaluate it.
U-Mail邮件群发平台最好的精准邮件群发软件-许可式EDM邮件营销工具-邮件代发方案
First rule of war: Don't give notice to your enemy of when or where you're going to attack.

This is something they do to be on the news.. that's all. They're not going to be able to shut it down.
"Something else to consider is their cash hoard. What exactly do they intend to do with that $28.4 Billion dollars in cash? That is a mystery that I would love to know the answer to."

Apple has long held a huge rainy-day fund. For example this reason: "With that said, it is perhaps unlikely that Apple will be able to maintain its current advantage in the smartphone and tablet markets over the long-term."

This approach is pretty much what got them through the Jobless 90s.
I love my Mac, but I never understood why closing the last open window of a program like Pages doesn't just shut down the program.

Most people assume it does that any way.

This is something that I think MS does more intuitively than Apple.
Star diagnosis compact 4
Just FYI, MassChallenge is already the Massachusetts partner of Startup America, the White House's initiative to promote entrepreneurship. I think they know.
if(rand()>=0.0001 && (x))

that way it will fail extremely rarely and be even harder to detect!
Assumptions:

* asserts are used in a defensive programming style to state invariants

* the enemy developers will be reasoning about the code assuming that asserts which didn't fire were true

* when debugging, they'll read the code and prematurely dismiss valid theories as to why the bug exists based on what they read in the assertions
Okay, that's a pretty good point. I clearly do not think enough like patent troll.
You are right. But again, speaking about Pingdom...they are monitoring company...if they treat our password in that way, how do they treat our other private data...We are putting there our http passwords, right? This is a good way to find out if you should really use some service, or not.
So...we're Digg then?
Top Mac Apps New Release Best Deal - Save Up to 40%
He corrected his typo.
Useful and handy Android Tips and Tricks.
Hmm, maybe the feds are getting close and Anon's trying to shake them off?
The free one at least will be detected immediately with a good libc, but nice idea. It gives me another idea though:

#define free(x) do { free(x); x = NULL; } while (0)

Assuming you can turn it off just before shipping, this will hide many forms of double free during development which then show up when the evil line is deleted.
Wow, I do almost exactly the same thing. I thought I was weird cause I don't know anyone else that does it.

But, I get frustrated with clojure in intellij because it doesn't understand leiningen. The clojure repl, for example, doesn't load the dependencies from lein.
I'm guessing this is partially a response to a talk given at DEFCON by 2 people trying to unmask anonymous and lulzsec members. They highlighted how they use social media to track people down, especially FB.
volatile is tied to a fairly specific usage and does not appear in that many projects.

I'd personally go with while -> if, that's very sneaky.
When you use Google Docs you are agreeing to their terms and conditions which include limitations of liability for loss of data, loss of business and loss of profit[1]. If you were using a service that promised you that your data was safe and secure, and placed no such limitations because you were paying an arm and a leg for that peace of mind, well then you could sue them if the data were lost.

[1] http://www.google.com/accounts/TOS (see 15.1 A and B3)
Berkeley entrepreneur's backyard solution to urban planning
Please don't editorialize like that. Maslow's hierarchy doesn't directly answer the ? "why do people riot" except insofar as it answers the ? "why do people do anything".
HR was using an automated system that sent boilerplate e-mails.
Nothing to see here, move along...
I think redefining volatile wouldn't be harmful enough because so few people use volatile correctly anyway. By contrast, the break/continue or double-free suggestions would show up too quickly. I don't think I can come up with anything as insidious as some of the "one in a million" suggestions, but I like this one for its brevity.

#define do

You could even slip that into a makefile (-Ddo=) and it might not be noticed.