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

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

http://github.com/bitemyapp/neubite/

There's a CMS, for starters.

comment 13y ago · link · parent

Noir is deprecated, use vanilla ring + libnoir or Luminus.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

Take a look at Luminus.

comment 13y ago · link · parent

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.)

comment 13y ago · link · parent

Carthago delenda est: when are you re-releasing the software you yanked from your Github?

comment 13y ago · link · parent

Are you going to re-release the stuff you yanked off your github?

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

Just use http://serverbear.com/ and be liberated from blog spam like this.

comment 13y ago · link · parent

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/

comment 13y ago · link · parent

Then this is even sillier, SoftLayer non-dedi is pointless, they're notorious for being overpriced as a brand.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

Is this a coping mechanism for dealing with burnout for you?

comment 13y ago · link · parent

That was incredible. Thank you for sharing this.

comment 13y ago · link · parent

Friction + capability + turtles all the way down.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

>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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

No.

comment 13y ago · link · parent

I'm a programmer, couldn't figure it out from the landing page.

Fix your landing page.

12345
15