skysight-inc/HackerNews huggingface dataset:
I think PS is miles above CMD but there are still things that bug me. For one, loading scripts into the current session is super confusing to me. Sometimes they are automatically available, other times I have to load them, still others aren't available at all. I'm guessing there is some way to "install" scripts so that they become cmdlets but I don't know what it is.

Another big problem I've had is backgrounding commands. There are multiple ways to do it and I always seem to pick the wrong one. For example, I want to install a bunch of things with Chocolate so I do a lot of Start-Process commands, but they seem to run serially and not in parallel. It's just very difficult to manage jobs in PS, or at least I haven't found any good information on how to do it properly.
Weeell, Unix commands also live in their own world, with their own commandset, where everything expects structured data — only the data are streams of bytes.

The problem is at the interface between these two modes of operation (and it'd be just as bad with a third mode, e.g. S-expressions or something else).

Honestly, it'd probably better for PowerShell to only deal with PowerShell commands, and Unix commands to only deal with Unix commands, with a well-defined interface between these two very different ecosystems.
Copyright creates enormous wealth. You can't have markets if you can't have transactions, and you can't have transactions in software if you don't have copyright protection. You're limited to this impoverished world where the software creator has to lock it behind a services API in order to monetize it. The world benefits enormously from just being able to sell software, movies, etc. as you would a physical product.

A world without copyright is not one in which studios still make the AAA movies people want and just distribute them into the public domain. It's one where you can only watch movies in theaters, or stream them onto locked down devices like Apple TVs instead of general purpose computers.
I kinda feel people make too much of private prisons and far too little of the heinous things that have been done in their names by government-run and managed prisons. For any one truly interested in questioning the whole idea of putting some people that some other people deem a menace into (super expensive) cages, I recommend reading "Are Prisons Obsolete?" http://www.feministes-radicales.org/wp-content/uploads/2010/...
Show HN: Replify – Create a REPL for any command
Are other commands also different from shell to shell? It seems like an interesting point, if true.
Rightfully so. Gawker was one the most obnoxious "news organisation" out there. But what is more shocking to me is how other news org are still defending Gawker, under the excuse of "free speech". I mean, one would think that the last thing all these prominent orgs would want is to be associated with Gawker in anyway, but no, they actually defended that rag and its owners.
Anybody stupid enough to make a joke like that under oath in a court room deserves to be fired.

Any company stupid enough hire a person like that and place them in a position of authority deserves bankruptcy.
Sounds nice, but maybe some evidence would be good?
It takes them a while to actually admit they are wrong. Also, if you decide to work for Microsoft don't be surprised if you're treated as someone who works for Microsoft and helps them push their agenda.
I think it's a great bit of campy cinema. It's like Wet Hot American Summer with ravers and 90s cyberculture. It's a lot better today than it was when it was made. Instead of lame it feels charmingly funny and nostalgic.
I think you're right that the propensity of non-technical organizations to try and hire unqualified people at below market rates leads to a particular problem in web development.

But I think people programming other types of software have structure that comes from elsewhere. For example, if you write plain Android or iOS apps, in may ways there's a kind of standard app architecture that's just used and taken for granted. Sure, it can be muddled, but only so much for the most part. And the same is largely true for desktop applications, too, when they're built with IDEs that impose structure or even things like Unity.

The thing that's extra weird about this is that most web apps have to reinvent the wheel in ways that desktop software doesn't.
Works surprisingly well on iOS actually! Not as good as desktop but the effect is impressive
Content Security Policy to secure your website (and more)
still entertaining. :0
Is it a racket for the DMV to charge you fees for title and registration?
most people i know just let their voicemail box fill up so nobody can leave new messages. i think it's a technology on its last legs, unless someone can save it with a great new UI.

anyone who knows you will text you.
Maybe I missed it, but it would be good to display the player's current score.
Quickly checking I don't find a definitive source, but I am under the impression that a cell phone with no service plan can still call 911 (as long as a tower is in range).

You can also look at cheaper cell phone plans. Some of the prepaid ones are ~$40 a year if you don't care about using it much. You could just turn off the ringer.
I would say that more likely that is just a separate computer running windows for research/programming/design/cat videos/etc
To be fair one of the first comments on the issue is some guy from Microsoft saying:

"We can't make this change without an RFC. Oh, by the way, the community cannot create an RFC."

If I was actually interested in using powershell on Linux I too would be a little upset they Microsoft is so unwilling to work with the community.
> "under oath"

Arbitrary thing you are told to believe in.

Not telling people you were gay was a "pretty good guide to life" 20 years ago.

You are right, but that doesn't mean you should disrespect people who break societies rules just for that.

If you believe in the 'oath' it's different, but I feel like you should say that.
ls|? LastWriteTime -lt (date).AddDays(-2)|rm
> Long hours: "It's 5 o'clock and I should be done with work, but I just need to finish this problem, just one more try," you tell yourself. But being tired it actually takes you another three hours to solve. The next day you go to work tired and unfocused.

> Shorter hours: "It's 5 o'clock and I wish I had this fixed, but I guess I'll try tomorrow morning." The next morning, refreshed, you solve the problem in 10 minutes.

I have too much experience with this. I remember when I was self-employed I humble-brag tweeted about my production deployment ~15 minutes after starting work. A friend of mine asked why I hadn't just deployed last night and the quote above was my first thought (in addition to the fact that you should never deploy to prod then go to bed). I was done with work, so I stopped. It avoids hitting that "grind it out" phase where you're lucky just not to do more harm than good.
I think there is actually a major conflict of interest going on. If you look, many of the news organizations that are decrying the Gawker verdict either have current or past ties to Gawker or have close family/friends that do.
Fun. Quite tricky when it comes to remembering where each of the Guineas (Equatorial Guinea, Guinea-Bissau, Papua New Guinea) is.

One issue: the cursor seemed to be inaccurate for me most of the time, even when I knew exactly where the location was. For me, the click registered at the top of the crosshairs (instead of the middle). Further, I might change the cursor to be a map pin, and use the pin's point as the accepted answer.
>Gawker fucked up a lot. But our media landscape is worse off without it.

I disagree that we're clearly worse off. For a good explanation on why, this is a pretty good read:

https://www.amazon.com/Trust-Me-Lying-Confessions-Manipulato...

The thesis, for those less interested in buying the book, is that when we embraced blogs like Gawker and Buzzfeed as a source of news content, the quality of our news decreased drastically.

You went from sort of the New York Times subscription-based model, where people are subscribed already and your journalists can focus on the quality of your content, back to the days of "EXTRA! Read all about it," where everyone is just trying to be heard over the thousands of other available blogs.

So our headlines became clickbait, content became lies, and because it's so pervasive, there is little to no accountability.

The hogan case is important because it adds accountability.
Why would you have a first amendment right to dial my private phone line?
Not all speech is protected. Also in this case they aren't really stopping any specific speech but rather a method that is widely regarded as harassment
Thanks for the reply. https link is still down for me. I can confirm http alternative is working.
Zeit Now – Deploy a Node.js project to the cloud in one command
> If you tell people running existing code that they need to pass a new parameter

So, make it an old parameter by having this from the beginning in your language.

Once the parameter is several years old, it's no longer a new parameter.

Users can use it proactively, before something breaks. It can be a recommended practice for deploying code.

> This is no better than just telling them to update their scripts to call "Invoke-WebRequest" instead of "curl".

It is substantially better than asking people to change source code.

Users can still change their scripts to call Invoke-WebRequests (and should!); just in the short term, they just adjust some version mechanism.

> That's why Chrome ships with its own copy of Windows, right?

Windows has versioning mechanisms in some of its API's, by which it can tell that a program is calling it that was compiled for an old version.

Speaking of browsers, web pages declare what version of HTML they are in with <!DOCTYPE ...>. If your page begins with <html>, you can't expect it to render the same way everywhere.

Deploying applications in containers with copies of operating systems is not unheard of these days.

> So basically no expectation of backwards compatibility?

Backward compatibility is the normal modus operandi. This type of mechanism is just for "oh shit" situations: there is no way we can fix this thing while remaining backward compatible. Any newly introduced use of the version emulation is treated with great regret.
Based on the type of companies participating with FCC (e.g. Google and Apple), my guess is that the technology will be a blacklist/whitelist "trust/reputation" database similar to web certificates. With such a database in place, smartphones like iPhone/Android will have updated software that can optionally screen the call's caller-id reputation. (Analogous to a web browser url bar have a "padlock" or blocking https pages from loading at all with bad certificates.)

(If the above implementation is accurate, it means blocking robocalls will be feasible on smartphones but not legacy analog land line phones.)

It wouldn't be a First Amendment issue because the owners of the phones can opt into blocking robotelemarketing callers. Same concept as AdBlock or putting "127.0.0.1 ads.doubleclick.net" in your HOSTS.

If modifying your HOSTS file or adding a email routing rule is GMail/MSOutlook to redirect mail to a trash folder is violating someone elses First Amendment rights, it's not an argument I've ever seen presented.
> What annoys me about this is that the extra payment does not appear to have been decided based on losses, but more punitive

How are you going to deter fraud if the only penalty is a reimbursement of the stolen money? That incentivizes everyone to commit fraud because the penalty would be to go back to status quo ante. You'd be a sucker not to commit fraud.
That essay could start off better. Assigning your side blue and the opposing side red and then immediately showing that red==bad, blue==good feels kind of hostile to opposing views.
I was expecting the list of sources at the bottom of the article to be a mile long. Not a single one. Hot damn, so much broscience and red herrings.
You sure can! Except you will likely have to roll your own, rather than the plug-and-play modules that seem to be released for R first (used to be MATLAB, but R seems to be the pretty new girl in class, getting all the attention).
> There is going to be 40 others that pop up in its place and you can bet that they'll be more prepared to withstand justice shopping efforts.

What does that mean "justice shopping" ? are you implying that Hulk Hogan lawsuit was frivolous or he somehow bought judges with Thiel's money ? can you be more specific ?
In general - no it isn't.

Shooting someone who is retreating is illegal and doesn't fall under "Stand Your Ground" laws. If someone is retreating - unless they are shooting blindly behind themselves - you are no longer in a life-threatening situation.

Use of deadly force is only authorized in life-threatening situations or when you reasonably believe your life is in danger. Even then, it may be deemed your situation wasn't life threatening or believed to be life threatening. I believe "threat to others" is included in there for certain situations. Eg. police shooting a known armed suspect who is attempting to flee and may be a danger to others.

Obviously, this may vary slightly from state to state. Some states don't have castle doctrine, IIRC, and others are more strict with what falls under "Stand Your Ground" laws.
My bad, Top of the stack is in regard to performance.Stack ranking is present in every company even though it is not said so.I thought it is a generic term for perfornance comparison.
I seriously don't think the 4 hours per day study is relevant for my line of work or a typical Manager's work.I work on multiple work items a day in that only two or three requires high concentration like debugging or writing code and rest is simply time consuming like reviewing others work,meetings,writing documentations etc.That needs time
The references section in the github repository is short but very good: https://github.com/mkeeter/ao/blob/master/doc/references.md
Someone has probably already written some JS that plays the game automatically.

The way I'd do it is 1) track the current turn, 2) look up the city's coordinates using a reverse geocoder like OSM's Nominatim[1], and 3) draw a marker at the location using Leaflet.

[1]: http://wiki.openstreetmap.org/wiki/Nominatim
The TCPA already forbids robocalls to mobile numbers without prior express written consent[1]. This is merely about enforcement. First amendment arguments would be a bit late to the game at this stage.

I actually saved a bunch of my junk calls and went looking for a lawyer. Those things are worth up to $1500 a piece so I was hoping to make some fast money. I was unable to find a lawyer who even knew what I was talking about. Referrals are welcome, thanks.

[1]https://www.wsgr.com/publications/PDFSearch/wsgralert-prior-...
Why was CRLF/LF/CF to make developers life miserable
Why were so many End of line formats created for different operating system. Couldn't it have been simpler to adapt to a predetermined standard to at least end the line in same fashion.
Finally. Been waiting for anti-spam tech to be applied to incoming phone calls.

Seems harder to do in practice than email. Can't scan content of messages. Harder to have end users involved in the training.
We've been told we need to change our personal behaviour to avoid climate change for years now but that clearly hasn't worked.

It's time we moved on from trying to shame individuals to making some concrete policy decisions such as taxing carbon.
We log every request by simply shipping JSON to a hosted elasticsearch cluster, which comes with Kibana to search and visualize all requests. We can log whatever we want, make a graph of whatever we want, and find whatever we want. We have full control yet don't worry about managing anything. We just use it when debugging errors, and to alert us of errors.
>If you're learning a framework, you have the entire community - which has probably written blog posts, asked and answered StackOverflow questions, and likely has some members who can answer your question at odd hours.

You're assuming that learning the framework will make understanding actual workload code completely effortless. In non-trivial applications this is never the case. You still have to understand... stuff like this, for example:

http://mikehadlow.blogspot.com/2010/04/custom-aspnet-mvc-mod...

When someone writes code from scratch the quality of the code depends on their ability. When someone uses a framework the quality of the code depends on their ability, the quality of the framework and fitness of the framework for a particular problem.

If the developer is not very experienced but sufficiently disciplined, and the framework is well-designed and fits the chosen task well, than yes, you end up with better code. If any of those conditions fail, the code is usually just as bad or worse than vanilla.
If a law said they were only legally allowed to charge for the cost of supplying the paper/ink and labor involved yet they charged a flat fee that in the aggregate that was magnitudes larger than what it cost...yes. That's the analogous scenario here.

edit: and now I'm confused b/c you're an appellate lawyer...

edit2: btw, there's a reasonable scenario where free is the most they could legally charge, in case you were focusing on the fact that a fee is charged at all
> Unless they spend most of their code fighting the framework to accomplish their actual task. Which happens rather often

I think this is just confirmation bias - you won't notice all the times you are not fighting the framework, but you do when you are.

> Not to mention that learning a new framework is not fundamentally different from learning some person's approach to doing things

Only if "some person" is real fastidious with documentation, StackOverflow answers and tutorials. You aonly have to learn Laravel[1], but catching up with Greg/Peter/Jane/Paula's framework at every new job will get old fast.

> Remember Struts, anyone? PHP Nuke? Would you rather maintain something that used either of those over something that was written in vanilla Java/PHP?

Those projects were fantastic for their time. Let me put it this way - I would rather maintain something that used those projects and not some custom solution written by a nameless developer in the same era. At least PHP Nuke had (I'm hoping) a clear migration path to PHP v4 and v5 and you won't have to do it manually.

1. Or any other framework
Never heard of or thought of that. As an executor of several family members Estates and also friends to others it's very often parents give children money for down payments. Almost always, the assistance in getting the house is subtracted from the disbursement of assets (when they die ) I also don't see why someone can simply change their mind "oh yes, you do need to pay me back" after the documents are already been signed and the house bought.
Depends what main customers you are thinking off. For this product in particular, it seems these users might be potential customers of powershell. Each product has it's own main customers.
The difference being that this time there are real applications to deep learning.
What Would Alexa Do? – Tim O'Reilly
In my experience using the technique in a language implementation, it is a breeze and the interface to the user is unobtrusive.

I imagine they don't know about the technique.

Engineers who know about rejected alternatives tend to mention them, to avoid the embarrassment of someone else doing it for them.
> Is it worthwhile?

Perhaps more compelling-- connect with senior executives in roles & companies that you can help. Imagine connecting with CTO/CIO's, VP's of Engineering in your space.
I wonder if you could make a fourth amendment claim as well. It can hardly be said you can be secure in your effects if your effects are working against you.
Don't use naked pointers in C++
I agree with him that the ~$25 Lattice Mach FPGA breakout boards are outstanding (but these days MachXO3 versions are available). They have an on-board FTDI FT2232 chip which provides JTAG programming of the FPGA, plus very key, an extra UART. With just one cable you power the FPGA, configure it and then talk to your design through the UART.

They are the FPGA version of ST's Nucleo boards (which have built in "ST-LINK" for programming and debugging plus extra UART).
I've been with TMobile since VoiceStream Wireless PCS.

Not a single robot call, ever. Honestly I don't even think I've gotten a telemarketer or salesperson either.
Where else can you get a reply from the Hacker that wrote the Hackers Manifesto.
> In the last few years or so, it seems there's been a steady push by journalists and media corporations to see how much they can get away with, ethics or newsworthiness be damned.

C.f. also 'journalist shield' laws which give journalists special privilege not to testify that citizens in general do not have. As a matter of principle, I think that anyone should have the right to refuse to provide evidence to prosecute a case (I am okay with the idea of the defense being able to compel testimony); allowing some people to have such privilege but denying it to others sets a very bad precedent, akin to the old 'benefit of clergy.'
It's pretty controversial, but where I work, we have two questions we're looking to answer:

1. Can this person do things with software?

2. Do we want to work with this person?

We screen for 1 in a short tech screen. We screen for 1&2 by having onsite pairing sessions, typically a day.

Mysteriously, having people work on real work with real potential co-workers in the way we actually work is a really good indicator of whether people can work on real work with real potential co-workers in the way we actually work.
This has happened way more times than I can count. Spending hours staring at a line of code, up all night. Wake up next morning, and it's a simple spelling mistake I've missed. Grinding out work has never been productive. Mistakes happen when you're tired. This applies to study cramming as well, and it's completely pointless. Study as much as you can, until your NORMAL bed time, then stop and get a full nights rest before the test.

Side note, it's no wonder these big games come riddled with bugs these days. Pushing developers to the extreme during crunch time, just to meet a deadline. There is NO WAY they are doing everything correctly.
A Danish Wind Turbine Maker Harnesses Data in a Push to Stay Ahead
Canadian Comedian Fined $42,000 for Telling a Joke
I get between 1 and 10 robocalls per day. I finally got fed up, I added my number to donotcall.gov and I am not documenting each call and filing complaints with FCC for each. My wife is getting particularly sinister calls. She was getting calls several times a week telling her to call a number as she was being sued by the IRS. Even though I know this is completely bullshit, actually receiving the call is unnerving and I could see the less savvy phone users as being scared into being fooled. I wonder how some people sleep...
$5-$10/mo from http://favoriteof.com - It has been passive for almost 2 years now.
Squashing a Schrödinbug with Strong Typing
Shift+Del and Ctrl+Insert are still there, even though Ctrl+X and Ctrl+V have been the "official" keybindings for two decades now.
That used to work for me. Recently, however, I've been getting the calls from different numbers every time. The new pattern seems to be to grab a number for a few days, use it, dump, and repeat. Looking at the 800notes for the last several I've received, all of the comments are less than a few days older than the call I received.