7,020 karma · joined May 31, 2008 (18y ago) · 3,135 submissions
https://www.github.com/fiveNinePlusR/tabist
comment 6mo ago · link · parent
comment 6mo ago · link · parent
comment 7mo ago · link · parent
they also had to redesign the door handle and people have gotten stuck in the cars because of that and died. not just one isolated incident... more than one case of the car door not working because it's electrical only and the backup physical release mechanism is under a door panel you need to pop off and reach inside to pull after you just got into an accident and are physically disoriented.
70.
The Missing Bundler Features(byroot.github.io ↗)
3 points · by weaksauce · 7mo ago · discuss
comment 7mo ago · link · parent
``` If offset == self.size and size >= 0, returns a new empty array.
If size is negative, returns nil. ```
either way if you are doing stuff with arrays and not checking bounds you can throw an `Array(some_array.slice(x, x+100))` and it will always behave.
comment 7mo ago · link · parent
The easiest way to get around that if you are not carefully using the ranges would be to do `Array(array.slice(a, b))` as that will guarantee an array even if it's invalid. you could override slice if you really wanted to but that would be a performance penalty if you are doing it often.
74.
Optimizing Ruby Path Methods(byroot.github.io ↗)
134 points · by weaksauce · 7mo ago · 64 comments
75.
Windows Defender Is Being Used to Hack Windows(hackingpassion.com ↗)
16 points · by weaksauce · 7mo ago · 3 comments
comment 8mo ago · link · parent
comment 8mo ago · link · parent
comment 8mo ago · link · parent
comment 8mo ago · link · parent
that issue isn't even an issue if you really want screenshots to be something else. you can change basically any shortcut in one place in macos. same with kde.
comment 8mo ago · link · parent
now i'm using kde in linux land and it's the best and most customizable experience. I can't imagine going back to windows ever and would be missing a lot from linux if i went back to macos(though it would be fine).
getting macos keybinding in linux land is a game changer to me: https://github.com/RedBearAK/toshy and this just makes me feel at home.
comment 8mo ago · link · parent
comment 8mo ago · link · parent
comment 8mo ago · link · parent
comment 8mo ago · link · parent
comment 8mo ago · link · parent