HNHacker News
TopNewBestAskShowJobs

madewulf

1,305 karma · joined June 3, 2010

https://mastodon.social/@madewulf https://www.multitasked.net
submissionscomments
madewulf··on HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage
No, I don't NEED to do anything... That said, your comments are totally relevant, I will implement them.
madewulf··on HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage
Done.
madewulf··on HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage
Ok, it's a problem with the geolocation of Saint Helena, I will fix that.
madewulf··on HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage
I will fix all the typo.
madewulf··on HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage
No, it's just a bug. I have been using two sets of data where the name of the countries were not perfectly matching (example: United States VS United States of America). I fixed most of the inconsistencies and showed the map to some people to help me spot the problems. This one slipped through (as the geocoding of Serbia and some NaN).
madewulf··on HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage
BTW, you can also click on the name of countries in the legend.
madewulf··on HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage
There is a drop-down with a list of countries and the legend is draggable if you wish.
madewulf··on HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage
I'm not sure that I understand well, the hascode is indeed changed base on the currently viewed country.
madewulf··on HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage
The reason is probably because the map is only showing the top 10 for each list of countries. Vietnam is probably not in the top ten for arrivals in Poland.

You can easily verify this here: http://www.migrationdrc.org/research/typesofmigration/global...

madewulf··on HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage
I added some context through the links at the bottom of the map: you can go to http://migrationsmap.net/about.html or directly to the page where the data is coming from: http://www.migrationdrc.org/research/typesofmigration/global...
madewulf··on HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage
Thanks for the tip....
madewulf··on HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage
Good point.
madewulf··on HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage
It also works in IE. I just showed it on ie8. It's less fluid, and you loose some functionality, but the main ones are still working. Kudos to Raphael.js
madewulf··on HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage
Oops, I will fix that.
madewulf··on HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage
I totally agree, that is the main missing feature in my opinion and the reason why I added a select box on top.

At first I wanted to use polymaps, which supports zoom and pan, but I found it difficult to draw on top of it (for the "arrows") and it lacked ie support. So I went for Raphael.js, but found it to cumbersome to implement zoom and pan.

madewulf··on HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage
I have tried to add arrows at some point, but it cluttered the visualization too much (especially for countries where migrations are quite local : limited to border-sharing countries).

That said, there may be a solution I did not think about.

madewulf··on HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage
The site is currently javascript only, the server is only serving static files, and the svg tags are generated in the browser using Raphael.js.

That said, I have already been pondering about this for a previous projects: http://populationpyramid.net and there are solutions : either export the svg tags through an ajax query to a server that would then render it as PNG, or create a script that would create the svg files directly from the data. I did not take time to implement this, though (I have to sleep sometimes...)

madewulf··on HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage
For some countries, the world bank is giving no data. That said, it should not display NaN but rather "No data". I will investigate.
madewulf··on Better Volunteering for Web Geeks
I'am a django dev too (+IOS if needed). I'm definitely interested by this kind of work. Where are you based ? I'm in Brussels, Belgium.
madewulf··on Show HN: an Interactive Map of the World Migrations in HTML5
Thanks, the code is available here if you wish, with all the script that were necessary to generate the json files containing the data : https://github.com/madewulf/MigrationsMap.net
madewulf··on SQLAlchemy and You
It is possible to specify that some column values must be unique together, which makes this point pretty moot for any new project.

That said, if you are planning to work on existing schemas, this can really be a headache.

About other nasty surprises, I have been using Django a lot extensively over the last 4 years, and I can honestly say I haven't find any and I dare you to find a web framework that will allow you to bootstrap a project much faster than Django .

madewulf··on Joshfire: HTML5 open source multi-device development framework
Not sure I understand perfectly what this tech is doing. Running JS on cpu installed on devices ? The site is not that clear about that and the examples are mainly web apps.
madewulf··on Hacked Gmail Account
For the record, I don't think that Gmail security is bad, or worse than something else. I just wanted to report my story, as I thought it would be interesting. I am a bit overwhelmed by the reaction to this post, honestly.
madewulf··on How to protect your brand in the new .XXX extension
I personally thinks that this sounds like blackmail by the xxx registry and that registrars try to cash in.
madewulf··on Joe Hewitt : I'm an indie developer now.
For the line of JetBrains IDE (PyCharm, IntelliJ, PhPStorm), there is a wonderful plugin, called css-x-fire that allows to save all tweaks you did in Firebug back to your source file. It gave me hours of life back.... I bet there exist something similar for lots of IDE.
madewulf··on World's first embeddable HTML5 document viewer, from Crocodoc (YC W10)
I am working in a web agency, and people are definitely very excited here by this product, but maybe not to use it exactly as intended: we have lots of clients who have paper magazine and who would like to create an iPad version.

Currently, the tools that I have seen convert every page into an image, and create an application from it (sometimes overlaying some links over the images). It gives poor usability (impossible to select text, or to change the font size for some part of the text). We would definitely be very interested in a tool that could take our documents in pdf and give us back the html5 code so that we can edit it manually (embedded videos instead of images, adding some interactive feature) before packaging it as an iPad app.

There is definitively a market for tools allowing to do things like that. I am wondering if Crocodoc has plans in this field.

madewulf··on Convore (YC W11) Wants To Be The Easiest Group Communication App Yet
I am currently viewing https://convore.com/django-community/there-arent-enough-djan... but it keeps reloading the page from time to time, interrupting my current reading... in both Safari and Chrome
madewulf··on Show HN: Space Gremlin, my christmas project just accepted for the Mac App Store
This is very useful.

I have been using a similar program for Windows for ages : SequoiaView http://w3.win.tue.nl/nl/onderzoek/onderzoek_informatica/visu...

It seems that it has been written by the folks who wrote the paper that you referred to.

The first analysis can take some time, though. How fast is your implementation for Mac ?

madewulf··on Population Pyramids of the World in SVG using Raphaël.js
Ooops, yeah. Thanks for the bug report. I will fix that.
madewulf··on Population Pyramids of the World in SVG using Raphaël.js
Will do. Or add a link to this wikipedia definition, which matches perfectly what has been done.
← PreviousPage 2 of 3Next →