Recent submissions

Comment · 1 year ago
Comment · 5 years ago
The 1 GB DRAM per 1 TB Flash is to store the Flash Translation Layer mapping from logical addresses of the host system to the physical address in Flash. The write cache is separate and much more limited in size.
Comment · 6 years ago
Comment · 6 years ago
You could use a cronjob to add and commit all files at midnight.
Comment · 6 years ago
A Mathematical Theory of Communication
Comment · 6 years ago
The article was renamed "The Mathematical Theory of Communication" in the 1949 book of the same name, a small but significant title change after realizing the generality of this work.
Comment · 7 years ago
While you still need some experimentation to get a plot right, following the grammar of graphics approach can make it quick and methodical. For any plot, I just need to answer a few questions:

* What kind of plot do I want? Bar chart? Scatter plot? Boxplot? Pick the geom based on this.

* What column goes on each axis? Do I need to transform the axis? For e.g., is log scale better?

* Do I split data by some other column? Use different colors/fill, shapes, or facets.

* Do I need any annotations to point out interesting parts of the plot?

GGPlot and Plotnine are joy to work with once you grok the ideas of tidy data and grammar of graphics. Since the API is consistent, experimentation can be quick:

* That scatter plot looks to busy? Change the geom to a boxplot.

* Want to see if an attribute has any predictive power? Assign it to any unused aesthetic.

Seaborn can provide some higher-level functions compared to plotnine/ggplot like pair-plot. But as you said, you need to lookup seaborn's documentation all the time to work with it.

Comment · 8 years ago
Yup, that's correct.
Comment · 8 years ago
The decompression step on the receiver does not need the knowledge of the pre-trained dictionaries; they are used only to bootstrap the compression step.
Comment · 8 years ago
Highly recommend plotnine if you are looking for the python equivalent of ggplot and only need static visualizations.
Comment · 10 years ago
tmux-resurrect seems to have an option to save bash history. When combined with tmux-continuum, it should happen seamlessly.
Comment · 10 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton