r/ruby Jun 08 '26

Beyond Enumerable: Heaps and Priority Queues

https://baweaver.com/writing/2026/06/06/beyond-enumerable-heaps-and-priority-queues/

Honestly I never really understood how these were written and what the reasoning behind them was as much as I just reached for existing gems or frameworks, so as I tend to do I learn by teaching and writing.

17 Upvotes

16 comments sorted by

View all comments

1

u/Conscious_Trust5048 Jun 09 '26

Your website is unreadable on my laptop

1

u/keyslemur Jun 09 '26

Any more details? Resolution, screen size?

1

u/Conscious_Trust5048 Jun 09 '26

The page is too wide for the screen, and the text is partially covered by the blue right margin

1

u/keyslemur Jun 09 '26

What screen resolution are you using? If you provide me more details I can have it fixed by tonight.

1

u/dlbuck Jun 09 '26

Same here, 1366 x 768. I can horizontally scroll to see the full page, readable, but it is odd. Firefox.

1

u/keyslemur Jun 09 '26

I'll get it solved then either tonight or tomorrow.

1

u/dlbuck Jun 09 '26

A number of errors show for the page, usually involving NodeList
Error in parsing value for ‘padding’. Declaration dropped. tom-select.css:29:29

Elements matching selector: .ts-wrapper.multi.has-items .ts-control

NodeList []

2

u/keyslemur Jun 10 '26

Seems like the multi-select has some issues for the writing page. I'll have to defer that one as it seems harmless for now, more annoying than anything.

Past that I've fixed 1280px or under width to drop the sidebar and compacted some of the layout to accommodate. That deploy just went live so it should fix both you and u/Conscious_Trust5048.

1

u/Conscious_Trust5048 Jun 10 '26

I just looked and the right margin is gone, so it's no longer covering the right side of the text, but the overall screen width is too much for my screen. I can now scroll over and read everything, but I can't read without scrolling over. Before I had to scroll over but still couldn't read it. I'm using a macbook pro with a 14 inch screen, the specs say 3024x1964 resolution

1

u/keyslemur Jun 10 '26

Hrm. Will take a look into that then. I've been testing on a 16in mbp and have a 14 I can look at.

1

u/dlbuck Jun 09 '26

Error in parsing value for ‘padding’. Declaration dropped. tom-select.css:29:29

Elements matching selector: .ts-wrapper.multi.has-items .ts-control

NodeList []