skysight-inc/HackerNews huggingface dataset:
More specifically, you can find out all of the type information about anything you get access to by piping it to 'get-member'

get-netadapter | get-member

Which gives the following output http://pastebin.com/bM0cBeXb about the type information for the result of 'get-netadapter'. In addition to this, tab completion for properties is available.

Alternately, you can get all of the current properties of any existing object by piping to 'select' (to get a general subset) or 'select * ' to get all properties. Note that this gives all information for the objects in the pipeline.

get-netadapter | select
get-netadapter | select *

The first will provide a short list of fields for all network adapters, and the second will provide all properties.

'Select' can also be used to easily filter the properties of items in the pipeline to ones you care about.

get-netadapter | select Name, MacAddress

You can also just generally filter the pipeline based on generic filters (give me all of the network adapters that are currently not enabled, and have a driver provided by Mellanox).

And ultimately, if you want to use powershell to do the stuff that typed objects are good at, and then leverage command line tools to do the rest, you can if you like.

get-netadapter | select Name, MacAddress | exportto-csv

Which will take all of the network adapters, gather their name and mac address, and spit it out to stdout as CSV which can then be sent to any number of external tools, or using the '-expandproperty' flag to 'select' can give just a bare list of properties one on each line.
C# and Java: Comparing Programming Languages (2003)
Now 37%. It's insane that prisons could be on the stock market at all. Talk about perverse incentives....
Elaborate then please, and I vote accordingly.
PHP stream_get_line vs. fgets, processing large files (2014)
Philosophic debate on the ethics of performance enhancement
I've worked from home in the uk for the past ten years and no one assessed my office and in one company I didn't even get a laptop.

I'm curious what sort of company insisted on that.
On some interal MS RCS.
The issue is the long lag time between new ideas being implemented at a design level, and the many iterations of fabbing and tweaking that need to take place before it can actually be sold. The majority of people in tech are too used to something being written in the morning and deployed in the afternoon to understand what it is like having a 3-month lag in your testing cycle, and minimum twice that till release.

Just like Intel had the P4 hole that it had to drag its way out of, so now AMD has had Bulldozer. Notice how Intel has been quite conservative with each individual tick/tock, trying to keep their pipeline full. Doing crazy changes risks causing a pipeline stall which could last years. Each new architecture is risky, and AMD screwed up with Bulldozer. From early signs it looks like Zen is a winner, hopefully AMD can stick with it for a while.
Ummm... the way the world moves forward is through having children. What's your alternative?
Also:

>> Once I made a robot to play video games for me.
Dear Readers:

I've concluded williamtrask is a bot - it really doesn't seem to "get" the point!
The best things always have detractors, yet they live on.

C is over 40 years old and is still in widespread use today, even though there have been (supposedly) better languages targeting the same use cases for decades now. There is more to it than just inertia.

I've been using it less and less over the years, mostly because I've also been tackling less and less problems in the domains where it excels. It is still my favorite language though.
I agree NY is better than off than SF, but the trend is worrying. Take for example landmark preservation. I think almost everyone agrees that the loss of the old Penn Station was a tragedy, but now we have significant fractions of Manhattan designated as part of a historic districts and more are coming all the time. It's a one way ratchet.

On top of that, the power of the NIMBYs is significantly stronger in the outer boros than it is in Manhattan (especially Queens and Staten Island). Once you reach city limits they are all powerful (Nassau, Suffolk, Westchester).

Then there's Chris Christie's killing of the ARC project and the worrying lack of new transit capacity. It's most acute over the Hudson, but the pending doom for Williamsburg highlights the mass transit system's lack of resiliency outside of core Manhattan.

I don't want to get too political especially on local politics which is probably not of much interest to most HN readers, but Bloomberg left BdB use a very solid economic position and a couple of ambitious transit plans in the works or almost finished (7 extension, east side access and 2nd ave). Since BdB has become mayor he started a war with the governor and his only proposals for new transit projects are frankly dumb (the trolley down the east side of the East River and the new ferries).
What is your opinion of Rust? Does it fall under the category of "too complicated"? Or is it simply far too young to be proven yet?
Considering most OSS devs slam analytics on literally every website. Really there isn't much difference.

That's what windows is sending. Analytics information. Yet I can guarantee every major website developed by open source using devs is sending the same information for their apps. Yet no one complains.
My patent lawyer told me to, but generally no. If I know the person ahead of time I just ask them to keep it to themselves. Plus I know VCs wont sign NDAs, but I would get someone to agree verbally to keep it to themselves.
The linked article seems to be a bombastic summary of a longer, more neutral, and better-supported article [1]. Strangely enough, they were published on the same day and apparently are both featured in the print edition? It seems like The Economist is doing A/B testing to see what draws more outrage from its readers: "Nightmare on Main Street" or "Comradely Capitalism"?

The linked article is confusing and uninformative. I suggest reading the longer version.

[1] http://www.economist.com/news/briefing/21705316-how-america-...
Maybe what you invented is not that so "powerful".

Keep calm. At some point, if you want to get introduced to Google / Facebook executives and get them to buy your technology.

You will have to convince them it is a real game-changer. People are not willing to toss everything just because you're "100% sure" of something.

Write a plan, if you want to show how interesting is your technology, I think that you have to write some proof of concepts and MVPs to show off.

Maybe, it'll take a whole complete product for Google and Facebook to notice how interesting this technology of yours is.

Anyway, what you are doing wrong is that you are assuming that you can convince someone just by telling him how it works. I think it is reasonable to ignore someone who wants you to believe in something based on how it works.

As a software developer, when we have to scale, we don't do guesses or explain how it would work. We measure everything.
So measure your powerful invention and check / validate with the reality.
Whitespace in front of the @ is only allowed within quotes, and any quoted part must be seperated by dots from unqoted parts. "my address"@example.com is allowed, as is my." ".address@example.com, but not my"address"@example.com.

Once you get that into a regex format, remember that a quoted dot is different from an unqoted dot, and don't forget that you handle comments within email addesses correctly.

There are plenty of reasons why people say not to use regex to validate email addresses.
I agree with you! Even if this is all for microsoft's bottom-line (and there's nothing wrong with that since they are a business after all), we all (devs and consumers alike, directly or indirectly) stand to benefit. The prospects certainly seem exciting.
And now PowerShell on Bash on Ubuntu on Windows is a thing.

(Spoiler alert, it doesn't work very well right now. The cursor keeps jumping to the top of the console and overwriting existing text.)
If Hemingway Wrote JavaScript: Explained
Gonna play Devil's Advocate here: is this the correct way to lower the barrier to entry?

This is like trying to teach monads without having taught lambda calculus, functors, and applicatives.

There is a clear order to knowledge, and people should master the books dealing with prereqs if they want to grok deep learning.

Not jump into deep learning, just because it's the hot shit.

Part of these efforts to cheaply popularize CS makes computer science not a real field. Just a fad.

Nobody will write a book called "Grokking Quantum Physics" claiming that explaining quantum like "you are a five year old" will somehow cover for the necessary mastery of classical physics.

If you read such a book and think you understand quantum physics, you are terribly misguided.

Dunning-Kruger addicts people to feeling like they have mastered a subject, without putting in the effort.

Little learning is a dangerous thing.
A computer architecture class. For books, [1] is what you will probably use in any decent computer architecture class, and [2] is a good read from a more general audience perspective, if a bit dated.

1. https://www.amazon.com/Computer-Architecture-Fifth-Quantitat...

2. https://www.amazon.com/Inside-Machine-Introduction-Microproc...
> * when American swimmers claimed to be robbed a media uproar denounced a security chaos. Turns out they lied to hide a visit to a brothel.

Do you have a reference for this? I'm aware of the inconsistencies with the stories in this situation, but I've never seen a brothel mentioned anywhere.
idea of expressing your UI as a pure function of the form f(data) = view and being able to compose those functions together.

This is a verbose re-statement of components, which are not new.

Before React, you couldn't do this in a performant, UX-positive way

Has there never been a performant component based UI framework?
1) Uber keeps tracks of the fuel ahead of time, and goes to an Uber refuel station automatically before it gets anywhere near low fuel.

2) The computer detects that the flat tire happened, pulls off to the side, and autodials the Uber triple A repair crew.

3) This one is hard actually. Perhaps the cameras could detect the flashing lights and sound of a police car, and automatically pull over? Or maybe there is just an emergency pull over button that the passenger presses?

4) Aforementioned emergency pull over button.
Sure.

The short answer is.....

You(party A) and party B have a contract.

You want to eliminate the risk that Party B goes bankrupt and can no longer pay you.

You go to party C who will take small payments from you each month/quarter and in return they will pay you if party B goes bankrupt.

Now the important things to note are:

1) The amount you pay party C is based on how you and party C analyze the bankruptcy risk of party B.

2) The amount that party C pays you when the CDS is triggered doesn't necessarily have to have any relation to your original contract with party B. ie party B might be making a one time payment of $1 million to you but nothing stops you from taking out $10 million in CDS protection on party B.

3) The trigger for a CDS may not necessarily be the failure of party B to pay, ikt might be related to their credit rating, ownership changes, or really any term you can negotiate.

4) you can write a CDS when you aren't even involved in the original party A to party B transaction. This is what happened in teh big short where Michael Burry had no involvement in the Mortgage back securities, but had several banks writhe him a CDS that payed out if the original mortgage backed security had a certain percentage of its mortgages fail.

This is where things really went off the rails as companies like AIG wrote the CDS protection for a whole lot more MBS(Mortgage backed securities) than they could possibly ever cover, because their models predicted that there really wasn't any way they could fail in the manner they did. Suddenly a single MBS could have 100x its value in CDS default protection written on it. This leverage is how the 2008 bailout got so big.
> The last crisis was also heavily related to sub-prime mortgages. How much has sub-prime lending been mitigated?

http://www.qualifiedhomeloans.com/campaigns/statedincomeloan...

http://www.forbes.com/2010/07/02/return-liar-loans-personal-...

No. Its still essentially the same with no paperwork mortgages with higher interest rates and ARMs. Very little changed other than a few regulations that might stop a systemic collapse of large banks.

> Thankfully, I live in an area that didn't see the enormous run up of house values. The crash affected our housing and we still had the normal negative effects of a big recession. Housing prices have certainly recovered by now and I do wonder how much of it is still smoke and mirrors. But in markets like Florida and Arizona where house prices got really out of control, have those areas also recovered? That would be more shocking to me.

http://www.tradingeconomics.com/united-states/case-shiller-h...

The market as a whole is almost back to where it was in 2008.
Java Running on the Rumprun Unikernel
Look at the comic. I'm talking about divisions inside Microsoft. I doubt it very much that Scott Hanselman (for example), who is in the camp that pushes Microsoft to open up, is the kind of person that designed the privacy controls (or their lack) in Windows 10.
From Fins into Hands: Scientists Discover a Deep Evolutionary Link
Nice comment. Food for thought.

How big was the risk that they took ? Surely they knew that the market was insane. But would they have lost a lot of money if the market was insane for a long time ? I saw the movie but I don't remember a lot of the details. I was just trying to follow.
Well, giardini, I'm not a bot. My offer to send you 3 chapters still stands. Sorry you're not happy. I also have plenty of free educational materials on Deep Learning on the above linked blog which you can use to rate my writing. If there's anything else I can do for you, please let me know.
Nothing will ever impress me more than this WebGL fire / explosion effect: http://glslsandbox.com/e#33550.0

Warning: may melt your GPU.
How We Saved Our Company with This One Strategic Move
My hope is that constraining the search space, you'll also solve the 'common sense' problem. I'm constraining it in three ways:

1) The solver tries to make the tests pass one at a time: it finds a solution that passes test 1, then one that passes tests 1 and 2, then one that passes tests 1, 2 and 3, and so on. So the human-written unit test suite guides the solution quite directly.

2) The search algorithm will be fairly shallow, somewhere between 2 and 3 steps probably. If it can't find a way to get from tests n to n+1 then it'll throw its hands up and ask you to insert a new test in the middle to help it.

3) Rather than trying arbitrary AST mutations or something, each step will be chosen from a vocabulary of transformations that move the solution from specific to generic -- things like "turn this constant into a variable" or "turn this if statement into a while loop" or things like that -- with simpler transformations preferred over more complicated ones (see the Uncle Bob blog post I mentioned).

In addition to making it computationally tractable, my hunch is that constraining the search like this will also make the solutions similar to what a human would write.
Now it's 40% down. Good.
I am glad to see this move, but

> The 13 privately run facilities will not close overnight.

That is, this affects 13 prisons. I'll take it, but not exactly a sweeping reform.
Oh that is golden. "The critics said his writing was clumsy, ungrammatical, repetitive and repetitive." Apparently DB isn't an Oxford comma man?
Webmention implementations usually automatically check that there's an actual link. You can go even further and require not just a link, but a proper microformats2 reply/like/repost.
Does the FHA issue bonds? (Turns out this stuff is nigh impossible to Google.)
I've used up-for-grabs.net to help find open source projects that have open issues to work on.
Well I'm not certain in anyway about the process of selling patents. I'm a computer scientist though and I've consulted enough trusted colleagues to validate that the technology is valuable and works to solve problems real businesses need.

It's kinda like inventing a battery that is twice as efficient, and the same or better in every other way. You can be 100% sure Tesla or Toyota would buy the technology, without even being 3% sure where to start.
I remember reading an answer on Quora by a professional C developer why none of existing newly designed programming languages will ever replace C and to be honest with you, I agree with him.

https://www.quora.com/Which-language-has-the-brightest-futur...
To see if there is interest. I believe HN has a rule that a "Show HN" can't be just a landing page. This is just a landing page without the "Show HN."
Working Remotely as a Digital Nomad While Traveling
> because dead-tree ones supposedly feel better than their electronic counterparts.

I'll be honest, I prefer physical books. The smell, the feel of turning real pages, the fact that I can write all over them, the fact you don't need to charge them. These are things that you can't emulate with an ebook. Are they subjective? Yes. Are there things that are easier with ebooks? Hell yes.

However, I feel that I learn things better when I read from a book than when I read from a screen. I'm not sure why (and I've heard there's been studies on this) but maybe it's got to do with how I grew up learning -- lots of book reading in weird positions on my couch (I like lying upside down with my head on the floor if I'm really into a book).
Android has a few filters: alarms only, priority notifications, calls/messages from specific contacts, etc.

I agree that greater flexibility in creating custom rules would be welcome though.
Wow, that is a tiny tiny pool. It's fine for kids, but seeing competitive swimmers racing across 25 yards is just funny. The doubled-up, yet still tiny lane ropes are also cute.
If only their recruiters were a little more responsive...
To boost its subscription business, The New York Times shutters NYT Now
Agree no paradigms shattered with a driver in the seat from an economic POV. Im not sure safety gains have to be marginal. This thing, scaled over millions of miles, paid uber driver in the seat with a system that chimes to make driver take control could be far safer than distracted uber driver alone dealing with everything driving a taxi and communicating with customers entails.
Dick Fosbury, disruptive innovator: how to change a sport
The linked article is an editorial, the other article the news article. The Economist calls their editorials "leaders," which I agree is confusing. But its standard practice to publish both an editorial and a news/information piece in the same issue.
> I am detached from news

You are..here. You mean you are detached from the BS of your friends? That sounds a lot more reasonable.
My Least Favorite Thing About Swift
> Especially now that new TLDs are being added at a steady clip.

Indeed, there are some differences (https://www.diffchecker.com/tcbbvy7p) with IANA's root domains list: http://www.iana.org/domains/root/db (which only includes TLDs, as the name indicates)
Making the field more accessible allows for more people to get involved and contribute new ideas back to the field, which benefits everyone.
The nice part about the Unix Haters book is that the authors were actually familiar with their subject material :-).
I find it massively useful in practice, even for mundane tasks.

For example, the other day I was trying to search the columns of a very large SQL Server table¹ but also needed information about the column type.

…\dbo.site> ls Columns | select Name, DataType, {$_.Properties['Length'].Value} | where {$_.Name -like '*int*'}

Name DataType $_.Properties['Length'].Value
---- -------- -----------------------------
internal_end datetime 8
internal_start datetime 8
interval_code varchar 5
prod_intv_start int 4
prod_intv_stop int 4
working_int decimal 5

Quick, easy. In a *nix shell that would be very tricky.

¹ SQL Server installs a Powershell extension so that you can essentially treat databases like a fancy object filesystem. It's wicked cool actually.
I don't think the federal minimum wage applies to contractors sitting around waiting for the next job. The revenue while the clock is running is way above minimum wage.
http://pghroads.tumblr.com/post/50986812907/you-knew-this-wo...

Infamous Pgh driving scenario: "Left lanes need to exit right, right lanes need to exit left, here's 300 ft, make it happen"

Also, there are a number of short merge on-ramps that have Stop signs instead of Yield signs where you are required to come to a complete stop before merging onto high speed traffic.
As MLK says, "riot is the language of the unheard". And as you should know, BLM supports neither riots nor police killing. It's explicitly a non-violent protest movement.

If you really cared about limiting police brutality, you'd be spending your time working on police brutality. But instead, you're busily arguing that people should stop talking about white suppression of black Americans. Your refusal to acknowledge black grievances is part of the white supremacist structure that goes back to our country's founding, a structure that riots are a natural reaction against. You are part of the problem.

Whatever you say you care about, I'll believe how you spend your time over your words.
Who is the They here? Seems like the guys that made the platform and the top engineers working for them all got rich off of the idea.
I also wrote a book called the Final Six Days. If you visit his Golden Legacy book page on Amazon you will see my book in the "Others Have Viewed" section. It's mostly due to me checking on his and other novels.

I was planning a Medium article about my (similar) experience. I'm not sure why he'd chose markdown when epub is just structured HTML. If you're a software dev just stick with HTML. Also, to anyone planning a novel: get ready for annoying inconsistencies in display across the various Kindle + iOS + android devices. Fonts not displaying correctly, sizing is off, things not centering, some CSS selectors not being applied at all. It is IE/Netscape circa 1997 all over again.
I've done some Powershell work in my brief time as a Windows sys-admin. I personally struggled with it. The object interaction can be complex and the naming feels less scriptable and more directly out of the C# world.

That being said, I can see the appeal and I know people who love it. I have seen some amazing shit written in it, like this security tool that was just open sourced this year:

https://github.com/adaptivethreat/bloodhound

I have used Mono/GTK# for years on Linux and prefer it over other GTK wrappers. Powershell might be worth a try on Linux, but it will take time to build up the libraries and wrapper needed to interface with most of the Linux subsystems (unless Microsoft as ported a lot of useful stuff in this initial release).

People don't (or shouldn't) use bash/zsh/fish for really complicated stuff anyway. I have a feeling most sys admins/devops people will continue to use Python/Ruby for complicated tasks; and they both have a ton of libraries that help avoid the stdin/out/parsing situation you have with chaining together regular shell scripts.
> “Blockchains are a pain to work with,” wrote Thomas, the chief technology officer of Ripple Labs.

One thing to note is that he works for Ripple Labs, which created another protocol that is similar to Bitcoin/anything blockchain based... so it's pretty much a competitor calling their competition a bust.
I'm curious about Rust but haven't tried it enough yet to form an opinion.
What's more interesting to [non-technical users] is
"When it's fixed, I won't have to do anything to
not be vulnerable."

Then say that instead of making specious safety guarantees.