Algorithm suggestion
If you need to accept a stream of rectangles as input (i.e. can't keep all of them in memory), then you can keep a priority queue for the "rectangle end" events, where you'd insert an event when you encounter a beginning of a rectangle.
Algorithm suggestion
You can use a broom: have a data structure that represents what's going on in a single row that can be updated. Whenever you move to a new row, update it to take into account rectangles that appear or disappear in that row (which you can find by having a list of rectangle starts and ends and sorting that instead of just the list of rectangles).
The candidate for such a structure is a sorted dictionary that maps left ends of intervals to their IDs and right ends. You can simply amend it (by adding/removing the appropriate entry) and you can construct the spans by iterating over it while keeping aside a stack of still-open rectangles.
An IMO common variant of (b) is "this thing existed for a totally different reason and was good enough here". I mention this explicitly, because it's a variant of (b) that can happen without ~any passage of time.
description of injury
Note that "retained" doesn't mean that it goes back to normal. It's apparently (based on a few random websites) very common for the pulp to become necrotic (because it has lots its blood supply and that apparently has very little chance of reconnecting reasonably) and thus for the tooth to require root canal treatment.
@soupglasses @delroth @FedericoSchonborn
If those maintainers were employed earlier by someone else (and their job was not maintaining nix/nixpkgs) then how does that change the time/energy/work situation?
(I agree that it might create a conflict of interest situation, but don't see how it shifts available work away.)
@msw @whitequark @filippo @attie @brown
In a transactional relationship with upstream why would you ever send patches upstream?
The backlight of the departures board of my train station is curiosly partially broken. (I'm somewhat surprised that the edges of the broken area are that sharp.)
Higgs boson? :P
In what way? Just poorer sound, or more latency, or more cutouts?
@foone Huh, I haven't seen biprotocol serial and ps2 mice. Is the pinout of the adapter reasonably standard across them, or specific to a particular manufacturer?
@b0rk Especially that you can manually manipulate the remote ref, and then there's no way of telling what that means.
What does "please use your device's built-in loudspeakers" mean for people using a desktop computer? (I use a desktop and _have_ no speakers: I exclusive use headphones with it.)
My own experience is that games nearly always work with proton, and when they don't it's not because of something that needs to be tweaked, but some bullshit like extremely invasive anti-cheat that won't work on Linux at all. I had the latter experience once (or twice, I'm not sure) out of ~100 games on Steam I've played.
I'm not really the target demographic of your question (I don't use Windows since quite a long time). That said, https://www.protondb.com/ will give you a clue about runnability of games using Steam's Windows emulation stack.
Same thing with another poll: https://social.jvns.ca/@b0rk/112050034752815560
This time 3x.
Yup, only polls.
@patcharcana another search term to find episodes is "Sachgeschichten" (the show is 90% that and 10% animated shorts of the titular mouse doing something amusing -- those are called "Lachgeschichten")
If you want to avoid sadness, avoid the episodes (I think 3 in total) subtitled Nachkriegsmaus (they are about the life in just-post-WW2 Germany).
I enjoy things around information theory (and data compression), complexity theory (and cryptography), read hard scifi, currently work on weird ML (we'll see how it goes), am somewhat literal minded and have approximate knowledge of random things. I like when statements have truth values, and when things can be described simply (which is not exactly the same as shortly) and yet have interesting properties.
I live in the largest city of Switzerland (and yet have cow and sheep pastures and a swimmable lake within a few hundred meters of my place :)). I speak Polish, English, German, and can understand simple Swiss German and French.
If in doubt, please err on the side of being direct with me. I very much appreciate when people tell me that I'm being inaccurate. I think that satisfying people's curiosity is the most important thing I could be doing (and usually enjoy doing it). I am normally terse in my writing and would appreciate requests to verbosify.
I appreciate it if my grammar or style is corrected (in any of the languages I use here).