I’ve experimented with HTML canvas while trying to display some special micro-charts in our application. We were considering using SVG and we wanted to make sure we do not have too many objects in our DOM. Unfortunately the HTML canvas has a “no-go” behavior: if you change its size, the content erroneously resizes (the worst fact is it changes the font size). Workarounds exist: one can detect the canvas resize event (see http://www.backalleycoder.com/2013/03/18/cross-browser-event-based-element-resize-detection/) and redraw the content, however the entire code must adjust for canvas size, unlike any other rendering code I’ve ever written. I’m growing tired of the poor mindset behind HTML and the other … Continue reading HTML canvas erroneously transforms its content on resize
One of my developers says “this is tricky!” – but I can’t see why! The basic regex I use is ^(\w)+([\.]*)(\w)+[@](\w)+[\.](\w)+ If you find a string that’s a valid e-mail address but it’s rejected by this regex, please let me know. Also, if you find a string that’s an invalid e-mail address but it’s accepted by this regex, please let me know.
https://weakdh.org/ As of 2015.05.21 at 10:15 EEST IE 11 and Safari are not vulnerable, but Chrome and Firefox are. Also the browser deployed by Android (I guess it’s a Chrome variant) is vulnerable.
As we’re moving forward with our web application I’m getting more and more frustated with the web technologies. I’ve got accustomed to the freedom of thought given by XAML and the inner peace given by the .NET/C# tandem: the customer asks for it? No problem, worse case scenario is we use a Windows hook and we’re done. With HTML I’m having discussions with my developers on a daily basis and every time I have to put in a lot of effort to talk them into implementing a simple feature. Just think drag and drop in a web page … it should … Continue reading The HTML tyranny
Tocmai am citit un comentariu la un articol; omul spune foarte clar (si foarte corect): “Secretul minunii comuniste a fost sa nu lase oamenii sa aleaga”. Articolul poate fi citit la http://www.contributors.ro/societatelife/regie-1987-construiam-cobra-in-camin/, iar comentariul apartine utilizatorului “gigi”.
Last week I had to pay a visit to a car service: my car needed an oil change and there were some other needed maintenance tasks. The service is nicely organized: there’s a waiting room with clear walls that allow the customer to see how the mechanics work on their cars. They’ve recently added some video cameras allowing the manager to quickly see the mechanics as well. But they did a little mistake … In the waiting room there are two PC-s connected to the Internet that any customer can use. Every time I pay them a visit, I sit at one of these … Continue reading Keep your customers away from your computers
One of my coworkers ran into a nice issue: she has been assigned to take over the work of a developer from another country and she received the sources nicely packed in a Visual Studio solution. She managed to build the sources, but every time she tried to start the application under Visual Studio debugger the output window would list “invalid instruction” and the application quit; the main function was not hit at all. When run without the debugger, the application run fine. She was not able to find out what was happening so she called me (the last C++ expert in the company) … Continue reading Cannot debug program in Visual Studio
One of our customers has a weird issue with the application. The support person asked for the application logs, but he was not quite explicit in his request: “Could you please send the log files as shown below …” And the customer answer was priceless: she didn’t send the actual log file, she sent back a picture with the content of the folder :-)