Today I learned about D3.js which looks pretty interesting. A JavaScript library for “data-driven documents”.
Tag Archives: javascript
Math keeps changing
An interesting article on lobste.rs today on the JavaScript Math implementation: Math keeps changing. The comic really resonated with me:
Data Visualization with JavaScript
Today I discovered Data Visualization with JavaScript. I would like to read that one, I will see if I ever find the time.
Moment.js in maintenance mode
Today I read that Moment.js is now in maintenance mode…
Javascript Generators, Meet XPath
Today I read Javascript Generators, Meet XPath which was awesome.
Plain JavaScript can do a lot!
Today I saw on r/programming a post by Julia Evans titled A little bit of plain JavaScript can do a lot. She discusses some of JavaScript’s more powerful contemporary features.
If Apache2 won’t serve your JavaScript file try…
I had an issue with Apache2 improperly serving a JavaScript file which I seem to have fixed by making sure the file was terminated with a new-line character… this was really hard to diagnose and resolve! The behaviour in Firefox was that the file just didn’t finish to download, whereas the Apache2 logs indicated a 200 result… I think it may have had something to do with automatic compression, which is a dark art that I do not understand (mumbles something about mod deflate…).
Native HTML5 Drag and Drop
Found an article on Native HTML5 Drag and Drop…
window.resizeTo( … )
See here:
- You can’t resize a window or tab that wasn’t created by window.open.
- You can’t resize a window or tab when it’s in a window with more than one tab.
- Also, even if you create window by window.open(…) it is not resizable by default …see 4.
- To make window created by window.open() resizable, you must open it with resizable feature
myExternalWindow = window.open("http://example.com", "myWindowName", "resizable"); myExternalWindow.resizeTo(500,500); //resize window to 500x500
HTML glow effects
Found some cool glow effects. Couldn’t actually get them to work in my context, but it’s the thought that counts.