skysight-inc/HackerNews huggingface dataset:
I'm not sure what part of this you're not getting. They're selling off a small stake of the state-owned oil company to diversify how they make money. They'll use the remaining money + new income from the corporations they'll build/buy to import oil. This isn't a hard concept to follow.
Curious, did you already have US clients and then decided to go overseas, or did you organize all that completely remotely?
Powershell is case-insensitive, so feel free to avoid that shift key if you're so inclined :)
PowerShell is one of Microsoft's better offerings, it runs rings around Batch, thank heaven. However, it has its own quirks. Loads and loads of stuff done implicitly (unwrapping arrays as parameters when constructing an object?) and the .Net integration can be annoyingly flaky. Add in the bizarre syntax, some kind of halfway house between Bash and C#, and you quickly end up writing enough code to hang yourself.

My favourite: defining functions more or less like any other C-inspired language:
function abc([string]$param1, [string]$param2)
{
#do stuff
}

...but if you CALL that like any other C-inspired language:
abc("string1", "string2)

PowerShell mashes the two strings together and ignores the second parameter. Drove me mad when I started out. Incredibly inconsistent.

I like Microsoft's effort here, and the design is a lot better, working with objects, but not on my Devuan box!!
[independent thought not tolerated on hacker news]
We have to call books something else
People like you are the best because it really adds to the enjoyment of great achievements when there are a healthy amount of naysayers to point out. Thank you, naysayer.
When we consider that "life has gotten cheaper" then looking at 2005-2014 is rather counterproductive, since the big changes there were before 2000; at least I was talking more on the scale of 100 years than 10 years which has rather different trends.

Also, the healthcare price increase is mostly by changing the "basket" of what we mean by "healthcare" - if we compare current healthcare with e.g. 1916 or 1966, then it's much more expensive but mostly because healthcare now includes expensive procedures for ailments that simply would not be treated back then other than painkillers to ease the death.
Bayes theorem is quite the versatile hammer...
> Aside... one of the design decisions Microsoft took that absolutely blows my mind is using `\` for file hierarchies instead of `/`

That decision goes back to MS-DOS 2.11, circa 1983. (DOS 1.0 didn't have subdirectories.) The model for DOS directories came from UNIX, which at that time was the very aggressively defended intellectual property of AT&T. As Microsoft was an AT&T licensee -- for Xenix, their version of AT&T System 7 UNIX, which was Microsoft's vision of the future of operating systems when PCs became powerful enough: they licensed it in 1978 and resold it via OEMs -- I speculate that they were afraid that AT&T might sue them for patent or copyright violation relating to the filesystem design if they went with a forward slash.
It's much simpler to just write your novel in Word, generate the HTML, write a small script to scrub out all excess HTML/CSS, then use Calibre to segment into HTML docs by chapter. As far as the HTML for novels is concerned, its very minimal, like a <body> and bunch of <p> tags.

I'm not knocking markdown or anything, I just think it's a peculiar choice for writing a novel.
Think of it as a replacement for vbscript instead, with a commandline.
It's entirely possible this is a recent development, but "ps -o cmd --sort etime" seems to do what you're asking for.
Ah, great catch! I never see that error because that file is only loaded in browsers that don't have a native window.fetch. Thanks for catching that. Will fix right away.
I think this is huge. Private prisons are already illegal in New York and Illinois and a few other states, and the federal government not using them will help other states flip.
It works fine as an interactive shell but that's not exactly high praise. It could be better for that and for scripting but instead tries to be more familiar to bash users. As a bash user, I'm terribly happy about it's syntax either but it's the price to pay for 40 years of backwards compatibility. Powershell has no such excuse.
> Except it was the British Empire that persecuted slavery and brought to an end the slave trade far in advance of other nations.

I think you may not be aware of the graylevels within that statement. It is true that the Slavery Abolition Act 1833 abolished the African slave trade. But you need to know the details to realize why the powers that be allowed that to happen. Also, it is worth mentioning that while the same 1833 act made an explicit exception for territories possessed by the East India company. Further, slavery was replaced by indentured labor. This is why you find large populations of non-African slave descendants in many countries. If you've ever vacationed in Trinidad, you'll notice lots of Asians (Indian, etc) people. They got there because their ancestors were brought as indentured labor to replace African slaves. In many cases, as is still occurring today in places like Qatar/UAE, indentured labor is just a #define for slavery.
That's correct. Most of "self-driving" press out there is just press and not something as you said paradigm shattering!

But Uber need the press more than ever after losing China and having to have a growth story for their large valuation.
ps aggregates /proc info for human viewing. Why grep the formatted output rather than the source data?
That's kind of what some compiler optimizations do isn't it? Look through the abstraction and discard it?
Yes, the actual burning fuel part is just random noise, which doesn't look very very good. I mention it as a possible imrpovement under "Better looking fuel".
Why is there a stop sigh?! Isn't that a usual merge/exit pattern?
I can't speak to Ruby, but Microsoft has an active Python group.[1] Granted, it seems to focus on Visual Studio (which I'm told has excellent Python tooling) and Azure.

[1]: https://blogs.msdn.microsoft.com/pythonengineering/
Quiz: Do You Know the Basics of Cyber Security?
Is Optimizing Your Neural Network a Dark Art?
Bayesian inference is more of a swiss-army knife than a hammer. It is a very versatile concept.

Yet, even if it were a hammer, getting the nail-like characteristics of an unknown object is very valuable. You just have to repeat the procedure for the other tools on your toolset and you'll either get to completely know it, or characterize a hole on your toolset that can now be filled. A big gain, either way.
Boilerplate is one thing—this is what transpilers are for, among other solutions—but can OpenCL match CUDA on a performance level?
As someone who has created templated subclasses with both private and public virtual inheritance, I don't think that's a bad thing. C++ is wildly powerful, but it's a mess, and most people should stick to easily understood idioms/patterns, for the sake of maintenance if nothing else.
Introducing the Qt Lite project – Qt for any platform, any thing, any size
For programming, I agree. However, Python doesn't work as a system shell; for that, you want something optimized for running commands, without having to wrap them in a function call with a list of arguments as strings.
How to build an Alexa skill
That's an interesting observation. In poker, if you have a clear and consistent bias other players will move to exploit that bias.

However, it's worth pointing out that poker is a zero sum game if you choose winning as the measure of success. But many situations are not zero sum. There's the possibility that optimism could increase the pot for everyone. Furthermore, enjoying the process can be a reward in itself. If you enjoy playing poker losing does not necessarily equate to failure.
This problem is fundamentally different with stereo images; there is a hope of reconstructing the exact 3D geometry of the page before flattening, rather than inferring from content. An iPhone app that did this would do well.
>Not sure what you mean by "mere normal people who had 150k to put down for a mortgage" - with median London incomes somewhere around £30k, needing a £150k deposit doesn't sound especially normal-friendly. If you meant total price, yes, now you're talking.

I was being facetious, $750,000 is a totally insane cost for a condo unit, but even that would be far more affordable than what's been going up in San Francisco over the last 10 years.
> Because the market for high end is much more profitable.

Builders will build wherever there is profit, not only where profit is only the highest. Otherwise every watch manufacturer will be building bespoke Phillip Breugets and nobody will build $1 Walmart quartz watches, which obviously isn't the case.

> density is still 2x-4x the cost

Well of course where density is high, construction is more expensive. That's true in San Francisco and true in Houston. It's just that demand and supply in SF justifies more density than in Houston.

> every builder in the nation could continue building high-end-only indefinitely and still never run out of work in our lifetimes

Are you saying that demand for high-end housing is effectively infinite? I haven't seen any evidence for it, but if so, we could sure use the tax revenue to build state of the art public transit systems so suburban commutes wouldn't be so terrible...
Elixir's REPL (iex) makes a surprisingly-good environment for "pip[ing] strongly-typed objects around between your shell commands." It could use a form with added convenience magic, the way Pry is for Ruby, but I've managed to do some decent interactive ops work on systems through an Erlang-remote-shell (remsh) connection to an IEx shell.
Some have PS4s. That's plenty beefy enough. They might even pay for the VR equipment too if it's cheap enough and becomes a multiplayer experience. Think mario party for the wii, but with VR instead.
As do i. 3 year old doesn't nap any more, so he just goes for quiet time at the same time as the 1 year old naps. I give him some books, and 1 toy, and it seems to work for the most part.
The Tragic Transgender Contagion
Imagine trying? Sir/Ma'am, I have done so.

When boxed in-between the fearsome foursome--`bash`, `sed`, `awk`, and `emacs`--every problem involving tabular data (2D) is trivial. Hm, I'll give a shout-out to `sort` and `uniq`, too! When you go 3D, you might need to bring in `join`.

But anyway, you'd use

find ~/bin /usr/bin -mtime 1 -executable -type f -ls

..to provide `ls -la` output for every executable, ordinary files (not directories, which are often +x) modified in the last 24 hours, under the directories /usr/bin or the bin/ under your home directory.

:)
I actually think the basic windows command line that does it, as I was never in the habit of installing PS while on Windows.
Well, that seems unfortunate. The value I see in this application is its explicit asynchronous nature which saves you from the burden of checking (or even thinking about) messages or email. The ability to be unreachable where the other party knows about it. Because right now, it's considered rude if I don't manage to reply quickly enough.
I don't think so - again if we're agreed I have full sovereignty of my body and therefore have the right to control which photons reach my brain. This ought to apply - like all fundamental rights - in all circumstances and contexts.
No, they didn't count. That's the whole point.
I do use this too.
I think this can be explained by the fact that Microsoft has a long history of trying to kill OSS software and alternatives to it's virtual monopoly in the desktop OS market, killing innovation across many technology sectors in the process. Being cross-platform was the opposite of their goals. They specifically created their own version of open technologies and promoted them as the best/only way of doing things on windows - see directx/opengl, and mictrosoft intentionally degrading opengl performance on windows in order to hurt the OSS community.

http://blog.wolfire.com/2010/01/Why-you-should-use-OpenGL-an...
Hi, Kefka.

I'm the author of the book.

Could you please not post links to pirated versions of it on HN?

Thanks,
Matt
That is not quite right. At the end of the day it is all about automation. But we took the position that the way Admins automate is by scripting the things that they do in an interactive shell. Bruce Payette had a great way of saying it - he said that the lifecycle of 99% of scripts starts at the prompt and ends at the carriage return. Then, somethings you want to codify things so you put it into a script. Then as the function becomes more used and more important, you want to make it more and more formal without having to throw everything away and start with a new language.

So YES and interactive shell is important but it is important as a stepping stone to automation.

That is the PowerShell mindset.
Jeffrey Snover [MSFT]
C# incidentally solved many other shortcomings with Java. The languages are getting closer to parity, but for many years C# was pretty far ahead (if you only consider language features and not tooling/ecosystem). Between reified generics, better native interop, and many functional features, C# felt and feels more concise than idiomatic Java. And I've written plenty of both.

Disclaimer: MSFT employee expressing personal views
Human joins Mapbox
I am curious how one accounts for language and logic in this approach?

After all, a logical statement involves something like X iff Y and Z and Q, so the truth of X might varying discontinuously with average truth values of Y, Z and Q.

You may have one population where 50% think Y, Z and Q are truth and 50% don't and another population where 50% think only Y and Z are truth and 50% think only Z and Q are true.
In the first population, 50% think X is true and in the other population 0% think X. But the average truth values of Y, Z and Q would higher in the second population.
Everything You Wanted to Know About Email CTA Buttons
We detached this subthread from https://news.ycombinator.com/item?id=12313389 and marked it off-topic. Baseless accusations of astroturfing are not allowed on HN. If you believe this is happening and you have evidence, please email us hn@ycombinator.com and we will happily investigate.
Alt + F4? X button in the top right corner? I never single clicked on top left corner just to be clear - just used Alt + Space.
The US alone is abusing seizing of domains for a long time now. Latest example will be kickass torrent who never registered .com in US and owner never been to the USA himself (extradition on its way)

Of course third parties who make money helping in the process will fear-monger that giving away the control will most likely have you shut down Google and Facebook by Chinese overnight, or some sort of similar end of the world scenario.

Since the internet belongs to all, naming should be overseen by some sort of a non-profit consortium body that is made off of all or most nationalities. This is a good move!
I'll accept the "damage" to my own key - Realize what you're claiming:

Someone compromised the Bitcoin site > 4 months ago without it being discovered.

Someone continues to compromise the site today even after this public attention, since the same message is still there.

That same entity compromised my browser, curl, my Linux laptop, Windows desktop, Android phone and 3 different networks.

That same entity compromised Archive.org and Reddit 4+ months ago without being discovered.

That same entity created sockpuppet accounts to publicize the fact that this info was compromised and nobody discovered the discrepancy.

I don't believe that even the pre-Snowden NSA had all of those powers. If they did, fake signatures are probably the least of our problems.

It's no longer the original model of Person === Key that requires passport checks and face-to-face meetings. I would consider this better validation, in that it certifies real-world and historical usage.

Here's my alternate proposal: How difficult is it for the same attacker to create a fake passport and show up to a bitcoin meetup claiming to be this person?
I actually did not know that.
I wouldn't think fires are much of an issue, but disruptive, obnoxious and sometimes violent passengers are more common.
Umm.

(1) It's an indoor pool.

(2) The pumps are kept on.
The largest distortion to the housing market in California is Prop 13, and its effect is statewide not just confined to SF. This is a large reason why escaping SF's rules by going to bordering/nearby cities doesn't result in significantly lower housing costs.

More new supply is great, but doubt it would be enough to significantly offset the much larger effect of Prop 13.
50 m freestyle final. Manaudou, defending champion, came second to Ervin (previously gold medalist in the event) by 0.01. Ervin was in a more favorable lane according to the data (in 3 against Manaudou's 4). In such a short distance, the tiniest advantage becomes massive!
> If drivers are still needed 60% of the time, they're going nowhere.

Think about what you're saying here. If manual driving is still required 60% of the time there will still be mass-unemployment of taxi and truck drivers. These guys are not paid well enough that they can afford half the amount of income that they currently have.
I haven't heard a single argument from anyone about how it's even slightly moral or good for anyone other than the private prisons to use them. There is nothing better about them - I hope they all go bankrupt.
Huh? The conclusion was "the worst aspects of UNIX and C were intention design decisions that had nothing to do with what a good, systems language should look like and everything to do with limitations of an EDSAC, PDP-7, & PDP-11."
> the only people I've seen say nice things about powershell are microshit fanboys that don't know any better.

I really like Powershell. If you install RHEL or Fedora I'm the 'mikem' in the default /etc/sudoers file.
Our goal is to be incapable of sustained error. :-)

Jeffrey Snover[MSFT]
Unless your pension fund is absurdly ill-managed and/or corrupt, your exposure will be tiny.
> But the justice system has no interest in justice, in my opinion.

Then fix it. Private prisons are absolutely not the right solution.
HN is terrible on mobile. Their column sizes are just slightly too big for my screen (not adaptive), so I have to scroll to read the last word of every line. And on desktop, it just expands to the whole page width, even through everyone knows you should never have a line of text that's longer than 600px.

Hackers they may be, web developers they are not.
That is a good point to add! With my comment "a competitor calling his competition a bust" I just wanted to make sure people took what he said with a grain of salt. If you hadn't read up on Bitcoin/blockchains/Ripple before it could be easily overlooked.
They still have to work in the rain before gov't allows them on the road though..
Powershell is a horrible abortion, what the hell do people see in it? I mean that on a language level, I cant speak for Windows specific features.
I have once written a simple script to copy a folder recursively to a fileshare, rename some stuff, edit some files. Took me 4-5 hours.
I then did it with julia in 30 minutes and I never did anything in either language before that.
It's insane the kind of weird language crap you have to deal with, the weird options that some functions need and worst of all: That the functions have weird problems, like I dont remember the specifics but I'm pretty sure that the folder copy function had no option to actually recursively copy all of them. I had to work around that. Then I had to work around some more specifics around file/folders.
In a normal language you would just call something like "copyFolder(srcPath, dstPath, recursive: true)" nope.
That's actually not generally true. It seems to me that If the government cares about prison abuse, it's relatively easier to make that a contracting criterion and switch contractors (or ban contractors) than to top-down reform an entire system that is run by the state.

I looked for but haven't seen any statistics, but I've heard of horror stories emanating from non-private state-run prisons just as from private prisons.
VPNs can sometimes help with lag/consistent ping if the VPN provider is on a non-congested (at the ISP) back-haul carrier but the game servers are.
> i don't see them complaining that their iphone/android device updates itself

You can choose not to update in both of these cases.

> people used to be enthusiastic about their computer ...

I'm not upset at those features being available. I am upset about them being added without any input from me and without a chance to stop them from being installed. I have no use for most of what you mention, I don't want them installed, and if they are installed without my consent I want to be able to remove them. I own my computer, not Microsoft.

> the nagging of onedrive can be uninstalled by not using the desktop app

You have to regedit to remove OneDrive from Explorer.

> if they honestly don't like it, they don't have to buy it.

Many people didn't buy it and were upgraded unknowingly. I did buy it, but that doesn't mean I cannot be upset at the current situation.

> for the life of me can't find a reason not to upgrade if the upgrade was offered

That's your choice, and many others. Neither you nor Microsoft should override those choices. If someone does choose to upgrade to 10 that also doesn't mean they must further consent to every other new decision Microsoft makes for Windows.
> achieving very professional results.

Rolled my eyes at this line, took one look at the cover and the typeset, grimaced, and closed the article. Strange what passes for quality these days in publishing.
"Um excuse me, but I really like dogs. However, I don't like you, so I don't want you making movies about dogs. Dogs are my thing. Stay away from the concept of dogs."
What I appreciate about books like this is that they assume the reader is already familiar with programming, and so the book cuts to the chase and explains why this language is unique and how it is different from the languages the reader probably already knows. The author was smart enough to know that very few students of F# will have picked F# as their very first introduction to programming, so this makes a lot of sense. I get frustrated with programming language tutorials that take the opposite approach and expend multiple screenfuls carefully explaining what a variable is.
I haven't had a patent but a while ago I developed a pretty useful software for some industries. I wasn't able to get much traction when I talked potential customers myself. A friend of mine is an experienced sales guy so I asked him to help. He was much better at talking to people and keeping things moving. So my advice would be to partner with somebody who has a proven sales record and let him make some phone calls. It's a very specific skill set a lot of engineers don't have.
If you look beyond the name calling and ad hominems, that entire article can be summarized as "C is popular now, so it will be forever." Which is laughably naive and short-sighted.

Quite possibly the worst defense of C I have ever read in my life. And I like C.

(ps: "professional C developer" doesn't say much. I've worked in embedded systems with C for years, so what? that doesn't make me right. don't be misled by his bloviating and chest thumping; his point is weak.)