HNHacker News
TopNewBestAskShowJobs

lenary

152 karma · joined March 1, 2010

submissionscomments
lenary··on A little-known C feature: Static array indices in parameter declarations (2013)
They are likely to remove this in the next C standard (or may have already), because a declaration with a static size is “compatible” with a declaration with no static size, and thus you can get unsoundness.

So your compiler should accept (though the semantics of static suggest this program would be wrong):

    void foo(int a[static 3]);
    void foo(int a[]);
According to the spec, this is fine, but when you come to define the function foo, should it respect the ‘static’ annotation? The spec doesn’t say, and doing static analysis of subsumption for the expressions after ‘static’ is much more complex to keep sound than C prefers in its specification.
lenary··on Checked C: extension to C that adds static and dynamic checking
It is not ready for production use.

Do try it out though!

lenary··on The 10 Commandments for Remote Team Management
It seems you still want to micro-manage your remote team, which at the same time isn't that remote as you want to meet them once a week.

Come back when you have some sensible suggestions for a truly remote team.

lenary··on ICFP Contest 2012
There has been discussion about this already - Kevin Hammond makes his case here: http://icfpcontest2012.wordpress.com/2012/07/05/judging-envi...
lenary··on How to beat the CAP theorem
I love that research is going into disproving already superseded theories.
lenary··on GitHub adds a dashboard showing all issues for all your projects
FINALLY! Been waiting for this for ages!
lenary··on GitHub - Shiny new commit styles
is it just me, or does anyone else think that though the design is prettier, it kinda makes other parts of the app look bad - for instance compare the commit style to the tree listings. it's not that one or the other look bad, it's just the dissimilarity is jarring.
lenary··on Ask HN: Is anyone else having significult difficulty posting right now?
yes, seems really slow from my end too.
lenary··on Ask HN: Help me improve my Rails 3 Environment. Please.
no need to restart the server. if you're using passenger, just `$ touch tmp/restart.txt` (in your rails app). That will restart just that app in passenger (and lots of other servers too)
lenary··on This Monitor just needs an Ethernet Cable
this is not quite what it makes out to be. of course at one level you only need an ethernet cord, but at some level you need to supply power to the cord itself. That power requires a power cable + PoE box if done close to the monitor, or you can buy a rack PoE unit and do it further away, which will have a limit on how far away from the unit you can be.

PoE units are useful when having only one cable enter the housing for waterproofing issues. otherwise, why go to all the hassle?

lenary··on Ask HN: What is the first thing you do before starting a new project?
nope, i don't do that... maybe i will someday
lenary··on Tell HN: I'm writing an Erlang recipes book, are you interested?
doesn't heart kinda solve the cyclic "who restarts who thing". I think heart (if enabled) sits there until the erlang process exits, restarts the erlang vm, which in turn also brings up an instance of heart. yeah, complicated and not perfect, but it works.
lenary··on Rails Hotline (live phone help with RoR)
an, if only herokugarden lived on, that would be ace!
lenary··on FBI seized PokerStars.com, FullTiltPoker.com, UB.com,... domain names
and that the ip cirfu.net is currently on is owned by amazon. (from my angle)
lenary··on FBI seized PokerStars.com, FullTiltPoker.com, UB.com,... domain names
what's even more instesting, is that cirfu.net also has this notice up, which is very very strange. Surely they wouldn't take their own site down for gambling offences
lenary··on Rails 3.1 shipping with CoffeeScript
default frontend scripting language
lenary··on Ask HN: Can You Code Under the Influence of Alcohol?
Sometimes yes, sometimes no. it depends on the alcohol, how much and other external factors like my levels of motivation or tiredness.

It would be clichéd to say that some of my best work was done drunk, but i'd also like to point out that some of my worst has been done when drunk too.

lenary··on Ask HN: Ruby on Rails Sites
rubyforge is pretty good, and i think railsinside and/or rubyinside let you contribute posts if you wish
lenary··on Accounting for Computer Scientists
This i found very enlightening to read. I wonder how many accounting apps actually store their data as he describes in this article, to aid their calculations
lenary··on Poll: What's your preferred work environment? (private/shared office, openspace)
Thinking over this comment, would it be weird to set up an office where the managers all are in an open-plan setup, and the developers all have their own private offices? I think it would be interesting to see what the outcome was

(Disclaimer: i'm a developer who works in an open-plan office and hates it)

lenary··on Ask HN: Non-Cliche Quotes That Really Hit Home
"The hard fact is if a user cannot learn how to use a feature, it might as well not exist." - Dale Harvey, from this page: http://arandomurl.com/2010/07/07/design-tips-for-programmers...
lenary··on Show HN: Our new $149 hackable Bluetooth wristwatch
did anyone else think "red-green-refactor-wristband" when they saw this? Or at least something to hook into a CI or uptime service?
lenary··on OAuth Will Murder Your Children
the "scope" parameter that google included is actully from the OAuth 2.0 spec (still in draft iirc). There are a lot of improvements in OAuth 2.0 which are worth checking out, but this is one of the main ones
lenary··on The practicalities of CSS Media Queries, lessons learned
for your issue with wanting to swap stylesheets when the user clicks (mobile | standard) or whatever, try doing all your media queries in the stylesheet <link> tags themselves, then using javascript to unset all the media="" parts, or change them so that the correct stylesheet applies, rather than faking browser width that might fuck around with other JS functions
lenary··on [dead]
I will upvote you, because I'm the OP and you are making comments useful to the discussion I hoped to provoke. Too bad about the downvotes for my comment "laughing is evil" (which was said sarcastically, ftr)
lenary··on [dead]
it wasn't taken so. that's almost exactly where I was coming from to post the article anyway
lenary··on [dead]
to be honest, it's because i'm new to posting here and felt like being sensationalist
lenary··on [dead]
laughing is evil
lenary··on Block Helpers in Rails 3
well, thankfully lots of us use haml, not erb, so we don't care all that much
lenary··on Ask HN: Review my new A/B testing and analytics startup
I love free wood!
Page 1 of 2Next →