« first day (2334 days earlier)      last day (1169 days later) » 

8:59 AM
Moming
 
9:47 AM
yo !
 
10:43 AM
Interesting. It seems all webp encoders bind to the libwebp codebase that's written in C @DenysSéguret. It's unfortunately one of the reasons why the static site generator that I use hasn't added support for it. It's fantastic otherwise, but they want everything to be written in Go. Rust's Zola, which is comparable to that static site generator does seem to be open to adding such support.
 
Problem is webp doesn't have obvious reasons to exist
That's probably why everybody stopped before writing good libs for it
 
Better welcome our AVIF and JPEG XL overlords.
 
I completely agree.
It's just a shame that it's used for page rank.
 
 
5 hours later…
4:15 PM
Is there a way to only have questions within a subset of tags show up on the Stackoverflow homepage?
Before I start adding hundreds of tags to "Ignored tags"
 
@Jason you can change your homepage to watched tags but that is kind of ew
and by "change your homepage" I mean obviously "make a bookmark that links to that page and use it instead of going to stackoverflow.com"
 
ah yes, good old homemade homepage
 
@trentcl Ah, that is unfortunate. I had something like that setup, but thought I might have missed something. Thanks!
 
you could also probably go the long way around and make a user extension that completely rewrites the home page and feeds it your custom questions from the api
 
@FélixGagnon-Grenier I have already been struggling to with a broken Webpack build, haha. I need to relax.
 
4:22 PM
oh, I see you have put the fingertip into webpack.
heh, welcome in hell :)
 
Haha, it's not just Webpack
Add Gulp and TypeScript as well and it's just … a mess.
 
hang in there, you'll get to liking it eventually. at least I have ;)
took like... 2 or 3 years
 
Ah, this one is mine, I had to upgrade from 4, I've been using it for quite some time.
 
 
2 hours later…
6:17 PM
@Jason what reason is there to still use gulp today? (honest question)
 
@Shepmaster Oh, no!
I'm thinking where I should start with this odd story.
Hugo doesn't support anything that renders math, e.g. Katex or MathJax
So I added a step with Gulp that would do so after Hugo generated a build.
I mean, it's my own fault in this case for adding all those dependencies at the time.
 
I mostly ask because I skipped the generation where gulp was heavily used, so I don't have a good sense of when to use it
 
I came up with the contraption when Hugo was not bundled with esbuild and didn't have many options for handling images, so that's where gulp came from.
 
i basically only use webpack
driven by npm/yarn scripts
 
6:59 PM
@Shepmaster it comes with some functions that I found to be useful in this case, e.g. watching files, globbing, running tasks on changes, either in series or parallel. It has a browserify as well, so on each change the local environment would update accordingly.
I find it to be a nice way to glue things together. In this case Webpack, Hugo and wanting to render math.
 
7:53 PM
I used Gulp before I used webpack.
And Grunt before Gulp
 
8:25 PM
@DenysSéguret Bacon is so good
@DenysSéguret How do you find time to write all this shit?
I'm your fan, I look up to u
 
8:53 PM
Ah @trentcl I was about to ask what OP meant or if they could provide examples of the desired behavior.
I think the easiest option might be to just duplicate the string and see whether it's contained within.
 
9:20 PM
Hum, I'm still not sure I follow what the author actually wants, but thank you for suggesting Iterator::eq.
 
9:31 PM
I think it's a standard-ish text processing exercise
The prefix-suffix stuff reminds me of something
I think with your suggestion (of replacing , with ;) the algorithm does what they want.
 
@trentcl Do you understand the algorithm? I am at at loss at what it's attempting to do.
@trentcl Definitely seems like it, I've seen such exercises before.
In its current state, replacing the , with ; it still returned false for is_rotation("hello", "ohell")
hellohello
    ^^^^^
    ohell
I expected it to return true for that right rotation.
 

« first day (2334 days earlier)      last day (1169 days later) »