skysight-inc/HackerNews huggingface dataset:
Erm, so the summary is that if medicine doesn't work for you then mindfulness therapy may work just as well as medicine?
Cool! But from a musician point of view, it'd be better if the sound would only kick in at the next pattern entry.

At the moment it just seems to just turn off mute.

Then you could add live loading of samples, panning, fades in etc. :-)
> But most of us are incapable of reading a really huge article in depth

It's not a "capability", it's a skill. The problem is it's becoming less and less important in everyday life for most people, which in turn makes them abandon its training. As with most skills, without training you become worse at it with time.

I'm not sure if that's good or bad thing that you can now learn without having mastered this skill. Is the understanding you gain via lots of small chunks of knowledge worse than the one you get from reading The Dragon Book? I don't know; looks like a good topic for research in cognitive science.

Personally I do like reading long and involved texts, but I too learned to enjoy it before the Internet became popular. I don't know if I'd be equally interested in such texts had I started just a few years later.
The problem with "intelligence" tests is that they generally measure deductive ability because this is easy. Make up tricky problems and check if the answers are right.

Actual intelligence is usually and balanced combination of taking things apart, deduction, and putting disparate things together in creative ways. This second attribute is much harder to measure so.... why bother.

To quote Albert E. "Creativity is more important than knowledge."
This is an interesting one: https://github.com/prestodb/presto-odbc
But I am not sure whether D is a perfect fit here though.
Meh, I think it's fine.

What is he/she really saying?

There's a thousand and one problems one could be solving in his/her life. Checking twitter/facebook less often and reading words printed on paper is priority number 356 for me. I don't know why it ranks so high for the author to warrant a blog post.

The real issue is not having your priorities straight that you are worrying about your allocation of time/resources. Surely there's bigger fish to fry in your own life - where's the blog post on that?
'Delaying the issue' is a great way to put it.

Social mobility is a distraction. It's not a real solution. It's political language; it assumes the underlying system.

A system that cycles people around from being poor to rich based on merit is not a good system, because merit is essentially arbitrary (beyond deliberate antisocial behaviour).

I have a talent, my friend does not, I get to live the good life, he gets a lifetime of insecure rental accomodation or homelessness. (True story.)

It just does not work. It's based on an outdated idea of work ethic, it assumes people have more control over their faculties than they actually do.

I can live with a system that has people competing for sports cars, yachts and jets. Those things don't matter. But having people fight to put a roof over their head is just nonsensical in wealthy countries like the UK/USA. It's a holdover from the Industrial Revolution and the wealthy's desire to force people to labour.
What's weird and funny is the collapse in complexity this represents.

Linux, NT, BSD, and other modern kernels implement all kinds of complexity around user/group management, ACLs, security policies, file types and permissions, and so on.

If we're moving to unikernels and containers and similar, all that has been replaced with stupid simple access control systems like API access tokens or login/password pairs for cloud service control panels. Your AWS access token is now a single security credential for your entire infrastructure.

Of course I'm sure the cycle of reincarnation will continue. Things like Docker or the AWS API will grow in complexity until they at least subsume the entire feature set of Unix UID/groups, Unix/NT ACLs, SELinux, etc.
Incredible dog webisode
>In my day job at Sendwithus, we've been having trouble writing performant concurrent systems in Python.

I'm curious, at a company that does email campaigns, what use do you have for a web crawler?

(I realize that you've called this a scraper, but the code does have the underpinnings of a crawler, and that is reflected in the naming used in the code).

Which version of Python are you using? Did you try asyncio?
12 Vanished Animals We Want Back
why is this grey? Don't people have a sense of humour anymore?
Watch this video to give you a good idea of what it takes to be a Front end developer now days.

https://www.youtube.com/watch?v=zXqs6X0lzKI

Build tons of websites with just basic HTML/CSS then when you can drop code on demand and build a website without looking everything up learn javascript inside out like your life depends on it. Do not learn JQuery yet. Wait till you are a guru at Javascript before moving on to frameworks. Yes you have to learn the javascript frameworks. My suggestion would be to learn backbone.js , require.js, then when you get really good at the MVC give angular.js a shot.

This link will take you to a roadmap to learning javascript the proper way.

http://javascriptissexy.com/how-to-learn-javascript-properly...
You'd think Snowden would've mentioned the NSA blackmailing the president.
Have I got a hearing aid for you
Which Hack does too (static checking). What he describes (logging) can be enabled as an alternative to that.

Maybe you should try it?
Thanks Joel. I just purchased both the print and ebook copies from O'Reilly. This is exactly what I've been looking for.
I just gave an explanation of reference-to-const in 1 sentence, not several pages. Also, my objection to your comment was your focus on what const means to foo() when the value is in what it means to main().
What we need is a repository that requires sources and a build script and that the artifact can be repeatably built.

I want to be able to build my entire project hierarchy from source.

Sonatype prefer if you provide sources, but they don't require you do so, also there doesn't seem to be any way of actually verifying that the source matches the binaries.
D is a fantastic language. C++ is so difficult to unseat as a systems language now since it is back as a moving target which is both evolving and has extremely robust tools to go with it. Challenging it on the language level is not enough.
I believe that 1 == true as much as the next nerd, but still, this line:

declare(strict_types=1)

is that not a bit ironic?
Ask HN: How do you manage Wordpress?
Most startups I see are using wordpress for their blogs, even if their programming stack isn't based on PHP.

How do you manage wordpress security and updates if you host the blog in house? If not, what service do you use to maintain wordpress?
Why I don't read non-technical things very often:

I have "better" (to me) things to do. I want to read about boost. I want to study LLVM. I want to write code. I want to set up a Linux server running node.js. I want to compare some NoSQL datastores to an RDBMS or two.

When I want distraction or to rest my brain, I'll take entertainment in short spans. I really don't want to invest weeks of two-hour nights reading a work of fiction. I'm not terribly interested in reading someone's biography. And unless a non-fiction topic is currently meaningful to me (for example, books about the human mind when I was in my early 20s), then I'm not likely to Just Read.

I feel like if I Just Read for reading's sake, I'm not honing the craft that's important to me. I feel like it makes me a "jack of all trades" and therefore "master of none."
That's the whole point, right? The info would be about any future presidential candidates.
The book isn't really about lisp, it's about thinking in terms of higher order functions and recursion, which apply in any functional language.
Um, no, condoms are (even the ultra-thin ones) are truly awful to use, so much sensitivity is lost. They also bunch up and move around in unpleasant ways.

That said, if I was single again and having one night stands here and there I'd always use one without question, no matter how unpleasant I think they are. Health and fear of paying for an unwanted child outstrip any notional "weird psychological/egotistical issues".
I thought this article was interesting, as it points to a technically based industry that might be a candidate for a shake up. Opportunities here for new players?
The slides are buggy on Chrome on iPad. Pages jump erratically as I drag the pages.
I would argue that in a world where we've progressed past Linux and C, but still talk about using PHP, MySQL and Java, and other such middleware, including Ruby, Python, Perl and so forth, not much actual progress has been made after all.

It would simply feel like standing still, for an overhwelming majority.
The "history of Education" goes as far as two 2500 years ago, when Socrates created the Academy, or Confucius created the equivalent in China, and other people in India.

In between we have lots of things, like the creation of the Library of Alexandria, personal master disciple, the creation of guilds, Universities...

There were very different models for learning.

The factory model did exist long long time ago. Romans teached legionaries this way 2000 years ago.

The main difference today is that today this model is the only model in lots of countries. If I want to teach(I am engineer and studied economics too) my children in Germany on my own(homeschooling) I go to jail. That is the Prussian model, forcing the same model onto everybody without alternatives.
Right.

I don't think it's particularly off the wall to say that some things just don't have a price or a monetary reward. Capitalism is a fun game that we play that works in some areas and doesn't in others; it's not the meaning of life.

Should I read Shakespeare in my free time or work on a side project? Should I paint or look out of the window at the wildlife or should I move further from work and spend that time commuting?

Capitalism makes sense for producing widgets at low cost. For apportioning scarce luxury objects. Etc. But we don't win by trying to make everything profitable. We just make everything more competitive, more stressful, less... human.
Those competitors would likely have protections built in to filter false rumors---more than one source, some kind of scoring algorithm, etc. An insider wouldn't need any of that since he knows the rumor is true.
they would lose money and only to be replaced by others who think the same thing?
Race conditions on Facebook, DigitalOcean and others (fixed)
basic level, very approachable, filled with case studies (and with R code to run them easily found), but stupidly expensive: _statistical sleuth_ by ramsey (but, you know, pdfs can be found on the internets)

intermediate level, covers some blocking IIRC: _Statistics for Experimenters_ by Box et al

advanced: I thought quite good, but classmates did not universally love. Unfortunately does not come with case studies or R code to run them; I have a bunch but (very unfortunately) printed instead of computerized and, in any case, probably copyrighted by my professors. _Experiments: Planning, Analysis, Operation_ by Wu and Hamada. The math is not complex but can be involved for various types of blocking designs.
He's a little more involved in D than using it in his compiler :)
Parllay and Parllay Changing the Future of Social Engagement
Parllay (http://www.parllay.com) is an innovative way assisting you engage on social media. Cultivate, Create, Captivate, and Engage effectively with Real-Time data will change the future of Social Media.

Parllay Now is a Free App download providing you a fun and unique way of discovering Social Trends like never before. We provide you with rich tools to truly express yourself with visual messaging.

Download Parllay Now http://appsto.re/us/WCRj4.i on iPhone/ITunes for Free.
Pete Newell is simply phenomenal. He's the absolute right guy to start healing the rift between DoD and the Valley.
The same people have also written The Little MLer (http://www.amazon.com/The-Little-MLer-Matthias-Felleisen/dp/...).
I think so, too. I know, I am just hating, but to me it seems like they just can not quite change their culture. Even if they implement something clean and elegant like strong typing their hacky past finds a way to slip in.

Nevertheless, congrats to them, they actually deliver.
>"You can't compare a composer and a mathematician on the same axis, they're doing different things!". No shit, jackass.

And this outburst serves what purpose exactly? What he said could be basic and obvious, but science involves laying out the basic and obvious things first all the time. Besides, you'd be surprised how many people believe in IQ as if you CAN measure a composer and a mathematician in the same axis [1].

>What you can do, for instance, is study the relationship between measured mean population IQ and GDP, which tells you it's really important to, eg, fight IQ-lowering dietary deficiencies and heavy element poisoning if you care about helping countries develop. It's incredibly powerful as an aggregate measure.

So, essentially combine 2 dubious and much contested metrics, IQ and GDP, to make decisions. I fail to see how this can be enlightening.

Nor how anyone would need this pseudo-quantification to undertstand that "fighting dietary deficiencies and heavy element poisoning" is important "if you care about helping countries develop". Does anyone without the unique tools of IQ and GDP think that lead poisoning is good for a country?

[1] Not to mention how many have the related misguided notion that "music is math", just because music theory involves some (very basic) math relationships in it (mathematical relationships that you can summarize to a 1st year math student in a day without getting a composer out of him).
> I had to really force myself to read the entire article first, and not give in to that urge to get a hit of dopamine.

It's actually reverse for many of us who like to read. If i read an interesting article, i just cannot get over it. The stimulation from this is so strong, that its difficult to concentrate on anything else. Mostly after the first read, i will think for a while on it and then re-read it again. More slowly this time. I keep the tab open and will come back again to re-read.
Sometimes the thought provoked by the articles lingers for days and i have to write it down somewhere where to get over it.
> "Python, huh? Seems like typos in uncommon branches of the code would cause it to randomly fail at runtime, losing your work!"

Maybe not - Python itself can provide some crash protection. Run it this way: python -i run_pyvim.py.
Then if pyvim crashes, Python will still be running with all your work still there. Maybe you can just type run()
at the Python prompt to resume the session in almost the
state you left it -- depending on how run() is coded, how much re-initialization it does.
The forum OP posted this:

UPDATE 24th April:- Good news. Apple rang me directly late last night UK time at Pocket Mariner , apologised for rejecting our app in error and immediately approved our SeaNav app for sale.
Oh, don't worry, it gets worse:

* Android does not let you selectively grant permissions (unlike iOS)

* Android expects you to give an app all permissions at once at install time, carte blanche (unlike iOS)

* Doing certain very basic things often requires a broad permission - for example, checking if music is playing so the app can mute itself? "Read phone state" - which includes the phone number you're calling

* Google are actively making this worse by making Android permissions broader on Google Play - rather than accept something very specific, you now accept an entire category!
This, or even watching a slow paced movie (the kind more common before 1990) is incredibly refreshing break from the modern distraction filled world.
Apple watch films
You also should remember that the placebo effect does actually contribute a large part of the effect of antidepressants. The research just shows that antidepressants don't have much of an effect above and beyond placebo.

I see therapy as being more useful and reliable in the long term than a placebo.
Seems to me a unikernel app would have access to all the RAM in the system. It is, after all, the kernel itself.
Wow, it seems like there is room here for a 3rd party vendor to implement promo code handling as a service, and to do it right once and for all.
The above concerns would never bother (coz they are not aware) average population , which is more than 95% I guess. Rest is something Fipkart may be willing to trade off.
This exercise was more about learning Go, and not so much writing something directly work-related. We don't have a specific use case for a web crawler. We do, however, have a need for parsing and manipulating HTML (for dynamic templating), making HTTP requests, and writing concurrent code, so this exercise actually taught me a lot of relevant things.

I started off with a crawler in mind (hence the function named "crawl" (good catch)), but I stopped a bit short so that I could write a comprehensible tutorial (I find writing tutorials of things I've just learned to really help my understanding).

I haven't looked at asyncio yet, but it does look interesting. We've mostly been using gevent (py 2.7) and have found it to be a bit too magical (ie monkey-patching core libraries) and hard to track down specific bottlenecks.
I read maybe one book in the last half of 2014. I wasn't proud of this number. Then I took a trip with only a kindle, no hotspots.

I read nine books in two weeks.

I felt so energized and accomplished. I vowed to keep it up when I returned to a world with internet.

I have not.

An Internet fast is an interesting experience. People might drop off the grid for backpacking trips, or trips to monasteries... I think it's legitimate to drop off and take anything you think might be your hobby but for internet. Take books, like I did, or maybe a typewriter. Or a musical instrument. Canvases and paint. A sharp knife and some pieces of wood. Yarn. Give your mind some idle stretches, a few days without constant distraction. See what happens, you'll probably be amazed.
It's a skill. But unlike riding a bike, if you don't use it, you lose it. On the other hand, if you practice, it gets better.

I started keeping track of my reading in 2011. Here's my history:

2011: 11 books
2012: 16 books
2013: 29 books
2014: 54 books
2015: 26 books (to date)

I did this while not significantly changing my lifestyle. How?

1. I read to and from work. 45 min each way.
2. I read at lunch. 1 hr.
3. I chose reading instead of watching TV or playing video games.
4. I use eReaders, so I have dozens of books to read next.
5. I log my reading (obsessively?) on goodreads.com.

One thing I didn't do: I don't even try to read before bed. If I'm lucky, I get three pages read and then I'm nodding off.

"Why can't we read anymore?" I dunno. Maybe because _you_ aren't reading anymore.
came here looking for that comment, was expecting it to be top-post ..
Show HN: Learning Japanese Vacabulary at your pace with this amazing app
What's so terrible about "pulling out your iPhone"?
Voyager 1 and 2 Distance
> The fact that they haven't yet leads me to believe they think this is a necessary evil and that they willingly allow it to continue.

A cynical view would be: why are fake accounts bad for Facebook? These fake accounts help boost the number of users they report every quarter. These accounts don't use any server-side resources. They just sit around generating "likes", and with each "like" Facebook hears a cha-ching!
I'm reading the article and am interested in the topic. However the abnormal scrolling is driving me nuts. Please stop doing that.
Ask HN: What are you reading?
The Forth Edition of the Hacker News Book club. Tell us what you are reading, plan to read, or recommend we read.

Third: https://news.ycombinator.com/item?id=9394397

Second: https://news.ycombinator.com/item?id=9342886

First: https://news.ycombinator.com/item?id=8918181
This is interesting. India the primary way for in app purchase is via the provider. Credit card penetration is low.
WatsApp to hit Billion users but Voice Calling feature on iOS is still to come
Facebook uses Warp[1] as a fast replacement for the c/c++ preprocessor.

[1]https://github.com/facebook/warp
>WalterBright uses it in his compiler.

Ironically, the dmd compiler is written in C++.
My Dad is constantly sending me these sorts of videos. The POV ones where you can get camera footage from the plane itself are really amazing. I guess it is cheaper than owning/flying your own plane :-) But I am always impressed at the time and passion these modelers bring to the fly offs.
Is this true historically?
I used to be a regular Flipkart user, I even bought their "Flipkart First" subscription. That was a waste of money.
Nowadays I just shop on amazon or ebay,
Prices are usually cheaper for the same items. Plus they don't force me to use the app when on mobile.
Arch package available in AUR at https://aur.archlinux.org/packages/lynis/
Hard to see problem with this behavior. It is the same reason we don't ride horses to work anymore - better stuff available.

We didn't read at all, then we read leaves, then we read scrolls, then we read books, now we read the internet. Books have been around for extremely small percentage of our species' span. Moreover before the internet, the general public showed more interest in reading up more current affairs/entertainment than traditional books. Newspapers and magazine numbers are still strong.

Frankly, I would rather have a race of people reading up on general knowledge and keep themselves aware than a race of people wasting time trying to read story books just to fit in. It is not that the books have been replaced. Better stuff has brutally shown that books were truly appealing to only a few. If, given chance, most people flea, it is a failed product.
My life was changed when I found out I could use smartphone apps to read texts to me, and tell me exactly how long till I finish. I used to be too annoyed to start a book because it seemed to drag on forever. (That plus I could never find the right chair, lighting, etc).

Now, in contrast to other comments on here, I find the best time to listen is just before bed on my evening walk. If I really want to get through quickly, I listen on my commute also.
Step-By-Step Reverse Engineering Malware: ZeroAccess / Max++ / Smiscer (2010)