skysight-inc/HackerNews huggingface dataset:
Intelligence and depression go hand in hand.

The following isn't blowing my own trumpet, but is framing for my perspective. The last IQ test I had (for what it's worth, I put little stead in their worth, and was made to do it by a concerned employer) placed me in the "profoundly gifted" category - just north of 180.

I have been outright miserable for my entire existence. As I've learned to better understand my own behaviour and impulses in the context of how humans generally work, it has become increasingly evident that my dissatisfaction stems from an excess of analytical thought, particularly when applied to "what if" scenarios.

This leaves me usually exceptionally well prepared for most situations life throws at me, through my incessant internal roleplaying, however also results in me "experiencing" many negative situations and outcomes, in order to understand how to either mitigate against them or to deal with them when they arise - and the emotions that come with them.

This results in a fixation on negative outcomes, which in turn feeds into anxiety, paranoia, and depression - as negative outcomes are far more common in most situations than positive - and mandate more attention so that they can be avoided.

In any case - I'd argue that creativity doesn't stem from mental illness, and that in fact depression as reported in many of these individuals (particularly given the absence of schizoid traits) stems from a similar source, in overanalysing situations. It's a correlating factor, not a causative one.

There's also the question of association, which is noted in the article, which I can to some extent vouch for. Much of my utility in what I do for my day job arises from being able to make associations from the aether that others don't seem to see, and posit solutions to multi-variable problems rapidly. It's a disconcerting feeling when you delve - something akin to turning off a chunk of rational thought, and letting the answers emerge from somewhere in my visual memory/thought processes. Also, outside of general problem solving, this results in strange associations, which usually emerge from me as baroque and obtuse metaphors - which again feed to the "mental illness" angle, it's somewhat inevitable that "this dude is nuts" is the conclusion others would and do take.

Anyway, just my $0.02 autopsychoanalysis.

Oh, and dysthymia was what they decided to diagnose me with when I last saw a shrink. Whatever.

Edit: just occurred to me as relevant to this - I had my genome done last year, and I have completely buggered serotonin and dopamine systems, and an overamped oxycontin system. Whether this feeds into this, I don't know, but I would suspect so. I get no sense of achievement from anything, which pushes me to always do more, learn more, be more.
I don't think so. I use Windows and I paid 79$ for SmartGit.

http://www.syntevo.com/smartgithg/purchase

Git is great but when I am using it 50 times a day, I want to use a UI which lets me focus on my work and as they say, let me avoid the sharp edges. I would be more than happy to pay 59$ for Tower 2. Alas, it's not available on Windows.
3 Things Rory McIlroy Can Teach Stadium Managers About Operational Greatness
Humm

Maybe it's this one? http://en.wikipedia.org/wiki/6061_aluminium_alloy (a guess from here: https://discussions.apple.com/message/8612485)

Anyway, when I'm using a wristwatch I don't have a problem with the case, but the strap is often itchy (not to the point of irritating the skin, though)
> OO like in Haskell

Please explain. Are you referring to type classes?
it's not about the stickers, people

it's the idea that people love their macbooks air so much, they adorn them with flair to personalize them, to incorporate the laptop into their own personality
The issue with this model is always response time and that you have the same ideas with your customer about what should be reasonable turnaround time for a ticket. Also the types of bugs and issues that are covered. I've tried a couple of companies using this model and would probably do so again for very low level issues - anything more complicated I think requires dedicated support.
So happy to read this, yes, yes, and yes.

Another big problem with Java to me is that the standard library and available frameworks are so massive, that there are thousands of ways to solve any given problem. This is bad, because only a handful of the solutions perform well, result in readable well-written code, and are efficient (from both a productivity perspective and resource utilization perspective). I'm not sure why, but it seems like many developers are almost trained to pick the bad ones. Perhaps the high level of abstraction enables the programmer to ignore the realities of the implementation?
Unless you're writing something very simple, you're going to end up re-inventing portions of a framework in order to do what you need to do anyway. In which case you're going to be wasting time. If you're trying to write a complex web application it isn't a good use of your time to implement templating/declarative views/JSON serializers/etc in a low-level language. It's not laziness - it's efficiency.

Low level systems programming is good for low level systems code - code where you have to interact with hardware directly or quasi-directly. If you're doing anything higher-level, like, as I saw here recently, a web framework in assembler, it is certainly a good intellectual exercise. But it stops there. You're going to again and again find that you want a lot of the functionality that a modern, higher-level web framework provides without having to implement it yourself.

Good programmers exist at every level of abstraction. The question isn't whether or not you're using frameworks and a high-level language but whether you're maximizing your language and your toolset and creating the most elegant, bug-free code you can with your time.

I do agree with the author's sentiments about OO, but that's just because I started to use Scala and I've started to really become allergic to state and mutability, recognizing that your code is so much easier to understand and write when you put all your state in one place - like the RDBMS or the filesystem - and your code doesn't need to worry about its own state.

OO works fine for plenty of people as long as you can design your object graph in a way that's not too convoluted, littered with useless or empty classes, and doesn't have too much concurrency.
FastShell: HTML5, Sass and JavaScript boilerplate for Gulp
Amazon is building the retail world’s most unbreachable “moat”–Prime
Worked well enough for me on an original iPad. Just switch between portrait and landscape.
I don't believe the parent of your post meant to say that nothing ever changes ;) Personally I think Java is a good, first language to learn. It's quite simple and easy to get started with. I'm not saying Java exclusively mind you, but that it is one decent language to start with.

As for the OP, I disagree. There are tons of good Java projects out there and there are tons of crappy Java projects out there ... just like pretty much every language ever invented.
I 'll probably get down voted to oblivion, but I loved this ad and strongly disliked the "Here's to the crazy ones" campaign.

To elaborate; The here's to crazy ones feels very hypocritical. Here's to the crazy ones, to Armstrong, Einstein, Monroe... Buy a computer! Oh come on. It makes me cringe - it is everything that is wrong with marketing, and the fact that people tout it as the pinnacle of advertising is everything that is wrong with people that are into marketing!

Whereas this, this is awesome. It's down to earth, personal. Apple's logo and apples product is in the centre of attention without becoming an annoyance. It actually made me want to customise a bit my macbook
Goes well with the iPhone 5C branding.
I am building a side project app in Kotlin right now and so far it goes well.
There are some minor problems with IDE support (kotlin source folder is not marked as a source folder when mixing Android and Kotlin together), but that is fixed with one click of a button.
I really like it!
I learned git form the command line and it's still my go-to, but sometimes it's nice to have a higher level view of where you are in the repo, both the current commit and tree generally. Especially if I'm working through a big commit or merge, it's nice to see where I am in conflict resolution, etc.
Though I rarely get it, I definitely feel my best after 12-13 hours of sleep. I've never understood how the world seems fine with just 7 or 8.
Thanks Jeff, Yes, those are very valid points. I think we were not very clear on "unlimited" support, We are offering unlimited small fixes and we would do only one at a time. So O think yes we are not very clear on explaining that on the site yes?

Our aim is to offer 24/7 ultimately. But at present we don't offer it. But we would offer it once we have few traction. You are right when their site is hacked or plugin screwed they really wanted to fix it right immediately. Yes we are working towards going on 24/7 in a month or two.

Yes WPCurve, WPSiteCare all do good I guess and mostly they are impressive as well on their services. Hats off to them.
I love linux but for some reason I would find this really off putting. Like writing down your political beliefs on your bumper .
Show HN: Best Game Dev Links of the Week
I like how someone who uses the same hardware as you but a different OS is a 'fanboy', but at the same time you are completely exempt of this moniker even though you take part of your identity from the fact that you cover up a logo and run Ubuntu; feeling proud enough to tell us about it here.

Fanboy-ing aside the benefit of OS X over Ubuntu (et al.), to me at least, is that it is more stable, still unix and there is much more software available for it that doesn't require debugging/building/re-building, etc. Ubuntu is fun for playing with, but when I need to get work done it tends get in the way eventually.
There are many goals and many problems. "People" should use the right tool for the job. I don't want to try to write performance critical code or low-level code (OS level, drivers, critical libraries) in a language that seems almost designed to resist my efforts. Similarly, most people don't want to write business critical processing in C.
The question about those code-generating languages in connection with Android is always:

How HARD is it to debug?

Because most of them fail badly as soon as you need to do any complicated breakpoint debugging (non-matching line numbers, broken local variable inspection, useless and misleading stack traces) and that loses more time than the language change will ever gain. After all, most of the time we're developing for Android, we're dealing with Android API's and another language does not address warts connected with those. Also powerful utilities like IDEA/AS provide alot of assistance with writing / folding / managing Java 6 issues without debugging issues.

The other important questions: how big of a space hit is the standard library? E.g. Scala on Android will generate/include alot of methods which means you hit the 64k method limit of DEX format pretty quickly. That means you have to use Proguard for each build (even development) and Proguard pass can easily run for several minutes even on a 16G SSD equipped machine - killing development speed.
In the UK, Ann Summers has an apple in their logo,and this is the biggest "sex" store I can think of.
I wonder if tesla (dealer mechanics) or the eventual non-tesla mechanics will adopt the model in the aircraft industry of engine leasing? Bad motor? Drop in a loaner that you pay a daily fee for while yours is shipped to facility the can repair yours, after which the loaner gets swapped for your original motor...
ＴＨＥ ＷＥＢ ＦＯＲ ＡＬＬ – Learn to easily create websites
Also see Camelcamelcamel (http://uk.camelcamelcamel.com/) - they do a great job of price tracking on Amazon. They have historical data for a surprising number of products too.
> I wonder why no one is trying to create a killer Git client on Windows.

I'd bet the majority of Windows developers use Microsoft technologies, preferring TFS over Git. While there are less Mac users, they're all your target market.
The usual wisdom in clr-land is that the generational garbage collector can cope just fine with a lot of small, short lived objects. It absolutely doesn't like big, long lived objects that reach G1, G2 or the large object heap and must be traversed for a full gc.

This means that normally, you want to avoid data structures that introduce a lot of objects trees, linked lists and stuff like that. In some circumstances you might lose some speed, but win big time when the full GC comes. Additionally, It may be worthwhile to consider avoiding heap allocations by organizing your data as value types instead of ordinary objects.
Hughes didn't disagree with what I said; I would contend that higher-order functions and laziness only improve modularity iff the language was referentially transparent in the first place. The assumption that the theoretical FP language he discusses is referentially transparent is found on page 2 of Hughes' paper.

Java's lambdas only serve to reduce boilerplate; everything done with Java's lambdas was long possible using anonymous classes. Theoretically, they do nothing to present the advantages discussed by Hughes [1].

Hughes also didn't talk about laziness-by-default: his argument still holds if laziness is available somehow (which it is in many FP languages).

[1]: Of course, lambdas might improve the style and expressivity of idiomatic Java enough to make up some ground.
Ask HN: Should I invest in property?
I am in my early 20s, and I have got $110k in savings. $60k in savings and $50k in stocks. My relatives of mine, gave me an advice to maximize the earnings potential of my savings by buying properties. The problem here is the down payment would cost me 55K and 60% of my monthly salary as the instalment.

My question is, would you max out your savings for down payment and 50% of your monthly salary
investing in a property? The question may sound stupid but what I'm feeling right now is that when I
invest, I have a big responsibility to keep my income flowing every month.

After writing the 2 paragraphs above, I think I've answered my own question: Just go ahead and invest.
It most probably came from their own in-house ad agency that made all their TVCs in the past 8 months

http://9to5mac.com/2014/06/10/more-on-apples-in-house-ad-eff...
Fast, Zero-Downtime Deploy with Serf and Lox
Can someone summarize this? I don't have 2 hours to watch.
Lisp macros ? (first-class and generic, not bad for a workaround)
HAKMEM [pdf]
> If you get good at programming...

This is a very important point (hopefully more "when" than "if"). I'm really tired of seeing naive programmers throw the handful of design patterns they know at every problem, not because the abstraction is a fit, but because their toolbox simply doesn't have that many tools.
Apple does not. Some of us find the stickers out there anyway. I have a "Ice Age" one (not what was shown in the ad) to differentiate my Air from my wife's.
Strange, since I started using Django a while ago, I would say it encourages me to keep my own code a lot more organized. Are Java frameworks so much different?

As for functional programming, I only mix bits and pieces here and there. One thing I find quite discouraging about JavaScript, is that (in the code I have been reading) you can define a function within another function, and pass that on to other parts of the program. I have found it really difficult to work out what is going on in the code.
In a basic Python script, define the functions at the top then write something to call them at the bottom. Its easy to see where the code starts and ends - well a whole lot easier than looking for function definitions within other function definitions. It just seems unorganized to me. I know that it is supposed to be a benefit of functional programming that you can do so many things with functions, but I find it makes debugging difficult, especially at the start. Is Haskell better at keeping the code organized? I have never used it.
Google Head Of Business Joins Spotify’s Board [Report]
I imagine escrow being done by the likes of Airbnb, in the case of the service. It won't be error free, but should stop the absolute frauds. In those cases, the escrow service is already paid for: it's the market that facilitated the transaction.

As for the money being kept in escrow, that is the definition of escrow. The alternative is the scenario of credit card payment processors, which keep the money for a period, and retain a fixed percentage of sales turnover, as a guarantee for refunds. From the merchant perspective, the average payment delay should be shorter using bitcoin than it is with credit cards.
I can say the same re your experience, but I kind of experience the same thing he links to with Gradle and really despise it. Handling the constant Groovy errors and Gradle errors, and spending my life digging through their docs for a language and a build system I couldn't care less about really depresses me when I'm a Java expert. Give me a stack trace and I'll have the problem fixed in five minutes with unit tests and UI automation tests done later that day.

But give me a gradle error and I'm stuck in their docs all day, you might have a solution this week. And by the way it breaks automatically all the time as Android Studio and the android tools plugins and all the rest version up. I wish we could have just stuck with Ant and Eclipse for Android, which are known evils. Instead every update of Studio and Gradle someone on the team has to draw the short straw and try, then either give everyone else the OK or tell them to stay the hell away from that version.
Don’t Pursue Promotions: Contrarian Career Advice from Ancient Sources of Wisdom
The Great Exception (2009)
Commercial Roofing Materials Options: EPDM Roofing | LGC Roofing Blog
Ask HN: What does Hackernews think about Oracle APEX?
Links:
https://apexea.oracle.com/i/index.html
http://www.oracle.com/technetwork/developer-tools/apex/overview/index.html
Most of my reading and thinking since childhood has been around technology. The New Yorker is, for me, a gentle tour around "the arts" as I have no education in that area (hence 'highbrow' art/literary writing goes right over my head).

It's like a conversation with an older, smarter, slightly pretentious friend who went off to theater school while you stayed up writing code all night.

The web is full of snack-size bites of information, but lacks context. The New Yorker (and The Economist) are great for providing deeper insight and creating links between stories, or leading you to thoughts that you wouldn't normally have clicking hundreds of links on Google News, HNN, HuffPo, TechCrunch etc.

It's good to read as much as you can, especially things that are outside your normal horizons.
Dribbble Comment Generator – Generate your own completely random comment
Yes, but gcc requires gcc and THAT is. gcc does not require KDE and apache to build (which is like Maven dependency chain looks like).
> Same thing happened in PHP land, people say PHP is great now, but what is PHP ? PHP5, which is a perlish javaesque thing ? or the regex craze html implicit template system that was PHP4 ? ...

Get the facts straight please.

As much as I don't like everything about PHP, PHP means PHP5 and it has been like that for a few years.
This is a proposal that's starting to get some serious traction.

https://docs.google.com/document/d/1y9hStonl9wpj-5VM-xWrSTuE...

In theory, Go could absolutely be used for android development
> git add -p, although its main problem is that you can only select chunks, not separate lines.

Typing "e" will let you edit the chunk. Then you can get as fine grained as you like.

Personally, I use Emacs and commit-patch [1].

[1] http://porkrind.org/commit-patch
I was not at the right stage of my life to get into UO, being very busy with school and starting a company. If the timing had been slightly different, I would have wrecked myself upon those shores.

At this stage in my life I try to active avoid things to which I may become addicted.
You can get transparent rainbow stickers you can put on the apple logo on the back of MacBooks. I agree that that was probably the intended meaning.
Ctrl-F sleep debt. Zero results found.

If you're reading an article on sleep studies and it doesn't mention sleep debt, it's not giving the whole picture. Look up William Dement for more info.

Now just for a bit of info so it may help others... for years I had the problem of going to bed around 10pm and then lying there awake for hours. Sometimes almost to 1am. Classic insomnia, until I read a book on sleep by William Dement, it all started to make a bit more sense - I was going to bed too early for my body and not accumulating enough sleep debt...

So the solution was easy! Stay up later. Instead, I started going to bed at around 11pm. I started falling asleep easier (within the recommend 20 minutes) and didn't have the issue of insomnia any longer. However this did lead onto another issue - headaches. After years of suffering from insomnia I had found the solution but then it lead to headaches. I chose headaches. But then I A/B tested some more. I now go to sleep between 12am and 12:30am. Headaches gone. Counter-intuitive, I completely agree. But headaches begone!

So IANAD (I am not a doctor), but if you're suffering from insomnia, try staying up an hour later each night to accumulate a bit of sleep debt. And if it's working but you're then getting headaches, try staying up another hour. If you do experiment with this, shoot me an email (see my profile). I would be interested to see if it works for more people or completely backfires.

(For the curious, I get out of bed at 5:05am every morning for work. So under 5 clean hours each night, no insomnia, no headaches)

Edit: I should have put more info on William Dement, otherwise people may think he's just another fly-by-night "expert" - Dr. William C. Dement, M.D., Ph.D., the world's leading authority on sleep, sleep disorders, and the dangers of sleep deprivation. He is the director and founder of the Stanford University Sleep Disorders Clinic and Research Center, the world's first sleep disorders center.
Article is down for me. Here's a mirror (minus graphics and CSS): http://webcache.googleusercontent.com/search?q=cache:http://...

The article felt like it was trying to rationalize something, like Android needs a Swift. I'm not sure that's the case. The main point of the argument by my reading was "less lines of code are possible," but that's not what Swift is trying to bring the to the table (although no header files are nice). Swift's biggest advantage is that since Apple has redefined the rules of the language and don't need to stay C compliant, they can change the optimizer and enforce rules differently. Less lines of code are a side effect.
HTML5 for Mobile Apps – Is it feasible?
I'll be looking at running it as OS X primarily since I'm heavily in that ecosystem and prefer it to Windows, I'll just be bootcamping from time-to-time for my .NET development :)
If I sleep over 6-7 hours I find it incredibly difficult to get to sleep the following night. The problem for me is I am perfectly happy sleeping 12 hours :) If I actually obey my alarm and get up after 6 hours of sleep that seems perfect to get me through the day (without caffeine) and fall asleep quite quickly the next night.
Since you are hard-coding the CA, it doesn't have to be an actual intermediate CA that is trusted by anyone except for your app (that has it hard-coded.)

But as people say, they could easily edit your binary to change the CA, or disable the CA check entirely, so, like any DRM system, you can't keep the protocol secret.
My question is why Xtrend instead of Kotlin or Scala? Both languages have good reasons to recommend them and both already support Android today.
I always thought the Iron Man ones were great.

http://www.karenhealey.com/wp-content/uploads/2012/09/colorf...