Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
c-smile
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
241.
▲
by
c-smile
5y ago
inner box dimensions (in terms of CSS box model) are well specified in that case.
242.
▲
by
c-smile
5y ago
aspect-ratio is actually a great mistake - it breaks CSS box model again (after flexbox). What should be the dimensions of this div { width:100px; height:100px; aspect-ratio: 3 / 2; } ? Instead, there should be &q
243.
▲
by
c-smile
5y ago
There are two major types of application: one where users play role of "reader" and second type is where user is "writer" - creator of some data, document, etc. > that works is HTML + JS + CSS and nothing else. That t
244.
▲
by
c-smile
5y ago
We are finding Mars originated rocks here, so it can be pieces of Earth on Mars too. Probability is low due to relatively thick Earth atmosphere, but still...
245.
▲
by
c-smile
5y ago
You would be surprised but that is exactly what you do when you access VMs on clouds. To be short: if you can make your app less greedy - do it. In some cultures we have a concept of "engineering conscience" (ru: "инженерная
246.
▲
by
c-smile
5y ago
According to Tauri's documentation ( https://github.com/tauri-apps/tauri ) minimal app: Tauri Electron Memory Consumption Linux 180 MB 462 MB Note Tauri is fu
247.
▲
by
c-smile
5y ago
That's correct. Sciter supports ARM and M1 targets natively: Windows, MacOS and Linux. As also H/W rendering with backends: DirectX, OpenGL, Vulkan(coming) and Metal (coming).
248.
▲
by
c-smile
5y ago
Sciter SDK ( https://github.com/c-smile/sciter-js-sdk ) is OpenSource/BSD But Sciter Engine itself ( https://sciter.com ) is not OS - its sources are available to customers only. I tried to make it Open So
249.
▲
by
c-smile
5y ago
It does support <canvas>, with limited support but still. See: https://github.com/c-smile/sciter-js-sdk/tree/main/samples/c... Sciter also supports immediate mode painting on any element (like
250.
▲
by
c-smile
5y ago
Electron is large because it is a pack that combines full fledged web browser (WebKit) and server (NodeJS). Web browser engine is designed with these priorities: 1. to provide safe browsing experience; 2. to present web pages in standard ma
251.
▲
by
c-smile
5y ago
TIScript and QuickJS have the same performance. Some operations can be slightly different but on average - the same.
252.
▲
by
c-smile
5y ago
Yes, and I am ready for anything like that.
253.
▲
by
c-smile
5y ago
> we can't take some well-tested, used-by-millions library You can. Here is an example of Sciter application that uses RemarkableJS library ( https://github.com/jonschlinkert/remarkable ) as it is: https:/&
254.
▲
by
c-smile
5y ago
It does support accessibility. At least on Windows. It works with Narrator, NVDA, etc. just fine. HTML may contain standard aria-xxx annotations for better quality.
255.
▲
by
c-smile
5y ago
This <input.search /> is a short form of <input class="search" />. You can use either one of those. And `JSX(input.search, {}, null)` does not make sense. But `JSX(Input.search, {}, null)` does make sense, ye
256.
▲
by
c-smile
5y ago
"a faster engine like V8" It is actually not the fact that V8 in context of Sciter alike use cases will be faster. Consider this statement: document.body.patch(<body>Hello world</body>); In case of Sciter
257.
▲
by
c-smile
5y ago
"custom version of React he publishes..." It is not a a custom version of React but rather extension of DOM model by just these: 1. Native JSX support. In Sciter QuickJS was extended to support JSX literals out of the box: https:
258.
▲
by
c-smile
5y ago
Web UI has really different model - different enough to be barely usable in desktop applications. You can re-use components though like LifeletJS : https://sciter.com/sciter-js-runs-leafletjs-as-it-is/ But use of compo
259.
▲
by
c-smile
5y ago
- React works with some modifications: check https://github.com/c-smile/sciter-js-sdk/blob/main/samples/r... - VueJS works as it is. - PReact works as it is, also with built-in JSX support of Scite
260.
▲
by
c-smile
5y ago
Pure V8 - yes, close to 8 Mb - that is still larger than whole Sciter that beside of script VM contains HTML/CSS/Graphics, etc. 40 Mb came from Node.JS distribution (V8 + native runtime = node.exe). Sciter is more comparable to N
261.
▲
by
c-smile
5y ago
Ref-counting GC and in particular implementation that is used in QuickJS is more deterministic I would say. In QuickJS: function Foo() { let file = new File(...); file.write("Happy New Year"); } The file v
262.
▲
by
c-smile
5y ago
Functional superset but unfortunately not a strict superset. I regret a bit that I did not follow ECMA spec closely with initial TIScript (I am an author of Sciter). It was damned too easy to fix those birth defects of JS so I could not res
263.
▲
by
c-smile
5y ago
Fabrice is real person and, yes, he did that by himself. Just in case, most of JS implementations are one-man shows.
264.
▲
by
c-smile
5y ago
Just in case, this Rust application: https://github.com/rustdesk uses Sciter for its UI.
265.
▲
by
c-smile
5y ago
Do we have Doom running on it?
266.
▲
by
c-smile
5y ago
> USSR in a golden FOSS picture I do not have such intention. I just wanted to point out particular fact. > I would suggest talking with people who actually lived there I do that every day. With myself. > privileged party position
267.
▲
by
c-smile
5y ago
That citation appears as irrelevant completely to the topic. If you want more relevant citation then this: "A journey of a thousand miles begins with a single step" (C) Lao Tzu For that matter I would say that first major step to
268.
▲
by
c-smile
5y ago
> the only way I can foresee open source working in the way the purists want is if there is a universal basic income. Essentially honest FOSS will be available when we evolve to "From each according to his ability, to each according
269.
▲
by
c-smile
5y ago
> Which is very difficult / nigh impossible for closed source. Closed source does not mean that the customer has no access to it. In case of my Sciter, for example, customers are getting access to SVN server with sources. Some of th
270.
▲
by
c-smile
5y ago
As of sizes ... For Sciter Quark ( https://quark.sciter.com ) I've measured size of minimal "Hello World". - Electron: 50 MB on disk, 200 MB of RAM and at least 2 processes running. - QT: 5 MB (and 30 MB if + QtWe
More ›