skysight-inc/HackerNews huggingface dataset:
LSD and MDMA taught me how to love and appreciate myself and got me on the road to get the most out of my life.
there is always an asshole indian posting irrelevant stuff to HN.. how is this relevant here ..
Both good points. Rust doesn't have the problem with execution being suspended, since the only mechanism for suspending execution is through the task system. Thread locals are all per-task.

The issue with introspection is fair, and it's a gotcha you have to keep in mind whenever you use dynamic variables. They're necessary to make the task system and condition handler system work under the hood, however, so we can't just remove them.
My Radi app supports audio in the latest release: http://radiapp.com
I stopped reading after a few paragraphs; it's not necessary to write crappy english to get your point across. Most restaurant owners have neither the resources or knowledge to run as some kind of food startup. This author seems to think that people actually want better technology instead of better food or pricing or service. I can't eat a digital menu.
uff. doesn't this depend hugely on context?

we regularly eat at lomitz which is a traditional chilean/german place, with the same long menu every day. the items are all famous, traditional dishes that everyone knows (i guess for americans this is like my local diner). pictures would be a nuisance except for tourists.

there's a fancy (but more fantasy/preuvian than "authentic") sushi place up in vitacura that we go to for treats. it's frustrating because they use fictional names without descriptions. pictures would look very nice, i'm sure, but not really help you decide. what they need is detailed descriptions (what would be cool is if you could record what you'd had previously, and your rating, so you can work out what to order next time...)

there's a restaurant up the road that's basically french. reading the descriptions is a pleasure. pictures would be chintzy.

another favourite restaurant of mine is down towards italia; it's russian. pictures there would be great because it's never clear exactly what the description means.

each one is different.
> Slow, one person at a time, low hauling capacity, no protection from the elements, and easily stolen.

http://www.milan-velomobil.de/index_en.htm

> Like it or not, cars have their place. People who are so proud of not needing a car?

well, considering that 70% of car rides are less than 10km, I don't need much mooching off...
That's not really fair. The whole point of OO (at least dynamic dispatch) is that the dispatch system itself can evaluate a type condition, so you can rest a lot of weight on that implicit condition rather than having to write your own. If you have too many conditionals, maybe you aren't using that enough. Likewise, if you have list comprehensions or at least higher level functions like map, reduce, and filter, having too many loops is a little questionable.

If we wanted to program in assembly, we would be programming in assembly.
Judofyr has covered this in depth on his blog: http://timelessrepo.com/json-isnt-a-javascript-subset
It's not my primary income, it's something I do on the side. Once you've bought a domain, you don't need to do much work after the initial parking setup, which takes about 5 minutes.
I had a client with the same issues. The company account is still pending after 4 months of e-mails and phone calls; in the meantime they are using an individual account to publish. It doesn't follow Apple's rules, but it's either that or no apps.
Ratan Tata: Top 10 achievements under his leadership

http://profit.ndtv.com/news/cheat-sheet/article-ratan-tata-t...
Not really an investment. See: http://thezikomoletter.com/2012/12/10/you-are-naturally-shor...
On the site you can see which individual requests were rejected (or partially rejected).

e.g. http://www.google.com/transparencyreport/removals/copyright/...

if you look through the page of all requests

http://www.google.com/transparencyreport/removals/copyright/...

there is a column which shows which requests have urls that were rejected. You have to go back pretty far to find requests with rejected URLs (since there are a lot of requests and urls are rejected only rarely).

e.g. http://www.google.com/transparencyreport/removals/copyright/...
> Slow

For various values of slow, in cities they aren't necessarily slower than cars especially door-to-door when the need for parking is included.

> one person at a time, low hauling capacity

Cargo bikes neatly solve both issues. They are both traditional and widely used in the Netherlands and Denmark.

> People who are so proud of not needing a car? They do a lot of mooching off car-having friends.

Yeah, who's ever heard of mass transport, deliveries and car rental?
all restaurants should be mcdonalds!

uh no, kindly fuck off.
> I don't agree at all. If the users attention had no value, then you would not see 800 million users on facebook.

I don't see how the value of the users' attention determines whether or not they are on the service. If you put out free food on the street, people will come and eat it, and you will have their attention. Doesn't mean you can turn a profit doing that.

> Google+ and FB are in direct competition for the attention of the same users.

Yes, they are, but I have yet to see "user attention" be properly monetized on a large by anything other than search engine advertising. Facebook is still trying to find solid revenue sources. Their new gifts platform is the latest example of this.
%s/Chinese/Americans/g
Apple can't provide the number. It's not their database.

The number itself isn't the issue, it's what it represents: that your business is recorded in a large and reputable database of international businesses that is in widespread use by companies and governments.
> Think of every time you’ve used the global keyword when working in WordPress.

I pretty much stopped reading there. Referencing WordPress when making a point about software design does not strengthen your point.

Singletons are the antithesis of dependency injection.
http://www.ted.com/talks/johanna_blakley_lessons_from_fashio...
I used to carry kitty litter in the trunk of my car when I lived in Vermont. Throwing a couple of handfuls under your tires would give enough traction to get going on ice.
A statement like this doesn't help anyone.

It doesn't help the productive PHP programmer get a better understanding of other (possibly better) tools that exist, what problems they solve, and how they can transition to those tools.

It also doesn't help the person making the statement convey their expertise in the subject matter. Instead it looks like an easily dismissed statement about PHP, without any real attempt to prove it.
And this is why these bullshit questions give me a headache and I'd rather talk about suffix trees or something.
My father is a doctor who travels a lot and he loved it when the call went out for a doctor. Most of the time it was stress-related, and he'd tell the stewardess that the patient needed a calmer environment, so was there a spare seat in first class? Then, of course, he would accompany them to keep an eye out for anything really wrong.

He'd been an army doc and was flying around as a volunteer physician, so he was qualified if anything bad did happen, but most of the time it just involved sitting in first class and talking with the patient. There are worse ways to spend a flight.
Yeah! That is how I read it too.

We can take a step beyond that: http://www.ted.com/talks/elizabeth_gilbert_on_genius.html

Here, Elizabeth Gilbert is talking about an older take on genius. That genius is not any one property of a person, but rather, something that appears to the one who is prepared. It makes sense to me, considering that an innovation often occurs to a more than one people who don't have much connection with each other. The time was simply right.

Saying, "I have a genius (for the moment)" rather than "I am a genius" also takes off a lot of pressure to continually prove you are a genius. That kind of hidden agenda (Jungian shadow) covertly demands that other people sees you as the originator. It comes down to ... do you want to see this product come out into the world, or do you want glory?

In other words, there isn't a need to lie, or even omitting your involvement. "Hey I came across this interesting product" is true, not simply evasive -- the genius was gifted to you; and if you are not prepared to share it, then it will find someone else more suitable.

Besides. How can you expect a startup to mature into a business model that runs itself if you can't let go of demanding credit? If it is about the product -- regardless of credit -- then the whole team is involved -- engineers, designers, investors and customers.

Thanks for sharing this bit from Ben Franklin. Earlier this morning, I had sent out a snarky email. I was overtly saying I wanted to pass on some ideas, yet I was demanding credit in the subtext. This was not impeccable, and probably came across as creepy. Now I know :-)
If you think admitting you are not perfect would "rule you out" of a job it sounds like you haven't really interacted with real humans much (i.e. no sane person thinks that someone talking about something they struggle with when specifically asked is a disqualification). If an employer decides to not offer you a job based on your answer (assuming it isn't something along the lines of "I embezzle massively from every employer"), that is unlikely to be a place you really want to work anyways, in the long run.
Not extortion, usually just a lease to own contract. Say you have a $150,000 domain and a startup wants it, they can lease for $4k/month and pay off the rest when they've raised their next round.
1,000,300 Chinese people would make up only 0.074% of the Chinese population.
I agree. Intrusive LCD panels at the table, removal from human interaction, horrid restaurant-chosen hierarchies of categories to wade through, etc...

With menus, everybody gets one and can peruse as they see fit, rather than a little shared computer. With a waiter/waitress you can talk through special options or dealing with split bills and anything like that.

And don't get me started on social and tracking -- I can't think of anything that would more quickly destroy my interest in a restaurant than having to log in with twitter or facebook. (And believe me, if the restaurant posted/tweeted on my friend's behalf, they would lose my business.)
What in the world does this photo: http://gigaom2.files.wordpress.com/2012/12/shutterstock_9784... have to do with the article?
I would tend to agree with that.

This being said, investing in real estate is the only way for a regular person to achieve a high leverage ratio, which is probably why people see it as such a good investment.
> They're necessary to make the task system and condition handler system work under the hood, however, so we can't just remove them.

Oh I've nothing against dynamic variables at all and wouldn't want them (or conditions) to be removed from Rust (in fact I wish solid dynamic variables were available in more languages), don't get me wrong.
Well, I think you're on the spot.

I understand Tata means for a lot of people having a job and a salary, and in India, given the opportunities Tata offers this is very important.

I'm not against people working there, what I'm against is the work model that is used in the majority of projects there. As others have said, some customers pay to have 'warm bodies' in the project.

As you said, maybe next generations will have more and better opportunities in India, let's hope for that and surely Tata and others are a step towards that.
The second paragraph "Capital gains may refer to "investment income" that arises in relation to real assets, such as property; financial assets, such as shares/stocks or bonds; and intangible assets such as goodwill." is simply wrong, have flagged it. You are earning interest, an age old concept.
One big hand an hour is the definition of a linear return on time.
Yeahhhh, calling Chrome the new Internet Explorer is missing the forest for the trees. Recall Internet Explorer made it so that you would write regular markup and THEN have to write special markup and add extra rules for compatibility.

It's the other way around here. All regular markup renders fine on Chrome. However, they are working on future implementations of the standard, so many things you want to use might only work on Chrome or webkit browsers.

Also, Firefox has prefixes that only work on Firefox. You wouldn't call Firefox the new Internet Explorer, would you? Hopefully not, because that would be like calling Chrome the new Internet Explorer.
are you FN kidding ? did that kind of crap 10 years ago... with flash.
This has been done to a degree, and it failed pretty quickly, faster than most. uWink opened a restaurant in Mountain View with tablets for ordering food and playing games while you wait.

The tablets had menu items complete with photos, reviews, and it took about 15 minutes for the food to arrive to your table. Typically the waitstaff would only bring you your drinks and food. The Mountain View location of uWink was open for less than a year.. about 9 months, so you can all guess how well that went. Most restaurants, even terrible ones, managed to stay open for more than that!

http://en.wikipedia.org/wiki/UWink
there's been some research into the Buddhist monk core/skin temperature regulation. apparently, you can train yourself to do this by using biofeedback, take a digital thermometer and a few hours a day and you can figure out how to raise your body temperature (I know people that have demonstrated this ability).
It should still work even if you scroll like that — the browser fires its scroll events periodically, so they'll still fire, and CrazyEgg only cares about the furthest point that you scroll to.

And thanks: I've been nursing some of their damson vodka over Christmas and it's excellent stuff!
I use a lenovo T530 and it does quite well under Linux. But it was not $500, even with a significant discount. Think pads are known for being good for Linux.

However, you might want to get a brand like clevo or sager, where you can build your own system.

I know there is a suggest a Laptop sub reddit, where they may be able to point you to a good setup.

You also could look for a used system, or one with a bad hd you can replace.

Best of luck, sorry I couldn't help more.
Regarding specifically WP, which is how I made ends meet (and then more) for a number of years -- it's like crack, you hate it and you know you're better than this, but it's just makes life so easy if you don't resist. Not a perfect analogy, but what I'm trying to say is that, yes it's easy and you're fighting the uphill battle if you don't go with it. Plus, WP consulting can be very profitable, given how much of your code can be reused from project to project.

But, I have to say, at this time the flaws of WP are so well-known, and the direction and style of the WP devs are such a known quantity, that we as users/devs know what it is and we know exactly how good/bad it's going to be. It's never going to be a well-designed MVC application, and it's probably never going to conform to good OOP design either. It will probably continue to look pretty nice on the backend, but remain really annoying to extend for anyone but the greenest noobs. And it will probably have a ton of features which seem like bloat to people who simply want a blog, and like cruft to people who want a full-fledged CMS.

I think, after so many years, the cost of building a reusable system from scratch is starting to outweigh the benefit of just sticking with WP. One of the major pillars supporting WP's proliferation is the ease with which one can find hosting -- just upload your site, if it doesn't have push-button install already -- and I think the ease with which a Python or Ruby app can be deployed has now matched that. At least for a certain range of users.
I had precisely the same reaction. I'm used to seeing singletons in the context of Java. The reasons to want a singleton pattern seems obvious to me but I would only describe it the way its classically described if I was using a crappy language like Java. In Ruby or Python you just call it class that never needs to be instantiated (and it looks way cleaner). Then I see we're talking about PHP and my reaction is if your doing something complex enough to need a singleton then why aren't you using a real language?
Now, we are talking about one legend here so it deserves the mentioning of another great legend also as most of people here may not know about him - Dhirubhai Ambani. The founder of another one of biggest conglomerates in India - Reliance Industries. He achieved the same success, business penetration in 30 years that took tatas about 150 years. He recorded the fastest success ever known in the business circles of India. Read more about him here -

http://en.wikipedia.org/wiki/Dhirubhai_Ambani
Singletons also make things painful if (when?) you have to go from "one instance" to "two instances", which regularly happens.
>so would you return the error that triggered the cleanup, or the error that resulted from the cleanup?

That's a good question. Fortunately, I don't do anything complicated in the cleanup zone - mostly closing handles and freeing memory.
My girlfriend runs a small (~30 employee) full-custom* folding bike manufacturer in Oregon. Asia makes up almost half of their market--and the number is growing, especially the Chinese segment.

* they start with steel and build custom-fit bikes to order
My problem with most singletons is that they are a half-way solution for a developer unwilling to commit and accept that sometimes a bit of global state isn't the end of the world.

Static fields and static methods on classes should be used sparingly, but if you're going to use them, just use them. Why half-assedly try to hide the fact that you're using them by wrapping them into a singleton?

This is a(nother) thing I like about Go, the design of the language allows for the fact that sometimes a function is just a function and doesn't need an object receiver and maybe it even modifies a package level global, so what? Just make sure you properly handle multithreading situations. In Go code you don't find a lot of patterns where people are trying to sweep what they are doing under a rug in order to not anger people who accept "common wisdom" code design guidelines as absolutes.

If you need to write "dangerous" code (and sometimes it is best to write "dangerous code"), do it in the open, out in the light of day, that way at least it can more easily be reasoned about if someone does hit a snag in it.
Yep. It's called "functional programming" and it's pretty froody. You should check it out.
If you already have the ingredients to do this, then it may be a cheaper solution.

My RaspberryPi has been a few things since I bought it (a print server, a file server, a web server) but I never really settled on anything and for the past couple of months it has sat in a drawer.

I've now just re-purposed it as an Airplay speaker in less than an hour for no extra cost.

I will probably purchase a smaller USB WiFi dongle (@£8.99 on Amazon) but even including the cost of the Raspberry Pi (~£34 total), that's less than half the cost of an Airport Express (£80).

On top of that, who doesn't like to tinker?
That is an old trick while donating blood. It is good to see that it has alternative uses. Never thought of it that way.
Most of these tools are nowhere near what flash can do. Inverse kinematics ? vector drawing ? filters ? advanced interactions ? perfect audio sync ? video integration ?...
He's not saying anything like that. You keep doing this: someone makes a technical point about how the Constitution works, and you ask them why they haven't stopped beating their wife yet. Could you please engage with the actual issue?

Again: what do you think happens if Congress passes a bill requiring the President to fire his Secretary of State?
These guys are doing Good Things.
Interesting! Basically giving people who've been introduced to RSS by Twitter an overt "subscribe to what you read" interface part Twitter part Facebook. Clever.
What is your New Year Resolution for your Startup?
Oh, I recall someone who used a arm android tablet with a keyboard as a thin client to a always online desktop pc. Or you can boot linux directly on a chrome book. You could explore those.
The right tool for the job.

If I'm going on a date I want a chef. If I'm going to a cheap izakaya in tokyo with 4-12 friends for cheap drinks and snacks I'm perfectly happy with color LCD ordering touch screens which they've had here since 2005.

There's a time and place for both. Being able to sit and eat with a group of friends and not have a waiter interrupt your conversation can be a plus
Child Labor and the Social Construction of Childhood
Allow me to introduce you to Portland's Emily Finch.

http://bikeportland.org/2012/06/28/with-six-kids-and-no-car-...

Also of possible interest is the lead story in this month's issue of Portland Afoot, which is about making a $200 grocery store trip by bike.

http://portlandafoot.org/2012/12/mood-to-move-how-to-make-an...

These are extreme examples, perhaps, but the point is that there are plenty of bikes out there with hauling capacity for both people and stuff (Extracycles, bakfiets, etc), there's also plenty of equipment that can be added to a regular bike to increase hauling capacity (racks, baskets, oyster bucket panniers, trailers, etc), and a little creativity can go a long way, as my second link shows.

Also, in this day and age of bike racks on public transportation and multiple carsharing providers in many major US cities, there is little excuse for mooching rides off of car-owning friends, and I question the validity of your claim that the carfree are ride moochers. I lived car-free in Oakland/Emeryville for almost a year after my car was stolen twice and then totaled for mold, and I was a happy user of both. It never occured to me to mooch rides off of friends, because it wasn't necessary.
VP8 (WebM) vs H.264 (MP4) – December 2012
The US Gov also asks for the number they do have, the EIN.

"Why d&b"

Because it's the biggest database, and is international in scope. A local company providing services to a US Embassy or military base overseas is probably in the DUNS database, but probably wouldn't be in a smaller or US-focused database.

DUNS numbers are a common requirement when doing business or dealing with government for loans or contracts. That's why D&B has 150 million companies in their database.

Established businesses aren't going to have any hardship with Apple's requirement or the government's requirement, because they already have a DUNS number.

The only people for whom this is a problem are people just starting up app store-based businesses. But those are relatively few in the grand scheme of things, compared to the overall number of businesses getting DUNS numbers all the time.

But at least it's free, and mostly a one-time process, unlike getting your app submissions approved, or dealing with signing issues, or app guideline changes, etc.
The great California Exodus
The problems of PHP have been well documented here: http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-de...
I think its relevant that PHP does object and classes in terrible backwards ways and, among other things, a singleton will necessarily be rather ugly in this context. Learning about singletons won't help anyone get a better understanding of other tools that exist. Learn Ruby or Python if you want to do web programming.