skysight-inc/HackerNews huggingface dataset:
On a database section, I am not a fan of PDO and I choose native interfaces like mysqli for my DAO layer or opt for something high level like ORM depending on the requirements.

But it goes without saying that protection from SQL injection is a must, it is just PDO's statement binding is not the only way. MySQLi does support data binding, and for others it is easy to DIY using sprintf and whatever is the escaping method target native driver implements.
> The leaders and the bureaucrats of the Govt. of India deserve to be shot in a public square for their sheer corruption and incompetence.

The Indian public deserves an equal or greater share of the blame. Government is the people's responsibility in a democracy. If governance sucks, the citizens are not doing their job.
I don't understand what you mean by this:

you've got to assume that in countries like that far less people actually realise they are gay

Can you please explain? Are you saying that people may be gay but in happy heterosexual relationships because they don't understand their true desires?
This may sound like a cliche but the it's what you do for your country that matters more.

I too was faced the same dilemma a few years back and on a whim I joined a small volunteer organization that teaches street children. Being a one trick pony I decided to teach them computers. In just 2 months those kids, who did not know the English alphabet learned to use MS-Paint doing stuff like Undo/Redo/Copy/Paste, etc. Seeing those kids learn was one of the happiest feelings of my life. I later heard that one of the girls got admission in a govt. school because of what she learnt in that org.

Anyway, the reason I say this is because I read an article a few months back (will link it if I can find it) about how in Western societies there is a very strong emphasis on giving back to the country. Even people who are doing well generally volunteer on weekends for community service, etc. They have a very strong feeling of patriotism and an in built societal structure that makes them want to give back.

Now I have never lived outside of India so I cannot say if the above is true or not but having lived in India all my life I have never seen anyone, any relative, friend, etc do any sort of community service ever (unless of course there is religious angle). So all in all we have a lot of people complaining but very few doing anything.

I think every person who has completed college has the ability to make a difference but because the problem seems to be so "huge" nobody wants to do anything about it or is maybe waiting for others to lead them the way. The thing is you don't have to change everything, you only have to realize that anything you do no matter how big or small still makes a difference.
As mentioned probabilities is something you want to get into very early. Its easy to understand at the start and its practical uses in many different computing areas along with many other things in life is priceless.

Good place to start would be to go through khan academy's probability videos.
When I was in early university, I went through Introduction to Algorithms and chapter by chapter, I implemented nearly every algorithm presented in the book. At the time, I had no idea why I was doing it (fun? ACM practice?), but in hindsight it was incredibly important. I learn by doing, not by reading (at least doing cements what I read), so I make sure that I incorporate a lot of practice into my plans.
I disagree that it's "dying". People management is important, and although bad managers deserve all the scorn heaped upon them, we actually would do better if there were more managers.

The "flat" organizational model seems like a good thing, until you realize that what it actually means is that there's a high managerial branching factor-- sometimes 25 or higher-- which spreads managers way too thin. The problem is that this is unstable. Any manager with 25 reports is not going to be able to be fair. A subset of these reports (let's say 4-5) is going to win the boss's favor. They become de facto bosses off the other 20, but are also direct competitors with them. Now you have all the disadvantages of a 5-tree (instead of 25) but none of the advantages.

Most "flat" organizations aren't egalitarian-- just lazy when it comes to figuring out a structure. Instead, they've traded official organizational hierarchy for unofficial, unstable arrangements that are actually more problematic. In a stable arrangement, your boss is your boss and you are not his competition. In an unstable and informal environment, these "de facto" bosses are also direct competition. That never works well.

People management is still necessary, and good people management is extremely valuable (and, sadly, somewhat rare in many organizations). At one time, I thought otherwise, and that it was the engineers only who actually mattered to the health of an organization, but I was wrong.

What has proven ineffective and wrong is the world in which people managers were given prima facie higher status, creating organizations in which the only way to progress is to move into a management role. That proved not to work, and it does seem to be on its way out.
> cleanliness, serving speed and courteous behavior.

The author's definition of courtesy is very different from mine. When I am dining out, here are my expectations:

1. Let me settle down. Do not shove the menu in my face as soon as I put my behind on the chair.

2. Do not hover around my table after you have handed me the menu. It's not rocket science to watch from a distance and see if I am ready to place an order.

3. Bring food in proper order. Do I need to tell you that you don't bring the soup, appetizer, main course and dessert all at once?

4. In between the meal, if you feel the need to interrupt me to ask "do you need something else", do not just barge in. Wait for a pause in conversation, and approach from where I can see you coming. If I am in midst of the conversation, and you teleport behind me, and all of a sudden I hear "do you need something else", that's bad customer service.

These aren't the things you can expect from Sarvana Bhavan. My experience is you get in, there is a huge crowd most of the times, you try to get the attention of a roaming wait staff to get a seat, the seating is too compact and all expectations of reasonable privacy are null and void, the wait staff will hand you the menu as soon as you sit down and many a times just wait there while you go through the menu. Most of the times, you get your appetizers and main course together(speedy service, eh). Once you are done with the meal, the check magically appears - the restaurant is eager to get rid of you.

Bottomline - visit if you are hungry and looking for someplace to stuff something in your face and get out, or you have heard a lot about the place and want to try it. Any other expectations won't be met.

Disclaimer: I was in Chennai for 4 years, and left about 5 years back. Things might have changed since I left, though I won't bet on it.
I know a bunch of underemployed ones with no health insurance.
If homossexuals had the rights without calling it marriage, I think he (parent poster) would be all right with it.
I guess it says a lot that I had no idea Tim Cook was gay. Since it seems society thinks it is not a big enough deal to warrant a mention.
If india had complete structure then it would not recieve or indeed need aid from other countries. It would also be hard to bribe anybody as it would be very hard to hide said bribes.

That all said it gets down to the old issues - does it work then why change it. If you have a process that works then however unstructured it is nomatter how you define structure it stilll works. Could it work better, maybe, maybe not.

Also saying something is unstructured is a viewpoint maybe not shared by those in such a company. For them that would be the normal way of doing business so for some it may be unstructured and for others closer to home it is the culture.

If every country looked at a problem the same, it would be rather boring though peacful. One mans idea of structure is another mans idea of extra uneeded overheads and work.

Bottom line if there happy or in business fiscaly sound then nomatter how they work, if there happy then so be it.
Especially considering most web dev's will just implement jquery-ui or somesuch draggable library that will handle the proper 3px drag fix for them.
I, like you, started on the 6502 and then learned the 6809 (well the book was 6809 but the processor was actually the Hitachi 6309). They were fun processors to program on and I guess if push came to shove I would chose the 6809, but I had the most fun with the 6502 (actual screen vs. serial port).

I later learned IBM 370 assembler (why not have the CompSci's assembler class on a mainframe) and 8086/88. I hated both. They felt wrong compared to the 6502/6509. Although 8086 assembler did help my grade in the graphics class.

Assembler is great to learn because it teaches you what the final form of your program is.
Maybe It's Time To Carry A Real Camera Again
Indeed. That moves them from merely allowing people to search for messages to forming the message and framing other peoples messages.

This also makes me uncomfortable.

When so much of the information that so many people get from the internet is through gatekeepers like Google and Facebook, I think any distortion to this is deeply dangerous and hard to separate from the sorts of distortions the Egyptian state-owned media engaged in when covering the Tahrir Square protests.....
Twitter is traveling a road that the industry has already been down before, and as an outside observer, it would appear that they've failed to learn from history.

AIM, MSN, and the other IM networks gradually attempted to generate revenue by adding advertisements to their official clients, and additionally, did not provide clients for operating systems other than Windows (and sometimes Mac OS/Mac OS X).

In addition to that, there was a significant user demand for IM clients that could connect to multiple networks at once, which was strictly contrary to the business goals of the commercial IM networks.

None of the IM network protocols were public, but this didn't stop developers from reverse engineering the IM protocols and producing alternative clients, often to the chagrin and frustration of the IM network providers. There was, for a time, a small arms race between AOL and implementors of unofficial AIM clients, but invariably the 3rd party developers won. This despite the fact that the protocols were complex binary-only affairs. The modern reliance on HTTP and self-describing encodings (eg, JSON) is a significant difference from that time, and makes reverse engineering of closed protocols vastly easier.

This arms race also wasn't constrained to open-source; there were a number of shareware third-party IM clients.

If Twitter continues to lock down their APIs for the use of 3rd party clients, while simultaneously 'monetizing' their client while almost invariably making it less attractive to users, then it is almost certain that we'll see the emergence of clients using unsupported API, especially for the desktop, and most likely for mobile. My biggest concern on mobile is whether Apple, at the behest of Twitter, would pull unofficial clients from the App Store.

This already happened to Pandora, who is engaged in a minor arms race with third-party developers. Pandora provides a poor Air-based desktop client, resulting in a number of native clients being produced for Linux, Mac OS X, and Windows[1]. Pandora occasionally produces updates that break these clients, and the clients are then updated to fix the issue.

[1] Pandora native clients: http://6xq.net/projects/pianobar/ http://www.pandabarapp.com/ http://www.adamhaile.net/projects/elpis/
I concur. It is a difficult task, and sometimes you just get very lucky as well. Either way you find Mr/Mrs Right, and when you recognize and appreciate the fact, you are well on your way.
I agree. I've felt the same way for a long time, and still do occasionally. I guess I realized that I was only not committing myself fully because if I sabotaged myself (did work at the last minute etc) I provided myself with an excuse for failure. Because I'm moderately intelligent, I could get away with that all through high school and university, but eventually I had to radically change my outlook to actively embrace failure.

Putting everything into something and failing is better than succeeding without putting anything into it. Don't hold your passions at arm's length.
The mistake the author made is that he lived in India for three weeks. Had he stayed for six months or a year, he'd have been able to figure out what makes India tick - India is the very embodiment of clever innovation to survive - it will ask you very tough questions and it will compel you to innovate, often rapidly, just in order to survive - not even succeed. This, in India, is known as "jugaad".

He missed the "jugaad" all around him - people, in their struggle for survival, do all sorts of things. Lying is jugaad, dishonesty is jugaad, the Cobra is jugaad, the marijuana in tourist places is jugaad, the beggar's strategic location is jugaad, the dump-heap is jugaad (not all jugaads are meant to make society better as a whole).

But maybe that's too naive. The most unfortunate in India are amongst the most fatalistic - they give up trying - after all, they never won the birth lottery by being born in Europe or the US, or even in a rich home in India - so why hope for social justice? Laws are meant to be broken in India, justice is meant not to be served (India is a study in legal arbitrage - it always has been). Life is meant to be tough in India, values are meant to eschewed. But even with all this, "jugaad" survives and serves its own brand of justice. The mistake most foreigners make in India is that they continue to believe in their ability to right the wrongs and make a change. A feeling of utter helplessness is very alien to them. It's coming to terms with that helplessness and digging out pockets of jugaad from that black mass of helplessness is what makes India tick.
you say you disagree, but then confirm what the original post said.

it wasn't arguing that managers were not useful. it was saying they are decreasing in number.
Marriage isn't a bad insitution. It's easy to say it's unncessary, but then your partner dies, and now you have no legal rights or protections.
You can be homophobic without opposing gay marriage (regardless of if you use "marriage" as the word), just like you can be racist without thinking black people shouldn't be allowed to get married. It's about attitude, not actions - the fact that he isn't trying to force his homophobia on others is what makes him the better kind of homophobe.
Cached: http://webcache.googleusercontent.com/search?q=cache:MOYIexE...
Why did you write it if you have never run it? Was it just for people who read your article and might want to run the code?
As I understand it with LR gyros, if you rotate them sufficiently slowly so that they move less than half a wavelength in the time the light transits, they re-lock on the new orientation without interference. This is a limit based on quantum physics and it's why I said that larger gyros might reduce the problem.
Good point. I guess I agree with the OP. I disagree that it deserves to die, or that it's a good thing that it's dying.

For an example, Google has a supposedly "lightweight" system that, in practice, works quite poorly. A more traditional management structure, at a place like Google, would be an improvement. (I have no idea how Github and Valve work. Their structures might work extremely well.)
You are living in a developed country, right? You got many years of language, writing, speaking, thinking and maybe higher education. You don't know what illiteracy means (when you can't read/write; and don't understand anything about democracy or the banking system).

Your average person in a developing and poor country is not Arun2009. It's a fairly ignorant person who doesn't know either his rights or his duties.
I'm not sure I agree with this. In many ways, this fight mirrors that against racism, and in many of this similarities I find issues that could negatively affect progress.

For example, saying that anti-gay people shouldn't be coddled is fine, but trying to pretend those beliefs are just going to go away is ignorant. What Google is missing here is the 'why' and instead it comes across as pushy.

People are still, and will always be racist, just as they will be pro or anti gay. That doesn't make it right, but it's certainly something Google should be prepared to deal with. I get wary of public companies taking political stances in the same way i do with actors and musicians.

That said, Google is probably in a fine position to do this, as the majority of the Internet world is dependent upon them.
Instead of reading those articles, nowadays I just go to sleep when I a title like this.
So, what does a political campaign / stance mean for a search company? Would they skew search results to support a position? If I am their competitor, it seems like an opportunity for FUD, even if they are doing the right thing.
OMG. That piece is an example of how hacker reality vs end-user reality diverges beyond belief. The N770 was a worthless piece of crap, period. All of the Nokia Internet Tablets flopped. There was nothing in any of them that was imaginative, cutting, edge, cool, or must-have. They were a flaccid repackaging of everything that already existed in terms of UI -- but with less functionality, less ease of use (hello, Dependencies!), and less reason to exist as a product. That HE found them to be compelling devices makes me fear for the future of MeeGo now.
How to Prove It. It's cheap (paperback), highly rated, and insightful.
The staff at the NYC location of Saravana Bhavan is also not particularly friendly or accommodating. The food is decent but the poor service has kept me from returning.
Easier said than done. You know it is more complicated than that. India is a namesake democracy, same families get elected all the time. With about 30% illiteracy rate, people don't even know they have a choice, thousands of years of oppression of majority of the population, ... so on.
have spent some time tweaking the algorithm for relevancy.

the thing that i find most annoying at this point is the slow speed
The color() Function
Google is not the US, the US is not Google. There's nothing hypocritical about their position just because their headquarters happen to be based on the US. Google's culture is what matters.

And they aren't telling anyone what they must do. They're giving their opinion. Just like you are doing here to them.
الجزيرة الرياضية اون لاين
You haven't seen india fully,not even 10%.
You cant blindly say the whole india is a shit hole.
come to south india.It will be much better.
Coursera's Automata course is really good, but it's hard work. It's a six week course, and you'll spend around 10hrs per week if you do everything (and I'd recommend doing everything).

Udacity's introduction to statistics, so far, has been really easy.

From what I've seen so far, Udacity are aiming to be more inclusive "community college" level and Coursera are aiming for a true university level education.
Depending on the chemistry lithium ion batteries are safe to up to 400°F or more. Surely the manufacturing engineers pick a thermo adhesive with a melting point between the maximum operating temperature and the maximum safe storage temperature.

Think about the iPad 2 screen glue. Glass glued in place, but a hair dryer is more than enough heat to release the glue.
Also more, Dr. Weston Price: http://gutenberg.net.au/ebooks02/0200251h.html
I'm nitpicking, but it's CLANG, not Clang. One's a video game swords thing, the other is a compiler.
And you are not the target customer (neither am I). They know who their repeat customer is and serve that segment well.
Cheap desalination.

Cheap harvesting of the sun's energy.

They're probably related.
It sells ads.
In Chrome, the Web Audio API is used -- not using an audio tag. As each chunk of the buffer comes in to be played and decoded, it's processed for spectrum and waveform data:
https://github.com/jsantell/dancer.js/blob/master/src/adapte...
MDB: IMDB data for a folder of movie files. Sort by ratings/genre/runtime
DOH! I also linked to that book, above, but from Australia Gutenberg.
Sometimes I look at other people's resumes and I see their finished PhD, their publications, their prestigious postdoc positions - and I feel a pang of jealousy. I feel like I have little to show for my unfulfilled years of toil in a doctoral program. Then I wonder why they are working outside of academia, and I begin to ponder the possibility that they may be jealous of me for understanding the system and leaving when I did.

I don't know. I'm going to keep on coding in any case.
The one that you enjoy!

There is nothing worse than doing something you don't like, no matter how good you are paid for.

Do what you enjoy and will be a great for your career!
I'm no expert and I don't have anyone better educated than me in this area to cite, so I'm going off what seems to be logical to me.

There are people in areas where homosexuality is generally accepted (like American, UK etc.) - at least accepted enough that plenty of people can be open about their sexuality without too many problems - who don't acknowledge their sexuality early on in their life. Sometimes this means "not until a few years after puberty", sometimes not until they're middle aged or even older.

Whether it's because it literally doesn't occur to them to consider the possibility, or whether they've had some feelings but ignored them, I'm not entirely sure, I suspect both cases happen. All I know is that these people do exist, people who genuinely take a long time to realise, not talking about people who know early on but take a long time to come out to others.

So, if this is possible in society where, whatever your view on homosexuality, it's an understood fact that there are gay people out there, it logically extends that those people exist in countries where gay sex gets you a death penalty - and I would assume that it happens more there, because there's no built in expectation surrounding you that some people are gay. When I was at school there was a "known fact" through the school that 1 in 20 people are gay - so when I first thought about my own sexuality, I was aware that it was far from impossible for me to be gay. In some countries I'd have been raised to believe that I am definitely straight because there are no other options.

I believe sexuality is something you are born with not brought up to have, therefore there should be as many gay Muslims as there are gay Atheists - culture can definitely prevent people from admitting it, but I think it can also prevent them from knowing it too.

p.s. Hope you reply letting me know if I've made my thoughts clearer, and if so whether you agree or think I'm talking shit. It all makes sense to me, but I have no personal experience, having been lucky enough to never have had any fears or uncertainty about my being gay, and living somewhere where I've never actually spoken to someone (internet excluded) who had a problem with me because of it.
Seems to be along the lines of what Simmons is advocating. May not be the ideal Twitter replacement, as it relies on servers (rather than being decentralized like email) and is written in PHP.
For all the self-deprecation in the post, I think we can all empathise, at the very least with:

> and so here I am: still standing in the arena, in hand-to-hand combat with demons mostly of my own
> making, aiming to make a small dent in the universe. nowhere near a great success story, yet
> fighting the good fight and perhaps helping others to achieve greatness as I attempt a bit of my
> own.