HNHacker News
TopNewBestAskShowJobs

iron_ball

1,532 karma · joined May 21, 2008

http://www.alanmacdougall.com
submissionscomments
iron_ball··on Tossing Out IRB for Pry
Another approach to editing your code while working in the REPL is to simply send code from your editor to the browser. I recently wrote a blog post about setting vim up for this: http://alanmacdougall.com/blog/2012/03/27/using-vim-slime-wi...
iron_ball··on CSS: The Good Parts
Good catch, yes I did! I was typing that on my phone, and had the wrong thing in my paste buffer. Both articles are worth reading though.
iron_ball··on CSS: The Good Parts
The original article is here: http://www.impressivewebs.com/css-the-bad-parts/

I don't know if this was blogspam or what.

iron_ball··on Japanese Conveys Information More Slowly Than Other Languages
Those three words are composed of Greco-Roman bases. Is English unique in having so many words like that? (And does anyone know the linguistic term for words made by "mixing and matching" existing roots and affixes?)
iron_ball··on Bedrock
Kind of my point, sadly.
iron_ball··on Bedrock
HTML and CSS often feel like they are poor fits for the purposes we put them to.

HTML works well enough for its purpose, but its SGML heritage makes it awkward to read and write; it is implemented inconsistently and sometimes clumsily, with countless edge cases where each browser pivots a different way; and it changes far too slowly to live up to our demands.

CSS is worse: it is simply unsuited for layout. Don’t believe me? Without looking anything up, design a three-column layout where all columns have equal height even when their contents are unequal. There’s a reason this layout was called “The Holy Grail”.

I used Flex for several years, before returning to Javascript at Paperless Post, and I have to say that Flex may have been huge, may have been overengineered, may have been Flash (an unforgivable sin indeed), but it was also consistent, layered, and open. Open in the sense of open source, but also in the sense this article demands: you could subclass or monkey patch everything in the system. You could make your components do anything you want, while keeping everything that was good about the superclass.

It isn't baffling that "open web" technologies lack this kind of programmer-facing openness. That's a result of the browser wars, the underlying implementation, the original design concerns, the limitations of the early internet, and umpteen other factors both human and technological.

But our systems _should_ become open and layered, or else Javascript polyfills and libraries will be the new platform, and HTML and CSS will simply be the uneven ground upon which that level platform was built. This is very nearly the case already. It's not a future that appeals, but maybe it's what we'll have to learn to expect.

iron_ball··on Economist on Linux Desktop: Free is too expensive
Xubuntu is my main OS for personal work, but I have the same experience.

When I boot into Windows and connect to my TV with an HDMI->DisplayPort adapter, the TV is recognized as a monitor instantly. In Linux, nothing. Maybe I could figure it out. But why should I have to?

When I use gpointing-device-settings to disable the touchpad, it becomes enabled again on reboot. Maybe I could figure it out. But why should I have to?

When I lose wifi connectivity, a notification window informs me of the fact. Always. Clicking "don't show this again" has no effect. Maybe I could install one of the patches someone uploaded to the months-old Launch pad bug. But why should I have to?

Sometimes the Hibernate command doesn't work. Sometimes it works, but causes the computer to reboot. Sometimes it works, but the system does not resume on restart. Maybe I could figure it out. But why should I have to?

While editing code in gvim, sometimes the screen is corrupted with tiny dots where text isn't fully redrawn. I can hit Ctrl-L to redraw. But why should I have to?

Sound playback is consistently quieter than on Windows. Sometimes I have to switch to Windows just to watch a video with a friend. Maybe I could figure it out. But why should I have to?

I love the quality of this Thinkpad, and I love the power of the Linux command line and the simplicity of the XFCE interface. But my next laptop will have to be a MacBook Pro.

iron_ball··on Why I Chose New York
"When a man is tired of London, he is tired of life; for there is in London all that life can afford." --Samuel Johnson
iron_ball··on No matter how much "karate" you know, someone else will always know more.
On the other hand, in the armed forces, rank commands respect (or at least all outward forms). In the civilian world, those with rank may be more insecure.
iron_ball··on Pair (YC W12) is a Path for the Two of Us
I'm actually doing that with the Instagram API to send her pictures of puppies. This may be more common than you think!
iron_ball··on We Can Do Better: An Apology from Sqoot
Second comment puts it perfectly: "Could you please explain how your "humor" was designed to call attention to the male-dominated world and was intended to be inclusive? How is inclusive to say that one of the perks were "women" and that one of your female event staff can fetch the boys some beer?"

Claiming humorous irony is a very thin get-out clause in this kind of situation. You can't say "we were advertising our female beer-fetchers to ironically draw attention to the male-dominated programming field, thus showing solidarity with women." It just doesn't hold water.

For your own sakes, guys, grit your teeth, bite down on a piece of leather or something, and write a real apology. This is so close! I know you can get the last 5% of the way!

iron_ball··on Functional Programming For The Rest of Us
With that in mind, I recently wrote a series of posts about integrating functional programming concepts into everyday Javascript programming (and AS3, which is nearly identical). The last two, in particular, might be interesting even for programmers who already understand the basics.

http://www.alanmacdougall.com/functional-series/

I'd really like to see these techniques emerge into the spotlight, instead of just being voodoo magic hidden deep in the guts of frameworks.

iron_ball··on Testing Netflix on Android
Same as the difficulty of writing a multi-platform anything. All development takes time and effort, which equates to money. Netflix is simply measuring expenditure against likely reward.
iron_ball··on [dead]
A whole lot of recruiting material on the site (and this challenge)... and nowhere could I find Quixey's physical location. Perhaps this means they're enlightened enough to be hiring remote workers?
iron_ball··on Cars kill cities
The new express busses are faster, but not by enough. Getting crosstown is still a hassle. I walk from 2nd Ave to 7th Ave every day for work, and find that it's generally nearly as fast to make it a brisk walk -- healthier and cheaper, too.

That said, taxis aren't the problem. At least they're always on the move and always picking up passengers. The parking lanes on the major streets should absolutely be turned into dedicated bus lanes -- but it's not taxis that are using that parking.

iron_ball··on Adobe Donates Flex to Apache
Flash updates itself seamlessly, even in IE6; even, to my knowledge, in corporate-firewall situations, as long as Adobe's servers aren't completely blacklisted.
iron_ball··on Interactive Vim tutorial
There is also a wealth of plugins for buffer switching; I like FuzzyFinder's :FufBuffer command. Invoke it and the most recent buffer will be at the top, so you can hit enter immediately.
iron_ball··on Google's new "freshness" update. Affects ~35% of searches
Google recently corrected "ruby dreampie" (I wanted a Ruby equivalent of the excellent Python REPL) to "ruby creampie", with extremely NSFW results. It should avoid correcting a search term if the corrected version is potentially offensive.
iron_ball··on The iPhone 4S Has Been Jailbroken
It's a handheld computer. You can certainly argue against having the right to customize it, but there is no technical reason you shouldn't be able to. It's not a toaster.
iron_ball··on Amit Gupta needs you
In what philosophical framework does modesty or even decency come before preservation of one's own life? This isn't Breaking Bad -- making a website and asking for help is pretty well unimpeachable IMO.
iron_ball··on There's a (Vim Plugin) For That Part 1: Fuzzy Finder
I started with FuzzyFinder, and although I've been using PeepOpen lately, I think I'll be going back to FuzzyFinder. It makes it easy to traverse the entire filesystem (which PeepOpen does not), and it makes directory structure apparent for situations where I don't remember the exact filename, but I don't want to mess with a full tree browser either.
iron_ball··on How Much Money Do The Top Grossing YouTube Partners Make?
If he had been, he wouldn't have needed a donation drive to pay for college.
iron_ball··on Ask HN: What % of your job interviewees pass FizzBuzz type questions?
Do you meant that they can't use Array.shuffle() or Array.sort(<some built-in random function>)? Or that they don't get any external source of randomness, even a 0.0 - 1.0 float?
iron_ball··on Google Flight Search
No one else does either, so I don't fly Southwest.
iron_ball··on Steve Jobs Sometimes Lies to You
If people did use it, it would be a competitive advantage. "FaceTime, an enchanted service that changes your life. Only on iStuff."
iron_ball··on Finding your way in vim: tags, cscope, grep and more
Saves a few steps jumping from hit to hit, and if you set up next-result and previous-result mappings, it's even faster. This is assuming your workflow is "find, then open one or more of the results in vim."
iron_ball··on Poll: Do you use Opera (the browser)?
I used to, because I loved the keyboard-only navigation (and Vimperator required me to hit number keys accurately, which is kind of awkward). Vimium on Chrome has left me only a few reasons to use Opera (mouse gestures, bookmark syncing), and they just aren't important enough.
iron_ball··on NYT Skimmer
Makes xScope crash to desktop on my HTC Thunderbolt.
iron_ball··on What Happened to the Future?
Didn't work at all on my Android phone.
iron_ball··on Noah Kagan and the Faceless Bitch slide
"we test the boundaries, and sometimes we make mistakes just to find out where those boundaries are." But somehow I do not think you are acknowledging a mistake in this case.
← PreviousPage 3 of 15Next →