skysight-inc/HackerNews huggingface dataset:
Autonomous cars and trains coexist, and trains are more efficient for long distance travel. In a world where autonomous cars are available, you'll probably be able to get one from your door to the train and from your train to the final destination, rather than walking or trying to "find" a taxi by any means more onerous than having tapped a button in an app, possibly integrated with the workflow of buying a train ticket.

And, for long distances, trains will probably be both faster and more reliable than cars, automated or otherwise.
The hard part is to know what string to search for.
There's the theory (you googling the French penal code and its scary max sentences) and practice (me a French guy with 37 years of seeing (as an outsider) what really happens in French courts).
In France you don't go in prison, or not that long, when you were faced with an impossible choice.

If the trolley problem happened for real here, whatever your choice, I'm willing to bet you wouldn't go in prison. It's not a 100% bet (I estimate it at 80%), of course I could loose but you wouldn't do more than 5 years.
I can't find anything about it in English but if you're willing to Google translate it, look for "Vincent Humbert" for a perfect example of what I'm talking about.

There's a real cultural difference between how the French and the Americans think about the law.

I'd wager that more than 95% of the French population will never see a lawyer through their life.
Most grocery stores do not operate at the scale that either of your examples do and most cannot charge a membership fee either.
That's the de facto situation, whereas I was referring to the de jure one. Ouarzazate is nowhere near Western Sahara, but I was just clarifying the parent comment.
Quick Quotes on Cybersecurity and Commjacking
Well, that's the specific example, but there exist a class of educational blocks such that the learner doesn't know where they're stuck, because if they could define it, the act of correctly defining the stuck step would inherently unstick it.

So MOOC strategy works for some areas that don't have sticking points like that, but not so well where five minutes with a Socratic strategy tutor could save a lot of video re-watching time. Arguably, better video would point out likely sticking points. However, advanced math instructors got their position not by getting education degrees which theoretically vocationally train people to present like that, but got their position by being very successful when getting a PHD in an obscure and advanced part of the field. So if you're lucky, your higher math instructor might be a talented educator in addition to being a talented mathematician... but probably not, unfortunately.

It would be interesting as a thought experiment, or maybe as a startup, to see a good (emphasis on good) K-12 math instructor with a strong background in educational teaching skills try to teach diffeqs or higher math in general. I suspect they'd be extremely good at it, although probably very slow.
Once nuclear core = a bit less than 1GW. France has 58 of them, producing 74% of its electricity.

In total France produces 63GW, with 70Mhab = about 1KW per inhabitant in average.
JavaScript Best Practices and Tips
>Half of all small business fail in the first 3 to 5 years.

I'm curious about that statistic. A lot of these business could be hobby or other casual enterprises, tax avoidance schemes, and doomed businesses started by naive people. It doesn't mean a whole lot without some more context.

>Imagine taking a job where you had to pay for your office, office supplies, computer, and every thing else out of pocket.

Become a teacher!

>...that is a social discussion.

Social factors aren't irrelevant. People behave differently based upon socio-economic incentives. Not just entrepreneurs, either; take two engineers, one comes from a family with "fuck you" money, the other is a first generation college graduate. They both have started their own families and have young children at home. Now, imagine how their reactions might differ when placed in various ethical dilemmas.
Or, indeed, C++'s references which are non-nullable.
I think it's fair to say that many people with emotional problems or mental illness try to use alcohol (or another substance) as a coping mechanism – which is not a good idea.

Most people don't drink to shut down emotions, however.
NBER Summer 2015 Course on Machine Learning
the author seems to be missing what HTTP/2 brings to the table [1]

#1: https://http2.github.io/faq/#why-revise-http
Isn't he basically saying use your natural lexicon vs. an artificial one (typically used to make oneself sound more educated).
I have no idea what your reply has to do with me. I never even remotely made that claim. Were you so sure you knew what I was going to say that you didn't bother to read what I actually did say?

A solution that can't be sustained isn't a solution. It is a category error to treat it as a solution merely because you like it, or it flatters your politics, or it makes you feel good, or it provides you a cudgel with which to hit your political opponents. None of those things will prevent the company from going out of business, if it does, and then nobody has a job.
This is key. By paying better than other companies for equivalent roles (requiring anything above no skill and diligence) a company gains a competitive advantage since it can recruit and retain the best workers.

It is however usually coupled with the ability to let go poorly performing workers -- something that socialist aren't keen on.
XP is 14 years old, I don't care what bullshit excuses you have. It's your problem now and the world is not going to wait for you. Sick and tired of people offloading responsibility to the rest of the world because they can't be bothered to spend the time and resources to catch up with time.
This article demonstrates that the author has not worked a large-scale web application. Modularity in CSS has been difficult to acheive, and there has yet to be a perfect solution. However, I'll gladly work with an intermittent solution. If I stepped into a project that followed these recommendations for building an app of scale, I'd likely go insane.
Equity in their business? You can create vtlynch LLC tomorrow if you wanted to and if you found someone to buy it, you could sell equity in it. What does that have to do with personal wealth?
Size of solar plant (from http://www.afdb.org/fileadmin/uploads/afdb/Documents/Environ... ): 3000ha, or 30km^2

Size of Sahara desert: 9,400,000km^2

I make that 0.00032% of the desert consumed.
Well, in a couple of cases (here is my current list of MOOCs I took part in, if anyone cares: http://pa-mar.net/Main/Study/Onlinecourses.html) in order to get completion you had to submit a end-of-course project which was very interesting in itself, and you also learned a lot because in order to get it "graded" you had to grade at least 5 other projects randomly selected among the other participants.

So you either saw different approaches to the same problem (e.g. Data Analysis) or everyone discussing a different problem (An Introduction to Operations Management). I am sure that I got a lot (in terms of learning) from that part of the course.

If everyone just picks and chooses some papers/videos and drops out before the end you don't get anyone to grade your work and you have no other work to grade (and possibly learn from).
But there are 2 parts to the thought experiment. This seems just like the "flip the switch" scenario, which most people say they would do.
That's exactly the misconception folks have about desert right there, in that quoted "becoming". The idea is that deserts are worthless, containing no life. Probably because they contain nothing that humans value for their own comfort.

Yet deserts have lots of life, unique life, that because of the harsh environment is exquisitely tuned to the desert environment. This is the stuff that will be lost if the sunlight is gone, the heat goes away, the moisture balance is upset by so much shade. Plentiful shade and cool and wet are good for people; disaster for the desert ecosystem.

The 'thermal pollution' is, curiously, cooling instead of heating in this case. Light is turned to electricity instead of falling on the ground and becoming heat.
Not all deserts are equal. The Sahara desert is truly immense -- 99.99% of it is not at risk of construction. And unless you are building on top of something with a natural water source, you're probably not endangering any life; the parts without water sources are essentially lifeless.

Frankly, after the initial setup, the shelter the panels provide will probably support more life than the open sand. Same as why environmentalists are ok sinking ships to provide a foundation for artificial reefs -- nature does not magically optimize for the most life-dense environment; it just is the way it is.
Rarely does F1 work (like it used to) in most any MS app I've used in the last 5 years. I think they decided to just say fuck it and outsource that functionality to Google.
21 Inc Bitcoin Computer May Completely Change How the Internet Works
Blockchain Analytics with Cayley DB
I bit and added it, please don't slow down my chrome to a crawl, thanks!
I think you're forgetting how absolutely, insanely large the Sahara desert is. We're talking about a solar plant that will be the size of a single city. Frankly, I think statements like "exterminate many species" are absurdly hyperbolic. Will it kill some animals? Yes. Species? I doubt it.
If being an owner is so low-effort and low-risk, why not just found a company instead of working for someone else?

It's because it's hard and risky work to start a company. Your observation of the company owner not doing any work is a temporal discrepancy not a difference in overall risk and effort (IMO).
It's truly the best course I've ever taken for newbies to seriously up their skills. Can't recommend enough.
Show HN: Sensorize – A memory game
I found this ctype function bug^Wundefined behavior for glibc with afl-buzz:

https://sourceware.org/bugzilla/show_bug.cgi?id=17674

I was expecting that it would get closed as "undefined behavior" although the "This is perfectly valid undefined behaviour" line made my day.

I just wanted to have this bug documented for other people or in case this behavior would ever be part of a security related issue.
Beautiful Titanium Mechanical Pencil. True Beauty
I wouldn't feel too guilty about "value". In a world of finite resources with alternative uses, your value (how much you are paid) is often your share of how much revenue you help generate. Value (pay) and value (worth) are not the same thing. Why does a pro athlete make 10 mil and a 3rd grade teacher make 30k? Because more tangible revenue is generated by a single pro athlete than a single 3rd grade teacher in a given year. It sucks, but hating it or feeling guilty about it doesn't change it.
My father dropped out of college because at the time, grocery stores paid good enough wages compared to other jobs that you could feasibly make a career out of it. That seems almost unheard of nowadays.
Downvotes should be deactivated. If someone really disagrees, they should do better than just throw zero bits at people without explanation. Downvotes only cause confusion and don't improve the conversation any.
Enter sugar snake: MEL Science’s next-gen chemistry kit
>Yes, you can write get() and risk an exception. So don't do that.

Yes, you can dereference a null pointer and risk an exception. So don't do that.

See where this is going?

The problem with Java's optional is that it is by all appearances (in name and high-level description), a general purpose optional, albeit with a ton of gotchas that will result in people saying "Just don't do that."

Java's optional is not a general purpose option type. In fact, its intended use-case is very specific, according to a rather obscure SO answer by Brian Goetz: http://stackoverflow.com/a/26328555/547365

This is, of course, just tribal knowledge, meaning people are going to be doing shit with optional that they shouldn't, and it's going to be messy.
There are still a lot of networks that don't have enough bandwidth to make git trivial. Most home networks, it's going to turn a 5-second download into 60 seconds or more. Some networks, it's going to turn a 1-minute download into a half an hour.
interesting - i took the course but did not notice that - thanks!
Get the latest and greatest links about front-end design and development, daily
Species are notoriously local. The choice will be, which species to exterminate. Probably will be done without thought, because the site will be chosen purely economically.
It's being worked on in part to help find issues with the spec.
I would be interested to hear what a similar capacity highway on the same stretch of land would cost. I would be extremely surprised if that would be an order of magnitude different.
How to Make Your App More Secure in Less Than 20 Minutes
As the author says, in SASS, nesting that produces deeply nested selectors like `body#homepage header .navbar:first-child li>a` should definitely be avoided. However, you can do BEM style selectors quite neatly in SASS:

.navbar {
&__element {
&__hover {
...
}
}
}

which will produce a selector like:

.navbar__element__hover { ... }

This is a great compromise between readability, maintainability and performance.

Also, the first point about keeping all your CSS in the same file works for smaller projects. But on bigger projects, managing a 5000 line CSS file is a nightmare. Better to break your project into multiple files, and import them as mixins or straight includes. Again, using BEM-style CSS helps with that.

In the end, managing CSS is always a pain whatever approach you use. Too much of the advice on CSS doesn't talk about the context in which to apply or ignore the advice. What works for for a massive team working on a high-profile, big-budget, mission critical website will be enormous overkill for a small project with one front end developer.
The total for India is 280GW, 28% of which is renewable, according to https://en.wikipedia.org/wiki/Electricity_sector_in_India .
I was definitely taught to write it as a single letter, and that seems to be fairly traditional: https://en.wikipedia.org/wiki/IJ_%28digraph%29#/media/File:L...
I've been doing Coursera courses for the past few years in an on/off fashion. I'm pleasantly

surprised by the courses that are more popular in this list.

I think the pattern is that the foundational or introductory courses are popular as they have a

larger audience. But it doesn't comment on the quality of the course. An interesting data point

is the social media "Share" widget that appears on the right column [0].

[0] https://www.coursera.org/course/rprog
How to Get Nearly 50% More Money from Your Customers
There is nothing wrong with nesting in SASS. As with anything in life you just have to keep thinking about what you are doing. Nesting too much or to deep can make things hard to maintain or debug, but you can't say 'nesting is evil' just because you think you are not supposed to like it.
Show HN: 1000 Angels, a members only investor network
Around here the bylaw officer (who used to chalk tires) now has a tablet that takes a picture of the vehicle (including licence plate and I assume includes GPS coordinate). The pitched battle over parking continues . . .
> And sun/oracle hasn't done any favors for themselves either in making the setup process better.

Massive understatement! :)

As well, in my limited experience, vendors who write something java-based absolutely can't be bothered to write a help document on how to configure java to run their app despite hundreds of people posting in forums asking for help...."not our problem, you should know how to do that" seems to be the sentiment.
That link says 2 to 59 grams too. Apparently the range is very high depending on how the extraction works, and all sorts of factors. Cement and steel for example have very different behaviours for emitting co2. Maybe the steel was melted by wind farm electricity for example.

But anyway, even at the high end of the estimates, that is still way lower than coal.
> dull minded annotations

Is scandox making an assertion here? Could be, or perhaps it's a just a meager judgement. Whether or not he/she really thinks this is a pleasant first experience is open to question.
Land is cheap, sure, but the transmission capacity to take it from generation to consumption sure isn't.

Europe had electrical grids that were perfectly capable of distributing the "ancient, horrible" thermal generation quite acceptably. Now there's a lot of renewables installed the grid is starting to look like the bottleneck. Who pays for the grid upgrades so that it's not the bottleneck? The renewable people say the grid people should, and the grid people say that the renewable people should.

If there was so, so much money in the renewables market then why are they balking at paying for installing more long haul transmission lines? Probably because they're very expensive; if they were just 1% of the cost of the renewable facility nobody would really care. But they're probably on par with or perhaps even more expensive than the total plant installation. Which takes these projects from profitable versus thermal to non-profitable versus thermal I'd suspect. Hence the bickering.

So thermal balancing is a well understood art that's going on 100 years old now. Renewable balancing is not as well understood and is perhaps only 5-10 years old at any kind of scale. That's why grid batteries are such a big deal, because balancing is hard and batteries tend to have little/no latency so they can react faster than natural gas peaker plants.

I'm not saying that moving to renewables is a bad idea and that we should just stick with coal or anything; renewables are obviously the future. But there are definite, real problems associated with their roll-out that aren't easily or cheaply solved. I think one thing that will make a huge difference is exposing the time-variable pricing of electricity to everyone. It'll create a huge market for demand smoothing and consumer grade (and scale!) load smoothing devices like inverter A/C units, peak shaving batteries (1kWh battery with a 3kW inverter/charger), people putting 500-1000W of solar on their own roofs, etc.
I agree, nesting has been one of the most helpful parts in SASS to keep everything organised. Nestin is just harder to do right, you need some experience in organising files.

Even with the specifity I vastly prefer nesting to a bunch of files with flat selectors and a huge amount of globals where you need a lot of time just to understand which elements affect which.

The post is quite opinionated and puts every issue in a bucket, as if there is only one way to write CSS. A few examples would have been useful.

Not using Nesting is the worst offender in the list.
> Except that Haskell automatically preserves the type safety, whereas you have to re-wrap the value if you're using Java.

Optional has map() in Java.

Optional<Integer> result = Optional.empty().map(i -> i * i);
assert(!result.isPresent());

Optional<Integer> result = Optional.of(9).map(i -> i * i);
assert(result.get() == 81);
"Then, when I wanted to scale things up at a min-width breakpoint, I’d just adjust the root font size, upon which everything else is proportionately based."

The problem is that scaling everything up or down proportionally looks bad. https://css-tricks.com/rems-ems/
Looks at the graph on here: http://www.wolframalpha.com/input/?i=distance+from+earth+to+... (expand the time period to +/- 10 years)

It's wonderful.
Most business owners are risking very little out-of-pocket money. Most are either funded via business loans against the business assets, or from investors.

Only a small number of bootstrapped companies (few of whom are represented on Hacker News) are risking their own money, and even then only the brave (or foolish) push it to the point where they can't sustain themselves if the business fails.
> Socialism just works to get a happy compromise where you have the chance of making more through your efforts, but less people get a huge head start and fewer fall through into poverty

That, or leads to a repressive state and economic ruin. You can't pretend that Denmark is socialist but not many of the failed South American countries.

Paul Graham has an interesting perspective of inequality:

> Economic inequality is not just a consequence of startups. It's the engine that drives them, in the same way a fall of water drives a water mill. People start startups in the hope of becoming much richer than they were before. And if your society tries to prevent anyone from being much richer than anyone else, it will also prevent one person from being much richer at t2 than t1.

He acknowledges that people don't do things just for financial reward. People build products because they love building things. The things you have to pay founders for is doing the mundane operational support that is required for most projects. No one likes doing that.

He goes on to argue that inequality is the result of people being able to more effectively use their talents. The "10x programmer" isn't paid 10x as much, but few programmers could argue that he should not get paid a lot more than just an average programmer despite being much more effective.

I get that inequality is distasteful, but I would rather be richer in a less equal economy that be poorer but average.

[0] http://www.paulgraham.com/inequality.html
Again, the attitude here is that species unique to the desert environment are worthless; that more familiar species that humans like have value; that somehow its better for every life form to have more shade and water and less sunlight. This is untrue for the desert environment. And hard for many people to comprehend.

"More life" has never been the ecological impact metric. Why, a cattle feedlot has more life than the prairie that came before. And so on.

The desert is by no means lifeless. Some 50 species of mammals, endless snakes and arachnids (scorpions etc), many species of grass and brush. Even in the relatively-less-inhabited sand dune 'oceans' there is life.

But nobody is putting solar panels in the sand dunes. It will have to be on solid ground - rocky plateaus. Which are the most-populated of the Sahara environments.
How to find the closest subset sum with SQL
I don't understand the downvotes. Parent is just stating their personal preference.
What $12B plane are you referring to?
I don't like education and universities and all that stuff, I would like them to release the videos and the text in the open, that I can learn my way, not in a supervised fashion, behind a login wall.