lnyng | 10 months ago | on: A Rust API Inspired by Python, Powered by Serde
lnyng's comments
lnyng | 1 year ago | on: I made a game you can play without anyone knowing (no visuals/sound)
- increase tolerance to slightly off taps, and gradually increase the number of ticks (not sure you already do this but right now it’s too hard win many times in a row)
- tik of the day mode. A long tick that challenges people who can win it in fewest trials
lnyng | 1 year ago | on: I made a game you can play without anyone knowing (no visuals/sound)
Suggestions: - have an option to add 4 constant interval tiks at the beginning to help setup the base rhythm - hold down the small white dot to return to menu so you can see progress without exiting - have a way to visualize a rhythm similar to the example or skip it (maybe two finger hold?) if you are stuck - some rhythms feel to have slightly uneven tempo. Is the duration of the tick taken into consideration when generating the tempo?
Interesting game overall. Well done
lnyng | 1 year ago | on: Toothpaste Null-Terminator
lnyng | 1 year ago | on: Fiber optic drone control beats any RF jammer
lnyng | 1 year ago | on: I built an ROV to solve missing person cases
lnyng | 2 years ago | on: Linux ate my RAM (2009)
We observed that the real memory footprint for applications depends on many factors: file access pattern, disk IO speed (especially if swap is enabled), ssd vs hdd, application latency sensitivity, etc. Instead of coming up with some overly complicated heuristic, we use the Linux kernel provided memory.pressure [0] metric via cgroup v2. It measures the amount of time spent waiting for memory (page fault etc). Then by slowly reclaiming memory from the application until its memory pressure hits some target (say 0.1%), we can claim that the steady state usage is the actual memory footprint.
This may not be useful for PC but could be very useful for data center to track memory regression, and also to harvest disk swap without concerning too much about the cliff effect when the host runs out of memory and suddenly kernel pushes everything to swap space.
[0] https://facebookmicrosites.github.io/cgroup2/docs/pressure-m...
lnyng | 3 years ago | on: Inky Impression 5.7“ – Colour e-ink display for Raspberry Pi
lnyng | 3 years ago | on: Attacking Titan M with Only One Byte
lnyng | 3 years ago | on: Type-checked keypaths in Rust
The program collects system resource metrics into a data structure and we need to display the fields with different styles and formats. In order to decouple the data structure from rendering, Queriable (Keyable) and FieldId (combine KeyPath + mirror struct into enum) are used. I will definitely like to checkout the KeyPath implementation as it seems more general.
lnyng | 3 years ago | on: Show HN: Tetris, but silly
lnyng | 4 years ago | on: ArtFrame: E-paper wireless artwork for your living room
lnyng | 4 years ago | on: ArtFrame: E-paper wireless artwork for your living room
lnyng | 4 years ago | on: Sinking 1K NYC subway cars in the Atlantic to create a reef didn’t go as planned
lnyng | 4 years ago | on: How Microsoft reduced Windows 11 update size by 40%
They seems to achieve size reduction by transmitting only the forward upgrade patches, and let the machine generate the downgrade patches during the upgrade. How do they manage to keep install time the same while this definitely uses more resources (cpu, io)?
lnyng | 4 years ago | on: China has forbidden under-18s from playing games for more than three hours/week
lnyng | 4 years ago | on: China has forbidden under-18s from playing games for more than three hours/week
lnyng | 4 years ago | on: China has forbidden under-18s from playing games for more than three hours/week
Google translation of the first entry:
> Strictly limit the time for providing online game services to minors. Since the implementation of this notice, all online game companies can only provide minors with one-hour online game services from 20 to 21:00 on Friday, Saturday, Sunday and legal holidays. At other times, it is not allowed to provide online game services to minors in any form.
lnyng | 4 years ago | on: Show HN: Website changes design each time you blink
lnyng | 4 years ago | on: Ghidra: A software reverse engineering suite of tools developed by the NSA
[1] https://github.com/facebookincubator/below/blob/main/below/b...