skysight-inc/HackerNews huggingface dataset:
> So the theme of the article "mostly functional can't work" is wrong.

You're right. It's not really an issue of "functional" at all. It's worth noting that the author is an incorrigible (yet gentle) troll who likes to poke fun at Haskell and non-Haskell languages alike.
"""But there’s always lots of state to keep track of, rearranging of values, handling special cases, and carefully working out how all the pieces of a system interact."""

I'm not a functional programming evangelist but that reads like a very good reason to go for FP. I think a similar point was made in "Functional JavaScript". I don't remember it exactly and it's on my shelf at home but there was some passage about the biggest downside of typical OOP codebases being the mental effort of keeping track of values and value changes.
Summoners War Sky Arena Hack Tool No Survey
Alibaba Rethinks Its US E-Commerce Strategy, Folds U.S. Holdings into OpenSky
I agree with you - it's a neat idea, though I haven't read the paper yet.

I wonder if it has explicit knowledge that they'll always remove a proper noun. Eventually the daily mail will write some article about a place causing or curing cancer, and the poor thing will break down trying to find X in X causes cancer from that corpus :)

On another note, I wonder if they could train it on Buzzfeed-esque content without changing the headlines. "You won't believe who Jeremy Clarkson punched!" -> the answer
Go code that stutters
From what I hear from afar about Australian politics is that the Australian government can essentially do whatever it wants, unrestricted by minor details like a constitution, citizens or international law.

Surveillance, website blocking ... And not to forget the new definition of "asylum", where refugees are kept against their will in camps, "unfit for human habitation". One former government psychiatrist called it "torture". Including, of course, children.

But the system works reasonably well. I mean, why flee to Australia from political persecution, when Australian refugee camps are worse than most cases of political persecution?
If you really like their blades, you can buy them direct or on Amazon for less. http://zorbadgreek.blogspot.com/2012/09/how-dollar-shave-clu...
Daimler is also doing quite a bit with self driving trucks. I'd guess they have to be a leader in that domain.
Admittedly they weren't really on my radar until the recent news about their tests in Nevada.
You mean a dominant choice for those that don't know better, I guess.

The only place we will get to use it, is if any of our customers ever makes a request for Go knowledge.

Unless they are using Docker, knowing their standard languages I doubt they ever will do it.

I don't see any of their Akka, Fork/Join, TPL, Agents, core.async devs caring about Go.
What about deployment ? How does it compare to "scp and i'm done" like in go ?

Also what about memory usage ? My latest go service was a 4 mo file with one single json config file. It consumed less than 4 mo in RAM, which let me deploy it on a base 500Mo instance with plenty of memory to spare.
Erlang is well-researched, pragmatical language (read the Armstrong Thesis at last) this is why it is "great". User-level runtime, which is trying to do kernel's job is a problem, but relying on message-passing and being mostly-functional it, at least, have no threading/locking problems - so it scales. Nothing much to talk about.

Go is also well-researched language with emphasis on keeping it simple and being good-enough and doing it right way (utf8 vs. other encodings) - a philosophy from Plan 9. Go has in it a lot of fine ideas, attention to details and good-enough minimalism - the basis for success. It is also pragmatic - that is why it is imperative and "simply" static-typed.

Criticism about lack of generics or is not essential, especially considering that generics in a static typed language is an awkward mess. Complexity of its user-space runtime is a problem, of course, but runtime is hard, especially when it is not mostly-functional.

Go is in some sense "back to the basics/essentials" approach, not just in programming but also in running the code, and even this is enough to be successful.

BTW, its syntactic clumsiness and shortcomings (hipsters are blogging about) came from being statically typed, just admit it. On the other side, being C-like and already having C-to-Go translators opens up the road to static-analyzing and other tools.

Go is the product of old-school (Bell labs) minds (like Smalltalk or Lisps) not of bunch of punks.)
My experience with electric razors is that they take forever to actually cut every hair, and if you've got some stragglers, you have to go back and forth 30 times to get them cut. It's a waste of time. Maybe you got a good one, but I've used 3 or 4 different brands, and it is all the same.

I do use an electric trimmer when I don't want a close cut, but I use a safety razor otherwise.
> From what I hear from afar about Australian politics is that the Australian government can essentially do whatever it wants, unrestricted by minor details like a constitution, citizens or international law.

No, all that applies, it's just the current government thinks it can ignore it.
Its funny how advertising influences "brand perception"

Before this thread I might have, stupidly, recommended them just because they had ads I didnt mind watching
- it makes you look younger
On Java's case it was made awful on purpose, to discourage developers from writing native extensions.

The new FFI is on its way, but it might arrive only on Java 10.
Great Concept, Market your startup at 0 cost
Ask HN: Most interesting/contoversial/wow article on HN You've ever read
Hi everyone!
I would like to know, which articles had a great influence on You (they were most insteresting/controversial or just make-You-wow articles You've ever read here)

I'm asking this, because one of yesterday's articles was one of the most interesting/frightening I've read here (it was about "Going undercover as a sex worker" - I've never thought that there such
bestiality in that business)

BTW. I'm not asking for more such articles - to be hones I hope that there will be more optimistic articles that restores my faith in humanity :)
Thanks for the review! Sounds like it might be right up my alley, will give it a shot.
Indeed, the 'liberal' party (which by the way is actually the more conservative one for some reason) has been rather overstepping its mark in terms of legislation lately. I have to say though the Labor guys aren't all that much better.
https://github.com/rakitzis/rc is the official location of byron's rc, and is now actively maintained by Toby Goodwin.

Please don't reinvent the wheel - rc compiles down to a correct nice little binary without a bug I've run into in the while I've been running it (since I've worked with byron). And busybox is nothing to hold up, what it lacks in disk usage it also lacks in correctness.
I've only ever had one TSA agent realize that I didn't have a cartridge razor in my dopp and confiscate my blades. Since that happened (but before I became an enormous beardo), I've brought only the bare minimum blades needed for my trips packed edge on to the x-ray scanner and left the butterfly in my shave kit but opened to show it was empty.

I imagine a safer and less obstreperous way might be to just buy an injector razor for when you travel.
> (which causes significant wear on the motor)

[citation needed]

Copan and many other companies did really well powering down drives.
The DMCA outlaws bypassing copy protection schemes and access controls. It explicitly _exempts_ (ie, does not make illegal) bypassing copy protection for legal reverse engineering activity, including security research.

Read the DMCA. It's surprisingly readable. It does not outlaw reverse engineering.
This is great are they modelling a neural network to detect bull shit ?
The problem with is that we don't live on the valley and are picky about losing features industry got to take from language research.
born-n-raised in Vegas. Moved to ATX in 1992, Honolulu in 2004, and back to ATX in 2011.

That's really all I have to say about it.
We've had some success with auditing containers and saving the results to a DB (for instance, running containers you can easily exec, say, 'dpkg -l'). If a package has a security issue, you know which containers have it, and you kick of your CI/CD to rebuild and redeploy with the fixed package.
Subscribed for a while.

There's not a single word of the name that's accurate.
Great, so we will have a racist and reactionary AI that thinks celebrity gossip and immigrant bashing are the most important things in the world.

For the non-AIs reading this thread, I highly reccomend https://addons.mozilla.org/en-US/firefox/addon/kitten-block/ a plugin that replaces every daily mail link with a random picture from kittens & tea, in case you mistakenly click on a daily mail link.

Snark aside, the paper is really cool though :)
Anecdotally, I've recently come across XSS in search fields and SQL injections in login forms.

One could argue that because of reputation and market share, Matasano gets customers who prioritizes security, making such vulnerabilities less occurring for Matasano customers.

Your points are valid.

Even if secure development practices exists, there's a lot of software in production being run by companies and government agencies with a very poor understanding of these practices. It may also be that these entities have very good security departments, but these departments are very limited in what they can improve internally because of lack in resources or policies.

There's a lot of companies out there who outsource a lot of stuff to people who don't know how to write secure code. Like White Hat (Error138): https://github.com/WhiteHatSecurity/Aviator/blob/e2d03093b94...

There's a lot of different angles to it.
When building a container, I personally look at the docker-alpine [1] image and see if I can just use that. Since it's musl instead of glibc, there are some incompatibilities with things like Oracle JVM, but it's a great runtime container for dynamic languages like Ruby and Python, especially if you need some additional libraries or helper programs.

Love it for quick scripting containers (like netcat) too since it downloads in line 2 seconds.

[1]: https://github.com/gliderlabs/docker-alpine
says pretty much everyone in any desirable city ;)
True, it's not always possible because there are certain constrained cases where the value in a fixed destination register immediately needs to go to a fixed source one, but from my experience a lot of cases have intervening operations that don't need a fixed source/dest, and yet the compiler didn't arrange things so that the results of preceding operations naturally went to the right place as the instruction came up, but instead had to generate a MOV. I suppose it's because there's a certain amount of "working backwards" (alternatively, "looking ahead") that's required, and traditional code generation techniques don't consider this case. A good human programmer would think "I'll need to divide, so I should compute the dividend in eax" or "there's a shift coming up, so the computation leading up to the shift amount should use ecx".

Calling conventions are similar (e.g. eax needs to be the return value), so you see things like this:

mov ecx, [ebp+16]
add ecx, edx
mov eax, ecx ; superfluous move
ret

when this could've been done instead:

mov eax, [ebp+16]
add eax, edx
ret
Joe Armstrong's thesis, for the interested: http://www.erlang.org/download/armstrong_thesis_2003.pdf
Is anyone in Vegas giving odds on the lack of water in the southwest U.S. curtailing any 10 or 20 year plan?
Strange for those that never did Prolog.

I was really into Prolog back in the university days, to the point of being into logic programming competition between universities.

Got to understand Erlang at the first try, when reading about the language or watching web talks.

It pretty much depends from where one is coming from.
Unfortunately this sort of braindead legislation seems to be a global trend. Where will the exit nodes be in 10 years time?
Yeah the situation is pretty bad. Recently the human rights commission released the report about the affects of detention on children. The government not only ignored it but went after the head of the commission and tried to force her to resign.

https://www.humanrights.gov.au/our-work/asylum-seekers-and-r...
"But think of the children"
> User-level runtime, which is trying to do kernel's job is a problem, but being mostly-functional it, at least, have no threading/locking problems - so it scales. Nothing much to talk about.

Spoken as someone who has never really used it. Dismissing it as nothing much to talk about is ridiculous.
In case anybody is interested in the google books chart of the word "mobile":

https://books.google.com/ngrams/graph?content=mobile&year_st...

After the context is set, the most important page appears to be 44. It suggests that the next blessing[1] of unicorns will tackle enormous markets by building products around mobile. Didn't this shift already happen? I couldn't think of many major industries that don't already have mobile-first contenders.

Maybe I'm missing the point of the "tech is outgrowing tech' sentiment?

[1] http://www.answers.com/Q/What_is_a_group_of_unicorns_called
mobile is irrelevant and 'app's are mostly crap. My phone has flappy bird and that's it.
I don't get it. The page mentions what goals ioke is trying to achieve, but then offers no meaningful demonstration whatsoever of the language's compelling features. I'm left with the impression that "it's good because I say so."

I'm really intrigued, but I don't even know what I'm looking at. The language guide didn't help either.
Erlang is "great". There is nothing much to talk about.
I am sorry to hear you won't believe the SHOCKING markov chains used by HACKERS to train artificial intelligence READING ROBOTS. Tell me more about it.
Meh...offshore VPS with Squid3. And that's just the easy way of getting around anything - it astounds me that the government seems to think everyone is as shortsighted as they are.
2015 IT Salary Calculator
Python String.strip Does Not Remove Zero-Width-Space (ZWSP)
That's perfectly fine. What you're looking for is vocational training, not a liberal college education. Non professional college programs are explicitly not vocational training. If they were, they wouldn't require spending nearly half your time on general education requirements (assuming we're talking about the US here). I doubt art history, physics, or psychology has proven much direct use to you in your career.

>In fact, some of the academic stuff like compilers and automata have been useless in real life. That's a failing of academia from my point of view.

Finite state machines and pushdown automata are an incredibly common pattern, and I can't see how you can work as a professional software developer without running into that pattern time and again. Have you never used regular expressions?

Automata (usually taught along with theory of computation) teaches you all kinds of useful real world knowledge, like why you can't parse HTML with regular expressions, and why you can't write a program to tell if another program will eventually halt.
> Surely no politician would be stupid enough to ever think blocking porn is a good idea.

You really really need to read a little more mainstream media (with a sceptical eye obviously). In the UK this has been debated for years now - and when one gets a new internet connection one has to (theoretically) decide whether to opt in or opt out of porn.
Cliff Stoll's enthusiasm warrants REALLY. LOUD.

Cliff seems like a genuinely great guy.
Reading this again make me realize that I'm wrong. Static typing will safeguard you against certain types of bugs that a dynamic language don't. The point I was trying to make was that a static language doesn't necessarily protect you against a certain type of bug, which you may rarely experience in a dynamic language.
The $30 fully featured smartphone is already here. I've been using a Microsoft Lumia 635 ($30 with no contract, $50 unlocked in US) as my main driver for a month. Sure it doesn't take epic photos or play the latest mobile games. But everything you'd expect works surprisingly well. Compare it to a couple of years ago, even a $100 Android phone felt castrated back then.
Why would prices follow Moore's law rather than the laws of supply and demand? If all of a sudden there is an immense supply of drives whose performance and capacity themselves don't follow Moore's law then prices certainly wouldn't either.

If suppliers can deliver hard drives that follow some cube version of Moore's law (temporarily, long term everything seems to S-Curve IMHO), then prices will fall dramatically, even in a time frame less than 5 years.

Are spinnies horse drawn carriages, and Solid States the start of different, new, less mechanically restricted jet age? I think we all know that answer to that question -- maaaybe ;)
I think you could argue that both languages are equally a pain in the ass to interop with C in.

Could you elaborate? I have used cgo a lot and it is very nice compared to other FFIs I have used (Java, Haskell, Python, Ruby).

Things will get a bit more ugly >= 1.5 with a concurrent copying garbage collector. Since e.g. arrays backing Go slices may be moved, you cannot pass 'blocks' of Go memory to C-land anymore by taking the address of the first element.

Edit: or do you mean using a Go package from C?
Exit nodes as we know them now may not exist, but the pressure that is being placed on this technology is going to caused newer better ideas to pop up.

Australians like stealing content. Nature finds a way!
When I said they referred to it as low-level, I wasn't just making shit up. From Stéphane Graber's (LXC lead) blog:

"Instead, LXD is our opportunity to start fresh. We’re keeping LXC as the great low level container manager that it is. And build LXD on top of it, using LXC’s API to do all the low level work. That achieves the best of both worlds, we keep our low level container manager with its API and bindings but skip using its tools and templates, instead replacing those by the new experience that LXD provides."

> A container is simply a file system in a folder that gets booted and works on any underlying Linux filesystem so I am not sure about how conceptually a 'container format' fits there?

Well, then maybe you should read TFA? It's all about the creation of a standard 'container format'.
Changes everything and yet they have a website that displays like crap on my mobile, forcing me to zoom in page sections.
That scares the poop out of me. Our DoD systems are actually on an obsolete operating system that is maintaining "SIPRnet.."

SIPRnet is defined as: "The Secret Internet Protocol Router Network (SIPRNet) is "a system of interconnected computer networks used by the U.S. Department of Defense and the U.S. Department of State to transmit classified information (up to and including information classified SECRET) by packet switching over the TCP/IP protocols in a 'completely secure' environment". It also provides services such as hypertext document access and electronic mail. As such, SIPRNet is the DoD's classified version of the civilian Internet. ..."

https://en.wikipedia.org/wiki/SIPRNet
Can wikipedia survive?
You need a .proto or .capnp file, just like with JSON you realistically need a spec and/or documentation. It just happens to be that with Protobuf and Cap'n Proto, the spec is in part machine-readable.
Steven Pinker’s Mind Games
Windows 10 fails installation if you use an USB3 key for it.

Installation of Linux distributions should be pretty doable since years, imho.
Reforming Regressive Regulation to Boost U.S. Economic Growth
Stack, the Haskell Build Tool
The vast majority of programmers never used or cared about Prolog.
It is certainly oversold. There is a typical discussion that goes

A: I'm a simple Python programmer. Please tell me why I need types.

B: Types let you catch many bugs that would otherwise cause compile time errors or require compile time checks or testing.

A: But I've seen studies that suggest that static typing does not prevent bugs.

B: When I said static typing, I meant dependently typed languages, which can express almost any constraints at compile time, not just the basic constraints expressed by static typing.

A: Great, you've convinced me. What dependently typed languages can I use in my production system.

B: Errrr

As a mathematical theory, a way to think about programming, and a research project for future languages, type theory is very interesting. But it's not otherwise that useful for the practicing programmer.
Since this is presently the top comment, as an Australian, I felt the need to comment.

First thing to understand is that the Australian constitution is more about the formation and rights of the Government and less about personal rights as many Americans come to expect from their own. Australia is very strict about its obligations to its constitution, and issues like the roll-out of a single Goods and Service Tax (the GST) and the Tasmanian Dam Case which both had issues regarding the separation of powers and were heavily debated.

Nothing in the Australian constitution or any foreign treaty Australian is a signature of prevents Australia from passing this law. The Constitution of Australia grants the Federal government power to legislate in this matter. The law was passed with votes in the house from both of the major parties.

To be fair, your mention of Australia's refugee obligations and how it has handles it now and in the past is of no concern to this matter. There is very little reason to discuss that issue (even though it is worthy of being discussed) other than to paint the Australian Government as more villainous than an Australian might fairly say.
I'm a huge Benedict Evans fan, but is this news anymore?
Issue 491435: 	Opt-Out Chrome Hotword Shared Module
Well at least our Attorney General understands the concept of metadata.

Oh, wait.

http://www.smh.com.au/digital-life/digital-life-news/george-...

[Edit: transcribed from about 1:40]

Brandis: "What the security agencies want to be retained is the electronic address of the website, that the web user..."

Interviewer: "So it does tell you the website?"

"Well it tells you the address of the website"

"That's the website, isn't it? It tells you what website you've been to?"

"Well when you visit a website, people browse from one thing to the next, and that browsing history won't be retained, or there won't be any capacity to access that."

"Excuse my confusion here, but if you are retaining the web address, you are retaining the web site, aren't you?"

"Well, the ... every website has an electronic address, right?"

"And that's recorded?"

"When a connection is made between one computer terminal and a web address, that fact, and the time of the connection, and the duration of the connection, is what we mean by 'metadata' in that context."

"But that is telling you where I've been on the web."

"Well it ... it ... it records what electronic web address has been accessed."

"I don't see the difference between that and what websites you've visited?"

"When you go to a website, commonly, you will go from one web page to another, from one link to another in that website. That's not what we're interested in."
Everything has a two consequences, same is the case here. Mobile is a revolution in the world of technology.
The Government is expected to include VPN's used explicitly for evasion of anti-piracy measures in this law. The Government even tried debating the definition of VPN, since that's obviously where a lot of people are headed with this recent change. Not to mention, VPN's are essential for Australian business and the Government can't blanket ban everything since A. its hard to even define what a VPN is, and B. even harder to capture and block that traffic.
My point is, you should be checking for null or None or equivalent, rather than boolean false; once you do, 0 being false is no more or less of a problem than false being false.
Andreesen though! Changes everything!