Better HN
topnewbestaskshowjobs
Log inSign up

eiskalt

198 karma · joined Nov 23, 2014 (12y ago) · 23 submissions

Submissions

comment 6mo ago · link · parent

> A hands-on workshop where you write every piece of a GPT training pipeline yourself, understanding what each component does and why.

I see in dependencies torch, so most likely tensors and backpropagation are not implemented, but rather taken as granted. Does it count then as writing "from scratch"?..

I did something similar (in Rust, AI assisted), but I restricted myself not to use any dependency, only standard library. As result, I have to implement much more things, such as tensor design, kernels concept, simple gradient descent optimizer and even custom json parser, cpu data parallelism abstractions similar to rayon, etc. It was quite fun when I got everything wired and working - soo sloooow, but working.

comment 1y ago · link · parent

Hey all! I've just released my qwen3-rs, a Rust project for running and exporting Qwen3 models (Qwen3-0.6B, 4B, 8B, DeepSeek-R1-0528-Qwen3-8B, etc) with minimal dependencies and no Python required.

- Educational: Core algorithms are reimplemented from scratch for learning and transparency. - CLI tools: Export HuggingFace Qwen3 models to a custom binary format, then run inference (on CPU) - Modular: Clean separation between export, inference, and CLI. - Safety: Some unsafe code is used, mostly to work with memory mapping files (helpful to lower memory requirements on export/inference) - Future plans: I would be curious to see how to extend it to support: * fine-tuning of a small models * optimize inference performance (e.g. matmul operations) * WASM build to run inference in a browser

Basically, I used https://github.com/adriancable/qwen3.c as a reference implementation translated from C/Python to Rust with a help of commercial LLMs (mostly Claude Sonnet 4). Please note that my primary goal is self learning in this field, so some inaccuracies can be definitely there.

GitHub: https://github.com/reinterpretcat/qwen3-rs

3.

Show HN: An educational Local Qwen3 LLM Inference project written in Rust(github.com ↗)

15 points · by eiskalt · 1y ago · 1 comment

comment 2y ago · link · parent

> The people that stay are those that have fewer opportunities to find something better elsewhere. So when you see an architect/principal engineer that has been there for 15 years, you know they know that they'd not be hired at the same level anywhere..

..or they are simply more enjoying life by maintaining a better life-work balance.

comment 4y ago · link · parent

Some time ago, I've automated the build process with docker: https://github.com/reinterpretcat/lfs It is for old version, but all old dependencies are attached as assets for release: https://github.com/reinterpretcat/lfs/releases/tag/v8.1.0

comment 6y ago · link · parent

..and another solution for VRP, but on Rust: https://github.com/reinterpretcat/vrp

You can still call it from JVM using JNI

7.

Build PoC of VehicleRoutingProblem Solver API Using Rust/AWS/Terraform(github.com ↗)

5 points · by eiskalt · 6y ago · discuss

8.

A free tool to plan deliveries during the Covid-19 pandemic(here.com ↗)

47 points · by eiskalt · 6y ago · 12 comments

9.

Show HN: A Vehicle Routing Problem solver written on Rust(github.com ↗)

2 points · by eiskalt · 6y ago · discuss

comment 7y ago · link · parent

I didn't get in details, what kind of CS question should be eliminated in "non-whiteboard" interviews. However, I would definitely ask at least basics of algorithms, their analysis, and data structures. For example, in my carrier, I saw enough getter methods (e.g. getCustomers) which looks from outside simple/fast but internally do linear search on each invocation. It especially "nice", if you have a piece of code which iterates over multiple collections in nested loops on UI thread..

comment 8y ago · link · parent

Actually, one of the first commands by default when container is run, is to fetch about 330Mb of compressed toolchain.

comment 8y ago · link · parent

As magic script author, who completed the book step by step, I want to say, you won't get "intimately familiar with the OS" after completion. What you will learn: * needed packages: purpose, how and in which order to build them * really basics of OS configuration * fault intolerance to mistakes

So, why I've built such script? I think it is needed for the next steps, where you actually might want to modify kernel/tools/configuration to gain the knowledge how things are (not-)working.

comment 8y ago · link · parent

Yes, that's correct. The goal was to use the whole LFS's system including OS kernel. Docker, AFAIK, uses host's kernel, see info here https://docs.docker.com/get-started/#virtual-machine-diagram

Anyway, it should be possible to build image for docker container if necessary.

14.

Show HN: Build your Linux from Scratch inside Docker with one command(github.com ↗)

94 points · by eiskalt · 8y ago · 28 comments

15.

Show HN: A free tool for real world procedural generation in Unity3D(youtube.com ↗)

7 points · by eiskalt · 9y ago · discuss

16.

Show HN: Procedural world generation example: Prague with elevation data data(youtube.com ↗)

7 points · by eiskalt · 10y ago · discuss

17.

Demo for real world procedural generation on Android(play.google.com ↗)

2 points · by eiskalt · 10y ago · discuss

comment 10y ago · link · parent

Yes, this library does not generate random shaped buildings or terrain regions. Instead, it generates them from real geographical data and allows you specify some noise parameters, e.g. :

canvas|z16 {

    grid-cell-size: 5%; /* affects triangulation*/

    max-area: 0.05%; /* affects triangulation refinement */

    color-noise-freq: 100000; /* color of each vertex will use this noise value */

    ele-noise-freq: 100000; /* height of each vertex will use this noise value*/

    color: gradient(#dcdcdc 0%, #c0c0c0 10%, #a9a9a9 50%, #808080); /* color gradient*/
}

Also, some objects can be randomly generated for specific place, e.g. trees in forest. I found this idea where you have real geodata as input for randomization more interesting than having yet another planet generator with manual setting of various parameters.

comment 10y ago · link · parent

Thanks. Agree that it would be more interesting if game could detect collision with specific objects, e.g. roads, buildings, etc. Then, you have more flexibility in game logic design/programming.

So far, I spent 2.5 years developing this from scratch (including predecessor of this project - ActionStreetMap) and still believe in this idea :)

comment 10y ago · link · parent

No, all 3D buildings data is provided by OpenStreetMap. This wiki page describes the model:

http://wiki.openstreetmap.org/wiki/Simple_3D_buildings

In short, all complex buildings are defined via multiple simple polygons with height, height under ground, colors, etc.

For example, you can check how Saint Basils Cathedral is defined (take a look at Members list):

https://openstreetmap.org/relation/3224486

21.

Procedural world generation: C++11 library with highly customizable API(github.com ↗)

62 points · by eiskalt · 10y ago · 10 comments

22.

Game idea: modify/destroy procedural generated city of your choice(youtube.com ↗)

1 points · by eiskalt · 11y ago · discuss

23.

Show HN: ActionStreetMap: Build a gaming environment of your own city in Unity3d(actionstreetmap.github.io ↗)

60 points · by eiskalt · 12y ago · 11 comments