So doing some "coding challenge" where I needed to replace "*" with vowels in a sentence, I came up with these two vim regex to make some tests:

From this

> Lorem ipsum dolor sit amet

:s/[aeiou]/*/g
L*r*m *ps*m d*l*r s*t *m*t

> Replaces vowels with * (easy enough)

:s/.\{-1}\([aeiou]*\)/\1/g
oeiuooiae

> All the vowels in order to replace back

I still haven't done the challenge though...

please DO criticize everything you don't like, I'm really bad at web design, and writing...

Show thread

wrote my first article (although not my first attempt to write an article) about vim's buffers: alazarte.com/buffers.html

@AzureAlmond beware, there's no going back. Once you get familiar with it, you'll try to scroll everywhere with j/k or send :wq to a chat to close it...

or is it just me?

@melyanna I'm not a perfectionist but I manage to dissapoint myself sometimes, what helps me is to know my way forward, and to make steps (big or small) into where I think is the right direction...

hope that helps...

@amolith closing the laptop lid just when the alarm goes off

@ggarron it probably doesn't help, but it does help on thinking the name for thigs, e.g. allow/deny list is self-explanatory; and for a master branch, that only contains major versions, "release" sounds better; or for personal projects where you're the only contributor, having a "main" could be enough. Branches can be renamed anytime, and should be without consequences, this master/main thing is just a nice gesture IMO

@avndp Firefox for both, because it works. But also, I have used all google-related products until not so long ago, when I decided to de-google. That de-googling process included the browser.

@selea @amolith
or devops talking about k8s saying that containers should always be up running whatever they have in them, with layers and layers of abstraction in between; and when something is down developers should be the ones in the front-line because they know the product better
@sir

@jmg@social.nixnet.services potatoes should also be free and libre

welcome

@melyanna first half ending at the end of June I meant, so the second half would start July 1st

I thought you were saying that June was the first month of the second half :(

@melyanna to me, second half of the year starts on July, so there's 6 months from Jan to Jun, and 6 from Jul to Dec

there's still one month left to fix recent events :) ...

@mike I see, I meant that as a joke though. I haven't got anything to worry about so far...

@ataraxia937 @kev

Show older
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.