skysight-inc/HackerNews huggingface dataset:
Best quote from the entire article imho:

> The data suggested that the success of teams had much less to do with experience, education, gender balance, or even personality types; it was closely correlated with a single factor: "Does everybody talk to each other?"

> Ideally this talk was in animated short bursts indicating listening, involvement and trust – long speeches generally correlated with unsuccessful outcomes. For creative groups such as drug discovery teams or for traders at financial institutions, say, the other overwhelming factor determining success was: do they also talk to a lot of people outside their group? "What we call 'engagement' and 'exploration' appeared to be about 40% of the explanation of the difference between a low-performing group and a high-performing group across all the studies," Pentland says.

> It was important that a good deal of engagement happened outside formal meetings. From this data, Pentland extrapolates a series of observations on everything from patterns of home-working (not generally a good idea) to office design (open and collegiate) to leadership. "If you create a highly energetic environment where people want to talk to each other right across the organisation then you have pretty much done your job right there."

So true.
Upcoming Developer Conferences
> Ridiculous title if I understand it correctly.

It's on the BBC. Based in the country that gave English to the world. For an audience of mainly English/British readers. 'Ridiculous' could be seen as a slight exaggeration, no?
Regular radio does this. There is a bonus if your music reaches a certain level. At 25,000 performances, it is 1.5x the base rate and goes up to 4x.
Well not feeling the same. At first it was ok but now in the mails I get the 50 answer to "what are good advices for a good life?" And the nth reply on topic China by a user who regurgitates the western party line that I know already, in the same time and depth that you'd have in a newbie backpacker bar near the most spoiled tourist spot in Thailand.
419 Eater – The largest scambaiting community on the planet
As someone in the job market right now, I'm refreshed by the article's admission of how much chance plays a role in whether you land a job.

I'm currently working on my CV and there's about as much conflicting advice as to what the 'ideal CV' is as there is about what the ideal diet is. It's somewhat frustrating but at the same time it just shows the amount of chance and variation involved in the whole process.

At least in the industry I'm going for (games / Unity3D for what it's worth), actions & side-projects seem to speak louder than words.
There is a side of HN that loves whining.
I'm a tea junkie myself, although unlike the pretentious tea junkies I don't pretend to be insulted at the sight of a teabag. I'm ok with the normal bitterness of the tea; what troubles me is that it does occasionally happen that I drop the bag or the leaves in, start debugging, and twenty minutes of how the fuck does this even compile later it suddenly dawns on me that FUCK I'VE BEEN STEEPING THIS FOR 20 MINUTES THIS IS GOING TO MELT MY TONGUE.

Mate doesn't suffer from this inconvenience. I just pour the water and forget about it, refilling it when there's no more of that sweet liquid and tossing in more leaves when that liquid is no longer sweet.

Edit: that being said, your tip about adding a drop of honey is spot on! I also like my tea a bit overstewed and adding a splash of honey does take the edge of a little if I push it too far.
The post somewhat misses the point of the title ( or I did overthink it). The anecdote is interesting, but not exactly a example of a arguable compiler bug. On the other hand, I think that The compiler is always right is a rather good general guideline for programming.

There are three models of programming [1] involved in programming, the one in the head of the programmer, the language specification and the one in the compiler. To look at them individually, it would be nice if the first one is right but of course it is pretty much by definition wrong. (Until we finally have the tools to program via telepathic link.) The second is the language, which should be the authoritative one. And the one in the compiler, which for pragmatic reasons wins. This is of course just a complicated way of saying that I am usually more interested in working code than in the standard.

[1] Here understood as the correspondence between source code and program.
The relocation mechanism is used for either pic or non-pic code. If parts of your code reside in different compilation units (.c files), there need to be a way to tell the linker how to jump from one to the other, even if the final program will be run at a well-known static position in the address space.

Of course, when compiling -fpic versus -fno-pic, different types of relocation information will be produced, and the compiler might produce different instructions for branching. And unresolved symbols will remain in your library to be fixed up by the dynamic linker. But relocation entries will be produced for either case.
Yes, it's an optimization, it'll just make the common case (include guard) faster, without breaking anything.
Yes, if you're talking about using Exact Audio Copy to rip to FLAC once.

Otherwise you'll still be left with a whole bunch of fragile and physical plastic discs that can only be played on specific ancient devices...
What use is an sshd that doesn't support SCP? I think to most people that is a core feature, I'd be surprised if it wasn't a requirement for git for example.

It sounds like it's small enough perhaps for a direct port to a safe language like rust, that would be interesting (to me at least).
To my knowledge, Anatolia is not a strictly historical region. So one can also say that Turkish is the majority language in Anatolia. Now you have the problem with people not knowing what Anatolia is, on top of the possible confusion between the Turkish language and the region that belongs to the Republic of Turkey today (Anatolia).

The title doesn't reference the Turkish language. If English, or the family of languages it belongs to, didn't originate near the British Isles, why would one readily assume that the Turkish language (or its family) originated in, and always belonged to, the region that is today known as Turkey?
I'm not a regular interviewer but I've been on a panel for a few recently. For one job in particular the standout candidate on paper gave the worst interview I have ever seen.

He was arrogant, confrontational, couldn't answer simple questions and was half an hour late - and not apologetic at all. He was just weirdly and inexplicably unpleasant to everyone.

Perhaps he would have been great in some role or would have aced a psychological test .. but I'm glad we did an interview so we could reject him out of hand.

I'm sure there is a place for widespread empirical evaluations .. but ultimately if you are employing someone to work with you there has to be space to say: "Err, No! - I don't care what the computer says".
I'd be interested to see whether it works out better for the artists if they were to remove their music from streaming services but offer it free to download on their website one change for an email address. If they have to make money through merch and concerts then a direct line of communication to their fans might be better than the pittance they receive from streaming.
" Procedure names should reflect what they do; function names should reflect what they return." - Never thought about naming this way, but is what I do (:
I think that js_of_ocaml 2.0 added support for compiling mutually recursive functions using trampolines. So that compiler is back to being right again.
> I don't think this generates true random numbers.

I'm interested in what makes you think that. If you could predict the precise course of electrons through a reverse biased pn junction, I would have thought that would be a breakthrough in quantum mechanics worthy of the Nobel Prize in physics.
Posted as a response to "Scammed".

This site contains a lot of stories as well as a brief on ethics amd, -ahem, basic HSE info for people wanting to get involved.
> I'm not sure if I'm reading this correctly, but this seems like a strange false dilemma.

The conversation is more complicated than you realize.

At level 1, there exist many parents who, for whatever reason, purchase gadgets for their kids as a means of distraction. Video games, cell phones, etc. This is generally a result of poor decision-making and life circumstance. (Mother died and dad is trying to pick up the slack; hospital bills crippled their finances and they're exhausted after coming home from their third job; work is more important, they weren't really interested in having kids anyways; etc.) Really, this should be level 0, but the exact reason isn't relevant.

At level 2 is people like ausjke, who look at this and see a lot of kids who are utterly absorbed and addicted. They respond to this by swinging the pendulum as far as possible to the other side. Don't be like those kids; they make their parents look bad. To an extent, they have a point: LED screens are very captivating, no matter what's playing on them. But at the end of the day, it's an overreaction.

At level 3, you have angersock, who can see as far down as level 1 and blames the parents. They're not wrong, per se, because the issue at hand is at level 2. If parents paid more attention, then the kids would play in moderation rather than excessively. It tends to be unheard because people at level 2, like ausjke, are pretty self-righteous about how they themselves have parented or were parented.

But as ausjke says, there is a surprisingly good analogy here in drugs. That is, the problem with drugs has nothing to do with drugs and everything to do with societal demonization, power struggles between classes, poor legislation, and economic consequences. He says we ought to blame the drug dealers, but he never asks where they get the drugs and more importantly why they bother at all.

It's a conversation that's been tread over and over and over again. It's not a false dilemma; it's a call-and-response routine.
> Will this big data be turned around to the company, so employees can see what sort of place the company is?

This sounds like what Glassdoor does. Even small local companies get reviews on it.
Avalanche effect from shot noise is quantum noise.
Soccer Fans Celebrate With Flares | CRAZY MOMMENTS  
Video of Soccer Fans Celebrate With Flares Goes to Viral. I'm actually surprised any time I see a soccer match not end in fire.
I am not talking about include guards, rather macros that affect the outcome of specific file.

It is not a very clean way of coding, but there are many enterprise developers that provide files without include guards and include them multiple times.

An example would be generic data structures in C done with macros.

#define DATA_TYPE int
#define DATA_NAME intList_t
#include <list.h>

typedef struct { /* ... */ } Node;

#define DATA_TYPE Node
#define DATA_NAME nodeList_t
#include <list.h>
The article is pretty much a hack-job.
Logic 1: the state is funding 10% of your acquisition of a car, thus the state is subsidizing the car seller.
Logic 2: the car cannot drive more than 200 miles, thus it is useless.
I am amazed that Forbes published this.
Shot noise that causes avalanche effect is quantum noise.

The problem of generating quantum random numbers is same as with optical device: removing all other sources of noise.
How To Really Listen
How do you force the file to be re-read multiple times when the outcome is not idempotent?
New Semi-public profile concept in social media
Business Hotel Budapest Sofia
Budapest Hotel is situated close to all state institutions, restaurants and shopping malls in the central area of Sofia. Its strategic location is very convenient, giving shortcut to main public transportation point. Sofia airport is 12 km away, while central Bus Station and Central Railway Station are walking distance located. Budapest hotel offers 63 contemporary equipped rooms in 7 floors, lobby bar and the elegant Budapest Restaurant.
This article defines a "quantum random number generator" (QRNG) as "a device that exploits the probabilistic nature of quantum mechanics to produce a sequence of entirely random digits" and claims that QRNGs are "complex, expensive devices".

Firstly, people have been building RNGs from web cams and radioactive sources cannibalized from smoke detectors for years, at a total cost of less than $100. Radioactive decay is a quantum process so it seems fair to describe these as QRNGs.

Secondly, the smartphone camera-based random number generator (SCRNG) described in the article/paper does not appear to generate its random numbers from quantum-level events (i.e. the emission of individual photons). The classic model for quantum cryptography uses a half-silvered mirror to create a quantum state by introducing uncertainty over whether an individual photon has been deflected or not. The SCRNG is not observing individual photons. Instead, it's using the variation between the observed number of electrons that are generated as a result of exposing the camera to a light source, and the number of electrons that the light source is expected to generate. Because the variation is random (i.e. the entropy is high enough), this generates random numbers but I question whether it's really a QRNG.

Disclaimer: I am not a physicist so I could be wrong. In fact, the question of whether I'm right or wrong is currently in a quantum superposition, pending "observation" by someone who is suitably qualified to determine whether I'm right or wrong. ;-)
This is a big point. The internet probably has a million systems that have a regexp somewhere listing all the top level domain names that were valid at the time, and half of them aren't maintained and will stay broken forever.

That being said, email validation needs to check for trivial issues (i.e., have you entered a non-empty string? does it have a @ somewhere?) and the proper validation happens if a verification email gets delivered or not.
I am wondering how long it will be before people stop making interfaces for such projects with things like switches.

A lot of people would nowadays not think that way. It would be easier for some to write an 'app' for their phone/tablet, use wifi and some board that was a computer in its own right, e.g. a Raspberry Pi. Despite things like wifi being unfathomably complicated compared to a 'simple' carrier wave with some amplitude/frequency modulation (radio), the older analog ways are just too much physics. There might come a time when wiring switches to a PCB becomes as quaint as using valves instead of IC's.

After watching the video you almost feel sorry for the cardboard tank, much like how you might feel sorry for a squirrel missing its tail.

'Cardboard tank accidentally drives into inch deep puddle' would be a YouTube sensation (cruel...).
Or he took one look at the place, decided he (or she) did not want the job and tanked the interview.
Had Apple bought Be instead, the outcome would most likely be completely different.
See also an older proverb to the same effect: "SELECT isn't broken"

http://blog.codinghorror.com/the-first-rule-of-programming-i...
http://pragmatictips.com/26
walk is actually a bad example for words that don't change as it changed quite a lot in meaning.

http://en.wiktionary.org/wiki/walk#Etymology
I stopped at "collecting the data of all our private moves on the internet and applying their logarithms accordingly." Apparently programming is all about writing logarithms.
How do you trivially construct `n^2-1 = (n+1).(n-1)` ? I feel like I'm failing at basic algebra here, but I don't see it.
Nontrivial knots don't exist in 2D, so not really.

Something almost analogous is if you imagine two circles: one smaller and one larger in 2D. Let's say the smaller circle is inside the larger. It's impossible to move the smaller one outside smoothly without intersecting the larger.

In 3D of course this is trivial, just move the smaller circle up away from the 2D plane, then over the larger one and down on the plane again.
As an owner of 4 ThinkPads, I agree their quality has decreased significantly. But I'm still locked into them because no one else offers me a TrackPoint. I very strongly prefer a TrackPoint to any trackpad, so while other manufacturers don't offer them, I don't even look at their laptops... (I'm aware that Dell does have a couple of TrackPoint models and I will look into them when I have to make my next laptop purchase).
Do not think the compiler is wrong. That's impossible. Instead... try to realize the truth. What truth? There is no compiler. (for non-compiled languages)

For compiler authors, it's the other compiler that's right.

I have to admit the only time I ever thought there was a compiler bug, there actually was a compiler bug (javac). Same for hardware bug (on aligned memory). And a standard library (in C++). I think it's because when I go through my code I can tell if my understanding is clear enough - and don't look elsewhere until it is.
It's an SSH server. If dealing with simple cases of more than one statement on the same line is the worst bit of auditing it, it is indeed an easily auditable SSH server.

(Not that I would have written either line that way, mind you. But there's no real challenge understanding them.)
well I was going off stack overflow

http://stackoverflow.com/questions/20613817/julia-julia-lang... where even with hand tuning the Julia code its a lot slower than Fortran.

I as thinking of large scale CFD work ie simulating two-phase flow in a nuclear reactor or a simulation of airflow over aero systems - which is where I suspect that job I mentioned is based.

Must have a look at Julia after I have finished teaching myself Java (Spit!) for hadoop
Reading, Writing, Arithmetic, and Lately, Coding
Most big companies were around for a long time before Bootstrap/foundation even got started. Guess which company had existed for several years already before Twitter Bootstrap came out? If the had perfectly good in-house CSS frameworks, there's no reason to switch to Bootstrap.

Bootstrap is a cookie-cutter framework, it is significantly more bloated than in-house frameworks that are tailored to only have code for the things you need (assuming you have competent devs). The same applies for performance, modularity, and extensibility.
Well of course real programmers can do anything in Fortran :-)

I wrote billing systems for a major Telco which where mostly Fortran.
There's no guarantee that a particular company was able to grab their own .com anyway. Remember when people looking for Python would go to python.com when it was a wholesale porn distributor? Or when whitehouse.com was a porn site?
There is a lot in common between fashion and interior design
Use this as a poor man's scp:

tar c path/to/files | ssh host tar x
Is there any system for discovering games in a specific niche? I agree that a large issue is games are placed in one of 10 - 20 categories and there are no ways to niche down to find types that you'll enjoy.

In say music you can go into say the metal genre and find all kinds of super specific niches like death metal, viking metal, black metal etc each with their own hardcore fan bases who you can appeal to and target on sites specific to them.

Gaming doesn't have the same niching and with the explosion of indie and mobile games it really needs it. I for example love multiplayer sim games (anno series) and multiplayer tower defense games (tower wars, sol survivor) and instantly buy any games in these genres that I hear of (I bought a 4 back of sol survivor and 3 pack of tower wars as soon as I heard of them).

Now that I'm developing my own multiplayer tower defense game (http://www.towerstorm.com) I'd like to reach others like me who enjoy this genre but am finding it very hard to do so. I either have to market it to the masses or reach out to specific people via social media.
It's pretty unlikely that list.h would have a trivial include guard, so I don't see how the above optimization would break it. An include guard in list.h would prevent you from using it properly with or without the optimization.
Yep, I researched the options thoroughly.

I like that mapbox wraps it all up, clearly documents it and provides it at a reasonable cost, to me that is a value added worth paying for is all.
Oracle v. Google, a mitigated disaster
And they won't accept it because they didn't expect any dashes in the domain name!
MultiCore Arduino for more Arduino and Raspberry Pi Interfacing
What a nice hack: a MultiCore Arduino board, that enables an almost unlimited number of virtual peripherals.

Plus, it's a low cost FPGA board for a lot more fun in- and outside the Arduino world.

Cheers, Tobias
Your tinfoil hat is on too tight.
(n+1).(n-1) = n^2 - n + n - 1 = n^2 - 1
i think in this context, the author is referring to mainstream (gnu, ms, intel) compilers, that are very mature and have thousands of tests that they must pass to be eligible for release.

writing a compiler is tricky, and it is almost an absolute certainty that it will have a bug :)
IOS 8 Wishlist: Siri enhancement
Agile Development leads to Alzheimer's
> The labeling feature would be handier if I could tag/label sets of tabs.

You can! Instead of tagging each tab, you can rename the containing window's "Window" text, as if it was a manilla folder. Windows can also be contained in (named) Groups, allowing for hierarchical categories. Bottom-up tags can be accomplished by adding a note as a tag (I like using #hashtags to differentiate from plain text). In terms of retrievability, Ctrl+F doesn't discriminate!

> the clean-out problem: it's a goddamned pain in the ass to go and sort through the stuff you've tossed in there and clean out the junk.

I forgot to mention a workflow video for that: https://www.youtube.com/watch?v=VvlK1ttZ3dI

The dev has mentioned elsewhere that this extension is not (yet) designed to organize, but rather to get a handle on the tens/hundreds/thousands of tabs one may have open. It's done it so well that I have a lot of ad-hoc 'fuzzy' categories and random notes inside my outline I would love to be able to manipulate and build into a grand scheme or other. To use an analogy, it's like a great grafter/sieve to separate the wheat from the chaff, but there's no cooking oven.
This Week in Science
Tell HN: Call your mom
Programming, gaming, startups, and other nerd activities can get pretty involved, so it's good from time to set aside time for your parents.

Today is Mother's Day in the U.S.

Get out of the zone for a bit. Call your mom.
You get those shitty publisher terms because the publisher has no idea if your game will be good or not. Why would they commit to spending anything before they know what kind of revenue & retention your game will have?

If you release your game yourself to a limited market, prove it has good revenue & retention stats, then shop around for a publisher, you get much better terms.
Here's one absurd bug in Java that really surprised me:

Math.abs(-2147483647); // 2147483647

Math.abs(-2147483648); // -2147483648

When you know this behavior, it's kinda obvious why, but still...
It's none of your business whether or not anyone else calls their mother.
Must... resist... urge... to buy... penis.computer domain...
The Simple Idea behind This Mind-Blowing 3D Interactive Sandbox
We're all lovely people and we served nice coffee and delicious biscuits.
You said it pal... Kinda sad!
What are you even trying to say?

If such a resource indeed already exists, that is a bad reason not to link us to it.

If such a resource does not already exist, what you say is a bad reason to dissuade someone (who might otherwise be inclined to) from building it.

It's a pretty bad reason to argue against its existence, all around.