skysight-inc/HackerNews huggingface dataset:
A lot of these bloated patterns that got popular in the Java world have shorter, simpler alternatives when programming in a functional style. You often don't need multiple child classes to implement a template method if you can just pass a function to the constructor. You don't need a BananaFactory if you can just inject a createBanana function.

Remarkably many Gang of Four design patterns are unneeded once you can pass functions around. The C# world is now learning this: when C# 1 and 2 were popular, the ecosystem went right after Java in the kinds of boilerplate that the author describes. Now, many years of Func and Action goodness later, there's a large part of the community that codes way more to the point, and this part is growing. People who release C# libraries in 2014 with factories adapters and multiple layer inheritance hierarchies are laughed at.

Since Java 8, Java too has an accessible way to pass functions around. Not really functions, because Java, but in practice it works the same way. This means that there's nothing technologically that's holding the Java community from making these improvements, too.

I hope it happens.
I rather like it as an idea though, how would it work? I hum a tune that only I know, it lets me in?
Some of the complaints about the over-formal language is a matter of taste, perhaps, but it does grate and is not a new complaint (see also: the Kingdom of Nouns rant). However Java developers are learning (or migrating to Scala/Groovy/Clojure). And there is hope -- the Play framework, for example, is an example of Java done right (imho). Spring 4 is moving in the right direction.
Junkies would beg to differ.

They steal anything that they think they can sell and convert to cash. iPods, phones, laptops. Also of course cash, credit cards and jewelry.
Disclosure: Long time Java programmer here (since 1996, previously worked many years with Smalltalk). Java Language and Java Virtual Machine are great, but Java Libraries are in many cases too complicated (using too much of "Gang of Four" patterns).
over the years, I developped a fiery hatred of XML configuration files.
Not impossible, actually! Heard of Secure Multiparty Computation?

http://www.reddit.com/r/crypto/comments/r003r/are_others_int...
> The OO craze has a part to play in this madness as well. More and more developers are stepping back and realising that as a programming paradigm, OO is actually pretty shit.

Once real systems (like UI frameworks) are written with FP, we can compare apples to apples. Until then...wtf? OO actually works well for scaling complexity, much better than toy immutable functions do.

> Even today you’ll still find a strong bias towards OO courses being taught at the university level using Java, and the bias was certainly stronger 5 - 10 years ago.

Because that's what people use to write real programs.

> The engineers at Google working on Android are too busy architecting grand frameworks for solutions and not busy enough solving actual problems.

Because we all know, Google is known for hiring flakes who can't code or design real systems.

Worse is better means getting things done even if your tools kind of suck or your understanding of the problem isn't yet great. It leads to architecting and less than ideal solutions, but at least you ship!
IMO, the how to protect yourself should be more prominent and perhaps on the first slide/page.

I stopped using Instagram because I couldn't keep up with me post-dating my activities. It was more of a chore to remember to post a week or so later and 'pretend' I'm doing such activity now, instead I just didn't bother sharing.

I got a brand new car a few months back, and even though I wanted to share a pic (not to gloat) I knew it would be easy to track down, and due to where I live it's easy to see whether I was home or not. Not a rare car by any means, but how many '14 plate cars in particular colour in a particular model do you see in any one area? Matching cars could be 5-10 miles apart easy

Does anyone else think like this?
Is the name meant to riff on http://pleaserobme.com, a 2010 site with similar aims?
Git Tower 2.0 released
Cash, jewelry, portable electronic devices. Burglars here in France sweep the home in three minutes and that is pretty much all that they care about. There are of course exceptions when circumstances warrant and opportunities arise - but those items are the bread and butter of industrial burglary.
The proliferation of factories is not an indication of over-architecting something. It is a direct consequence of finding a balance between maintainability and the lack of first class functions (or constructors as first class functions).

If you have never had the need to introduce factories, I claim that you have not worked with a truly polymorphic system.
> All those can steal users money if compromised.

Not in a vacuum; they have to be deployed in a setting where that's possible.

> Would you include web browsers, OSs, system libraries and such in that definition?

It's sort-of a moot point, because the major products in all of these areas are routinely analyzed from a security perspective. Apple and Microsoft both spend a lot of money on security, and security researchers spend lots of time and effort auditing linux.

> If so, who do you suggest be responsible for that in an open source project?

The organization deploying the software in a security-critical setting should follow best practices when selecting and maintaining components.

There's a significant difference between engineering failures that happen even when you've followed best practices, and very preventable engineering failures that happen only because you've not followed best practices. Just because perfect security isn't possible doesn't mean we should give up entirely and not even both sanitizing input, for instance.

Additionally, OS vendors should not encourage users to use their software in security-critical settings unless the vendor is following best practices w.r.t. security. This is where I could see some bitcoin projects getting into trouble.
Classical wire transfers have two things that people object to: high fees and anti-money-laundering legal requirements.

The problem with making it "easy" to move money is that fraud becomes easy as well. There was an article on HN the other day about someone who wired $4k to a fraudulent AirBNB host. The credit card system skews towards assuming that the merchants are fraudulent and the customers mostly honest. Bitcoin goes in the other direction: it's entirely caveat emptor, there's no fraud protection or recovery at all. If your key is used to send bitcoins, by you or someone else, they're gone to that address. This allows for the low transaction fees but creates a trail of people who've lost money, whether on mntgox or localbitcoins or random internet purchases.

(I've been playing with the description "uber for banknotes" for a while; the disruptive evading of existing regulated systems is important to both Uber and Bitcoin)
How To Answer The Question (What Was Your Last Salary?)
Doesn't seem very indicative of a good place to rob to me. If I'm not home, my wife usually is, and if we're not, the landlord also lives in the house, not to mention the dogs. The only things I own worth stealing are my computers anyway and those are all portable and stuffed in a backpack every weekday, locked in a hotel weekday nights, and often with me off at a hackathon on weekends. So if I'm taking a picture away from my house, most of the time the only thing I own worth anything is with me. If I was a robber I'd rather case houses in person.
9 Interesting Visualisation Blogs
When there is such chaotic news story, I usually switch from news to Wikipedia. That has all the facts and continues the story even after all media lost interest.
Mine home address is available to anybody from local yellow pages too.

Privacy is indeed important, but fear of robberies is not the reason why we should protect it. Nor is someones home address the supersecret info I desperately need to protect. There were maybe two facebook post triggered robberies worldwide. It is much easier to rob one of hundreds seemingly right now empty houses robber goes around every day then to analyze pictures and maps to find one random target.
Your statement sounds like a reverse cargo cult. The problem is not that people use these constructs that you mention. The problem is that people use the wrong constructs at the wrong time, don't seem particularly good at judging which to use when and just use the most convoluted one by default.

There are many contexts in which the factory pattern is the best choice (although not the majority) and in which configuring logging externally is the best choice (almost always).
Hm, Cortex looks almost like my Avers (https://github.com/wereHamster/avers). With the major difference that Avers uses Object.observe instead of explicit setters/getters, and Avers mutates data in-place. I also use it with react, and haven't noticed any performance issues. But I have an idea how to make it work with immutable data (to allow === comparison in shouldComponentUpdate).
I don't think it's a matter of taste. TBH I write very little of the code that is checked in to the source control. The IDE does all the boilerplate. I literally design the method signatures, define the access policy for the methods and fill in a few gaps here and there.

Play is not Java done right by any means. It's tightly coupled, has really poor documentation, breaking changes galore between major releases, deployment is trouble (compared to tomcat) and rather tied to Scala's API.

Java done right is picking some lego bricks that you stick together to get what you want and telling it how to wire them up.

YYMV but 99.9% of all problems are already solved off the shelf.
Show HN: Url Pretty Print
Ask an Italian whether a black market dominated economy is a good thing.
I am not a supporter of omitting information because there is less space. I'd rather choose restructuring of the information.

(I guess there is a reason in the first place to display the information. Simply leaving it out feels very wrong. Or it was already unnecessary.)
Deproulette – “Creative” use of the Python packaging framework
Never seen "Coke" in that classic font before. Is it new or perhaps particular to the US?
I don't know about other countries, but burglary is on the rise in France.

Crime organisations moved from drug dealing to organised burglary because the risk is much lower.

Not sure if they use Twitter and instagram to identify targets.
Nice.

How about a text box to copy/paste data from Excel and then options to specify delims, quotes, & escapes? That would be great as I hate to save a file to my desktop before dragging it into the browser.
Junkies will not analyze your pics to find a street map and then follow map to get there. They will rob what is nearby.
Bitly: Lessons learned building distributed systems
learn to use /proc

That's a bit condescending. You could have gained more credibility by explaining how to do this using proc.

And by the way, /proc is kernel-dependent ;-)
Chemical limit of the materials. If you go out to buy battery bigger than 12v, for example 24v, then you will see that it is actually made of 2 12v or may be even 16 1.5v, depends on what material they use to make a battery. I have asked your question about Tesla and low voltage batteries to my friend who was studying as Physics Teaching, he explained me these things.
MIPS processors aren't that bad, like the DPT Board
This seems like intended behavior -- the assumption on Twitter's part is that when you're setting your account to protected, you're also going to clean out the list of followers you have. I guess it'd be an improvement if Twitter added a notice, but I don't see what else they can do -- I doubt you'd want to tell all your followers to re-follow you.
What Is Distant Reading?
I agree with much of the article (also as being a java developer for the last 17 years).

However, I don't think the problem ie necessarily Java Developers - I think they were just early adopters of the larger problem:

Frameworks.

Too much software these days relies on frameworks in order to 'get things done'. The knock on effect is that developers don't have to think as much about how things work (technical debt is at an all time high), and often code following 'best practices' handed down from academia/conferences/books that promote large abstractions which are often un-necessary.

It's similar to how C code would end up having pointers-to-pointers-to-pointers-to-pointers...

A whole generation (generalising/stereotyping, I know) is now coding, who have never grown up and learnt with basic logic gates and low-level code. The framework is the obvious choice because 'why would you want to write it yourself, if it exists' ?

(Ironically, many Javascript developers seem to be intent on re-inventing everything that's gone before, and it's somehow seen as innovation - go figure)

Grumpy old man ? Sure, I am. I'm also gladdened to see a recent upsurge in assembly language and other low-level coding, as this is what the world actually needs - less super-business-entrepreneurial startups, and more people able to actually solve real problems and not just hipster entertainment.
Sai Maa Hotel
You can actually achieve the same thing with Coinjoin if all involved parties agree. Instead of a bunch of individual transactions, they collectively generate and sign one.
Haven't see a game like this yet. The concept is very simple and the game design is very cool & well made
Have you spent some time writing your own programs or writing programs for school, sitting at a machine, working on code? That's what a lot of it is like. You can expect to spend lots of time on code written by somebody else, fixing it or adding to it. The rest of the time is meetings and bureaucratic stuff. Sometimes you can goof off with coworkers. But if you've spent a lot of time in front of a computer, that's pretty much it.
It's less about verbosity and more about the lack of clarity. `for (i = 0; i < myContainer.length; i++) { ... }` vs. `myContainer.map( ... )` - which tells the reader more about what the code does? Which of these lets the writer focus more on domain logic?
I expect the HR management back then was more enlightened than it is now - the quick-to-pounce media and politically instigated witch hunts (terrorism, save-the-kids, etc.) have ensured that cover-your-ass is more and more a necessity.
3 Dangerous, but Commonly Overlooked Computer Backup Mistakes
Other comments cover it well, all highly recommended ways to deal with a bad day I think.

What I would personally do is sit down and clear my mind for 10 or 20 minutes. Meditate, breathe slowly and deeply. Let your thoughts race and get out of your mind. Think of all the things you have achieved, all the great people in your life. Let that remind you that it is "just" a lost deal.

Then, go out and drink a few with the guys.
Thinking of the 2012 election, mitt robme

better ban yellow pages or anywhere else addresses can be found
If your clock solution, GPS + Sync, is drifting then your infrastructure is broken and your platform is not fit for service.
The two groups aren't mutually exclusive. It never ceases to amaze me how many people with a deep understanding of technology still seem to over-share in this regard.
Multisignature services enable escrow and fraud detection, etc.
Security Pros: Can You Give 1 Day To Help Charities Stay Safe In Cyberspace?
I've never seen it before, so I do not think that has been ever used officially.
Cannot say better than the first comment there: "USA was quick to judge without showing their evidence, Russia shared their evidence but is not accusing. Makes you wonder, hmmm... Where is the US proof, I'm sure many americans would like to see it too.."
Livestream is blocking my access to this video (server error 500). Could anybody please provide a download or a torrent link, thank you very much!
I don't think Android supports Java 8, though.
Indian families have been targeted by criminals looking for gold. Throughout the U.S. and world it seems.

Police say the ring of thieves averaged two burglaries per week and netted approximately $2 million over the past year.

...

Pentis says they found the suspects the same way the alleged thieves found their victims — through Facebook.
“A lot of these are Facebook, MySpace, Instagram, where they’re bragging, showing gold and cash from their robberies, with their face,” the asst. sheriff said.

http://losangeles.cbslocal.com/2014/06/04/police-nab-alleged...
Hard coded logger instantiation in a library is anti-pattern. Whoever is using your library usually has his own opinions on how much of your stuff he wants in logs.
Localbitcoins.com, buy with cash
You might be surprised by the robbers' creativity and drive. For example, you can't put anymore the time and day of a wake in the local newspapers, since burglars used this info to break into the houses of the dead's relatives. Same thing for weddings.
There seems to be an implication in your comment that people aren't using FP to write "big serious programs". Is that really what you are implying?
Clock years out of sync: All SSL certificates appear invalid.

Clock minutes out of sync: "Here's a temporary security token, I don't think it's expired" "That credential has expired" "This never came up in testing, I think I'll crash"

Clock seconds out of sync: Log files on different servers can't be merged reliably. Different requests went to different load-balanced servers and now you can't tell what order the logged events happened in.
That's no fault of Bitcoin, however. Getting USD isn't magically easy either.
I would imagine the researchers broke quite a few laws verifying this attack on the public Tor network, if they indeed did so. And since Tor is incredibly hard to simulate at that level, it's likely that they did. Even if they developed the attack on a simulated network they may have run the tool for verification against the live network. Maybe they did it to de-anonymize a drug marketplace or something else they thought they could get "ethical hacker points" for. Maybe they sent the information to the feds and thought they were doing the right thing.

This is something that has always been legally murky, enough so that I feel like some technical people could decide that they didn't care and just go with it. More people under them might have as well, pulled along by sheer groupthink if not genuine agreement.

This attack was unique not in that it made strong claims, but that it had unusually specific strong claims that indicated some amount of empiricism. I feel like you could only reasonably claim that number if you actually tested it against a very strong network simulation (which doesn't exist for Tor) or the real network.

It's not like other researchers haven't done similar things to get results about Tor. There are a few workshop and academic conference papers that talk about results obtained by analyzing Tor traffic; this is technically wiretapping according to the Tor project, but previously it's always been mundane enough that nobody has gotten involved. This experiment might have compromised some people's very personal information, and it's incredibly public.

This is all really just an expansion of "they're worried about some sort of liability." In any case that's by far the likelier of the two; I can't imagine you could sell IP related to this.
I like the idea of it as a form of protest more. Like a sit-in, only way more obnoxious.

a tune-dependant sign-in procedure would doom me and the other 'arrhythmics' among us.
The name of the character is simply ‘SUSHI’ ( http://www.unicode.org/charts/PDF/U1F300.pdf ). Any pictographic representation of sushi would fulfil that.
In that domain, yes! How many UI frameworks are functional (beyond I think...Om?)?
I think the whole reason for having a logo mark is to have something is that is immediately recognised, even when the logo type is omitted. You can't/don't always use the full logo, as it isn't always the best visual solution.
Bytes are often added by the high level frameworks (see the megabytes of unused C library). Putting a pixel in a framebuffer requires a single instruction. You can do quite a lot of T&L in short bits of code.

Have a look at the source code for Second Reality, one of the more popular demos of 20 years ago. https://github.com/mtuomi/SecondReality particularly the draw code https://github.com/mtuomi/SecondReality/blob/master/VISU/ADR... ; admittedly it does one light and no texttures, but it does it in a few kb of assembly.
I thought there was some work to support Lambdas in ART?
I dunno, it's hard not find something to agree with, particularly the rather tone deaf "let them eat soylent".

I regularly read the Guardian, and it seems they are very tech positive in general, it's just the SV culture they (and it has to be said, many people outside of SV) find distasteful.
The Java variety of the Play Framework is indeed pretty decent. Last time I worked with it however, it had to some really hacky stuff to work around deficiencies in Java (7).
UTF-8 apparently usually ends up faster as you’re shifting a smaller amount of data from the RAM to the CPU and back out. This makes it more likely that your strings will fit in the CPU’s cache rather than having to hit the main RAM every time, leading to overall speed improvements.

(this from an interest in the subject, rather than any actual implementation work I’ve done)
This isn't about MIPS but about raspberry pi...
Java can be really glad that there is Google with Android. Otherwise this language would be a strong enterprise focused language with very bad reputation on the end user side.
Students hack Tesla Model S, make all its doors pop open IN MOTION
TV, computer, phones, cash, jewelry, clothing, any type of appliance, power tools, medicines, alcohol, cigarettes, toys, ...

I'm not sure what kind of houses you have in mind that have nothing that can easily be transported and sold... Except for the furniture, most houses are full of stuff, and most of it can be sold.
Warning: the Lean Startup Canvas may derail your tech venture
Yep. Both points are top of the todo list.
yum itself can already install to chroots, so a tool like this shouldn't be necessary on yum-based distributions.

https://plus.google.com/+LennartPoetteringTheOneAndOnly/post...

http://rwmj.wordpress.com/2009/03/05/fedora-equivalent-of-de...
>>We decided to pass on the annual service

It's interesting - I bought a brand new Nissan Qashqai recently, and I HAVE to do an annual inspection to keep the warranty, regardless of the condition of the car. Basically after a year they will look at it, say "yep, it still works" and charge me $300 to stamp my warranty booklet.
I was actually racking my brain on how Lego can be an uncountable noun since it seems so eminently countable in my mind, but then I thought of the perfect example: cutlery. Cutlery is an uncountable noun of very discrete objects. I realize now that all of my confusion is just because of my wayward American upbringing.
It seems like 'any house, during normal working hours' would be just as reliable a bet as a house determined through this kind of snooping.
I've been using Java for about 15 years and largely agree with the article. The verbosity of the Java language is definitely part of the problem, although that aspect is downplayed in his blog post. I agree with the author about the culture. Java programmers in general seem to be on some sort of design pattern frenzy, especially in the better known frameworks. It doesn't matter if you're writing a fancy framework or writing a trivial app to process a file, chances are you're going to see layer upon layer of over-engineering.

I switched to Scala a couple of years back and have never been happier. Only part of the improvement is due to the language the other part is not having to deal with Spring, builder patterns, and madness like AbstractSingletonProxyFactoryBean [1]. My impression has been that the typical Scala developer has had lots of Java exposure and has learned from their experiences.

[1] http://docs.spring.io/spring/docs/2.5.x/api/org/springframew...