26 karma · joined Apr 28, 2010 (16y ago) · 54 submissions
comment 3y ago · link · parent
> You don't need to be stuck on a bus between Oslo and Göteborg to enjoy reading this book: [...] Much interesting stuff to think about for the thinking and practicing programmer.
https://toot.community/@bsdphk@fosstodon.org/109829843037038...
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 5y ago · link · parent
comment 6y ago · link · parent
comment 7y ago · link · parent
11.
The new dot com bubble is here: it’s called online advertising(thecorrespondent.com ↗)
2 points · by piccolbo · 7y ago · 2 comments
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
Content Security Policy: Ignoring “http:” within script-src: ‘strict-dynamic’ specified Content Security Policy: The page’s settings observed the loading of a resource at inline (“script-src”). A CSP report is being sent. Source: try{(function overrideDefaultMethods(r, g, b, a, scriptId, storedObjectPrefix) { var scriptNode = document.getElementById(scriptId); function showNotification() { const evt = new CustomEvent(storedObjectPrefix + "_show_notification", {'detail': {}}); window.dispatchEvent(evt); }
comment 7y ago · link · parent
A genius no doubt. I will see you all on Mars.
comment 7y ago · link · parent
Some of the dplyr elegance comes from the flexible evaluation mechanism in R, whereby mutate(data, col1+col2) works because the second arg is evaluated in an enriched environment. Python eschews this kind of macro-like extensions because, my guess, tampering with evaluation makes a lot of other things complicated (for instance, forget replacing args with their value, that doesn't work anymore). I think the author of dplyr himself in later work has promoted the use of the ~ operator to explicitly block eval of an argument and at least make these departures from regular eval explicit. That means dplyr is ahead for interactive use, but for programming you have to switch to a separate API (the underscore "verbs") and that makes the transition from interactive work to coding a bit steeper. It's all trade-offs, and I am not saying that I know better than either the pandas or dplyr authors.
As to ggplot, if you believe the future of statistical graphics is in-browser and interactive, you should take a look at altair for python (I myself created a small extension to it called altair_recipes). It's based on vega, like ggplot anointed (but not quite ready) successor ggvis and uses the grammar of graphics (or on interpretation thereof) like ggplot, with extensions to interaction. Simpler than D3 by most accounts.
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent