Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
c-smile
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
511.
▲
by
c-smile
6y ago
> drab boring win32 applications For example?
512.
▲
by
c-smile
6y ago
> it can be done with a native UI. Yes, but with what price? We (people outside of Microsoft, Apple and Google) cannot afford UIs nailed down to pixel grids and particular trends. Years ago it was Skeumorphism, then it was flat UI as Met
513.
▲
by
c-smile
6y ago
These functions are off by default, check: https://sciter.com/security-in-sciter-based-applications/ Even more, you can compile Sciter without them completely.
514.
▲
by
c-smile
6y ago
> orthogonal to reasons That's my impression too. I suspect that those "gray boxes" talks (a.k.a. buttons a la turrets of Panzerkampfwagen VI Tiger) are orthogonal to GUI in general. Yet "memory and CPU usage" is
515.
▲
by
c-smile
6y ago
Each dinosaur was modern for its time. And so was XAML. Time is passing and now it takes significant excavation effort to find out a project that uses it. Git-for-desktop used to be a XAML app, now it is an Electron app. And so on. QML is a
516.
▲
by
c-smile
6y ago
It works on Android: https://sciter.com/sciter-lite-is-published/ and I have internal builds for iOS. For the moment it is available only as a static lib to be linked into an application. I am trying to come up with a
517.
▲
by
c-smile
6y ago
Sciter's author here. Couple of words about "native UI" and on statements like: "I (a hard-core software developer) prefer gray boxes". You (as a software developer), is one of 1% of UI users. But rest of us (99%, s
518.
▲
by
c-smile
6y ago
Sciter's author here. > HTML/CSS based native interfaces are some of the hardest to use, least reliable, least accessible, least robust interfaces I encounter This has nothing with HTML/CSS per se but rather questions to p
519.
▲
by
c-smile
6y ago
> The most glaring is the ability to measure things (including text) in order to lay them out ... This has nothing with the DOM (or HTML or CSS for that matter). Yes, sometimes in desktop UI you will need to know exact element position&#
520.
▲
by
c-smile
6y ago
For that matter: Sciter supports use of native platform (or custom) native windows or widgets. For different reasons an combinations. I saw cases when even Qt widgets were used as DOM elements in Sciter controlled main window. So you can ge
521.
▲
by
c-smile
6y ago
> the DOM is just fundamentally unsuited for app UI rendering... Consider the following: Native UI: is a tree of widgets. Each widget has sematic properties / attributes. Each widget may have style properties (colors ,fonts, etc.).
522.
▲
by
c-smile
6y ago
1. I've been told that it takes 1..2 weeks for average front end developer to get into Sciter and features that I've added to HTML/CSS to support desktop UI use cases. 2. "larger ecosystems..." Sciter is embeddable
523.
▲
by
c-smile
6y ago
Sciter then ( https://sciter.com ): - multiple platforms... Yes: Windows (x32,x64, ARM64), from XP to 10, MacOS, Linux/GTK, IoT and mobiles. - multiple windows - Yes. Multiple desktop windows and you can even render separate
524.
▲
by
c-smile
6y ago
From https://ubuntustudio.org/about-ubuntustudio/ : > Ubuntu Studio is the most widely used multimedia-orientated operating system in the world. Is it the fact or the goal?
525.
▲
by
c-smile
6y ago
> virtual output data structure, where the output may be rendered to a screen. Sigh. Virtual DOM has nothing with rendering. Virtual DOM was introduced as a lightweight construct to generate and modify tree of nodes. When the structure i
526.
▲
by
c-smile
6y ago
Try my Sciter Notes ( https://notes.sciter.com ). It uses database for storing stuff but you can map books to folders on hard drive. And those folders can be under control of DropBox, GoogleDrive etc. So you can read shared stuf
527.
▲
by
c-smile
6y ago
> A virtual DOM doesn't necessarily imply DOM existence; That's wrong. virtual DOM is always a parallel structure to real DOM - projection of it. That's by definition of it. From vDOM authors: https://reactjs.or
528.
▲
by
c-smile
6y ago
Any classic Windows, MacOS or GTK application does that. Check https://docs.microsoft.com/en-us/windows/win32/learnwin32/pa... If your question is about unified wrapper for multiple platforms then wxWidg
529.
▲
by
c-smile
6y ago
> Native UI framework objects (e.g. React Native) React Native uses DOM, the only nuance is that that DOM is a tree of native widgets/windows which is a perfect DOM. Again, virtual DOM is a projection of real DOM in one form or anot
530.
▲
by
c-smile
6y ago
Mea culpa, thanks.
531.
▲
by
c-smile
6y ago
virtual DOM implies DOM existence. DOM based systems use so called retained mode rendering. But this one uses something that can be classified as immediate mode rendering. Check https://docs.microsoft.com/en-us/windows&
532.
▲
by
c-smile
6y ago
Not even close.
533.
▲
by
c-smile
6y ago
That's not anyhow different from typical GDI, CoreGraphics, GTK/Cairo way of doing rendering. Windows, MacOS and GTK maintain internal pixmap buffer for a window. And when needed you call InvlidateRect(wnd,rc) and receive WM_PAINT
534.
▲
by
c-smile
6y ago
Yet, there is no support (yet?) for RTL languages.
535.
▲
by
c-smile
6y ago
Yes, the rendering implementation uses gray-scale antialiasing. But system uses ClearType - compare rendering in window caption (rendered by Windows) and the text inside client area. Gray-scale may work on high-DPI monitors, but on typical
536.
▲
by
c-smile
6y ago
Most of the time. But that applies to code that I wrote in last 15 years, especially in Sciter, its core was written around 2005. I believe there is a moment of maturity in any developer's career. And it is related to critical mass of
537.
▲
by
c-smile
6y ago
That's telling: https://whattime.today/static/media/peep1.5d348a4f.png
538.
▲
by
c-smile
6y ago
1801BM1-3 were original Soviet micro-processors that used PDP-11 system of commands. There were also series of SM-1 and SM-2 machines that were using system of commands compatible with Hewlett Packard HP-2000. SM-1 and SM-2 were using Sovie
539.
▲
by
c-smile
6y ago
Agree with the rejection. The same link in different contexts can be as either external or local. So that is a business of UA/renderer to mark it properly. CSS is quite adequate for that ( https://davidwalsh.name/externa
540.
▲
by
c-smile
6y ago
Big picture: React (especially with JSX) can be thought as PHP running on client side. We can replace mentally any <div> or <span> on the page with <iframe src="someScriptFunction()"/>. When the application
More ›