Better HN
topnewbestaskshowjobs
Log inSign up

codewright

1,191 karma · joined Oct 14, 2012 (14y ago) · 425 submissions

Hacker in SV.
Submissions

comment 13y ago · link · parent

You got it backwards. I take philosophy rather seriously and find overconfident amateur incursions obnoxious.

Lets not continue this line of conversation.

comment 13y ago · link · parent

He's like that about a lot of subjects. I think he means well, though.

comment 13y ago · link · parent

I'd take it a step further and say that quality requires quantity to come forth.

That's partly why people who have merely dabbled in programming over a long period of time will have a very hard time catching up to somebody that has truly immersed themselves.

I'll hire a passionate aspirant with a cool portfolio spanning only two years over a 20 year professional with zero side projects in most cases. (Save for when expertise cannot be expected to be "picked up" in a reasonable amount of time.) The word portfolio here is key.

comment 13y ago · link · parent

You don't even really have to put in those terms. The best thing you can possibly do for your career is to be as prolific as you possibly can.

Whether it's writing, writing for comedy, programming, etc.

comment 13y ago · link · parent

I use MongoDB, but decided to stick with Python for similar reasons. The callback hell is an atrocity and Clojure pretty neatly demonstrates why it's 100% unnecessary.

comment 13y ago · link · parent

Ebean vs. Anorm vs. Slick is a good example of why I don't like using full-stack frameworks.

When I use minimalist web frameworks, I get to use best-of-class libraries across the board, not make decisions based on damage control.

Examples of minimalist web frameworks: Sinatra, Flask, Scalatra, Ring/Compojure

comment 13y ago · link · parent

Not that I'm surprised, but I have to imagine it would take the form of the quasi-benign backslapping I saw on Reddit.

comment 13y ago · link · parent

It's pretty well known. Don't know that I'd use the term voter ring though.

It's just that if you're in a YC batch or an alum you get posts, especially job posts, boosted.

I wouldn't pay much mind to this talk of mechanisms and gaming systems, sounds like post-hoc reasoning by outsiders.

comment 13y ago · link · parent

Atlanta, Florida, Triangle.

Tech won't positively invade your life like it does here in the Bay Area but you'll be able to find people in the industry.

comment 13y ago · link · parent

Aesthetic

comment 13y ago · link · parent

As somebody who remembers the (Python) Pickle Wars of Yore, this is not a great idea.

comment 13y ago · link · parent

A relatively new to iOS engineer at my company does all his layout in code. Way more flexible.

comment 13y ago · link · parent

I spent most of my vacation hacking on Clojure including prodding yogthos into getting Luminus ready for the outside world.

I am trying, very hard, to make Clojure + Ring/Compojure work for my web development projects but it's just not more productive than Python/Flask. Not by a long shot.

For one thing, the debugging story isn't as good as Python or Common Lisp. I'm accustomed to having a trivially injected in-language unified debugger/REPL environment in Python and CL. Swank/CDT comes close but is abandoned/awkward, Ritz is on nREPL but it's unclear to what extent it's just using Java debug tooling.

Another problem is templating. I'm sufficing with Hiccup for now, but it's a far cry from ERb and Jinja templates. Doing something relatively simple like pagination is out-and-out irritating in Hiccup. Kicking up random template overrides like for headers, footers, title tags, etc are more annoying in Hiccup and Ring.

This is partly due to the fact that in order to have a parent with a bunch of children functions generating the HTML, the only way to override is to manually and explicitly kick a map of data from the handler to the template function and back to the parent being overridden.

The only indication I've seen that anybody in the Clojure world truly understands the needs of web development is Kiln.

https://github.com/straszheimjeffrey/The-Kiln

Most others I've spoken to have brushed off my concerns as trivial. Well yes, sure, from an engineering standpoint. But I still need my projects to handle the whiplash of a fickle product manager whether you think it suits your "simple" design principles or not.

I've been trying to use Clojure for my projects since '08 or '09. I was excited when MMc announced Ring and less excited when he moved to Go. I'm tired of waiting for Clojure to become practical.

I get that the Clojure community needs to have their daily 5 minutes of hate for Rails and Django, but those communities have been shipping a lot of quality websites. I even understand their distaste as I use a minimalist web framework (Flask) myself.

Shipping > aesthetics.

I'll port my current project back to Flask/Jinja/Mongo unless I have an epiphany regarding templating and managing state in Clojure.

The simplicity of Clojure's ecosystem serves only to make my own life more complicated.

I still can't get over the fact that it's a Lisp without a good native inline debugger.

comment 13y ago · link · parent

You can pass a hash (dictionary) to represent kwargs in Python.

This seems like bad engineering fundamentals in the design of ActiveRecord for it to be perpetually subject to this sort of thing.

comment 13y ago · link · parent

http://railroads.unl.edu/views/sources/1850%20Expansion.jpg

http://www.latinamericanstudies.org/19-century/railroads-187...

Probably the railroads.

comment 13y ago · link · parent

Btw, this applies for my (Python) Flask apps using MongoDB ORMs. They escape the inputs.

What the hell is going on with ActiveRecord?

comment 13y ago · link · parent

Marx was pushing for a utopia somewhat opposite of Galt. Namely, communism.

Voluntary communist utopias are referred to as anarcho-communism.

Anarcho-libertarianism assumes a free market is involved.

Communism assumes all resources are pooled.

comment 13y ago · link · parent

PostgreSQL horizontally scales in the same fashion as MySQL. What are you talking about?

http://instagram-engineering.tumblr.com/post/10853187575/sha...

http://postgres-xc.sourceforge.net/

http://www.pgpool.net/mediawiki/index.php/Main_Page (you can use this to transparently shard)

comment 13y ago · link · parent

Lower communism is formally known as socialism among Marxist scholars. To say that Marx never spoke of socialism when the academic understanding has been that the terminology maps over is very misleading.

Marx & Engels criticized utopian socialism that was utopian for simply lacking a vision of bringing itself about. That's what made it utopian. Marx and Engels critiqued utopianism, market socialism, and liberal democracy, not socialism itself. To say that their critiques of dreamy, ungrounded utopianism were somehow a critique of one of the utopian hobby-horses (socialism) is...a severe misunderstanding of Marx.

They themselves saw the revolutionary state that would midwife the ushering in of Communism as being socialist by necessity. The Paris Commune would later serve to change Marx's attitude about the midwife state a bit though.

You're just compounding your misunderstandings and further propagating misinformation about Marx. Please stop. This isn't even about the original conversation for me anymore, I just want you to stop spreading untruths.

comment 13y ago · link · parent

Switzerland is not the only nation with this model.

comment 13y ago · link · parent

>And the victorious party” (in a revolution) “must maintain its rule by means of the terror which its arms inspire in the reactionaries. Would the Paris Commune have lasted more than a day if it had not used the authority of the armed people against the bourgeoisie? Cannot we, on the contrary, blame it for having made too little use of that authority?. - Engels

>As, therefore, the state is only a transitional institution which is used in the struggle, in the revolution, to hold down one’s adversaries by force, it is sheer nonsense to talk of a ‘free people’s state’; so long as the proletariat still needs the state, it does not need it in the interests of freedom but in order to hold down its adversaries, and as soon as it becomes possible to speak of freedom the state as such ceases to exist - Engels

Democracy is a threat to the midwife State and the final state of what Marxism aims to achieve.

comment 13y ago · link · parent

>Alright, but what do you trust then?

Federalized constitutional republics seem to work well. True meritocracy in governance would interest me.

comment 13y ago · link · parent

You don't need the word socialism to make me skeptical, I'm skeptical that democracy would produce better results in a business context. Also, I have a hard time believing you've read any Marx. You're not doing his work very much justice.

I don't even trust democracy in politics all that much, my state (California) is a complete and utter failure as an exercise in democracy.

comment 13y ago · link · parent

You started out with product and then started doing consulting after a fairly large amount of time spent on a product. (I've been following your work for awhile, it's been inspiring.)

I'm a programmer who has done consulting before with a keen interest in product and marketing. If I want to become self-employed (preferably in the form of working on a bootstrapped product), should I start by bootstrapping a product or by consulting?

I believe that consulting would mean becoming self-employed sooner, but my concern is that I'd end up on a "get work, seek work" treadmill harming my ability to work on bootstrapping.

Alternately, my concern is that if I focus on bootstrapping a side project while working a full-time job, that will also mean not getting self-employed again for a very long time.

Sorry for the rambly comment, do you have any insights or suggestions to offer?

comment 13y ago · link · parent

>+ the Maybe monad (kind of a degenerate case)

Hey. Hey. heyyyyy.

I've used bind + maybe monad 'ish stuff in Python to clean up code previously littered with redundant if checks.

comment 13y ago · link · parent

Python it is. I've explained monads using Python many times.

http://www.dustingetz.com/2012/04/07/dustins-awesome-monad-t...

http://www.dustingetz.com/2012/10/02/reader-writer-state-mon...

(I'm not dustingetz though, he's named dustingetz on HN.)

comment 13y ago · link · parent

>"We don't govern on the basis of statistics"

K, coming off my expat hot list.

comment 13y ago · link · parent

I'm a Clojure user like snprbob86.

A C struct is just data, a map is just data. You're using the term classes when you mean data or data structures.

Classes are the the creation of complexity by unnecessarily fusing code with data. If you don't mean classes specifically, then use the universal terms "data structure" or "schema".

> If your language has classes, you should probably be using them for your entities and domain models.

Not necessarily at all. It takes a profound lack of imagination to believe that's the only way to handle business logic ++ persistence.

Furthermore, freeing yourself from the constraints of the persistence side (presumed to be a SQL DB in this conversation) in the initial sketch/mock stage is foolishness beyond measurement.

1
456
15