HackerTrans
TopNewTrendsCommentsPastAskShowJobs

0xdeafbeef

no profile record

comments

0xdeafbeef
·bulan lalu·discuss
Todo type in rust will be a never type. Eg thing which exit or panic returns
0xdeafbeef
·2 bulan yang lalu·discuss
Location: Belgrade, Serbia Remote: Yes Willing to relocate: Yes, preferably EU/UK Technologies: Rust, Python, C, RocksDB, PostgreSQL, Kafka, ClickHouse, TiDB, Vector, Linux hacking, eBPF, Docker, Kubernetes, Ansible, Terraform, GCP, GitLab CI, GitHub Actions Résumé/CV: Available on request. GitHub: github.com/0xdeafbeef, LinkedIn: linkedin.com/in/petrzhikovskii Email: [email protected]
0xdeafbeef
·3 bulan yang lalu·discuss
I was thinking about transaction processing, eg visa/blockchain. And here storing and sending almost full packet for signature instead of 32 bytes matters. For sessions this shouldn't matter
0xdeafbeef
·3 bulan yang lalu·discuss
Cost is 100+ times bigger signature size and more cpu usage. If you process several k per second it matters
0xdeafbeef
·4 bulan yang lalu·discuss
Try g.ai. It's stupid fast and uses google indexes. Kagi? sometimes doesn't correctly parse intent, in Google thing you can just ask function doing this and gives you it, with examples, grounding and extremely fast. I'm paying for kagi since the begging and I guess id cancel it because it gives not so much added value
0xdeafbeef
·5 bulan yang lalu·discuss
Care to opensource? I'd like to use it in firefox, will send a pr
0xdeafbeef
·5 bulan yang lalu·discuss
Filed an issue for codex

https://github.com/openai/codex/issues/11601
0xdeafbeef
·5 bulan yang lalu·discuss
Bftree solves one non-obvious pain point - caching when your data set is random (the key is a hash) and the data is smaller than the page size. LSM reads are based on block size; same with caching. So if your record is 8 bytes, you end up caching the remaining ~4 KB, and the hit rate will be pretty low.
0xdeafbeef
·5 bulan yang lalu·discuss
I've tested with wal enabled, got deadlock several times, so looks raw for now
0xdeafbeef
·6 bulan yang lalu·discuss
It was 1 year ago. Around 15 tikv serves, 32 cpu, 128 ram each, 4 tb nvme. In this case latency matters a lot. When i had load server in different region with ping of 3ms I got 70k inserts, when moved to the same region with sub ms ping it went to thousands
0xdeafbeef
·6 bulan yang lalu·discuss
Tidb should handle it nice. I've wrote 200к inserts / sec for hour in peak. Underlying lsm works better for writes
0xdeafbeef
·6 bulan yang lalu·discuss
Also, won't most of the lib be removed due to dead code elimination? And used code will be inlined where applicable, so nothing to dedup in reality
0xdeafbeef
·6 bulan yang lalu·discuss
Rust can set restricts to all pointers, because 1 mut xor many shared refs rule. Borrow checker empowers this. https://en.wikipedia.org/wiki/Restrict
0xdeafbeef
·6 bulan yang lalu·discuss
What the point, though? You will get compiling code, but later you would need to reachitecture code to avoid violating rust rules.
0xdeafbeef
·7 bulan yang lalu·discuss
It takse long to regen on big codebases, but yes
0xdeafbeef
·7 bulan yang lalu·discuss
https://www.shloked.com/writing/chatgpt-memory-bitter-lesson

Mb something 've changed since post
0xdeafbeef
·7 bulan yang lalu·discuss
Only your questions are in it though
0xdeafbeef
·7 bulan yang lalu·discuss
much better https://chatgpt.com/s/t_693b489d5a8881918b723670eaca5734 than 5.1 https://chatgpt.com/s/t_6915c8bd1c80819183a54cd144b55eb2.

Same query - what romanian football player won the premier league

update. Even instant returns correct result without problems

https://chatgpt.com/s/t_693b49e8f5808191a954421822c3bd0d
0xdeafbeef
·7 bulan yang lalu·discuss
Retry is fine, but imagine being unable to pay for something within 10 minutes in month. And 10m in 1M is 99.98% sla. So it depends
0xdeafbeef
·7 bulan yang lalu·discuss
Yeah yeah, every gcc update I need to patch rocksb sources somehow, because now compiler doesn't ship some includes by default.

I remember only a single breakage of previously compiling code with the time crate because of a change in type inference, but even there the compiler told me to update the lib. And that’s in 6 years of using Rust.