skysight-inc/HackerNews huggingface dataset:
Ask HN: Windows shell confusion – which shell people use on Windows?
Which shell/prompt do you use on Windows?

1. command prompt
2. powershell
3. cygwin
4. git shell (Github for Windows, which is either command prompt, git bash, or powershell, depending on setting)
5. git bash (which is bash, using MINGW64)
6. Windows 10 Bash shell
7. others

Windows Shell Confusion

I have been using Windows for development for years. After years of development, I have been more confused about the shell choice. It used to be simple. Just use command prompt. Our build script would be written for command prompt. No problem there. For a while, I used cygwin. Cygwin was alright. At least I can use ssh, scp, curl, and git on it.

I also use git shell from Github for Windows sometimes. whenever the project' script requiring git.

However, so often, a tool would work on one shell, and not the others. For example, firebase-tools CLI deploy would work on PowerShell, but not on git bash. Most of the firebase-tools command works, but not for deploy command, which is interactive. Now, I am in state of confusion, I often jump from one shell to another for different tool. Obviously, I don't want to remember which tool to use for which shell, I just want to use one shell.

What about the new Windows Bash shell that comes with Windows 10 anniversary edition? Is that the "one shell to rule them all"? Do you recommend it to be "my precious"?

I would at least like to use it for
- git
- curl
- copy and paste folder path from file explorer (such a simple request, you can do this in command prompt and powershell, but not on git shell or git bash)
- node
- maven
- common CLI tools today

Which shell do you use and which stack of technologies do you usually work with that works with it?
My father was a Schwinn dealer from 1971 until 1990 or so. He had some great years with them in the early '70s but Schwinn completely went to hell in by the early '80s. I still remember my dad on the phone with their finance department, begging for a bigger line of credit so he could keep bikes on the showroom floor. They treated him and other loyal dealers like dogs. My father eventually became a Trek dealer and renamed his store from "Alamo Heights Schwinn" to "Bike World". Ed Schwinn wrote my father a letter, telling him that he had "some nerve" to change the name and that he "would never forget this". A few years later, Schwinn was bankrupt and we became one of Trek's top-ten dealers in the nation. My dad later heard that the credit manager who had treated him so poorly was now driving one of those trucks with the flashing yellow lights that escorts oversized trucks on the interstate highway.
I like that the number in the headline is the bottom range of their estimate.
Judging by how Amazon has handled other things, I wouldn't stick too hard to that conclusion. They tend to focus first on something generally useful and easy then come back to fill in more difficult/less popular options over time.
The Numerphile video has been debunked by everyone else in the math-popularization community:
http://blogs.scientificamerican.com/roots-of-unity/does-123-...
(and also see discussion of that article on HN

The "-1/12" "mystery" is well settled math (but mathematicians are always looking for more elegant or general perspectives on things), and (standard-issue) sloppy notation in physics.

The only "mystery" is why people who should know better intentionally use incorrect terminology to dazzle lay-people, creating a mystery where there is none.
> Neither US English nor UK English speakers understand or can produce intelligible German.

I beg to differ:

"Das machine is nicht fur gefingerpoken und mittengrabben. Ist easy schnappen der springenwerk, blowenfusen und corkenpoppen mit spitzensparken. Ist nicht fur gewerken by das dummkopfen. Das rubbernecken sightseeren keepen hands in das pockets. Relaxen und
vatch das blinkenlights!!!"
yes - also, some dealers refuse to perform warranty repairs with cars that have aftermarket parts... others are totally fine with it, and will even install aftermarket parts and perform warranty work afterwards.

the whole system is a mess. yeesh.
> but solar panels don't grow out of dirt

Neither do leaves, they grow out of the air ;)

https://www.youtube.com/watch?v=N1pIYI5JQLE
It's a half truth. You can be sitting at a plateau in terms of how the game is percieved until you add a key piece of tech or a particular asset. Ideally, you can prove 100% of the concept in a preproduction state, where everything is functional but placeholder. That is not hard to achieve at small scopes. Sometimes you end up needing to go a little farther, though, as the aesthetics do make a tangible difference. It takes good design skills to know how well developed the concept is, and for really tech-driven stuff you have to try building it to understand it.

That said, it also depends on what elements are critical to the design goals. If you're driven by writing, you had better already have a novel or two of drafts already written before you sink any budget into it. If you're going for a tight set of action mechanics, expect to spend a long time looking at a prototype with a bunch of colored shapes.

There are many stories of wasted work in AAA, and a lot of it stems from being too hasty to pull the trigger on production and expecting the people making work at final quality to pull rabbits out of hats and fill in a lot of missing blanks as they go along, only to be sent back to the start for a retake of entire scenes.
Wonder if it can be paired up with a smartwatch to give me on the go blood analysis.
droll: curious or unusual in a way that provokes dry amusement

[synonyms: funny, humorous, amusing, comic, comical, mirthful, chucklesome, hilarious, rollicking]
I think the centurion thing is probably just because we have not focused on the types of things that kill them yet. Look at this: https://ourworldindata.org/life-expectancy/#it-is-not-only-a...

Life expectancy for a 50 year old has gone from 71 100 years ago to 83 today, and shows no signs of slowing. If anything, it appears to be accelerating. In just the last 50 years, life expectancy at 80 has increased by 50% (from 86 to 89). The data in this graph suggests that it takes longer for life expectancy to start to go up at higher ages, but does not suggest that there's any age at which this will stop happening. We probably just have to wait until enough people start making it to that age that it makes sense for us to focus on the relevant problems for that age.
get off my lawn this isn't reddit grumble grumble doesn't add to the conversation blah blah
I, like you, would probably not sign a paper where it stated that I would live eternally, but I'm sure we both agree that having the choice to live for as long as we want (or rather, choosing when we want to stop living) is a pretty good choice to have. I think that's what most humans would want.
That could help, but not all the startups are featured because of the revenue. For example, some have total Transparent Pricing but they don't disclose their total company profit.

For me is more inspiring and interesting the Story behind the startup rather than how much is the startup making at the moment... but yeah, that's me.
Occam's razor.

dlandis is suggesting a pretty over-complicated, anti-consumer reason as to why google started pushing curated lists.

Or you can buy into the incredibly simple "because google bought Sognza to compete with spotify's curated lists".
If anyone wants to read a really great book about this topic i suggest "Chasing the Scream"[1]. This book made me think about drug addiction in a completely different way and also change my mind about legalization -- of all drugs, including heroin.

[1] https://www.amazon.com/Chasing-Scream-First-Last-Drugs/dp/16...
This is one reason why representative forms of governance are better than direct democracy/referendum. Bureaucratic inertia can be a good thing.
Our socioeconomic systems are already on the verge of collapse. We don't need life extension technology to achieve it. Just the fact that more and more jobs are being lost to automation and fewer people are dying due to everyday problems such as infant mortality and smoking. The coming revolution of self driving cars is going to exasperate both "problems": fewer jobs, fewer car fatalities.
You burn it as fuel[1]. More kilowatts for small (relatively) additional dollars.

[1] http://terrapower.com/pages/technology
Note that Django has worked on App Engine standard for many years now and in fact the App Engine SDK still distributes a Django build.

More info on the different Django+AppEngine options here:
https://cloud.google.com/python/django/
https://code.djangoproject.com/wiki/AppEngine

Disclosure: I'm an engineer at Google.
mg ml vs mg g is roughly comparable for many liquid, so still roughly the same.
Not at all offended. BeOS did a lot of neat stuff and was ahead of its time in many ways. It had its warts too and sadly did not survive, though the Haiku folks have been working hard to re-create it over the years. Much of that has surfaced in other platforms since then (node monitoring and a true device filesystem were big features of BeOS I liked a lot that are available in Linux today, for example).

BeOS got me out on the west coast and doing OS development for a living. I learned a ton of stuff while working at Be and got to work with a bunch of amazing people (some of whom I still work with today).
The Link Between Money and Aggressive Policing
he's probably referring to the dublin in the east bay area, ca. it looks like there's an audi right next door in livermore, ca which he was probably referring to.
Try walking alone unarmed across any city late at night from any era over 100 years ago and you took your life in your hands. Just because mass media is bringing you stories of the miseries of the world does not mean they are more prevalent. The majority of the world has been lifted out of poverty in the past 200 years to something unrecognizable and the pockets of turmoil that still remain will be fixed as time goes on.
There has to be a science fiction story where the crew urinates on a platinum rich asteroid to generate enough fuel to get them out of some life threatening predicament.
Related: Moen's Law of Bicycles

https://archive.is/o/jeikh/linuxmafia.com/~rick/lexicon.html...

"Good customers make for good products". This is my explanation for why an ignorant customer base causes merchandise quality to decline, on account of unhealthy market dynamics, e.g., in retail computer hardware and software. In the mid-1970s, bicycles suddenly became very popular in the USA. The masses suddenly entered the market, few knowing anything about bicycles. Many could distinguish poorly if at all between good equipment and bad; good customer service and bad. Consequently, poorly made bicycles (which cost less to make) undercut well made ones (and poor customer service out-earned the good variety), because superior value ceased to be perceived. Over time, overall quality of available bicycles declined considerably, almost entirely because of this dynamic with customers, recovering only after the fad ended, years later.

Quality thrives only when people can tell the difference. When they haven't a clue about products and how they work, schlock merchandise prevails. One can see this process at work in retail computing gear and software: People who know least about computing always insist most on achieving bottom dollar. In a way, this is understandable: You want to exercise control over the process, and, if you're dirt-ignorant about computing, the only place to exercise control is over price. Gradually, this effect tends to drive good merchandise out of the market entirely, leaving a generous selection of cheap crud.

(Archive link to pity a creaky old server on a slow link.)
Back at the start of the decade, i followed a certain startup in Moscow closely [1]. They wanted to provide 4G to the city.

For perspective, back in 2009 there wasn't even 3G in Russia - the frequencies were all owned by the military, and companies were still trying to wrestle them.

The most interesting part was the scope of the project - the startup nearly went broke not for the need to install 4G equipment, but for the need to build an entire fiber backbone to power that equipment. They invested heavily into building the network that would carry the mobile traffic to the internet al large.

They nearly went broke... And then they became the only service provider giving 4G in a 12 million soul city that knew nothing better than GPRS. It didn't last long, but for a time they more or less had a license to print money.

Last time i checked, that backbone they built is still used by every other provider that built a 3G/4G network since then.

So, yeah. Fiber was the right investment.

[1] https://en.wikipedia.org/wiki/Yota
"n" That usually messes with them a little bit.
An issue with a software upgrade apparently: http://www.redditstatus.com/incidents/902y2bfc3bq4
So maybe anti-aging for you just means you die at age 100 by falling off a cliff you're free climbing, instead of languishing for a decade in some crappy nursing home.
All Alone in No Man's Sky
Python for Entrepreneurs course plans to fund 1 or more students with $1,000
ELB is HAproxy. :-) Sure, you get a lot of flexibility configuring HAproxy yourself, but you also have to run it yourself. 90% of the time it's easier to just use ELB (plus it has some direct integration with other services, like IAM-stored server certs/keys, ASG, etc).

I have swapped out ELB for HAproxy and/or nginx on a couple of occasions. If you know your load and feature requirements intimately, you might be able to do a better job. But it's work.
How were these countries chosen? This could just be a faux vacation for the YC people, but I feel there are some countries in Asia for which this would well received and be a huge success. (For example, Singapore)
Thanks. That should be the very first line in the documentation.
I think it's more of a marketing gag. If you can make 850/m you are already quite good with your side project.
"cycling guru Gary Fisher, widely credited with inventing the mountain bike in the 1970s — a bicycle that Schwinn's engineers literally laughed at."

Classic tale of a mixture of fiscal mismanagement and a company resting on its laurels.
My house isn't 2000 miles long with 20 billion$ of sales inside of it.
I use powershell as much as I can, but cygwin when I want to use commands that are in cygwin.
It's like that on Mitsubishi Outlander Phev.

There is a separate Park button, and I think there is no risk of confusion. I have actually occasionally powered down the car when I just wanted to put it in park, but there is no real danger in that.

It automatically engages "Park" when powering down, but not when exiting the car, but maybe it should as long as the car is not moving when the door is opened.

Actually, as the car is aware of that no one is sitting in the drivers seat, it would be trivial for Mitsubishi to program it to prevent the car from moving, or at least starting to move from a stand still using the ordinary brakes.

I guess that would be true for all cars with airbags, which would be every car sold, at least in in USA and EU.

Maybe it should be mandatory.
Here's some better data:

http://www.nytimes.com/interactive/2015/02/17/upshot/what-do...

You can see that 2000 kcal is in the 98th percentile, but the 1000+ kcal range is very common.
Each page is split into sections.
Each section may wait for async data and API responses.
When all the data arrives, the section is rendered as an HTML string.

The server streams each section's static HTML to the client as soon as it's ready, and after all prior sections are streamed.

The server also streams the async data to the browser. This avoids the latency of the client downloading some HTML, then downloading some JS, then making the requisite API calls for the page's data. (Think of it as a hacky version of HTTP Server Push.)

On the client-side, React and your JS are downloaded, React will recycle as much of the static DOM as possible (writing isomorphic JS isn't always easy), then take over and do its thing.
The design of pilot controls in aircraft has a great deal of effort going into making them intuitive, and still serious mistakes are made. It's a very hard problem, and what's obvious in hindsight escapes nearly everyone in foresight.
Hey Erich! Definitely ping the B2 folks about that -> https://help.backblaze.com/hc/en-us/requests/new - they are collecting lists from folks and they'd want to hear your use-case and why the addition is important!
Agreed! It is also interesting to try to match the characters to the real life drug lords that inspired them by the crimes and strategies detailed in the book, though it can get confusing since Winslow often merges two real drug lords into a single character or branches out a single drug lord into two or more characters.

For example, Adán Barrera—the main antagonist in The Cartel—is based on one of the Arellano Felix brothers in The Power of the Dog, but then takes on Chapo Guzman's persona in The Cartel.

But when you realize that a lot of what Winslow describes actually happened in real life it puts a lot of things into perspective—especially the US's involvement on both sides of the coin.
I don't understand. Photosynthesis has been hailed as one of the most efficient processes by nature.

http://www.scientificamerican.com/article/when-it-comes-to-p...
Twitter denies #SaveTwitter rumors of shutting down in 2017
> Especially it ending up in your own marketing material

EVERYTHING can be marketing materials if you try hard enough :D
Probably makes it a bit complicated.

revenue { amount: 8500, currency: 'USD' }
periodic_revenue { interval: 'month', amount: revenue }

Then you can act on revenue amounts around the place, and only have to think/handle interval's if/when it's appropriate.
I care about taxes, sure; that's why I delegate the problem to a competent professional.
Business is very much a timing/market thing. The money faucet could turn off any day. If you come across easy money you generally want to see if you can turn it in to not so easy but still efficient use of time money in exchange for getting a lot more of it while you can.
> Google looks forward to bringing back those genres/subgenres, and even microgenres, once they've had a chance to improve them and make them more scalable around the world.

That is a comment from a top contributor in the product forum. Thread is here
https://productforums.google.com/forum/m/#!topic/play/i9meVy...
I'm sorry - meant private enterprise. (Non-government)
The world is beautiful & fascinating, and given the chance I wish I could learn every discipline involving the natural sciences. (I still could, but it would have to replace something else)

I guess you could say I want to know everything about the natural world, and it will be a long time before humanity learns everything about it, so I wish I could stick around to see all those discoveries.
Don't do that. You can look up the debilitating side effects yourself. Asking someone to re-live watching their loved one lose their self from benzos or anti-psychotics that were prescribed as a first measure rather than a last resort - which Does happen, and far too often - is crueler than you know.
Did you perhaps mean fanaticism [1] ?

> Because all this energy put into the war
> over license, did not create a single line
> of code, nor do I see how it helped protecting
> things. Once a code is open, it stays open,
> even if other people use that to make other
> things closed.

War?

rms is in a singular position - he has authored some of the most useful components of free software out there, and also one of the most useful free software licences.

If you're going to complain about his contribution on either front, you'd need to present some hefty credentials of your own.

> For me it seems he would much rather have no
> computer at all, than one with a normal OSS
> license.

Judging the merit of the man's position based on how things seem to you is perhaps disingenuous.

Also, a 'normal OSS licence' - I wonder what you mean by this.

DFSG has some clear thoughts on the matter of free software licences, and there's myriad licences that (to varying degrees) are considered sufficiently free by the FSF, but I don't know of any useful definition of 'normal OSS licence'.

There's risks with categorising groups of licences - here [2] is a discussion about the risks of talking about a/the 'bsd licence', for example.

Since we are by definition talking about definitions, being overly casual with our words is inappropriate.

> So if the original goal was to operate in a
> open world, where you are allowed to study
> and modify the software you use, I call it
> irrational and fanatic to focus on the license.

Original goal was about freedom.

Happily, original goal hasn't changed in ~30 years.

I can't tell if you are intentionally conflating the issue with your insistence on 'open' / avoidance of 'free', or if you haven't finished reading the available source materials.

> And for the ordinary user there is by far not
> enough OSS to satisfy the needs.

That's a grand claim to be making, and it seems to me that it's not the case.

[1] http://www.thefreedictionary.com/fanaticism

[2] https://www.gnu.org/licenses/bsd.html
Ask HN: Why not put onus on AdBlocker to prevent terms of service violations?
If, for example, the terms of service for using Facebook are that adblockers may not be used, the why not force the adblockers to enforce that policy?

i.e. if you are using an adblocker, then the adblocker not only blocks ads but blocks the entire site.
A classic in aircraft design are the levers that control the flaps have a flap-shaped knob, and the control for the nose gear has a little tire for the knob. This is all so the pilot knows what control his hands are on without looking at it.

But as a cockpit designer told me once, everything that seems intuitively obvious in cockpit design was paid for with blood.
Ticket Scholarships to GitHub Universe
With my friend it was Xanax that got him started. He was 14, at 19 he was dead from heroin. Nicest guy in the world. Never touched the stuff beacuse of his example. Thanks Russell.
Amazing that there are animals as complex as this living out there today born in 1744 or earlier. Older than the United States.
That is why I believe society is not getting what it is paying for in physics and mathematics. Too much of the funds invested in physics knowledge is from taxpayers money, and all the knowledge produced is useless if we can't get it back and, with due dedication, understand it. I always felt most of the modern physics knowledge is completely inaccessible to me.

The latest physics book I could read and understand was one by Einstein himself, "Relativity: The Special and General Theory", which is 100 years old.

When I tackled to learn quantum mechanics, I couldn't find good accessible (cost-wise) material, and the supposedly good book appointed by a physicist friend of mine cost more than $100 on Amazon (which is about 1/3 of the minimum wage of where country I live). I end up buying the Indian print of the book much cheaper. But there was no chance I could read it at the time, because of my lack of calculus basis, what made me watch the entire Udacity course on differential equations.

Thanks to that, I had the bare minimum to be accepted in a PhD program on mechanical engineering (I am MSc on Computer Science) to work on computational fluid dynamics. Now, halfway through an engineering PhD, I believe am (more) able to tackle the QM book (look all that took me!)

That is why I deeply value the effort of Udacity, Coursera, Khan Academy and such, because without real efforts to bring actual knowledge to public, in an accessible way (both cost and didactic-wise), modern physics and mathematics are a waste of money on private clubs.