HNHacker News
TopNewBestAskShowJobs

Maksadbek

956 karma · joined January 7, 2015

submissionscomments
Maksadbek··on AX – Google’s Open Agentic Orchestrator
I was expecting that, in the AI era, even Google will start using Rust for everything. But they chose Go for the this project.
Maksadbek··on Grok Outage
Is it AWS again ?
Maksadbek··on The Fabled Flatbreads of Uzbekistan (2015)
Yay, an article about my country is on the HN frontpage!
Maksadbek··on Explanation of everything you can see in htop/top on Linux (2019)

   /*
    * kernel/sched/loadavg.c
    *
    * This file contains the magic bits required to compute the global loadavg
    * figure. Its a silly number but people think its important. We go through
    * great pains to make it work on big machines and tickless kernels.
    */

so is it just silly numbers or important ?
Maksadbek··on Learn PHP in 2026 (Yes, Really)
I use bunch of PHP files for personal/work stuff. Because the setup is very easy: just install nginx and enable php+fastcgi extension. Then just edit the files, no restart is needed. Also I don't need frontend and backend. Just echo html in php file :)
Maksadbek··on O(x)Caml in Space
Hey Thomas, thank you for detailed explanation! This sounds very interesting. I really wanted to learn something less complex than Rust/Haskell and fast enough for high performance computing and also reliable language. I should learn some OCaml :)
Maksadbek··on O(x)Caml in Space
I'm not deeply familiar with reliability-focused languages, but as far as I know, Ada, Rust, and Haskell are the most prominent ones. What made OCaml a better choice here over those alternatives?
Maksadbek··on Cloudflare Down Again – and DownDetector Is Also Down
Do we have downdectector for downdetector ?
Maksadbek··on Cryptography 101 with Alfred Menezes
It always astonishes me how much useful information you can find on internet being publicly available. You just need a willing to learn.
Maksadbek··on EuroLLM: LLM made in Europe built to support all 24 official EU languages
https://www.dailymail.co.uk/news/article-13278447/german-cou...
Maksadbek··on EuroLLM: LLM made in Europe built to support all 24 official EU languages
[flagged]
Maksadbek··on Show HN: I built a web framework in C
Couldn't believe my eyes, this is the cleanest C code I've ever seen!!
Maksadbek··on Family of MSFT employee who died warn tech companies not to overwork workers
The sad part is that no one forces you to work that hard. You're free to say NO! and work less, even this will results being laid off. Only during 1:1s your manager may highlight that deadline is soon and would be great if the project would be delivered on time, and little hint about a promo. But you set goals and force yourself to do more, single night this less sleep doesn't hurt anyone. Then there are more such nights of coding and you feel barely alive. 90% work is done, only very little left to finish. And then bam!

Upd:

I didn’t mean that this is ok, I’m for workers rights.

Maksadbek··on Do the simplest thing that could possibly work
Exactly! If you don't try to keep it simple, especially in bigtech, things get way too complex. I think choosing simplest solution in bigtech is in orders of magnitude more important than in a simple domains.
Maksadbek··on Palantir: The Most Evil Company
If you don’t invest to some company because of ethical reasons, then investing isn’t for you.

Anything can be used for good and bad reasons.

Maksadbek··on Show HN: Photoshop Clone Built in React
This is tool is amazing! I know it's built using WASM and creator earns a lot on this tool from ads. https://news.ycombinator.com/item?id=26769141
Maksadbek··on JSLinux
Fabrice Bellard is a real coding monster!
Maksadbek··on Show HN: Nue – Apps lighter than a React button
So many people are obsessed with Web application size. But there are other important factors as well. First of all, the UI must be functional even it's slow and heavy. If it does the job then it's already a win. I don't actually care how long I'll wait while I'm downloading the JS bundles. I've been waiting 5-10 mins GTA to load back in 2008, waiting seconds is totally ok.
Maksadbek··on Microsoft Go 1.24 FIPS changes
out of curiosity: what problems do you solve with this fork at Microsoft and why not C# ?
Maksadbek··on Google's advise to use abstraction to improve function
While Google advises to use abstractions, I like the left-hand side variant. It looks to me easier to understand and change. The right hand side is scattered and abstractions mutate the object, which may have side effects.
Maksadbek··on Just Say No to JavaScript
Post "Say no to JavaScript" on a website that heavily uses javascript... ironic
Maksadbek··on Glojure: Clojure interpreter hosted on Go, with extensible interop support
Go hosted in Clojure should be Jo
Maksadbek··on Advent of Code 2024
It’s ssv — space separated values
Maksadbek··on My daughter (7 years old) used HTML to make a website
Fantastic! Are you going to teach her JavaScript as well ?
Maksadbek··on Codebase Refactoring (With Help from Go)
This is an old blog post by Go authors. But still contains very usefull approach for refactoring codebase.
Maksadbek··on How Jane Street is making OCaml the new Rust
OCaml is a great language, I should learn OCaml!
Maksadbek··on SQLite performance tuning: concurrent reads, multiple GBs and 100k SELECTs/s
I tried the same test on Hetzner VPS (4VCPU AMD EPYC, 8 GB RAM, 160 GB NVMe SSD), and the result is about 20K inserts per sec. It's not 80K, but still exciting, I would even be happy with 10K. I am sure there is a big room for optimizations, but I am planning to use SQLite3 with Python in a very simple way.

Source code of Python test file: https://gist.github.com/maksadbek/2385b002b439e03dc948b05593...

Maksadbek··on SQLite performance tuning: concurrent reads, multiple GBs and 100k SELECTs/s
I assume it were individial inserts. https://docs.python.org/3/library/sqlite3.html#sqlite3.Curso...
Maksadbek··on SQLite performance tuning: concurrent reads, multiple GBs and 100k SELECTs/s
It's just :)

    conn.execute("insert into cell_towers values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)", row)
Maksadbek··on SQLite performance tuning: concurrent reads, multiple GBs and 100k SELECTs/s
I was benchmarking SQLite3 with Python on my MBP M1 and with default settings could achieve 2-4000 inserts per sec. Then applied suggested settings:

  pragma journal_mode = WAL;
  pragma synchronous = normal;
  pragma temp_store = memory;
  pragma mmap_size = 30000000000;
As a result the average number inserts per second was 80K
Page 1 of 2Next →