Better HN
topnewbestaskshowjobs
Log inSign up

clitmouse

0 karma · joined May 13, 2016 (10y ago) · 7 submissions

Submissions

comment 10y ago · link · parent

matlab? custom function was (or still is?) a one-function-one-file. i had bunch of function-files in a project directory. my mind was literally scattered.

then i moved on to languages that allow binding function to variable. i had much less files. simpler.

FP with anonymous function further frees my mind from naming variables so i have zero chance of mistyped function names. easier maintenance? sure

those didn't stop me from getting work done; however, i prefer to not waste time on weaker programming languages, although coding on those languages did broaden my mind (yeah, now i know they suck)

comment 10y ago · link · parent

d3 is way overkill for static chart (i skimmed your code and there's no callback for events)

Interactives are what missing from others. Sure you can see the largest circle, wonder what that is, look up csv, ... second largest circle? rinse repeat. wasting time? sure

with d3, you can hover a circle and get its horiz and vert rule to indicate its center's position on x and y axis -- also a small popup box for simple info, like name, id, etc.

you can summon external vis by clicking on said circle and say, a table appears under the chart, showing rows of data relevant to said circle, or ... other charts for the matter.

the code is not terribly long. i did it 3 years ago.

i don't know how to do interactive chart like i did in d3 in matplotlib, granted i haven't touched matplotlib for 13 years (i think i used numarray back then and feed the result to matplotlib because i refused to use matlab)

comment 10y ago · link · parent

i'm phasing out my laptops' hdd-with-bad-sectors by putting those into desktop and call them fud = fuck-u-drives