HNHacker News
TopNewBestAskShowJobs

mcantor

5,255 karma · joined May 21, 2009

Devout software hater.

http://www.maxcantor.net

my name is max cantor.

my email is firstname at firstnamelastname dot net

purveyor of vim cheat sheet posters

http://www.vimcheatsheet.com

submissionscomments
mcantor··on Google Quietly Rolls Out The Chrome Extension To Bring +1 To The Entire Web
Imagine if Facebook made their own browser and offered an extension to “Like” any page on the web through it — same idea...

Wouldn't the same idea be Facebook releasing a Chrome extension for their "Like" button...?

Just sayin'.

mcantor··on My Neighbor, Steve Jobs
Out of curiosity, how does this violate his privacy?
mcantor··on Why no Steam, Notch?
Thanks for helpin' a brotha out!
mcantor··on Why no Steam, Notch?
I really admire how much Notch seems to understand opposing viewpoints that most people would simply make inflammatory posts about. His diplomacy here, as well as with Bethesda, has been stellar: Not "Steam is a DRM-ridden mess that I wouldn't touch with a ten-foot pole, bwa ha ha!", but instead, "I understand why they'd want to control their platform." Not "Bethesda are an Orwellian corporate giant trying to crush the little guy, bwa ha ha!", but instead, "This is probably just lawyers being lawyers." Never a bridge burned. What respect and maturity! Hats off to you, Notch. I'm proud to be a part of the same community of developers as you.
mcantor··on Learn Vim Progressively
Use Ctrl-o in insert mode to dip into normal mode for just 1 command. Also, use Ctrl-r in insert mode to paste the contents of an arbitrary clipboard (Ctrl-r, a to paste register "a, Ctrl-r " to paste register "" and so on).
mcantor··on AT&T Now Charging You an Extra $2/Month For Not Using Enough Long Distance
I have a DSL-only plan with AT&T. It works fine, but every time I call for support, they ask me for "the phone number on my account", and I have to re-explain ten times that I have only DSL, and not phone or TV service. Often I am told that it is impossible.
mcantor··on NPR tried Google's 20%-time with their developers
I'd be surprised if it was common... if you think about it, startups are basically "20% projects" that everyone in the company is spending 100% of their time on. :-)
mcantor··on NPR tried Google's 20%-time with their developers
Why do people leave anywhere? If you can believe there's no such thing as "The One" in dating, for example, you can believe people have good reasons for leaving Google. It's all subjective, after all.
mcantor··on Announcing the first release of batman.js
Maybe the guy you're replying to edited his post, but "If it's a JavaScript framework, please give code examples in JavaScript"--to me--reads as a rather polite request, rather than a dictum as you suggested.
mcantor··on A Mess is not a Technical Debt
You know your language has failed you when you can't even agree on whether you're agreeing or disagreeing.
mcantor··on Silence: Because I talked so rarely, people took the time to listen to me
"We have two ears and one mouth for a reason."

I think one of the big reasons this is effective is because when you're not talking, you're listening, and this lets you figure out which stuff actually matters.

mcantor··on Command line tools for web developers
I switched from screen to tmux about three months ago. It's easier to configure, does vertical splits, and is under more active development (apparently).
mcantor··on Welcome to the Cloud - "Your Apple ID has been disabled."
Duly upvoted! I appreciate your willingness to keep an open mind.
mcantor··on Why you don't steal from a hacker.
Well-argued!
mcantor··on Evidence That ADHD Is a Genetic Disorder
I don't think "disorder" and "collection of personality traits" are mutually exclusive terms.
mcantor··on Evidence That ADHD Is a Genetic Disorder
My dad's advice was the last grain of rice. Getting diagnosed was the result of a long period of slowly accruing more information about the disorder. If you suspect you might have it, it's worth going to see a psychiatrist or psychologist; if you don't really have that kind of time or cash, then buy or borrow "Driven to Distraction", which has a section devoted to figuring out whether you have it.

Even if you don't, reading the book will probably still give you some insight into your own personal habits!

mcantor··on Welcome to the Cloud - "Your Apple ID has been disabled."
Where on Gruber's website is his relevance to the subject made clear?

EDIT: No, seriously. If someone has no idea who Gruber is and they click through to his site, tell me where on the screen they would see information that answers the implicit question "Who is Gruber and why would him finding out about this problem aid its resolution".

mcantor··on Evidence That ADHD Is a Genetic Disorder
BTW, your website (http://mattdeboard.net) appears to be down. (Just FYI)
mcantor··on Evidence That ADHD Is a Genetic Disorder
Glad to know my post resonated with someone! I still struggle almost daily with ADD-related complications, but getting on the treatment bandwagon was a huge step forward.
mcantor··on Use Jonathan's card to buy yourself an iPad
Mr. Odio lives up to his name. This is a truly odious act.
mcantor··on Why you don't steal from a hacker.
It's amazing how when big media releases a story about "hackers ruining America", people come out of the woodwork saying "actually, the term for someone who practices forced electronic entry is 'cracker', and 'hacker' just means someone who writes code", but when someone uses it that way, the HN post fills up with comments about how the term 'hacker' has been diluted.

PICK ONE, GUYS.

mcantor··on Evidence That ADHD Is a Genetic Disorder
I'm 26, and I was diagnosed with ADD last year, at the suggestion of my dad, who was not diagnosed until his 40's. It took me almost a year to start actively researching ADD, because I grew up in an upper-middle-class community where it was primarily over-diagnosed in unmotivated kids whose parents were convinced that brain dysfunction was the only thing that could possibly keep their children from being A students. To say the very least, I was skeptical.

When I finally began learning about ADD, I was startled by how standard my story was. Reading Driven To Distraction was a watershed experience for me; at times I was convinced that they had simply copy-and-pasted my academic transcript: "Dreamer," "Has a creative mind that would produce incredible results if he applied himself once in a while," "Inconsistent. What happened to the A student sitting in my classroom last year?"

In perspective, so much suddenly made sense; not just my experiences in high school, but beyond that as well. I failed only one class in my entire academic career, a programming course in my second year of college. How ironic and confusing that my only failure would be in the subject for which I had the most passion. Now it made sense. Only two or three years ago from today, I almost lost my job because my output was so inconsistent. I barely scraped by and recovered, but the experience shook me. Now, I understood.

There are many forms of treatment, all of which I have experimented with. When it comes to medication, it took me a long time to settle on Adderall, which lets me focus like a normal person without any appreciable side-effects. The drug was a game-changer for me, like the first time I put on glasses.

I think I'm glad that I wasn't medicated as a kid, if only because of a deep uncertainty about medicating something as malleable as a child's brain. Conversely, going 25 years without diagnosis has also drastically affected every part of my life. (I have no idea how my dad dealt with it for almost 50 years.) This was also something that I grew to understand as I learned more about ADD; undiagnosed, it can lead to perennial struggles with depression, self-esteem, poor impulse control and a host of others. I think the most important thing about ADD isn't necessarily medication or even "treatment" but simply awareness.

"Laziness" is a symptom, not a root cause. If we can be mindful about the signs of ADD in childhood, we have already taken a huge step towards improving the quality of life for people with the disorder, and everyone they interact with. I'm sure there will be debates about how to treat it for many years to come, but simple awareness can only help.

mcantor··on Can we believe our eyes? Misleading people with Unicode.
It's funny to think that a hapless vimmer who happens to be running Windows would have never noticed this, because they would simply have typed ":edit $SYSTEMROOT\system32\drivers\etc\hosts" and gotten the real file.

(This isn't a "look how cool command line junkies are" comment; I was just musing.)

mcantor··on A lack of sleep can kill you
That's a great point. There are also studies that show driving tired can be just as bad as driving drunk.
mcantor··on Advanced tricks with vim registers
Surprise! You have been using buffers all this time. A "buffer" is just "a file in memory"; if you have 1 split on your screen, with a different file in each split, then you are viewing 2 buffers.

The two things which will probably give you the biggest bang for your buck are:

  :ls
Which lists all buffers currently in memory, and:

  :b
Which supports tab completion, allowing you to instantly jump to any file with just a few keystrokes. You'll also probably enjoy Ctrl + 6 / Ctrl + ^, which swaps between two buffers.

You'll need to do

  :set hidden
before switching between buffers in a single window. Don't worry, though; if you try to quit without saving a modified buffer, or use :bd to delete a buffer without saving it, vim will yell at you.
mcantor··on Designing gtrot.com in 60 seconds by nomoregoodnames
Am I mad, or was this actually 120 seconds of a 60-second loop?
mcantor··on Advanced tricks with vim registers
- How do delete without clobbering the "clipboard" register:

Delete to the "black hole register", "_". For example:

  "_dd
- How to enter the solution to a quick math equation while in insert mode:

Use the "expression register", "=". You can even use variables. For example:

  ^r=5325*30<ENTER>
- How to edit a macro once you've recorded it:

Paste, edit, and re-yank its register. For example, hitting "qq" will record to register "q". If you want to edit it, you can do "qp, make your changes, then visually select it and do "qy.

- How to access prior contents in the clipboard:

Use registers 0 - 9. For example, "0p will paste whatever was in the clipboard register before you yanked whatever's in there now.

BONUS ROUND:

- In command mode, how to insert the word currently under the cursor:

  ^r^w
(That's Ctrl-r, Ctrl-w)

- Insert a register's literal contents: For example, if you have a ^m (newline) character in the a register, but you want to input the ^m character instead of an actual newline while in insert mode:

  ^r^ra
- Insert the full path of the filename currently under the cursor:

  ^r^f
(This only works if it's in your 'path' variable, like with gf.)
mcantor··on [dead]
Please refer to the HN guidelines, which you can reach by clicking "Guidelines" at the bottom of every page:

On-Topic: Anything that good hackers would find interesting. That includes more than hacking and startups. If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual curiosity.

mcantor··on What Happens When a Reasonable Developer Runs Into Aggressive Trademark Lawyers
If Warcraft & Starcraft had been the first games to use that naming convention...

Weren't they?

mcantor··on The Definitive Guide To Website Authentication
This is an admirable hack of SO's intended use. It would be great if there was a site that actually afforded this particular use case. Wikis are too open-ended. Perhaps something in the middle.
← PreviousPage 7 of 32Next →