skysight-inc/HackerNews huggingface dataset:
Yet the state you criticize (Texas) is leading the country in green, renewable energy [1]

1. https://www.wsj.com/articles/which-state-is-a-big-renewable-...
Does Revolut offer recurring payments for the business accounts? I'd ask them but looks like I'd have to call and talk to them as a non-customer. I see they are also building an API so maybe that is expected to be done via the API.
Smart Front end Grid
"Electric car buyers tend to be wealthier and don't need subsidies"

If that is so why are republicans proposing to cut the estate taxes?

hypocrites.
there are fairly mainstream machines with more than 100s of hardware threads.
Why can't you? Gulp would typically only be responsible for starting the Webpack task (in watch mode), not for re-running it on every input change.
CIA CIO: Private cloud 'the best decision we’ve ever made'
You are very much right: https://news.ycombinator.com/item?id=15568305
Telegram Adaptive Icon
Completely and totally agree! Why I said it was a nuanced situation and not one size fits all.
"Additionally, the Japanese government holds a stake in Japan Tobacco, the multinational tobacco giant, which critics say compromises its smoking policy."

I did not know this, but suddenly Japan's curious relationship with cigarettes make a lot more sense.
This type of phrasing isn't uncommon on job contracts in the UK, and probably elsewhere in Europe, but the enforcement will vary greatly.

An assembly line worker will stick to the letter, a software developer will never consider it.
Ongoing discussion: https://news.ycombinator.com/item?id=15609494
I wouldn't, because they could just as easily not make the content, and then you wouldn't have it in any form.

And the greater point there, that you appear to have missed, is that content creators don't really owe you anything, unless you've paid them. Thus, their actions are not hostile to you.
When taking in account of direct and indirect subsidies, see this IMF report: http://www.imf.org/en/News/Articles/2015/09/28/04/53/sonew07...

There are many other reports by many other groups...

Also consider the costs of using tax payer money to pay for/subsidies infastructure/reasearch in the fossil fuel industry.
Have you visited LA recently? Pollution is very much a local problem. Why do you think it's cities leading the way on gasoline engine bans? I have no problem with these bans, but cities that take them up should be providing the incentive for switching, not offloading their problems on the rest of the country.
And because taxes are marginal, that effectively becomes straight CA$H MONEY to everyone in the 39% bracket.
I'm thinking exactly that - maybe a limited language that maps to a state-machine or something?
"He suspected “that many people had had this idea, knew more about glaciology than I did, and obviously concluded it could never work.” “If we really had [known] what we were doing we would probably not have done it. And, in fact, it turns out that a lot of the things we should have known turned out not to be true.”"

This paragraph reminded me a lot of the quote of Max Planck saying that "science progresses one funeral at a time" (removing old and incorrect convictions from the pool of opinions in the scientific community).
oh it's 0.1% of new payments per day.

if you wanna compare it to all stored value instead (about $100bn), then the "electricity safety fee" comes out to ~0.001% per day.

(these comparisons are just meant to help put the electricity costs roughly in scale against the benefits they help provide)
Revised Data Shows Community Colleges Have Been Underappreciated
In Germany, you'd be paying $6.14 tax per gallon.
Which is a pretty clueless response. Avoiding GOG will only increase such pirating (by decreasing legal sources for the game). Developers should know better.
"For the study [...] recruited 200 patients with a profoundly blocked coronary artery and chest pain severe enough to limit physical activity, common reasons for inserting a stent.

"All were treated for six weeks with drugs to reduce the risk of a heart attack, like aspirin, a statin and a blood pressure drug, as well as medications that relieve chest pain by slowing the heart or opening blood vessels.

"Then the subjects had a procedure: a real or fake insertion of a stent. This is one of the few studies in cardiology in which a sham procedure was given to controls who were then compared to patients receiving the actual treatment.

"In both groups, doctors threaded a catheter through the groin or wrist of the patient and, with X-ray guidance, up to the blocked artery. Once the catheter reached the blockage, the doctor inserted a stent or, if the patient was getting the sham procedure, simply pulled the catheter out."

I would really like to know how they got that study past the assorted ethics committees.
It's all about me, Me, ME!

The entire first screen is some guy blithering about himself. Cory Doctorow says all this, better.

Diaspora would be a good idea if it had any traction. Until then, we're stuck with Facebook.

Google, not so much. Most of Google's services have quite good alternatives. I don't use any service that requires a Google account. With Google reading and censoring what you put in Google Docs, that's probably a bad idea anyway.
Seems pretty easy to argue that capitalism is to blame for the attitude you seem to take reflexively: that writing is meant for "business communications" first and foremost. I can't blame anyone for preferring irrationalism over such a blinkered worldview.
Stanford researchers develop vine-like, growing robot
Liberapay seems pretty good, a lot like older gittip in UX. Leaderboards and all. I'd be interested in hearing more about it, why it split from gittip, etc. I may use it instead of patreon, but there's not a lot of information about, well, how it was founded.

I suspect I will be switching my matrix donation from patreon to liberapay. It would have been nice to know that was an option.
Well, there are two components to a pyramid scheme: 1. returns to early investors are generated by contributions from new investors. 2. Each new investor attempts to recruit two or more new investors.

The "profits" for existing investors are paid with money from new investors. So it checks the first requirement to be a pyramid scheme. Now, this isn't explicit, but people still understand that the more BTC investors, the higher the price.

And BTC investors go online and evangelize. They talk about how BTC is a full-proof investment that can only go up-up-UP. Even this thread is full of them. So that checks the second requirement to be a pyramid scheme.
Good. Both tax and subsidy distort market price and lead to deadweight loss.

And you can't realistically argue that some endeavors deserve taxpayer support while others have to rely on access to financial markets to get over the hump in their runway. The treasury department should not be picking winners and losers. Leave that to investors that have to put some of their own skin in the game.

The minimum damage to the economy occurs when a tax exactly matches the value of negative externalities pushed out onto the public, to be spent exclusively on cleaning them up, and when a subsidy matches any positive externality that the company hasn't managed to capture yet.

It isn't hard to think that any subsidy for electric vehicles should be scrapped, and within the bounds of the same public concern, replaced with a tax on emissions from combustion vehicles, to be used to make those engines already in service less polluting. The tax phases itself out, as people buy new vehicles that pollute less, and as they make already-paid-for repairs and retrofits on older vehicles.

With the subsidy, you have to turn it off manually whenever the desired economic effect has been achieved.

I have no idea what the motivation is behind subsidizing oil & gas. Encourage people to use engines instead of slave labor? Maybe use gas instead of coal? Whatever the reason is, it may have once favored the best side of a two-sided race, but with additional competitors joining the field, it no longer necessarily helps the best of them. That's why taxing the negative externalities almost always makes more sense, because the tax falls away without further intervention when that competitor exits. Like licensing horses to be inside a municipality, to cover the cost of cleanup when they poop on city streets. When people stop riding into town on horses, and start driving cars, the horse tax goes away without further effort.

There is also the possibility that an industry may never get over the hump in its runway. Do you want to keep it on life support forever? And if not, how do you decide when to pull the plug?
Correct, but a Dockerfile is not the only way to create a docker image.
> Gone are the days of building a VM from scratch,

That happened about five years ago, without any help from Docker.

Every single Docker 'fan' that I came across was really out of touch when it came to non-Docker OS architecture. Ironicly enough, they almost often acted as a domain expert.
I guess I just equate smoking with poison. I think it's equally illogical to be purposefully ingesting poison on a daily basis. For myself, I prefer zero purposeful ingestion, even if I am ignorant of the effects.
> If video content would be so "hostile", it would have failed on its own already. People would flock to other places where they can read instead.

Video ads pay a lot better than ordinary display ads. 15$ CPM vs 30¢ CPM on my media sites. It's not a 1-1 comparison on UX (you may lose half your reader base and still come out ahead).
It is still very cheaper than rest of the herd
If you have an image stored in an SQLite database file, you can extract it using the "sqlite3" command-line tool as described at https://www.sqlite.org/cli.html#file_i_o_functions

Or, you could do it several dozen other ways. For example, maybe you have an archiver tool for SQLite that works like "zip" - https://www.sqlite.org/sqlar/doc/trunk/README.md

About this much we agree: The objective is to make the content of the document more accessible and easier to use. The article intended to show that using an SQLite database rather than a pile-of-files in a ZIP archive achieves that goal. If my presentation were stored in an SQLite database, I might (depending on how the schema was structured of course) be able to ask interesting questions of the presentation, such as:

* How many pages are in this presentation?

* Which pages contain the word "discombobulated"?

* How many images are in the presentation?

* Does this presentation use a prepackaged background?

* Does the presentation begin with my companies standard "start" slide?

Can you write (say) a Python program that will answer any of the above about an OpenOffice .odp file? All I'm trying to say is that if OpenOffice .odp files were SQLite databases with a sensible schema, then probably you could answer any of the questions above with perhaps 5 lines line of code or less. Or just a shell script that uses the "sqlite3" command-line tool. As it stands now, if you want low-level information about an OpenOffice presentation, you have to open manually open the document on your disktop and click around - it cannot be (easily) automated. An ".odp" file is essentially an opaque BLOB that is not useful to me. Only the OpenOffice program (or its various forks) can access it.

I have 104 historical presentations in a folder and I want to find some slide I wrote years ago. Right now, I have to laboriously open each presentation and manually search for the slide I want. If the format were SQLite, I could perhaps do the same with a query, which if run from a shell script, would quickly search all 104 presentations for me.

So, Yes, the whole point is to make the content more easily accessible and usable. Relative to a pile-of-files in a ZIP archive, SQLite does exactly that.
Because it makes it cheaper to buy that car, which makes it more likely for someone to buy it, which increases sales, which allows Tesla to invest in improving technology such as batteries and also to achieve economies of scale, which would allow prices to come down, which would lower the number of ice vehicles, which would lower the use of oil as an energy source, which would lower CO_2 emissions (and also pollution, international competition for resources, and the volatility of the mideast), which would lower the concentration of CO_2 in the atmosphere, which would allow more of the sun's irradiation heat to escape earth, which would slow the rise of global average temperature, which would lower the risk of widespread famine, death, war, impoverishment, migration, and mild unease that usually accompany major changes in the environment such as a countries' ability to grow food, or weather Austria needs a navy or not.

But you kinda knew that already, right?
It's easier to make money from videos than from text, and that's why websites would prefer that. There's not much else to it.
Dorna Robotics launches ‘industrial grade’ robotic arm on Kickstarter
Privileged Glimpses of Reality (Poem)
Ironically this might have been true in the past when your only EV option was a Tesla; however the Chevy Bolt is selling like mad, the Chevy Volt continues to sell well and you have quite a few choices either out or coming to market in early 2018, including the VW E-Golf, Hyundai Ioniq, Kia Soul EV to name just a few that are under 30k.

Removing the EV Credit now makes no sense; perhaps a better approach is to limit the EV Credit to cars that cost under 50k; this would ensure the credit isn't used on luxury EV's and allow the market to continue to grow.
God, I hope not. Ground-up rewrites (when they even succeed) typically lose features, performance, and security, since they don't have the benefit of 20+ years of correcting mistakes. Plus you lose all your contributors.

However, Rust is linker compatible with C, and can be runtimeless, so rewriting the kernel piecemeal over time instead could be great. ;-)
> What does that mean you need to do? Connect to the file with SQLite, fetch the BLOB, hexdump it since it will return as a string, decompress it, and then save it to disk.

Or you could just use a SQLite GUI (eg sqlitebrowser.org). Select the field/BLOB you're interested in, then Export (saves it to a file). Done. :)
New great ape species identified in Indonesia
Sometimes I wonder if not preparing students for psychological manipulation is actually a feature and not a bug of the educational system.
Buying specialized vehicles is a very upper class thing to do. The middle and lower classes aren't willing to pay new car prices for something unless it can do everything, not just commute or tow their camper or boat.

That's why crossovers, SUVs and half-ton pickups with multiple rows of seating are so popular among less wealthy new car buyers.

Buying a commuter vehicle that can do little else well is definitely an upper class(es) thing.
text your kid a code that the car can validate.
for example a qr code or UUID and a camera attached to the car.
also a camera to take a picture of your kid before and after he/she gets in the car.
Venmo is great for small payments, and makes way more sense than bitcoin for that use case.

Bitcoin's use-case is not microtransactions or payments among friends. It is providing secure and trustworthy payments when no trusted third party exists, independent of governments, companies, etc.
Which makes me wonder how long it will actually last. The last time I was up there there was an awful lot of flaking rust visible on parts that - to me - appeared to be structural.
Amazon Updates Its iOS Shopping App with ARKit Support
It's really amazing how bad those personnalisation engines are; AI seems pretty stupid for now.

But as I was making the exact same point a few days ago here on HN, someone responded to say that maybe it was on purpose, that if recommendations were too good they would creep us out.

Don't know what to think of it but I found the objection interesting...
Trump pick for science position withdraws due to Russia connection
Some formats don't need to be read as plaintext by the average person.

Would the average person edit a .svg by hand? No, he'd use Adobe Illustrator or anything else.

Would he edit a .docx file by treating it as a zip archive and edit content.xml? No, he'd use MS Word/LibreOffice Writer...

Suppose Sqlite used XML/JSON instead of binary files, would you modify them with notepad? No, you'd probably use a SQLite browser software.(Or an application that is more tailored to the domain)
what language is written in? It looks like lisp, but exceptionally readable.
The Zing of Python

(Or the well intentioned but ultimately misguided attempt to enlighten the masses.)

Pretty is better than boring.

Comprehensions are better than loops.

Short is better than long.

Clever is better than tangled.

Nested is better with line breaks.

Compact is better than meandering.

Appearances matter.

The point of a Python program is to teach people to write better Python programs.

Though if they're Java programmers just try to make them jealous.

Exceptions should never be explicitly checked.

Except StopIteration.

If you don't know how to make it Pythonic, refuse to take the obvious approach.

There should be one-- and preferably only one --Pythonic way to do it.

Although that way may not be obvious at first unless you're Dutch.

Now is better than never.

But it's fine to take ramp it up over time as long as you get there.

If it doesn't make a good blog post, perhaps it doesn't make good code.

If it doesn't make good code, it definitely doesn't make a good blog post.

List comprehensions are one honking great idea -- let's do more of those!
My understanding is that most exchanges won't allow you to move more than $10k/day or so out of your account. So, if you use three separate exchanges, it might take you a month to liquidate the entire stake.
I think you missed something.

Previously, machine translation required being trained on a bilingual corpus, that is, a corpus of the same set of sentences in eg English and French. These corpora are pretty hard to come by and expensive to produce.

The paper describes a technique to use two monolingual corpora instead, i.e. one set of sentences in English and a different set of sentences in French. That's way easier to find.

It's far from just a definitional trick.
I suppose we can add this to the "Perl will never go away!" case file... or possibly more aptly file under "Those who love Perl will never go away!" Thanks Uncle Sam!
For what it's worth, created a simple Python script that prints all submissions in a clean format. Useful when combined with grep, etc.

https://github.com/3RiverDevelopment/hacker-news-who-is-hiri...
>If you want to do business with the US government, you do it in USD.

If you want to do business with drug vendors over the internet, you do it in BTC.

(Altnerately: If you want to donate to Wikileaks...)
Best of luck to you. I'm not hiring or run a business, but I enjoyed reading your write-up and checked out your personal site. I'm now looking at the Dataquest webpage and considering signing up. Been meaning to get into Data Science for a while..
Thanks, that's good to know.

So a word-processor-like application might try implementing its own simple global lock (eg with a lock file) and then tell SQLite to use nolock=1.

I'm not sure I'd feel very comfortable doing that but it seems OK in principle.

I wish Subversion would offer an option to do something of the sort for its working copies, now it has an SQLite database in there.
Why can't you run a db server on a container?
Makes sense. Thanks for the hint. I will check the guidelines and might do a 'Show HN' post tomorrow
> I'm not sure how rsync solves this any differently than dropbox.

It's quite simple: there's no web player to click, so he's bound to download
files to his workstation.

> I care because any in-efficiency just drives me crazy [...]

That's what I thought. Give up, you won't gain much from making him
faster, and the world is full of people who don't give a damn about their
efficiency.
We don't automatically remove anything. We only remove places when they close for now. We track the popularity and mentions internally but the editorial team has the final say in removing spots.

We're not trying to become critics ourselves, so we err on the side of caution when removing places.
That web still exists more or less.

If you want to use the web in that way, just remove YouTube, Facebook, etc. from your DNS.
Some fun history, I helped run the Ars Technica forums and this problem came up 7 years ago: https://arstechnica.com/civis/viewtopic.php?f=3&t=1122598

Younger me was dismissive at first, but we ultimately fixed it. Older me thinks younger me was wrong.
XML is pure on its own. Data, validation, transformation, schema, even programming.

From a development perspective you’re adding more steps.
Torvalds gets upset about people messing things up because he cares. He reminds me of Gordon Ramsey, who also gets a bunch of shit for being an asshole to people who ruin food in his kitchen -- but Ramsey has more Michelin stars than anyone else...
I think it was Sir Richard Doll (the scientist that first proved the link between tobacco smoking and cancer), that, after a lifetime of research, claimed being around smokers didn't concern him in the slightest. Spending significant amounts of time in confined, smoke-filled spaces might be a different story though.
"Tax credits are subtracted not from taxable income, but directly from a person’s tax liability; they therefore reduce taxes dollar for dollar. As a result, credits have the same value for everyone who can claim their full value."

http://www.taxpolicycenter.org/briefing-book/whats-differenc...
401k deductions and plans aren't being touched.
Ask HN: Where do I go for technical explanations of language specifics
I frequently find myself trying to google up lower level information (How is it stored, where is it stored, how is it allocated etc..) on things like C++ structs, and usually all I can find is language level information (Structs behave like classes in C++) rather than what I want.

Does anybody have suggestions on where to go to find this information without digging through too much unrelated material?
There's also a story about former French president Mitterrand apparent willingness to take it down in the 80's.
Also check out https://urlbox.io/. YC alum, super helpful.