HackerTrans
TopNewTrendsCommentsPastAskShowJobs

auraham

1,767 karmajoined قبل 12 سنة

Submissions

[untitled]

1 points·by auraham·قبل 4 أيام·0 comments

Chromium Embedded Framework (CEF)

github.com
2 points·by auraham·قبل 21 يومًا·0 comments

Elixirkit – Building Desktop Apps with Elixir and Tauri

hexdocs.pm
7 points·by auraham·قبل شهرين·0 comments

Implementing YOLOv8 Object Detection with OpenCV in Rust Using ONNX Models

linzichun.com
2 points·by auraham·قبل 4 أشهر·0 comments

Cross-platform desktop app with YOLOv8, Tauri, Rust, and SvelteKit

linzichun.com
2 points·by auraham·قبل 4 أشهر·0 comments

Tauri vs. Iced vs. egui: Rust GUI framework performance comparison

lukaskalbertodt.github.io
2 points·by auraham·قبل 5 أشهر·0 comments

Convolutional Neural Network Visualizations

github.com
3 points·by auraham·قبل 5 أشهر·0 comments

[untitled]

49 points·by auraham·قبل 6 أشهر·0 comments

Build Your Own ML Framework

mlsysbook.ai
3 points·by auraham·قبل 6 أشهر·0 comments

The Annotated Transformer (2018)

nlp.seas.harvard.edu
1 points·by auraham·قبل 7 أشهر·1 comments

The Illustrated Transformer

jalammar.github.io
500 points·by auraham·قبل 7 أشهر·88 comments

Learning Rust: Download and deserialize 10 000 files in 9.833 seconds

rup12.net
2 points·by auraham·قبل 7 أشهر·0 comments

Implementing Trie with Auto-Completion in Python – Step-by-Step Guide

llego.dev
2 points·by auraham·قبل 7 أشهر·0 comments

Elixir LiveView Single Binary

mrpopov.com
5 points·by auraham·قبل 9 أشهر·0 comments

comments

auraham
·قبل 11 يومًا·discuss
I have the same feeling about Zig. In this interview [1], Andrew Kelley, creator of Zig, explains a lot of the features of the language; compares it against c, rust, go; and explains why he created the language. According to him, the killer feature of zig is the tool chain (compiler, linker, build system) since it has no dependencies. So, it will work in any OS/target you choose.

It is a really interesting interview. However, Zig code is a bit hard for me to read.

[1] https://www.youtube.com/watch?v=iqddnwKF8HQ&t=10s
auraham
·قبل 11 يومًا·discuss
Can you give more details about using zig along with elixir?

> microscope is mounted on a elixir nerves deployment!

What do you mean? I imagine that there is an Elixir application running on an embedded system and maybe it relies on an external binary application (compiled using zig). If so, how do you manage the communication between them?
auraham
·قبل 16 يومًا·discuss
> Tauri proved to be quite problematic except when in macOS

Can you elaborate?
auraham
·قبل 18 يومًا·discuss
For me, the best about Tauri is that:

- We can embed an existing application using a sidecar [1].

- Now, we can also use Elixir in the backend, embed the BEAM, and deliver a single binary, see ElixirKit [2].

As far as I know, LiveBook Desktop [3] is using Tauri for building binaries for MacOS and Windows. If Tauri works for the Elixir team, I think it works for me too.

Also, I know that Tauri is not bullet proof. WebView can be limited for some use cases, see [4]. There is some effort to use CEF to mitigate those problems, though [5].

I'd like to know how Deno Desktop compares with Tauri in this context. I know it is a new product, not sure if we could bundle an existing binary in Deno Desktop, like in ElixirKit.

[1] https://v2.tauri.app/develop/sidecar/

[2] https://elixirkit.hexdocs.pm/tauri.html

[3] https://github.com/livebook-dev/livebook/blob/main/rel/app/t...

[4] https://www.youtube.com/watch?v=vmslGvxObvM&t=621s

[5] https://github.com/orgs/tauri-apps/discussions/8524
auraham
·قبل 28 يومًا·discuss
I hope it stays the same for a long time
auraham
·الشهر الماضي·discuss
I gave it a try today using Linux Mint 22.3 with 16 GB of memory. Writing experience is OK, the UI is beautiful. However, when I load a medium markdown file (less than 200 lines), the UI is a bit slow. Scrolling and switching between two tabs take a lot of time. I tested after compiling it using `cargo tauri build`.
auraham
·الشهر الماضي·discuss
Interesting project! I will take a look at it.
auraham
·قبل شهرين·discuss
Thanks for pointing that out.
auraham
·قبل شهرين·discuss
Both uv and asdf can be compiled from source. I prefer that way.
auraham
·قبل شهرين·discuss
This week I was wondering whether using uv for managing Python versions is a good idea.

From their website [1]

> Python does not publish official distributable binaries. As such, uv uses distributions from the Astral python-build-standalone project. See the Python distributions documentation for more details.

It points to this GitHub repo https://github.com/astral-sh/python-build-standalone which mentions this other link https://gregoryszorc.com/docs/python-build-standalone/main/r...

If I understand correctly, the source code for building Python is not fetched directly from python.org. Not so sure how secure is that.

I have the same concern for asdf [2]. However, they use pyenv [3] which, I think, feels more official.

Can someone clarify this? Which tool is better/more secure for installing python: uv or asdf?

[1] https://docs.astral.sh/uv/guides/install-python/

[2] https://github.com/asdf-community/asdf-python

[3] https://github.com/pyenv/pyenv/tree/master/plugins/python-bu...
auraham
·قبل 3 أشهر·discuss
I have the same concern with all hardware used for storing keys and secrets for crytpo.
auraham
·قبل 3 أشهر·discuss
How can you detect the system preferences in the browser?
auraham
·قبل 4 أشهر·discuss
Do you know what is the purpose of the staging build? Not sure why the author requires that flag when building the binary.
auraham
·قبل 5 أشهر·discuss
I highly recommend Build a large language model from scratch [1] by Sebastian Raschka. It provides a clear explanation of the building blocks used in the first versions of ChatGPT (GPT 2 if I recall correctly). The output of the model is a huge vector of n elements, where n is the number of tokens in the vocabulary. We use that huge vector as a probability distribution to sample the next token given an input sequence (i.e., a prompt). Under the hood, the model has several building blocks like tokenization, skip connections, self attention, masking, etc. The author makes a great job explaining all the concepts. It is very useful to understand how LLMs works.

[1] https://www.manning.com/books/build-a-large-language-model-f...
auraham
·قبل 5 أشهر·discuss
Can you explain how to build the installer? I pressume you bundle python and typescript in a single binary.
auraham
·قبل 6 أشهر·discuss
Can you elaborate on this? After skimming the README, I understand that "Who art Henry" is the prompt. What should be the correct 19th century prompt?
auraham
·قبل 7 أشهر·discuss
I gave it a try a few months ago. The first thing that I searched for was the REPL. Comparing it with Python, I prefer ipython over irb. It would be nice to see some improvement on DX on the REPL side
auraham
·قبل 7 أشهر·discuss
Updated revision (2022): https://nlp.seas.harvard.edu/annotated-transformer/
auraham
·قبل 7 أشهر·discuss
I was about to mention that.
auraham
·قبل 7 أشهر·discuss
Wonder if Wails have the same issue on Linux.