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

This post helped me realize that all my big breakthroughs in understanding were triggered by conferences in USA, and before that, getting lucky and Interacting with the right people who I mostly met through meet ups (yeah philly lambda!) I am very proud of my open source works but none of it would have happened without the breakthroughs.

comment 10y ago · link · parent

If processes were referentially transparent functions, the shell would be wicked fast as it can run commands speculatively as you type them and discard the side effects if you backspace and memorize the results. Along with a zillion other game changer benefits like determinism. Built in perfect auditing. Rewind and restore processes to past states. That's what we should be striving for. But it's a lot harder.

comment 10y ago · link · parent

I have an ADHD diagnosis. I started a pair programming company. It is amazing. Zero non-zone hours per day.

comment 10y ago · link · parent

I think a more reasonable comparison is 4 lines of code you have to think hard to decipher but is correct, vs 40 lines of code that has a bunch of bugs and edge cases and is just as jibberish but 10x more code to decipher. Shorter solutions often encode the authors insight from thinking about the problem, and longer solutions encode are more of a history of the path an author took while just hammering on it without any particular insight until it worked good enough.

comment 10y ago · link · parent

I still remember your Conj talk in 2012 about virtual dom, 6 months before react was announced. Where did you first get the idea?

comment 10y ago · link · parent

lexical closures over const values are pure

comment 10y ago · link · parent

The time to parse and execute the js matters too

comment 10y ago · link · parent

Hi dang, comments like this are seen by .0000001% of your users, can we encode the rules in some moderation tools please? displaying the guidelines above the comment form would go a long way too.

comment 10y ago · link · parent

I have a theory about the manager vs I IC pay thing, it's that information is more valuable than skills?

comment 10y ago · link · parent

Btw react-with-addons ships with react.addons.update which gives effcent enough immutable updates without needing to leave plain old is data structures like the mentioned mori and immutablejs. I don't know why react.addons.update was released with such cripplingly bad syntax, but you can trivially use it to implement clojure's assoc, update-in and the like, see here: https://github.com/dustingetz/update-in (this tiny library is production quality and the basis of react-cursor). When my consulting clients are ready to taste immutability but have all this jquery style code that they can't leave behind and which isn't compatible with redux, I point them in this direction. (Hi from RC batch S'12!)

comment 10y ago · link · parent

functional programming is about immutability and higher order functions as a base kit for building abstractions, not sure what definition you are using but it's not the one that is useful when talking about React

comment 10y ago · link · parent

TLDR is functional programming

comment 10y ago · link · parent

Back to text mode then. Does infinity text consoles do anything better than one retina monitor? We will soon see!

comment 10y ago · link · parent

Back to Node - all new languages will target node and browsers via compile to js, and many modern languages are gaining js as a target platform as we speak.

comment 10y ago · link · parent

If the code is open source, what difference does it make if the code is in my module or someone else's?

comment 10y ago · link · parent

its not zero sum, world gdp has been increasing over time for thousands of years, investing can create value out of free things like thoughts, similarly education can create value by training people to think better than they otherwise could

comment 10y ago · link · parent

Be better than everyone else, and be able to demonstrate it

comment 10y ago · link · parent

> messy code eats up many more man-hours than having it written cleanly the first time

I think it's more accurate to assume that a company/team doesn't have the ability to write it cleanly until proven otherwise, and a manager/developer blame game signals the company's lack of this ability (this says nothing about an individual manager or developer's ability when taken alone or in a different context - due to multiplicative factors, a team is often much better or much worse than the sum of its members)

comment 10y ago · link · parent

A simpler case is a scalajs app depending on commonjs modules, I think this should be possible? One problem is that a commonjs module depends on other commonjs modules, so maybe it becomes all or nothing

comment 10y ago · link · parent

Frontend is still the Wild West. Programming is still the Wild West. We're still figuring out what ideas don't work, what ideas work and how far up they scale. I can't help but wonder if we are nearing the end state with Functional, or if some huge new ideas are yet to be thought up. Math and physics are kind of like programming and are pretty well figured out by now. There is also Logic programming, I personally don't understand any huge applications of it but the whole world couldn't apply functional until maybe ten years ago. What else is already out there that nobody is paying attention to?

comment 10y ago · link · parent

The real problem is that the programmer tools of today are fundamentally flawed to the point that no software can be fully understood or verified by a human.

I can imagine a future world based on pure functional programming where this is no longer the case. You'd need to rewrite the operating system too, which is the explicit goal of the Urbit project.

comment 10y ago · link · parent

I dont think we need smarter humans, i think we need more normal-intelligence humans who like working hard.

comment 10y ago · link · parent

Who funds projects like this?

comment 10y ago · link · parent

The DOM is a tree not a graph

comment 10y ago · link · parent

Maintenance programmer at defense contractor? Most of those programs are permanently stuck in the "good old days"

comment 10y ago · link · parent

Put VR headset in a football helmet. Then, a soldier. Then a civilian. Then the matrix.

comment 10y ago · link · parent

but i already have to enter my password to apply the update and again when my device boots? Can you link to technical details please, I have been following these developments and have seen no technical explanation of the vector.
1
767778
121