Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
c-smile
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
c-smile
1y ago
> "Includes" functionality is considered to be server-side Exactly! Include makes perfect sense on server-side. But client-side include means that the client should be able to modify original DOM at unknown moment of time. Opti
32.
▲
by
c-smile
2y ago
yEd, for those of us who knows word "Visio" https://www.yworks.com/products/yed
33.
▲
by
c-smile
2y ago
Interesting timing... I've just made something similar but with JS: C modules in JS. import * as CModule from "./module.c"; C module gets compiled to native code on load. I think that clear separation of executi
34.
▲
by
c-smile
2y ago
> anti-virus companies decided to use your platform? One of the reasons: AV application should look modern to give an impression that the app is adequate to modern threats. So while app backend is relatively stable, its UI shall be easil
35.
▲
by
c-smile
2y ago
Slightly orthogonal... In my Sciter, that uses QuickJS (no JIT), instead of JIT I've added C compiler. That means we can add not just JS modules but C modules too: import * as cmod from "./cmodule.c" Such cmodule
36.
▲
by
c-smile
2y ago
NSUserDefaults is a key-value storage. Same as localStorage in browsers/js. On other side persistence in QuickJS is more than that. Essentially it is a NoSQL DB integrated into the language and its runtime. For example you can write
37.
▲
by
c-smile
2y ago
= Value Database I've added this feature to QuickJS [1] and it works quite well in Sciter as persistent Storage [2] mechanism, used in Sciter.Notes [3] for example. let storage = Storage.open(filename); let persistentData =
38.
▲
by
c-smile
2y ago
Correct CSS grid layout calculation is about solving system of equations and constraints. In simple cases, when there are no spanned cells (like in flexbox), it can be done relatively trivially. Otherwise solving that system is far from bei
39.
▲
by
c-smile
2y ago
Eh, if you drink, then drink... 1. Add `;` as a separator of elements, so you may have: { a: "foo"; b:"bar; } 2. Add array tags and space separated value lists so you may have { a: 12 13 14; } to be treated a
40.
▲
by
c-smile
2y ago
You can use my Sciter if you need native widgets. Sciter is an HTML/CSS/JS engine with the ability to attach native widgets to DOM elements. So you'll benefit from two worlds: HTML/CSS layout richness and native widgets.
41.
▲
by
c-smile
2y ago
Well we are (humans) are quite lazy (by nature). The only way for us to move anywhere is to establish set of motivations. Utopias (as extreme goals) are such grand scale motivations. Were we, as a society, would be without Russian revolutio
42.
▲
by
c-smile
2y ago
I am working on Sciter.GLX - Sciter Engine (HTML/CSS/JS) combined with OpenGL runtime working on all platforms, even on those that do not support OpenGL natively (e.g. Windows/ARM and MacOS). Sciter offers access to OpenGL as
43.
▲
by
c-smile
2y ago
We MUST, having life on just one planet waiting for the next mass extinction event here is too optimistic.
44.
▲
by
c-smile
2y ago
Check https://docs.sciter.com/docs/Reactor/
45.
▲
by
c-smile
2y ago
Just in case: Sciter has Reactor - its own native and built-in implementation of React. Main difference is that component is instanceof Element - components are DOM elements. This allows to unify React and WebComponent under the same umbrel
46.
▲
by
c-smile
2y ago
As with any other Open Source project - contact its author and discuss with him/her.
47.
▲
by
c-smile
2y ago
1. These wrappers are Open Source. 2. I do not have customers that requested either one of these wrappers. 3. Customers that do use one of wrappers, as AdGuard for example, maintain their own version of Sciter/Go: https://gi
48.
▲
by
c-smile
2y ago
Sciter's support forum is pretty active : https://sciter.com/forums/ Mr. Yuri (Pravic) has his own agenda these days. As far as I know creation of Go, Rust and Python backends for Sciter was a method for him to de
49.
▲
by
c-smile
2y ago
As of Sciter and "antialiasing" issues mentioned in the article... Author did not enable high-DPI support in his/her application. As simply as that... Either in Visual Studio : https://sciter.com/wp-content&#x
50.
▲
by
c-smile
2y ago
> Almost-Linear-Time Algorithm From O(mn) to O(m) ... thus excluding N (number of vertices) from computation ... Too good to be true?
51.
▲
by
c-smile
2y ago
This seems to be modelled after Sciter's popups that existed 10 or so years. anchorElement.popup(elementToPopup, options) - https://docs.sciter.com/docs/DOM/Element/#popup In Sciter popup element is alwa
52.
▲
by
c-smile
2y ago
Politics aside, how that in principle is different from "hostile takeover" ( https://www.investopedia.com/terms/h/hostiletakeover.asp ) ?
53.
▲
by
c-smile
3y ago
> being able to deploy same codebase on web and desktop Desktop UI and Web UI models are so different that in reality you cannot use the same codebase on 100% in both targets. Web UI uses traditional Web's "endless tape" m
54.
▲
by
c-smile
3y ago
USSR !== Russian Empire. Anyway... Vertical writings are fading out not because someone's political will, but because of their impracticability in modern era. First commercial typewriter appeared in US in 1874 and it effectively set th
55.
▲
by
c-smile
3y ago
> past Russian ... imperial impact Not sure how "past Russian impact" is at all related to ttb writings ... Could you elaborate on that?
56.
▲
by
c-smile
3y ago
There was a whole team behind Microsoft Trident (IE engine) that was dissolved in favour of third-party (for them) Blink engine. That team was surely knowledgeable, but they had gone. Blink source is de facto current spec. Each function, if
57.
▲
by
c-smile
3y ago
> Every time someone releases a new rich text editor ... uses contentEdtiable Sciter is using its own implementation (obviously). contentEdtiable thing is indeed quite limited for general purpose WYSIWYG editor. For example Web platform
58.
▲
by
c-smile
3y ago
I am not sure that "good soldier" is a correct translation. Czech "dobrého vojáka" is more "of brave (in `dashing` conotation) soldier". So Hašek's humor starts right from the title.
59.
▲
by
c-smile
3y ago
In my childhood I'd standing at gates of the event, catching those devices with care...
60.
▲
by
c-smile
3y ago
> please consider using actual threads. Bad advice in general. Why would you run separate thread if you only want is to iterate over nodes in a tree (as an example of non flat collection).
More ›