Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
asolove
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
151.
▲
by
asolove
13y ago
If you have a list of thousands of items, attaching event handlers to each of those items separately is relatively expensive, although it makes the view code nicer. If you are as serious about performance as these people, you would want to
152.
▲
by
asolove
13y ago
This is important to remember but hopefully not relevant. If you have event handlers on each card instead of delegating them to the container, that's a performance problem all by itself.
153.
▲
by
asolove
13y ago
But note that ruby's symbols are interned, so if you create lots of them programatically they never get GC'd.
154.
▲
by
asolove
13y ago
It is indeed, and the book I mentioned is the prequel to his book "A Pattern Language." But there is an enormous difference between his real idea of "design patterns" and the much more static idea that you see in, for ex
155.
▲
by
asolove
13y ago
I recommend "The Scrum guide" and "Extreme Programming Explained" as ways to learn about the systems themselves. Thinking about it, the book that actually taught me to understand what the early agile people thought was C
156.
▲
by
asolove
13y ago
I'm sorry if I seem to be using the terms interchangeably. I do not intend to, but Scrum is the particular tactic I have seen used to accomplish what I understand agile to be. I agree that anyone who is dogmatic about "doing Scrum
157.
▲
by
asolove
13y ago
It's interesting because "agile" can fail on both sides. This lampoons the enterprise side, in which you adopt "agile" practices inside rigorous change control and long requirements documents. But there is also the
158.
▲
by
asolove
13y ago
I don't think this is inherent in the idea. You can absolutely make an interface somewhat like this that could arrive at general solutions. Indeed, I think Bret would consider this most of the point. He covers this in "Up and down
159.
▲
by
asolove
13y ago
But, that is a bit different. Function calls return one value because expressions evaluate to one value. Functions accept multiple arguments the same way any expression can be made up of multiple values. What the formal parameters allow is
160.
▲
by
asolove
13y ago
This is the outstanding example of how elevating special function return data into a type adds power, because you've just described a monad.
161.
▲
by
asolove
13y ago
Why not have these on data? If they only get returned from one function call, you have to manually deal with them in each function. If attached to data, they can get aggregated over large chains of fn calls.
162.
▲
by
asolove
13y ago
A proof by contradiction: Assume a language where functions do not only return one value. Now, consider each function in this language. It either returns the same number of values each time, where each has a specific meaning, and they are d
163.
▲
by
asolove
13y ago
Yeah, took me a second to wrap my head around the Om todo code. I've updated my comment with links to show how it works.
164.
▲
by
asolove
13y ago
"Immediate mode" is used as a metaphor here. He doesn't want to actually do graphics work. He wants to send things out to get drawn and have them get batched up appropriately and only rendered when needed.
165.
▲
by
asolove
13y ago
Om looks very interesting and seems to handle exactly what I've been looking for. We have reactive widgets, which is great for making changes in the data automatically update the UI. But the hard part is closing the loop: how does the
166.
▲
by
asolove
13y ago
The contest limitations rule out most of the likely attack vectors for breaking the protocol in the real world. It's like saying "Our bank vans are 100% secure. Just try stealing money from them without puncturing our tires or bri
167.
▲
by
asolove
13y ago
Hmm, I don't see that at all. Every company has a culture, a way of making decisions, and a way things get done. We're talking about how those happen. That can include things like "most people do GTD", "most communi
168.
▲
by
asolove
13y ago
I agree that some companies use "culture fit" as an excuse to eliminate diversity. But that doesn't mean that "culture fit" isn't a real thing when not abused in this way. I have found "culture fit" t
169.
▲
by
asolove
13y ago
Yep, these are all conventions used in hand-written Latin texts of the time. I believe the 9-looking mark is short for "us" at the end of a word. See the top of the right column on that page: "Et vidit de9 qd esset" wher
170.
▲
by
asolove
13y ago
Fancy end paper is truly a wonderful thing. If you like this, just look at some of the Kelmscott Press endpapers: https://www.google.com/search?q=kelmscott+press+endpaper&esp...
171.
▲
by
asolove
13y ago
A really interesting book on the characteristics of written and printed letterforms is "The stroke" [0]. One really interesting thing is the way that writing and reading have changed more than one might expect. A few anecdotes: -
172.
▲
by
asolove
13y ago
There is (debated) speculation that Gutenberg made several forms of some letters with different widths so that he could justify lines with very small adjustments rather than adding space between words. The Wikipedia microtypography page has
173.
▲
by
asolove
13y ago
When books were hand-written, anything that took longer to do was more expensive: extra colors, pictures, or scripts that required longer to write. This printed book is attempting to incorporate elements from a very fancy handwritten versio
174.
▲
by
asolove
13y ago
There are two factors here: 1. illegible to whom? 2. what do you expect a book to look like? The Textura letter forms would have been more familiar to readers at the time, and were used widely in German until surprisingly recently. Even tod
175.
▲
by
asolove
13y ago
Yes, "not ready" is exactly right. And this is one of Bret's points: Engelbart wasn't actually interested in technology itself. He was interested in sociology: creating groups of people who were ready to do transformativ
176.
▲
by
asolove
13y ago
The point Bret is making is deeper: Skype and Screenhero shouldn't have to be 'applications' that dig into mucky parts of the OS to try to get screen and pointer sharing to work. And even with those applications, other applic
177.
▲
by
asolove
13y ago
Well then awesome. Thanks for making things better! (And yes, I did try it. Didn't turn out great for me, but I have a variety of fun medical problems I wouldn't expect to see covered here.)
178.
▲
by
asolove
13y ago
First let me back up and say, if you have read the research available on the items below and come to the current design after very careful thought, then I am just a jerk giving immediate negative feedback on your hard work and I hope you wi
179.
▲
by
asolove
13y ago
I'm speechless. I'm going to read the publications in the about page to see what went into this because, at first glance, it appears to be very poor information design: - The use of a circular arrangement is questionable. Judging
180.
▲
by
asolove
13y ago
In this sense, "native focused" is not about what it does do, but what it doesn't do: - It probably doesn't work in IE or Firefox, because it's focused on working inside embedded WebKit/Blink. - It probably isn
More ›