HNHacker News
TopNewBestAskShowJobs

mace

4,158 karma · joined May 7, 2008

python, golang, erlang, elixir, c, and javascript hacker.
submissionscomments
mace··on Ask HN: Is the state budget crisis a reason not to move to California?
Here's an interest perspective.

The truth about California: http://www.marketwatch.com/story/story/print?guid=3229293A-F...

mace··on NoSQL at Twitter
> Does that mean that the inability to tweet grinds to a halt if the system clock gets set back

Not necessarily, their applications most likely have some retry logic which runs when an InvalidSystemClock exception is caught.

mace··on Using the Cython Compiler to write fast Python code
Pure C extensions will give you the best performance. If you write really modular C code, interop with it and Python is really clean.

Cython is interesting, but as cited, there are also some limitations and caveats. See http://docs.cython.org/src/userguide/limitations.html and http://docs.cython.org/src/tutorial/caveats.html

mace··on Redis Cluster: a pragmatic approach to distribution
Yes, this is antirez's presentation about Redis cluster at a recent Redis meetup: http://twitter.com/antirez/status/28939763430
mace··on Can you solve it? The Greplin programming challenge
IMHO, these contrived puzzles, while fun, are really unrealistic and don't map well to problems you'll encounter on the job which requires knowledge, experience and creativity and do not have just one answer.

Of all of the jobs-page challenges, thesixyone's is probably the most practical and I've seen:

http://www.thesixtyone.com/static/jobs

mace··on We Built Interactive Seating Maps Using Raphael; Please Give Us Feedback
Zooming interface works really well. For example, I like that when zoomed out tickets of a section are grouped together. But performing is a bit slow with a cold client-side cache.

Any you particular reason you chose SVG over other alternatives (eg. tiled bitmaps)?

mace··on All about GNU Screen
tmux has been recommended frequently lately, but I have not tried it. This seems to be decent summary of the differences between it and screen:

http://unix.stackexchange.com/questions/549/tmux-vs-gnu-scre...

mace··on Ask HN: tips for working with Mac OS X without using the mouse? (RSI)
The latest version of screen also supports vertical splitting.
mace··on Ask HN: What is the best city to start a start-up in Europe?
I would think Zurich would be pretty good for the following reasons:

* ETH (availability of talent from a good computer science research university)

* Good transportation alternatives (you can get a direct flight to/from Zurich from/to most major airports, direct high speed trains are also available to France and Germany)

* Business friendly tax rates (relative to other European countries)

* Switzerland, in general, has high quality of life

Side note, Google has a sizable office in Zurich and is able to attract and keep talent from both Western and Eastern Europe.

mace··on Script type="text/python"
I think Skulpt (http://news.ycombinator.com/item?id=747086) has more potential and is more interesting.
mace··on Zed Shaw on C++
V8 is ringing endorsement for V8. It is just a well-designed JavaScript virtual machine. It's performant because it compiles JavaScript to native code and uses generational garbase collection.
mace··on Ask HN: Let's Revive PG's /ideas.html discussion
This is an interesting idea. The vast majority of kids in High School are employed/exploited by fast food restaurants. Hundreds of years kids of High School age were under some type apprenticeship. It would very interesting to bring back something like this today.
mace··on After 15 years of practice..
I wouldn't believe everything Google says.
mace··on [dead]
From the Release Notes (http://docs.djangoproject.com/en/dev/releases/1.2/) :

  Support for multiple database connections in a single Django instance.

  Model validation inspired by Django’s form validation.

  Vastly improved protection against Cross-Site Request Forgery (CSRF).

  A new user “messages” framework with support for cookie- and session-based message for both anonymous and authenticated users.

  Hooks for object-level permissions, permissions for anonymous users, and more flexible username requirements.

  Customization of e-mail sending via e-mail backends.

  New “smart” if template tag which supports comparison operators.
mace··on Better performance in App Engine with new Lisp language Clojure
The blog referenced in this post has more details on their use of Clojure: http://www.hackers-with-attitude.com/search/label/Clojure
mace··on Python and vim: Two great tastes that go great together
This presentation was given at PyCon 2007. There doesn't seem to be a recording of it online, however.
mace··on Patterns in Python
Agreed, this feels vaguely like writing Java or C# in Python. If you're coming from one of those languages it's more useful to learn how Python (or Ruby or JavaScript for that matter) solves these problems rather applying those patterns to Python.
mace··on Fossil, DVC with wiki and ticketing developed by sqlite creator Richard Hipp
Previous post and discussion: http://news.ycombinator.com/item?id=809493
mace··on The Nature of Lisp (2006)
Older post: http://news.ycombinator.com/item?id=127736
mace··on Karnickel: AST Macros for Python
> 1. Can the macros execute code while expanding?

Probably, since this 'expansion' occurs during runtime.

> 2. Is there any way to use gensyms?

Gensym-type functionality could probably be added.

> 3. In Common Lisp, the add-macro would probably use quasiquote and unquote, like this: (defmacro add (x y) `(+ ,x ,y)) > Is there any way to use quoting?

Not likely, since Python itself treats code and data differently.

The main benefit is in creating new statements, expressions and blocks to allow for new abstractions. But this is not quite the same as Lisp macros.

mace··on Coding Horror: What's Wrong With CSS
When working on a web project where I have no designer I inevitably get sucked into hours of painfully tweaking CSS. The biggest pain points is that CSS is not programatic and feels very restrictive(it's a declarative non-turing-complete language); Nor is it concise.
mace··on HP Buying Palm For $1.2 Billion
I'm hopeful, but I'm expecting the worst. webOS seems to be a compelling technology, particularly because its SDK allows developers to use HTML5, CSS, and JavaScript which many more developers know and use than say Objective-C.

The reason I'm expecting the worst is that HP has never been a software company and not even Palm can change that.

mace··on The advantages of programming on a small netbook
I just moved to a netbook for most of my hacking and am pleasantly surprise how well it works. I run Ubuntu with Xmonad. Xmonad works really in the small screen. I compensate for the slower Hard Disk and CPU by maxing out the RAM. A big win is being able to go almost one full day between charges.
mace··on PyPy 1.2 Released
It would be useful what the memory usage is like to see if there's a speed/memory tradeoff between PyPy and C-Python.
mace··on API Hack-a-thon tomorrow in Mnt View (Bump, Twilio, Olark, Y, etc)
APIs for the invited companies:

http://bu.mp/api.html

http://www.twilio.com/docs/

http://www.olark.com/docs

http://www.box.net/developers

http://pbworks.com/api_v2/

http://www.webservius.com/corp/documentation.html

http://developer.yahoo.com/yql/

Lots to play with.

mace··on PyCon 2010 Videos Now Available
Until the videos come online. Most of the presentations slides can be found here: http://us.pycon.org/2010/conference/schedule/
mace··on Sisc Scheme on Dalvik VM
ASE: http://code.google.com/p/android-scripting/

From the ASE wiki: "ASE lets you develop on the device itself using high-level scripting languages to try out your idea..."

What would prevent ASE from being used to develop a full Android app?

mace··on Ask HN: Who's Hiring?
Mochi Media is looking for hackers.

   Work in SF.
   Code in Python, Erlang and ActionScript(Flash).
   Open Source contribution a plus.
See http://mochimedia.theresumator.com/
mace··on Gates and Jobs look into the future of personal computing (2007)
Great interview. Here's a link to the full interview and transcript:

   http://d5.allthingsd.com/20070530/d5-gates-jobs-interview/
mace··on Mochi Media Acquired By Shanda Games For $80 Million
Yep, agreed and I believe they created the MochiKit and SimpleJSON projects as well.

FWIW, MochiWeb is also used by CouchDB and some other Erlang projects too.

← PreviousPage 2 of 4Next →