skysight-inc/HackerNews huggingface dataset:
How about GUI applications?

I worked at a place that developed a "Linux on Windows" thingy back in the Windows XP days. It was essentially like WINE. A user-mode Windows program would load the Linux binary into the Windows program's address space and execute it, trapping any attempts by the Linux code to issue system calls, and the Windows program would then service those system calls.

For non-GUI stuff this worked remarkably well. I was able to grab the binary for rpm off of my Red Hat system, and the then current Red Hat distribution disc, and install successfully almost all of the RPMs from the disc and have almost all of the non-GUI ones work.

I had expected big problems from the case-insensivite vs. case-sensitive filesystem issue, but in practice there were only a handful of things that ran into this. Mostly Perl stuff that used both "makefile" and "Makefile".

GUI stuff was another matter. We could run XFree86 under Cygwin, and then the Linux apps under our WINE-like program would work. However management was not keen on the idea of including Cygwin and XFree86 if we turned this thing into a project. Also, we wanted an X server that would fit in better with a mix of X and native Windows apps running at the same time.

I spent a while trying to write a Windows X server straight from the official specifications. I got as far as being able to get xcalc to display a window and all the controls to show up right, but weird things happened with events. Everything looked fine when I packet sniffed the communication. I still had not figured this out by the time management decided that this whole thing did not have enough of a commercial market to continue the project.
I used to use them (directory junction points) quite a bit back when 64GB SSDs were still expensive and I wanted to redirect a few folders without changing my folder structure.

Nowadays, the most common use I've seen is as the Windows implementation of 'npm link' for Node.js developers.
App implies microsoft gets a monopoly on control and distribution (as well as revocation), ie app store, ie walled garden. It also implies you should expect it to not be open source, and you should expect to pay at least $0.99 for it.
With Shadow DOM!
He says it mostly works in cmd.exe, and they're working on getting things like screen/tmux working too.

If a fully-compatible terminal emulator doesn't exist yet (I have no idea) I bet there will be one within a year.
There's a general issue of pattern-matching when it comes to recruiting and furthermore investing in founders. The reality is that it's much easier on the human brain to say "that person didn't work out, which is surprising because they went to Stanford", then to say "that person didn't work that because they went to State University X. next time we don't hire from there".
Totally doable. Use KVM to virtualize Windows and (the important part) make sure your CPU and motherboard support VT-d. Then you can pass a graphics card (separate from the one you run Linux with, naturally) to the VM and get >95% of native performance. There's lots of videos of folks doing this.
I remember trying to use the Services for UNIX Version 1.0 Korn shell for a job. Coming from bash/zsh, I loathed it. I opted for Cygwin's bash ASAP.
Never Underestimate a JavaScript Developer
"The Jock/Geek convergence, it's the end of the world!"
Apple's been taking a number of steps over the last few months to show that they take Safari/WebKit development seriously. This is another positive step in the right direction. While I never agreed with the nonsensical "Safari is the New IE" meme that was going around, I did fear that Apple's tendency to develop things in a vacuum would continue to harm WebKit relative to Blink, Gecko, etc. But all signs are pointing to good things to come. Perhaps Apple's major open source initiative in the area of Swift language and the Swift ecosystem is also benefiting their approach to WebKit now as well.
You may not have directly dissed their school. My impression of these types of people is that they have the group-think mentality, so if you insult one school in that group you just insulted them all.
"It turns out "git clone" over rsync transport has been broken when the source repository has packed references for a long time, and nobody noticed nor complained about it."

So did they fix it or remove it?
TL;DR

Greg Duffy accused Tony Fadell of "insulting" Dropcam employees who had joined Nest as part of the takeover.
He also suggested Mr Fadell had "fetishised" some of the worst traits of Apple's Steve Jobs.

Mr Fadell recalls telling Mr Duffy he had not "earned" the right to report directly to him.
In turn, Mr Duffy says he told Nest's co-founder that he was running the division like "a tyrant bureaucrat".
It is also reported that Mr Duffy tried and failed to convince Alphabet's chief executive Larry Page to sack Mr Fadell and let him take charge.
Mr Duffy says he now thinks it was a "mistake" to have sold his firm to Nest for $555m (£385m).
"Investment Bank is Long Bitcoin, Investment Bank Report Finds"
There's spacemacs and evil. I don't see a problem.
Not surprised. Seems that as of late the biggest use of Ubuntu is as a container base.

If there is one thing Microsoft has always delivered, it is strong developer tools. And this is another case, as developers now don't have to fiddle with a VM to get a Ubuntu test environment going before stuffing things into a container.

Every embrace of Linux Microsoft has been doing as of late can be traced back to their Azure cloud service.
I wonder if they implemented a copy-on-write fork syscall in NT. Otherwise it will be slower (and use a lot more memory) in some scenarios.

Edit: And cow fork only makes sense if there is memory over-commit. So to be fully featured it would need a separate memory subsystem with memory over-commit.
That is quite a bit different from Cygwin.

Running the Linux kernel on Windows has been done before IIRC - coLinux?
I think this will be met VERY VERY badly by readers of this comment but
this change as far as i understand is windows telling canonical to help them in taking their customers
i live in egypt and other than containers and CLI and running it as webservers there is practically no way for anyone to even consider using linux i don't think this will end up well for linux
i think windows attempts will take the webservers business from linux in 5 years or something which is probably 90% of it
> Unless there are some real changes to cmd.exe then it's not that impressive.

There actually have been [1], and I imagine MS has continued to flesh out those improvements.

[1]: https://news.ycombinator.com/item?id=11046433
I think pretty recently evil-jumper was added to evil itself, and the default jumplist actions are done well enough, imo. Have you tried it since then? Or is it just the edge cases (and there are plenty...) which throw you off?
The problem is that the user-base for Windows on Linux probably isn't worth Microsoft's time...

While it seems like it is worth Microsoft's time to keep people on Windows.

I for one look forward to having all my vulnerabilities in one place... Linux, windows, server, desktop...
The Gender Pay Gap in Tech: Women vs. Men on Compensation
Not really, considering the service base that makes up those platforms is trying to fragment off. They would be an easy first customer.

http://www.fastcompany.com/3057014/fed-up-with-uber-and-lyft...
I know exactly what you mean.
They are programs which are included in the Ubuntu distribution.
"Afghanistan, Iraq, Syria are failed states with terminal corruption, which inevitably leads to war."

I think you might have the cause/effect backwards. War is by far the mightiest and most profitable expression of corruption (My experience/knowledge is mostly limited to Afghanistan, but I have a feeling it applies equally to the other states as well).
> Well, this has increased the changes of my next laptop being a Surface Book by around 100%.

And thus MS has achieved their goal.
Hi. Do you mind linking one?

Thanks. :)
Apparently you misunderstand all three of the original blog post, the actor model, and erlang's specific implementation.

Composition of actors in the actor model is done by message proxying, just like this blog post does. The original actor's API is preserved and undergoes no semantic change, just like composition in any other functional concurrency paradigm.

This works in erlang where it wouldn't work in most other languages because actors are very lightweight and message passing is a fast, optimized language primitive.

Having written many hundreds of promises and awaits, and many thousands of actors, I'd have to say that the actor paradigm is far easier to scale and reason about than any promise or async/await implementation. That's partly because almost every other language is pretty terrible at concurrency. But your mileage may vary and everyone has their preferences.
This is the cheesiest thing on earth but I swear by it: I write a "gratitude list" almost every night, ten items, and it's had a profound impact on my attitude and general well-being. (Not scientific, I know. Tough cookies. It works.) Sometimes it's things as simple as having a roof over my head and a warm bed—usually on days I've seen a lot of human suffering on the street. Other times it's gratitude for reacting calmly to a challenging situation. The important thing is to do it consistently over a long period of time. Focusing on what I have over what I want has really changed my outlook on life.

</cheese>
The population of India has an average IQ of 81. Compare that with China, which has an average IQ of 100. I guess this is why China instituted the (very smart) one-child-per-family policy whereas India has done nothing.

http://www.rlynn.co.uk/uploads/pdfs/Intelligence%20and%20the...
Hah, nice little Emacs jab there

"Of course, I have no idea how to CLOSE emacs, so I'll close the window. ;)"
That's still "VM" not "Native".

You aren't running them "side by side"... you are running them "One inside the other".

Not exactly an apple-to-apple comparison.
microsoft is leveraging FOSS Linux to get Mac users. I think it's a real smart move.

The author points to using grep and Xargs and some other tools to quickly update a package. That's the key here. These bash/Linux utilities are productivy boosters for all the Linux and Mac/bsd people out there. I can't imagine living without them and they're necessary for any system I develop on (which is currently a Mac).
Basically all types of bribery is corruption but that does not mean that all types of lobbying is bribery.

Grassroots movements organize all the time using donations from its members which they then use to send a lobbyist (a member of the org or a professional) to Washington, where they can use their personal contacts and influence to get an audience with a legislator to provide them with information. Most lobbying, I would wager, is of that form: a lobbyist simply informs the legislator about the on the ground perspective of a grassroots movement's members, a corporation, or industry group. It only becomes distasteful when a lobbyist has influence over campaign contributions or the ability to provide "perks" like hiring a politician's friends or family.

You can argue that campaign contributions are a form of bribery but there remains the big difference that in well regulated nations, all of the donations have a maximum and are tracked publicly [1][2]. In the US, all campaign spending is released publicly, both by politicians/political NGOs and campaign finance improprieties destroy political careers quite often. In the US, the FEC has the authority to enact civil penalties and the DOJ has the authority to prosecute any politicians caught willfully misusing campaign finance to better themselves. [3]

[1] http://www.fec.gov/finance/disclosure/norindsea.shtml

[2] https://www.opensecrets.org/

[3] http://www.fec.gov/ans/answers_compliance.shtml#penalties
Can you explain further why golang is bad for data stores, do you mean cache in particular? Seems contrary to many of the new datastores that I see being developed:
etcd[1] , cockroachdb[2], influxdb[3] just to name a couple that are written in go.

[1]https://github.com/coreos/etcd
[2]https://github.com/cockroachdb/cockroach
[3]https://github.com/influxdata/influxdb
A few random thoughts:

- Wow, hell is really freezing over!

- The hardest part of running bash and other posix things under windows is filesystem access. Windows uses drive letters and backslashes, unix has a root filesystem with forward slashes. It seems they are taking the same route as cygwin by "mounting" windows drives in /mnt/c (or /cygdrive/c).

- If you just wanted bash and some posix tools, the harder but nicer way would be to patch them to understand windows paths. It is not clear to me that it is even possible, for example many tools assume a path that does not start with a slash is a relative path - while "C:\" is absolute. You would also want to make more windows apps understand forward slashes like "C:/Windows". To make things even more complicated, there are NT native paths "\Device\HarddiskVolume4\Users\Bill", UNC paths "\\Server\share", and the crazy syntax "\\?\C:\MyReallyLongPath\File.txt".

- I am really surprised this works in an appx container. From my little dabbling with modern apps in Visual Studio, I've found that they are incredibly sandboxed - no filesystem access unless you go through a file picker, no network connections to localhost (!?), no control of top-level windows, no loading of external DLLs. You can get around most restrictions for sideloaded apps, but not for windows store apps. That they can now package such a complex application as a modern app (with maybe only the linux subsystem DLLs delivered externally) means that they are slowly moving the modern/universal apps and traditional Win32 apps together with regards to their powers.

- Running a Linux kernel in windows, and then ELF executables on top (without virtualization) is nothing new, see CoLinux or andLinux. If I understand correctly, this new work uses a new Linux NT subsystem. It remains to be seen if this is better (more performant) or worse (if the Linux kernel is just another process, and it crashes, it doesn't take down the system).

- If they actually wrote a NT subsystem for Linux, this opens a whole can of GPL licensing worms, as you'll need to include internal NT headers. However, they say it is closed source, so I wonder how they did it.

- This really stands and falls with how well it is integrated in the rest of the system. I want to install tools in "Ubuntu" via apt and use them from cmd.exe, and vice versa. And long term, a X11/Wayland bridge would be nice too.
On friday? ;)
How in God's green earth did Canonical think helping Microsoft with this was a good idea for the Linux community?
Web Scraping to Create Open Data
Some of the UI apps perhaps, but if you ripped out win32, I don't think you'd have a very usable machine left to log on to?
Thank you for having actually read and understood the article. It's been a pleasure seeing the Economist cover monopoly, rentiering, and the necessity of anti-trust action, and it's also been fun seeing you translate it all into HN-speak.
> Though it's also the readers who are to blame for upvoting a low-content advertisement. From some random blogger this would have died or been called out as not worthy, from the Pres of YC everyone happily discusses Asana...kinda lame.

To be fair, this is extends beyond just this post. While some of pg's/sama's essays are insightful, quite a few of them in recent memory were incredibly vapid, but still remained at the top of HN for a day or so. Would never have happened if they had been written by some random person.

The mistake here is assuming that things on HN reach the top solely because of quality in the first place. After all, YC companies get to insert their job ads in the front page whenever they want.

The only discussion boards were things are really "meritocratic" are the ones like 4chan, but most people don't find these very palatable for understandable reasons. Other than that, pretty much any online board tends to have a cult of personality around the people running it.
high pass, pass, low pass really make me wonder what's buried in the etc?

What's left for someone that still graduates?
April fools.

Coming next: Windows 11 will use Linux kernel.
Your simulation is not correct.

Look at it this way: 1/3 of the time, you pick the right door up front. If you switch, you lose.

2/3 of the time, you didn't pick the right door. If you switch, you win.

So switch.
Yes, I believe Asana could be a strong use case for 'Just because React, doesn't mean it's fast'.
A performant fork - the single biggest problem with Cygwin - sounds awesome. As does the ability to run Linux binaries directly, opening up the direct use of binary package repos.

I wonder if I can use it via mintty instead of conhost.exe; at the very least, I could ssh into it from Cygwin.

As always, the devil is in the details; the rough edges where support peters out, or syscall inconsistencies creep in.
Show HN: A simple colorful project to generate HEX, RGB and HSL colors
program is kinda hard to say because of the 2 r's.
Because org-mode targets far more than than LaTeX/PDF in its standard case, isn't itself Turing complete, and supports vastly more stuff including literate programming in a huge number of languages.
So LINE on Windows like WINE on Linux?

Seriously:shows an appreciation of where a lot of the workload for computer programmers is these days.
i find that for group-sized tasks a google spreadsheet and some kind of issue tracking system is fine (zendesk, github, etc.)

it's more about the day-to-day management of people and goals than the management of data in whatever system you choose. the data just needs to be easy to find and share.
If you frequently see people not knowing how CSS works, then that could be a sign that CSS is fundamentally broken, over engineered, etc for what it does...

(rather than those devs being "stupid", "ignorant", "incompetent" etc).
The important question of course is: when it will appear in Windows Server?

Incidentally, I've found the Windows 2012R2 to be my favorite OS for the desktop from the Windows family.
While my Alma Matter is often the butt of jokes I often say "Arizona State was the best school my family and I could afford." Once I became an AZ resident, tuition was less than $500 a semester.

Granted this was in the early 90's, when tuitions varied wildly and kids were less informed of differences between the school. Not sure this argument is meaningful now since just about every school is unaffordable without financial-aid and information is more accessible.

This also demonstrates a cultural/demographic bias. At 17 I would have told you MIT and NYC's Apex Tech were both "tech" schools, but Apex tech was a better deal because you got a box of tools with your diploma and it only takes 6 weeks. I wonder if this level of ignorance is even possible now.
The performance hit is so negligible on modern hardware that the distinction doesn't really matter.
I'm well aware of what the web is like without JS. I know it's usable. I'm saying it's not convenient.

Whitelisting is not convenient.

If people are pretending it is, they're doing a disservice to the security community. Kinda how like people pretend GPG is usable and convenient, thus holding back progress in the security UX front.
In the same way that an automobile company advertisement on broadcast television may increase the number of potential customers visiting dealerships to buy a new car.

The advertisement makes you want that car, or at least makes you aware that it exists, which influences your behavior in the future, when you are actually able to buy.

The lobbyist never knows if the investment of time and effort is successful until after the vote is cast, and has no recourse whatsoever if is cast the "wrong" way. The car company can't demand a refund for its advertising if not enough extra people want to buy their cars. Watching the ad does not obligate anyone to buy. Lobbying does not obligate anyone to vote in a particular way.

Of course, as the lobbying game is played in multiple iterations, it is certainly a winning strategy to "stay bought". If a lobbyist invests a lot of effort into getting you to change your mind, they will likely continue to do so if you voluntarily act to make that investment pay off every time. There doesn't need to be a legally recognizable quid pro quo. The implicit deal is that consistent cooperation will be rewarded consistently.
An elusive command philosophy and a different command culture
Hopefully I'm just being paranoid, but as a full time Linux user Microsoft's friendliness makes me nervous. I think I liked it better when we were bitter enemies. Remember embrace, extend, extinguish...
I expect they implemented a subsystem for Linux at the syscall level - i.e. they implemented the Linux kernel's interface at the ABI level. No headers would need to intermingle with open source; compile on Linux, run on Windows.
I run two external Thunderbolt monitors through a couple of cheap adaptor boxes and have never had a problem.

I suspect RAM issues. OS X isn't great if - say - Chrome eats all the memory. And if the RAM itself isn't rock solid, you will get crashes.

A lot of issues went away when I installed 32GB.
The Android simulator has always sucked, so that's not a React issue. If you're going to be working on something for Android, you should have a device.
> It seems they are taking the same route as cygwin by "mounting" windows drives in /mnt/c (or /cygdrive/c).

I wonder if this Unix filesystem layer will be able to break the Windows legacy path length limit. If so, the Linux version of Node.js will suddenly become much more useful than the Windows version.

> It remains to be seen if this is better (more performant) or worse

Sounds like performance, at least, will be better. TFA says "it's totally shit hot! The sysbench utility is showing nearly equivalent cpu, memory, and io performance." I'll reserve judgment until I see the fork() benchmarks. :)
Indeed very nice UI. Would be nice to have support for 'dark' theme as some customers would prefer that.
Photos leak ahead of //build revealing new Azure datacenters in an unexpected location - https://twitter.com/evilSnobu/status/715179290099363842
Anyone know if they plan on introducing support for Service Workers ("Progressive Web Apps" in Google parlance) soon?
I love your last paragraph. Exactly what I was thinking. NT Subsystems were its party trick and its taken far too long for them to be introduced on the grand stage. I bet Dave Cutler is smiling his face off!
This article appears to only look at whether or not people feel their compensation is fair, kind of pointless.
Wondering if ansible will work...
If done right - I fell desktop linux and OSX market share will shrink
How do they handle various NTFS related issues? https://cygwin.com/cygwin-ug-net/using-specialnames.html
>We should do more basic research. That might help. Might.

Also infrastructure. Seriously. In much of the world outside of Europe and Japan, most people simply don't have access to very good infrastructure for basic needs like transportation, food, water, and health. Sure, it's a public good, but it's money being left on the table by the global economy since capitalism systematically under-invests in public goods.