Better HN
topnewbestaskshowjobs
Log inSign up

ricsca

349 karma · joined Mar 31, 2014 (12y ago) · 20 submissions

Theoretical Physicist, PhD, now freelancer in data science and data Visualization.

http://riccardoscalco.github.io/

Submissions

1.

Show HN: Web component implementation of a (minimalist) Gantt chart(github.com ↗)

1 points · by ricsca · 7y ago · discuss

2.

Show HN: Rapido.css, write your blog posts with semantic HTML(nextbitlabs.github.io ↗)

5 points · by ricsca · 7y ago · discuss

3.

Show HN: Crayon.css – crayon colors for your favourite CSS preprocessor(riccardoscalco.github.io ↗)

1 points · by ricsca · 11y ago · 1 comment

comment 11y ago · link · parent

It should be

    var t = texture().lines().stroke('red')
    if(this.button.on) t.heavier()

comment 11y ago · link · parent

Wow! Thanks.

comment 11y ago · link · parent

Interesting point of view. Choices of style apart, there are situations where textures are useful. Like for example the case faced by swayvil (see the comment), or when you need b/w printable images. Another good reference is "Semiology of Graphics" of Jacques Bertin, he has a good opinion about textures.

comment 11y ago · link · parent

:D thanks! Very good point.

comment 11y ago · link · parent

Interesting point. I simply relied o this post of Mike Bostock http://bost.ocks.org/mike/chart/.

comment 11y ago · link · parent

Many thanks for the good words! I am happy you like it.

comment 11y ago · link · parent

I did it with d3.js and topojson, then I used the resulting svg image on the website. You can find the code here https://github.com/riccardoscalco/textures/blob/gh-pages/map...

comment 11y ago · link · parent

Textures and colors can be combined, for example if you need to select according two different group of categories/variables.

12.

Show HN: Textures.js, SVG Patterns for Data Visualization(riccardoscalco.github.io ↗)

404 points · by ricsca · 11y ago · 61 comments

13.

The italian internet-bill-of-rights is on GitHub(github.com ↗)

1 points · by ricsca · 12y ago · discuss

comment 12y ago · link · parent

Pykov implements the computation of some of the most common quantities related to discrete-time finite regular Markov Chains, namely: steady state, mean first passage times and absorbing times. The calculation are performed by means of the analytic formulas described on Kemeny&Snell, and the steady state is derived with the inverse iteration method. If you are interested on random walkers, pykov offers a handy way to generate them and evaluate their probability. Sorry, I do not know PyMC well enough to say if the above quantities can be calculated also with it.

comment 12y ago · link · parent

I coded this library during my PhD, where I applied Markov Chains to the study of protein folding dynamics. I am quite confident with it, but as far as I know few others used it. At that time, I used pykov with networks of around 100k nodes and 500k links. Only recently I replaced pysparse with scipy sparse solvers. Entire methods are comment out because they are heuristics that do not belong to the standard Markov Theory, and they can be removed.

comment 12y ago · link · parent

Agree. Naming is difficult and here maybe I did a wrong choice. Anyway, pykov.Vector class inherit from dict, which is not ordered, so mutating in place cannot be done. The sort() method returns a list, which makes the name "sort" even more problematic. What do you suggest? (OrderedDict?)

comment 12y ago · link · parent

All good points, thanks for pointing them out. I'll consider each one carefully.

18.

Show HN: Pykov – a tiny Python module on finite regular Markov chains(github.com ↗)

37 points · by ricsca · 12y ago · 11 comments

19.

Ruler and compass construction of a pentagon, visualized.(eidogram.com ↗)

2 points · by ricsca · 12y ago · discuss