HNHacker News
TopNewBestAskShowJobs

GirkovArpa

58 karma · joined April 28, 2020

submissionscomments
GirkovArpa··on Scientists have traced human tail loss to a short sequence of genetic code
This comment needs to be higher.
GirkovArpa··on “Emergent” abilities in LLMs actually develop gradually and predictably – study
> You can ask them to reverse numbers or re-arrange words and they'll faceplant in the same way as soon as the input gets beyond a small threshold. Here surely there wouldn't be an issue with tokenization.

My guess is the training data contains many short pairs of forward and backward sequences, but none after a certain threshold length (due to how quickly the number of possible sequences grows with length). This would imply there's no actual reversing going on, and the LLM is instead using the training data as a lookup table.

GirkovArpa··on Show HN: Glossarie – a new, immersive way to learn a language
This should work fantastic in theory, since differing vocabulary (not grammar) is the main factor that determines the difficulty of a new language. Putting off this primary obstacle so one can ease into it sounds genius to me. It also agrees with the method hyped by Steve Kaufman, where one should read and speak level-appropriate material.
GirkovArpa··on Anglo-Italian company says it has cracked Bitcoin. People have questions
Exactly. The proof they did not actually crack Bitcoin is the fact they said they did.
GirkovArpa··on The baffling intelligence of a single cell: The story of E. coli chemotaxis
In the context of Condorcet's jury theorem, the percentages refer to the chance of voting for the correct outcome. Think of a legal trial and there is no ambiguity about the meaning of "50%" is.
GirkovArpa··on The baffling intelligence of a single cell: The story of E. coli chemotaxis
According to Condorcet's jury theorem, a committee of 10 identical members may be smarter than a single member.
GirkovArpa··on Netlify just sent me a $104k bill for a simple static site
Yes. Back around 2020 they forgave me a $1000 bill for a side project I thought was running on a free tier.
GirkovArpa··on Show HN: Minimalist CSS Framework
I love it! Going to use this instead of Pure.CSS from now on.
GirkovArpa··on Show HN: Handwriting Synthesis with Machine Learning and Sciter.js [Demo]
Hello HN — This is a desktop app that accepts typed text and synthesizes a handwritten version of it, using recurrent neural networks in real time. The network is implemented as a library (included in the Releases section), written in 100% Rust. The GUI is based on the free Sciter.JS library, which supports SVG and the fancy controls. All this is an unofficial port of https://calligrapher.ai

By clicking the download button at the top-left, the output can be saved as SVG.

GirkovArpa··on Sweden is being shot up
> All the languages in Europe descended from the Proto-Indo-European language

Except for Basque!

GirkovArpa··on Show HN: Generate realistic handwriting without neural networks [demo]
Hey HN — This is a simple web app that allows you to draw an alphabet, type some text, and then have the text written in your own handwriting. I’m happy to hear feedback or answer questions about how it works!

P.S. Drawing the entire alphabet isn't needed, only the letters you need.

Compare to:

https://www.calligrapher.ai/

https://www.cs.toronto.edu/~graves/handwriting.html

GirkovArpa··on Show HN: CalDOM: An agnostic, reactive and minimalist JavaScript UI library
Sciter is really great.
GirkovArpa··on Are we GUI Yet? The state of building user interfaces in Rust
> you can't distribute the binaries yourself

You can :) You just have to include a copyright notice unless you purchase an exemption.

GirkovArpa··on Ask HN: Desktop Programming Language
I recommend Sciter.JS as a lightweight alternative to Electron. It's less than 10mb.

If you visit the repo here: https://github.com/c-smile/sciter-js-sdk

There's a database demo in samples/sqlite.

GirkovArpa··on Nuklear: A cross-platform GUI library in C
How does this compare to Sciter? I understand this is primarily to overlay UIs over full screen applications (like games), but Sciter has that capability as well. Particularly how easy is it to style things, considering Sciter allows CSS?

I did a CTRL+F for "sciter" and usually I find something, but this time, nope.

GirkovArpa··on Tauri: An Electron alternative written in Rust
Would you be able to mention these apps? I would like to take a look.
GirkovArpa··on Tauri: An Electron alternative written in Rust
I am convinced that the sort of Web API compatibility so many people demand is only a few native libraries away. I would like to start experimenting in this area but I can only get rust-sciter DLLs working with "vanilla" Sciter and not Sciter.js, and I don't want to use other languages.
GirkovArpa··on Tauri: An Electron alternative written in Rust
I've performed a couple experiments remaking Electron apps using Sciter.

My first target was https://github.com/AkashRajpurohit/clipper, a neat little clipboard manager. The owner was gratious enough to officially list my project under the "Clones" section of his readme =D The result was a 6mb file, compared to the original 165mb Electron app.

The second attempt was https://github.com/girkovarpa/temps-lite, an aesthetically-pleasing weather app which was motivated largely by the fact that the original was broken and abandoned yet still had people who wanted to use it. According to the open issues and forks trying to resurrect it, anyway. The file size savings were similar to the former, and they start virtually instantly. Unlike the Electron apps which have a bit of delay and then a blank window before they finish starting up.

GirkovArpa··on Show HN: Temps-lite – 5mb clone of 43mb Electron weather app
Compare the 32-bit Windows releases of Temps (42.6mb), made with Electron:

https://github.com/jackd248/temps/releases/tag/v0.7.0

... to the Temps -"lite" remake (4.49mb) using the Sciter engine:

https://github.com/GirkovArpa/temps-lite/releases/tag/v1.1.3

Temps-lite (and of course it's predecessor, Temps) is a desktop weather application for Windows, Mac, and Linux. Provided a free openweathermap.org API key, it displays live weather information for any location in a very attractive, sleek interface. It also shows the forecast for the next 4 days.

To duplicate the very cool rain, snow, and thunder effects, I basically just copied and pasted the original source code. For everything else I redid it in my own way, which probably did not result in very professional-looking code but hey! It works =) Minus some tiny bugs, which I've had help with from someone who's more familiar with Sciter programming.

The original Temps was built/packaged using Electron Builder and Electron Packager (I'm not sure of the difference, to be honest).

The equivalent for Sciter is Quark (quark.sciter.com), and that is what I used to package the HTML, CSS & TIScript files into a single convenient executable which is not only 10x smaller than the Electron version but also starts up way faster (virtually instantly), and has a relatively extremely light memory footprint.

All this without the slightest observable decrease in performance or speed.

One new thing I learned about Sciter while making this project is that it natively supports persisting its equivalent of local storage to a database file, similar to MongoDB.

If you think this is interesting then feel free to check out Clipper-lite, which is the same idea. Another Electron app remade using Sciter. Specifically, a clipboard manager:

https://github.com/GirkovArpa/clipper-lite

GirkovArpa··on Parisian Accent in 1912
push, p/eu/sh?

long, l/on/ng, l/an/ng?

GirkovArpa··on Kivy: Cross-Platform Python Framework for UI Development
How does Kivy compare to Sciter?
GirkovArpa··on To the brain, reading computer code is not the same as reading language
I'm reading this while listening to music.
GirkovArpa··on The mythical “fast” web page
Like Google itself.
GirkovArpa··on Why I chose Electron.js for my side business
Sciter is missing from that list for some reason.
GirkovArpa··on Why I chose Electron.js for my side business
Sciter.JS is going to change that: https://github.com/c-smile/sciter-js-sdk

I cloned a 165mb Electron app in Sciter, and it was only 6mb:

https://github.com/GirkovArpa/clipper-sciter

GirkovArpa··on Show HN: Video-input, an HTML element that acts like a video form field
No demo?
GirkovArpa··on A Visual Guide to Regular Expression
Very good, but doesn't have anything about lookarounds.
GirkovArpa··on Show HN: Add watermarks to your images online
502: BAD_GATEWAY

Code: NO_RESPONSE_FROM_FUNCTION

ID: cle1::n7s96-1605253209846-9fb5c1b24d33

GirkovArpa··on Group of Google critics calls for EU antitrust action
I didn't know about qwant's existence until your comment and I just made it my default engine. It seems like a Google clone, and better than duckduckgo.com which is perfect. No more drop downs getting in my way of clicking on results.
GirkovArpa··on Show HN: Clippy (Clone) – As Electron app: 165mb; as Sciter app: 6mb (not typo)
According to Task Manager, the Electron version has 5 processes for a total 80mb memory. The Sciter version has 1 process for a total 15mb memory.

According to Process Hacker, Electron had "Peak Private Bytes" of 522mb. Sciter had 35mb.

I am not sure exactly what those numbers refer to, but I hope it answers your question.

Page 1 of 2Next →