skysight-inc/HackerNews huggingface dataset:
Tips on UI design for backend developers
I was incredibly impressed with how easy it was to create a simple VR app which works with Google Cardboard using Unity. Took me less than a day to get to grips with despite never having done any 3D modelling or game programming before. Put together this tutorial aimed at other devs who want to give this a shot. Any questions or problems, please let me know
Thanks for sharing! Lots of great information in here. I've been a hiring manager for a role more than once and I can attest that it's all true. It would be nice if more people made CVs as easy to read as the tips here would produce. I even picked up one or two new ones for my own CV :-).
Samaritans pulls Twitter suicide-prevention app
That really depends on the hiring environment you are working in. Right now, in most of the tech centers around, it is an employees market. This is not always true and it can be different for different tech centers, technologies, and employees.

So sure, while this is working for you right now, keep it in mind in the future when this bubble bursts.

I do find it interesting that an adult with professional career in the western world doesn't own at least 1 set of "professional" clothes. What do you wear to weddings and funerals?
Polish cryptographers in England during WW2 were massively, massively vulnerable to coercion by Axis agents; they had family and friends in Axis-occupied Poland, and the Axis powers were not at all squeamish about murdering Poles. Even that aside, it was impossible to do any kind of security review of them as all the information about them that was needed had either been destroyed by the German and Soviet invasion of Poland, or was in a records office in aforementioned Axis-occupied Poland.

Considering Polish cryptographers in England a security risk wasn't sickening; it was sensible.
It loads a json file [1] that contains the co-ordinates of the tip of each point and the corresponding image. It uses this to create a Voronoi diagram [2] using a "custom Javascript implementation of Steven J. Fortune's algorithm" [3].

[1] http://www.pointerpointer.com/gridPositions.json

[2] http://en.wikipedia.org/wiki/Voronoi_diagram

[3] http://www.pointerpointer.com/js/rhill-voronoi-core.js
User Experience Is More Important Than Your Boss
I think pinky+index feels more natural for ctrl-c
Thanks to everyone for checking out our little project. It is very much a work in progress. We released it because we are excited about it and knew that the open source community will only help to make it better. Let's make something awesome together!
Good, if a company deals with a recruiter that dumb, imagine the quality of the rest of the staff you would have to deal with!
> Ok, you have to do your job and check their photos

Why do they have to check their photos? That's private property.

In the UK and US at least, you do not need to show your photos to a person that tries to detain you, and you do not need to delete any photos. If you are arrested and charged with a crime, then they can inspect the photos as evidence, but not before. They still are not permitted to delete any.

Also, in the UK if someone who is not a police office tries to detain you (and this includes security guards and PCSOs), then they must be relying on the law of citizen's arrest, which means that they must have seen you in the act of committing an offense that could be tried at a crown court - in other words, something worthy of half a year or more in prison. If they have not, then they are liable to prosecution for false imprisonment and may have to compensate you.

Not a lawyer, by the way.
If you didn't tell the applicant ahead of time not to wear a suit, it was your fault he wore one. Being dressed in a suit is the standard in the professional world. Just because you (and I) work in an environment that doesn't conform to that, doesn't make the applicants judgement suspect, it makes our worldview skewed and we should be prepared for that. Further, it is common courtesy to tell an applicant not to bother with a suit, just in case it is in the back of their closet gathering dust...
Thanks for your feedback re. drag and drop. We're looking for all the user feedback we can get, feel free to make use of the community forum as well: http://community.warewolf.io
Thanks again
No ad blocker here (Win 8/Chrome) and it won't work for me either.
Sharing videos directly to Instagram with a URL scheme
Very recently in Baltimore, MD, USA, a woman's abduction from an empty street was caught on video. A couple days later, her bank card was used in another city to withdraw money. The video from the bank, along with the video from a nearby gas station helped identify the captor and save the woman.

http://www.baltimoresun.com/news/maryland/baltimore-county/t...

Edit: Earlier story with original street video:

http://www.baltimoresun.com/la-na-nn-reward-abducted-philade...
I think the slides could use some dressing up.

What's the Perl scene like in the UK? As a former Perl professional, I'm continually not impressed by the caliber of some of my colleagues. I've actually left for greener pastures.
Perfect timing. Was just reminiscing on the bbs days last week and punched up the documentary 'BBS' from Jason Scott on youtube.

Good times.
PyDev of the Week: Brian Curtin
It's true! We need to get this piece right.
Thanks for your feedback.
Yes. I've seen attempts to exploit bash via http headers (the headers them selves). Like so:

GET / HTTP/1.1\r\n
Host: () { :;}; echo vulnerable\r\n
User-Agent: () () { :;}; echo vulnerable\r\n\r\n

So even static servers could have been vulnerable. I'm not sure if your server was vulnerable or not, but I think you were definitely too soon with assuming you were safe.
Tips to use with students who like to argue
She did, however, dismiss them as being hardly important to what she does. This is the ever growing phenomenon of "I can too" that is growing in our culture. I love the fact that more people are becoming interested in programming! I am not so happy about the fact that people seem to shirk the fundamental need to learn that underpins programming (or computer science... however you want to label it). If a person has no interest in learning recursion and pointers, I am not so sure that they are doing their company or the people who have to work with their code a favor. Then again, there are a lot of know-it-all programmers out there whose personalities are so grating that talking to them is an absolute slog.
Here's the prettier link to download: https://www.mozilla.org/en-US/firefox/developer/
The Creative Pragmatist vs. The Creative Perfectionist
You're optimizing the wrong thing if you're looking outside of the human mind. Change the behavior surrounding our desires and happiness and you solve many of these problems.

You might say changing the way our minds work is very difficult, but surely it's easier than attempting to create an impossible utopia.
How Apple Uses Static Class Methods, What's Cool and What's Not
On slide 16:

Shows you actually care about programming

I have yet to meet an employer that is actually looking for this. Caring about programming only gets in the way of the atrocities my employer needs me to commit to make things work. Now. One of the differences between academia & real life, I guess.
I've been long fascinated by hydroponics. I've watched similar companies launch for the past twenty years. The economics simply aren't there. When similar projects shared their numbers the yields they project are unrealistic. Or their production quickly exceeds the small market willing to pay a considerable premium for a better product.

The numbers work, sometimes with flowers yet these guys always try growing lettuce or tomatoes.
If you've ever fished for a living, the argument seems ludicrous.

Fishing can be treacherous work. You might get rich with a big haul or die when the whether turns bad.

There are many factors, enviromental pollution, ecosystem changing, etc. It's not unusual for these small local fishermen to have very very bad years. And it's not just small outfits that hit tough times, do some research on the tuna industry and decline in tuna population.

Reality doesn't always go along with our cozy zen story. We haven't even mentioned the fact that turning your hobby into a job is quite often a very bad idea.
To be clear, the vast, vast majority of such cases are against corporations, not individuals.
All Dressed Up for Mars and Nowhere to Go
Auto Generate Vagrant Definitions from Chef Solo JSON Nodes
This video explains about Voronoi Diagrams if anyone is interested https://www.youtube.com/watch?v=90NsjKvz9Ns&index=2&list=PL3...
Thanks for your feedback.
We'd really love to harness your experience if you're willing to try the application. You can get a compiled version at http://warewolf.io or get it directly from GitHub https://github.com/Warewolf-ESB/Warewolf-ESB/
Sometime I wonder about the "meaning of life", but the real question is "what is the purpose of civilization?".

Cynics could argue that civilization is like a cancer, thus we should make sure civilization grows as fast and as big as possible to survive a cataclysm or to make sure one's country wins a future war.

That's the only argument to have higher standards and incentives to be productive, just so that society can be fatter and faster. There is no incentive to be happier at all when you want to be the strongest. Modern, developed capitalistic societies is just about scoring money. You just can't be happy in a society like this, because everything, to economical policies to the customs, are now made towards bigger faster stronger.

Sometimes it seems that the poverty and the crisis of the 30s scared one generation, and set a whole mentality of never being poor and unproductive ever again. Economics and scoring are now the highest priority. We're not individuals, we're just scores.
I noticed the logo loads slowly and it actually loads a huge x1024 image https://mdn.mozillademos.org/files/9069/firefox-dev-ed_logo-...
Just remove the individual metric. We know they don't work.

Incentivize the entire company for the success of the company. Pay people fairly in an uncomplicated way. Align all the incentives and don't reward anything that is not directly connected to the clear and well-communicated success of the company.
Experience: A wonderful night dancing with a beautiful woman.

Now add and subtract money and it's a very different experience even if everything else stayed the same.

Compare walking down to the beach on a Friday afternoon after work and taking a week vacation to fly to that same beach and spending your last Friday evening walking around.
There's a linux version as well, it automatically gave me the tar ball.
I would prefer to live in a society that was 100% supervised, if the laws of the society were sensible.

Unfortunately, our society, where people can be denied tourist visas or arrested because of twitter jokes, where pregnant women can be charged with attempted murder (of the unborn baby) for falling down the stairs, where police can enter homes to remove "illegal" advertisement on your window or to arrest your 12 year old daughter who was downloading movies, is not sensible.
For those not liking the dark UI, you can switch by opening the dev tools, clicking the gear icon on the right and selecting "light theme".
World's 'first' bungee jump captured on film
Ukraine bans payments with Bitcoin
Mozilla Releases the First Browser Built for Developers
Why Our Business Uses Slack
Cool, thx.

[edit]
How is "enough" measured? Is there an absolute number? Or some ratio of evaluating flagged comments/stories?
While the article itself was interesting (if not at all surprising), one thing that really caught my eye was the reference to 1 Bessborough Gardens.

There are few references to it online, other than a planning permission application [1] mentioning five roof-mounted satellite dishes and an oil fuelled generator, and a mention [2] that the property was bought by investors in 2006 for £45m and leased to the government.

I wonder what it's used for and why it's such a secret.

[1] http://transact.westminster.gov.uk/CSU/Planning%20Applicatio...

[2] http://csbgroup.co.uk/index.php?page=history3
I actually think it's simpler: create a special kind of tort citizens can bring against police departments for illegal policing (or other crimes against citizens) which is funded (at least partially) out of the bonuses of the officers in question, and their supervising command staff, all the way up to the chief (regardless of direct command staff involvement, as an infraction against citizens is a sign of negligence); restructure officer pay by cutting it to 60% of the current value and giving them 50% back in bonuses, which can be phrased as a 10% raise; require that any officer which loses their entire bonus for the year through this mechanism be dismissed for being a liability and not be rehireable anywhere in the state. You'd probably also want to add in a law that created a special crime (or even just enhancement to suit damages) akin to evidence tampering for failing to create, lying in, losing, or damaging police records once a suit has been brought or is brought later and it's discovered those records were tampered with or negligently handled. (You could probably even tack in a requirement that police departments not hire officers which are fired from other precincts or who resign within X days of a scandal or as part of a settlement to that scandal.)

Enough states have initiative laws that you could probably pass it based on popular sentiment. In the state I'm from (WA), the legislature requires 2/3rds vote to change an initiative within the first 2 years. This provides enough political cover for inclined state legislators to support it, as all they have to do is do nothing because "the will of the voters". It's also politically dangerous to overturn an initiative within those two years, because it's going to be phrased by the press as suppressing the "will of the people" or what have you.

This structure is actually how many of us are paid (a base rate, a bonus for a good job, and being fired if we can't do the job right) and only requires that the majority of voters think we should hold police accountable for crimes.

I don't think all police officers are trying to be bad people, but I do think that the system is set up where they're basically forced to join in conspiracies to commit and cover-up crimes against citizens.

There are, however, lots of little ways we can change the system to make it more reasonable and punish bad actors.
I've had fun running a Terraria server for 2 people on it. TShock server via Mono and some optimizations and overclocking. Runs fairly well to be honest but looking beyond that I agree it is just too slow to do most things I want to do.

I've had my eye on something along the lines of: http://www.hardkernel.com/main/products/prdt_info.php?g_code...

Quadcore, 2gb of RAM for 65, seems like a nice step up from the Pi.
A large company might have an HR department that is insulated from any of the 'technical' branches that company might have. Imagine if they had to have all sorts of knowledge about what every individual branch of the company does? It's their job to be gatekeepers that make sure the people coming in for interviews are not raising any red flags, further along in the hiring process skill will be determined.
Copying one of the commends:

”The poor are collectively unseizable. They are not only the majority on the planet, they are everywhere and the smallest event speaks of them. This is why the essential activity of the rich today is the building of walls — walls of concrete, of electronic surveillance, of missile barrages, minefields, frontier controls, and opaque media screens.“

— John Berger “Ten Dispatches About Endurance in the Face of Walls” (October 2004)
> make sure no variable names are substrings of other variable names

Did you miss the point about gorename's type safe renaming? It understands that pkgfoo.Bar.Baz() is different than pkgbat.Bar.Baz(). So you can safely tell it to rename one, and it won't touch the other. And yes, it'll rename everywhere that was referencing the old name and fix that, too. Now I'll grant you that older refactoring tools were mostly text matching, but the fact that the std lib ships with a go parser and AST library means that anyone can write their own code parsing and refactoring tools.. and people are.

> what you're showing here is called "polymorphism"

I don't really want to argue about what counts as refactoring... what counts as "external behavior" depends a lot on how you look at a problem. To your customers, the CLI may be your external behavior, for partners, it may be your API, for the developer in the next cube, it may be the exported variables on your package/class/whatever.

I'm not sure what you would count as qualities that make code easy to refactor. I like Go's implicit interfaces, nice tooling, and static typing to help make sure I'm not shooting myself in the foot. I honestly would like to hear what language you think is easy to refactor and why.
It's a good point!

We wrote a blog post on a similar thing: http://warewolf.io/ESB-blog/6-reasons-take-software-open-sou...

All in all, we like the open source approach - it's a great win all round and seems to be the future of tech.
We're working on this right now in #mdndev on irc.mozilla.org
So somebody used shellshock to break in, then plugged the hole to prevent others from accessing the server, and is now using your server for... whatever?
That's exactly how enforcement of federal crimes works. The money goes to the Crime Victims Fund [0], which is then disbursed to services that support the victims of crime. It's a remarkably well-run federal program.

[0]: http://ojp.gov/ovc/about/victimsfund.html
> I think the slides could use some dressing up

Specifically?

> What's the Perl scene like in the UK?

"Candidate driven", which means: there's a lot more demand than supply. Mostly London centric. Good roles tend to be in mid-sized companies with large existing Perl codebases rather than startups (who often choose something a little trendier) or huge corporates who rewrote everything in Java 5 years ago[1].

[1] Or, tried to, but there are still pockets of Perl everywhere that no-one ever got around to rewriting. See: Amazon, the BBC, etc.
Intentional meaning her toying with me to test my stability ? Any way I failed hard, I was in a bad place and immature. Of course I would do everything differently. Acceptance of the game instead of anger.
What a terrible article. It has no point whatsoever.

Worse still are the comments, featuring gems such as:
> The terrorists of our world must be patting themselves on the back. This sort of “mentality of fear” is precisely what they are working towards and we are playing right into their hand.
And much of that precedent is from the New Deal era.

http://en.wikipedia.org/wiki/Commerce_Clause#New_Deal

Edit: In the case you posted, I think this excerpt from Justice Thomas' dissent sums it up nicely:

If the Federal Government can regulate growing a half-dozen cannabis plants for personal consumption (not because it is interstate commerce, but because it is inextricably bound up with interstate commerce), then Congress' Article I powers – as expanded by the Necessary and Proper Clause – have no meaningful limits. Whether Congress aims at the possession of drugs, guns, or any number of other items, it may continue to "appropria[te] state police powers under the guise of regulating commerce."
My understanding of the research is that there is a point at which more money doesn't increase your emotional happiness (i.e. the amount of joy minus the amount of sorrow in your life), but that point is considerably higher than not-starving-and-not-homeless. I think you have misread The Happiness Hypothesis
Some are more equal than others
This is a well known design flaw in Windows. Apple on the other hand goes to great length to keep the illusion alive. They would rather de-priortize non-visual tasks if it means providing more power to finish ex. some animation.

Animation is a science in it's own and even small unobtrusive cues can mean a world of difference.
> In case a frequent switching happened, what would you
> like to see in a resume?

It wouldn't be insane to put a leading paragraph explaining why you'd moved around so much.
Drug war hysteria may have given us this wave of robbery, but it's sustained by law enforcement's realization that they can, and (IMO) by political unwillingness to raise money for operations through legitimate taxation. "Read my lips, we're taking your car."

Q: Why does a cop take your car?

A: Because he can.
The concept of "privilege" is not a reality, it's one subjective way of looking at reality; one that most people don't subscribe to. This is an important distinction that is all too often forgotten.
If only "Minority Report" actually existed, eh?
That's great. Now if everyone else could have an up-to-date, experimental-feature-activated browser, this would be useful.
There are new features (tools adapter, side-by-side profiles, compact theme, developer-friendly default preferences).

But what's larger than any of that is the change in Mozilla's policy / conception of the pre-Beta channel. This is very much a v0 offering, of course, but it's an indication that we genuinely want to take developer feedback seriously and co-design this with you.

We've given ourselves the freedom to ship tools into Developer Edition that aren't yet ready for Beta. We're willing to change the browser's appearance and defaults specifically for a web developer audience.

If you have feature requests, please submit (or upvote) them on UserVoice: https://ffdevtools.uservoice.com/forums/246087-firefox-devel... the DevTools team actively monitors and responds to requests there. Your ideas will get seen, and now, we have even more freedom to actually execute on them.
The people you visited probably had nothing but the best of intentions. But to expect all those other thousands with similarly elevated privileges to behave similarly as such would be..short sighted indeed.
It needn't be bad, even. Pointing out a bug in the comment field is somehow "negativity", while working through the bug tracker of github is "constructive".

In this case one could say thank you for the input and register the issue oneself, if the project was dear to ones heart.

I wonder if it is a product of young developers being told to build a public github profile, that they are increasingly careful about?
I agree, it's a legitimate question. I tried to search for a bunch of them on TinEye to see if I could find some original source for any of them that might indicate a licence, but none of the ones I tried came up with any results.
Yes, I put a link to my Github on my cv, and it was never mentionned - my Github doesn't have anything really interesting though.
This exploit only works if bash is called at all during the handling of the request. This is typically only the case with CGI scripts, or when the requested application does a system() call or directly calls out to bash
fixed fine, variable means to pay, interests me.
Not to mention that fact that it's hard to imagine how jury nullification could be constructed to return the property to the accused.
Should be all set now.
Open-code: French recipes in order to learn how to code
You may want to look at some of the boards based on the AllWinner SoCs, like this one:
https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-...

AFAIK none are currently cheaper than the RPi, but they're close and you get a lot more features along with a faster (dual-core, even) CPU.
Nobel laureate Martti Ahtisaari negotiates a historic truce in Angry Birds world
Well yeah, but if you successfully do it for 50 years, are you a bad driver or are you just competing in a racing league? Again, my point is, it's not "clear".
But then we'd no longer be human...