Hacker Newsnew | past | comments | ask | show | jobs | submit | mapio's commentslogin

The jp²rt package allows to estimate retention times related to untargeted metabolomics by LC-MS/MS analysis for hundreds of thousands of molecules given an even small sample of known experimental retention times.


This is the teaching material I collected over ten years and more of lecturing programming courses and examining students. Unfortunately (given the international audience of HN), the texts are in Italian only — it's impossibile to teach freshmen courses in english in Italy. I hope that some Italian (speaking) user of HN can find this useful.


Beside the fact that the square fits the unit square and is not infinite at all, I'm not sure to get what you mean…


If you draw a line from Point A to Point B, that's called Forward Drawing / Mapping. Basically you will loop over every sample that you know (thanks to a mathematical study) go near your line.

The reverse would be to look at every sample you have and decides its colors based on the line information (the two points) with basic geometric calculus (distance of a point to a line). Applying anti-aliasing / thicks borders is more easy in this way also.

The reverse is called Backward Drawing / Mapping, and is fit for GPU programming and others uses. Some problems are only defined for one kind of drawing and it's difficult to transform it to the other kind. It's like finding the inverse function of a mathematical function, hard.


Sounds interesting… can you provide any reference? A technical/scientific paper, a book, a Wikipedia entry… I was unable to Google it using both "Backward Drawing" and "Backward Mapping" as keywords.


I learned "Forward Mapping" in a scientific paper when I was creating my own morphing and deformations algorithms, I don't remember which paper. (Some Googled links I just found : http://biomachina.org/courses/imageproc/051.pdf , https://www.cs.auckland.ac.nz/courses/compsci773s1c/lectures... )

The term is mainly used for image interpolation and GPU textures. I prefer to say "drawing" because the notion can be extended to anything you want to visualise.

On the internet you can find a lot of visualization by forward drawing on a canvas. But recently there's more and more backward drawing with GPU and shaders (goto https://www.shadertoy.com/ for a lot of examples)


The u,v coordinates are infinite since an infinite number of copies fit in the unit square.


Yes that's what I meant thx The same question goes Escher Infinite Circle. I know it has something to do with Poincaré Disk Model but can't figure it out


Ahahah, no… it's just that I'm terrible with typos. Thank you for reporting it, now should be fixed https://github.com/mapio/programming-with-escher/commit/a102...


Also this one, below the definition of `nonet()` :)

> to obtain the desider result

Awesome post!


Thanks, I'm flattered by all your positive comments!

Should be fixed now https://github.com/mapio/programming-with-escher/commit/1f04...


Actually it is, at the end of the first section https://mapio.github.io/programming-with-escher/#Programming... the sentence reads: "The source notebook is available on GitHub (under GPL v3), feel free to use issues to point out errors, or to fork it to suggest edits. Square Limit and tiles."


Ah, thanks. I missed it.


Yes… all you need to run it is a plain vanilla Python 2.7 installation. HTTPServer is part of the standard library. The customer will need just the zerve file and will be able to run it (with Unix like OSs for sure, I've yet to test if double-click-ing on it in Windows will be enough).


Tristo mietitore is part of a suite of tools I wrote (https://github.com/mapio/see-you, and https://github.com/mapio/see-you-viewer) that can be used to setup and run a programming class in which students get (almost) realtime automatic evaluations of their solutions to exercises.

Give a look at my today's lecture results https://santini.di.unimi.it/tmp/labprog/laboratorio_01/resul...

Using this software the teacher can have a valuable feedback on what exercises the students find easy, or difficult and, on the other hand, students become very competitive and get more productive than usual!

[The exercises texts, unfortunately in Italian only, are available here https://github.com/mapio/labprog-infomus]



If I open the GitHub page on my iPhone I can see the graph animating. It's just an animated gif, so it should not really be a problem of Javascript at all (there is none involved). On the other hand, if you are trying to use the Jupyter notebook, I've no idea if it works on iPhone.

If you have a specific issue, can I please ask you to report it on GitHub Issues?

Thanks!


That's really nice! I like graphviz layouts because they use curved arcs (that sometimes make graphs look much better). How difficult would be to use it with d3?


The relevant algorithm is Sugiyama, and there's an unmaintained, but working plugin for d3 called dagre-d3.


Cool, I'm totally new to d3, but it seems very very interesting. It's nice to know that a good layout plugin is available. Thanks for the info!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: