mucholderthen:

Posted on VisualLoop: 90 dataviz Tumblr blogs to followMarch 7, 2014 Read more …
Blogs on data visualization, cartography and data journalism in alphabetical order:
Afrographique
Anatomy Diagrams
Aron Pilhofer
Art & Science Journal
Baby Steps in Data Journalism
Beautiful Type
Beauty in Data
Brian McGill Newsart
Boston Globe Infographics department
CartoDB Blog
Cartophile
Charts n’ Things
Chicago Tribune Graphics
Cognitive Geometrics
Column Five
Dalalalataviz
Data Anxiety
Databurgh
Data, Dispatches, and Diagrams
Data Journalism Links
Data Journalism Tools
datahacker
Data Noveau
El Mundo Graficos
Explore
Fast Company on Tumblr
Feltron
Fuck ton of Anatomy References
Fuck Yeah Venn Diagrams
Geek Vizious
Geometry Matters
Graham Roberts
Hyperreal Cartography
How it works diagrams
I Love Charts
Inconsolata
Info Jocks
JESS3 on Tumblr
Judgmental Maps
Life and Code
Linda Hall Library
Maps Of the Continental United States (MOCUS).
Maps on the Web
Memuco
Mindfuck Maths
Moshita
Movies in Color
Movie Sound
Milwaukee Stat
National Post – Art & Design
Nature Graphics
New(s) Narratives
Old news graphics
Paul Bradshaw’s tumblelog
Pew Internet
Quantified Breakup
Quartz on Tumblr
Schema Design
Smithsonian Libraries
Statlas
Stephen Wildish
Tableau Love
Tiffany Farrant-Gonzalez work
Time for Maps
The 3-Minute Win
The annotation layer
The Appendix
The Art of Physics
The Atlantic Cities
The center for Investigative Reporting
The Economist
The Infogram Blog
The Land of Maps
The New Yorker on Tumblr
The Venn Review
Transit Maps
Thumbs Up Viz
Union Metrics
Vejo infográficos em tudo
Visualize
Visualizing Math
Visual knowledge
VizGif
VizForaCause
Vizzuality Blog
Washington Posts Information Graphics
We Love Datavis
WonkViz
Wolfram Alpha Blog
World Bank Data Viz
WTFViz


Dataviz blogs.

mucholderthen:

Posted on VisualLoop: 90 dataviz Tumblr blogs to follow
March 7, 2014 
Read more …

Blogs on data visualization, cartography and data journalism 
in alphabetical order:

Dataviz blogs.

(via lifeandcode)

C# lat and long to geometry

If you want to convert lat and long to geometry on you repository:

string location = string.Format("POINT ({0} {1})", lng, lat).Replace(',', '.');
DbGeometry point = DbGeometry.PointFromText(location, 4326);

8Tracks REST Architecture

 A long time ago I decided to investigate the 8tracks architecture. I’m a huge fan of them. The concept really surprised me on a world full of music applications, sounded like the old k7 changes between friends, but it’s more. I still use the site and app almost everyday. In that time I got to look their vacancies for developers :), but since that time I have not evolved much in Ruby on Rails. 

Once I discovered the site I had to do an exchange trip soon and was too fond of some mixes to stay away from them for so long, the hack began.

I remember to passed the majority of time just understanding the calls and digging into the html and javascripts available. Then I saw, the REST architecture was gaping. They probably had a database only with some essential user’s information and links to the real files in somewhere over the Amazon Cloud. The core application, the javascript player, it was for some other open source source, as long I remember. 

At the end, the 8tracks its a perfect example of putting together available solutions and a great idea.

Much has changed on the site last year but this week I tried to use my script again and its still working, now I decided to publicize it. 

https://github.com/biracruz/DownFrom8Tracks.git

To use:

#python 8tracksdown.py [mix url]

The big question is: how to flip this game and make this great example of REST architecture into something sealed?

Spatial Query - STContains (unfinished)

image

Looking at the picture we can see the division of brazilian territory on states and regions. So I had two shapes one for states (pt_br:estados.shp) and  other fo regions (pt_br:regiao.shp). I made the importation using ogr2ogr and now I need to relate each other. 

For some reason the first select lost 3 states:

select
r.id as idRegiao,
r.regiao asNmRegiao,
e.id_uf as IdUF,
e.uf as NmUf
from
dbo.regiao r,
dbo.estados e
where
r.ogr_geometry.STContains() = 1

A fast approach to solve this is use the STCentroid():

select
r.id as idRegiao,
r.regiao asNmRegiao,
e.id_uf as IdUF,
e.uf as NmUf
from
dbo.regiao r,
dbo.estados e
where
r.ogr_geometry.STContains(e.ogr_geometry.STCentroid()) = 1

alt4326:

Bret Victor - Drawing Dynamic Visualizations

(via lifeandcode)

delete more than one image on moqups.com

moqups.com doesn´t offer thepossibility to select more than one image, at least to delete from Images collection so what about delete more than a hundred of little icons one by one?

well, the httpRequest to delete looks like this:

https://moqups.com/a/image/del?imageId=999999&_=9999999999999

and the answer to this request looks like:

{"hasRight":true,"success":true,"object":null,"message":""}

since you need the session from your browser you can run this javascript code on console (your browser probably has a developer tool for this)

for (var n = 196000; n<198000; n++){ FDBK.library.isUserLoggedIn() && FDBK.API.xhr(FDBK.API.CALL_DELETE_IMAGE, {
            data: {
                imageId: n
            }});}

the n value can be found on html source ( “<li id=image-197277”, this last number).