HNHacker News
TopNewBestAskShowJobs

watson

1,032 karma · joined April 6, 2011

https://github.com/watson

https://twitter.com/wa7son

submissionscomments
watson··on Creating a Virtual Printer Using Node.js [video]
Save to PDF would just give you a PDF. The idea here is that you can do whatever you like with the print-job as long as you can program it. So print to PDF is just the most simple example.

I mention a few low hanging fruits in the talk like "print to bookkeeping" - but that's just one use-case. Consider that you can use it as a printing proxy and divert jobs to different printers or implement an authentication system or a payment system before printing. There are a lot of options...

watson··on Creating a Virtual Printer Using Node.js [video]
Would a better description under the video on YouTube help, or would you want me to have mentioned it on a slide?
watson··on Creating a Virtual Printer Using Node.js [video]
Funny you mention that :) I was actually thinking of creating a version of the printer where all print jobs would have the typeface swapped for Comic Sans.

It's been pretty hard so far though to figure out how to do this replacement in PostScript :(

watson··on My First Death Threat (2004)
Someone should add [2004] to the title
watson··on A Brief History of Times New Roman
We always hear so much about the history of Helvetica... nice for a change to read about the other big font out there
watson··on Sand Cat
I can only recommend that the Sand Cat joins the millions [1] of cats world wide that have switched to JavaScript: http://jsforcats.com

[1] http://jsforcats.com/#satisfied-customers

watson··on Support for older versions of Internet Explorer ends on January 12, 2016
Am I the only one who finds all the happy faces Microsoft have injected into the page a bit weird? It feels like they are trying to sell me some bad news but make me feel happy at the same time.

Don't get me wrong - I think it's a good move to discontinue support for older IE versions... There is just something with all the smiling and laughing faces all over the page that make all my alarms go off

watson··on 80x40
You don't need to actively clone a repo to make a change. You just click "Edit" on the file you wan't to change and it'll do the heavy lifting for you.

True, you still have to make a commit message and click submit on the pull request, but the cloning/forking is taken care of behind the scene

watson··on New Giant Tortoise Species Found on Galápagos Islands
Misleading title: It sounds like they just found these turtles when in fact they just researched a group of turtles they already knew about, only to discover the group consisted of two different species - one of which is then of cause "new" to science.

But I guess that means that the group which - as far as I remember - was previously close to extinction before, now is even closer to extinction since there are even fewer of them left :(

watson··on Node v4.2.0 (Stable)
As others have pointed out, a lot of stuff have happened over a very short period of time. Among the things, Node have a switch to use Semantic Versioning (semver) where the leading version number (major) is bumped every time a breaking change is introduced. The result is that the major version will increase more quickly than we've been used to. If you'd like to read more about semver, check out: http://semver.org
watson··on Node v4.2.0 (Stable)
a LOT of stuff have happened in the Node community over a very short period of time. So it's understandable that not everyone have had the resources to follow everything :)

Especially if you're just getting started and not using Node full time yet.

watson··on Node v4.2.0 (Stable)
As far as I remember this is how it works:

Starting from 4.x, every 2nd major version of Node will be LTS (4.x, 6.x etc). But we should expect a few of the early versions of each of these major versions to not be LTS - hence 4.0.x and 4.1.x didn't count as LTS when they were initially released.

But Node is now using Semantic Versioning [1], which mean that there will not be any breaking changes between each 4.x release. So 4.2.x is backwards compatible with 4.1.x and 4.0.x. And 4.3.x will be backwards compatible to 4.2.x etc.

So in essence the entire 4.x branch will therefore be LTS counting from today. So even if we in 29 months release 4.22.0, this will not extend the 30 months.

[1] http://semver.org

watson··on Volkswagen – detects when your tests are being run in CI, and makes them pass
Hi, I'm the dev. I've been thinking about it. I would consider it a success if we got a call from Volkswagen, so I'm willing to take that risk. That being said, I think they are way to busy at the moment ;)
watson··on Volkswagen – detects when your tests are being run in CI, and makes them pass
I got you covered. We've made a badge you can add to your README.md that will always show your tests as passing even if you don't have any :)

https://github.com/auchenberg/volkswagen#why

watson··on AWS US East is experiencing high error rates on several services
Where do you see that it's causing issues for Heroku in eu-west-1? I have a lot of dynos in that region and I don't see any issues
watson··on AWS US East is experiencing high error rates on several services
They will never be able to move Heroku of AWS. Their customers depend on being on the same cloud as other service providers
watson··on Winning 1kb intro released at Assembly 2015
These already exists and are called wild demos:

From http://tomaes.32x.de/text/faq.php:

  A wild demo can be pretty much everything. Some possibilities:
  
   - It's any kind of film, usually available as divx/avi file
     (music videos, shorts, comedies, trash, prerendered animations...)
  
   - It's a demo that requires very rare/strange hardware to run
     (c64 with SCPUs, for example)
  
   - It's a demo that simply does not fit in any other competition (and the
     applying rules) of a given demoparty.
  
   - Sometimes, live performances count as 'wild' demos too. ;)
  
  However, in most cases, it IS a short movie (clip), either tradionally filmed
  or CG/animated.
watson··on As You Sow Files Notice Of Legal Action Against Soylent Super Food
This is "just" a press release made by As You Sow in its un-edited form. This doesn't necessarily make it claim invalid, but just remember that no journalist have been involved here.

It is also weird that As You Sow hasn't added any mention of whether or not they have tried to contact Soylent for a comment.

watson··on How to name things in programming
For a long time I just used Chrome - because why not? It's an awesome browser, especially when you are a web developer. But I was always annoyed about the fan on my MacBook Air mid 2011 spinning all the time - but I didn't connect the dots. At some point though it must have dawned on me and I tried an experiment where I switched 100% to Safari. Now my fan NEVER spins and I get up to two hours more battery life out of my MacBook Air. (yes I know it's a really bad browser on almost all counts - but they do know how to code in an energy efficient way)
watson··on Nick Bostrom: ‘I don’t think the artificial-intelligence train will slow down’
No I know it's not even close. I might be foolish and I might mix up some numbers (here it's closer to 50 than 30 years) - but when reading papers like this I can't help feeling slightly optimistic: http://www.nickbostrom.com/papers/survey.pdf
watson··on Nick Bostrom: ‘I don’t think the artificial-intelligence train will slow down’
Watson is what I think is called ANI (Artificial Narrow Intelligence). There is a lot of things we need to figure out to move from a narrow intelligence to a general intelligence (AGI) and then (quickly) to a super intelligence (ASI). The big question of cause is how far we are from AGI - i.e. an intelligence on par with a human. No one knows of cause but a lot of smart people say there is a good chance it's happening in around 30 years. It's a development I for one will be following closely - with both fear and excitement ;)
watson··on Nick Bostrom: ‘I don’t think the artificial-intelligence train will slow down’
I've been interested in AI for a long time. But the last year AI discussions seem to have really hit mainstream, which we can also see here on Hacker News with a lot of posts about deep learning etc.

Lately I read this two piece story on Wait But Why which I really would recommend to anyone wanting to get a better overview of the topic:

- Part 1: http://waitbutwhy.com/2015/01/artificial-intelligence-revolu...

- Part 2: http://waitbutwhy.com/2015/01/artificial-intelligence-revolu...

watson··on Twitter’s multibillion-dollar mistake happened five years ago
Am I the only one who get "403 Forbidden" when loading the link?
watson··on Mark Zuckerberg appears on CNBC to discuss a social network (2004) [video]
If you want to watch the video without having to install Flash, just replace "www" with "m" - Not the best video quality since it's optimised for mobile, but a nice productivity tip for Safari users ;)
watson··on Is This Justice? Charging an Eighth Grader with a Felony for “Hacking”
Based on the way you wrote this I get the understanding that the US system differentiates between jail and prison? In that case what's the difference?
watson··on Show HN: See your GitHub followers based on rank
One weird thing that I've discovered is that there seem to be no correlation between who I consider a great hacker and how many followers they have in top 10k.

For instance maxogden [1] and mafintosh [2] are both in top 1k but have only 6 top 10k followers each. Where as I [3] are not even in top 10k and have 9 followers in top 10k.

[1] http://www.github-followers.com/maxogden [2] http://www.github-followers.com/mafintosh [3] http://www.github-followers.com/watson

watson··on Show HN: See your GitHub followers based on rank
I've got 4999 requests remaining now, so I should be fine for a while again. Go easy on her ;)

If anyone knows if there's a way to increase this number please let me know :)

watson··on Show HN: See your GitHub followers based on rank
Ok, so apparently I've exceeded the GitHub API rate limit - Trying to fix it ;)
watson··on Osmosis: Web scraper for Node.js
I don't know about libxml, but normally you'd not need to do any I/O once you've gotten hold of the raw HTML - so there should be no need for callbacks. E.g. with cheerio you can parse HTML synchronously.
watson··on Osmosis: Web scraper for Node.js
He depends on the module named libxmljs, which contain the C code: https://github.com/polotek/libxmljs
← PreviousPage 3 of 6Next →