Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
c-smile
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
271.
▲
by
c-smile
5y ago
Same thing with flow: .ex5 { flow: grid(header header header, lside main rside, footer footer footer); border-spacing: 3px; } main { float: "main"; } fo
272.
▲
by
c-smile
5y ago
Yes, nor flexbox nor grid are intuitive. And Classic Holy Grail Layout is not a one-liner but this: .ex5 .parent { display: grid; grid-template: auto 1fr auto / auto 1fr auto; } .ex5 header { paddin
273.
▲
by
c-smile
5y ago
I think that still nothing can match Sciter's style sets feature. JS (mycomponent.js): export function MyComponent() { return <div styleset={__DIR__ + "components.css#my-component"}> <header>
274.
▲
by
c-smile
5y ago
Just for the note, in JS these two: async function foo() {...} function* bar() {...} // a.k.a. generator are fibers. These are execution contexts that JS VM can be switched into. The first one (asynchronous function) u
275.
▲
by
c-smile
5y ago
At least it is honest... Me: Should I close this site? Delphi: you should
276.
▲
by
c-smile
5y ago
It just means that Linux users are more technically savvy I would say. If you've installed and use Linux then 90% your interests are in IT / software / hardware design. So you know concept of a bug. And it is a good chance yo
277.
▲
by
c-smile
5y ago
I would rather define some MD rule for <DL><DT><DD> and ask viewers to use collapsing ### Properties + #### innerHTML Get/set inner HTML content + #### innerText Get/set
278.
▲
by
c-smile
5y ago
In your case id is assigned to wrong element. So to use <h3 id=about>What is all this about?</h3> But what's the point of using MD then?
279.
▲
by
c-smile
5y ago
Not sure how useful are footnotes but the lack of ability to assign stable ID to headers is annoying. Something like: ###|about What is all this about? And #2 in wish list is built-in support for `<details>` - collapsible sec
280.
▲
by
c-smile
5y ago
European Union should switch to Latin as an official language. That would be natural choice and will keep the language alive. At least it will create some intellectual barrier for policy makers.
281.
▲
by
c-smile
5y ago
From native developer perspective... Just tried to compile my Sciter project, full rebuild scapp executable in particular - standalone Sciter binary (HTML/CSS/JS). - Windows / Visual Studio / VC++ - 58 seconds. Self asse
282.
▲
by
c-smile
5y ago
> Imba's Memoized DOM approach is an order of magnitude faster than Virtual DOMs (Vue, React). Learn more here: https://www.freecodecamp.org/news/the-virtual-dom-is-slow-me... Just in case... Sciter's na
283.
▲
by
c-smile
5y ago
Leaflet works as it is in Sciter[1] too. SDK sample: https://github.com/c-smile/sciter-js-sdk/tree/main/samples/l... So it can be used in pretty much any native desktop application. Including deskto
284.
▲
by
c-smile
5y ago
Yeah, exactly. I left Software Architect / UI position at big corp when management had ordered to use then-hot Angular on large web app. Without investigation, acceptance testing, etc. Just unconditional directive. I had Sciter[1] prot
285.
▲
by
c-smile
5y ago
In fact 1.8 Mb is quite a lot for QuickJS. My Sciter engine that includes as QuickJS as HTML/CSS engines is about 6 Mb. My port of QuickJS [1] that also includes persistent storage (think of MongoDB built into JS) is 736 Kb on Windows.
286.
▲
by
c-smile
5y ago
V8 alone is around 40/50 Mb.
287.
▲
by
c-smile
5y ago
Idea was good. Socialism works quite well at critical times. Just in case: pretty much each country, including US, handles COVID problem in typical socialistic state way.
288.
▲
by
c-smile
5y ago
Oh, really? What about plantations? Who worked there? Sigh, under each stone of European squares you can find 1kg of gold that came from the "third world".
289.
▲
by
c-smile
5y ago
That's exaggeration of course. Many but not THAT many. Story from my step-grandfather: He was a village school director and teacher in Ukraine at times of 1932/33 famine ( https://en.wikipedia.org/wiki/Soviet_f
290.
▲
by
c-smile
5y ago
Sciter is free if it is used in binary form. Same thing as Google Chrome and MS Edge.
291.
▲
by
c-smile
5y ago
"Better" here means that JSX and things like element.append(vDOM/ JSX expr /) and Element.patch(vDOM/ JSX expr /) are implemented natively - does not need any library at all. Consider these features as an idea
292.
▲
by
c-smile
5y ago
My pardon. Yes, I am an author of Sciter.
293.
▲
by
c-smile
5y ago
For the note: Sciter ( https://sciter.com ) implements CalDOM features out of the box. But better. In Sciter DOM and vDOM are equally honored. This CalDOM's (DOM + vDOM population): _("#output-1") .app
294.
▲
by
c-smile
5y ago
Do we have same thing but for Tesla & Co ? Cycling side by side with silent EVs is quite dangerous.
295.
▲
by
c-smile
5y ago
We shall admit that to follow UI trends in one application is relatively easy. For example one application in last 15 years: https://sciter.com/from-skeuomorph-to-flat-ui-evolution-of-o... But to do the same on OS level - h
296.
▲
by
c-smile
5y ago
> Is anyone still working on WYSIWYG HTML editors? Yep, I do time to time: https://html-notepad.com/ ( based on my Sciter Engine https://sciter.com ) It is almost impossible (mathematically speaking) to creat
297.
▲
by
c-smile
5y ago
Just in case, in Sciter ( https://sciter.com ) you can declare div { behavior:check; } div:checked { color:red; } and all divs will behave as checkboxes - will toggle :checked flag on clicks. Same way:
298.
▲
by
c-smile
5y ago
HTML (as a language): supports all HTML5 constructs. CSS: CSS 2.1 in full + some most popular CSS3 modules like transition, animation, transform, etc. CSS flex and grid are supported but in Sciter specification, see: https://terr
299.
▲
by
c-smile
5y ago
Just in case, in Sciter if you will add this: div { behavior:check; } then any div will behave as a checkbox - will toggle :checked flag on element and so we can use: div:checked { color:red; } no JS is
300.
▲
by
c-smile
5y ago
The history is very complicated indeed. Rus (as statehood) originated in Novgorod (originally as a republic, btw). Then center was moved to Kiev. Then to Moscow. At those times there were no such entity (and ethnicity) as Ukraine at all. Si
More ›