Better HN
topnewbestaskshowjobs
Log inSign up

dustingetz

7,912 karma · joined Sep 11, 2009 (17y ago) · 3,625 submissions

Founder Electric Clojure https://github.com/hyperfiddle/electric

https://twitter.com/dustingetz

Submissions

comment 7y ago · link · parent

Thanks I am going to try this out

1652.

There are only 2 stages to any company(resultsjunkies.com ↗)

1 points · by dustingetz · 7y ago · discuss

comment 7y ago · link · parent

The canvas fonts are fuzzy? Stock OSX and Chrome, 4k display @ 3200 scaled

edit: https://github.com/myliang/x-spreadsheet/issues/5

comment 7y ago · link · parent

If a system is cannibalizing itself it is by definition not in balance. Iterate the process and then it ends.

comment 7y ago · link · parent

I think the arrow of good is like the arrow of time. It points in one direction because it has to. The fundamental constants encode a precise and balanced harmony of physics. The article is saying the choosing of the constants is a balanced process. "Good" is anything that contributes to the harmony. If the arrow of good pointed in the other direction, there is no harmony of forces, the constants would be different, and there would be nothing.

comment 7y ago · link · parent

Might the idea of "god must be good" emerge from the principle of balance? A balanced system certainly isn't cannibalizing itself. And the definition of "good" is a bit circular.

comment 7y ago · link · parent

http://hyperfiddle.net

comment 7y ago · link · parent

Is it the People's fault, or is it Twitter's?

comment 7y ago · link · parent

an example lish:

    [null,
     ["site id", null],
     [null,
     ["site address", " "],
     [["staff", 2015, 2016, 2017],
      ["assistants", null, null, null],
      ["supervisors", null, null, null],
      ["managers", null, null, null]]]]

comment 7y ago · link · parent

"taking a SQL database or excel spreadsheet and turning it into an app platform"

A key insight here is that SQL is too complicated for this to ever work, and also the trend towards functional programming (React.js, Scala etc) – see http://www.hyperfiddle.net/ for what you get when you replace SQL with a simpler database! (We're seeking investment)

comment 7y ago · link · parent

for graphics? show me a graphics tech demo using neanderthal!

comment 7y ago · link · parent

forget the whiteboard, imagine a regular 2D monitor with regular code on it except it wraps your field of view, so all the files of the entire codebase are open at once, let’s assume there is retina resolution everywhere, and it is collab edit like googledocs with a laser pointer attached to each cursor. Pair programming multi-cursor!

1663.

The Datomic Information Model(infoq.com ↗)

11 points · by dustingetz · 7y ago · discuss

comment 7y ago · link · parent

oops, Webfui was 2012, React.js was 2013

comment 7y ago · link · parent

the s-expressions make the compiler simple. Clojure the language was designed to make portability simple. you need both

comment 7y ago · link · parent

i track clojure growth metrics, it is definitely not declining, and the killer apps have yet to reach market. Python was dominating Ruby at the 10 year mark, and then Rails happened. the metric i cherrypick to try to measure disruption is how many edge innovators an ecosystem attracts, and Clojure aces this. React.js is one of few great innovations that came out of Javascript, and even virtual dom I saw first in ClojureScript at your talk Webfui at Conj 2013!

comment 7y ago · link · parent

I think you want the same datastructures moving up and down all layers of stack, otherwise you pay a marshalling penalty at each layer which is terrible for perf. If this is true, then we'd need to see fast immutable memory models inside GPUs that could natively represent persistent trees (moving away from pointers to mutable array buffers). Otherwise, the imperative way will always be at least C times faster, which seems a dealbreaker for the trailblazing researchers who forge the path the application layer follows.

comment 7y ago · link · parent

Maybe – s-expressions have a killer app though, which is that they are so simple that the level of effort to port Clojure to other platforms (ClojureScript, Clojure CLR, etc) is within reach of one person. I am irrationally bullish on Clojure, but this is the key to the bet – platform reach has network effects which I believe may outweigh in longrun the resistance to alien syntax. My Clojure codebase (http://www.hyperfiddle.net/) runs on JVM, node, browsers, lambdas, and inside Datomic cluster as stored procedure. Same code! Same library artifact! Simultaneously targeting all these different platforms!

comment 7y ago · link · parent

For real-time graphics, i think there is an impedance mismatch with the GPU data structures which are basically big mutable array buffers

comment 7y ago · link · parent

Never used Lisp, but huge Clojure user, the real innovation is the immutable data structures:

RICH HICKEY: Ok, so, problem number one on that list was place oriented programming. Absolutely, this is the problem. Almost all the programs I wrote, lots of the things on that list were multi-threaded programs, you know, they're crazy hard in C++. Just impossible to get right, when you adopt a normal mutability approach, you know, mutable objects. So, this is the number one self-inflicted programming problem. It seemed, you know, clear to me that the answer was to make functional programming and immutable data the default idiom. So the challenge I had was, were there data structures that would be fast enough to say, "we could swap this for that". And the objective I had, the goal I had was to get within 2x for reads and 4x for writes. And I did a lot of work on this, this was actually the main research work behind Clojure, was about these persistent data structures. Eventually I found...you know I looked at Okasaki's stuff and, you know, the fully functional approach and none of that gets here. And then I found Bagwell's structures were not persistent, but I realized could be made so, and they just have tremendously great characteristics combining the persistence with the way they're laid out, the way memory works. They made it. They made this bar, and I was able to get my friend to try my programming language. You know, we (?) have large library of pure functions to support this, and, you know, immutable local bindings. Basically if you fall into Clojure, your first hurdle is not the parentheses, right? It's this, this functional paradigm, everything is gone, there's no mutable variables, there's no state, there's no mutable collections and everything else, but there's a lot of support, there's a big library. You just have to, you know, sort of learn the idioms. So I think this was straight-forward, the critical thing that's different about Clojure is, by the time I was doing Clojure, the people who invented this stuff had adopted a lot more, right? I think most of the adherents in the functional programming community considered functional programming to be about typed functional programming, statically typed functional programming is functional programming. And I don't think so, I think that this is, you know, this falls clearly in the 80/20 rule. And I think the split here is more like 99/1. The value props are all on this side, and I think Clojure users get a sense of that, they get a feel for that. This is the thing that makes you sleep at night.

https://github.com/matthiasn/talk-transcripts/blob/master/Hi...

comment 7y ago · link · parent

Can't shake the feeling that future companies will organize as graph, not tree

comment 7y ago · link · parent

If you look at what Reddit [1] and Facebook [2] did in their data layers to scale past what the relational model can offer, they start to look pretty darn close to the Datomic architecture. Linearized. Time aware. Immutable. Reads from cache. Horizontal scaling. Query/writer/storage separation. And obviously they are cloud architectures, built and operated by teams of distributed systems engineers capable of tuning performance of such a system.

[1] https://news.ycombinator.com/item?id=15726376

[2] http://www.dustingetz.com/:datomic-facebook-tao/

Neither of these architectures resemble the relational model anymore. They resemble a half-baked bug-ridden implementation of half of Datomic.

TLDR: Nobody likes their database and zero teams at scale run vanilla out-of-box database.

This might shed light on what people mean when they are talking about tuning Datomic: http://www.dustingetz.com/:datomic-performance-gaare/ I'm sure there is more but this is the only thing I have ever come across.

comment 7y ago · link · parent

Datomic (which I already shilled in this thread) is basically immutable RDF with an explicit time dimension, plus an intuitive sql-ish relational/graph query library

comment 7y ago · link · parent

I gave a talk about this at ClojureNYC in 2017, the second half of the talk is about modeling graphs in various popular databases (SQL, Neo4j, Mongo, Datomic) and the problems you encounter https://s3.amazonaws.com/www.dustingetz.com/Getz+2017+Datomi...

Datomic (an immutable database for doing functional programming in the database) is central to my startup http://www.hyperfiddle.net/ , I don't think Hyperfiddle is possible to build on other databases that exist today. The future lies in immutability, full stop.

Datomic : databases :: git : version control

comment 7y ago · link · parent

hardly anybody was even trying to cash out! As demonstrated by this headline.
1
555657
121