Xion

Joined 15 years ago

Karma
580
Submissions
132
Member since
Oct 1
Software developer with wits and passion.

http://xion.io http://twitter.com/Xion__

View on Hacker News

Recent submissions

Comment · 13 years ago
Cool stuff!

One suggestion: if the code wasn't changed yet, switching languages should adjust the syntax in the initial example. So the default `var foo = 'bar';` in JavaScript should become `foo = 'bar'` in Python, etc.

Comment · 13 years ago
> the UX is great.

The UX is indeed very nice. Just a small issue: FF19 on OSX 10.8.3 displays a horizontal scrollbar. Looks like a margin or padding problem with the central feed element.

Comment · 13 years ago
The default is All rights reserved, so you need to provide a license for anyone to do anything with the code of yours and sleep good at night knowing you won't exercise your rights through persecution.
Comment · 13 years ago
Well, about time!

When I bought a Kindle more than two years ago, one of the first use cases I discovered was finding an article on the web, deciding it's too long to read on a glare screen and wanting to send to the Kindle's browser. What I ended up doing was adding the articles to Pocket (Read It Later at that time) and crafting a small PHP script that turned the RSS feed of Pocket's items-to-read into a simple page with links, suitable for Kindle.

I still use Kindle for that sometimes, although I've moved with most of my Web reading to a tablet.

Comment · 13 years ago
Comment · 13 years ago
> http://rubydramas.com

You just made my day posting this. It's absolutely hilarious!

Comment · 13 years ago
As a member of Python community, I hereby congratulate Ruby for joining the ranks of pretty-cool-but-not-so-hot-anymore technologies. There are years of Getting Stuff Done ahead of you. Way to go!
Comment · 13 years ago
Honestly, that doesn't sound like a best practice and more like a convoluted performance hack. It's one thing to use a pre-allocated memory pool for speeding up the creation of objects in native language like C++. Having to the equivalent while working several software layers above that is an example of extremely leaky abstraction.

DOM and Javascript engines still need few more man-centuries of iteration to bring their performance closer to e.g. JVM which doesn't really require hacks like that anymore.

Comment · 13 years ago
Comment · 13 years ago
Source? I have never heard that claim. And contrary to that, Go has facilities for implementing ORMs, like field annotations in structs for specifying column bindings.
Comment · 13 years ago
Comment · 13 years ago
Comment · 13 years ago
I think we all know what language (s)he meant.

But about those dark corners, I guess the point wasn't to present any particularly nasty gotchas, but rather some precious little lesser known tricks. C has plenty of very well known features you can be bitten by (mostly related to memory management, of course). While the presentation reiterates over some of them, the most valuable parts are about various _good_ parts of the language which are rarely heard of (viz. the usage of `static` inside brackets).

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton