HNHacker News
TopNewBestAskShowJobs

codewright

1,191 karma · joined October 14, 2012

Hacker in SV.
submissionscomments
codewright··on Entrepreneurs are the New Labor
Yep. Awful food. Not, "awful Indian food". Awful by any standard.

I don't think the founders had any experience with food before doing Tava.

codewright··on Entrepreneurs are the New Labor
There's a VC funded Indian burrito joint in Palo Alto. I've eaten lunch there three times, once with a potential investor.

Food's terrible to boot.

codewright··on The MEAN Stack: MongoDB, ExpressJS, AngularJS and Node.js
http://github.com/bitemyapp/neubite/

There's a CMS, for starters.

codewright··on The MEAN Stack: MongoDB, ExpressJS, AngularJS and Node.js
Noir is deprecated, use vanilla ring + libnoir or Luminus.
codewright··on The MEAN Stack: MongoDB, ExpressJS, AngularJS and Node.js
Would be great if not for the CPS. I end up doing something similar except with Clojure instead of Node.js for my projects lately.
codewright··on Faster, Better DOM manipulation with Dommy and ClojureScript
Take a look at Luminus.
codewright··on Heroku Scheduler now classified as "Best Effort"
Recently left Heroku, too many failures. The last week I had my app on Heroku availability was in the realm of ~60-80%.

Between that and the obscenely slow and overpriced Postgres...nope.

(Clojure user, I don't think Heroku's platform plays nice with things that take a bit to fire up. Or the JVM in general.)

codewright··on Faster, Better DOM manipulation with Dommy and ClojureScript
Carthago delenda est: when are you re-releasing the software you yanked from your Github?
codewright··on Faster, Better DOM manipulation with Dommy and ClojureScript
Are you going to re-release the stuff you yanked off your github?
codewright··on Ask HN: What web development language do you prefer?
CL is Common Lisp.

The go-to for Clojure is Luminus, which is less of a framework and more of a "web best practices" project template.

codewright··on DigitalOcean vs SoftLayer performance benchmark
Just use http://serverbear.com/ and be liberated from blog spam like this.
codewright··on DigitalOcean vs SoftLayer performance benchmark
They're not saturated yet.

DO's CPU performance has generally been worse than Linode's in benchmarks and that was before the recent Linode upgrade so they're probably even further behind now.

It's not that DO is good, it's that SoftLayer is terrible. Don't use SoftLayer as a benchmark for anything but wasting your money.

Also these kinds of blog posts are a waste of time.

http://serverbear.com/

codewright··on DigitalOcean vs SoftLayer performance benchmark
Then this is even sillier, SoftLayer non-dedi is pointless, they're notorious for being overpriced as a brand.
codewright··on Ask HN: What web development language do you prefer?
It's not as good as Python yet but rapidly getting better.

There's an excellent SQL abstraction library (Korma), Ring makes for a nice WSGI equivalent, Compojure and Clabango combined give you a Flask'ish experience, and there are a goodly number of Forms and validation libraries.

Some like to use CLJS on the frontend. There are libraries out there for making that nice.

I usually use vanilla jQuery or Angular on the frontend, no CLJS.

You need get more specific with your queries, I'm not going to write a novel at the merest hint.

codewright··on DigitalOcean vs SoftLayer performance benchmark
I use DigitalOcean but this is silly.

1. SoftLayer is well known for being over-priced.

2. They have a startup program you can use to get like $10k in credits.

3. DigitalOcean isn't anywhere near saturated. Remember the golden days of EC2? It'll quickly deteriorate.

4. You don't use dedis exclusively for the "bang per buck", you use them for the peace of mind and knowing your I/O isn't going to plummet by 3/4s because a new subscriber landed on your node, thereby fucking your database to hell.

5. I want dedis from DigitalOcean.

6. Don't use multi-cast ElasticSearch clusters on DigitalOcean.

codewright··on Ask HN: What web development language do you prefer?
More powerful language (primitives, concision, macros), more performance (JVM fun-ness).

Some aspects of the JVM (slow-start) are icky but the tooling works around it (in-runtime auto-reload without restarting the JVM).

I'm a grumpy old CL'er so I was waiting for something like Clojure to come along anyway.

codewright··on The Beauty of Concurrency in Go
The beauty of concurrency in Clojure:

; Rough sketch: def defines a var (pretend it's a reference)

; @ is used to dereference the future and block to wait for the result.

  (def f 
    (future 
      (Thread/sleep 10000) (println "done") 100))

  user=> @f
  done
  100

  ;; Dereferencing again will return the already calculated value.
  => @f
  100
http://clojuredocs.org/clojure_core/clojure.core/future

Edit: And more importantly, there are wrappers for the standard data structures designed around different concurrency use-cases (sync, async, coordinated, uncoordinated)

Refs are for Coordinated Synchronous access to Many Identities".

Atoms are for Uncoordinated synchronous access to a single Identity.

Agents are for Uncoordinated asynchronous access to a single Identity.

Vars are for thread local isolated identities with a shared default value.

http://stackoverflow.com/questions/9132346/clojure-differenc...

And you can use all (all!) of the Java concurrency tooling as desired, including raw threads (for which Clojure has a wrapper as well).

Part of the reason I use Clojure rather than Go is because it doesn't try to force you into a one-size-fits-all method for handling concurrency. I have no problem with CSP but it doesn't fit everything I do. Sometimes I just want to defer work or wrap it in a future. Or I want to use an intelligent coordinated data structure rather than trying to meld flesh and bone to steel in order to make a concurrency-naive data structure behave how I want in a concurrent environ.

If I can avoid those unnecessary battles, I will.

So - Clojure.

codewright··on Ask HN: What web development language do you prefer?
Clojure, I used to do Python with Django or Flask.

HTML/CSS aren't optional so I don't know why you included that in the list.

I've tried Node.js, hated it.

codewright··on Ask HN: Play framework vs Grails
I prefer Clojure/Ring if I'm going to be doing web stuff on the JVM, but if I had to pick between those two, I'd go with Play. I don't think either is a terrible choice though.
codewright··on BODOL – inspired by Haskell, Clojure and Shen
Bodil Stokke is a good person to follow in general (on Github and Twitter) if you're into Clojure.

The name made me chuckle.

The Hindley-Milner actually makes seeing where the type system comes in a little difficult with these examples.

Hopefully see more code soon.

codewright··on NYC Startups to Watch
Is this a coping mechanism for dealing with burnout for you?
codewright··on Ecomom Post Mortem
That was incredible. Thank you for sharing this.
codewright··on Emacs setup for Python development
Friction + capability + turtles all the way down.
codewright··on Emacs setup for Python development
Pretty hard to "get to that point" when your editor isn't programmable.

Which goes back to my original point.

Seen lots of IDEs and editors come and go. Nothing new here, just more polish than the last guy.

codewright··on Emacs setup for Python development
>doesn't address what Sublime is missing at all.

Being a fully programmable work environment.

Edit: I used ST2 for about a month. The Python was neat but it's going to fade away eventually.

codewright··on Show HN: Lapis – A web framework for MoonScript and OpenResty
People need to get out of this habit of embedding view/template in the backend code. It's impractical and problematic in any situation where there's division of labor.

Otherwise interesting web framework, makes me want to look into MoonScript.

codewright··on What Python developers need to know before migrating to Go
No.
codewright··on Show HN: Squaresend - Less annoying mailto links
I'm a programmer, couldn't figure it out from the landing page.

Fix your landing page.

codewright··on Sleep: Everything You Need to Know
"Turbo shots" or "red eyes" in your coffee are a placebo btw. Espresso has a lower concentration of caffeine than standard drip. So by putting a "turbo shot" in your cup, you're actually lowering the caffeine concentration.

Wants to be hyper-rational and metric-aware about his sleep but didn't know anything about caffeine?

Okay.

codewright··on Expanded HTTP Method Support
Someday I will understand how corporate blogs break so often. [1]

[1] Has written multiple CMSs that get used on mid-to-high traffic properties.

Page 1 of 14Next →