« first day (4978 days earlier)      last day (22 days later) » 

12:10 AM
A priori I would assume it's impossible
But that is an interesting question
12:33 AM
here's some of Matt Parker's terrible python code (but golfed to save me typing): b = [x for x in a]
which I believe can be written b = a[:]
Updog is good imo
12:57 AM
@Neil can you believe ive written that code myself
i wrote it to convert a generator to a list
1:11 AM
Generators 🤣
Love those and how they don't share any methods or types with lists
Meaning if you want to use both generators and lists in a project in the same way, you have to write a wrapper class
Great fun
1:23 AM
@Seggan b = list(a)
or b = [*a]
If I had a nickel for every pretty diagram I've made for a cgcc challenge I'd have like five nickels
That's a whole-ass quarter
1:36 AM
@UnrelatedString import vyxal; a = vyxal.LazyList(b) :p
2:10 AM
... I just found a mistake in an OEIS sequence :p
0
A: Sandbox for Proposed Challenges

emanresu ACount squares in my pi approximation One way to approximate π is the following: Start by drawing a 2x2 square with a quarter-circle in it. Then, the area of the quarter-circle is π. We can approximate this area by filling it with squares. To start, we divide the square into four squares. Only on...

pretty graphs
 
6 hours later…
8:32 AM
@TheEmptyStringPhotographer I've seen this a few times, does it have some special meaning
@Redz it’s Ginger’s Tragic Wormhole 2 userscript which allows you to send arbitrary files via SE.Chat
where can I find this userscript
thx
 
4 hours later…
12:39 PM
0
A: Sandbox for Proposed Challenges

G. SliepenFinal Fantasy Prelude code-golf kolmogorov-complexity music Play the initial section of the Final Fantasy Prelude. This is a 4-octave up-down arpeggio consisting of the following chords: Csus2, Amsus2, Csus2, Amsus2, Fsus2, Gsus2, G#maj7, A#maj7 Rules: Actual sound must play. What environment is...

1:20 PM
When the--
@emanresuA If you count the tower of squares for each colour from the bottom, you get 1,2,3,5,7,11… could this be the prime sequence?
@lyxal that’s so creepy I want to become the impostor and strangle it with my tongue until it dies
1:37 PM
@lyxal ಠ_ಠ
ರ_ರ
2:12 PM
idly considering buying a $2.5k ruggedized laptop for the 30 hour battery life
@TheEmptyStringPhotographer oeis.org/A116601
okay now I'm genuinely considering it
Specifically a Getac S410 G5
only thing making me hesitate is the reportedly abysmal color rendering
2:33 PM
TREE(n) asks for largest possible length of a sequence under a given condition, and increases fast but still computable. Any such function that is finite but uncomputable? Try be not so "trivial"(IDK how to define trivial)
2:49 PM
Do you think they'll:
A) Never get back to me
B) Quote me an absurdly high price compared to resellers
(none of the resellers have the 5G option)
I don't even really need mobile broadband on a laptop, the idea of it is just so cool that I can't resist it if the laptop supports it as a config option
I wouldn't be surprised if I could add in the 5G later somehow, maybe it's M.2, but I can find literally no info online
Actually yeah I'd be shocked if it wasn't an M.2 module
which I could totally add myself
3:15 PM
yeahh
you know something I realized
when you use SSH, and the latency feels almost nonexistent, that's a packet going back and forth every keystroke. there's no reason the web can't be that fast
and if you navigate to something like motherfucking website that's just plain HTML, it is that fast
like you click the google result and it's instantaenous
I resent the implication that websites which aren't plain HTML are necessarily slow :p
I think you're biased by poorly designed college websites
No, I just mean that that's the absolute baseline for the fastest a website can be, all else being equal
CSS and well-written JS won't slow down the first paint that much
but modern frameworks, fonts, unnecessary AJAX, all that stuff definitely can
oh and ads and analytics
3:23 PM
eugh
theseus loads in under a second (without caching) on my desktop, which I am very proud of
@rydwolf Yeah ads is the main one
Did you see that viral Twitter story (I saw it copied to Tumblr) where someone set up a pi-hole to block all ads network-wide and suddenly everything loaded faster?
yeah
It does read as kinda overexaggerated though
4:03 PM
...would anyone happen to know of a Firefox extension that does nothing but make visited links globally not change color? No idea how to search for one
Trying to combat my reflex to do most of my browsing in private windows since, surprise surprise, browsing history can be helpful, but having these hideous purple links peppered all over Wikipedia is making it a little hard
You could make a userstyle that does something like this:
a:visited {
    color: unset;
}
idk if that's how unset works
I am finding some extensions that let you change the visited-link color, but no evidence that they can uniformly change them to the same color as unvisited links regardless of how those are styled
Ooooh, thanks
@rydwolf no, that makes it the default text color
So I just make a userscript that injects that into the CSS of everything?
Oh :(
i don't think there's a way to say "color if it were to be not visited" in css
4:06 PM
ah, it seems to do tgat yeah
So you'd have to programmatically edit the existing styles for it I suppose
Is it specifically wikipedia you care about, or also other sites?
Everywhere
An extension like that might exist for security reasons
It definitely bugs me the worst on Wikipedia though so just having something scoped to there to turn the purple links blue ought to be fine
4:08 PM
Side-channel attacks that read browser history using :visited styling are pretty common
They prevent any obvious means of doing it by limiting the styling changes to color and text-decoration and stuff, but much subtler things like timing attacks have been found
And the closest I've found from that are... an extension that selectively nukes individual URLs from your history, and an extension that globally enables visited link coloring on sites that don't have it
🙃
You could maybe do something super janky with ::after?
using JS for this seems kinda nuclear but it might be the only option
Maybe iterating through document.styleSheets and nuking any blocks that use :visited?
Not sure if that's something possible or not
Less nuclear than a non-JS-based extension of some sort :P
Ooh yeah that could be possible
wait fuck even the actual extension in Firefox are in JS
😭
4:18 PM
Looks like it is actually possible to use deleteRule to delete a styling rule, and selectorText with a regex to test for :visited
That sounds promising
You'd just have to somehow listen for new stylesheets, maybe with a mutation observer on head
Not sure if that captures every method of injecting stylesheets tho
And I assume the same dynamic content caveat would apply to, like, trying to just cover everything with rules capturing every link in the most specific terms possible
4:21 PM
Wait you mean like, just specifying your own link styles to cover up any existing ones?
That would work if you used !important, since .style styles are the only things which override it, and can't depend on the :visited status
But making the override link color work for different background colors would be difficult
i'm confused, does layout.css.visited_links_enabled in about:config not work?
i'm guessing you already tried because it's the first result
Yeah, my idea was to still respect however unvisited links are styled
@RubenVerg Ooooooooh that sounds very promising LMAO
Did not occur to me that there would just be a straight up setting for it, even though I assume I'm not the only one to find those bothersome
I'd imagine the security issues is another big reason the setting exists
did you not write "firefox disable visited link color" in your favorite search engine
IT WORKS
Thank you so much
@RubenVerg I searched the addons :P
Did consider searching "how to" after the addons didn't turn up anything but that was still only on the premise that I would get better addon results
4:30 PM
@UnrelatedString Thought i was on to something :(
 
3 hours later…
7:03 PM
0
A: Loopholes that are forbidden by default

The Empty String PhotographerMaking an OS specifically designed for the challenge In this sandboxed challenge, it says you can use any environment you want. So I thought, what if you made a specific OS where the Python distribution that was made for the OS had a feature that played the tune in just a single function call? Su...

7:25 PM
@rydwolf IIRC most browsers will ignore :visited styles when using e.g. getcomputedstyle, but there's probably ways around it
Unless something goes terribly wrong, like a side channel in SVG rendering, there are not ways around it
It's a very known vector for attacks so plenty of attention is paid to preventing it being exploited
Ah okayy
 
2 hours later…
9:05 PM
@rydwolf What kind of attacks?
9:46 PM
Leaking browser history
Not like, RCE or anything, but it's an attack vector known to have been exploited by advertisers and porn sites
ah okay
Another day another attempted trump assassination lmao
This time bro didn't even get to shoot, sadly
Wait seriously?
Yup, on his golf course
9:54 PM
Heard there were shots fired a few hours ago but only recently that they confirmed it was an actual assassination attempt
Something something would never endorse political violence mumble not the country we should aspire to build something something
But third time's the charm is all I'm saying
Honestly I'd feel a lot worse about a successful assassination if it occurred before the election
because then the republicans can use the martyr argument
That's true, I think Trump is probably a bit of a Hitler right now, in the sense that (well in addition to all the other senses) he's more damaging to his cause to keep alive than dead
I think this is a talking point that gets a little overexaggerated, but the media and the left are definitely better than they used to be at letting Trump shoot himself in the foot
10:20 PM
Yeah
10:33 PM
Today on computer science education at a public research university in the US
Currently fighting to open a file in a Java application that refuses to let you open the open a file dialog twice without closing and reopening the whole thing
Oh Java
@UnrelatedString 😋
10:47 PM
The Overflow blog keeps saddening me because I see on and it's like "Oh, I could read about that topic" and then it's a podcast.
real
I did pull it off eventually by copy-pasting the absolute path into the dialog (and making sure not to include the quotes that Windows' File Explorer sticks on there if you copy it from there :P)
@ATaco REAL
It's bad enough when I find podcasts with transcripts but without transcripts? Vile
Wicked
And it's like EVERY actual interesting thing they stick in that side bar is just a damn podcast
YES
like the actual blog posts are all just advertising scammy shit
all the interesting stuff ends up as podcasts
10:53 PM
The best ones are when the summary of the podcast doesn't match the actual content of the podcast
E.g the time the blog post identified the wrong gold badge recipient despite the fact it was correctly identified in the podcast
It's been corrected since
11:26 PM
YIL I don't need to type visual in PowerToys Run to open VS Code, I can instead just type vs and it'll come up in the search results
11:44 PM
I simply type code in my terminal 😏
Star if you'd also add user
I'd add User
@ATaco ew that opens default vs code
I use preview :p
"insiders" as Microsoft calls it
huh, code-insiders opens it
ctrl + space, v, s, enter is still shorter :p
Ctrl-Space doesn't do much of anything if I don't have a program focused, and then it depends on if the program does anything with that key combination
it opens autocomplete in vs code for example
11:47 PM
ah I meant alt+space
ah okay
forgot the keyboard combo for PowerToys run despite the fact I use it all the time
...that just opens a menu asking if I want to close or minimize the current window
ah okay
I was about to say, I know there's Win-R
11:48 PM
it has a whole bunch of things like PowerToys run, which is basically Spotlight for windows
spotlight is pretty cool ngl
I used to love Spotlight when I had a mac, so user telling me about PowerToys was a really good thing
KDE also supports it for those on Linux

« first day (4978 days earlier)      last day (22 days later) »