skysight-inc/HackerNews huggingface dataset:
Ask your revision control system what it thinks about that and your teammates when you submit a 500 line diff for review when a 10 liner would suffice. That's only marginally better than someone checking in a diff when their editor converted tabs to spaces or vv.

Whitespace edits are the code equivalence of wikipedia formatting changes to increase the number of articles you've worked on without actually contributing anything.

Also, if you think that is easier to read you are actually setting yourself up by being deceived by formatting because you'll be skipping bits based on assuming you know what they say. Those are hard lessons to learn but the best way to understand a new piece of code that you're reading is not to read it like a book but like a machine, with a pencil and a notepad tracing the values of the variables as you execute the code in your head (or on the paper if it gets complex). You don't need to run the whole program that way, just the sections that you feel are hard to understand.
"Now Mozilla and AdBlock extensions are modifying my code."

No they are not modifying your code at all. They are taking the content you provide to the public network and presenting it according to the choices of the person who wants to read your content. I believe that adverts on your pages are served from servers other than your own and I think that in general (perhaps not on your sites) people in different parts of the world will see different adverts when viewing the same page.

If I am having a slow Internet day (don't ask) I ssh into my shell account and use the links text mode browser. Am I modifying your code then? No, just using a rather odd way of viewing Web pages.
Bitcoiners don't use the devils money.
I read it and had the opposite reaction: Hungarian Notation is a sign that your type system is inadequate. Even in C you have a better alternative in the form of single-element structs.
Looks great, ive been using Putty Connection Manager since forever when stuck on Windows but its not being maintained for years.
I was really, really surprised when my wife and I moved to London, England 2 years ago. In rural Japan I was spending not much more than $10k a year (although I had subsidized housing from my job). To put it mildly I'm very frugal (and like living lightly). In England we were living in an admittedly nice flat in Watford, but I swear $40k would be tight. I think train fare alone for my wife and me was something like $12k a year. Rent, utilities and council tax was probably pretty close to $20k a year. Not a lot of room left for anything else.

We also had to budget for a vacation abroad so that we could see the sun ;-) (I'm only partially joking...)
judk is presumably referring to the APM program:

http://www.quora.com/What-is-Googles-APM-program
> I've hit my early 30s and I've started noticing that I'm far more prone to inappropriately replaced words,

Is this an example of that? Did you mean 'placed' or do I mis-understand you?
Ask HN: Why is it so hard to find remote jobs in Europe?
I read a lot about remote work - either sourcing from Hacker News and other media. However, what I see in practice, at least in Benelux Area, is that companies are far more interest in on-site positions than remote positions.

Why is it so? If the advantages of remote working are so clear - why companies still hire only on-site positions?
> As you age you might find you need more sleep.

This is very true for me, much to my surprise. I used to get by on 3 to 4 hours every night but that seems to have really caught up with me. If I don't get 8 hours minimum now I'm woozy the rest of the day.
>this reverse association could not account for the observed temporal correlations or the correlations with the severity of infection. Moreover, the correlation between infections and cognitive ability retained significance even after adjustment for other parameters known to influence general cognitive ability...which are also associated with socio-economic gradients.

Could possibly be both.
That would be a great opportunity to question your premises.

If nobody does what you have identified as the clearly superior way, either everyone is an idiot. Or you may be wrong.
Nova Linux 4

http://www.nova.cu/

Seems to be based on a Gnome Shell UI from a recent Ubuntu and would suggest reasonably recent hardware because Gnome Shell based UIs need acceleration (lvmpipe is dreadfully slow).

I'm guessing that is what the official cyber cafes are using.

Side note: In UK, cyber-cafes and Internet centres are found mainly in less affluent areas.
> The typeface is licensed exclusively to registered third-party developers for the “design and development of applications for the Apple Watch”. [1]

Cool. Another font for web designers to wrongfully assume I have installed on my system.

[1] http://en.wikipedia.org/wiki/San_Francisco_(2014_typeface)
And yet Hollywood studios would have you believe piracy is killing the movie industry. Furious 7 cleared $1.5 billion at the Box Office.
We've always had the best fast food - fruits. We can eat as much fruit as we want (most fruits anyway). They are super healthy, digest fast etc etc. Just peel a couple of bananas and eat it, takes two mins. Only problem is they are expensive. Here in NYC, a watermelon costs me 8 dollars at whole foods. For 8$, I can buy a ton of junk food.

Most food sold in supermarkets are optimized for storage and profit, not for health.
Personally I use Ghostery on Chrome right now but with this development by Mozilla, I'm inclined to switch. Feels good to use a browser with no corporate interests, and a simple feature to stop abuse of cookies by ~70% is just crazy. Too crazy to not be a built-in browser feature. Maybe I'm disrupting how news sites intend to work, but they're disrupting how the web was intended to work.

Anyway, ... I got sidetracked. I meant to say that what's even "funnier" is that if I disable Ghostery for some domain temporarily, the number of trackers usually skyrocket even further, since now the scripts get to run more scripts.

Yes, it's insane and honestly out of control.
One Clojure style guide actually recommends[0] certain single-letter names for input parameters: x and y for numbers, n for an integer, s for a string, f (and g and h) for functions. These are used in the clojure.core namespace, and their use elsewhere is thus (presumably) justified by a general common understanding of their meanings.

[0] https://github.com/bbatsov/clojure-style-guide#naming
I'm sympathetic to your point of view; in some cases it seems nearly impossible to rigorously exclude reverse-associations when there are so many complexities.

The authors respond to this objection as follows:

The finding that infections are associated with decreased general cognitive ability after a latency period might be an epiphenomenon and not a biologically-mediated relationship. For instance, a reverse association could have existed so that lower cognitive ability may be a risk factor for acquiring infections. Furthermore, studies have indicated that immune related genes might be implicated in cognition [34], and individuals with genetic liability towards a lower general cognitive ability might also be more genetically vulnerable towards infections. However, although a genetic or reverse association could have partly explained some of the observed associations, this probably does not account for the observed temporal associations or the associations with severity of the infection.

The association between infections and cognitive ability remained significant after adjusting for other factors known to influence a decrease of general cognitive ability, such as gestational age, birth weight [35], and having more older siblings (i.e. being later in a sibship), which often correlate with socio-economic gradients [36]. ..Nevertheless, the findings remained significant also after adjustment for an individual or family history of psychiatric disorders and substance abuse which could be associated with several of these unmeasured risk factors as well as socio-economic factors. Furthermore, the possible effect of maternal smoking during pregnancy should to some degree be captured by the included birth weight and gestational age in the adjustments. Moreover, there may be diseases that are associated with both increased susceptibility to infections and somewhat lower cognition (either the disease itself or its treatment).
it's not a conspiracy theory, in fact, it's probably already true.

https://www.schneier.com/blog/archives/2015/05/why_the_curre...

Chris Soghoian 5/180 or 3% of FISA orders are about this bulk phone metadata program. the rest: "other programs".
That is because meat, dairy, corn etc are all heavily subsidized, whereas fruits and vegetables are not.
Same here. And "buzzy" when I'm really sleep-deprived. It literally feels like low-level electrical interference running through my head and my thinking and focus are nowhere near as sharp.

It is like some sort of intoxication, which is fitting, because one of the things sleep does for us is clear toxins from our brains.
I just do a global search using my text editor.
The p-value (a function used for testing a statistical hypothesis) corresponding to these results was less than 0.001, indicating that the probability that the findings were due to chance alone (or that the null hypothesis is true) is less than 0.1%.

Actually, I think it means that IF the null hypothesis is true, there is only a 0.1% chance that we would get this much deviation (or more) from it due to chance. Which isn't the same thing. Still, seems like a significant result of course, but let's be correct about these things.
I am sure this fills a need. I've got a $20 phone on my wrist right now.
The way you realign your variables is inconsequential to the pain it causes your teammates (and potentially yourself) come time to look at the diff.

And yes, I know about git diff -w, but 1. not all tools built around git support it and 2. not everybody uses git.
Common Lisp Recipes: A Problem-Solution Approach
My guess would be viruses more easily pass the blood/brain barrier?
If they had, they'd probably be unenforceable in most jurisdictions.
An AbstractConfigProxyFactory is a base class or interface for creating factory classes that return configuration objects(possibly lazily - through a proxy object - in order to avoid unnecessary disk IO or network traffic).

Two cases where you might want different factory classes(and hence need a common interface or base) are a factory for 'production' code and a factory that only generates mock objects for unit tests.

Having spent 5 minutes trying to understand what this class might do, I disagree with your claim that the name is clear.
I vote for harder to read (and write), except when the variables are so tightly coupled that they should probably be in an array or other structure anyway.

But ideally this is something that should be decided by each developer's personal editor config, like tab widths for indentation.
That there is a plug-in that makes it easy does not make it right. If you're working just by yourself you can do whatever you want but teamwork takes a slightly different attitude when it comes to reformatting. It's all too easy to get into a whitespace war with someone else (and you'll both look so productive!). A good team member will change what is needed and will separate cosmetic changes and functional changes by placing them in different commits and will apply the style guide while doing so.

Tracking bugs through changesets is hard enough, no need to make it harder on purpose.
Oh. So it's stuff for people who can't read, I believe. Because most of sysadmin-type tasks are perfectly suitable for a short written manual or howto.
Yes, git diff -w is possible but it is not (unfortunately) the default (though I can see good reasons why it isn't).

Also, note that you can do the same in github:

Append ?w=1 to the url for the diff viewer and you'll get the whitespace ignored version.
>Did you know that VMWare pulled its funding for their 6 developers working on Groovy and Grails last March?
Because they shifted their focus to CloudFoundry only. This does not mean that Groovy or Grails are going to die.

>There might not be much more work or maintenance done on either Groovy or Grails from now on.

Yes. I am closely following grails development and you are true in this regards. There was no doubt a disturbance in community and even we were concerned about its future when we were in initial stages of our project. Right now, we are confident that this duo won't die anytime soon.

>Two of them got jobs as Grails consultants for Object Computing,

Good for Grails future as OCI has been providing grails based services in the past and is committed to grails future.

>two of them (one former Groovy tech and one former Grails) got jobs at Gradleware working on Gradle

Gradle being Groovy based is being used in Grails as well. Again it is good for the duo.

>one (the former Groovy P.M.) an unrelated job in France

How is restlet unrelated?
Good point on the apnea, which tends to come with age, especially if overweight. There are different forms and degrees that don't involve waking and gasping for air, but that could easily impair quality sleep. One sign is consistently feeling unrefreshed after a full night's sleep.

Also a good point about giving it a couple weeks. Chronic sleep deprivation can't be fixed with a night or two of "catching up".
> And "buzzy" when I'm really sleep-deprived. It literally feels like low-level electrical interference running through my head and my thinking and focus are nowhere near as sharp.

That's eerie, I have that too. Especially when it is totally quiet in the house. At first I thought it was because I heard the refrigerator, but I switched that off to rule it out. Then I powered down the whole house and the low humming remains. I'll have to try this when I'm totally rested to see if it goes away then, I never made the link to lack of sleep.
An article without much substance, just couple of figures and speculations but no deeper study.
Have you considered KiTTY? It's an actively contained fork of PuTTY.

http://www.9bis.net/kitty/
> To be honest it actually makes code cleaner and therefore easier to read.

It does not logically follow from the code being "cleaner" that it is easier to read. Having to scan across a field of whitespace to get to the number makes it harder to read and easier to make mistakes. Having the indentation of the number be unrelated to the length of the variable name adds another aspect that makes it harder to read and easier to make mistakes.

It's also harder to edit, which makes you do fewer edits that make the code materially better.
It's not essential to the point of your comment, but if my question is not too indiscrete, would you mind telling us which post-soviet country it is? There are pretty large differences between some of those countries in terms of cost of living and I can't think of any where the cost of a used iPhone could pay for 2 months' rent and utilities.(Other than Ukraine, maybe? But things are looking pretty grim over there right now.)
Google Nexus 6 Features and Specs You Should Know
The most straightforward thing is to just run the CPU with an accurate clock frequency. You'll have to replace the Quartz next to the clock-generation chip next to your CPU/Chipset by something which is very accurate.

http://phk.freebsd.dk/soekris/pps/

https://deltafabri.wordpress.com/2015/03/08/under-60-ns-an-a...

For the cost, it's about $150 or so for a used GPS with precise 10 MHz reference frequency output, there's a different PLL IC (different from the ClockBlock module) from Silabs which is available from Adafruit for <$10, but I don't know if the xtal there can be exchanged for a 10 MHz frequency. The C-revision of the used IC can be, though... https://learn.adafruit.com/adafruit-si5351-clock-generator-b...
> (your the 1% but not really)

From what I'm reading, you need to be making about 400k (household income) to make it to the 1%.
> but then why even make a function if all it does is calling 2 functions in sequence

How else would you execute the functions? What initiates them?
But what calls "reverse(addToEach(input_list, 1))" if not another function?
That is one way of seeing it.

Here is another way: global period of prosperity in which a world superpower has (momentarily?) solved the problem of maintaining its supremacy (mainly economic, but also military and political) by leeching the rest of the world using various mechanisms: dollar as reserve country, military occupation of resource rich countries - sometimes by tacit alliances with repressive regimes - international intellectual property agreements skewed to favor the home economy, rigged international financial markets ...

Which is fine, but here is the problem: it is not that America has chosen the "peace-americana", it is that the "peace-americana" is working in its favor. As soon as it does not work anymore, the US will very willingly fight other major powers, in a race to the bottom.

All this, of course, discounting the fact that during the "peace-americana" the US has killed millions of people (most of whom are innocent bystanders), while at the same time suffering the loss of a couple of thousand people. Every person killed is a big loss, and that means the millions of people killed are a very big loss, even if you do not care.

So, what is the grudge we in the rest of the world have with the US? Speaking for myself, just the fact that you are not using the chance that this period of prosperity is giving the world to engage in a permanent and objective international state of affairs, which is not just a way for you to control us and maintain your supremacy.

You are just a bully, which is to be expected: everybody would do exactly the same thing in your situation. Just don't try to sell it as something that it is not.

And let me tell you one more thing: even if it is in your short-term interest to act as you are doing, long-term it is just stupid. Instead of fostering collaboration you are creating enemies (Russia, China, some parts of south america, now even Europe); in the long run, your supremacy will be eroded and you will fall, like all empires fall. The question is if another empire will come, or an international cosmopolitan establishment will be created to regulate the relations among people on Earth (hopefully not country-based anymore). You could have lead this path, but my impression (based on the status of the world and particularly the US economy, as related to the upcoming powers) is that that chance has already passed.
It will be tough for General Motors to adapt to being in jail when convicted.
So don't. Using an airgapped computer will not save you against against a compromised RNG (e.g. reduced entropy). Your computer-generated numbers might look random to you, but you can't really be sure.
Is that a new right-ish wing newspaper? I see the president is Pedro J Ramirez...
A good rule is that it is a start-up as long as everybody knows everybody else by name and is allowed to talk to the CEO directly.
Here's the scientific article: http://journals.plos.org/plosone/article?id=10.1371/journal....
Nigeria is shutting down for business thanks to one of its worst fuel shortages
Good app nevertheless, I like the fact that you can zoom in and see detailed results
And what can be done now?
HERE maps are very nice, they are Nokia/Microsoft and app is very polished on Android. Only thing is Google Maps have slightly better routing options.
The sound is broken on my machine and disabling it from the options somehow makes it sound even louder.
Moldova. I considered a sell price of around 400 euro.
> The NSA is not a military organization.

You're mistaken.
Oh, sorry then. It seems to be a plus for a security critical software that it's open source though, it could be advertised more. Although compiling the pro version for free could be simple, it requires more expensive software to do so.
The link doesn't work. Use http://m.cacm.acm.org/magazines/2015/5/186025-privacy-behavi...
It looks like the author took this comment to heart.
Investments in property is booming in India . Don't know if it's a bubble or not . But I cannot afford one right now (not even as investment ) , reason its too expensive and loan is not my cup of tea and I think investing same money in your own startup will be worth more ( as experience)
I didn't really mean dynamic typing (that's why I wrote "dynamicity" with question mark).

To be clearer: the ability for things to change at runtime, i.e. for the programmer to do things like monkey patching. I guess dynamic typing is related to this, at least in the sense that you'll have to give up on some static typing in order to get more flexible dynamic behaviour.

And yeah, I realize that Python et. al. is used for real apps, and certainly not just for scripting tasks.
Why men are more retweeted than women
I tend to assume any blog about design/typography with article text in a font larger than 15-20px is written by a clueless newbie.
> Why are more than 10M homes vacant in India?

So why? BBC basically answers with the following: because some people earn more money this way. Tell me something new BBC.

Let me posit another reason: because squatting these empty houses is not allowed.

If squatting these long-term empty places was allowed they would be:

1. sold/rented at a more fair market price,

2. squatted (in which case they are also not empty anymore).
I have seen it in a uk company one of my mates said well our team had 2 people with terminal conditions so they where selected for the chop.

Not totally as brutal as it sounds as they would have got medical retirement.
When compared to durability/persistence of genes, religions are just short blinks with their mere few thousands years. Actually cave paintings or tools are better examples of memes longevity.
You know, if EU countries were genuinely concerned about their beloved citizens coming into contact with damaging chemicals, they could warn them on the evening news or something.

Hey there Dear Citizens, these products have been found
to cause cancer. Please avoid using them, and tell your
friends to avoid them too!

Best Regards,
Your Benevolent, Caring Overlords

Do you think that just might have an effect on the companies producing the toxic crap they force on us?

"Those naughty companies haven't stopped putting cancer-causing
chemicals in their products. You should still boycott them."

If they really cared, they could just keep informing the citizenry until they were safe.
Thanks for trying the app.
Prepare the Linux Professional LPIC-1 certification exam
There's a reason that I wrote 'scripting languages' instead of dynamic languages. Python, Ruby etc. seem to be more regarded as scripting languages than Lisp and Smalltalk.
I have an impression that one of the main selling points for Berlin particularly is the cheap labour - experienced engineers salaries are within 50-60K EUR range...

Some time ago, Berlin had a reputation as a cheap place to live, and "poor but sexy". I think this is no longer the case.
I'm postively surprised. I didn't expect this from Apple, but it actually does look good with the Windows font renderer here (Firefox, so I assume DirectWrite), down to at least 9px. The hinting could perhaps be better on a few letters but I expected none care taken whatsoever. Of course, this could be a lucky accident, not sure if Apple did this intentionally. The thin weights seem OK as well, something else that can not always be expected. Looks decent for general use unless Apple prevents that by licensing.

I never liked Helvetica Neue in user interfaces so I'm happy to soon (hopefully) see it gone from iOS.

Edit: OK, so it's only to be used by either Apple or Apple apps.
i don't know why you are getting downvotes, they even have a playbook for that activity:

https://firstlook.org/theintercept/2014/02/24/jtrig-manipula...
I agree with you, but he could have said "I honestly don't think you know enough X to be really useful for Microsoft."