Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rlander
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
241.
▲
by
rlander
15y ago
I agree. I don't particularly care for Ruby nor OOP since I mostly use functional languages nowadays. With that said, I read both books and they're among the best technical books I've ever read. Even I if never have to implement a pattern i
242.
▲
by
rlander
15y ago
I guess this is a good opportunity to thank you. I read it a few years ago and it really changed the way I live. My current startup only exists because of this post.
243.
▲
by
rlander
15y ago
> In fact the vast majority of bugs are the result of not testing changes at all I never said every programmer tests 100% of their code all of the time. Even when you're just checking the output of a "hello world", you're effectively te
244.
▲
by
rlander
15y ago
Let me just state a fact: every programmer tests code. Whether you're checking a command line output, experimenting in the REPL or reloading a browser, you're testing your code. What rubs me the wrong way is that, instead of a simple "you k
245.
▲
by
rlander
15y ago
It's a shame that Berkeley dropped Scheme in favour of Python. In the words of the former CS61a teacher, Brian Harvey, who's retiring [1]: "In an ironic development, while the Berkeley CS faculty pretty clearly regard the Python-based cours
246.
▲
by
rlander
15y ago
I did not mean to imply that Clojure code would be portable across runtimes (though it is a possibility). I meant that things like ClojureScript One (if you don't know it, please take a look, it's worth it) will be possible across a variety
247.
▲
by
rlander
15y ago
Of course, I'd forgotten about ClojureCLR and yes, Joxa is not Clojure, but it's close enough [1] that the point remains valid. [1] From the website: "[Joxa's] not Clojure though there is plenty of shared syntax."
248.
▲
by
rlander
15y ago
Yeah, I started with TJoC, but it felt like watching a movie before reading the book: it's fun, but you miss many of the insights that went into producing the movie. So I backed up, practiced some (koans, 4clojure, Euler), read Stuart Sierr
249.
▲
by
rlander
15y ago
I'd argue that clojure-py is important for a different reason: Clojure is slowly sneaking up on every popular runtime: JVM -> Clojure Javascript -> ClojureScript Erlang VM -> Joxa CPython/PyPy -> Clojure-py In a
250.
▲
A Concise Guide to Clojure
(cis.upenn.edu)
2 points
by
rlander
15y ago
|
0 comments
251.
▲
by
rlander
15y ago
Python != Web frameworks You're severely underestimating the impact that the scientific computing community has over Python 3's slow adoption.
252.
▲
by
rlander
15y ago
I'm currently reading Land of Lisp by Conrad Barski and loving it; the history section alone is worth the price. Here's an example chapter: http://nostarch.com/download/Lisp08.pdf
253.
▲
by
rlander
15y ago
There's a great book by brazilian explorer Amyr Klink[1] where he tells the story of how he became the first person to cross the Atlantic by rowing a small boat. He starts out rowing whenever he feels like it, sometimes rowing to the excess
254.
▲
by
rlander
15y ago
Those snippets were taken from utkik's docs and are probably part of a larger code; but I agree they probably belong somewhere else, maybe in a middleware. BTW, thanks for the nice post. Is the code available on github or bitbucket?
255.
▲
Elixir: Ruby-like Syntax and Homoiconicity for Erlang VM
(elixir-lang.org)
94 points
by
rlander
15y ago
|
20 comments
256.
▲
by
rlander
15y ago
Very nice snippets, though they're meant to work only with Django's default class views. A few months ago I started using a small class-based views library called aino-utkik[1] and haven't looked back. Instead of this: class ArtistLog
257.
▲
by
rlander
15y ago
I take it you spent more time writing your rant than actually navigating the site you're criticizing. Please take a look at the index.
258.
▲
by
rlander
15y ago
The specific reason not to switch to Jinja2 was that Django's templating language was originally intended not to be that powerful, so that you could feel reasonably safe handing it to non-technical "designers" or "writers" Jinja2 follows
259.
▲
by
rlander
15y ago
Better yet, why not deliver first-class support for multiple templating engines, something like ruby's Tilt?
260.
▲
by
rlander
15y ago
This. I bought two cust devel books last year and Four Step wasn't one of them only because of the lack of a digital edition. I live in South America and I have no desire to wait a full month for a book that I have already paid for.
261.
▲
by
rlander
15y ago
This post is from 2006. Here's a more recent article in the same "DIY Python Framework" spirit, which is longer but quite good: http://docs.webob.org/en/latest/do-it-yourself.html
262.
▲
by
rlander
15y ago
Totally agree with you on this. I think Flask is Django done right and I've been beating that drum for quite some time (see, for example, my comments on the settings file [1]). The core devs claim that SQLAlchemy and Jinja weren't around at
263.
▲
by
rlander
15y ago
Well, I use Django since 0.95. Still, how long has it been since 0.9-1.0? 8 years? Yes, I already use fabric for deployments.
264.
▲
by
rlander
15y ago
If you, me and anyone who's spent more than a few hours with Django split settings.py into multiple files (and heavily modify it), why is it still shipped as one monolithic file? Isn't the framework supposed to make our lives easier? Spli
265.
▲
by
rlander
15y ago
The global settings file is the single biggest hurdle, not only in django deployment, but also development. And it's been like this since I can first remember with no visible progress. It sucks to keep track of dev/prod local files, it make
266.
▲
Moonscript: A CoffeeScript-Like Lua-Based Language
(steved-imaginaryreal.blogspot.com)
45 points
by
rlander
15y ago
|
2 comments
267.
▲
by
rlander
15y ago
I was about to mention how cool Moonscript is, but you beat me to it. =) Thanks for the awesome project!
268.
▲
by
rlander
15y ago
Padrino is the perfect framework for Djangonauts who want to learn a ruby web framework whilst also learning the language, which was my case 1 year ago. Especially those who don't like the "rails way". It has most everything we love about D
269.
▲
by
rlander
15y ago
Wow, I had to look at my own analytics for a medium site (crafts space) with a technically challenged audience to believe that: 38% Chrome / 35% IE / 19% Firefox / 3% Safari.
270.
▲
by
rlander
15y ago
If you tell me upfront, maybe near the signup button, that you need access to my facebook account in order to run "advanced Social Network Analysis" AND I'm sold on how your app is going to help me, I would have no problem signing up.
More ›