skysight-inc/HackerNews huggingface dataset:
Source Code Comment Remover for Java, JavaScript, HTML, XML and Properties
also type='password' don't get their submitted values suggested for the autocomplete thing in broswers.
People that have too much time on their hands (in other words, people with money) tend to complain the loudest.
That is a bit of a mischaracterization. There will always be anecdotal evidence of unscientific or proto-scientific approaches working some of the time. The problem is that overwhelmingly most of the time they don't. That malarial treatment for example was not "long been used in traditional medicine." It was discovered in an ancient text and not part of contemporary traditional Chinese medicine, which had "forgotten" it and replaced it with ineffective treatments, due to its fundamentally unscientific nature. It was only through science that they separated what actually works from the vast bulk of placebos.
AI has had big-money real world applications for far over a decade, e.g. web search.

(Or stock trading, if you believe in that sort of thing.)
And when they voiced anger about the government accepting immigrants when there already wasn't enough work to go around they got called racist.

I think UBI's effect on immigration is an interesting topic and one I don't see discussed in most articles. What does it mean to be a citizen of a country when, statistically speaking, you're a drain on the economy? How does immigration fit into that model? In my mind UBI doesn't require changing how we view work, it requires changing how we view citizenship and statecraft.
This is way more enjoyable (plus has more information) to poke around than autopsy.io. Thanks for the share!
What's the difference to using an animal's hide for leather or eating a steak?
There are 15 dogs every 100 people in SF. I don't think it's a no-dogs city. It's also very generous with enforcement of off-leash ordinances and whatnot.
So nice of the republicans that they suddenly discovered their love for coal workers.

I'm curious if they would keep that love if coal companies invested in automation and laid off workers, or if then, they'd suddenly rediscover the faith in a free market.
We picked Marin for the schools & to be close to nature. Lots of new neighbors are families from the city with young kids. There's a lottery here for new arrivals, so it's still a crapshoot, but the odds are better and even the least desired schools are good.
In most cases maintainability wins,
and avoiding “premature optimization”
is very much a necessity in C++.

I agree with this conclusion. Quite often, when you start coding you don't know, where the performance bottlenecks hide, and you don't want to waste time, thinking about allocating memory for a routine which you could write equally well in any scripting language.
Unfortunately plugable automatic garbage collection for less verbose performance uncritical scripting tasks within the language is not usable.
> because you are sending your session cookie which is equivalent to your password

This is extremely different for most users that don't use password managers and/or unique passwords per site. As if your password is leaked. Maybe all your other sites are now leaked(with same pass) . The same can't be said of cookies.
Hah. A couple years ago I flew across the border with a suitcase full of 9-track tapes. I did get a TSA inspection notice, but I strongly doubt they read them — I'm sure it was just a “WTF is that?” on the baggage x-ray.
google competes with the likes verizon, comcast and at&t, and the data google gathers on you is very valuable. why would they want to share that data with the line operators for free?

sorry to say, but https is not an altruistic move by google.
You can avoid this by using `autocomplete='off'`. Most browsers will still allow you to autocomplete the field because many were abusing that attribute, but they won't save what you put in it.

It's still a horrible idea, but it'd work.
It is obviously not an easy thing to make a career change. Specially if you are asking people to go from factory workers to say, software developers (a career that requires years of formal or informal training). However, here you are not asking for that. You are asking them to go from coal miners to solar panel installation technicians. Not trivial, but doable. Of course, it would be easier to do it their state or country provided retraining programs and good unemployment benefits. You know, societal support for a societal shift, as opposed to 'mumble mumble bootstraps'. But the change itself is possible, desirable, and does not require the retraining equivalent of a full college education.

I can't find it now, but there was a recent article about how, on the short term at least, a move to renewable energy will likely create more jobs than it eliminates.
Gitlab is a true inspiration to me. I hope they continue onwards with good luck and fortune!
> Don't get me started on Algebra. SF school district has banned algebra in middle schools

WTF? Got a link?
Show HN: A simple cli image upload tool to share images on Reddit,GitHub etc.
> Demand for luxury goods won't change at all: yachts, private jets.

Are you sure about that? Who will be bearing the tax burden to pay for UBI? Are not those the people who are currently buying yachts and private jets?

Business jet usage may decline as well as a substantial part of that usage is to generate income and growth for their businesses. With higher taxes, there is less incentive to risk money to grow your business further, putting negative pressure on business aviation.
I work for google, and i had a fair amount of work on moving Ads to HTTPS (moved mobile app ads to https)

The work actually started quite a while back, but the overall ads industry and internet as a whole moves really really slow. Add the mobile ecosystem to the equation, and there is a bunch of issues.

The whole work is a combination of a bunch of things (in no chronological order):
1. Google pushed search ranking changes.
2. Google moved all of ads to HTTPS, and this took some time to make it happen.
3. Apple created ATS to make people think about it.
4. Apple wanted to enforce ATS for non-web content, had to back out.
5. Let's encrypt made access to certs free.
6. Big vendors joined.

Unfortunately, the world is slow when it comes to changes like these, but i am quite happy with the outcome so far.

edit: added context.
Maybe this? http://up-shop.org/4-up-boards
I don't come from a even vaguely C or C++ background, but have been studying Rust for some time; most development work that I do is executed in very high level languages. I know generally the concepts that exist in C & C++ and absolutely no idea how and why you'd use them as opposed to other tools (OK... an overstatement, but you get the idea). Much of this is because I've not tried to write any C/C++ and only even read it when I need to generally know what some feature of an application does.

This article actually helped me understand C/C++ a little bit better than I did before. For example where it explained the differences between Rust and C/C++ copy vs move behavior... I got a better sense of just how C/C++ works and why I might chose to write, say, a function parameter one way vs. another.

So in this basic sense, mission accomplished I think. I have no doubt there's lots of nuance missing, but still... not bad and I appreciate the effort.
I was expecting a more click bait post based upon title. But the 20 were actually decent and quite reasonable. I do hope many of them take better root in near future.
Well, the model at least does not maximize likelihood
Continue to use them normally. What do you think needs to change?
The Datsun Z car was modeled after the Ferrari Daytona.
Ethics – the next frontier for artificial intelligence
Or not financially possible. I just checked. In my town the average cost of housing is about $650/month, but that includes apartments of varying sizes. So lets assume a family of four is spending $10,000-$15,000 year on housing. That makes the math easy and is not too far off for the price of a three bedroom home. Average household income here is about $50,000/year, so already we're using 20% of our income on housing. According to the USDA, the "low cost" food plan for a family of 4 is another $10,255 [0]. So now we've got almost half our income in just housing and food. Add to that transportation (where I live you have to own a car), sundries, clothing, utilities, health care, school supplies and so on and I can absolutely see how two children would be a financial hardship on a single income, standard of living or not. Even at slightly higher than average that would preclude all sorts of things (the activities, travel, and so on).

I'm not trying to make excuses for people's choices, but kids cost money and financial hardship happens. People get laid off, they make bad decisions, the economy goes boom or bust, changing the cost of living and incomes, shit happens. You also have long term security to think about, making sure you're putting money away for retirement and so on. It would be hard to raise kids on $50,000 a year, and I suspect the median income in most of the country is actually less than that.

[0]:https://www.cnpp.usda.gov/sites/default/files/usda_food_plan...
Yes this is exactly what I would have wanted to say had I not let myself get defensively angry.

We also both drastically underestimated just how lifestyle altering a child would be. My wife spent those five months in a tired, zombie-like haze with a baby who was much more on the colic side than not, and with very little family support it took its toll on both of us.

Reclaiming her "identity" has looked much more like you describe - reengaging with friends, activities, and other things she enjoyed before they were stripped away for simple survival.
If you think py2 is the sane one, then you must work on a project where everything is written and communicated in bone standard roman characters.

For the vast majority of the actual planet, this simply isn't the case.
It's not like this is free money, though; any increase in tax revenue will just be paid by the electricity consumers, in the form of higher rates, so if the motivation was just to cover the state revenue shortfall, a direct tax on renewable energy would be more sensible. But then again, indirect taxes are politically easier, while a "helping hand" to the local industry looks good on TV.
This week I developed my first open-source OSx app
This week I developed my first open-source OSx app. Mockup Generator is an OSx app I built with Electron/AngularJS that sits in your menu bar allowing you to capture screenshots of your favourite websites and wrap them in device mock-ups.

https://github.com/andypotts/mockup-generator
How to Become a Data Scientist – On Your Own (2015)
Is there a high-quality discussion of this on reddit/r/worldnews or some other area of reddit? Absent that I don't think you'll do better than what I'm seeing here, realistically.
ah yes the lovely autocorrect :P
Sonos-like multi-room audio setup for Raspberry Pi
Hah. They used unsigned int32 to store index of coding things. They didn't realize they were reaching 4 billion ish. Went over.

Now index is saved as uint64
Well they do need money and votes for re-election. Money comes from coal companies and some votes come from the mining industry workers.
Thanks, I have tried that online but it is not available as a library. My kbsportal library does collocation, but not well.
What is the likelihood that all $12BB given to people carrying credit card debt gets spent entirely and solely on reducing that credit card debt?

I think it's about 1 / googol.
9 Ways to Get Windows 10 for Free (Fast
Hackers downloaded US government climate data as Trump was being inaugurated
My comment is the only actual solution to the problem. This is pure corruption & treason. The actions of these people will cause death & hardship globally for generations to come. How do you punish if someone kills someone else?
My colleague used a custom web font where every glyph was replaced with a filled circle. Better browser compatibility, you know.

Although our reason was actually to do with password managers. At $DAYJOB we have a CRM/ERP system with lots of password fields for other entities (not the current cookie user). It's increasingly difficult to opt out of browser autofill, and LastPass in particular was corrupting password data in the system whenever forms were submitted.
Because simply US is dealing with different types of threats than China/Russia do. Priority for US is the terrorists. I don't know about Russia but the priority for China is the anti-government folks.
Terrorists never speak out so you never know who they are. So everyone is assumed to be possible terrorists by the US. Thus everyone gets harassed. But the anti-gov folks have to speak out, everyone knows who they are. It's way easier to pick them.
Chinese border control is not interested in your illegal electronic docs at all as it is impossible for you to disseminate them in China and if you were caught on that, it is a totally different agency to come and deal with you. And I guarantee you don't want that.
National Press Club Statement on POTUS and Spicer Comments Towards Journalists
About time, this is an excellent feature.
Ya exactly. As the person owning the business, the less you pay your staff the bigger your paycheck. Its direct 1:1 for a private company.

As a person being a employee, you want to make the most you can.

The goals are directly competing, hence the classic struggle. Always going to be some give and take.
Adversity is an illusion, relatively.

I'm known as a relatively unflappable person who excels under pressure, but that's not entirely true. The reality is that after spending a few years in my teens couch surfing and sleeping under park benches, supporting myself with off-book babysitting and other more dubious gigs, I just have a very different definition of "adversity".

Got food and shelter? It's not a disaster, just an interesting challenge.
> The myopia of tech people will probably never not astound me.

The myopia of blue collar workers will never not astound me.
It was hard to get over not really wanting to run, but when I kind of internalized that it didn't matter whether I wanted to or not, I just got to doing stuff.

This is a fantastic approach.
> This was also a phone from a terrorist.

I think the downvoted parent is relevant in that they mightn't make the effort for a 'normal' person.
Just a reminder that the Iceland study result was unexpected, and while it is great that the media is publicizing the results, it would be nice to get additional confirmations before getting really excited.

Having said that, I'm still kind of excited. The basalt flood in Eastern Washington alone is in theory large enough to sequester hundreds of years of US emissions.
Wood can be preserved for centuries, and be very useful as a construction material during that time.

Or you can sink it in the Baltic, where nothing consumes it.
The cities alone may have problems with food production.
>The government has no business anywhere near the job market. Go read about the subsidized corn market if you want to see their brand of job creation in action.

Or drive through the Lincoln Tunnel or use electricity from the Hoover Dam.

Or fly from LaGuardia to LAX.

>For too long we've expected the government to take care of the needs of society

Maybe corporate welfare should be cut to the bone first.
Can you give an example?

Is

void foo(T&& value) {
...
}

similar to

fn foo(value: T) {
...
}

?
We're already seeing this effect, no goggles necessary:

http://www.chicagotribune.com/business/ct-video-games-jobs-e...

"Happiness has gone up for this group, despite employment percentages having fallen"
When has a mass produced middle class car ever looked like that Alfa 4C? It's neither mass produced, nor middle class. It shipped with a $67k msrp. You're talking about a car that sells in the hundreds of units.
I hope they do this for CC numbers too, because I know of a website I had to use that passed your Name, address, CC number, CC exp, amount; the whole shebang over plain ol' http to do a payment shudder.
But then you have a huge problem if the shipment is damaged or delayed. I think the best way is to upload encrypted data somewhere and retrieve it after entering the country.
I would (non sarcastically) like to see the numbers behind that.
Politifact honored that utterance as Lie of the Year in 2013.

http://www.politifact.com/truth-o-meter/article/2013/dec/12/...
- a platform to publicly present all business affiliations (and side-earnings) of any politician. (Probably not-for-profit / donations, If it something like this does not already exist) for more transparency

- an autonomous wall-construction-bots business ;-)

- anything which takes advantage of rising sea levels (like boats, waterproof housing on smaller areas, natural desaster warning and evacuation systems for private people or gvt) and something to handle the following mass migrations
Introduced. Not passed yet.
I agree that's what they aim for, but in my experience far too many CS grads (especially from non-top universities) have absolutely no understanding of the core paradigms. Instead, they've basically memorized "this is how I make a linked list in Java." Ask them to do the same exact task in another language and they're totally stumped.
The majority of the big sites that people use (Google, GMail, Youtube, Facebook, Reddit, NYT, WaPo, etc.) are already being served using HTTPS. I think if a couple of HTTP sites an average user still browses start showing these warnings they will notice them. And what matters, the owners of those websites will notice them and will ask their "IT guy" hey "why our website is marked as insecure? I want a green lock like Gmail has".
The Gmail phishing scam that is even fooling the experts
You mean the roads which are crumbling (http://www.infrastructurereportcard.org/road-infrastructure/), congested ATCs (http://www.infrastructurereportcard.org/aviation/), and water systems with heavy metal contamination with our drinking water infrastructure nearing the end of its useful life (http://www.infrastructurereportcard.org/water-infrastructure...)?
Oracle already employs IT workers in Mexico.
pure spite
This is not the way supply and demand work. If there is a short-term spike in demand, there is a temporary increase in price, which creates profits for suppliers. Increased profits draw more supply. In the medium to long run, price is driven to marginal cost (plus a market return on assets employed), and excess profit is eliminated (again, "excess" meaning that beyond market rates of risk adjusted asset returns).

The idea that food prices would dramatically increase is kind of strange, because it requires that we have no way to increase supply of food production, despite our demonstrable history of doing exactly that through productivity increases. We had less farmland in 2012 than ten years prior, but the value of output doubled during the same time, so supply is in no way constrained.
#2 is often done incorrectly even by experienced users. After a padding error, it's really hard to keep going forward long enough without returning an early error.
I'm not criticizing people who chose to stay home, but I'm also defensive of being morally judged for having two working parents. Even if I can afford to do so (and many people can't), I've opted to give my child a different set of experiences.
It would be better if form is served up via HTTP it gets marked as insecure.
On the contrary, I would say its popularity is increasing more and more every day.
State of Angel Investing in Afrika
There is an entrepreneur I follow on Twitter working on this. Press Release:
http://www.orica.com/News---Media/australian-research-pilot-...
Spend some time to minimize any extraneous time spent elsewhere that is within reason for you.

Going out to dinner(lots of downtime waiting on food and check). Vs you can order ahead of time to go from that same restaurant and not waste time waiting.

When you work on side project when you are done for day. Write 1-2 line note of what your future self should do first and what was last thing you did. Minimize ramp up time.

Buy more long lasting food and supplies at grocery store( minimize total per month trips). It's not much more time consuming to grab 4 cans instead of 2.

During bathroom breaks or lunch or other downtime that you might surf web. Research things relevant to your side project.

Simply wardrobe color scheme so you have less time spent sorting thru different loads of laundry. Or batch wear similar for simple laundry time.

Show up to events that you can a little later and leave a little sooner (where applicable)

Find more things like the above. And soon you'll start realizing you have more time for your side projects
> The algae decomposition process releases methane (worse than CO2).

Under what conditions does this happen?
> Or you could envision large carbon sequestration plants powered by on-site nuclear.

I'm not sure I understand, you're suuggesting that we

1. Burn oil to produce energy (and CO2 as a byproduct)

2. Use the energy to do X

3. Use non-fossil energy to get rid of the CO2 we created during step 1.

When we could just do:

1. Use non-fossil energy to do X

Am I missing something?
Creating jobs is one thing, but creating meaningful jobs is something completely different.

In communistic days in eastern europe, everyone was employed, but most people had a lousy job, that involved very little effort.

The first time i came to the US, i got the same feeling, lots of meaningless jobs (lift boy, parking lot attendant, grocery store bag filler) that i didn't see in the Netherlands.

Are these meaningless jobs really better than universal basic income?

At least with UBI people can decide for themselves how they create a meaningful daily activity.
Why more women don't code
I stopped being a regular member last year, but love their work. After reading the priority projects list, I just made a small one-time donation.

The first project seems most important, a free and open cellphone operating system. This seems like a huge challenge, given that phone hardware has proprietary firmware. I look forward to seeing what comes of this.
Lie of the Year: 'If you like your health care plan, you can keep it' (2013)
What other open-source alternatives to service canary are there? I would totally run this if I could run my own daemon internally.
My experience is the opposite, that those with formal education have a much higher chance of having grasped the concepts, over the language libraries.
Hugelkulture doesn't involve burying the plants very deeply though - I suspect that it's shallow enough that CO2 that's released during decomposition can easily make it back to the surface.

Most the CO2 from fossil fuels comes from ancient bogs, where plants were prevented from decomposing for long enough that they could eventually turn into materials like coal and petroleum. In essence, they were a result of taking plant matter _out_ of the biosphere, which is sort of the opposite of hugelkultur's goal.
IIRC, changing the 'type' of an input doesn't (or, at least, didn't) work in some browsers.