• 0 Posts
  • 13 Comments
Joined 1 year ago
cake
Cake day: June 6th, 2023

help-circle


  • May not be the most popular choice, but I absolutely love Sublime Merge. Only issue I have is that it doesn’t support workspaces. But I love how it doesn’t abstract git away. Most actions in the UI are just called like the underlying git command, there are no non-git things like a “sync”. Plus you can always click on the top to see which commands exactly were executed and with what output. And it’s Sublime-typical wicked fast.

    It’s an unlimited free trial with the dark mode disabled. License costs $100 and lasts for 3 years of updates.




  • Treeniks@lemmy.mltoLinux@lemmy.mlHyprland is now fully independent!
    link
    fedilink
    arrow-up
    55
    arrow-down
    7
    ·
    2 months ago

    People keep saying this happened only because vaxry got banned from the FDO, completely forgetting the fact that hyprland has used their own modified fork of wlroots for ages now. They’ve wanted to get away from wlroots even before this whole fiasco, it really just tipped the needle for them to finally pull the trigger.

    Mind you also, the ban in no way prevents hyprland from using wlroots still. The only thing the ban did was prevent vaxry from contributing to wlroots upstream, which is damn unfortunate if you ask me.



  • I’m a little confused about this one. The mappings are total, that is any number that is not defined explicitly gets mapped to itself. So it’s easy to create an example where the lowest number does not get mentioned within a range:

    seeds: 0 3
    
    seed-to-soil map:
    10 0 2
    
    soil-to-fertilizer map:
    100 200 5
    
    fertilizer-to-water map:
    100 200 5
    
    water-to-light map:
    100 200 5
    
    light-to-temperature map:
    100 200 5
    
    temperature-to-humidity map:
    100 200 5
    
    humidity-to-location map:
    100 200 5
    

    Here, we have seeds 0, 1 and 2. seed 0 gets mapped to location 10, seed 1 gets mapped to location 11 and seed 2 gets mapped to location 2. That means location 2 would be the answer, but it’s not a start of any range. I guess this just doesn’t happen in any of the inputs?

    EDIT: actually it’s double weird. If you implemented a backwards search, that is you create reverse mappings and then try out all locations (which is what I and many others did), the result of the above example is location 0, whereas if you create a forwards brute force of all seeds, the result is 2. For the reverse approach to work in all cases, the mappings would have to be bijective.