HNHacker News
TopNewBestAskShowJobs

clyfe

1,582 karma · joined August 16, 2010

submissionscomments
clyfe··on Ruby in 2010: A Retrospective of a Great Year for Ruby
"some Carlhuda guy"

:)) funnieast thing ever! "Carlhuda" actually its a name under witch Carl Lerche and Yehuda Katz commit their work when they do pair programming.

clyfe··on Ask HN: RubyOnRails or Django/Pylons?
(Opinion warning, as in "this works for me", not an absolute truth)

I like Rails better because:

* I like Ruby more than Python (no "self" in methods, Ruby's list.map(func) vs Python's map(list, func), usable as a template language (ERB), open classes -> easy hacking)

* Rails `Books#has_one :publisher` vs Django `models.ForeignKey(Publisher)`

* Rails migrations + db reflection vs Django attr declarations `models.CharField(max_length=300)` (Yes I know about south, you still declare the attrs tough)

* Rails has Bundler http://gembundler.com/ , dunno about Py ...

* Django router http://docs.djangoproject.com/en/1.2/topics/http/urls/ vs Rails router http://guides.rubyonrails.org/routing.html (ie. declarative regexps vs executable well tought semantics)

* rails erb (haml etc) views vs django's-template-language because python can't do templates because of the indenting

* the list goes on but I'm bored

Ruby is beter at web stuff than Python.

Python has more science stuff (NumPy etc).

So I vote Ruby on Rails

clyfe··on OOP practiced backwards is "POO"
Override the functions in my module with your own
clyfe··on Ask HN: Web-based coding text editors? (for coding on the cr48)
Executable pasties: http://codepad.org/

Supports: C C++ D Haskell Lua OCaml PHP Perl Plain Text Python Ruby Scheme Tcl

clyfe··on Ask HN: Web-based coding text editors? (for coding on the cr48)
This project is pretty active on github
clyfe··on If You Could Only Learn 3 Languages - RESULTS
https://github.com/languages
clyfe··on Tips for Intermediate Git Users
Bad name: 25 Tips for Intermediate Git Users

Good name: Tips for Intermediate Git Users

clyfe··on Ask HN - what is the best method to learn how to code?
I'm not sure what you mean by "frontend" so I'll make a wild guess.

Start with some lightweight tutorials about creating web pages (static content): http://www.w3schools.com/html/default.asp http://www.w3schools.com/css/default.asp

Creating dynamic content (programming) is a whole different issue ( http://norvig.com/21-days.html ).

Start with learning procedural programming: http://ocw.mit.edu/courses/electrical-engineering-and-comput...

http://www.greenteapress.com/thinkpython/thinkCSpy/html/

And then experiment with a simple web framework: http://webpy.org/tutorial3.en

The learn workflow shold be a combineation of: read some -> do some -> try some -> read some more -> experiment some -> read some -> continue

This is just a startingpoint, there are many topics to web development, from javascript for interface interactivity to distributed systems, message queues, scaling ( I'll write this link again just for kiks http://norvig.com/21-days.html ) etc.,

The resources are for the Python language, personally I prefer Ruby, but the resources for "learn programming" are more evolved in Python as it has bean adopted as a teaching language by many schools/universities.

PS. Exercise oriented: http://learnpythonthehardway.org/

clyfe··on Zed Shaw: Tir Web Framework Officially Up
A "How it's made" blog post would make an awesome next article!
clyfe··on Zed Shaw: Tir Web Framework Officially Up
nvm, found it on your github account https://github.com/noahgibbs/RailsGame
clyfe··on Zed Shaw: Tir Web Framework Officially Up
Indeed writing and interacting about something levels you up. I'm not (yet) a blogger but recently I have started interacting on a few social coding networks (stackoverflow, github, HN) and I feel more productive.

PS. Is RailsGame open source ? It looks interesting!

clyfe··on Pragmatic Programmers Magazine: Ruby Special
Is my post last week ( http://news.ycombinator.com/item?id=1906021 ) turning into a HN sub-genre ? :)
clyfe··on Business Lessons from 37 Signals $1000 Master Class
They built a solid business on these principles...
clyfe··on Evolution of build systems
You have got to love the "WTF is Maven?" arrow!
clyfe··on Ruby is beautiful (but I'm moving to Python)
indeed, you are right
clyfe··on Ruby is beautiful (but I'm moving to Python)
Ruby can use both "{...}" and "do ... end", with a slight difference between the two (precedence):

    def some_method { ... }
    def some_method; ... end

    obj.something # "something" is allways a method
    # never a var, say accessor (getter, setter &c ...)
clyfe··on Ruby is beautiful (but I'm moving to Python)
I shunned py because:

    each(list) vs list.each
    def(self, args)
    __ugh__
    can't do templates (erb?)
    dislike object model (objects != functions etc)
clyfe··on Getting Real: free 37signals book on building a successful webapp
They used PHP in several places, mostly presentational pages, where the only thing needed were some "includes". Most of these today are replaced by brochure [1], but the legacy remains.

[1] https://github.com/sstephenson/brochure

clyfe··on Browse github fast with GithubFinder
I marketed it better, ie. "browse fast"
clyfe··on Ask HN: What are current trends in webdeveloping?
* No MVC copy managed to be a better Rails

http://www.youtube.com/watch?v=up0kiOJvUpI

* One more link for you

https://github.com/languages

clyfe··on Ask HN: What are current trends in webdeveloping?
Ruby is definitely not fading!

http://www.google.com/trends?q=ruby,+python&ctab=0&g...

http://www.google.com/trends?q=rails,+django&ctab=0&...

clyfe··on Ask HN: What are current trends in webdeveloping?
Coding the whole app in JS in the browser and using the server only for proxying data and validation/filtering.

See: SproutCore, Cappuccino, Backbone.js, JavaScript.MVC

Avi Bryant's "Django is obsolete, but so is everything else"

http://python.mirocommunity.org/video/1186/djangocon-2009-dj...

Yehud Katz's

http://yehudakatz.com/2010/09/14/heres-to-the-next-3-years/

clyfe··on Ask HN: What do you want for Christmas?
An ebook reader. Advice ? (iPad, Galaxy, Kindle, B&Noble's reader ???)
clyfe··on Ask HN: Any web startups using Java?
Ruby can use both "{...}" and "do ... end", with a slight difference between the two (precedence):

    def some_method { ... }
    def some_method do ... end
clyfe··on Browse github fast with GithubFinder
Related http://githubissues.heroku.com/ (built with capuccino)
clyfe··on Browse github fast with GithubFinder
I was always annoyed by the ajaxless slow github directory listing, especially on java-deep repos, when I stumbled on this project I found it a god-sent so I hurried to HN to post it.
clyfe··on Awesome Inline Form Labels - ZURB Playground
https://github.com/search?type=Repositories&language=jav...
clyfe··on Browse github fast with GithubFinder
contribute bugfixes to http://github.com/sr3d/GithubFinder
clyfe··on Ask HN: LESS vs SCSS/SASS
I struggled with the exact same question the last few days. Semantically both have the same features. You can find an informed comparison here: http://devtionary.com/?p=89

My initial preference was Less, because sass seemed framgmented with 2 syntaxes, and also less seemed more aesthetic, but I ended choosing Sass for the following reasons:

* Sass has Compass built over it http://compass-style.org/docs/ and this alone is the biggeast win over Less

Compass is a framework that comes with a foundation of components :

- compass core http://compass-style.org/docs/reference/compass/

- many plugins for different needs (search github for compass), special mentioning Susy liquid grid framework https://github.com/ericam/compass-susy-plugin

- with Compass I can monitor a whole directory of templates at once, and have them instantly compiled when I save from the editor, not sure if Less can do this

* Aptanta Studio 3 and few other IDE's know to syntax highlight sass and scss, not sure about less

* If you don't like the indentation syntax you can use the curly Scss, Scss and Sass are interoperable, you can call one from the other and vice versa

* The ruby version of Less is deprecated and I write a ruby based project (indeed, not all HN users are pythonists) Moreover, I don't like the idea on compiling the templates client side (as in less.js) and waste precios miliseconds, nor use an external interpreter (node.js)

clyfe··on Ask HN: Rails or Django?
Arguable, but I think Rails haw way more docs than django: http://railstutorial.org/book , http://guides.rubyonrails.org/ , http://railscasts.com/ to name a few
← PreviousPage 7 of 8Next →