« first day (4542 days earlier)      last day (598 days later) » 

04:29
0
Q: Two Parallel Linked Chains

Jeremy CollpravBackground We define the two types of chain to be a string that contains only dashes, "-", or only underscores, "_". We link two chains using one equals sign, "=". Criteria: The type of chain must change following an equals sign. You must link the chains, you can do so multiple times, and it doe...

 
4 hours later…
08:15
@mousetail good fact!
 
4 hours later…
12:44
Q: Why did the visual basic programmers girlfriend break up with him?
A: Because he didn't support inheritance
I feel like the joke doesn't really extend to that situation. Feel like it would be better derived from a scenario with a parent-child relationship. That would put it in a more super class of jokes imo
Hmmm maybe
maybe some sort of generalisation of the joke would make it better.
or specialisation depending on which way you draw the arrow :p
I don't know how to describe a parent-child relationship that could reasonably cause conflicts over inheritance in one sufficiently short sentence
there probably exists some variation of the joke that is-a good pun :p
this pun making stuff is fun :p
12:52
It's not really a pun though
except it is: "extend", "derived", "parent-child", "super class", "generalisation", "specialisation", "is-a" - all terms relating to inheritance :p
@mousetail Why did the Rust programmer's girlfriend break up with him? Because he lost his inheritance
Why did the rust programmers girlfriend break up with him?
She didn't like his character traits
Why did the rust programmer break up with his girlfriend?
She kept borrowing his things
13:16
Why was the Rust programmer sad?
His girlfriend's lifetime ended
6
It took a few attempts but you finally wrote a decent joke
13:53
Why did the Prolog programmer end up being funny?
He backtracked until he succeeded
import time as lyxal
lyxal.sleep(28800)
14:20
til your name is Lyxal and not iyxal
14:58
the tags feels weirdly fitting :P
3
You need to climb a tree through the window to escape?
The question is though: Are you running from the cops or from the robbers?
15:14
@NewPosts someone move that to trash plz
if you are willing to do that
i understand mods are striking.
16:12
16 million gigabytes, eh? Gordon Moore is lurking in a corner going, "Well... I mean, not quite yet..." — FeRD Apr 15, 2019 at 21:36
@NewPosts A program to generate all matching strings in Regenerate, 41 bytes: _+=-+(=_+=-+)*(=_+)?|-+=_+(=-+=_+)*(=-+)?
Aha! Finally found a less brute-force way. 37 bytes: ((_)|-)+=(-{#2}!_)+(=$1+=$3+)*(=$1+)?
i feel like there should be something without backreferences that's shorter too
The problem is there's no way to say "if the earlier choice was an underscore, then choose hyphen, else choose underscore"
16:23
and this is also near the length of the existing regexes
16:34
Oh, and the other problem is Regenerate doesn't have look(ahead|behind), so it can't say "also the result has to contain an equals sign somewhere"
16:47
Can someone remind me of the etiquette behind posting a challenge inspired by someone else's challenge?
16:59
i think its just credit them
17:15
Idea for a regex flavor to have: something analogous to \b but it matches between any two different characters (i.e. the boundaries of runs of identical characters).
I guess it might be harder to implement than \b, since for \b you only need to track a boolean flag for whether the previous character was a word or non-word character
Wow apparently magnetic tape is still a pretty solid way to store data
I knew it was used for archival/backup purposes, but it seems like it's fairly fast too
> Store up to 1EB per 18-frame library with 2.5:1 compression
First time I've seen "exabyte" used casually enough to be abbreviated :p
would still only have to track the last character
but i guess that could be nontrivial for compiling the regex
@RydwolfPrograms LMAO
That's what, a million terabytes right? Tera -> peta -> exa?
yup
@UnrelatedString I'm not really sure how regexes are actually implemented. I know regular expressions per se can be translated into state machines, but I'm not sure if that still applies if you throw in all the non-regular-expression features in most regex flavors.
17:30
i think some of the non-regular extensions can reasonably be implemented "on top" of compiled state machines but i've never really looked into it myself
 
1 hour later…
18:37
Speaking of big amounts of data, what can I do about a 7.4GB .git folder?
git gc --prune --aggressive only shaved like 100MB
18:52
Mm, the majority of that is .git/lfs/objects. I don't think there's anything I can do about that
And almost all the rest is a single file inside .git/objects/pack
This might be, unfortunately, as small as it can get
@Bbrk24 delete it and make a new repository /s
19:55
Switching branches now takes 37 seconds
21:00
@DLosc i looked into it recently, its a VM
21:11
WHAT
0
Q: Scheduling online meetings

Victor AlekseevThis is a question from past years contest/ I pass some of test cases but fail after all and struggling to find out what was wrong. There is text of problem^ Grandma Alevtina has a very large family that lives in different cities. Previously, all family members gathered at Grandma Alevtina's hous...

21:42
@Bbrk24 Do you just have a lot of commits or what?
If you're forking someone else's godforsaken repo, just clone with depth 1 or something
@user A recent commit on one branch moved 6GB of stuff from regular storage to LFS
Oh do large files make your .git folder git big?
Yeah, git LFS is for large files that change infrequently, so it stores them without delta compression
22:02
Eww does anyone know how to make VS Code handle ctrl-tab/ctrl-shift-tab reasonably
It seems like ctrl+shift+tab does the same thing as ctrl+tab
Nasty
Really? Pretty sure it works normally for me
Wait no...it just goes by most recently viewed
yay I fixed it
1204
A: Is there a quick change tabs function in Visual Studio Code?

SC_ChupacabraBy default, Ctrl+Tab in Visual Studio Code cycles through tabs in order of most recently used. This is confusing because it depends on hidden state. Web browsers cycle through tabs in visible order. This is much more intuitive. To achieve this in Visual Studio Code, you have to edit keybinding...

Ah i guess I've already set that option at some oint
One annoying thing that VS Code does is that if you have multiple cursors and use Ctrl+Left/Right arrow to go to the next/previous word, it deselects all but your first cursor and only moves that one to the left/right
Ctrl-Shift-Arrow works for that
I remember how powerful I felt the first time I did ctrl-shift-arrow with multiple cursors
Oh
Isn't Ctrl+Shift+Arrow to aso select the next/previous word?
22:09
Yeah, but then you press the arrow by itself to deselect :P
Hmm
Thanks
22:26
Okay why does VS Code make it so annoying to use your own custom theme
Text for Chrome was easier and I had to unpack the extension and edit the source manually for that
Once it's on the extension page it's super easy
I can't speak for creating a new one
Sublime Text is great for that
You can open up an editor for the theme right there and it even gives you suggestions for editing it

« first day (4542 days earlier)      last day (598 days later) »