Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
c-smile
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
211.
▲
by
c-smile
4y ago
Tauri: Test CPU RAM GPU Idle 1% ~ 80MB 0% For the comparison, Sciter: Idle 0.01% ~ 40MB 0% With startup time (minimal hello world) 200ms As of memory consumption: the bulk amount is in graphics backend - Direct2D in case
212.
▲
by
c-smile
4y ago
Documentation solves just one problem: to free or not to free. But there are performance, security and other issues. What if it is significantly more performant for getenv() (or whatever) to fetch needed data using alloca (on stack, with fa
213.
▲
by
c-smile
4y ago
getenv() is just a sample. But even with it... it puts some limitation on potential API implementation and overall system performance. E.g. const char* user_password() cannot store the data anywhere, right? All that... > The most comfort
214.
▲
by
c-smile
4y ago
Such problem is pretty widespread and not limited by just structures, C-style strings are there too. For example: const char* getenv(const char* name); Do we need to free the string? And if "yes" then how? It is not reali
215.
▲
by
c-smile
4y ago
Rust can be good for implementation of UI system but as a language-behind-UI it is bad - its advantages (e.g. strictness) directly translate to disadvantages in that area. At the end, main idea of initial Rust design is to be the language
216.
▲
by
c-smile
4y ago
I am participating now in such project - 3D CAD alike application: it renders 3D scene in Vulkan with Sciter rendering auxiliary UI on the same Vulkan surface. Sciter manages dockable widgets, property editors, scene tree logical representa
217.
▲
by
c-smile
4y ago
> The background for this is that most existing UI toolkits are a poor fit for Rust. Being in GUI business for almost 30+ years I shall admit that this above is true. And not just Rust but C/C++ are there too. Real (a.k.a. practical
218.
▲
by
c-smile
4y ago
Nothing new in principle, "transition from quantity to quality" (quantitative differences beyond a certain point pass into qualitative changes) was discovered by Hegel around 1800. So nice, working application after adding next 5,
219.
▲
by
c-smile
4y ago
As far as I can see it uses Sciter UI for clients on desktops. And that one is C++.
220.
▲
by
c-smile
4y ago
> videos... grain being looted by Russian troops... Oh, that's new. How exactly do they do that?
221.
▲
by
c-smile
4y ago
TL;DR if you wish: World now is transitioning from G7 (which is G1 really) to real G20. Globalization caused rise of powers: China, India, Russia, Brazil, etc. I think that world will be in better shape after that - concurrency and need for
222.
▲
by
c-smile
4y ago
> Far more people are skeptical of things like journalism... And mass media in general... Most of people I know lost any confidence in reliability of CNN, CBC, BBS, etc. Like report on Russian shelling shows video of results of Ukrainian
223.
▲
by
c-smile
5y ago
This really depends on design goals of course. Usually browsers are tend to sacrifice memory consumption (e.g. caching) for rendering speed. In Sciter, for example, this page on HN occupies less than megabyte in RAM. Sciter has quite differ
224.
▲
by
c-smile
5y ago
Probably. But the fact that we've transitioned from BiPolar (US<->USSR) to UniPolar(US) and now to MultiPolar world is correct as we see.
225.
▲
by
c-smile
5y ago
The Great Delusion (2020) by prof. John Mearsheimer: https://youtu.be/nZVIaXFN2lU That if someone really wants to understand where we are with all those Libya, Syria, Iraq, ... Ukraine. And how and when this one really star
226.
▲
by
c-smile
5y ago
Google Maps perhaps? Seems like here: https://www.google.com/maps/@47.1186918,37.6934124,333m/data...
227.
▲
by
c-smile
5y ago
ATGM position of Mariupol defenders: https://www.youtube.com/watch?v=s4-zYV_6Tgk I hope they have evacuated all residents from there. Even if no one left Mariupol through evacuation corridors.
228.
▲
by
c-smile
5y ago
My Sciter[1] Engine has two versions 1. Sciter.JS, with QuickJS, mainstream version now. 2. And former Sciter.TIS - uses my own TIScript. TIScript uses moving/compacting GC (close to V8). We have several products ported [2] from TIS to
229.
▲
by
c-smile
5y ago
Interesting... Instead of forms I have color associations with digits. And I suspect that many people have those... What is your color associations (if any) with 0,1,2,3,4,6,7,8 and 9 digits?
230.
▲
by
c-smile
5y ago
Russians know. As do Ukrainians. My granma told me what was happening in Khmelnik (West Ukraine) at times of German occupation. 50% of the city was Jewish. And almost zero left in first few months. And that was done primarily by locals from
231.
▲
by
c-smile
5y ago
Instead of vDOM, solid.js uses <template> - real DOM elements + cloneNode(). And that's doubtful decision. Each live DOM element is about 100-200 bytes in memory. While in React (PReact, Mithril) this JSX expression: <div
232.
▲
by
c-smile
5y ago
Blindly distinguishing people by nationality is the first step to Nazism. Being a Ukrainian by myself I'd like to tell you that your statement is extremely bad idea.
233.
▲
by
c-smile
5y ago
Having normal procedural language for build automation is of course useful. That's for those 10% of cases when "standard" build DSL (make,CMake,etc.) simply do not have facilities. But the rest of 90% tasks should have compac
234.
▲
by
c-smile
5y ago
That naive geography positioning reasoning is far from reality. From that point of view Belorussia is more valuable. That "Mystery of Russian Soul" lies among the lines of "Kiev - mother of Russian cities" (term of 12th
235.
▲
by
c-smile
5y ago
display: none is horrible indeed. Instead that "noneness" shall go to visibility - orthogonal property. So if you have <tr> (display:table-row) you can switch it on and off by visibility:none; and visibility:visible; without
236.
▲
by
c-smile
5y ago
FreeConferenceCall[.com] allows to participate in meetings by phone and SMS. That's beside of typical video/chat conferencing capabilities. Client is pretty small ~20 Mb monolithic (a.k.a. portable) executable that can be loaded i
237.
▲
by
c-smile
5y ago
Are you human? > detached HEAD mode Ah, I see, not anymore...
238.
▲
Desktop HTML/CSS/JS application without Electron – the story
(terrainformatica.com)
1 points
by
c-smile
5y ago
|
0 comments
239.
▲
by
c-smile
5y ago
Of course it has spec. Just one more property in 200+ of them. That is no-brainer to add new property ... Problem is that each property introduced that way ads new dimension in compatibility matrix.
240.
▲
by
c-smile
5y ago
What if you have that width and aspect-ratio defined and in "galaxy far, far away" someone will define height for that element? What about good old principle of least astonishment? Not for us anymore? That's the problem - ins
More ›