Skip to content

u/Phptower

In this archive from Jun 2016 to Sep 2025

18
posts
272
comments
13
media
370
score
3 saved before deletion

Top posts

Top comments

“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time

No, but nice try. " You can fool some of the people all of the time, and all of the people some of the time, but you can not fool all of the people all of the time."
[1] https://english.stackexchange.com/questions/366761/what-is-the-origin-of-the-quote-you-can-satisfy-some-of-the-people-all-the-tim

18 points

In CS it's called treemap algorithm. It's basically a 2d bin-packing algorithm. I assume you have boxes then sort them by width or height and pick the first and put it into a tree. Split the tree along both axis and put the next box in the best free space. Repeat the steps until the boxes are out or the tree is full. (You can google treemap).

12 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.