mjstahl

Joined 17 years ago

Karma
256
Submissions
32
Member since
Sep 3
meet.hn/city/32.0790074,-81.0921335/Savannah

Socials: - github.com/mjstahl

---

View on Hacker News

Recent submissions

Comment · 1 year ago
Yep sure is. Just call the number. Everyone gets 60 mins for free.
Comment · 1 year ago
Service: https://hellonotes.net

Try it out: tel://+14355629028

Example output: https://lnk.hn/g8tx95K

Comment · 6 years ago
Comment · 7 years ago
Why did you create Elementree?

Elementree is really just an exercise in constraint. I am tired of spending my time in front-end framework documentation. I wanted something that didn't rely on odd templating syntax, proprietary data shapes, multitudes of library imports. Therefore I needed to create something where the entirety of the library could be held in my head, which I might note, hasn't had a memory upgrade in some time. I wanted a library to celebrate the code of the problem domain as opposed to the framework.

Why local view state?

Local state jives with my brain. I have never been fearful of encapsulating state with an object and subsequently mutating that state. I understand the pitfalls and I do my best to work around them when they present themselves. I view local state vs a system like flux/redux a lot like I view procedural vs functional programming. My brain works better with recipes than mathematics, just like it works better with state mutations than reducers.

Why Proxies?

Proxies gives Elementree objects the appearance of everyday JavaScript objects and yet perform specific semantics when mutated. This is just another case of doing my best to decrease the API foot-print, making the entire library easier to process and quickly be productive with.

Why not use a templating engine like lit-html?

I was exceptionally excited about lit-html when I originally saw it. But over time additional 'syntax' has made its way into the library for things like boolean attributes and event listeners. Don't get me wrong, the people working on that project have a whole lot more time and brains than I do, so I am sure it is for good reason. But I went with nanohtml because it didn't do anything special. It makes all Elementree's template look just like HTML with interpolated values. It is the right tool to meet the design goals of Elementree.

Comment · 10 years ago
I got tired of having to remember how I set a project up each time, so I figured I would turn it in to its own repo.

It is opinionated and doesn't cover every need, but I figured this would save some time for others making their way into ES6.

Feel free to offer any feedback or pull requests.

Comment · 11 years ago
Comment · 11 years ago
I would also recommend the follow-up book entitled "The Design of Design" also by Frederick Brooks
Comment · 11 years ago
From what I have been able to determine.. the "Searching... " and blocking of the browser (tab) is because that site does not exist in punkSPIDER's index. Eventually the site stops blocking the browser and "No results found!" is displayed.

From the article the only use case of punkSPIDER mentioned explicitly is where a consumer could use the site to determine how many "known" vulnerabilities exist at that site before they go entering sensitive information.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton