Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
c-smile
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
451.
▲
by
c-smile
6y ago
Again, that's not about Sciter but rather discussion of Web Components idea in general. Essentially WebComponent is the way of associating some JS class with custom DOM elements. At the nutshell, WebComponents is just this one JS funct
452.
▲
by
c-smile
6y ago
That's just an illustration of how it can be done otherwise. The only non-standard thing there is that CSS glue construct: selector { aspect: Func url(script.js); } It tells that as soon as element matching that selector will
453.
▲
by
c-smile
6y ago
How I would do that in Sciter: fast.css : fast-something { // custom element aspect: FastSomething; // its function-controller display:block; } script: function FastSomething() {
454.
▲
by
c-smile
6y ago
Objective C componentization model has its own traps. And too many of them unfortunately. Object's ownership model in particular, when need of `[obj release]` is always a guess based on name of constructor function (name should conta
455.
▲
by
c-smile
6y ago
GTK still misses: 1. Anything close to AdjustWindowRectEx() function. See: https://docs.microsoft.com/en-us/windows/win32/api/winuser/n... 2. MoveWindow(window,rect) where rect is window frame recta
456.
▲
by
c-smile
6y ago
> "rasterise the viewport and use it as a tile" Yes, rendering HTML/CSS using solely Unity's backend is problematic at best. For the Unreal Engine though it is perfectly feasible. Here is Sciter Engine (HTML/CSS&
457.
▲
by
c-smile
6y ago
> to select a <p> which has only a <img> as a child To basics, this selector p > img { display:block } has O(0) complexity (+/-) - for any IMG element you can instantly tell if the selector applies to it. By
458.
▲
by
c-smile
6y ago
> create a serious styling framework For example?
459.
▲
by
c-smile
6y ago
In fact original EverNote implementation (EverNote 2.0) used physical notebook metaphor. Notes appeared as an "endless tape": https://www.phonearena.com/news/Two-thirds-of-app-users-in-U... I think we (initia
460.
▲
by
c-smile
6y ago
If the question is about layout computation then CSS Grid layout (and ideally <table> layout) is a typical LP task [1]. And there are known way of solving these things, e.g. simplex methods or Cassowary constraint solver (CCS)[2] will
461.
▲
by
c-smile
6y ago
That is not a fix - just a cosmetic change that does not solve anything. display/flow MUST BE [1] different properties as they define orthogonal concepts. We should be able to define them separately. main { display: block; flow:g
462.
▲
by
c-smile
6y ago
I believe that focal point of CSS understanding is that horrible display property. People just need to get that one as other stuff is relatively trivial. display:xxx on some elements defines three things ( sorry, that is terrible architec
463.
▲
by
c-smile
6y ago
There are couple of things that author still don't get. display:inline means that element does not establish a box. Such element is rather a collection of individual content boxes (e.g. glyphs). These boxes can be placed on different l
464.
▲
by
c-smile
6y ago
Am I right that this is close to ASP.NET thing <asp:textbox text="hello world" runat=server /> In particular to that runat=server part? So widget gets rendered to HTML on server side with events sent to it from
465.
▲
by
c-smile
6y ago
Apple's XCode. In particular its configuration (project and environment) features. Yet, making distributions and the whole signature magic is, ummm, something. Seems like it is in principle impossible to generate and build native UI pr
466.
▲
by
c-smile
6y ago
Is standard editor of Gnome desktops (gedit or xed) "native" one? And pretty much all Gnome apps for that matter? They use XML and CSS for UI definitions... I mean it is hard (if at all possible) to draw clear "native"&
467.
▲
by
c-smile
6y ago
Hard to speak about security when <input type="password"> is handled in a 3-rd party process with unknown telemetry settings.
468.
▲
by
c-smile
6y ago
Are Norton Antivirus, Avast, BitDefender and others are native applications in your classification? For the note they use HTML/CSS for defining/rendering their UI (Sciter). Are Windows 10 UWP applications native? They use XAML and
469.
▲
by
c-smile
6y ago
For the browser neither disk space nor memory usage are in top 10 of list of priorities. On the first place in the list, by the way, is safe browsing experience. Rendering is only the second. And that one is the reason why browsers create s
470.
▲
by
c-smile
6y ago
USSR's machinery design principles at their best. You can build and/or repair helicopter in kolkhos's garage. Yet, this: https://www.youtube.com/watch?v=X5IRykZsVBw Kalashnikov "foreva"!
471.
▲
by
c-smile
6y ago
If Sciter sounds interesting for the project, please contact me at https://sciter.com/contact_us/
472.
▲
by
c-smile
6y ago
https://sciter.com/tutorials/
473.
▲
by
c-smile
6y ago
While we are on this page... If someone need my help in creating native Chat UI please let me know, I can help to do it with Sciter: https://terrainformatica.com/2019/09/23/sciter-chat/ It could be pure
474.
▲
by
c-smile
6y ago
> And you have to go back only 2,000 years to find the most recent common ancestor of everyone alive on Earth today. I suspect that 2000 is a bit optimistic, no? But "never overestimate power of exponent" so asking.
475.
▲
by
c-smile
6y ago
The most interesting fact on the image (IMO) is that the halo is clearly elliptical, why? Is the image aligned to the "main" ecliptic plane of Solar system or rather to Sun's rotation plane (7.25° from those) ?
476.
▲
by
c-smile
6y ago
Just in case, in Sciter script that could be written simply as: element.animate { duration: 300ms, completion: () => this.remove() } Explanation, this syntax construct nmtoken {...} is just a sugar for this:
477.
▲
by
c-smile
6y ago
> to maintain their own rendering engines and browsers instead of just skinning Chromium. If just rendering engine (but not a browser) then Sciter will qualify I think too. And it is not derived from any others.
478.
▲
by
c-smile
6y ago
I believe that the most HW optimizations are made in MacOS on DWM level - window composition and animation. Window surface is just a bitmap in RAM that needs to be populated by CoreGraphics/CPU. In any case Acrylic/Vibrancy effect
479.
▲
by
c-smile
6y ago
> deviation from standards has reduced your market Just an example why that happens: Sciter got flexes and grid 10 years ago as they are the must for desktop UI. Web platform got them practically only in couple of last years. And it is s
480.
▲
by
c-smile
6y ago
I know, AGG is just a set of primitives but not an abstraction like class Graphics {...}. But that one can be assembled from them. Did it once for early versions of Sciter. Ideally GPU and CPU rendering backends should have pixel perfect ma
More ›