Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
c-smile
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
c-smile
3y ago
Well, it is definitely not a suicide mission. At least in my Sciter I've implemented all those by myself in reasonable time frame - first version was made in 9 months. But "yes", you need some prior experience, in order to co
92.
▲
by
c-smile
3y ago
IME handling must be implemented at OS level. IME is not Skia's responsibility.
93.
▲
by
c-smile
3y ago
These bullet points are exactly what I did in Sciter ( https://sciter.com ) - Windowing -- Tabs -- Menus -- Painting -- Animation -- Text -The compositor -Handling input -- Pointer input -- Keyboard input - Accessibility - Interna
94.
▲
by
c-smile
3y ago
In Sciter I did just that - JSX is an integral part of JS compiler - patched version of QuickJS : https://gitlab.com/c-smile/quickjspp/-/blob/master/quickjs-j... So in Sciter this works out of the b
95.
▲
by
c-smile
4y ago
Encyclopedia Britannica: > word processor, computer program used to write and revise documents, compose the layout of the text , and preview on a computer monitor how the printed copy will appear . The last capability is known as “what
96.
▲
by
c-smile
4y ago
It is not a word processor in common sense. Difference between Word Processor and text editor is in WYSIWYG mode of operation. At least for most of people. Like my Sciter.Notes ( https://notes.sciter.com ) has better chances to be
97.
▲
by
c-smile
4y ago
I did UI part of it. Up until last year my Sciter ( https://sciter.com ) worked on WinCE. Dropped support after my last customer that was using WinCE decided to drop support of that OS. WinCE had pretty solid and stable core run
98.
▲
by
c-smile
4y ago
I think that porting WinCE in the same manner would be more promising. That OS had was really a solid foundation, I have no idea why MS abandoned the project. To make modern UI layer on top of it and it may fly.
99.
▲
by
c-smile
4y ago
I think it makes sense to combine this with premake ( https://premake.github.io/ ) Premake is also Lua based and while it does slightly different thing (generates VS,Xcode,gmake solutions) it may benefit from having direct bu
100.
▲
Sciter.Notes, by Human for Human
(terrainformatica.com)
1 points
by
c-smile
4y ago
|
0 comments
101.
▲
by
c-smile
4y ago
[A bit out of scope] I suspect that in pretty short time people will stop reading any texts from the Web. And indeed, human got a good skill to skip ad blocks on pages. Next will be any texts on web pages: why to bother reading stuff that A
102.
▲
by
c-smile
4y ago
That's generally impossible as native UI widgets are windows. Consider this: <div style="overflow:hidden"> <input type="text" /> </div> In order to clip out that input in
103.
▲
by
c-smile
4y ago
> we have a number of other libs to integrate, some of which add their own rendering (which requires access to e.g. a Vulkan context, not merely HTML/CSS or other high-level UI elements)… I have a customer that is doing something cl
104.
▲
by
c-smile
4y ago
Are MS Office or LibreOffice native? They use DOM (not W3C DOM but their own) and good portion of scripting to glue components together. Is my Sciter.Notes application ( https://notes.sciter.com ) native? It uses native implementa
105.
▲
by
c-smile
4y ago
> but a natively compiled app that is directly linked to the rendering GUI lib. That's Sciter. It is a standalone embeddable library that does not use browser engine. It has its own HTML/CSS rendering engine that draws stuff u
106.
▲
by
c-smile
4y ago
Check my Sciter ( https://sciter.com ) It is embeddable HTML/CSS/JS/ UI layer by design. If you want to check how it feels in real life application then check https://notes.sciter.com/ . That'
107.
▲
by
c-smile
4y ago
> With XUL, something like width: 100px wouldn’t quite do what it says. Same statement can be applied to display: flexbox. It also breaks CSS box model in that sense. For example flex properties with obvious names like flex-basis, align-
108.
▲
by
c-smile
4y ago
How long it takes for human child to start walking? "it is too early, oops, no, it is too late".
109.
▲
by
c-smile
4y ago
The book should start from explaining what Redis is. It is a DB in the first place so "Learn network programming [by writing Redis]" is kind of questionable.
110.
▲
by
c-smile
4y ago
> What are the implications for society when general thinking, reading, and writing becomes like Chess? Consider the society where 90% of population does not need to produce anything. AIs will do that. What would be the name of economica
111.
▲
by
c-smile
4y ago
"Beautiful" is quite subjective... Especially in regard of terminal UI... Or rather beautiful in what sense? Source code, architecture, or what?
112.
▲
by
c-smile
4y ago
So they switched economy to manual driving mode. Brakes did not work anymore? Or rather brakes were so hard that front passengers were thrown away...
113.
▲
by
c-smile
4y ago
Hmmm... attempt to define signals using ReactJS' useState()/useMemo() vocabulary appears as really bad idea. PReact's signal() as a concept is better - more pure. https://preactjs.com/guide/v10/signa
114.
▲
by
c-smile
4y ago
There is a special internal position:popup mode that cannot be set in CSS. Only internally. position:popup is accompanied with the pair of anchor-position:1..9 and popup-position:1..9 props. For the meaning of these numbers see NUMPAD keys
115.
▲
by
c-smile
4y ago
Not so easy, at least: <span style="display:inline-block">centered element</span> But in general <center> still cannot be 100% expressed by CSS means.
116.
▲
by
c-smile
4y ago
If we would have flex units instead of display:flexbox then this: div { width:max-content; margin:*; } is enough to place block in the middle of its container (vertically and horizontally), see: https://t
117.
▲
by
c-smile
4y ago
Just CSS is not enough for tooltips... Here is what we've got in 10+ tooltip providing experience in Sciter[1] ... Declarative tooltips support: <div title="some text" /> <div titleid="dom-elemen
118.
▲
by
c-smile
4y ago
> bucketing ... "All of that is very different between the various engines, making the whole process even less predictable." Source: https://benfrain.com/css-performance-revisited-selectors-blo... In worst case
119.
▲
by
c-smile
4y ago
Well, that's the matter of live systems design. When you want to add a feature you should ask first if that can be accomplished by existing mechanisms. And the second, if to go with with the change that affect millions of users, can we
120.
▲
by
c-smile
4y ago
Nested rules is just a syntax sugar. In Sciter, 10 years ago, I came up with style sets: @set Main { :root { ... } // root element that has this set applied .bar { ... } article { ... } :root >
More ›