skysight-inc/HackerNews huggingface dataset:
I am more of a windows guy and I have been trying to automate more things with powershell in the last month and I must say that compared to its equivalent in linux it is an absolute dog's breakfast.

A few examples of the absurd things I found along the way:

It is impossible to update windows remotely with powershell. The only API to windows update is apparently a COM interface that refuses to be called remotely. I found a hack on a forum where I have to create a scheduled task that runs as a local admin user and trigger that task remotely. This is farcical.

The equivalent of ssh is something called powershell remoting. Of course opening that interface is a significant security risk that need to be monitored. However windows events records all failed authentication attempts on powershell remoting as a local connection and therefore does not expose the IP of the attacker. So much for monitoring.

Very few basic functions have been implemented in powershell, half of my powershell script is actually made of traditional batch commands, with all sort of random behaviors (like nslookup makes the script fail), inconsistent API, etc. It feels like using Windows 10 where we are stuck with half of our settings in an old control panel and the other half in a new one, feels sort of half baked. In addition some powershell commands managed to be inferior to their batch equivalent. Setting a registry key is a prime example (and god knows it is a common task), it takes several commands in powershell for something that is done in one command with reg.exe.

Of course there is no way to run a ps1 with admin privileges directly from the windows shell [1]

etc.

[1] winaero has a hack to do that: https://winaero.com/blog/run-as-administrator-context-menu-f... But come on Microsoft, don't you use your own product?
And California (where I live) is still lounging, doing nothing.
To some degree yes. Many members of the Ethereum foundation have made large profits from the price of Ethereum going up. They have also taken a cut from the more scammy ICOs by acting as advisors (brand ambassadors).

Furthermore the Ethereum foundation itself has been spending a lot of its reserves on research grants and other activities that directly benefit the members without providing much benefit to the public at large. Under Swiss law it should be audited regularly however no audit had been published publicly.
I'm not happy with the wording, but if the problem it actually causes the systems to entirely reset and go to post again automatically, spontaneously reboot probably is more accurate than crash, as it implies crash (but the implication may be missed by some). Also, depending on the role of the system, and how often the reboots happen, which is worse of a crash and a spontaneous reboot may be different. A reboot once a day is different than a reboot once every 10 minutes which is different than a continuous reboot prior to completing the boot process.
Be careful, The Last Jedi is definitely part of the "culture wars" effect somebody mentioned elsewhere.

I don't buy it. The Force Awakens is at 88% and culture warriors fought over that one, too. Both films have severe problems from a storytelling perspective, but the problems with The Last Jedi are much deeper, are of the sort more likely to turn off fans of the franchise as well as fans of The Force Awakens. There are plenty of culture-war-neutral analyses of The Last Jedi that absolutely eviscerate the film. For just one example: https://www.youtube.com/watch?v=vw7pcCj0ORk

While I can't speak to the 49% rating, where I'm seeing the major divide is between Star Wars fans who care about world building, character development, and a coherent story (historically important aspects of Star Wars); and fans who are content just to enjoy the emotional ride from one scene to the next while enjoying the nostalgia.

As from the culture wars perspective, it seems hard to deny that The Last Jedi takes an unnecessarily overt stance on the culture war, daring that sort of criticism. TLJ includes: a postmodern deconstruction of Luke Skywalker and the Jedi mythos, a purple-haired female admiral dominating the only talented white male on their side for displays of what they probably imagine to be toxic masculinity, and all the bad guys are white males with overt Nazi references. I mean, seriously, why can't they just make it Star Wars?

Take another Disney movie as a contrast: Moana. Moana is a hero's journey, just like the original Star Wars. Moana is about a girl character, her mentor is her grandmother, the story is set in the South Pacific and features non-European cultures and sources their mythology for the story. The twist at the end might be considered feminist. But nobody but serious cranks are complaining about it, because none of it gets in the way of the story and for the most part actually enhances it. Moana isn't made some kind of wunderkind. There's no artificially forced interaction between an SJW stand-in and a white male stand-in. There's no postmodern deconstruction of the myths or themes. Disney is just doing their usual thing of mining ancient myths and fairy tales and adapting them for entertaining mass consumption by modern audiences.
There's an hypothesis, which conceptually makes sense though not sure how proven it is, about why flu season is Jan/Feb - March/April.

Basically during Fall as the amount of sunlight drops our bodies vitamin D, for which there is clinical evidence that it helps with immunity, drops leaving us more susceptible to infections leading to the overall flu season starting in Jan/Feb time frame. As the sunlight picks up, vitamin D increases and flu season tapers off.
How Much Does Data Cost?
Programming languages don't have the grammatical complexity of languages we use to communicate with each other.
competition != inequality
Stallman was always sensible; it's stories like this that make the people who made fun of him look ridiculous.
The headline is a little misleading. The state is not implementing rules or regulations for net neutrality. It is simply requiring, as a condition of contracting with the state, that ISPs abide by the principles of net neutrality. If an ISP does not have any state contracts, it is free to do whatever it wants under the federal law.

Many jurisdictions attach such conditions to entering into a contract with the jurisdiction, ie paying a living wage, hiring a certain percentage of minorities, etc.
Most breaches happen because someone "did a shitty job".

The truth is, you're doing a shitty job if you don't recognize anonymization for what it is - essentially trying to have a cake and eat it too. In practice, it has specific constraints that must be met, and I'd judge the difficulty of doing a good job here to be similar to rolling out your own crypto. That is, unless you're a good statistician, you're better off not sharing the data (or not having it in the first place) than releasing it "anonymized".
Here's an open source project that records for any webcam as long as it has provides a live stream (the example is a mjpeg.cgi stream from D-Link webcam).
No, you do not. I am from India, and went through YC on a B1/B2 visa.
I have been in this country all of 10 years and I knew about lobbyists, donors, special interests even before coming over. US and lobbying system is famous across the world, even my 75 year old parents know about it and they live in some far flung developing country. I am surprised that Trump had to educate people about this basic stuff.
> The difference is that I think that most people agree that 'Febyooary' and 'Wennsday' are incorrect pronunciations

Those are the most common pronunciations I hear, living in California. The U.S. and U.K. recordings on Wiktionary also omit the first "r" in February, and the "d" in Wednesday (although the UK recording seems like it has an elongated sound that implies the missing "d").
The way that Cruz talks about NN is infuriating to everyone I have talked to in CS or literally anyone I have talked to in DFW. There are a massive amount of tech people in DFW who should be pushing for NN for their business more than there is in Austin and I am suprised nothing has come of it.
Sounds wise to me, where do I sign up? I can take a pay cut for awhile.
And without the CA transplants who (I'm generalizing here) lean left to the point where "libretarian" is not a good descriptor for any government they have a meaningful say in.

Montana might be a western state but as far as most people on the coasts (also generalizing) care or know (is there a difference) if you don't have saltwater coastline or a big city you're a backwards flyover state with nothing much going on.
You're correct. Basically what happens is your body still gets primed for some type of flu and produces antibodies. The predominant circulating strain H3N2 is genetically a bit different than the vaccine strain of H3N2. So even though you don't have exactly the right antibodies, you still have some that can recognize the circulating strain and can start the response a bit earlier than someone with no antibodies.
I wonder how anyone can even install torch:

luarocks install torch

Error: No results matching query were found.

/opt/torch$ ./install.sh

/opt/torch/extra/cutorch/lib/THC/generic/THCTensorMath.cu(393): error: more than one operator "==" matches these operands:
The flu is a little bit more than a slight inconvenience. I've had it before and felt horrible for 3-4 days. I'd gladly pay $30 per year for a 30% lower chance of experiencing that again.
Language is primarily for communication, not correctness or history. We're not talking about a person's name here.

What do you communicate when you say 'Budapesht' rather than 'Budapest' to a bunch of North Americans after your first visit there?

You're showing them their ease of comprehension is less important to you than pedantry or your desire to demonstrate correctness. Easily rude, likely pedantic, at worst pretentious.

Strive to speak in the language of your audience.
Private landowners blocking access to public lands in the American West
The poles have already been built. This would only be relevant if we were considering building new construction that isn’t connected to the grid, or letting existing grid infrastructure fall apart completely. In this analogy, the wires and poles map to the road the car is driving on.
The state of metering and my proposed solution
Apologies for the bad info... Tax credits for USED electric vehicles are only happening in Colorado right now.

I forgot how the math on this worked out exactly. But I saw people getting the Leaf a few months ago for about that amount.
Comedian's Tax Plan for America
I'm wondering if YC will accept a block chain based startup.
> Can the transactions then be rolled back?

No -- well, kinda. This is unintentionally hilarious because, of course, Ethereum has done just that once before. By creating a new network that picked up from just before the "fradulent" activity.

The part that might be confusing to some folks is that in order to operate a truly trustless and decentralized cryptocoin ecosystem, we have no way of distinguishing between "fraudulent transactions" and legitimate ones. They're all legitimate otherwise they'd have been rejected by the network.
This is a very dated point of view. Look at the top 2017 PC games from Metacritic [1]. Almost all of these were designed for a controller because they are console ports. And in terms of hardware support the Xbox controller is the de-facto controller on PC, the drivers ship with Windows and it has a massive install base. Steam controller is a failed gimmick.

[1] http://www.metacritic.com/browse/games/score/metascore/year/...
I don't know if this growing social-wide mistrust is a result of the widening of social income gap, or a result of the accumulation of the various mass-media coverage on the incidents of attack, abuse, betrayal or coning and conspiracy, from the international level and national governmental level all the way through to the level of individuals, which somewhat serve to amplify the real fear and hatred that we hoard in our life.

I don't know if this is something that also is sensed by many other people; or, in the case it is, will this growing trend ever come to wane eventually, or evolve into something that no one could tame, and in the end to a point that fight or even war would become the only vent? -- the latter case happened so many times through the history, from the days of Peloponnesian War in the 400s BC (we know this to be the earliest one only because it was documented in the first history book found in western tradition, besides Herodotus's ), through the myriads of civil wars (including the one happened in America 150 years ago), to as recent as the cold war. The cause for many, if not all, of those bloody conflicts could ultimately be traced down to the mistrust among people.
It sounds like the shift to 28 hours would be voluntary and only last up to two years for those who choose it.
> Well making regular contracts cheaper means lower wages and/or lower fees/taxes on labor. Making full time contracts cheaper means more security and possibly lower unemployment, at the cost of wages (and/or tax income depending on what is lowered).

Indeed, and as we can see, current contract model is negatively impacting employment. Making it stricter won't help.

> Countries with high wages AND high taxes on labor (nordic countries for example) tend to have higher unemployment but that's just natural. As always it's a tradeoff between the needs of employees and employers. That balance can be found in different ways. Sweden doesn't have minimum wages om , for example.

So you're saying that French people are better of unemployed as it is.

And guess where the jobs are moving to? Yep, Germany and Switzerland, which are more competitive.
You're asking for "an actual calculation" to back up a Fermi estimate of the true value of an irrationally-priced good?

Of course there isn't one. It's a Fermi estimate. The main points were that the value is greater than 0 but the use is exceptionally niche. Pick any other Fermi estimate you feel is appropriate for those conditions. It doesn't change my point.
On Testing the Simulation Theory (2017) [pdf]
I may have missed the sarcasm here; but it seems they are saying to stop deployment of existing microcode updates until the fixed microcode update comes out
I have heard of ICO's where they only have a wordpress site and no code or backend at all (other than a bitcoin address). Which means that its impossible because they already turned your btc into fiat.

But in general the answer is no because once they have your bitcoin and cash out to cash who are you going to ask the money from? The person that just disappeared?
“Get Out of Jail Free” Cards in New York
Hyper-concentration of wealth will most certainly prevent new entrants

We have hyper-concentration of wealth now. Yet there are new entrants entering billionaire class every year.

There are plenty of billionaires (and millionaires, etc) who did nothing but enter the world with the correct surname.

And there are plenty who did not have the correct surname at birth.
They have already.
Australia seemed to be first to point out a vaccine mismatch in the 2017 season, which seems to have translated north to our 2017-2018 season.
Counterpoint: here in Hawaii, my friends and coworkers who surf are some of the most frequently bacteria infested people: frequent nose and ear infections, plus occasional staff infections.

These infections are usually confirmed by doctors for the people in their 50s or older, but us younger people are frequently under the weather from what I might now guess is bacterial infections.
Great, but there's like five people in Montana; it's practically a Dakota.

http://www.enchantedlearning.com/usa/states/population.shtml
I've actually applied at least 6 times. Interviewed twice. Rejected every time, yet don't regret it at all.

Both times I was interviewed, I've continued the projects and they are actually both still going strong. Ones being funded by various grants (related to EEG research). The other, which I interviewed for W18, just launched and is already self-sustaining with profits off investing + subscriptions:

https://projectpiglet.com/

The process of interviewing helps to clarify business values, and honestly - I'll be applying again with a clearer vision. The main thing they appear to look for is viable business, future vision, then team. I highly recommend applying.

Finally, and the primary reason I suggest applying is the people you meet! Just from my trip for the interview(s) I met several different teams, some of them I ended up introducing to other people to get them business. Other startups ended up helping me. It's worth the trip.
I kindof doubt it, because I don't think there are any mechanisms to do that.

Since these ICOs are all running on top of some existing coin/blockchain, unless there is a native mechanism for undoing a transaction (I don't believe any mainstream coin/blockchain supports this), the only option would be a hard fork.

Side note: You'd also be impacting other transactions which have occurred after the transaction that you want to roll back. Considering how blocks incorporate the identity of previous blocks, all of the block-minters would have to participate in the roll back.

By the way, how would you verify that ICO tokens were actually stolen? In the modern world, that is normally done using a police report, but not everyone in the world is going to trust that.

And even with a police report, if the police are unable to get the stolen good back, then you're stuck. That's why people commonly take out insurance on their possessions, and why (in the United States) most cash deposits are insured by the NCUA or the FDIC (up to certain limits).
Surprised that there's not a single mention of Accessibility as part of Front end developer road map.
Agreed, I keep hearing it's difficult yet user om2 on the webkit team says they were able to come up with multiple attacks internally in the webkit team once they'd heard about the trick [1].

Safari/webkit have since rolled out mitigations to prevent the attacks that they figured out but it puts the lie to the idea that Spectre is only a theoretical attack that we've yet to see an exploit for.

[1] https://news.ycombinator.com/item?id=16104831
Curse my poor geography recollection! Thanks.
> A lot of this discussion glosses over the fact that U2F really makes this a viable system.

This. Really, BeyondCorp is only amazing insofar as it takes full advantage of U2F. U2F is the real (and lasting) innovation we're looking at here.
It makes an absurdist kind of sense if you consider that chemical and biological weapons have limited usefulness on the battlefield, and are difficult to use as weapons of mass destruction. This in contrast with an H-bomb, which will reliably destroy a whole city in an instant. Nukes are the weapons that could actually end the world as we know it, and kill hundreds of millions of humans, if not billions, if they were unleashed. Even VX can't come close to that.
Uber 'Ignored' Bug That Grants Hackers Access to User Accounts
I'd love to see the foundational layer of PyTorch integrated into Numpy, so that e.g. Numpy matrix-multiplications can be performed on the GPU without rewriting (much) code.
Show HN: News for Software Engineers
I've started a blog for software engineers. The goal is to curate the best software development articles/posts from everywhere and to summarize and include relevant quotes.

Note: You will see many links from HN but I'm working to expand sources.
It just so happens that over 44 years people have learned how to write excellent performing code for this environment. And Bash is very old at this point, so very care-taken.

I mean, I agree with most of the above-poster's complains about *nix. I think it's terrible. But it has the huge advantage of being there, of being reliably what it is, of having a rather well understood set of facilities, and having an immense history of use.

Because of IBM and Microsoft's misteps in the 80s and early 90s -- with OS/2 and NT respectively -- we don't have a dominant workstation or server operating system that isn't Unix. Sad, but pragmatic fact.
Request signing can be easily implemented in JavaScript for API requests with WebCrypto but it's not clear to me in what threat model it would be beneficial because even if they keys are not exportable users don't generally see what actions did they authorize and as such they don't know what did they exactly sign.
pretty easy to get started on their homepage:
http://pytorch.org/

for example, python 2.7/ pip/ osx/

pip install http://download.pytorch.org/whl/torch-0.3.0.post4-cp27-none-...
pip install torchvision
Nice thank you! That seems reasonable :)
As a counter anecdote, I got the flu shot and still ended up out of commission for 4 working days + a weekend of recovery.

Still get your flu shot as it helps prevent spread and probably saved me a trip to the hospital. But don't expect to be immune.
Sure, I'm not disputing that flu vaccines suck compared to vaccines for other things. I'm just disputing that "irresponsibility" is a poor argument against those who decide not to get one, given that the flu vaccines suck, and given the greatest magnitude intervention for an at-risk person ought to be getting the vaccine themselves no? (If you wanted to make a stronger argument for irresponsibility, I think you'd need to provide some actual numbers. Raising or lowering the likelihood doesn't mean much without knowing the magnitude and what the base rates are. After that one could attempt to translate it into a measure of irresponsibility, but that's probably where most of the less productive arguments would happen, including what-about comparisons to other choices that may or may not have much greater impact magnitude like not coming to work while feeling sick, so there's still not much point to the exercise.)
I am in the land of the shonky tradesman - Australia. Not only are they massively overpaid, they make the UK tradesmen look like gods.
Flicks – A unit of time defined in C++
My understanding was that while there's more money being made in Apps, it's getting more and more concentrated into less and less apps and larger and larger companies, so that the overwhelming majority of apps released nowadays make very little money.

Especially for independent developers I've heard there are much better opportunities on other platforms, for the most part. For others here that are still in iOS app development or know people still in it, is that the case? I've been out of it for a few years, so I'm not really sure.
Programming is automation though. Scripting is a (loosely defined) form of programming. I'm really not sure what the distinction is. You could just as easily say bash "is really about automation", because it would also be true. Water is wet, etc.

PowerShell is useful on Windows because it does something that could not be done easily or at all before, that being automation without using GUI's. It does this by providing hooks into the Windows infrastructure to change settings and perform tasks without fragile registry edits and GUI manipulation. But UNIX systems have no need for this by virtue of it's command-line first design. If MS was still using DOS and ini files the situation would be similar.

So what does PowerShell really offer in UNIX land? Configuring and automating nix systems is drastically different than doing the same on Windows systems, so having a common scripting language probably does not help much.

I guess a better question would be what does PowerShell offer in the way of "automation" that is so much superior to bash and *nix command line programs.
This is all true, but sadly not going to work is only an option for the more privileged in the USA.

A waiter paid minimum wage + tips struggling to pay for cost of living/child care/debt/medical expenses/etc is likely to go to work anyway, putting the health of potentially hundreds of people at risk.

EDIT: 1 hour later, currently sitting at -1 - if you disagree so much that you feel the need to downvote, please explain why - I am genuinely curious!