HNHacker News
TopNewBestAskShowJobs

funksta

235 karma · joined December 3, 2010

Side project: https://hyperpaper.me
submissionscomments
funksta··on JSX is no longer my friend
It is an alpha-quality library, but I've been playing around with something like this, using ES2015 template strings: https://github.com/af/slashpile

I've yet to figure out if the run-time performance hit is reasonable, but I vastly prefer the syntax to either JSX or hyperscript (I previously wrote a hyperscript-like library as well, and have used it for several months)

funksta··on Openage – Free Age of Empires 2 engine clone
Check out http://www.openra.net/

* Actively developed (newest release just over a week ago)

* Cross platform (Linux/OS X/Windows)

* Reasonably active online player base

I play it semi-regularly and it's a lot of fun!

funksta··on A first GraphQL Server
Yes, you can return a Promise in resolve(). I believe it's mentioned in the first half of this talk: https://www.youtube.com/watch?v=gY48GW87Feo
funksta··on Ask HN: ReactJS – Do you use it? Do you like it?
I agree on the JSX point, but there are a few libraries that make using plain JS less awkward:

https://github.com/af/JSnoX https://github.com/mlmorg/react-hyperscript https://github.com/jussi-kalliokoski/react-no-jsx

I do wish the React team made their plain JS API less of a "second class citizen" to JSX though.

funksta··on Tmux 2.0 released
I tried the same patch on 1.9a but couldn't get it to work (tmux built fine but no dice with 24 bit colours). Very curious to hear if it works with 2.0.
funksta··on Tmux 2.0 released
I don't see anything about it, so I'm assuming there's still no support for "true" (24 bit) colour? Would really love if they added that, since Neovim now supports it.
funksta··on React Native is now open source
This is destructuring (a new feature in ES6, the upcoming version of JavaScript). There's a great in-depth read on how it works here: http://www.2ality.com/2015/01/es6-destructuring.html
funksta··on React v0.13.0 Beta 1
It's not quite the same as HAML, but you might try JSnoX: https://github.com/af/JSnoX
funksta··on PostgreSQL Outperforms MongoDB in New Round of Tests
Could you confirm that you can atomically update a single item inside a jsonb field without reading/writing all of the jsonb data? I know this is possible with hstore (but not 9.3's json type), but can not find a clear answer for jsonb in the documentation. Any pertinent links would be much appreciated!
funksta··on Introducing Contributions
Github really needs a "deprecated" flag for repositories (maybe it has one already? I don't know of one). This wouldn't solve your specific issue with the weekend projects (assuming the code is still serviceable), but would really help the signal-to-noise ratios in these lists and on other areas of the site.
funksta··on The Kickstarter Game Successes: Where Are They Now?
He's also posted some good stuff at http://www.mavorsrants.com/. They have been pretty transparent about the dev process, they just haven't used Kickstarter updates as the primary medium for that.
funksta··on Show HN: Soundslice – YouTube + synced guitar tabs + HTML5
I asked Adrian via twitter, and bass (as well as standard notation) tracks are planned for the future.
funksta··on Firefox 16 unprefix CSS Gradients, Animations, Transitions & Transforms
Great, thanks! I find I use top-to-bottom gradients about 90% of the time, so I'm glad the succinct form is still valid.
funksta··on Firefox 16 unprefix CSS Gradients, Animations, Transitions & Transforms
I can't tell from the post, but is the <angle> argument for linear gradients still optional? Ie. is the following still valid?

    linear-gradient(#fff, #eee)
funksta··on JQuery 2.0 Drops Support for IE6/7/8; API-Compatible with jQuery 1.9.
It's pretty simple– if you want to support IE<9, don't upgrade to jQuery 2.x. A lot of people are already dropping support for IE<8.
funksta··on Vim: Buffers, Windows, and Tabs
Thanks, turns out I had it in my .vimrc already but didn't remember what it did.
funksta··on Vim: Buffers, Windows, and Tabs
Could you expand on this? I'm not familiar with this option/setting and can't seem to turn anything up via search.
funksta··on Some quick Django optimisation lessons
I haven't worked with Django in a bit so my memory is foggy, but if settings.DEBUG is true, you should be able to do something like:

    from django.db import connection
    print len(connection.queries)
Put that in a middleware class's process_response() and it should print the query count for every request.
funksta··on Express 3.0.0 alpha1 and Express 4.x Roadmap
There are some good testing libraries for node (eg. https://github.com/visionmedia/mocha, by the same author as Express), that make async testing fairly painless. However, there are things like DB setup/teardown that aren't integrated and you might be used to getting "for free" with other frameworks (eg. Django). I'm curious to hear what the parent commenter has found to be a roadblock.
funksta··on JavaScript: Warts and workarounds
That's the only reasonable use for ==, IMO.
funksta··on Why Python is Important for You
One of the differences between Django and Rails is that the former makes almost no assumptions about how you are going to write your front end. I don't know much about Rails, but it seems to me that it is much more opinionated in that regard.

Re: Django & Backbone, you should check out djangbone. It makes it dead simple to create a basic backbone-compatible APIs in Django, and is easy to extend if you need more advanced functionality (full disclosure- I'm its author): https://github.com/af/djangbone

funksta··on Vim-powerline: The ultimate vim statusline utility
Agreed, this is a really great plugin. I love how I can see which mode (normal/insert/etc) I'm in by the statusbar color change. The color change is strong enough that I can see it in my peripheral vision, and don't ever have to take my eyes off of the code.

I'm so used to pathogen now that I almost forgot how much a mess installing vim plugins used to be. Really seems like there's been a plugin renaissance in the last couple of years.

funksta··on Announcing Amber.js
Some people actually like writing javascript ;^)
funksta··on A new version of the Joel Test
That line stood out to me too, since I have found the opposite to be true. Sounds like it's coming from someone who's never seen the benefits of switching to a DVCS.
funksta··on Show HN: (almost) effortless communication between Django and Backbone.js
I'm the author– feedback and suggestions welcome!
funksta··on ECMAScript 6 looks promising
Python's string formatting is different though– it doesn't automatically have access to the variables in the current scope. You have to explicitly pass in the variables that you want to include, which seems to me like a cleaner way of doing things.
funksta··on ECMAScript 6 looks promising
Does anyone know what the rationale was for choosing this instead of printf or python3-style interpolation (where you explicitly specify the variables to be interpolated)?
funksta··on 90% Good parts of jQuery - at only 13% of the size
There's a nice article about transitioning to .on() and .off(), including the changes and benefits, at:

http://www.andismith.com/blog/2011/11/on-and-off/

funksta··on Show HN: my weekend project, Good Old Google Reader
Thanks, but it looks like we have different gripes. I've put my changes up in a gist as well; check it out to see if they help you too:

https://gist.github.com/1343945

funksta··on Show HN: my weekend project, Good Old Google Reader
Does anyone know if there is a Greasemonkey script or user stylesheet that lets you get the old Google Reader UI back? I didn't use the sharing features much, but I hate the visual aspect of the new redesign.
← PreviousPage 3 of 4Next →