Better HN
topnewbestaskshowjobs
Log inSign up

dankamongmen

179 karma · joined Mar 14, 2013 (13y ago) · 47 submissions

i make computers go fast. ex-goog, ex-nvda, currently building satellites for microsoft.

https://nick-black.com/dankwiki/index.php/Hack_on

Submissions

comment 5d ago · link · parent

i haven't seen the second edition, i just know that i sent in several errors back in 2008, and received confirmation from Varghese.

if we're talking networking, the books i listed are all great (this one, UNP (though a little dated), queueing theory, and communications networks). just missing the cut was mathematical foundations of computer networking by keshav. anyone doing serious network programming on linux will also want gregg's bpf performance tools and probably his systems performance (2nd edition) as well.

two critically important newer technologies on linux are XDP and io_uring. i cover these:

https://nick-black.com/dankwiki/index.php?title=Io_uring https://nick-black.com/dankwiki/index.php?title=XDP

i did a presentation on them at microsoft you might enjoy:

https://nick-black.com/dankwiki/images/1/13/Black_-_Fast_Lin...

DPDK is also relevant.

as for my "domain expertise", i'm a novelist.

comment 1w ago · link · parent

well, here's my computer science shelves:

https://nick-black.com/books4.jpg

i don't really want to count them right now but 300 seems not too terribly far off the mark.

comment 1w ago · link · parent

this is great feedback. higher dimensional spaces are something i'm not very strong in. i'll likely pull this volume from the list until/unless i get a more modern view of it, thanks!

comment 1w ago · link · parent

the second edition has several error corrections i sent in! =]

comment 1w ago · link · parent

certainly fair. please consider the title rhetorical flourish.

comment 1w ago · link · parent

look at you out here doing the lord's work

comment 1w ago · link · parent

to be fair, the fast inverse square root is described in Hacker's Delight, which i list

8.

A case study in fullstack device design: a 150C filament dryer(nick-black.com ↗)

1 points · by dankamongmen · 2y ago · discuss

9.

Computer Science Eponyms(nick-black.com ↗)

1 points · by dankamongmen · 2y ago · 1 comment

comment 2y ago · link · parent

we'll be integrating these into Notcurses soon!

comment 2y ago · link · parent

great feedback; i shall check out Beej and see what's up. it was many years ago that i learned my basic UNIX work.

networking algorithmics is a classic, and there's nothing else quite like it. i stand by that one for sure. he also has a lot of the great networking algorithms in there that you can't get collected anywhere else.

haven't looked at strang, either--axler did well by me!

appreciate the informed and quality comments. --nick

comment 3y ago · link · parent

also dan kaminsky's and to a lesser degree dan knapp's. i was put on the spot as a sixteen year old Georgia Tech freshman acquiring his college of computing account, and between a love of good weed and childish stupidity, i chose "dank@". twenty-five years later, i'm not about to change it. no insults are meant to any of the aforementioned hax0rs.

comment 3y ago · link · parent

not at all what i was trying to investigate, but thanks

comment 4y ago · link · parent

i know nothing about them! thanks for bringing them to my attention.

comment 4y ago · link · parent

thanks; this warmed my little hacker heart!

comment 4y ago · link · parent

you might want to use different algorithms for automatic control than those exposed through the motherboard firmware, which are pretty much limited to either constant, manual setpoints (usually with extrapolation), and a linear temp-to-rpm curve (ideally with different possible sources).

if you look at my linked Counterforce project, i believe there to be value beyond these simplest management schemes. we'll see.

comment 4y ago · link · parent

huh, i didn't know they could be connected like that! i only knew of the -12V as a source for RS-232. thank you for the tip; i'll investigate this (i assume you're correct, just want to understand it for myself) and update the page. thank you very much!

comment 4y ago · link · parent

yeah, if you look at the equations at the bottom, power goes up with the third power in relation to rpm. whippin' and drivin' that much air takes some oomph. connect that fan to any normal motherboard, and you're going to burn out your fan header pretty much immediately (especially since inrush current is probably even higher than the steady state).

comment 4y ago · link · parent

hey neat, i'm glad people enjoyed this (i'm the author)! this was all due to my inaMORAta project, part of my Counterforce project:

https://nick-black.com/dankwiki/index.php?title=InaMORAta https://nick-black.com/dankwiki/index.php?title=Counterforce

hack on!

20.

More than you cared to know about PC fans(nick-black.com ↗)

175 points · by dankamongmen · 4y ago · 99 comments

21.

Building a machine with 14 drives and a geiger counter(nick-black.com ↗)

2 points · by dankamongmen · 4y ago · discuss

comment 4y ago · link · parent

that makes me so happy to hear. you have no idea how much of a pain in the ass that video was to make, lol--i'm really glad to hear it's been effective in carrying forth The Message.

i'm working on a new one now which is going to be some absolute Wizard of Oz shit; stay tuned. =] hack on!

comment 4y ago · link · parent

WITH THAT SAID, Notcurses can now acquire the default background from the terminal (this was not true when I wrote the book, sigh), and I fully support @akkartik's approach given this fact. Using NCALPHA_HIGHCONTRAST together with explicit reproduction of the user's chosen background is a complete and general solution to this problem, and I really ought update the book. Thanks, @akkartik!

comment 4y ago · link · parent

thank you; i take pride in my documentation =]. and it's a lot of work; one ought have fun in the places you can.

comment 5y ago · link · parent

i am indeed a yellow jacket several times over. pa dank did not attend the university of alabama at tuscaloosa, nor any other institute of higher learning, but as anyone who knows SEC fans can tell you, attendance is not required for fandom. his roll tides were valid.

alas, it's pretty hard to get it up for GT when you just got waxed by a directional middle school from illinois.

comment 5y ago · link · parent

The key is ending the device query string with DA1 aka "Primary Device Attributes", which literally every terminal i've managed to test with responds to. Guaranteed that one answer, you completely avoid nasty timeouts. This is required for even VT100 conformance, so it can be expected on even hardware terminals (though not necessarily those outside the DEC family).

I tested over 24 terminals personally, and the only one I found which didn't respond to DA1 was Terminology from EFL, which crashed forty ways to a friday anyway so who really cares?

i'm glad you asked, as i'm hella proud of this entire system. you can check the code at:

https://github.com/dankamongmen/notcurses/blob/master/src/li...

and

https://github.com/dankamongmen/notcurses/blob/master/src/li...

i mean, it's tricky, and you have to think some things out pretty carefully, but it works. everything hinges on DA1.

many props to @dknl of the "foot" terminal emulator, who just kicks ass in general and first turned me on to DA1:

you can see the history in bugs starting with https://github.com/dankamongmen/notcurses/issues/1469

hack on!

comment 5y ago · link · parent

take a look at growlight: https://github.com/dankamongmen/growlight

comment 5y ago · link · parent

why merely write programs with NCURSES when you can hack the planet with notcurses? enjoy the free book:

https://nick-black.com/htp-notcurses.pdf

12