[AngularJS] “you have ruined javascript”

April 25, 2014

Filed under: Web Application Techologies — Andrew @ 10:58 am

Rob Ashton article: “you have ruined javascript”

While I am considering it as a bit of overreaction but I 100% agree with the nature of problems defined there.

Chase for silver bullet lead us in the same trap of over-engineered world of abstractions. Or over-abstracted world of engineering? Whatever …

Mac OSX, DPI and font sizes mess

April 12, 2014

Filed under: HTML and CSS,Sciter,Web Application Techologies — Andrew @ 8:10 pm

Most of applications on Mac OS X use fixed 72 DPI settings despite of all these Retina and other high-DPI monitors. I understand that this is legacy we’ve got from last century. But c’mon, it is 2014 out there …

Even conventional browsers that supposed to handle scaling well by using CSS rules are failing to render simple things like:

  <div style="width:3in; width:3in; border:1px solid">
    is it 3 inch square?
  </div>

you will see everything but not 3 inches square here.

I am not getting what’s the problem to implement proper scaling. Here it is in Sciter on Mac:
DPI screenshot

Screenshot is taken on Mac with Dell UltraSharp U2711 monitor.

Sciter on Mac with native CoreGraphics backend

April 7, 2014

Filed under: Sciter — Andrew @ 12:36 pm

It is coming:

Sciter on Mac screenshot

Sciter on Mac

Core components are in pretty good shape, working on porting public API functions.

sciter-x.h will have all functions that use HWND refactored to use HWINDOW instead, that on Windows will resolve to HWND and on Mac OS X to NSView* (client portion of NSWindow).