skysight-inc/HackerNews huggingface dataset:
These clients use a different authentication mechanism. Looks like authentication tokens for clients weren't leaked.
It seems wrong to teach your children that the machine is a person.

Why not tell them "I put a script in the machine that will shut down the screen if you yell too loud"?

Same result, more truthful method.
A bit more on the devops role - we are looking for a developer interested in infrastructure or a sysadmin interested in development to help work on our puppet / mcollective managed platform, produce tools to help developers productivity, and work on metrics collection / visualisation, as well as some more strategic development work on the high traffic consumer websites. All in a fantastic office next to the tate modern. If you are interested, email Joseph above.
I think about this from time to time. How did I get there? How do I get further?

I started off really bad. I've progressed to "good", and hoping to get to "great" someday. I've picked up this wisdom:

1. Learn an IDE and an editor. The IDE is useful for refactoring, for project management, for code completion, and other niceties. Your editor is there to lean on when you have to do some down and dirty editing. For example, today I took a GORM class, copied the contents into vim, and within a few macros and regular expressions I had transformed it into the bones I needed for an HTML table in five minutes, as opposed to a half hour of copying, pasting, adusting, and making sure I didn't make some stupid error. Now, to be fair, for many years I was more comfortable staying in just Vim and can see why someone could just stay there, I think both are necessary. (Now, editors like Sublime in languages like Ruby may be close enough to an IDE that it doesn't matter, but I'll swear up and down that having a tool that contains the kitchen sink makes the 80% much more comfortable to me.

But by learning it, I mean really digging down and memorizing the keystrokes and being able to use without thinking. If it takes flash cards and repetition, so be it.

2. Great programmers don't have to worry about learning libraries -- they just figure them out. I am not a great programmer. I work to understand an API so that I don't have to think about it when I'm using it.

3. Most of our work is fairly repetitive in terms of the patterns we use, so figure out the patterns that work ahead of time and look for ways that you can avoid making decisions. Every time you have to think about something simple because there are two equally-okay ways to do that, you're slowing down.

4. In a similar vein, look for ways to write programs to simplify what you do, especially in terms of generating code. In any given project, many of our screens can be the same, especially in enterprise software. Instead of copy-and-modify, write a script that is repeatable. Even with the Don't Repeat Yourself maxim, there are far too many ways in which we may not be repeating the same code, but we're certainly repeating 90% of the same process of getting to a similar end result. If you see an elegant way to abstract that out, all the better, but code generation can be a useful tool.

5. Pair program with better programmers. See what kinds of patterns they use. Steal as you can. I had my greatest growth when I was on a project with a programmer I really respected and we paired. I got insight in to how he approached problems that I was able to take with me.
>>>Is there a good reason to believe that one of these effects is stronger than the other?

That's a great statistical question! If the data skew was proportionally equal in both directions, the two skews would cancel each other out, right?

Unfortunately, we don't know if the data skews towards accidents, or skews towards suicides, or skews towards them both equally. Here is the snarky one-liner answer to your question:

>>>Is there a good reason to believe that one of these effects is not stronger than the other?
Presumably a propaganda piece designed to win over the remaining 50% of the American voters who still haven't bought into the idea that the Democratic party can turn the US into a leftist utopia.

"Democracy will cease to exist when people realize they can vote themselves more money." Does the article mention that 15% of Swedish, female voters work in (government) health care? Add a couple of more percentage points for teachers and other government workers... Is this sustainable?

Does it mention the injustices of the welfare system, where fresh-off-the-airplane "refugees" can receive more in benefits than I net after taxes in my work as a software engineer?

Does the article mention the great Moslem slums of the cities? There are places in Scandinavia which firemen and postmen can no longer go into unescorted for fear of being pummeled by rocks. Does it mention the occasional "youth" riots? (We just had one a few weeks back in Gothenburg). The Sahlgrenska university hospital in Gothenburg must now keep its emergency entrance locked due to recurring fights breaking out between various clans.
Fast forward to 2030...

...
for (int month = 1, month <=12, month++)
{
printf ("You never call. I'm your Dad you know. :-( ");
}
Both in the federal form and the state forms that have been proposed by the same groups, independent analyses have found that the so-called "FairTax" proposals to replace income tax with sales taxes aren't realistic, because the proposed tax rates would fail to replace the revenue of the replaced income taxes.

There are other problems as well; the page linked here states as a problem that that income tax, designed to be progressive (increased total tax rate as income increases), has some features which make it regressive in certain cases, however, the "FairTax" is regressive out of the gate -- because its a sales tax, the effective rate declines as mean propensity to spend declines, and that propensity declines with income.
> Contrary to the popular belief, an entrepreneur is NOT a businessman. The former has a much larger goal than ONLY making money.

I don't agree with this sentiment. To be a good entrepreneur you have to be a businessman and know how to start and run a business (or learn how to start and run a business). However that doesn't mean you have to sell your soul for money and a good (and ultimately successful) entrepreneur can build a business that solves problems, provides really good value for customers and makes money for himself as well as the rest of the team.
As well you shouldn't, since that was the answer to "what do you mean by fair?", not "what do you mean by unfair?". The characterization of the "FairTax" as unfair was that it failed to meet that criteria for fairness.
Dependency Injection – Building loosely coupled components
Using Google Trends and Correlations for stock trading insights?
Wow... why did this guy think it was a good idea to have children if he didn't want children? "Hi, I need a script to kill fun. I hate when children are having fun."
On a tangent, one thing that caught my eye is: "or February, my wife and I are trying a gluten-free, wheat-free month to see what that’s like."

In my opinion, this is one of the highest-leverage lifestyle modifications you can make. I started this in September 2012. In short, it helps with (chronic) rhinitis management - my sinuses are blocked less often and I am congested less frequently. Even though wheat-based foods aren't inherently much more calorific than others, I have found that my net caloric intake has been reduced by avoiding wheat-based foods. I replaced wheat-based foods with higher quality foods - like brown rice. Using this in conjunction with regular exercise, I have become healthier, more energised and motivated.

Starting a cycle of being healthy (exercising, eating correctly) initialises a self-sustaining feedback loop of motivation: once I started to see results (improved body composition, feeling more energetic) I became even more dedicated to this cycle of living healthily. Ceasing to eat gluten-based foods catalysed this for me.
Now if only this worked with other peoples' kids on Xbox Live...
Rosetta is optional but supported on Snow Leopard, and gets downloaded automatically on demand. Seven years of transition (assuming SL stopped to be supported when ML was released) to Intel was more than enough for active software to be ported.

You just can't carry legacy code indefinitely, you have to stay focused or you'll be all over the place and suffer death by a thousand cuts.
Yeah, that's it. I don't need your protection if it ruins my freedom. Children neither.
My one-liner:

a = {"fred": 4, "wilma": 8}
b = {"t-shirt": 6, "fred": 0}

print ", ".join(sorted(set(a).union(b))) or "<none>"
I wonder why? It doesn't update result as you type, doesn't support Less, CofeeScript etc., doesn't have console and until recently it used ancient and broken version of codemirror.
I actually prefer the first of those - I find it easy to read than the second one - probably because the calls are chained rather than being nested.
Science cafes offer a sip of learning
improvements ?!
6 Tips to Reduce the Size of your PowerPoint File
Is a PowerPoint file that is over 10 MG too large? Yes! PowerPoint files shouldn’t be too large to send in an email or load into a Google Group.The following 6 tips will help you reduce the size of your PowerPoint.
Which jobs are open in Gothenburg? I can't see any on the Spotify website.
This way, the connection runs the request instead of the other way round.

I don't know if I'd call it an issue with the API -- there is a pretty active debate going on about it: https://github.com/rethinkdb/rethinkdb/issues/256 Please chime in there with your POV, it would really help!

how expensive is the creation of a new connection?

Connections aren't thread safe on the clients. It's very efficient to open a connection to the server, but it still requires a TCP handshake. This is a good low-level API -- we'll build a connection pool on top of that soon (I just opened an issue for it here -- https://github.com/rethinkdb/rethinkdb/issues/281). People seem to want one because they're used to one, but it hasn't really been necessary in our testing.
It will take a bit of time to get a PHP driver going. Hang on!
Its a 23% tax-inclusive rate, which is equivalent to a 30% sales its much higher than European VATs.
Son, I hate to tell you this, but I invented the Internet to keep you preoccupied as a child. It took me a good half year of coding in my off time, but I finally got it right and, well, your posts and this response are the only human-input things you've read on this screen since you were 7.

Love,
Pa
Noted -- we'll try to get that up soon.
Verge and Huffington Post attempt impossible: smarter comments
I tested it on Chromium (the FOSS version of Google Chrome), and in that browser, the math uses a much smaller font than the Firefox version. (Firefox looks "right.")

I'm using Linux Mint 14 (the most recent version), the default version of Chromium from the distribution's repo; all packages are up-to-date, and I don't have any browser extensions or any intense customization.
1. People are upset that Aaron Swartz faced losing the right to vote, hold public office, serve on a jury, or own a firearm, penalties entirely unrelated and disproportionate to the crime.

2. Your analogy fails because MIT IT certainly know what they could do to secure their systems more robustly, and chose not to do so. This debate has gone on long enough; most of HN disagrees with your position. Let it drop.
I don't think its wrong, its just stretching the truth. Kids know its a machine, but believe that its sensitive to noise.
This is not necisarilly true. As a student in Sweden I can explain how our system works.

The university is free for swedes and europeans (might only be free for schengen countries). In Sweden we have a government agency that controlls student loans and subsidies (the agency is called CSN, Central Study Board). As a Swedish citizen you have the right to a ~2000 SEK (around 300 USD) per month subsidy. So just by attending university you get 2k SEK each month (this is limited to I think 12 terms in total, i.e 6 years), this is something you don't have you pay back.

We then also have the right to a student loan which will push up your monthly "earnings" to ~8000 SEK (1200 USD). This loan you obviously have to pay back. The current plan is that every student that took a loan before 2001 have 25 years to repay it.

Students that live at home during the duration of their study time can get away with only taking the subsidy. But most student (at least those that I know, including me) have to take the student loan.
I think it's pretty common at "elite" schools in the US to have unsupervised, take home tests. Where I went to college we often had closed book, timed take home tests and I think compliance was actually extremely high.
Ask HN: Where should I advertise to find a great DevOps person?
Just wondering if anyone has any tips for a good place to advertise to find a DevOps person.

I prefer to find industry specific job boards if possible.
Pune, India - Fulltime.

Co-Founder of Styloot.com here.

Styloot.com, is a visual search engine for fashion. At 700,000 skus and 4000+ brands, we carry slightly more women apparel than Amazon and twice as many shoes as Zappos.

We are looking to hire Python and Javascript developers.

You will be working directly with the product and will be making decisions that directly influence the site.

You must love coding - everything else we can work around.

You must have a github repo that you are proud of. Email us if interested - jobs at styloot.com.
Take home exams can actually be quite brutal, but are rarely encountered in large (i.e. 100+ student) classes because they usually result in an correspondingly brutal amount of marking. I've had them only in a few senior undergrad courses and grad school.

Why are they brutal when you have your notes, books, the web, etc. available? They're usually not based on spitting back answers you were given or can look up. You actually need to use what you've learned to produce something novel or, at least, very esoteric. e.g. I've had exams where I was asked to look up a paper and reproduce the unpublished proof to get from equation (x) to equation (y). Such proofs are often not published because the authors are freaking geniuses who view the derivation as obvious, and getting to the point where you can do the same proof with intense effort is one point of the course! These exams are often fiendishly difficult and/or open-ended, so you will be working like a crazy fool from the moment you get the exam until it must be turned in. This sometimes means pulling an all-nighter (or more). (I despise all-nighters as the last resort of poor planners, and hate being forced into them.) Time is such a constraint that, if you didn't study and absorb all the course material thoroughly prior to the exam, you will likely not be able to get much done in the time allowed. Frequently nobody in the class will actually finish, and it's really just a matter of how much you can do relative to your peers, and how well.

Collaboration during preparation was never forbidden in my field, although I hear other disciplines (especially humanities) can be quite different. Collaboration during the test is usually discouraged, but obviously students are on the honor system. If any actual copying is detectable from what is handed in you can bet it was egregiously bad. If Harvard was able to make charges stick to 70 students, you can safely bet that twice that number cheated their hineys off, but many were just a bit smarter about it.
Isn't IR35 used to cover cases where there is actual tax avoidance though? Where it is not a sole propriertorship, but rather a Ltd, and the owner is extracting his salary through NIC exempt dividends?
A take home exam can be as taxing as any other test you can take and often is more difficult than your generic test. In some ways more so, at least on campus you have access to resources and other students.

If students, act according to an honor code, then professors can get on with the work of teaching.

If people have to spend all their time fighting cheating, which is a non trivial task, it creates a very different environment. I would go so far as saying that it ends up obviating the entire point and purpose of college.

----

This is what colleges were originally built around: Students came because they wanted to learn X subject, and the best place to do that was with the professors who were essentially THE experts in their field.

You want libraries and data sources bar none? Universities had them. Want to deal with and learn from like minded students and teachers? Few other places you could be to get that.

People assumed that you wouldn't cheat on your test because that would be like cheating on a MIT open courseware test.

Now things are different - for a lot of people, colleges have become "The next step" to get a job. People assume that the correlation now goes the other way - college MAKES you better at getting jobs.

As a result your population is also now filled with a lot more students who just don't care. The degree is your only way to get a foot into the door of a stupid system.

To steal a phrase from finance, college must be decoupled from "financial success."

Note: A better insight is avaialble from Panos Ipeirotis' experience dealing with cheating in his class a year or so ago. IT was discussed extensively on HN and the blog post, now pulled, was called "why I will never pursue Cheating again". If you dig around a bit though you should be able to find a copy.
The Big Money Behind Hit Game Minecraft
Had to be Government students.
How do you create an awareness of your book and promote sales? If you have a publisher and you have a print edition of the book, that may give you the advantage of being able to have your book on store shelves to speak for themselves, but if it's an e-book then getting the word out seems harder.
wonder if it's that notorious ruby/YAML hack
There seems to be a few pilots on this thread but no one has yet mentioned trim tabs (http://en.wikipedia.org/wiki/Trim_tabs). The landing speed of a small plane is slower than cruising speed and the trim tab has to be adjusted or keeping the nose up will take take more strength than realized. That alone would cause further panic to an inexperienced person.
FULLTIME or INTERN. Offices in San Francisco, Menlo Park, and Boston

Delphix is a data virtualization company that is doing for databases what VMware did for servers - this is a massive market, and we are on track for similar success. We're looking for software generalists to help build our full stack, from the operating system and filesystem, to the Java management stack, and the GUI.

The engineering team at Delphix is composed of the inventors and architects of the VMware platform, ZFS filesystem, DTrace, Oracle RAC, DataGuard, and Flashback.

We've built an engineering culture where anyone with a good idea can have a voice and drive unique projects. Whether it's developing new abstractions in the filesystem, designing an architecture to interoperate with a novel database, or developing a new cloud paradigm for virtualizing data, there is no lack of hard problems and opportunities at Delphix.

The Delphix platform has already established itself as the premier platform for structured data management in the enterprise world. In our first year of selling, we added 50 large corporate customers, including many from the fortune 500 (Proctor & Gamble, RBS, Fidelity, Deutsche Bank, Comcast, Staples, Qualcomm, among others). Year 2 revenue is growing at 300%.

Check out our technical blog at http://blog.delphix.com.

News coverage: http://www.infoworld.com/d/the-industry-standard/4-smokin-ho...
Programmer to be homeless
Thepiratebay.se SSL certificate expired on 2/2/13 3:52 AM
Mapping the living cell
Many quadcopters can be programmed to fly routes by GPS. No line of sight needed technically, legal part depends on country.
Obnoxiousness isn't the right word.
> What are your alternatives?

Option 1. Use a third-party abstraction library to make the same code work on every platform. Unity [1] is a popular commercial solution. FOSS solutions include jMonkeyEngine [2] (oriented toward PC games) and libgdx (with a focus on mobile) [3].

Option 2. Instead of writing for Windows, write for Wine. If your program runs in Wine, it should run in Windows (the reverse, alas, is not necessarily true). And you also get support for any platform Wine runs on, including not just Linux, but apparently Intel Mac [4].

[1] http://en.wikipedia.org/wiki/Unity_(game_engine)

[2] http://en.wikipedia.org/wiki/JMonkeyEngine

[3] http://libgdx.badlogicgames.com/

[4] http://wiki.winehq.org/MacOSX
Can anyone explain how the OP's solution works, in particular the chvt 3/7? I looked up chvt and it seems like it would switch a different terminal into the foreground, but this raises more questions than it answers.

Like how does he know what 3 and 7 have on them? And would this work on a windowing system? And why does it appear as if the screen has turned off?
This is Bill @rethinkdb

The distinction between query.run(conn) and conn.run(query) is very fine indeed. There has been much discussion about this and there are both solutions have their merits. At one point we even supported both but decided the simplicity of having only one solution merited dropping the other.

Creating a new connection involves opening a TCP connection and sending a message to validate the driver to the server, altogether a few round trips. There is a small bit of per connection state stored on the server but since RethinkDB uses a custom coroutine implementation for concurrency support this does not amount to the overhead of an independent OS thread for each connection.

Invoking the query with a specific connection object is thread safe. There is a feature designed to help REPL users that stores the last connection in global state that is slated for removal in the upcoming release (1.4) that is obviously not re-entrant.

It would make sense to have connection pooling, especially in the python driver where connections block on requests. This is an idea we're exploring but is lower down on the priority list. As it is a fully client side feature there is nothing stopping 3rd party driver developers from implementing a solution though the official drivers will have to wait for other priorities.
Alternatively, you could do this:

g.rdb_conn.table('todos').get(todo_id).run()

On the other hand, this form ties the request to the connection, which neither the current API or my original suggestion do.
This article explains precisely why I went into software, not retail.

For a commodity small business like an independent coffee shops, margins are simply too thin to pay the owner anything near what programmers make.
X typically runs on vt 7. Switching away to any other vt would probably show a login prompt, unless he had something else running on vt 3 that presented only a blank screen.
To be fair some subreddits have great comment threads, its just that politics & news seem to attract all the loud fanatics. Here too..
This is good. This is space is really ripe because of Entrepreneur-empowerment angle definitely has legs. And the Kickstarters, IndieGoGos and Quirkys of the world are paving the way. Refining this further and regional plays would be great too - perhaps get more stake holders involved as mentors etc?
On linux, it defaults to virtual terminals 1-6 (for the keys 1-6) behave like command lines, and X11 will occupy virtual terminal 7.

Basically, he's switching between a near-blank screen, and the graphical environment.