skysight-inc/HackerNews huggingface dataset:
> Java's lambdas don't support mutation of captured variables

I've never used Java 8 lambdas but that sounds the same as Java's inner classes which I'm now guessing lambdas are syntactic sugar for. I remember the common trick with inner classes to enable mutation was to declare and initialize a size 1 array of the required type instead of the type itself, and refer to, say, myvar[0] instead of myvar inside the class. I'm guessing this would then work with Java 8 lambdas also.

> Java's lambdas aren't real closures, though. Are Groovy's?

I last used Groovy at version 1.8 so don't remember for sure but think they did allow mutation. Groovy's closures also have the delegate lookup flag to enable dynamic scoping of names within closure code passed around and executed later, which I don't imagine lambdas have. Such a trick is done with macros in lisps like Clojure.
I imagine there are people in US government whose solely job is making up terms like this. "Freedom", "Terrorism" are both deep inside people's mind, putting them together sends a powerful message, even though it's a total bullshit when you stop for a second to think of it.
The Greeks might have a problem with corruption, but they are not stupid. They will find a way through this mess, but I suspect it won't be pretty.
Honestly? Yes. Already some way to artificially boost the immune system would be a good thing, and in a world with advanced nano/biotech available this seems like a no-brainer. We need some sort of blanket protection not only from potential attackers, but from much more likely accidents.
Just having the ability to perform such optimizations requires an architecture that is sure to have some overhead no matter which optimizations, if any, are actually executed.
Federal Government Suffers Massive Hacking Attack
Revenue on physical products is dramatically different to profit.

Given that growth rate and the need to invest in new facilities and production facilities (ie, robots) it wouldn't surprise me to find the OP is running at break-even.
Hiccup – A subset of Clojure used for generating HTML
They seem tolerated in some body building competitions. If you can call that a sport.
High Resolution aerial photos of Mars
Your comment is sneering and dismissive without any substance. Why is Maven bad instead of good, and what experiences do you have that lead you to that opinion?
Perhaps they need a solution inspired by the Brazilian Real. Pay government salaries and pensions in a different currency, called the 'faux' or something. The value won't change, but how many Euros you can get for 1 faux would depend on supply/demand.
I think he meant he hopes to eventually get some money out of them for stealing his design, and that just one-twelfth of their recent sale price would be satisfactory.
Not that I am a mathematician, but I am pretty sure that you can't actually calculate how many 40+ people there are just from these values since you can't assume the distribution is normal.
New Blockchain development (Black Lantern) could stop next Snowden
What I do not get about these repositories is, why they have no namespacing or a built in democratic mechanism to transfer ownership. Because this does not exist, two related problems occur: Outdated packages squatting their own name and otherwise worse packages squatting a generic name.

The adoption problems Python 3 still has at this point, could be mitigated entirely if package owners could lose the name for outdated packages and it would be transferred to a Python 3 fork. npm has this problem on an even larger scale. The Python community can at least slowly move away from PIL and use Pillow instead, because the libraries are reasonably big. This is much harder to do with all of npms tiny packages. I doubt that the best solution always wins, because the best name is just an enormous advantage.

If names would be democratically assigned, we would get some kind of extended standard library. Newbies that want the best library for their problem that works with the current version of the language would not have to search for Beautifulsoup, voluptuous or requests, but could just use xml, validation and http.

Of course, this is a hard problem and you have to be careful. We do not want Java, we do not want broken dependencies. So my ideas a solution could be based on are these (example is for pip, but applies to others as well):

# No fork exists
pip install flask

>Downloading/unpacking mitshuko.flask
>…

# A fork exists
pip install flask

>Multiple users have created a package named "flask". Please specify the owner
>of the package or use "--most-popular" to install the one with the most
>installations in the last 3 months.
>
>*****************************************************************************
>Attention: pip does not check if the package actually does the same thing, be
>sure to check that before you switch to a package from another author.
>*****************************************************************************
>
>mitsuhiko.flask (10000 installations)
>forker.flask (3 installations)

pip install --most-popular flask

>Downloading/unpacking mitsuhiko.flask
>…

pip install -U flask

# On upgrade, this message is only shown, when the used package is
# already at the current version, has not been updated for a long time
# and a more popular option exists.

>You have installed the current version of mitsuhiko.flask, however
>mitsuhiko.flask has not been updated since 7 months and there is a more
>popular package available of the same name from another author.
>
>*****************************************************************************
>Attention: pip does not check if the package actually does the same thing, be
>sure to check that before you switch to a package from another author.
>*****************************************************************************
>
>forker.flask (5000 installations)
>mitsuhiko.flask (4000 installations)

pip install -U forker.flask

>Downloading/unpacking mitshuko.flask
>…
Actually two; the guys did a sarin attack twice. But I'm not worried about chemical weapons; they're not that dangerous. What worries me is biological attacks, which differ by having a self-replicating component that can amplify even the tiniest exposure to an international emergency.
I'm not sure if SML can catch up with OCaml's nice tooling (opam, merlin, Core, etc...), even if it feels a bit cleaner language to me. A Shame, but merits of a programming language are not proportional to its success.

Edit. Oh, and here's a previous discussion: https://news.ycombinator.com/item?id=2433860
Hmm... slightly odd document with some odd misconceptions.

among others...
"If a pin is connected to a "pull-up" resistor and used to signal a logic level, then it will be represented in Linux as a "GPIO"
Err, no... pull-ups (or downs for that matter) are entirely coincidental with a line being used for GPIO. pull-ups are also used on non-GPIO lines.
I'm the author of the above pull request (as well as other pieces of where clauses), unfortunately there are some internals that need refactoring before we can complete equality constraints, and they weren't the highest priority before 1.0 especially since you can encode a trait that acts in the same way. I'm starting at Mozilla for the summer next week and hope to fix a couple of the outstanding issues around them and associated types.
Power beamed to camera via ambient wi-fi signals
And then there was Java. Remember that first gold rush of derivative Java related product names?
Alex Miller's Statement on Curtis Yarvin and Strange Loop
I just started looking at Standard ML so I could understand the examples in Purely Functional Data Structures. There's something very pleasing in the simplicity of its syntax.

Anybody have experience in applying it to larger problems?
This Team Used Apache Cassandra Without Reading The Fine Manual… You Won’t Believe What Happened Next

“You honestly expected that adopting a data store at your scale would not require you to learn all of its internals?”

These aren't even internals, these are basic facts about Cassandra.
In cycling one key is drafting. We have a few guys where I live that do well in big national races. When they show up on the Saturday group ride, weaker riders can keep up thanks to the advantage of drafting. A rider has to be about 30% stronger than me to pull away when I am drafting him.
I shared with her your theory, and she does not believe it is true in her case. I don't doubt that it happened in the cases you observed, but that gives me no reason to doubt her statement that it didn't happen to her. I wasn't there for the vast majority of her working life, you weren't there for any of it, she was - I think she is a much more of an authority on her own life experiences than you or I are. And, who should I believe: you, or the mother of my son?
Elon Musk Admits to “Unschooling” His Children
Unrelated to my reservations about this system, I think the idea of computation combined with a git datastore is very interesting and possibly more generally applicable. I like the idea that the snapshot bot enforces additional guarantees on the evolution of the repository, like the ones you're describing here.
The 8 stages of being an early adopter
Strange that nobody else mentioned this before, but I'm really glad that the Steam machines are getting away from those big ugly gaming towers and look more console like. This was one of the main reasons I am (or was) a console player, because PCs waste a lot of space and look ugly as hell. I'm usually not that sensitive to the look of my devices, but a PC tower is just extraordinarily ugly. I'm curious what others think about this.
Elon Musk talks about a new type of school he created for his kids
This makes me wonder what a good strategy would be for deprecating old architectures. Remove support for them in new versions and backport bugfixes to the last version supporting the old architectures indefinitely?
I am working through this coursea course via YouTube and I also found some github repos that have the course's homework material. https://www.coursera.org/course/proglang

The first language is ML and than moves to Racket. Really learned a ton just doing the first weeks. It is more of a CS 202 Programming Languages course which was perfect for me since I really wanted to learn more about functional programming.
> Someone did steal my idea, a sales rep I fired. He took my product samples and copied it down to the flaws

He didn't steal your idea. He stole your product, your work. That's radically different.
google (pagerank) - though some contrarians think the algorithm wasn't the main factor.
[NEW] Minus Kyrie, LeBron Leads Cavs to Win [HD 2015]
I am a Qt/C++ programmer by day and i have been looking at rust and there some bindings to GTK and such, but to me, nothing really comes close to the cross platform-ness of Qt. There seem to be simple QML bindings for Rust too, but thats not really the same.
I think it's honestly getting to the point where some signed/trusted biologically embedded blood analyser/spectrometer is going to be the only thing that catches cheats.
My brain is definitely full. Every new thing I learn comes at the expense of something else I know (I guess this should be past tense).

The funny thing is I still remember when my brain had spare capacity - I used to fill it with arbitrary facts like what page I was up to when I was reading dozens of books at once. When I was young I never read one book at a time or used bookmarks. I would just remember the page I was up to and whenever I came back to a book I just turned to the correct page. Of course now I have to use bookmarks and every book I read is at the expense of some part of my past :(
The general the coherence rules stop you from defining an implementation that could be possibly defined elsewhere.

The important take away implications are:
- you can not implement a trait defined in another crate for a type defined in another crate, unless the trait is parametrized by a type from the current crate
- you can't define overlapping implementations
Regardless of the content, white text on black background is VERY BAD for reading. Please make this text more readable.
The thing is that contrary to many other tools, you can't run Cassandra with almost any of its default settings (maybe besides ports). In most tools you'll need to tweak a few defaults, with Cassandra you need to thoroughly read the docs on every little configuration in the server and schema definitions (especially if you're working in multiple DCs), you'll always find a little surprise if you skim through it.

It's also almost mandatory to read the internal design docs of cassandra even if you're not the admin but just working with it. And modelling data is a lost less trivial than it looks - and almost always not what you assume.

Anyway, this is the best talk I've seen on Cassandra data modeling even if you know Cassandra but not on an expert level. I made sure everyone on my team saw it at least once. https://www.youtube.com/watch?v=qphhxujn5Es
Do the military use them?
Looks awesome! I would love to start playing the beta =)
Without reading the article: of course. Evolution would not allow for much overcapacity.

However this will be done through lossy compression (you forget irrelevant shorter term stuff, you forget details, things get abstracted and generalized etc.)
Yes: http://www.newrepublic.com/article/112269
when we don't reach it in our lifetime, why do we have that over-capacity than?

The brain already consumes something like 20% of our energy.
Hannah's Sweets: maths problem that had students going crazy with frustration
Important life skill:

Learn to tell people no while being both firm and polite about it.
Beyond good and evil
Really interesting story. Is this big competitor a mainstream brand?
The question I want to ask is, looking at the history of human society (especially in the 20th century), is it more reasonable to fear terrorists or totalitarian governments? Just in terms of absolute numbers of people killed, it seems that the latter wins by orders of magnitude [1,2,3,etc]. So assuming we want to prevent death and hardship (the precise reason this guy wants to restrict encryption), we should be focused on preventing the rise of totalitarianism. That means we should be extremely wary of all of this surveillance infrastructure that's springing up everywhere, and of any calls to make our communications even less secure than they already are. It's not that today's government is totalitarian or even has those tendencies, it's that we're making it easier for it to happen in the future, and that's a real danger in my opinion.

1. https://en.wikipedia.org/wiki/The_Holocaust

2. https://en.wikipedia.org/wiki/Holodomor

3. https://en.wikipedia.org/wiki/Great_Leap_Forward

4. https://en.wikipedia.org/wiki/Joseph_Stalin#Calculating_the_...
This can be implemented easy using Ansible
http://docs.ansible.com/guide_rolling_upgrade.html

btw article is 4 years old
It seems like this would be more compelling if accompanied by some benchmarks showing how much better the performance is than the original zlib's.
Beer drinking competitions, debatably.
I usually just tell them a fake number, around the kind of number that I want to be paid. For example, if I was getting paid £35k and I wanted to be paid £40k I would say £40k.

My main reason for doing this is to see how flexible the company is. If extra pay can't be offered, I ask about extra paid holiday or other benefits. More often than not, a company that isn't willing to be flexible with me probably isn't the kind of company I want to work at. It also gives me a reason to actually leave a company and join another.

There's probably much better ways to go about this, but it works well for me. As always, YMMV.
The complexity of human behavior and the inability to model the real world makes these types of "games" interesting to watch, unless of course it's your money on the line.

The illustration of the three-sided chessboard was fascinating.
"More than you think, I suspect"

That is very likely.

Wikipedia has a list of long tunnels [1]. And "Tunnel Talk" lists what the world's "mega TBMs" are up to [2] (frustratingly they quote tunnel diameters but not lengths). Seems like these machines are kept very busy, which makes sense given their cost.

Edit: Even more tunnel-related stuff at http://tunnelbuilder.com/

[1] http://en.wikipedia.org/wiki/List_of_longest_tunnels_in_the_...

[2] http://www.tunneltalk.com/Discussion-Forum-Mega-TBMs.php
Nicely done, some of those animals look almost believable.
6 Daily Struggles in the Life of a Programmer
You don't need to compute the challenge in N nanoseconds. Instead, the car could send a challenge, the key can compute it in however much time it likes. Then the car sends a one time pad, the key receives it and xors the otp with the challenge's response. Then it sends that.

The cryptographic challenge makes it secure, the XORed one-time-pad allows for fast measurement of the round trip time.
It's not as hard as you think. They ask, you say 'I am looking for $X'

If they ask again you say "I wouldn't be interested in receiving my current salary for this role, I am looking for $X"
The whole guilt narrative seems odd to me. Wasn't he testing micro dosing and the passports efficacy? It seems disingenuous to add that whole aspect to me.
TurboPFor:Fastest Integer Compression+Inverted Index. PForDelta,Bit Packing,
I love that the article pokes fun at click-bait articles ... I'm not a Cassandra user but having used several other NoSQL solutions, I'm not at all surprised that this team, who dove into a new technology without caution, was surprised.
- Direct Access w/o decompression

- Fastest Variable Byte implementation

- Novel Variable Simple faster than simple16, better than simple8-b

- Scalar Bit Packing decoding as fast as SIMD-Packing

- Bit Packing incl. Direct Access/Update w/ zero decompression

- Fastest and most efficient SIMD Bit Packing

- Fastest SIMD-Elias Fano implementation

- Novel TurboPFor (PFor/PForDelta) with direct access or bulk decoding.
More efficient than ANY other "integer compression" scheme.

-----------------------------------------------------------

* Inverted Index + Intersections

- Novel Intersections w/ skip intervals, decompress the min. #blocks

- 2000! queries /sec on GOV2 (25 MB docid) on a SINGLE core

- Parallel Query Processing on Multicores. 7000! queries/sec, quad core CPU
How to pronounce the "-ng"? "zetlibng" like "bang" without the "a" is kind of hard to produce for my mouth.
Show HN: YABC (Yet another battleship in Clojure)
The one that is really irksome is the COMPACT STORAGE one, as it is explicitly disrecommended and deprecated by the Cassandra documentation. I have not yet gotten around to using Cassandra in any production environment, nor have I done any large-scale tests, and it has been a while since I delved deeply into the data model, but I remember looking at this part of the storage system and thinking it was "wrong", but wondered if I was just misunderstanding things, given how clearly and strongly it was discouraged. Flipping through the presentation you just linked, they are using all the new features and there are no slides that mention compact storage. "30x", as reported in this article, is clearly non-trivial: what is your take?
Rails authorization with CanCanCan
He's arguing categorically against end-to-end encryption. All encryption, according to the FBI, must be negotiated through centralized points that can be served with a warrant and made to MITM the communications.

It's not even clear that's the extent of what they want. They probably also want the communications to always be MITMed by the centralized nodes, so that warrants can request historical communications dating back to some retention limit.
I worked on porting a product named "Software Express VideoTex" to the Apple ][, and I came up with a plausibly deniable way to write the name in fixed width text or scrabble pieces in an "S" shaped logo, scoring a double subliminal "sex" bonus:

Software
E
x
p
r
e
s
s
VideoTex

https://books.google.nl/books?id=zvLd5Aw2T3YC&pg=PA38&lpg=PA...
If it turns out that we're still using underground trains in 100+ years time then that would be interesting in itself. Hyperloop [1] maybe?

http://en.wikipedia.org/wiki/Hyperloop
Thermaltake under fire for plagiarising competitor designs
zed-lib-enn-gee I presume.
> user interface
Yeah, if you are implementing it for other users, you can be forced to put backdoors. All bets are off. I mean encryption for your own use. All you need is a hashing algorithm like sha256 and your key.

> randomness
Why would you trust a computer with randomness. Take a picture, and hash it... Not so hard.

> 3rd party encryption is probably backdoored even in "state of the art" nsa employees hands. I doubt they trust their own employees. They know they probably have double agents around.
Well, there are a lot of DIY Ambilight clones, most commonly running on Arduino, monitoring the colors of computer's screen and lighting LED strips accordingly. So it's definitely feasible. But I predict that colour changes in the page background would be a lot less pleasing and more annoying than ambient lighting changes behind the screen.
You spell it out. It's an acronym for “next generation”.
The Age-Old Cynicism Surrounding the Dream of Book Writing
"zee lib en jee" was my first instinct
Thanks for creating something so awesome. I have relied on it heavily for years to clean up dodgy feeds.

Seriously, I think the only Yahoo products I use are Pipes, Groups and Flickr. And Flickr doesn't really count.
Did they release schedules or just completion dates? I was just parroting what the Morgenpost wrote on the page, "Erstmals gibt es einen Terminplan, mit dem wir den Baufortschritt regelmäßig überprüfen können."
As the name implies, this only works for subresources (scripts, stylesheets, images, etc.) and is mainly useful for cross origin requests.

HTTPS on the other hand also gurantees that the article I'm reading hasn't been modified. And that no one has injected ads into the site.
I just started using hiccup for my project. I figured if I was going to go Clojure, I should really go Clojure. It has been great.

The data structure is HTML structure makes it easy to manipulate things. Coupled to a functional language where I can pass functions around in the view (try doing that within JSP), I get a lot of reuse. I couldn't get the same level of reuse if I was using a string templating system.