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 10y ago · link · parent

How about don't write shitty software. Just because joes flower shop wants shitty custom database software doesn't mean I can't push the state of art and what's possible.

comment 10y ago · link · parent

i am infinity better with a pair (can solve problems i cant solve alone) but you have to build the company culture around it. i am a founder, I pair with my partner, we think we can scale the company this way. You can't force it into an existing company. You hire different types of people when you're pairing full time, and that's just the tip of the culture iceberg.

comment 10y ago · link · parent

Pair programming, I think, can lead to a 10x environment, if the culture is built around pairing.

comment 10y ago · link · parent

So you need good enough logs that you can debug production without ssh to production (since there is no ssh, bash, ps etc)? Don't we already have this?

comment 10y ago · link · parent

Did you know that David wrote all of ClojureScript? https://github.com/clojure/clojurescript/graphs/contributors

comment 10y ago · link · parent

I dont think this is the type of composition I am talking about. This composes pure views, like react, but it doesn't compose their state, same as react.

comment 10y ago · link · parent

My opinion is that REST is exposing the O/R impedance mismatch to the client, and we are only feeling this now as our client apps get really complicated, and i think the O/R imnpedance mismatch is caused by pervasive mutability, and i think the problem can be solved by making the database immutable (e.g. CQRS/ES, Datomic), and i think that will make the problems with REST go away too. (This is not quite what GraphQL is trying to do, GraphQL is progress but doesn't get to the crux of it) This is all research of course, and completely my opinion. Om Next is meant to be paired with Datomic so while his solution is to throw away everything that is even a little bit RESTy, i think that might be throwing the baby out with the bathwater. time will tell.

comment 10y ago · link · parent

> Application state as a single, immutable data structure.

react-cursor gives this pattern in javascript, immutability and all, but with regular old javascript objects. It also comes with all the same caveats as in this article. (I don't speak for the creator of Om, I speak for myself as the author of this library which was inspired by Om and Clojure)

https://github.com/dustingetz/react-cursor/

The beautiy of the state-at-root pattern with cursors, is that each little component, each subtree of the view, can stand alone as its own little stateful app, and they naturally nest/compose recursively into larger apps. This fiddle is meant to demonstrate this: https://jsfiddle.net/dustingetz/n9kfc17x/

> The tree is really a graph.

Solving this impedance mismatch is the main UI research problem of 2015/2016. Om Next, GraphQL, Falcor etc. It's still a research problem, IMO. The solution will also solve the object/relational impedance mismatch, i think, which is a highly related problem, maybe the same problem.

comment 10y ago · link · parent

Who uses scala.js? I was not under the impression that it was "ready".

comment 10y ago · link · parent

I really would like to see an article about this, can you point me in the right direction. Natural component composition(nesting) where "component" includes markup, state and events, and how cyclejs makes this better. This is the article Andre should have written btw, i think vanilla react doesn't handle this all that well and redux makes the composition story worse (composition is a non-goal of redux though) - but it is very much still a research problem

comment 10y ago · link · parent

I don't think it's do-or-die, so much as, a lot of startups these days are founded by people without as brutally strong technical skills as in the past, as the businesses are a lot less technical, so a typical hiring strategy of "hire people who we communicate well with and aren't that expensive and work really hard" causes the yolo nodejs rockstar culture. You can't work smarter than the CTO - A hires A and B hires C, etc. None of this matters anyway though because the best talent knows how to find people like them, and the people who want yolo nodejs rockstars know how to find them too and everybody is happy. It follows that the middle ground companies will be those working on more technical problems with more technical founders/leadership, but it also follows that the hiring bar will be higher at those companies.

comment 10y ago · link · parent

I definitely don't do that. I posted once in the who-wants-to-be-hired thread, but I don't do that anymore, because I had one guy get really angry once he realized I didn't want to be his employee, he accused me of bait-and-switching him to outsourced development (LOL). I was open to perm/ft work at the time for the right fit (which this guy wasn't), but his response was so visceral that I decided it was just a bad form to post there knowing for 95% of inquiries there was no chance of me going perm and that for the longshot 5% i would probably find them through another channel.

comment 10y ago · link · parent

HN who's hiring threads, exclusively

update: I post my pitch in the freelancer thread and potential clients contact me, for example https://news.ycombinator.com/item?id=9998249

comment 10y ago · link · parent

Can you not direct link this please, put it in a text post

comment 10y ago · link · parent

Can you post a link to these people vocal about wanting contribution and what type of content they are submitting?

Stackoverflow is basically documentation. You don't attribute the documentation every time you use an api.

comment 10y ago · link · parent

This is all codebases ever, including all open source codebases. You have to learn the codebase before you can contribute effectively to it.

comment 10y ago · link · parent

I pair program with one of my friends for 4 hours one evening a week every single week for the last couple months. I intend to do this forever. We are incredibly productive, pairing forces you to focus, it is an incredible knowledge sharing mechanism, and we are absolutely steamrolling through things we have to learn and yaks we ought to shave. And it's on the calendar, it's repeatable, we never miss even when neither of us really have the energy to work, something about two peoples combined energy gets us in the zone instantly every single time.

2358.

AFrame: Building blocks for the virtual reality web(aframe.io ↗)

3 points · by dustingetz · 10y ago · discuss

comment 10y ago · link · parent

Generally i think companies leverage data to ratchet rates upwards, not offer unsolicited discounts. Why invest in infrastructure that will reduce profit? That's why when I drive through an ez-pass-only onramp without an ez-pass, they know exactly where my car entered and exited, but they still charge me the max-fare for not having a ticket.

comment 10y ago · link · parent

I click on a lot of emails just to find the unsubscribe button, and sometimes open-archive is the fastest way to get things out of my inbox

comment 10y ago · link · parent

This is a startup opportunity and can be solved through UX and richer moderation tools. UX influences user behavior. One small example, a richer moderation system that captures -1 because violation of HN guideline #6 "avoid introducing classic flamewar topics unless you have something genuinely new to say about them could short circuit entire flamewar threads. I think a psychologist could probably build the right UX to get top 1% expertise to generate incredible discussions reliably and funnel the 99% peanut gallery off to the side where they can happily contribute too. I would have liked to see reddit build this but they have had years and years to do something interesting, i guess they are too big to innovate now

comment 10y ago · link · parent

Client/server data sync and optimizations like server side rendering are easier with code-sharing between client and server. Though as far as I can tell, this framework doesn't leverage code sharing for either purpose.

comment 10y ago · link · parent

Mythical man month actually says the opposite, because even if longer hours have diminishing returns, the organizational overhead from adding people to the team is worse. Maybe the descrepency here is short view (a couple years to build a startup) vs long view (mature organization over an entire business cycle)

edit -----

Secondary source: https://news.ycombinator.com/item?id=3547965

Quoting the secondary source:

"From a business point of view, long hours by programmers are a key to profitability. Suppose that a programmer needs to spend 25 hours per week keeping current with new technology, getting coordinated with other programmers, contributing to documentation and thought leadership pieces, and comprehending the structures of the systems being extended. Under this assumption, a programmer who works 55 hours per week will produce twice as much code as one who works 40 hours per week. In The Mythical Man-Month, the only great book ever written on software engineering, Fred Brooks concludes that no software product should be designed by more than two people. He argues that a program designed by more than two people might be more complete but it will never be easy to understand because it will not be as consistent as something designed by fewer people. This means that if you want to follow the best practices of the industry in terms of design and architecture, the only way to improve speed to market is to have the same people working longer hours. Finally there is the common sense notion that the smaller the team the less management overhead. A product is going to get out the door much faster if it is built by 4 people working 70-hour weeks (180 productive programmer-hours per week, after subtracting for 25 hours of coordination and structure comprehension time) than if by 12 people working 40-hour weeks (the same net of 180 hours per week). The 12-person team will inevitably require additional managers and all-day meetings to stay coordinated.

comment 10y ago · link · parent

Writing code against IList instead of ArrayList, or IDatabase instead of PostgresDatabase unambiguously decreases coupling.

comment 10y ago · link · parent

abstraction means thinking in layers, not having no idea what happens in lower layers.

The pattern you describe is caused by OOP and inevitable in many of today's OO systems because OO does not offer sufficiently powerful abstraction capabilities [1]. Imperative often suffers from "We won't attempt to abstract this at all" (which is sometimes better [2]) and functional sometimes suffers from "powerful abstraction capability which requires a high degree of knowledge to wield". Pick where you want to be in the spectrum.

[1] See AbstractSingletonProxyFactoryBean in Spring. Spring is an expert team with as well reasoned architecture as is possible in Java, anti-abstractions like this get written because they are the least-bad solution when a shitty problem comes up and the language has you cornered. http://docs.spring.io/spring/docs/2.5.x/api/org/springframew...

[2] "C vs C++ linus torvalds" https://www.google.com/search?q=c%20vs%20c%2B%2B%20linus%20t...

comment 10y ago · link · parent

Do you intent to generalize this into a general library for service/client data syncing and if so can you talk about its design?

comment 10y ago · link · parent

You are free to evaluate the stability of any open source projects you would like to use, and if they provide insufficient value, you may get involved, or donate, or use any of the competitors like Backbone.Router or write your own, or otherwise add value to the ecosystem yourself.

Fast paced innovation is good. If you don't like life on the edge, it's not like these problems were unsolved last year. Use those solutions.

1
787980
121