HNHacker News
TopNewBestAskShowJobs

federicoweber

221 karma · joined July 24, 2012

Former Industrial Designer currently Creative Technologist at vanGoGh - interactive boutique in Milan. Web Developer , like to tinker with: javascript, productivity workflow and automation. Father of a daughter since March 2012.

More at federicoweber.com

submissionscomments
federicoweber··on Minimum Viable Git for Trunk-Based Development
I'm a huge fan of squash rebase, myself. really it's my default, and I find it particularly useful for long run branches.
federicoweber··on Show HN: box2d-jquery - physics-engine for your DOM
that's exactly the first thought that strike my mind.
federicoweber··on [dead]
It's down in Italy as well
federicoweber··on Apple, Facebook, Google, Microsoft and others launch webplatform.org
That's exactly my first thought. Apart from the TNW article Apple is mentioned only in this blogpost http://blog.webplatform.org/2012/10/one-small-step/
federicoweber··on If Hemingway wrote JavaScript
I do agree, the .xxx domain is not an excellent choice, but at the end it doesn't really bother me.
federicoweber··on RailwayJS
I can not get along with your statement about difficulties to maintain the code. How bad programming can be considered a fault of the language?
federicoweber··on Keypress: A JavaScript input capture library
Another javascript library to handle keyboard combos is Mousetrap. Compared to the latter I like the way Keypress handle multiple combos declaration, but overall mousetrap seems more robust.

Also it's not clear to me how Keypress differentiate (if it does so) among a sequence of keys or a combinations. Mousetrap is using the + notation to handle that so you can declare different bindings for combinations 'command+shift+k' and sequences 'command shift k'.

https://github.com/ccampbell/mousetrap

federicoweber··on Deploy mobile apps from Dropbox
This is an interesting concept. I'm developing a blogging platform leveraging dropbox—that it's actually powering my website—but I've taken i different approach and I'm parsing on the server the markdown files. I haven't actually thought about using it with static html files, this approach have the benefit of greater flexibility in the type of content you can provide.
federicoweber··on Myspace teases a completely rethought service, and it looks beautiful
Nice redesign indeed, and kudos to Myspace to pull something like this out from almost nowhere. My only concern is with horizontal scrolling; for this kind of content it feel more a gimmick than a feature to me.
federicoweber··on Sweet.js: hygienic macros for JavaScript
Here is the original discussion http://news.ycombinator.com/item?id=4560691
federicoweber··on Amazon Maps API
I always believed the opposite, thanks for pointing this out.
federicoweber··on PlainTasks - opinionated todo-list plugin for Sublime Text 2
If you like TaskPaper—which by the way it's awesome—you should check [FoldingText], by the same developer. It's currently in alpha, and expand on the idea of TaskPaper adding some interesting features, like the builtin timer.

[FoldingText]:http://www.foldingtext.com

federicoweber··on Amazon Maps API
I doubt it will be that cheap, at least to implement a fully fledged service alla google maps. But sure it will be interesting for a lot of developers.

Amazon builded AWS out of necessity and then transformed it into a public service. I believe it make sense to them to build a map service in the same way, giving they they are still a logistic company it could be more than helpfull for them.

federicoweber··on Applications Open for Winter 2013 YC Funding
Thanks, I will dig into it.
federicoweber··on iPhone 5 web teardown: How Apple compresses video using JPEG, JSON, and canvas
This is brilliant, maybe overpowered but brilliant. But the thing I cannot stand is the use of images for text. I would have preferred to se the use of @font-face with fallback to images for old browsers.
federicoweber··on Applications Open for Winter 2013 YC Funding
This is interesting for me also. I'm an Italian citizen and I would like to apply and relocate to the Bay Area. But I need to figure out the entire visa thing, and how to make it work for starting company.
federicoweber··on Applications Open for Winter 2013 YC Funding
WriteRoom is nice—it's also one of the first distraction-free writing app—but i prefer to use Byword. I like to combine paragraph focus with full screen for distraction free mode. Also it support markdown syntax, that for me is a must have for a writing app.

http://bywordapp.com

federicoweber··on The Heroku Hacker's Guide
A sample chapter would be great. Lacking it I've just bought it for $5. I will buy it again after reading if I liked it.
federicoweber··on Projects in Sublime Text 2
You can add the first folder by opening it(cmd+o) or add it by dragging it into the SublimeText view.

Also if you wish to remove project from the quick switch list you can do so by editing the recent_workspaces array in the Session.sublime_session. On osX you can find it under /Users/USER_NAME/Library/Application Support/Sublime Text 2/Settings/

federicoweber··on SlabText.js
Nice approach, Fittext is nice, but this bring the game to another level.
federicoweber··on Just Scroll
That's exactly the point. It's an advertisement page, targeted to a specific demographic target that have access to a fast network connection. It's not something that should be always reliable and usable.
federicoweber··on IFTTT enables you to connect the App.net Channel to 50 different Channels
Here is my recipe to archive my messages on App.net on a plain text file http://ifttt.com/recipes/53836
federicoweber··on Break Apart Your Backbone.js Render Methods
Same here for subview rendering.

About the models I prefer to use an unique one for maintenance and team development cause it's harder to accidentally break things.

federicoweber··on Break Apart Your Backbone.js Render Methods
I do structure my code in a similar way. All the elements in a view, that have to deal with data, are treated as a separate view module. Each module will have it's own view, template, model and style.

The template for the main view, or the subview that can hold modules,is structured in such a way to have a .container to append my modules into.

The main view is usually rendered only once and behave as a proxy for the various modules relying to the events.

The great benefit form this approach is that it's quite easy to maintain/replace a single module as long as the events api don't change.