skysight-inc/HackerNews huggingface dataset:
> In other words, if you ever find yourself thinking, "I know, I'll use a design pattern" before writing any code, you're doing it wrong.

I completely disagree... if I'm working with a team. I've spent far too many hours trying to fix fragile code that comes about as a result of different devs with different methodologies trying to tie their code together.
Millenials and Impact Investing
What's to keep this non-hire from logging into Glassdoor
and warning everyone else (and existing employees) about
the offensive contract verbiage?

Nothing. As long as they remained factual. It's unlikely existing employees would have much response though, they already work at the company and will have accepted those contract terms. Different types of people (ie risk/reward and people coming from different cultures tend to take a different view over contract terms.

If that's not legally actionable, then what's the ethics /
negotiation cost/ben of that same non-hire implying at the
beginning that this would be the eventual recourse if
(s)he wasn't hired?

I don't think that would have much impact, and in the context of hiring someone it would probably look pretty bad.

An assumption in the underlying story is that the contract terms the company wanted were unreasonable.

If it's in a company handbook then it's a standard term, so the organisation thinks it's reasonable - it's probably best to try and understand why they want that situation. Assuming right from the get-go that it's something invidious and offering a threat that 'if I don't get my way I'll go public' isn't likely to get a sympathetic hearing in most situations (I think). While it's possible that someone is trying to screw you over, it's generally best to just assume their mistaken and to try and clarify why it's a problem.
Holy crap, I thought the poster had made that story about the motel up.

The best part is, there is zero penalty for trying to take an entire hotel! It's like Grand Theft Auto in reverse with god mode on.
Just now realizing there is ambiguity around the terms “design patterns.” Say it in a different crowd, they'll think you are talking about the kind of design patterns Brad Frost is writing about. http://atomicdesign.bradfrost.com/
I avoid floating point wherever possible (especially after reading "What Every Programmer Needs To Know About Floating Point") and just use large integers. Not sure if the particular math in question here can be modified to use large integers...
That's actually nonsense. You most certainly can cut off someone's finger and use it to unlock their phone. I'm not aware of any capillary scanners on phones...

http://www.androidauthority.com/how-fingerprint-scanners-wor...

TL;DR: Cheap phones use optical sensors (can be fooled by an inkjet). Older high end phones and some new ones use capacitive scanners which require the actual finger plus an equivalent capacitance which can be faked by holding the finger with your bare hands (making sure to get close to the actual finger tip). Might take a few tries but it'll work. The latest tech uses ultrasonic sensors which measure the ridges of the fingerprint incredibly accurately. Enough so that blood loss may result in failure but I doubt that any phone's sensor is going to require that level of accuracy (do you press your finger with that precise amount of pressure every time?).
Much of the Java+Patterns=<3 stuff came from java lacking syntax for functions that didn't involve creating an entire anonymous inner class with an apply function; the Strategy pattern is an excellent example of a pattern that just goes away when you can pass functions around. There just are not good ways to express certain solutions without using at least one or two, for any sufficiently large piece of software, without that syntax. And if your language is making what you're doing awkward, it's probably not how most people are going to code. Guava had an entire disclaimer in their functional documentation that essentially said "whenever you reach into this toolbox, think about if it's really what you want". Now that Java8 has syntax for them, we should see people reaching more for Streams and their functional methods.

Now, that said, it's often more tempting and easier to just add complexity, which results in crazy codebases. It's much harder, especially under pressure of deadlines, to REMOVE patterns as they don't make sense anymore, which gives us what people think of as enterprise Java. Not all Java is like that, I promise.
>What in god's name are you talking about?

I was very clear, I do not see how you could genuinely be confused.

>And that is a very common risk in the US

It is not a risk, it is a choice. You don't call up the midwife store and say "send me a midwife" and hope for the best. You choose one. People can choose one that is trained and certified.
People's browsing histories are regularly used in court....
Sure, just a quick search. Worth noting that not following this law has a higher penalty than having a nuclear leak in a nuclear plant:

> The new law also prohibits PV systems up to 100 kW from selling electricity. Instead, their owners are required to donate the extra electricity to the grid for free.

http://www.renewableenergyworld.com/articles/2015/10/spain-a...

http://cleantechnica.com/2016/01/15/solar-policy-spain-still...
One Chart, Twelve Charting Libraries
It really only makes sense to measure the carbon capture at the level of the forest. When a tree is cut down or dies, it makes room for other trees to grow. Removing mature trees that are no longer growing very much can increase the rate of capture. Removing trees that are growing quickly and replacing them with smaller trees could reduce the rate of capture.

Either way, there is a limit to how much carbon a given forest will capture (rot releases it just as well as fire) and it will only do it for the life of the forest, which is usually not a geologic time scale.
The Real Bias Built in at Facebook
It isn't about privilege. It is more about whether privacy is something that you are worried about or not. Most people don't care about it and don't even think about protecting it.
The math that shows autonomous vehicles powered by solar power are inevitable
Does it even integrate with Hangouts? I'm pretty confused right now and haven't heard anything about that.

And why would anyone like to chat with people on a client that has a built in feature for canned responses?
Rails 5 adds a hidden field on collection radio buttons
Web Help Desk Software: Why You Need It?
> User pays

The users of airports are the airlines, not passengers.

Airports that charge "improvement fees" are double-dipping; they already charge a per-passenger fee as part of the aircraft handling fees.
USB C PD (power delivery) delivers up to 5W at 20V. Used for charging laptops now, we'll be using it for light bulbs in a few years time, I'm sure.
I thought archiving meant it would be no longer on their website, it would be awesome if they just released it all under something like the GPL. Could do some fun machine learning stuff with it...
Very surprising that a few are passing judgement, although there is no thesis in the article!, how would someone judge without actually reading a thesis?
And lots of these patterns can even become first class entities in the right languages.

Eg almost all languages these days provide functions as a first class abstraction. You don't have to manage a call stack yourself.
Show HN: runc in 30 seconds by #DockerCaptain alexellisuk (blog)
Yeah :( I was gunning for Dio.
Not sure if it is related or not, but yesterday there was an article about credentials that were stolen in 2012 being sold now.

http://www.engadget.com/2016/05/19/linkedin-hack-password/
Kaspersky Internet Security 2016 Crack and Activation Code
> Your interpretation of "codify common existing practice" would imply that no new compiler optimizations could be implemented since 1990

Utter nonsense. I use that word carefully, but in this case it is absolutely appropriate.

Compiler optimisations per an old but very useful definition aren't allowed to change the visible behaviour of programs (in terms of output, obviously they are allowed to change execution times).

For example, even just a couple of years ago the compilers I used would execute a loop that sums the first n integers. Nowadays compilers detect this and replace the loop with the result. While this isn't particularly useful, because probably the only reason you're summing the first n integers in a loop is to do some measurements, it is (a) a perfectly legal optimisation and (b) happened after 1990.

Unsurprisingly, you left out the second part of the (later) definition:

NOTE Possible undefined behavior ranges from ignoring the situation completely with unpredictable
results, to behaving during translation or program execution in a documented manner characteristic of the
environment (with or without the issuance of a diagnostic message), to terminating a translation or
execution (with the issuance of a diagnostic message).

Notably absent is "use the undefined behaviour to shave another 0.2% off my favourite benchmark".
The potential to improve Android's audio latency is the main reason I'm interested in this latest development, could end up having positive knock on effects for the Linux audio in general too.
Kickstarter Game sets the precedent for all upcoming Open World Games
Iommi?! I mean, Iommi was good, but Dio is where it's at. The Ozzy stuff wasn't as good, in my opinion.
I do a lecture at local hackerspaces about basic security for the common person and anonymity is far down on the list.

Much higher on the list are basic protection from dangers on the internet, like browser based exploits. So Noscript is one major selling point for Firefox due to most browser based exploits using Javascript. Even if you whitelist all the sites you're still more secure with noscript than without simply because it blacklists the unknown sites you don't know about, the ones that e-mail links open or pop-ups force your browser to load through various tricks.
> They are useful if you have a problem and one fits it perfectly

Patterns must not be a perfect fit. You don't build your living room elliptical because you have a round rug. There are pragmatic considerations that are much more important that "perfect fit".
Save 50% on Springer Life Science EBooks
A very serious piece that should start with a more serious title, like "In Search for Cures, Scientists Create Multispecies Embryos". Dancing around the political correctness on the fact we're also animals is just as bad, and obtrusive, as the moral questions on the research itself.
In the US at least, and other countries have adopted it, the Anderson power pole is becoming the standard. Anderson power poles are genderless and keyed. In other words, you can connect any similar amp connector to any other, and you can't plug them in wrong (almost). You can put power pole pigtails on all your 12V sources, and power pole pigtails on all your 12V devices, then make any (reasonable) length of extension cable with power poles at either end.

The most common amperages (15, 30, 45) use the same plastic housing, so you can connect a 15A device into a 45A rated power source. The higher amp rated power poles are are 75A, 120A, 175A, and 350A. These are more commonly seen on trucks and commony used to attach things like a winch. I have a set of 175A power poles attached to my Prius to run an inverter, and I have a long set of heavy duty jumper cables that I split near one end put a 175A powerpole set inline (so I can connect my inverter (or my prius) to almost any external source.

https://powerwerx.com/anderson-powerpole-connectors-15amp-bo...
https://en.wikipedia.org/wiki/Anderson_Powerpole#De_facto_st...

It takes a bit of money to get into using them (you need a set of crimpers, and the insertion/extraction tool is a lifesaver here as well). Unless you buy in a lot of bulk, you can expect $1/end you make. If you're in an a club (amateur radio/model trains/rc), someone might be able to lend you a crimp tool or make up some adapters for you. But once you start replacing ends and seeing the usefulness of it, you'll probably want to put ends on everything 12V. I've got pretty much everything 12V of mine switched over, and a handful of adapters to go from power to: alligator clips, ring terminal, bare wire, car DC socket (cigarette lighter), bananna clips, trailer connector.
Wasn't there something in the state constitution forbidding that?
Android Instant Apps Is Awesome and It Changes So Many Things About Mobile
Pretty sure that David Baltimore had access to the virus at Rockefeller University. That would be one place it would be kept in the United States. That is their thing, the rarest of diseases. Perhaps, he was worried about himself. I mean that in a abstract sense. Imagine if you had that destructive power available to you.
Dns is not always a great solution if there are multiple A records. We wrote about a method for doing this with iptables and consul here.

https://tech.iheart.com/load-balancing-services-using-consul...
> I did not start with OO, I never read the GoF book, and don't really get the obsession with design patterns and everything surrounding them.

I did some OO, but like functional programming better. In Haskell, there's a certain draw to doing everything in the type systems. Or a quest to find the single abstraction that unifies all your code into a coherent whole.

(For a configuration language pretty printer that I worked on at Google, I recently managed to throw out a couple hundred lines of code, by finding a unifying abstraction for most of the recursive functions on the abstract syntax tree we were doing.)
Or rather, they can become either invisible or first class citizens that you can assign to a variable and pass around.
When it comes to being examined there are also the prerequisites to advancing the state of the art, which include demonstrating you've learned how to do research and have deep critical knowledge of the field you're working in (so you know what needs to be done to move it forward).
I sometimes describe it as “framework envy”. I've worked with a fair number of developers who learned library design by looking at the standard library or popular frameworks and thought it was a model for everything, unaware that in many cases those were either poor examples (e.g. AWT / Swing) or complicated by offering a general solution usable for a wide range of projects and thus overkill for an internal app which would never be used elsewhere, especially when the core structure was still being determined.
I'd love them to release it as open data so that I'm not in murky waters.

If they move the recipes I can update the links. If they take the recipes down (which they've said they won't, now) I have got all the data so could rehost them.

edit: but, if you want to do some fun ML work, my scraper should help get you started!
I think it's not as easy as you think. People have grown to expect too much from each other, and are disappointed/disaffected more easily. A lot of social network technology exists exactly because we want to avoid directly confronting each other. Dating sites are easier, because attraction makes it easier. Making friends, not so much. E.g. HN has a generally nice community, but i bet most of us wouldn't get along with each other in real life.

Then there is also the cult of individualistic freedom, which almost by definition means less interest in others.

You have a great website there. I wonder, however, if proximity means anything nowadays. A long time ago, it used to be that neighbors were relatives, or part of the same tight knit cultural community. Nowadays people have scattered randomly, and almost the only common denominator between neighbors is their income bracket. I would like to see a startup going the opposite way , i.e. helping people who 'fit in' with each other to become real life neighbors.
Google is (in)famous for their application process and hiring fairly young people from "top" school. That gets them a lot of brilliant people, but not necessarily good leaders nor energetic followers. The company itself is a comfortable home for some, a stepping stone for others and make more money then they know what to do with. That combined makes the collective fear of failure far greater than the need for success.
When you're the author, you can publish your code under whatever license you want.

To publish in the App Store some app you've been distributing under GPL, you basically have to give a separate, more permissive, license to Apple.
Yeah, this--and all the other copycat articles at that time--are bullshit. It absolutely will work with a severed finger. If the first try doesn't work just wet the severed finger with water or take a pencil and color the finger tip with graphite.

Example of someone unlocking an iPhone with the latest and greatest sensor tech (on phones anyway): https://youtu.be/2u4ZLGsw1zo

They had less than a severed finger: A simple silicone copy. Something you can actually manufacturer with a high resolution picture of a fingerprint (as demonstrated by the CCC).
"He makes a persuasive case that complex life must have the traits we see today. And he argues that it would almost certainly develop the same way everywhere. Which means that, if we find complex life on other planets, it will quite likely share the same traits." "is so compelling that it’s hard to imagine any other way"

The explanation is just a hypothesis about the cellular structural evolution of the living organisms we're having all around us. From what I understand that was only one successful combination of cell structures working under a given set of conditions. In another conditions another combination could have formed the basis of later evolved complex life. Sure, the E.T. life would most likely have similar composition of chemical elements (because of their abundance in the universe, if nothing else), but I can't expect it to necessarily have the same base structural cell model at their core. I think Mr. Gates' fascination with related problems affected his disposition for healthy criticism here.
Only on Android is Signal able to merge its IM with SMS.
iOS doesn't expose this capability so only iMessage does it.
Is it a problem? Is it even relevant at all?
Aarg, sorry for downvote. Finger slipped.

I think you're right about the cleanness of heat pump systems. Unfortunately they do not have the libertarian freedom flavour of a wood fire.
Yeah, whilst I generally agree with the sentiment that nobody should roll their own crypto nor use something you randomly find on the net, if nobodies creating these things, you will have no future professionals.

Good for his consulting rate, no doubt, but probably not good for society.
You can see that he enjoys his writing, and I will enjoy reading this book.
No one in the anglophone world will care that you don't have an Abitur. The UK's Open University has open admission. If you have the £5,000 for a full time course load for a year they'll let you in.

Assuming three years of vocational school refers to Fachhochschule you would at the least be admitted straight into most computing degree's second or third year. Given your work experience you could probably get into some Master's degrees. Peterep down thread says he got into Oxford's Software Engineering Master's without a Bachelor's degree. His email is in his profile.
Hold your nerves: a little stress is good for you
I was expecting it to be a member of Judas Priest. But then again, Tipton and Downing are more than one person... hmm.
#HITeamweek – a tool for cross functional teams to collaborate better
Solar hot water panels do not generate electricity. They heat up a fluid (glycol) which is used to heat up your water.
Wouldn't it be possible to create micro grids?

Expressly forbidden. This law is a custom suit for electric companies.
Just an aside for anyone interested in language but the phrase listed as “where there’s muck there’s money” should probably be more colloquially written as “where there’s muck there’s brass”.

(At least in my experience I've only ever heard Yorkshiremen say it that way).
It is great to be knowledgeable about energy consumption and conservation methods and to try to spread that knowledge. Realistically however, any action is negligible unless it is done by industries that will have a huge effect on the environment (airlines, for instance).

If you want to achieve X, it is ultimately best to spend your time convincing a certain number of local businesses to do X, or petitioning governments, etc.
Well done, looking into it now.

Edit: holy mother of god the philosophy page is so scarily close to my thoughts, very happy to see this happen, I kept them in my head you have implemented it!
Drawing and Sketching for Beginners
> All of which is moot to the original point: that people can choose whether or not this equipment is in their environment or not. Effectively they cannot.

Absolutely. Just pointing out that we're on the path to adding always on cloud connected far field microphones in every other house in the country. Good luck "choosing" to not be listened to. The largest danger is self-censorship. "What is the risk somebody is listening to non-correct speech? I'd better watch what I say and not formulate non-correct speech."
Netflix and Amazon Prime face European content quota
Rm does not permanently delete files
I don't see it.

- The brain is more fuzzy, but it still stores the link between the smell of roses and the look of roses. Just as a probability, like a Bayes network. And you will fall for Illusions, just like a Bayes network can be wrong ("for a second I thought this was..." and than more information from the senses falsifies/corrects the probabilities).

- The brain is imperfect in reading from memory, but it still does. It just uses really good, lossy compression. It's loosing much detail, but often filling holes probabilistically. Besides neural nets, in computers this would be: defaults, recovery blocks etc. In part the good compression comes from an additional layer of abstraction, but computers can do this too. A very simple example are the the blurry color layers in jpg.

- We are better at recognizing than recalling, because a highly compressed memory is not enough to recreate the original, but has enough indicators to verify. This us very much like a checksum.

What there is, is the bias of the "hardware". Our brains are not good at deterministic iterations, computers struggle with the complexity of forming wisdom and fuzziness and feedback does not come naturally to them either. But in principle, we are both turing complete or something :)
Somehow I think the foreword of Christopher Alexander is very emotional. I cannot express why.

To me the key is joy. The joy of writing, maintaining and using software.
10 Workflow Organizing Tips for Web Developers
>> 2. Notwithstanding #1, there have been zero successful terrorist attack on aircraft in the U.S. since 9-11.

>How much is due to the TSA

I would say a large part of it is because a 9/11 style attack just wouldn't work anymore. 9/11 worked only because the passengers were thinking "hijacking", where there was some chance to live.

Once the passengers understand the consequences (as with United 93), they will fight back.

That totally changes the risk/reward profile for terrorists. Your chances of taking down the plane are lower, and your chances of aiming it at a high value target are almost nil.
"Eternal vigilance is the price of liberty; power is ever stealing from the many to the few." - Wendell Phillips (Massachusetts Anti-Slavery Society on January 28, 1852.)
Provocatively naive - does anyone nowadays really think the brain Works like a computer? A much more interesting focus is on non-representationalistic understandings of the world seen in the discussion.
>careful to not hit children

What are the rules on trains?
How I Accidentally Captured the SpaceX Falcon 9 Landing
They don't spend any time fixing everything that's broken with modern computers, instead they spend time changing things that weren't broken. Great.