HNHacker News
TopNewBestAskShowJobs

vespakoen

113 karma · joined March 29, 2012

submissionscomments
vespakoen··on Amethyst – A tiling window manager for OS X
One trick I use to get around the "move mouse over another application in the direction of the menu bar and loose focus" problem is to use MondoMouse, it also adds focus follows mouse but with a configurable timeout. You can also configure a shortcut to focus the application menu, i think the default is F2.
vespakoen··on Why Is Object-Oriented Programming Useful? With a Role-Playing Game Example
Functional programming in JS is possible, ramda / wu (others?) make it very easy to get started, of course it is not as great as with functional programming languages, but still, it allows you to do pretty cool stuff, it's like lodash but with the callback moved to the first argument, turning something like this:

var isMultilanguage = function(field) {

  return field.multilanguage === true;
};

var isNotMultilanguage = function(field) {

  return field.multilanguage !== true;
};

var getMultilanguageFields = function (fields) {

  return _.filter(fields, isMultilanguage); 
};

var getNonMultilanguageFields = function (fields) {

  return _.filter(fields, isNotMultilanguage); 
};

into this

var isMultilanguage = R.where({multilanguage: true});

var isNotMultilanguage = R.not(isMultilanguage);

var getMultilanguageFields = R.filter(isMultilanguage);

var getNonMultilanguageFields = R.filter(isNotMultilanguage);

https://github.com/ramda/ramda

https://github.com/fitzgen/wu.js

vespakoen··on Lovefield: Cross-browser, SQL-like, relational query engine on top of IndexedDB
Here is a nice collection of node.js / browser stuff that wraps around IndexedDB / LevelDB / WebSQL and is mostly compatible with one another.

https://github.com/rvagg/node-levelup/wiki/Modules

vespakoen··on Ferro: A keyboard interface to Chrome
Upon installing I get this creepy message: http://i.imgur.com/6MYin5b.png Are they really going to spy on my coinbase and stripe activities!?
vespakoen··on My SaltStack Dev Machine Config
I added some installation instructions now, very basic, but should get others there quicker ;)

I also noticed that my submodule isn't working as I expected, temp fix: cd into roots/salt and execute "rm vespakoen && git clone https://github.com/Vespakoen/salt-states vespakoen"

vespakoen··on Ask HN: Is anyone making money from garbage?
Found this in the similar videos, great watch! https://www.youtube.com/watch?feature=endscreen&NR=1&...
vespakoen··on Python trademark at risk in Europe
There is a button on their facebook page (http://www.facebook.com/PythonCloud) called "Suggest a change" (freely translated that from what I actually see in dutch, so it might be different), It's next to the little info link below their "avatar".

What if we all suggest a unique name and they can pick a new one from something awesome one of us has suggested?

vespakoen··on More Than Half a Million Raspberry Pis Sold
Here you will find all the information you are looking for http://www.elinux.org/RPi_Buying_Guide
vespakoen··on Junior - A Native-Looking and Feeling Mobile HTML5 Front-End Framework
Hey guys,

Great to see open source, light-weight, backbone based, frameworks =D

I am building a mobile application for a project I am working on and for this I have also (after using a lot of other libraries) built my own framework.

It consists of 3 packages.

1) sass-ratchet (repo: https://github.com/jocks/sass-ratchet)

This is my sass port of ratchet (just starting). It basically adds vendor prefixes, and puts a couple of main colors in a variable, and calculates all colors with the darken() method in sass. I am not really happy with the variable names yet, so expect a lot of change in this repo.

2) jocks (repo: https://github.com/jocks/jocks) (docs: http://jocks.koenschmeets.nl/#!/api)

Jocks (JavaScript Blocks) is based on Backbone + MarionetteJS, it allows me to have JavaScript create the DOM elements for me (and keeping a reference to it), and allows me to define methods on a block to manipulate it easily after it has rendered. Basically, any component will only be rendered once, after that, it's manipulation. I am planning on wrapping up Bootstrap too, and use it for building web applications.

3) jockstrap-ratchet

This library is based on tbranyen's excellent backbone-boilerplate (https://github.com/tbranyen/backbone-boilerplate), extends the "jocks blocks" to make it play nice with the phone, and includes a nice build process to minify all your stuff into 3 files.

I would love to see how we can help each other out, for example, a good start would be to put both our efforts in creating and maintaining a single sass / less port for Ratchet.

Oh, I'll put my project on Hackers News once it is more complete (along with a demo and a getting started guide).

← PreviousPage 2 of 2