mireq2

Joined 5 years ago

Karma
13
Submissions
6
Member since
Dec 29
Python / Django / C / C++ developer https://github.com/mireq/
View on Hacker News

Recent submissions

Comment · 3 months ago
No. I need something like <option value="123"><img src="...">Mars</option> - separated internal representation and value and dynamically updated. If i can fit whole list to client memory why should i choose datalist over select?
Comment · 3 months ago
Great satire but let's create that same for combobox with server side filtering. Now you have problem because it's not possible with native HTML elements. Many re-implementations are result of missing native elements.
Comment · 1 year ago
iTerm2 switches GPU to CPU rendering when running on battery. GPU rendering is more power hungry than CPU.
Comment · 3 years ago
I spent couple days rewriting everything from Django to Jinja2 and it was really big difference with 10x speedup (from 500ms for invoice list to 50ms). It was big e-commerce system with every ORM query optimized, selecting only required fields, prefetching related relations or selecting related. Django templates are really really slow and hard to debug. Rewrite was really great decision in this case.
Comment · 4 years ago
Clips are not so fragile. I have disassembled my P14s gen 2 wtih AMD on first day because i wanted Intel AX210 wifi instead of realtek. Two fingernails broken, because i don't have tools, but with plastic tools it should be easy (here is video https://youtu.be/K_lJcciszsw).

Big problem for me is USB-C. I don't like small, fragile connectors directly soldered on motherboard. USB-A is on separate board. I don't know why USB-C has no separate board.

Trackpoint on AMD models has terrible in linux support. Sample rate of trackpoint is max 40Hz, because it's in fallback mode (PS/2 protocol). Touchpad can't be disabled in BIOS and low rate is because is muxed with trackpoint to single PS/2 interface.

S0ix don't work. No opportunistic sleep. Minimal power usage on battery with AMD-5850u, LCD at minimum brightness (4k panel) is 3W. Standard power usage while i am working is 3.5-4.5W.

Comment · 5 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton