Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
a_e_k
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
67 ms
·
691.
▲
by
a_e_k
12y ago
Off hand, I can't think of a reason why it wouldn't work for deep, too, other than perhaps disk space and I/O. Why do you say it wouldn't?
692.
▲
by
a_e_k
12y ago
I've experimented with this, too. One thing that I also like is that you can have multiple returns within the lambdas and know that the control flow paths will merge again at a common point. The compiler can also make sure that each
693.
▲
by
a_e_k
12y ago
Can any machine vision researchers recommend a survey/overview paper or two that would make a good technical introduction to these particular techniques?
694.
▲
by
a_e_k
12y ago
If memory serves, one of Emacs innovations was to decouple the display system from the editing system. The display would run asynchronously. If the display lagged due to a slow connection it would always be trying to show the most current
695.
▲
by
a_e_k
12y ago
Pretty much. Most of the ones that I've seen here in Seattle are basically small landscaped areas with a curb in the middle of the intersection. Probably not much more than six feet in diameter or so. (At the one nearest my house th
696.
▲
by
a_e_k
12y ago
I've sometimes waited at those circles. Many of those neighborhoods you mention also have streets just wide enough for one vehicle at a time to get through. I'd rather wait at the circle for an oncoming vehicle than have to worr
697.
▲
by
a_e_k
12y ago
I tend to lean on the control key with the corner of my palm rather than pressing it with a finger tip. (Though I don't use a normal home-row style of touch typing, either, so YMMV.)
698.
▲
by
a_e_k
12y ago
Both of those were prime motivations for me when I created my Luculent font [0]. If you haven't seen it already it might be worth a try. [0] http://www.eastfarthing.com/luculent/
699.
▲
by
a_e_k
12y ago
As I understand it, the patents on bytecode hinting have expired. I wouldn't be surprised if subpixel antialiasing was still patented.
700.
▲
by
a_e_k
12y ago
Yes, he played Geordi La Forge on ST:TNG. It's been decades but as I recall, there was even a crossover episode of RR where they went behind the scenes and showed him in costume, how the transporter effect was done and so forth. I st
701.
▲
by
a_e_k
12y ago
Nested searches are handy. They can also be used to find cases of one thing within a few lines of proximity to another: ack -C5 firstThing | less /secondThing One bonus ack trick that I like also like is bulk loading into
702.
▲
by
a_e_k
13y ago
Amusingly, Kumail's college degree was in C.S. There was a time back in the day when he was entertaining the rest of us in the lab while typing Scheme or Java into XEmacs on the HP-UX machines. He has some honest nerd credit.
703.
▲
by
a_e_k
13y ago
TrueType fonts, at least, had the concept of "engine compensation" [0] during hinting. When specifying a relative distance to move points on the glyph outline, the hint program would classify the distance as "white", &q
704.
▲
by
a_e_k
13y ago
Not exactly. Their designed advance width is 1120 "font units". The TrueType convention (which I followed) is 2048 font units per em. So they're close but not quite 1/2 em wide. However, many rasterizer round the widt
705.
▲
by
a_e_k
13y ago
Thanks. As for "int", I can see the argument regarding the positioning of the i. I suspect that's because I chose to have the larger dot follow the top curve and lean to the left. (It looked much more odd leaning to the ri
706.
▲
by
a_e_k
13y ago
Interesting. I thought I'd tested that fairly recently, but I'll check that again. Do you see the gaps vertically between lines or horizontally between adjacent characters? (Or both?)
707.
▲
by
a_e_k
13y ago
Thanks, and I'd be happy to explain. They extend from the bottom of the descenders to the top of the ascenders. So if you look at something like: [h][a][g], you'll see the 'a' is roughly centered and the top of the h a
708.
▲
by
a_e_k
13y ago
Thanks, glad you like the small sizes. By "thin", do you mean narrow and condensed, or do you mean the weight of the stems? For the former I wanted a decent amount of code to fit on a line -- I tend not to like the expanded look
709.
▲
by
a_e_k
13y ago
I certainly plan to keep expanding it. That one's on my list.
710.
▲
by
a_e_k
13y ago
Thanks. I can't say that I ever really thought of it as having a particularly "fun" style. Monaco and Monofur and some others always seemed far more so to me. It could just be that it feels plain to me at this point due to
711.
▲
by
a_e_k
13y ago
Macs ignore hinting when rendering antialiased. Try the prehinted version (probably 72 or 144 DPI). It also works best with dark on light on the Mac due to gamma. Regarding PNGs, the samples are rendered with hRGB subpixel rendering. I d
712.
▲
Show HN: Luculent, a new code/terminal font
(eastfarthing.com)
120 points
by
a_e_k
13y ago
|
96 comments
713.
▲
by
a_e_k
13y ago
I couldn't resist the challenge, so I wrote a non-recursive solution [0] in C++. It takes about 0.73s on an E5-4650 to loop 10000 times. Since writing it I've tried testing it against bluecalm's solution and how they compar
714.
▲
by
a_e_k
13y ago
I'd say it's more like the "Lorem ipsum" [0] of rendering. It's usually just a convenient placeholder to test things out on. [0] http://en.wikipedia.org/wiki/Lorem_ipsum
715.
▲
by
a_e_k
13y ago
Borges - The Immortal: "Homer composed the Odyssey; given infinite time, with infinite circumstances and changes, it is impossible that the Odyssey should not be composed at least once. No one is someone; a single immortal man is all m
716.
▲
by
a_e_k
13y ago
Yes, I've found using ido that way together with gtags to be particularly slick.
717.
▲
by
a_e_k
13y ago
Hi there, speaking of autovectorization, I actually tried it on this last night. After seeing kid0man's post, I decided to try optimizing it and selected that same loop as my target. (When I wrote the original C++ program, I was favo
718.
▲
by
a_e_k
13y ago
You're welcome! Scratchapixel was new to me, so thanks for that link. PBRT (which you already have) is definitely a favorite. You also cited Graphics Gems IV but I enjoy dipping into all of them. Other suggestions: * http:/&#x
719.
▲
by
a_e_k
13y ago
Actually, Z-up coordinate systems can also be called right or left handed depending on which way Y points. :-) But really, it was just personal preference. Way back when I was learning 3D graphics, I found it easiest to visualize Z as elev
720.
▲
by
a_e_k
13y ago
Thanks, glad you liked it! Yes, it's true that even more could have been shaved off and I did explore some #defines. As I recall, there were also some other changes I could have made to shave off yet more. Ultimately, I decided again
More ›