HNHacker News
TopNewBestAskShowJobs

andrus

149 karma · joined April 22, 2010

http://github.com/markandrus

mark dot andrus dot roberts at gmail dot com

submissionscomments
andrus··on Chromebook can make a surprisingly sweet machine for a developer
Also, last I checked, Secure Shell relies on an NaCl plugin incompatible with the Samsung ARM Chromebook.
andrus··on Chromebook can make a surprisingly sweet machine for a developer
Crouton is awesome—you get a chrooted Ubuntu accessible via crosh. You have CLI access with `sudo enter-chroot` and can launch XFCE4 with `sudo startxfce4`.

I never use XFCE, but if you do, you can seamlessly toggle between ChromeOS and XFCE with a keyboard shortcut (e.g. a YouTube video playing in ChromeOS remains playing if you switch to XFCE).

andrus··on Duck Wrapping
https://github.com/promises-aplus/promises-spec/issues/94
andrus··on Callbacks are imperative, promises are functional
Thank you for clarifying! I did not know that all functions in Haskell are considered curried. My surprise stemmed in part from reading a bit about "arity" from [1].

It's interesting how the theoretical model of Haskell--"all functions in Haskell take just single arguments"--differs from implementation, where, for functions of known arity, GHC in particular does not actually "follow the currying story literally" [2].

[1] http://hackage.haskell.org/trac/ghc/wiki/Commentary/Rts/Hask...

[2] http://community.haskell.org/~simonmar/papers/eval-apply.pdf

andrus··on Callbacks are imperative, promises are functional
Really? Consider

    f :: a -> b -> a
    f a = g a
    
    g :: a -> b -> a
    g a _ = a
It doesn't seem right to say that g "returns a function that takes one b", whereas you could say that about f.
andrus··on Learning JavaScript - my experience and advice
I'll second the author's recommendation of Effective JavaScript by David Herman. I've found it very helpful: http://effectivejs.com/
andrus··on RVM Cert Expiration
Saw this last night when I tried to setup RVM on a new machine. Quick fix is to do the following (from: http://stackoverflow.com/questions/6414232/curl-certificate-...)

  echo insecure >> ~/.curlrc
andrus··on A New Vaccine For Drinking Could Keep Alcoholics Sober
Yeah, give my dad this and he'll just up his consumption of Klonopin.
andrus··on Twitter Loses Ability to Properly Display Instagram Photos
Maybe at the beginning the filters were a distinguishing factor (I don't know because I wasn't an early adopter, nor did I try, for example, Hipstamatic or others).

But now I think Instagram's clear use case is seeing the world through your friends' eyes--what they're eating, seeing, doing. Filters seem less important now, especially given the #nofilter trend.

andrus··on Mona Lisa in pure CSS
Cool hack. It would be neat if the box-shadows used relative units rather than `px` so that you could resize the result, but then why not use SVG?
andrus··on Do Web Developers Ever Learn?
Exactly, and I think this is a poor pattern cropping up in a lot of JavaScript heavy sites.

Take, for example, Twitter--

You CAN right-click on links like:

- "Tweets"

- "Following"

- etc.

But you arbitrarily cannot right-click:

- A link to the user's "Recent images"

- The link to a user's profile from "Recent images"

- etc.

andrus··on CSS3 patterned buttons

  there are only so many effects you can generate with styles alone,
  and even then the results of fine-tuned visual effects
  generated by Photoshop are often visibly superior to a
  limited version of the same effects applied using CSS.
I can relate there, but for me, on the whole, it seems easier to declare and manage the rules for style, size, etc. in CSS rather than in Photoshop, where the analogue feels baroque (aligning elements proportionally without numerous guides? clicking through layer styles...).

I hope there's a more programmatic interface/extension to Photoshop that I've been missing.

andrus··on GCC celebrates its 25th anniversary with the release of 4.7.0
Actually, I just confirmed that i686-apple-darwin11-llvm-gcc-4.2 compiles gcc 4.7

I don't know what other versions of llvm-gcc are shipped with Mac OS X

andrus··on Apology from Geeklist
It was a repo of bug reports to geeklist. Someone opened an issue regarding the video

See http://news.ycombinator.com/item?id=3740970

andrus··on GCC celebrates its 25th anniversary with the release of 4.7.0
The bootstrap process for gcc involves first building gcc with an existing C compiler, then rebuilding gcc from this first build [1].

I'm still waiting for my build to finish, but i686-apple-darwin11-llvm-gcc-4.2 seems to be handling the gcc 4.7 source fine.

[1] http://gcc.gnu.org/install/build.html

andrus··on GCC celebrates its 25th anniversary with the release of 4.7.0
The standard `./configure && make && make install` shouldn't be un-easy
andrus··on Why Chicago Doesn't Produce Innovative Startups: Midwest Mentality
No kidding.

Based on the author's earlier writing [1], he seems content spinning a clichéd narrative of Chicago, without furnishing any supporting evidence or challenging his preconceived notions.

[1] http://pandodaily.com/2012/03/16/enterprise-the-chicago-kiss...

andrus··on The Open Brand: a framework for defining brands
Agreed. The PSD wrapper is kludgy.

Sites that just need to put a brand logo up as part of a content update are just going to resize the logo from available PNGs.

I imagine in any more complicated cases someone with Illustrator is doing the job.

andrus··on The Case for a Git-Powered Project Gutenberg
Indeed, I've been working on this type of tool (without the distributed component) for blog authors who want user-submitted corrections: http://edithuddle.com

When you want a central, de-facto version, it makes sense to have a way of aggregating "similar" corrections (both in type and content) from changes.

andrus··on Django Production Deployment and Development Using Git
How does Fabric compare to setting up a git hook on post-merge to run collectstatic, etc.?
andrus··on Ask HN: Freelancer? Seeking freelancers? (September 2011)
SEEKING WORK - Remote/Local - Chicago

I hack on C, Ruby and Haskell projects.

I like algorithmic image generation:

http://www.youtube.com/watch?v=Jrfsy6XgqUY

https://github.com/markandrus/kaprekar

Image/Audio transcoding plugin for JACK Audio Connection Kit

http://mrkrbrts.com/2011/02/24/sonify-updated.html

An ImageMagick DSL for batch processing images/videos

http://mrkrbrts.com/2011/04/08/pipeline.html

I do web design & development in my free time (front/back-end). I've written modules for OpenVBX; worked with Drupal, TextPattern, Joomla; jQuery/JavaScript; PHP; logo design, etc.

I get amped about graphics/video processing projects, too, so send me an email:

Contact: andrus@uchicago.edu (My name is Mark)

andrus··on Announcing my first e-book "Awk One-Liners Explained"
I've found that awk is one of those tools whose potential use becomes clear only after putting in some initial effort to learn it. Along with sed, sort, and others, awk has solved problems for me that would have otherwise been extremely tedious.

So the reason "why not be a master the shell" seems more about saving yourself time/being more efficient/knowing the tools at your disposal.

andrus··on Fun abstract image generator using SVG and hashes
Wow, this is sick. I wish it had a "Print to T-shirt" or "Buy Stickers" feature. I would definitely rock a couple big, blocky tees from this site.

It would be cool if you generated red, green, and blue layers and then mixed them for color results, too.

andrus··on thesixtyone (YC 09) explores a new direction on iPad
I really disliked the redesign of thesixtyone. It was an interesting reconceptualization of what the website could be, but I still find it annoying to use in an actual browser.

Seeing Aweditorium, the direction they've taken makes all the more sense to me. The game elements in thesixtyone and the mini-map in Aweditorium trigger something really nostalgic in me. It will be interesting to watch these elements converge between the two services. I just wish I had the hardware to enjoy this.

andrus··on Image manipulation using audio and vice-versa in realtime.
Thanks -- you are right -- I wish I could still edit the link
andrus··on Implementing Shazam with Java in a weekend
The technology implemented by Shazam reminds me of an older art project that was never released. Scrambledhackz:

http://www.popmodernism.org/scrambledhackz/index.html

Has anyone heard anything on this?

andrus··on My 7th attempt at a startup: Selling layer styles to Photoshop users.
I misread the url and immediately saw "player styles." Perhaps a more succinct brand name or url could help? EDIT: I see "Style Works" on the page now.
andrus··on Teaching Geometry in Alabama
Is the title of this post meant to suggest that such is typical of Alabama?
← PreviousPage 2 of 2