/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

sander.saares.eu
| | www.bazhenov.me

Introduction Link to heading Suppose we need to write a function that computes the next set of numbers in a range and stores them in a slice, as shown below: let pl = RangePl::new(1..12); let mut buffer = [0u64; 4]; pl.next_batch(0, &mut buffer); // returns 4, buffer[..] = [1, 2, 3, 4] pl.next_batch(0, &mut buffer); // returns 4, buffer[..] = [5, 6, 7, 8] pl.next_batch(10, &mut buffer); // returns 2, buffer[0..2] = [10, 11] pl.next_batch(10, &mut buffer); // returns 0, buffer not updated Key factors:
5.3 parsecs

Travel
| |
| | nuculabs.wordpress.com

Hello ?, I started exploring Rust a week ago due to more and more web services being written in Rust at my work place and so far I like the language, it's simple, fast and beautiful. My day to day programming tasks are in Python, Go and Java. I've also used C# for some personal...
4.3 parsecs

Travel
| |
| | danlark.org

When it comes to hashing, sometimes 64 bit is not enough, for example, because of birthday paradox -- the hacker can iterate through random $latex 2^{32}$ entities and it can be proven that with some constant probability they will find a collision, i.e. two different objects will have the same hash. $latex 2^{32}$ is around...
4.6 parsecs

Travel
| |
| | wiki.nesdev.com

Tile compression refers to techniques that allow fitting more graphics data into a smaller space. Programs using CHR ROM cannot use compressed tiles, as their tile data must be stored in the PPU's native format. But programs using CHR RAM can process tile data while copying it from PRG ROM to CHR RAM, and this processing allows storing more tiles in the same space.
30.3 parsecs

Travel
|