skysight-inc/HackerNews huggingface dataset:
Ask HN: How to break this cycle of procrastination?
hey guys, so I've been trying to put some code time but it's simply not happening or it happens when I'm just about to sleep.

Here's the cycle:

Okay, a new day, let's start. let's check hackernews first. great neat stuff. alright one more article and i'll fire up my ide and terminal.

okay i'm tired now, time to play some counter strike. lets play for 30 minutes.

oh I SUCK at this game just like I'm sucking at not procrastinating. this guy is talking trash time to show him who's boss.

crap, it's been an hour. now im hungry. lets eat.

alright now im full, i need to relax and check hackernews again.

repeat.

how do I break out of this cycle? it's like anytime I get ready to code, I end up doing the complete opposite. It's like I go out of my way to not do the work I'm supposed to do.
I'd wager distraction as that's a big reason to block flash ads as well.
Given the focus on enterprise the name differences are not that important. Sales are not done through clever advertising but via hardcore sales.
Step-by-step guide to creating a great animated product video - YourStory.com
After working at a startup I started to not feel so bad about this. And/or I set my sights lower as far as putting in all required features, but putting higher stress on actually delivering what's important, and polish.

For instance, I made a podcast downloader as a Haskell learning project. I haven't goften around to making it delete old files. Meh. The interface is good, it is reliable and fast. I'll just clean it out manually now and then. Or maybe get to it later if I feel like it. A few years ago this might have been hanging over my head as a failure.
Dell Precision are laptops, not ThinkPads. It's easy to check off a list of features on a laptop. But putting it together properly is apparently amazingly difficult, even for Lenovo. Lenovo could literally take my X201 tablet, upgrade the display panel and CPU and I'd give them 3 grand.
Excellent troll. I'm surprised this went 16 minutes without a correction.
Why would you get used to it instead of just swapping the two keys?
As a publisher, you can't do an ad from any major 3rd party ad firms without Javascript. Even the text ads are all Javascript based.
I found this one compelling:

http://nedbatchelder.com/text/exceptions-in-the-rainforest.h...
Wow Notepad is still the same today!
But isn't that how most companies no matter how big or small operate? You have the developers creating and the sales team selling?
You can use mobile Firefox on Android and use Noscript.
Paramount first studio to stop distributing film prints
Figure this might be interested to some of the digital media hackers out there.
Ha, pretty neat. I used to do work on cellular towers and you'd be really surprised at how they manage to hide towers. I'm talking fake trees, church steeples, etc. When you do tower surveys you're given GPS coordinates and every so often I'd wind up having to comb an area up and down to figure out where the tower was.
mouse? who cares, there's wolfenstein!
AdSense in text mode mostly does this. Except there will be spyware/adware apps advertisied.
It CAN be like Java or .NET if you build on top of it with packaged apps, or it can be like the new C runtime if you statically compile bits of chrome in to your application, as a 'stack' that you build on, which is what the author is describing.
> Maybe that is the reason why Clojure has growing industry adoption while scheme does not

what is "that"? the lack of tail call optimization?
Ubuntu LTS 12.04.4 stable update packages released prematurely
thanks for sharing it for free :D
How premature was it released?
Top 25+ websites to Learn Programming Online
Shuttleworth and co were notified, but there's been zero response.
Dropbox taught me a lesson: you can be careless about security, directly and blatantly lie about security to users then handwave when caught and still be massively successful.
This is why I don't "get" go. If it was supposed to replace C++, why does it not compete with C++ directly? Why were they even using C++ for those projects in the first place?
I've definitely been in that situation before. Whenever it is goes like "I'll do Y, then I'll do X, after Y", where X is the more important thing to do, it doesn't happen. That's why whenever I catch myself saying that, I stop, I don't do Y but actually do X.

Instead of saying you'll code after another article, or another game, etc... you should instead code before those things. Just the act of sitting down and doing it is enough satisfaction and makes me motivated even more, conquering procrastination.

Anyways, that worked for me.
As of 10 Jan, so almost a month. Stable precise LTS boxes will just go ahead and update themselves to .4 but there's no .4 ISOs available officially right now.

ubuntu@ubuntu:~$ uname -a
Linux ubuntu 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ubuntu:~$ cat /etc/issue
Ubuntu 12.04.4 LTS \n \l
ubuntu@ubuntu:~$ sed 's/#.*//;/^$/d;/-src/d' /etc/apt/sources.list /etc/apt/sources.list.d/*
deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ precise universe
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
sed: can't read /etc/apt/sources.list.d/*: No such file or directory
ubuntu@ubuntu:~$
Works for me. What is the problem?
He took out all the fun parts. Can't "format C:", "del command.com", etc. :(
What does one do with graveyard web apps?
Hey, I wanted to pick your brain about it but I can't find your e-mail or a way to reach you. Would be awesome if you can contact me (phzbox at gmail)
No Ski Free, no deal.

http://ski.ihoc.net

Actually, this is pretty cool. Far more so, imho, than the "Web OS" or "Web Desktop" craze a few years back.
Developers seem to be separated into two camps, those that want scripting in their build system and those that work on large projects.
This is shitty advice. It gets you to the front page, sure -- but something that isn't interesting still won't be interesting no matter how many votes.

There's a secret to getting your Show HN to the front page: make something genuinely interesting. Do it, and it's dead simple to get on the front page.
Cybercrime firm says uncovers six active attacks on U.S. merchants
Over the past year I've used four drastically different types of keyboards: a classic keyboard, a lenovo laptop, a Truly Ergonomic Keyboard [0], and an Ergo Dox [1].

The laptop keyboard was pretty normal, but Fn and Ctrl are switched. When my other keyboard was a classic keyboard this was a huge problem, I couldn't get used to Ctrl not being an outside key. That problem went away once I switched to the TEK, I think because the layout was different enough that I developed different touch typing skills. The Dox is even more different, and it's easier to switch between laptop, Dox, and classic keyboards.

[0] https://www.trulyergonomic.com/store/index.php

[1] http://ergodox.org/Default.aspx
People can say and do what they want... If there is a moving or worse a sounding ad, I will block it.

I do not mind text or (still) image ads.

Show some respect for the viewers and ad blocker will not be needed.
No. You don't pay 50x revenue for 2% growth. That is a huge valuation and it means they are expecting more like 50-100% growth for a few more years.
Love it, bookmarked. I've been hoping for something like this for a while. One of the most frustrating things for me about trying to pick up Go is a lack of 'guaranteed quality' examples of different basic operations, especially code that adheres to the latest spec.
Show HN: Cryptocoin P2Pool Crawler
CentOS + collections would be my answer to those problems (with, presumably, the unstated "we don't want to pay a lot of money for support" as a third). But I'm happy with yum/rpm.
Hiroo Onoda (died)
Way to make an unfair comparison.

Replace a) with

- Fulfill an arbitrary number of legal requirements

- Sign up for an account at a bank

- Transfer money to the bank (by doing a?)

- Wait for the check/deposit to go through (hopefully neither you nor the bank fucked something up)

- Put it in your debit/credit account (this one step is kinda-easy, I'll grant)

The last thing about "Hoping the price holds stable" is irrelevant. The recipient can convert them immediately.

A fair comparison is the act of paying with your (funded) credit card versus paying with your (funded) Bitcoin wallet. I can say from experience that the Bitcoin wallet is significantly easier in a lot of cases (and also carries less of a risk of getting skimmed or having a payment database hacked or something).
Ventura only 'sought one term' because most of the state of Minnesota despised him and he never would've won re-election. He barely won the election as it was, with a bare plurality of votes in a 3 person race: http://en.wikipedia.org/wiki/Minnesota_gubernatorial_electio...
It's mentioned in the link, but circular/ring buffers.

I've been grappling with decoding/playing back an audio stream and wouldn't have gotten it working if I hadn't found out about boosts lockfree ring buffer.
Apple's Schiller 'unfollows' Tony Fadell and Nest after Google acquisition
Ask HN:  What do you guys think of the Amazon show Betas.  
I've been wathing betas on Amazon and I love it. I work in a startup and some of the stuff on the show does happen at my place sometimes. What does HN think about Betas?
No QBasic either...
The most remarkable thing about doing this talk was how many people have told me, either before (on hearing what I was talking about) or after, that they had various strong opinions on the topic, but hadn't spun up systemd on their servers.

The most gratifying was the number of people who said they'd give it a try after the talk.
I don't know, they have > 200 million more revenue than instagram. I'd certainly rather own Dropbox than Instagram.
Animated gifs can potentially ruin battery life on some laptops, spinning up GPU unnecessarily, etc.
Our startup uses and pays for Dropbox for Business. All the alternatives (including Google) believe that Linux isn't worth bothering with. Dropbox has a decent client, both graphical as well as command line for Linux. We keep a lot of stuff in Dropbox, as well as having various tools produce reports and similar into it.

The single biggest headache with Dropbox is that it doesn't support multiple accounts. This is a problem when people have both personal and work stuff on the same machine (we do lots of BYOD). There are unreliable hacks for desktop operating systems, but no solution on mobile.

Other than that they want people to individually "subscribe" to shared folders rather than letting the admin set the defaults. This is unpleasant and does not scale well consuming too much people time.

Last on the list would be allowing/using signing in using Google accounts.

They have asked how things are going every six months or so, although I get the vibe the question is more of "what can I upsell you on today" rather than anything that results in any action (so far nothing has happened with any of my feedback from 12 months ago).
Maybe I missed something, but wouldn't this work fine as a browser extension? I guess it depends on whether any individual student needed to crawl the whole dataset, or only the subset of courses they are interested in. The Yale administration is very clear that students have access to all the relevant data, so let each student run their own app. The app could build the schedule workbooks in local storage, no external entity required. Professors get the privacy they want, and the students get the convenient view of the data they want.
Defining and detecting quantum speedup
Math is mostly about exploring the consequences of alternative definitions for notions we take for granted. In this case, it is the equality notion that is used in a different fashion
I think he meant that he just goes to Walmart and shops.
Faster and more stable Windows and Windows NT 3.1 on period hardware. Awesome.
Me and my friend were pretty serious about creating a new data structure called "drum". A drum is a one way store. You write to it but can't read from it. We put it off till we figured a practical use.
i remapped cmd and fn keys. i can now press windows like keys. :D
There are too many colors!
Uhm, operations research is what, at least 75 years old now? And this is exactly classical operations research stuff, at least the idea is nothing new:

http://en.wikipedia.org/wiki/Operations_research#History

http://en.wikipedia.org/wiki/Supply_chain_management

I guess they just patented a particular way of doing this.
Dead or not, it's still a good choice if you want to deliver native windows gui apps.
Auto ban: How Hamburg is taking cars off the road
I wish I could upvote this a 1000 times. As most of the commentators do not care about the business model of publishers, publishers should actively fight back and prevent these people from viewing any of their content at all.
Yep, I was on vacation and wrote most of the app in a weekend. I wrote the FAQ and about pages on my phone while we were traveling, and then it took one more evening to add most of the products. And I've spent a few more hours fixing bugs and adding some more products. I have to admit, I was surprised at how fast I got it done. It was a really focussed sprint.

Rails app / Reddit integration - I've been a Rails developer for a while, so was very familiar with most of the gems I used. (devise, omniauth, resque, etc.)

Server stuff - Heroku is pricy, but it's awesome. Although I might migrate to a much cheaper Digital Ocean box this weekend.

CSS - Zurb Foundation is amazing. The menu bar, in particular, has really awesome built-in responsiveness. There's a little custom CSS, but most is stock framework.

Admin interface - I used RailsAdmin, which is perfect for small apps. It can do so much out of the box. (For bigger apps, I prefer ActiveAdmin)

Error handling - I just added the airbrake gem and configured my self-hosted Errbit instance. I've had it running on Heroku for a few years now.

QA - Thanks for your help!

The most time-consuming things were writing a simple Reddit API with httparty (none of the gems I looked at supported OAuth), adding very basic PG array support to Rails Admin, and making the site work on mobile (responsive design was very fun to learn).
Really? I didn't stop. In fact, it caused me 20 to 30 minutes of debugging over a couple of times because I couldn't figure out why my ads weren't showing up :-).
Characterising the 16000+ LOC of shell in a Debian 7 init.d directory as simple and clear seems like describing sendmail configuration as easy.
I lost on my first click a few times.
We tried a variation on that fairly early on. It led to endless arguments over how subjective something had to be to be branded subjective. See: http://meta.stackoverflow.com/questions/51627/should-we-perm...

In the end, it was a huge distraction from what we should've been talking about instead: which questions are actually resulting in the creation of something useful?
Careful using this, I'd personally wait until a proper security audit was done.

For instance, you're getting the user's wallet passphrase at line 1361. Does the passphrase just sit around in memory somewhere, long after the wallet encryption has been kicked off?

https://github.com/chjj/termcoin/blob/master/bin/termcoin#L1...
It is not just young gullible kids but even experienced folks. Note the oncoming glut in the Phd market. If people who work towards doctorates in highly specialized fields cannot forsee the supply-demand mechanics then younger people surely can be excused for making similar mistakes!
Where? All I can find are Solitaire and Reversi... which surprisingly enough can be played with the keyboard.
Sigh. You're serving up html on some port somewhere, probably 80. I do not have any sort of contract with you to fetch everything you link to in your initial html page.

To me that is the crux of it. Any other interpretation denies the physical reality of the web and its underlying infrastructure.

> The internet became a big thing and people would like to show you content for free but how will they support it?

Depends on how big the site is. I run a very successful web site off my cable modem from home. I pay for the connection anyway to browse, so my serving is effectively free.

Not every site needs 15 AWS instances and a load balancer.

But to answer your question directly—there will always be people who make sites and host them out of their own pocket for the greater good, or to establish themselves in the industry, or whatever. It's the same reason Free Software exists, even though it doesn't make financial sense at its core.
A Sneaky Path Into Target Customers’ Wallets
Hah. We chatted on their IRC a bit that night. I solved it in Python a little bit after you, and then you encouraged me to try it with Go.
Might wanna load up on MSFT while you're there.
The comments on this story make me seriously consider abandoning HN altogether.
GitHub's Future: No CS Degree Required
I didn't really. IMHO as many in the comments stated, non-trivial "B" layer code makes the author's approach a mess.

Also I don't personally agree with the idea that exceptions communicate errors better. In his examples, he's taking an error code and converting it to an exception. Obviously all the information needed about that error is conveyed by the code, otherwise this approach wouldn't work.

Wrangling of this information shouldn't be happening in the middle of application logic. The return code should be acknowledged by the recipient so the necessary cleanup can be performed, then it should be piped to a central class in charge of printing/logging errors. Sprinkling these error code conversions all over the place makes things messy and hard to maintain.
really i need your help I'm a homeless, womenless, and I think I was dedicated my life entirely for find this truth.
Minesweeper left + right together mouse button action isn't implemented. Also, this version of minesweeper lets you lose on the first click. There is also no high score. For these reasons alone, I am very upset by this entire demo.
This supports HiDPI better than Windows 8.
If only the latest desktops were that easy to use. :/
Haha funny, but this is so very different - I can't believe how many people on hacker news can't wrap their heads around the distinction between this 'anticipatory shipping' and retail.

Amazon specializes in providing the long tail (http://en.wikipedia.org/wiki/Long_tail) to customers; Walmart is the utter opposite. By aggregating predictive data about the cumulative micro-consumption habits of users, shipping times could be lowered for the products inside the long tail.
Testing's probably relatively similar to Arch, while I'd liken unstable to the AUR. IME though Arch makes living the rolling-release lifestyle substantially easier -- pinholing certain packages from Unstable can be difficult, whereas yaourt and the like make accessing the AUR easy.

There's also something to be said for mindshare. Ubuntu and its PPA system make it easy for people to build packages, and due to Ubuntu's popularity, there are lots of them. AUR does the same. Finding exotic packages for Debian (eg. Steam) can prove difficult.
California declares drought as early wildfires rage
Dropbox hosts the metadata on much faster hardware. When you find your file, seek time on the file system is not as important as transfer speed, and over the Internet, the network is your bottleneck, not your spinning media.
The Wal-Mart product selection pales in comparison to what Amazon offers.
You're right--if it can't find memory within the heap, it will invoke a call to brk and it will allocate it from the OS and thereby invoking a syscall. Apologies for my lumping of malloc as a syscall :)
Apple's product has no mass consumer appeal and will never be a threat to Dropbox. Their approach strictly limits their appeal to the Apple ecosystem.

Microsoft doesn't know how to make a good product in this space. As history has shown, you can always beat Microsoft with a substantially better product (Intuit, Google, iPhone, iPad, Wikipedia, Apache, PS2, iPod, Linux etc).

Google thinks the key is to force users into a bundled scenario. The flaw in their thinking is that most of the individual products in their portfolio are average at best, including their storage solution. There's no true lock-in. Which is why it hasn't killed Dropbox after years of competition (and why G+ has failed).

The only threats to Dropbox are 1) they screw-up their own product; 2) there's a titanic shift in the market itself, enabling a new wave of companies and technologies to dominate 3) a new company creates a better mousetrap, as that's not coming from Google / Microsoft / Apple.

Revenue is closer to $250m for 2013.

http://www.forbes.com/sites/markrogowsky/2013/11/19/dropbox-...
I opened up Media Player looking for CANYON.MID and was disappointed.
Not really surprising at all, people actually used windows without a mouse back then. Not a lot of people, but it was done and windows was actually very usable. In fact, I'd say pretty much everything that mattered still worked with just a keyboard until at least win2k, if not XP.
Beaglebone might have served you better since it sounds like you actually needed some control stuff. I've found it's got better GPIO, PWM, etc. options for projects that require them.

That, or a put together a nice board that you can plug into the RPi to interface better with it maybe :)
While I've never developed full-blown CTS, I've had mild wrist pain for pretty much ever. Since switching from an MS Natural to a Topre board pain has gotten a bit better. I suspect a natural layout with the topre switchs would be the real killer app.
They just sold 2.5% of their company for one time 2013 sales (ie valuing their company at 40 times sales).

That would be like Facebook raising money at a $200 billion valuation (currently: $138b).

Dropbox would be insane to turn that down.
Bloom Filters: http://en.wikipedia.org/wiki/Bloom_filter

Hamming Codes: http://en.wikipedia.org/wiki/Hamming_code
As a software developer aspiring to be a farmer, you don't see much overlap. Thanks for the inspiration.
Show HN: A very simple Yahoo Mail expander for Firefox
Any feedback or suggestions are welcome. Just makes reading yahoo mails a bit easier for its non-pro version.
Topre's are a bit hard to describe. You can feel the activation point, but there isn't a tactile hitch...but they're not linear.

Topre graph: http://cdn.overclock.net/7/77/77b5b81e_47c8a19470bee5776d40b...

Cherry Brown: http://peterhallam.com.au/wp-content/uploads/cherry-mx-brown...
With the difference that there is no law in Germany that forces companies to introduce backdoors into their products.
You could probably fix this...if you dare. Since it's solid aluminum, you could probably take a file and round the edges...just be careful not to get the shaving anywhere inside.
Have you seen original real player it's pretty amazing tech too. Except that it's forever ago. Just epic citadel vs when they actually coded that demo.
Steve, great to see you here! We started delivering back in the fall, and overnight, it's become an inspiring list of customers.

There's a minimum delivery per order to amortize the hidden costs of picking and packing, but we can match almost any budget by ordering for a few weeks at a time.

We'll send samples.