skysight-inc/HackerNews huggingface dataset:
Professionalism is to be expected on both sides of the relationship. Two weeks notice is, in lieu of contract obligations, in most places in the U.S. not even required. It was, and I guess generally still is, considered a common courtesy.

The employer is responsible for structuring and documenting work in a fashion to control the risk of this situation. What if the employee were in a debilitating accident? Would you be complaining, in that case?

Employees see the way that employees, in general, are treated, these days. When an employer decides against an employee, they are as often as not "perp-walked" to the door. (I'm speaking of instances where no malfeasance has occurred or been alleged to have occurred.) Even if you strive to be a "good employer", you need to remain cognizant of the environment in which you exist. Employee loyalty is not rewarded the way it used to be (or at least, used to be shown -- true or not).

It was your responsibility to structure your environment to accommodate this eventuality. If a resource really is critical, write a contract with them that guarantees/incentivizes their sticking around and/or giving a longer notice of termination. If such a contract costs you more, well, that's the price of doing business.

("Time is money", and you've just asked for a greater commitment of another person's time. In a similar fashion, expect to pay more in return for an (effective) non-compete clause.)
We're nearing a point where we might question whether efficiency as a goal in itself has ceased to be beneficial to us. After all, we begin as dust and end as dust; why not make things more efficient by eliminating all the messy life part in between?

Maybe we should be less concerned about efficiency and more concerned about our quality of life. And not just we the wealthy (and everyone reading HN is much, much wealthier than the average human being), but everyone. Because if there is one thing history demonstrates, it's that when wealth becomes overly concentrated, grief is sure to follow for everyone.
I read the whole thing, and it surprisingly turned out to be pretty interesting (even though I didn't understand a thing).

I had to look up who the guy was afterwards though. A smart fellow indeed.
That is correct. Eventlet has database pooling for python drivers that are written in C.

See my response to your other comment for how eventlet handles drivers written entirely in Python. In short, it converts them.
Hoptoad threatened over frog-related trademark, changes name
An alternative strategy to limiting data is to obfuscate it at the source. If a small group of people use from a set of cards and each person pick one at random whenever they need to use it, the cards become little more than dumb tokens that cut the cost of a single trip and just happen to store trip data in the process. A single person's travel habits aren't decipherable unless every card in the set is scraped for data and the results are combined.

Of course, this is effective only if all the cards stay unregistered, and if there isn't a significant monthly (or other periodic) fee per card, unless I'm looking at this situation rather naively. (I live in a rural area without access to mass transportation systems, so I'm not speaking from any kind of personal experience.)
>For example, while Amazon may step on the shoes of the likes of Borders, look at what it is doing for consumers. On a global scale, we should be focusing on improving the lives of people, but at the same time we should continue to promote competition.

The same people who love Amazon are the same people who hate walmart and complain walmart is putting local businesses out of business. When in fact, Amazon pretty much grew their business by hiring walmart executives. And also while you look at what amazon is doing for consumers, also look at what it is doing for the enviroment.
>"have a script called run in the root of your project"

// Bleurgh. Why not give it some sort of descriptive title? "./run-startup-actions-initialise-database.sh" would only need an extra keypress to start with shell completion active.
"Unlike rocket-powered craft sent to Mars, Jupiter and other planets, Dawn is driven by a weak-but-steady ion engine. Powered by solar panels, Dawn’s engines zap a gas, xenon, with an electrical charge. As the charged gas shoots out a nozzle, it imparts a gentle push — equivalent to the weight of a sheet of paper sitting on your hand, said Mark Rayman, chief engineer for Dawn at NASA’s Jet Propulsion Laboratory in Pasadena, Calif.

But what Dawn lacks in power, it makes up in stamina. Its engines have been thrusting for some 1,000 days, steadily adding speed.

Sipping just milligrams of xenon a day, the super-efficient engines leave Dawn with enough fuel to push itself toward a second asteroid. If all goes well, next summer the 65-foot-wide craft will depart Vesta and head toward the largest asteroid in the solar system, Ceres, with arrival scheduled for 2015. Ceres intrigues scientists because it apparently holds a huge reservoir of water, Russell said."
I'm guessing their attitude is that the vast majority of bus riders are regular riders (granted, this is probably accurate), and the few tourists and new residents can just by a public transit map.
There are already "basic packages" like that where I live: free access to Facebook using Facebook Zero. Also BlackBerry access packages that only give you email & chat / Facebook access only, without web browser access to the entire Web.
And Bulbflow was released yesterday -- a new Python persistence framework for graph databases (http://bulbflow.com).
Euclid's algorithm doesn't make as much sense until you see it done at least once. It's a shame there's no example.
Finding the GCD of 85 and 221:

221 = 2 * 85 + 51

85 = 51 + 34

51 = 34 + 17

34 = 2 * 17 + 0

So our GCD is 17. Why? Well, if we rearrange the parts, we get...

51 = 34 + 17, so 51 = (2 * 17) + 17 = 3 * 17

85 = 51 + 34 = (3 * 17) + (2 * 17)

85 = 5 * 17

221 = 2 * (5 * 17) + (3 * 17)

221 = 13 * 17

So 221 and 85 are both divisible by 17.

Bonus: This also gives us a way to write 17 as an integral combination of 221 and 85. We also get this by rearranging the parts:

17 = 51 - 34

34 = 85 - 51

51 = 221 - 2 * 85

so

17 = 51 - (85 - 51)

17 = 2 * 51 - 85

17 = 2 * (221 - 2 * 85) - 85

17 = 2 * 221 - 3 * 85
wonderful.

Can you also shed light on thrift protocol ? i have struggled with the blocking nature of thrift(client).

Does eventlet convert blocking thrift client written in python to non-blocking ?
Is it possible you could be receiving the dropped connection for reasons other than a blacklist of Tor nodes for HN?
Would that not cause anti-trust issues? Google pretty much owns the online ad space. Blocking competitors ads is not in their interest.
If you don't operate under the assumption that people will work to improve their skills and learn so as to become functional and contributing members of society, you're committing to a static society or complete dependence on the government. People need to start acting like a job isn't a right but something you earn.

If you think the current disruption is meaningful, just wait 10 to 20 years for robots to replace almost all service jobs in a very short time
I still think Netflix is one of those transitional businesses not unlike Red Box. It will probably survive to be the place for indies and second tier studios, but I believe that Disney, WB, or Fox have the amount of content needed to create their own On-Demand internet service.
Business Cards Printing in UK
Offers business cards printing in UK online, cheap business cards and design your own custom business cards for free, Contact us now to get your Custom business cards Fast.
Here's a jsperf that tests just the arguments copy via slice, while loop, or for loop: http://jsperf.com/args-copy

In the browsers I tested in, it does indeed seem to be significantly faster to copy the array via a normal loop (in Chrome, Firefox, and WebKit mobile, at least). That said, don't start optimizing everything into for loops unless you've identified the code as a bottleneck. It's not worth the additional complexity for a function that's rarely called.
Problems of the RDF model: Literals
I use pymongo with gevent. A small hack is necessary to prevent pymongo from making a new connection for each thread that accesses mongodb (because with gevent, you can have a massive number of threads). I'd imagine the same is true with eventlet.
A smart fellow indeed.

He is one of the few people I know who has an insanely prolific online presence. His blog, What's New (https://terrytao.wordpress.com/) has hundreds of detailed articles on various math topics and occasionally I find myself using it as a beginner's reference to detailed topics. He's also published his blog posts as books. It is astounding how one person can produce so much intellectual output! This is in addition to his mathematical papers and books (https://terrytao.wordpress.com/books/)
Sure, that economic theory doesn't take into account jobs with the same qualifications. But why should it? When assembly line production began being automated by robotics, I'm sure there were stories about how the riveters and welders would never be able to work again. We're still better off because of that automation though - goods can be produced more efficiently and at higher quality.

We can't predict the future, but every previous disruptive technological innovation has resulted in society being richer. It would be quite the shock if the result of the most recent one somehow left us poorer -- something really worth reporting on -- but I don't believe it.
Just an FYI: the General Exam is the qualifying exam used to determine whether a graduate student (usually in his/her 2nd year) can continue on and complete his/her Ph.D. thesis. It's designed to test general knowledge (hence the name) in your field of study and sometimes the depth of your knowledge related to your thesis.

Different schools have different names for the exam. Sometimes it's written, sometimes it's oral...sometimes it's both. Depends on the school and the department.

In many instances, if you fail the exam you are booted from the Ph.D. program and given a "terminal" master's degree.
I've been seeing this trend first hand. That's why I am learning how to code. The fact is that the jobs that provide a living wage today are based on knowledge. So you can retrain yourself, or you can be left behind.
Obama and G20 leaders use secret Facebook-style network
Verizon Tells Customer To Get A Lawyer & A Subpoena To Get An Itemized Bill
How does this compares to Zed's own Tir?
The TV station was actually helping his cause by running this story since one of the requirements is "open and notorious use of the property." The use of the property must be so visible and apparent that it gives notice to the legal owner that someone may assert claim. The posting of no trespassing signs that they talked about also improves his claim to the home.
Used in Google+, is this a good approach?
All new Facebook ads are manually approved.
The companies we are alluding to aren't giving you that option; they're shoving the risk down your throat by not making it clear, when you receive your last full paycheck, that there may not be a next one.
What's for sure is that the tech economy is booming. If you can code, people would stop you on the street and offer you a job. I'm only exaggerating a little.

In the last 6 months, "we are hiring" signs have started to pop up in many stores. So the boom is not just for developers, it's also for retail positions. To me, that's the #1 proof that the economy is great (http://blog.foundrs.com/2011/04/26/the-sure-tell-sign-that-s...).
Can I take dumb money if I have smart advisors?
Taking the 'dumb' money now is a lot easier, quicker and more certain than going out to raise 'smart' money. Is it worth the time, effort and uncertainty to go for smart money if I already have enough smart advisors? Anyone who has done this (dumb money, smart advisors)?
Had she only lived a bit longer...
The Tatas have consistently impressed me. They're like Andrew Carnegie of India. The patriarch Jamsetji Tata (http://en.wikipedia.org/wiki/Jamsetji_Tata) help setup the Indian Institute of Science (it is so intimately connected that in local parlance it is often referred to as the Tata Institute) and TIFR both of which are premier research institutions in India. Another Tata, JRD Tata is the most well known though and helped grow and diversify the Tata industry in the 20th century. (http://en.wikipedia.org/wiki/J._R._D._Tata)

For those unfamiliar the Tata industry is better compared to GE than Google in terms of its diversification. They are involved in the energy, IT, automotive, steel, and I'm sure a whole bunch of other sectors.
Ask HN: What's your most-used function that you wrote yourself?
Obviously, I'm looking for relatively short examples.

Interpret "function" broadly.
You know more about thrift than I do. If the "blocking" code is in python, eventlet should be able to fix it. You can't do anything about the native machine code, though. It appears that the client library includes a c-based codec to improve performance, but it should not be a problem if the transport is based on python sockets.
Patent Troll From India Sends Notice To Major Companies For Infringement
Ver'Cielo Rojo'capitulo 40'online
Ver'Cielo Rojo'capitulo 40'online
In the current Friday July 15 you will see Red Sky Chapter 40 Chapter 40 of the series will be published online today 15/07/11 and was segmented with high quality
I’m kinda surprised by #2: I would think a scripting language to be ideal for this kind of thing.
Great article on how to get Nginx to JSONP for you, but I question the idea that setting up a proxy to a paid API with your client key embedded is a good idea... Seems easy to abuse.
> you're committing to a static society

You say that as if it's a given bad thing, it isn't; humans lived in virtually static societies for most of their existence; the current rate of change is simply too fast for most people and is itself not the norm. It's like we're trying to become the Morlocks and the Eloi.
def random():
return 4
This article I feel simply explains that advancement in technology could be hurting America. Yes, change can cause damage... but change will happen no matter what.

I think that the current divide is simply a educated/uneducated. Or it could be the market simply rewarding certain professions as they do with investment banking. However, it just so happens that the majority of these jobs are in SV as they do on Wall Street.

Yet, I don't understand the issue the author is laying out. Is he suggesting that San Francisco and the bay area is strictly a wealthy area? Is he implying that SV is so different from other cities employment wise? Has he seem the number of homeless in San Francisco?
If you do use mysql, you're in luck... here's a pure python client module that can easily be monkey-patched for gevent/eventlet:

http://code.google.com/p/pymysql/
All good points. I fully agree that the employee is not responsible for ensuring that there is minimum disruption upon their departure, management is. But what I don't see is why there seems to be so much difficulty in expecting a departing employee to give more than a minimum notice. People jumping to startups (and that's what this post is about) are usually very bright and have valuable skill sets. They usually leave because they are undervalued/under-compensated or disinterested, not because of an emergency or duress. So what's wrong with giving some extra warning to help out? Isn't that part of an amicable termination? Two weeks is common, but to fill a skilled spot takes a lot longer than two weeks.
Is the National Best Bid or Offer (NBBO) being Ignored?
A major takeaway from this story is that among the many innovations we can thank Apple for, one of the largest is finally creating a platform, mechanism, and support framework that allows individual developers the ability to be recompensed for their intellectual creations.

It's also nice to see competition creating variants of it on other platforms as well - so you can get the advantages of both a open platform (Android) and versions of Apple's App Store from Google and Amazon.
I'd be curious if they'd allow such an ad for a Facebook profile, possibly they disallowed it because it was inappropriate to the target user group (for example you're not allowed to target dating sites to people in a relationship). Especially if the guy chose to run it as CPC, Facebook will have no commercial interest in running an ad which will get a negligible amount of clicks.
Ok, Islam and Christianity I'll buy, but exactly what harm do you figure Judaism has done to the people of India?
Advice: next time you feel an urge to frustration or mockery of non-computer-professionals, pull this up and start reading it from the top.

And this is the general exam.
I don't think that a lot of people do realize that programming is a hard skill to master. Or at least, they keep trying to develop processes that will allow average-ability programmers to turn out exceptional quality software (TDD and various flavors of Agile being the current fad in this area).

Bottom line is that to deliver great software you need a solid conceptual understanding of what it's supposed to do (i.e. good requirements analysis) and smart people to design and implement the software. By its nature, software development will never be reduced to assembly-line work that any warm body can do.
Sure. This would be a reason not to use splatted arguments in performance-intensive functions, since

foo = (first, middle..., last) ->

relies on `Array.prototype.slice(arguments)` to transform arguments into an array. You could accomplish the same thing using a loop over arguments instead, or better yet, design your code so that the function can take a fixed number of arguments instead (just use an array as the second argument).

But remember, this is only going to matter for functions that are called thousands of times in a short time period. Elegant code is usually better than efficient code. "Premature optimization is the root of all evil."
It's all about education. We just got lucky that we picked IT when we were young.

My wife always laughs at me when I refuse to take a job, because "it only pays $60 per hour". Her friends and her don't have any high tech education, and $20-30/hr is their ceiling, most of them making less, and at the same time the jobs they do seem so much more boring than creating websites or building apps.

We are truly lucky, guys. Enjoy the ride it while it lasts.
At which point they'll be bitten by a low-grade network effect; the value of a streaming service to me goes up as its content goes up. I'm much less likely to use the Disney streaming service, the WB streaming service, and the Fox streaming service (and the HBO and Showtime and Discovery and...), than I am to join one that has them all... and the studios are smoking crack if they think I'm going to subscribe to all of them, or even just manage user accounts for all of them. This needs to be easier than what we have now, not harder, and we're sure not going to pay more for less (in absolute dollar terms, anyhow).

Not to mention each of the studio streaming services will suck compared to the one created by a company living and dying on the streaming itself.

Oh, and I haven't even mentioned DRM. The studios have demonstrated a certain inability to judge the DRM tradeoffs when left to their own devices. Maybe the studios could get away with running their own download-of-not-DRMed-files, but if they've also got to create their own DRM and make it work on all the rapidly-multiplying number of streaming devices out there, it'll be even worse. TVs that can receive ABC but not CBS... hooray for the 21st century!

They may try... I don't deny they may try. But it won't go well.
Indeed. I occasionally wonder what I'd be doing if I had been born a hundred years ago. I figure at best a stockbroker, more likely an accountant doing lots of manual arithmetic.
Everything You Need to Know About Google+…Thus Far
I'm admittedly rather ignorant on the topic, but before I commit a few days to researching this I thought I'd ask here: do job losses due to technological transformations often happen during economic shocks, or is this just a one-off coincidence?

The 2008 economic shock was triggered by (depending on your perspective, I suppose) lending large amounts of money to people who did not have the means to repay the loans, as well as the collateralization and sale of these debts in tranches of risk that were inaccurately calibrated. Is part of your thesis that this is somehow related to the emergence of the new economy? Is this an orthogonal but necessary trigger of job loss that causes the evaporation of old-economy jobs? Or is this unnecessary and merely coincidental?
Canada's 650 top Startups based on Alexa.com & Compete.com web traffic
Are you planning on maintaining these? In my city the route timings change depending on school schedules and time of year, so the transit schedule's that are posted at stops have to be swapped out three or four times a year.
Multitouch was not an iPhone invention, though I'd believe details of how they did it were. (Or anyway inventions of the company they bought before starting the project.) And using accelerometers to infer orientation -- wasn't that what accelerometers were invented for in the first place? (With other applications like triggering airbags coming later? I'm not sure but that's the impression I'm under.)
As the government has found out, R&D dollars spent is not the best way to rate the output. To put in programmer terms, we have all seen projects that spent a lot of money on developers and shown no more than a 5 person team would have had. The companies process (and desire) in patent making is an important item also.
connect_to_db();
in PHP. it knows if im in a development or production environment, knows the proper username and password, and connects.
Very basic i know, and im sure everyone has written a similar function, but super useful.
The displaced worker at the bookstore/recordstore becomes a Farmville-loving, unpaid-content-producing, at-home-living, virtual-goods-buying, ad-viewing serf, kept alive by a wealthy technical elite merely to keep the system running. Welcome to The Matrix!
Hahaha I'm sorry! If you do, it will be worth it, I promise. I'm certainly far from rich, and my mac laptop is dying and more than 4 years old, but I love it to death and continuously open it up, fix it, and replace parts whenever they go bad - it's a real trooper.

Also, you will be blown away by the software quality on macs... when I was growing up, all the 'good' software was for windows, but now the situation has completely reversed.
after four years with the company it is probable that he had seen other people come and go and developed a sense of how the matter would be handled

You'd have to know the company, but I can categorically say that this was not the issue.

Finally, the fact that pension was viewed as a tool to retain a young go getter is probably a fundamental miscalculation for promising developers - young people attracted by pensions wind up in large organizations or government not in dynamic teams with a high beta.

It wasn't the only benefit, but your point is well taken. People wanting to join a startup (and younger people in general) are not interested in long-term stability (unless of course it is their dream job) which this wasn't.

But the question is not about why this particular person left, it's about whether good people leaving for startups should even consider the employer when deciding how to leave.
Considering that 40% of Indians earn less than 1.25$ a day, this still is not going to completely solve the problems faced by the "average person" in India. Anyone who can afford this house is probably working in one of the cities where the cost of land would be at least 10 times the cost of the actual house. So who would actually be able to use this?