1,035 karma · joined Mar 11, 2009 (17y ago) · 493 submissions
comment 6mo ago · link · parent
comment 7mo ago · link · parent
comment 7mo ago · link · parent
I can imagine that we don't have this option just because people would put their PINs there, and maybe it's not exactly secure enough, but sprinkle some validation on top and we'd be ok.
comment 7mo ago · link · parent
comment 8mo ago · link · parent
do you have "Settings > Keyboard > Keyboard navigation" on? I thought it is on by default, but apparently it isn't. Without it "tab" only jumps between text fields and checkboxes.
There's also an "Accessibility > Keyboard > Full keyboard access", which gives more controls.
comment 8mo ago · link · parent
comment 8mo ago · link · parent
def foo(self, arg=expression):
could, and should work as if it was written like this (pseudocode)
def foo(self, arg?): if is_not_given(arg): arg=expression
if "expression" is a literal or a constructor, it'd be called right there and produce new object, if "expression" is a reference to an object in outer scope, it'd be still the same object.
it's a simple code transformation, very, very predictable behavior, and most languages with closures and default values for arguments do it this way. Except python.
comment 8mo ago · link · parent
comment 8mo ago · link · parent
now, functional languages don't have this problem at all.
comment 8mo ago · link · parent
comment 10mo ago · link · parent
I've got my computer second hand from some rural school accounting department in south of Russia, circa 1994. Who knows how it got there. And who got and wired SCSI adapter compatible with ISA bus in that box.
comment 10mo ago · link · parent
Every time I figured out a weird hidden keyboard combination to exit from yet another game was a happy day.
comment 10mo ago · link · parent
comment 10mo ago · link · parent
I think i've seen someone coded user-friendlier `git undo` front for it.
comment 10mo ago · link · parent
Just a month ago, I remembered one MUD I've been trying out since 2003. And found that it is still online, and my password still works. Very weird feeling to log in to something 22 years later. It was pretty advanced at the time, with 256 color support, IPv6, advanced encoding support, etc. https://cryosphere.org/