skysight-inc/HackerNews huggingface dataset:
In 1870, nearly half of the workforce worked in agriculture. Almost all of those "jobs" were "lost" over the next century. Did that have a meaningful correlation with unemployment rate?

There is not some fixed amount of "work that needs to be done" that in turn creates a fixed (and steadily diminishing) pool of jobs to draw from. The amount of jobs available is a purely socioeconomic function of who is willing to pay whom for what.

Take Facebook. Do the jobs there carve out some section of the total amount of work that needs to be done today? Not really, a guy made a thing, and convinced people to give him an arbitrary amount of money, and decided to give an arbitrary number of people arbitrary amounts of that money to help him out. A certain number of jobs were created because of the way people decided to distribute their money. Not because they took some of the limited "available job" slots.
python will probably always run python2. if you wanna see if python3 is installed, then type python3.
Why link through 148apps rather than directly to the App Store? https://itunes.apple.com/us/app/morskoi-boi-sea-battle/id541...
> new-agey nonsense

One of these hippie types went so overboard that he even made a "hand wavy" coat of arms to go along with his lateral comments about Buddha and Laotze [1] and question our very ability to fully comprehend an objective reality.

[1]: https://upload.wikimedia.org/wikipedia/commons/thumb/d/da/Co...
Looks quite nice. Initial impression is julia + python whitespace + zero indexing. The type system seems more fleshed out than julia's.
I say Trump in particular because of the tendency these days to see that name in uncomfortably close proximity with the words "post-truth era." And, to be fair to the man, I am less concerned with what he says than how his supporters react, and what that means for humanity's future.
> Sure, but it achieves something no other car can (full electric for short range, and infinite range in any location on petro infrastructure).

Except the Prius PHV and Prius Prime, among others, actually exist, so the "no other car" part is wrong. (Sure, the exact parameters of the "short range" differ, but the general description does not.)
> You need an unusual amount of perseverance, or the feedback of very knowledgeable, outspoken and candid coworkers to actually perform an acceptable refactor, instead of the usual brushing of dirt under a thin (leaky) abstraction.

Refactoring is the most fun part! It's lovely when things become tidy, straight, and clean.
I value my time much more than my space. Hence living with roommates close to work.
SaltConf16 YouTube Playlist
Aphantasia – Mind's Eye Blind
Bash script is a bad choice here.
I wonder if there's value in simply answering with an order of magnitude...

"Based on our discussions so far, a basic web application would fit your requirements. We typically build those with a budget of tens-of-thousands."

(OK, maybe with less awkward delivery, but you get the point.)
Oh, hey, that's a really good answer, thanks.
I had to have my lenses removed from both eyes when I was a child (in the 70s). The problem in my case was that they were dislocated.

Since the surgery, I wore very thick glasses to correct it. I switched to contacts in the early 80s (contact lens tech was barely viable by then) augmented with reading glasses.

Today I wear contacts to get to 20/20 or 20/30, and reading glasses for computer work or reading. My correction is around +8.25 or so for each eye.

This is very exciting news and I hope kids don't have to go through the pain of wearing super thick glasses growing up.
You linked right to it.. what do you mean?
$ ./bless_client.py region lambda_function_name bastion_user bastion_user_ip remote_username bastion_source_ip bastion_command <id_rsa.pub to sign> <output id_rsa-cert.pub>

If successful, I imagine it signs the pub key "id_rsa-cert.pub" which you then can use to SSH as you please (until the cert expires).
Music is what's wrong with youth these days.

Why back in my day, yadda yadda yadda.
A good analogy might be one's expectations heading into a meeting with a lawyer. You'd want to know whether this will cost $3,000 or $30,000 and would rather not pay the $500 fee for the initial consultation to find out.
Why don't more folks respect this car?

That's an excellent question, and I find the answers so far unconvincing. My guess is more psychological / sociological: GM has none of the sex appeal / marketing that Tesla or even BMW has. For that reason the Volt is easily overlooked or disrespected.

I'll also add that GM and other car companies already have some second-life battery efforts underway (http://thinkprogress.org/climate/2016/05/09/3775606/used-sec...), which is a very cool way of killing two birds with a single electric stone (I'm surprised this story and other like it haven't gotten more traction online). The second lives of batteries are incredibly underrated right now.

By the way, let me also recommend Steve Levine's book The Powerhouse: America, China, and the Great Battery War, http://www.amazon.com/Powerhouse-America-China-Great-Battery..., which concerns the initial development of the Volt, among many other things. People who disdain the Volt should in particular read it!
Nope, we're people too. We like meaningless rewards just as much as the rest of you.

Now please give me upvotes for this comment.
> But the ability to provide DRM is, unfortunately, useful today.

It's useful in the sense that snake oil is useful after somebody signs a contract to use snake oil. That doesn't mean it's actually useful, it means somebody signed a dumb contract.

When that happens you can go out and take bids from snake oil suppliers and rub snake oil on your skin every day that does nothing but cost money and make you smell bad, or you can fix the contract.
Similarly, if you develop cross-platform, having a MacBook Pro that can do Windows, Mac, iOS, Android & Linux development all from one device is really compelling.
I tend to look at the EV1 as an idea before its time in more ways than one. Was it a failure...it looked like one from the outside, but it taught them a lot. This is the type of behavior (moonshots/trying experiments/taking risks) that we know value in leading edge companies who are willing to develop or try things to learn. Tesla's roadster was largely in the same space in a lot of ways. The difference is the result, GM found that their target demographic wasn't there yet. In 97 and 99, GM had an enormous lead in vehicle sales and the risk they took was actually small, although they were made to pay for it in PR...

If you look at Tesla and GM, the pivot is the difference...GM focused on the traditional consumer market and didn't see an opportunity to make it work. Likely based on the perfectly reasonable assumption that people are unlikely to pay for a luxury GM product at that point in time. Tesla learned from that and went at the markets in the other direction.

I own a volt, I have talked about this before on here. It is my only car. I wouldn't own a Tesla as an only car, not yet. The Volt was probably something that the Tesla S made happen (I'm speaking metaphorically not temporally) but I think the Volt and the leaf and the prius made the Tesla 3 happen
It pretty much has to be, by definition, otherwise either the service or the card company would be losing money. It generally only works out if there's a loss leader that you're taking advantage of, e.g. many card companies offer occasional rewards at a loss to encourage people to use the card more in the long term.
Can you provide few irreconcilable issues that stops you from using python 3?

> Moving it in pieces is also not really possible, since there are many inter-dependencies.

I guess something is wrong with your architecture in first place, so you can't separate domains or layers easily.
How many more new languages do we need? This is getting ridiculous. What does this thing do that Python doesn't do?
I don't actually do any of those three. Underneath ChromeOS is a *nix variant. So Crouton actually allows one to change the root directory to something else [like away from the meaningless root that ChromeOS puts you in, essentially in a Downloads directory, and to the actual root of the machine].

In practice, this means that if I hit a three key chord, then I flip over to a regular xfce, and if I hit another three key chord I go back to ChromeOS.

I do all web-browsing in ChromeOS. I do all programming and textediting in xfce. Or rather in vim, using my standard vim setup. [I'm a mathematician, so I do somewhat minor programming and lots and lots of LaTeX writing].
This is not true. Only the LGPL allows you to link to an open source library. That is why OpenJDK has a classpath exception (http://programmers.stackexchange.com/questions/119436/what-d...).

GPL requires you to release the source code to the customer of your software upon request. The person who buys the phone is the customer.
I've been to the one in Saint-Petersburg. Probably worth a visit, but do expect most machines to be under-maintained, and keep you wondering if the game is even receiving your inputs...

Though, I suppose, when those machines were placed in random "palaces of culture" across the USSR in the 70-80s, their state on average wasn't any better.
As someone looking for a ballpark estimate, be it money or time, I'm generally looking in factors of 10x. Is this 1k, 10k, 100k, 1mil, etc or on time, is this 1month, 6month, 1 year, 2year, etc.

I am looking for a logarithmic bucket to gauge if the approach is within my boundaries (time/money) as quickly as possible.
Rising monopoly power may partly explain US inequality and productivity slowdown
Yes, and I said I believe that Chromebooks are replacing tablets rather than laptops. If a kid is getting a "not-quite-a-computer", I'd much rather it be a Chromebook than an iPad.
The idea that nothing of importance lives on the device is a huge paradigm shift ...

Rich vs. thin client is a pendulum that seems to swing about every 10-20 years.

In the mid-'70s, a computer was a big box by IBM or DEC with a number of thin terminals attached. These had enough power to display a screenful of interactive information without having to talk to the server constantly (sort of like an early version of HTML forms).

Then PCs happened, and suddenly you could have your very own device with a slice of the power of that DEC. The client was suddenly so rich but widely available connectivity so slow -- 300-1200 bps modems -- that most people never connected to a server (except for special national networks like France's Minitel).

By the mid-'90s, thin was in again. Sun and Oracle defined a "Network Computer" spec. Apple was planning to build devices for it, but then Jobs had better ideas and the NC never really took off.

So we got ever richer clients in even more personal form factors. The iPhone became the ultimate rich client: in the App Store model, each online service provider is expected to build a native binary and deliver it through Apple. Microsoft has been plotting along similar lines with the Universal Windows platform.

At the same time Google has been trying to push the pendulum back to the thin end. With the new "Instant Apps" model [1], even Android is being turned into a web-like platform of app fragments delivered on the fly. Will be interesting to see how far they can take this -- will the Android runtime be part of Chrome eventually?

[1] http://android-developers.blogspot.com/2016/05/android-insta...
Yes, precisely. The first part of science is the identification of problems. It doesn't do much good to look at a serious problem through rose-colored glasses.
Maybe using a password manager is better than using the password "wizard007" everywhere, including your HN account.

:P

//not-tudorw
SoftBank Prepares Humanoid Robot Pepper's U.S. Debut, Unveils Android SDK
Have you never wanted to try something different?
How SocialCops built a robust app for low-cost Android phones
On unsecured credit cards? I doubt it.
The caveat here is that debit cards that withdraw from your checking account carry the risk of massive overdraft fees if you're really bad with money or just barely scraping by.

Interest on a credit card can be bad but years ago I had a bank pull some really shady stuff to hit me with hundreds in overdraft fees on a handful of minor purchases.

Essentially, I was living just about hand-to-mouth as a young underemployed guy and when payday rolled around, I'd go to deposit my paycheck and then over the next couple of days, I'd check my balance online to see when it cleared. Once the funds showed up as available, I'd head out and put gas in the car, buy groceries, pay rent, maybe grab a 6-pack (again, naive, irresponsible guy) and whatever other little things I'd been holding off on buying until I got paid.

Well, fast forward a week or so and it's almost Christmas. The boss gives everyone a $100 Christmas bonus and I'm thrilled because I never have enough money to go around. I go to the bank, hand the teller the check, and when I get the receipt? Maybe $10 or so balance.

Turns out that when I deposited that paycheck several days ago and waited for it to clear before making several small purchases, the bank messed with the dates and times, essentially pulling the credit, running the debits, incurring many $35 overdraft fees, then applying the deposit after the fact.

The kicker was that the website now showed this new timeline and I didn't have anything printed out to show for it. Not only did they drain my bank account but they took my Christmas bonus to pay the bogus charges.

No amount of speaking with staff did any good. They told me I needed to be better at balancing my checkbook. It was right around then that I learned the real way it's really expensive to be broke. If you don't have credit or some sort of savings to act as a buffer, banks will find all sorts of ways to penalize you and take advantage of you.

Eventually got my shit together. Went back to college to finish my degree, paid with a loan, now all good with a modest salary, only $12k or so of college debt, no car payment, and enough of an emergency fund that I could pay rent and live frugally for a year without employment if I had to.

Sorry for the long rant. Haven't told that story in years and hadn't thought about it in as long. But once I started thinking about it, it all came back to me.
I heard some thinking by Jake Appelbaum that it feels like you might connect with:
https://twitter.com/patconnolly/status/612755010238193664

There's some sort of future truth in this kind of thinking that I'm still sorting out. It seems to centre around a future ability to embrace and accommodate all the ways that humans and our minds are frail, instead of all the ways that we're great. And that seems pretty counter to the prevailing western culture of choice and autonomy. Accepting this might require social concessions, where we carve out safe spaces and practices, free from the all-too-easy possibility of manipulation. I can very much imagine, in a sci-fi-esque way, how this leads into conversations that will later involve trans-humanism :/

Hopefully the above doesn't seem dark -- I'm an optimist!
"How many zeroes are we talking here?"
no need to speculate about this one; Jen from "IT Crowd" gave this dire warning during a presentation to the executive staff meeting (http://tinyurl.com/zsfuutd): "You...Can...Break...The...Internet."
After Closing Cruise, GM Settles with Jeremy Guillory
Companies that refuse to publish or even respond to quick, direct questions about pricing fail to understand something very important: whatever they are selling is only a part of whatever I'm working on, and is almost certainly not the linchpin of the project. I may have a dozen more vendors to talk to that week, and I literally cannot afford to waste time schmoozing with sales droids, waiting for calls or emails to be returned, or establishing a "relationship." Making me jump through hoops just to understand the pricing model is basically their way of telling me I'm not worth their time.

Which, of course, may be true.

For now.
The median of a list of numbers is the value that minimizes the sum of absolute differences to each value, sum([abs(median - x) for x in list])

The average of a list of numbers is the value that minimizes the sum of squared difference to each value, sum([squared(mean - x) for x in list])

They're both summary statistics in that they're single numbers used to describe a dataset, but a median is not a "kind of average." The mean is the mean and nothing else.
Whatever you tax becomes more expensive.

Whatever is more expensive, you have less of.

Your question can be restated: what's your overall economic goal?

You tax to achieve that.
Python3, that can be no question. Python2 is a dead end.
I've been using this for some time specifically for my ML projects.
Don't use !important and don't use any id.

If you are reduced to needing to use either of them, it means that your CSS had gotten out of hands and you are trying to apply band-aids.

If you ever need to use !important or an id to fight selector specificity, take a step back and rework all your CSS.

Source: 5 years of not using either of those as a front-end developer.
US banks make the same promises too.

But which would you trust more when something goes wrong and your "card number" racks up thousands of stolen purchases:

1) credit card dispute/chargeback process that is mandated by law

2) the promise from your bank that, on their good will, they will fix things

Not only that, but thousands of dollars on your credit card is "loaned" to you by the bank, the money's not out of pocket on you yet.

However, thousands of dollars of stolen debit card transactions means your bank account is thousands of dollars lower immediately, and you have to hope your banks promise to give it back will actually pan out.
When I was originally writing it, I had the classes split out into mixins, but put them back into classes so it would be a little simpler to follow at first.

I want to build the project in a way that people would like to use it, so you'll probably see mixins brought back in a future release :)
Why do some of these sites have font families numbering in the double digits?!
I'd like you to substantiate the claim that it "gets slower at each release" before I'll accept it, it conflicts with my experience. I've seen every single GNOME application get consistently faster for the last five releases; today (with GNOME 3.20) they render at ludicrous speed on even my oldest intel boxes.
Why just don't let the hyperlinks do what they are supposed to do, which is what you do at the end of the day anyways, then?

When I approach a link, I hover, see the href on the status bar, think and decide, and click. Thereafter, I expect it to take me somewhere else, while the browser pushes the url of the page I left into a stack, the history. This implemented and working in my browser already, why redo it with JS? To lower the load time? Then don't make the page multi-meg already, no?

The ugly thing is govt websites and such are adopting a similar style of web app design, relying upon wizardy and tricks and hacks, for example, I sweat blood when I use my uni's web pages because I'll hit a bug in the js for an already-there popup or a button and it'll hurt my educational career.
I think this article, while correct, really misses the boat on why offering ranges is so important. In a lot of cases, the wide-eyes dreamer client is the person who needs the most guidance on what something will cost.

My typical way of doing this is the same way I also give estimates of time or effort in software development: IF X is true, and IF y is constrained by z, then typically a project like this will be between $and $$.

Think of it as a qualification gate - before you're going to go through the time to scope out a project fully, does this person have the ability to make something at that price point happen?

Even more to the point, after you give them the ballpark, you should say, "if this project comes in somewhere in that general range, do you have the authority to sign off on this amount of money?"

Now you've not only potentially saved yourself some time, you've learned whether you're dealing with the decision maker here, or as some refer to it the "economic buyer"

Now, it's true, someone might say, "I want to build a social network for Journey fans that includes a live concert recording site", and yeah, that's too vague to scope something. But in those cases you scope it out as much as possible: "do you need chat? Is it mostly for sharing pictures? Is there a buy/sell aspect?", and then you put a floor on it:

"Well, we really need to spend a lot more time on this, but I would say something like this starts at X and goes up from there", where X is a large dollar value that you feel is 50% more than it would take to do the basic version of what they want.

But again, not giving ballparks is losing out on a great opportunity for you as a sales person to control the deal progress.
I was considering that approach (using native OS widgets) on initial stages of my Sciter (http://sciter.com) development.

It didn't went through for the simple reason: set of common widgets in GUI OSes is quite small: buttons, editboxes, selects and that is it. What about menus, toolbars, treeviews/virtual lists, etc. etc. ?

So yes, you can do with that common set something extremely simple like alert() or prompt() in browsers. But nothing close to full scale applications.

Yet graphic primitives... GDI on Windows does not know anything about alpha channel or anti-aliasing... But CoreGraphics does. What would be the common set in this case?

Again, idea of reusing OS widgets and native platform's look and feel in multiplatform GUI toolkits is a perpetual dream of programmers since initial version of Bible was written. wxWidgets or SWT are such examples.

But event they failed to achieve one of their primary goal - native platform's look and feel. Does anyone know any wxWidget or SWT application that look native on, say, OSX ?

So if you are designing application of "one red button 'Start'" then this approach will work of course. But even in that case ... how to create really red button in OSX? Or on Windows? You will want something custom drawn... but you haven't common graphic primitives and so on.
We reverted the title. (Submitted title was "Oldest Document, 539 BC?")
virtualenv is trying to solve a problem that's already solved by setuptools and eggs, and doing a shitty job at it. Back before eggs where a thing, sure, virtualenv had a purpose - but now there's absolutely no need to create a completely independent environment when you can just use pkg_resources.require() or just add the appropriate eggs to sys.path.

Virtualenv doesn't make my life any easier, it makes deploying applications harder since I have to write a custom deployment pipeline - whereas I already maintain RPM's for other non-python software we use internally, and I can use the same infrastructure to handle them both.

Edit: For most of our applications the latest Fedora Server release is also our target host, so "distributions moving slowly" is rarely an excuse as typically the latest packages are available (and if not we make them ourselves, like we do for selenium).
h1 { color: #333; } is only 20 bytes
Batteries got substantially better.
But they are different animals. When you read from a socket, you get bytes. Are they text or are they a JPG? Py2 says "they're text holding the contents of a JPG." Py3 says "I don't know. It's your data, you tell me."
Carol Bartz Joins PlanGrid’s Board of Directors