Better HN
topnewbestaskshowjobs
Log inSign up

zllak

12 karma · joined Sep 18, 2012 (14y ago) · 6 submissions

Submissions

comment 13y ago · link · parent

You can't blame git where you clearly didn't fully understand how it works, and you clearly ignored its error messages, and used the -f option. There's some very useful tools like "tig" to check the state before pushing. A good rule of thumb is to never push -f before being absolutely sure of what it's going to do. And everything is not lost, you can still use "git reflog" to retrieve the previous state. You're whining about git where you are clearly in fault here :)

comment 14y ago · link · parent

Totally hypnotic! Perfect :)

comment 14y ago · link · parent

Ok, my bad, was reading too fast. Halcyon seems nice, really focus on JSON, which can be handy when building a REST/JSON API. The answer will be more a personal choice, within what you prefer. Sinatra has a way to describe routes and endpoints using its DSL that, in my opinion, is way nicer for a simple REST API that Halcyon. Halcyon looks a lot more like Rails (in routing, controllers etc)., which might not always ease readibility.

Still, there's no real good answer here. Padrino/Halcyon can both work on Rack, Thin or Mongrel, so performance would normally be almost the same. The difference will be in the style of code you want to write: simple and really explicit DSL like Sinatra/Padrino, or something more like Rails with Halcyon.

comment 14y ago · link · parent

There's no real good answer here. Either you want something really lightweight, you will go with Sinatra. Otherwise, something a little more heavy but with lot more features, you will go with Padrino. This choice will depends on what you're familiar with, and what you already know and love. If you're new to both, maybe have a good look at Padrino could be the answer.

comment 14y ago · link · parent

What is really amazing is to launch a website this big and have a typo right on the front page. "Sains frais" just means nothing. My guess is they wanted to say "Sans frais", which is "without fee". Nobody speaks French at Square ?!

comment 14y ago · link · parent

Something that could be "funny", if that governments, when they don't understand something, they just call it outlaw/illegal, as they almost did for P2P. That's not because someone make a bad use of something that the whole thing must be considered as dangerous. How long before the "cloud" is declared illegal by governments ? :)