HNHacker News
TopNewBestAskShowJobs

canadev

338 karma · joined February 27, 2013

submissionscomments
canadev··on Why Markdown Is Not My Favourite Language (2012)
I wouldn't say they're the opposite of Markdown, but that's not really the point I was getting at anyway. The poster I was replying to was saying that two of his issues with using HTML to write documents were the verbosity and the escaping. Slim solves those two issues.
canadev··on Why Markdown Is Not My Favourite Language (2012)
I haven't seen it used outside of Rails apps, but have you ever tried Slim? I understand there's a similar tool for Node.js called Jade.

http://slim-lang.com/

  table
    tr
      th Col1 Header!
      th Col2 Header!
    tr
      td Col1 Value...
      td Col2 Value...
Renders to HTML.
canadev··on WiFried: iOS 8 WiFi Issue
I'm definitely hoping that's not the case... I did have this "no wifi" experience happen once before with this phone on, I think, iOS 6, and I did the "Reset Network Settings" trick and it worked again.

EDIT: After installing iOS 8.1.1, I have wifi back... for now. :)

EDIT 2: Gone again after a reboot, which I did because wifi died. I believe it may have actually crashed my cable modem/router before I rebooted it.

canadev··on WiFried: iOS 8 WiFi Issue
In a related but different issue, my iPhone 4S has not been able to connect to wifi since I upgraded to 8.0. 8.1 didn't fix it. It notified me of some patch today; I hope it works.

I tried a few different tricks I found by Googling, like "Reset Network Settings", but they didn't work. It's weird, after upgrading to 8.1, I had Wifi for a short period, then the next time I came back to my phone it was back to being completely gone. As in the Settings app won't even let me turn it on.

Pretty frustrating.

canadev··on Brian Goetz – Stewardship: The Sobering Parts [video]
Agreed; I thought it was really interesting.
canadev··on Reduction in Garbage Collection Pause Time in Ruby 2.2
I don't understand what this means... Can you explain?

Here's my basic understanding:

MRI is a single process, with multiple threads... They can't run in parallel because of the global interpreter lock (which is used because the code in MRI is not thread safe? Meaning each thread can touch the same memory and may leave it in a broken state for another thread, so we lock access to it first...).

So: there are multiple threads, I am guessing each with their own task (maybe one to run the code, one to do garbage collection, ... I have no idea), but because of the GIL they can't be parallelized. Still multi-threaded anyway.

canadev··on FreeBSD: the next 10 years
Thanks, I went through the slides and then found this. Contrary to some of the other posters I actually found it kind of interesting.

It sounds like this guy, at least, is thinking of a lot of the problems and questions me and my coworkers have been facing re: system startup/service config, which is cool.

I didn't know who he was before, but I do now: http://en.wikipedia.org/wiki/Jordan_Hubbard

Co-founder of BSD, BSD Technology Manager/Director of Unix Technology for 12 years. Sounds like he has some relevant experience, I gather he was talking about the iPhone when he was discussing mobile devices, the IPC mechanism, remote debugging, etc.

canadev··on China Just Blocked Thousands of Websites
I was about to ask, "Anyone know the significance of the part-way filled red-links?"

Did an inspect element/hover over the links and it shows the percentage that the site is blocked, which seems to be the same as the proportion of the link background that is red. Pretty neat use of styling.

canadev··on Coroutines in C (2000)
FWIW, I really liked it. I thought it was pretty clear and comprehensible. Of course, that was like 10+ years ago now.
canadev··on Coroutines in C (2000)
When I was in school, we used something called μC++, developed by a research group there. It implemented coroutines, tasks, and monitors.

http://plg.uwaterloo.ca/usystem/uC++.html

canadev··on The Day I Lost a Shit-ton of Money, Part I
Anybody have a glossary?
canadev··on Swedish hacker finds 'serious' vulnerability in OS X Yosemite
After this past year with all of its vulnerabilities, I feel so uncomfortable when I really consider it. I make online payments at least a few times a week using my credit card. I log into my web based email multiple times per day.

I feel so naked.

Has anyone who uses brew and other dev stuff tried running Mac OS as a user account? Does it work out well?

canadev··on Plover: Thought to Text at 240 WPM (2013) [video]
I do have an Air (same model as OP), and found that WASD didn't work.
canadev··on Even Tetris is hard to test
This is sort of the conclusion I was coming to. I am glad to hear someone else express it :)
canadev··on Plover: Thought to Text at 240 WPM (2013) [video]
That was really cool. Thanks for the link.

I liked the discussion of unicode/multilingual stuff (brief and inconclusive though it was). Basically it sounded like if a language has a steno solution then this could work for it.

I liked the demos and the going over of the chords that were typed in to make the various outputs.

I liked the accessibility and efficiency side of things.

I really liked the conversational speech engine thing.

At first, I was a bit uncomfortable with how fast she was talking (it was very rapid fire), but she even addressed that (in giving the same presentation previously, she'd run out of time).

I liked the low cost aspect of it.

I thought her idea of a game (RPG or MUD) to learn how to type steno was interesting. I looked at the project website (http://plover.stenoknight.com/) and didn't see the game yet, so I am guessing nobody has taken up that torch yet.

I am skeptical about the keyboard as a long term input device, but I've been using it for 25+ years now, and it doesn't seem to be going away just yet.

Here's a site with an n-key rollover test, which should tell you if your keyboard will support this sort of stuff natively: http://www.gigahype.com/nkey-rollover-test-page/

I noticed that my keyboard supported, in some cases, up to 8 characters are a time -- but if I tried to hold WASD all down at the same time, it failed. So I guess it's not an n-key rollover supporting keyboard. (I vaguely remember reading something about this and how the key switches are laid out in a grid last year.)

I rarely seem to get problems with my fingers from typing, but one culprit is Tetris (which I play for hours every week, not sure why I'm not sick of it after so many years). It does cause some pain for me to play. I don't know if this sort of thing would ever help with that, but I am not sure.

Edit: Forgot to mention, the description of the logo was pretty neat.

canadev··on Even Tetris is hard to test
I've faced this problem in my own tests. I want to achieve total coverage so that I know that I've got all the cases covered, but then I end up testing the implementation rather than the contract. I'm not sure what to do about it.
canadev··on “You Don't Know JS” Book Series
Can anyone compare/contrast this with the book Secrets of the Javascript Ninja, by John Resig and Bear Bibeault?

I've got a copy of that around that I've been meaning to read for a while.

canadev··on EditorConfig
Interesting. I'll take a look to see what domain specific properties exist.
canadev··on EditorConfig
I guess I just figure these two are sort of overlapping. If you use .jshintrc why do you need this tool?

(The neat idea being: if a project has many languages, you can share code conventions for all of them in one place.)

canadev··on EditorConfig
https://github.com/felixge/node-style-guide

https://github.com/styleguide/ruby

This sort of thing...

canadev··on EditorConfig
The idea seems very cool, but I wonder if there is anything like this that could have more language specific stuff like "in JS (or Ruby, or ...) format your hashes/object literals/arrays/constants/... like so."

I like this, but the list of supported properties seems pretty short. I can see there might be some difficulties making it language-aware since the file formats are simple globs, but maybe you could say something like:

  [*.js]
  language_style = javascript
and somewhere describe that language_style in more detail.
canadev··on CVE-2014-7169: Bash Fix Incomplete, Still Exploitable
I don't think that's fair. What if he doesn't know how?

He could propose a patch sure, but exploiting a code base may not require in-depth knowledge of it, while making a good patch to it is much more likely to. (I suppose in an ideal situation the fix would be localized to a spot where one would only have to understand a screenful or two of code, but in my experience this is not usually the case.)

canadev··on I Had a Stroke at 33
Ha. I like this.
canadev··on I Had a Stroke at 33
Thanks for sharing.
canadev··on Keynote by John Carmack at Oculus Connect 2014 [video]
Thanks for the link. I'll probably end up watching this. I watched the Carmack talk as well.

Small note, but some things that kind of annoy me:

1. Audio sync issues -- the mouths and the words don't line up. I may just download the video and use the Audio Delay tool in VLC to watch it.

2. Start time of the talk: in this video you've just linked, the presentation doesn't even begin till like 6 mins in. Somewhat similar issue on the original video...

EDIT: Download link for the Abrash video: http://www.clipconverter.cc/download/pwvblTMb/123146223/

Download link for the Carmack video: http://www.clipconverter.cc/download/ecJvSoeC/123169959/

EDIT: Here's the "Bar/Far" video clip that Abrash showed, it was badly out of sync for me when I watched the presentation, but you can see it here: http://www.youtube.com/watch?v=FefFfvriAwQ#t=64

And here's the side-by-side: http://www.youtube.com/watch?v=FefFfvriAwQ#t=149

Pretty amazing.

canadev··on Show HN: Picnic.css, a lightweight Bootstrap alternative
They look like nipples.
canadev··on Startup Marketing Plan Template
I like it. Short and to the point.
canadev··on A failed experiment: How LG screwed up its webOS acquisition
Thank you!
canadev··on A failed experiment: How LG screwed up its webOS acquisition
I don't know what: CE, DLNA, and BOM mean. I think Airplay is some Apple streaming thing?
canadev··on Standard Markdown
I definitely see your point of view. Design by committee is enough to wear down the most passionate person. However, maybe they could have said a simple "We're actually working on a spec and two portable implementations (JS, C) based on the original article," and that might have gone a long way to prevent people from wasting their time.
← PreviousPage 2 of 5Next →