alyth

joined 1 year ago
[–] [email protected] 1 points 1 month ago

discernible breasts

Now there's a username waiting to be taken

[–] [email protected] 10 points 1 month ago* (last edited 1 month ago)

Oh my it's Montogmery Python, creator of the Python programming language

[–] [email protected] 6 points 1 month ago (2 children)
[–] [email protected] 0 points 1 month ago

Merci beaucoup, maintenant tout est clair 🙏

[–] [email protected] 0 points 1 month ago (3 children)

Merci pour ta réponse ! J'ai copié les paroles que l'artiste a mis dans la déscription du vidéo. Est-ce que tu sais pourquoi elle écrit «pu» ? Est-ce une choix stylistique ? Une erreur ?

[–] [email protected] 0 points 1 month ago

Merci pour ton excellente explication !

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago)

Update (not sure if anyone sees this): I have a 90 minute technical interview on Monday 😳👉👈

[–] [email protected] 3 points 1 month ago

Thank you for the very thorough reply! This is kind of high quality stuff you love to see on Lemmy. Your use cases seem very valid.

[–] [email protected] 1 points 1 month ago (2 children)

Thanks for sharing this. I took the time to read through the documentation of the re module. Here's my review of the functions.

Useful:

  • re.finditer returns an iterator over all Match objects
  • re.search returns the first Match object or None if there are no matches.
  • r'' use raw strings for patters so you don't have to worry about backslashes
  • the optional flags argument modifies the behaviour (case insensitive, multiline)

Utility:

  • re.sub replace each match in the string
  • re.split split a string by a regular expression

The Match object:

  • match.groups(0) returns the portion of text matched by the pattern
  • match.groups(1) returns the first capturing group
  • match.groups(2) returns the second capturing group, and so on

I don't understand why these exist:

  • re.match like search, but only matches at the beginning of the string. why not just use '^' or '\A' in the pattern you pass to 'search'?
  • re.fullmatch like 'search', but only if the full string matches. Why not just use '\A' and '\Z' in the pattern you pass to 'search'?
  • re.findall Returns all matches. It seems like a shitty version of 'finditer'. The function has three different return types which depend on the pattern you pattern you pass to the function. Who wants to work with that?
[–] [email protected] 3 points 1 month ago

Can't wait for Rypper, the drop-in Zypper replacement written in Rust

1
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 

In an interview with recently deceased author Paul Auster, he says the following:

When I was 9 or 10, my grandmother gave me a six-volume collection of books by Robert Louis Stevenson, which inspired me to start writing stories that began with scintillating sentences like this one: “In the year of our Lord 1751, I found myself staggering around blindly in a raging snowstorm, trying to make my way back to my ancestral home.”

This encouraged me to browse my bookshelf and search for those scintillating first sentences. As it turns out, many of the books that I loved the most really do pack a punch before the end of their first paragraph. Here's my personal selection. Unlike Auster's example, the ones I am sharing do not immediately drop you in the middle of the action, as the number of adventure books on my bookshelf is marginal. However, I do feel they capture a lot about the protagonist and set the tone for the novel.

I would love for you to share yours.

The Brooklyn Follies by Paul Auster:

I was looking for a quiet place to die. Someone recommended Brooklyn, and so the next morning I traveled down there from Westchester to scope out the terrain.

Moon Palace by Paul Auster:

It was the summer that men first walked on the moon. I was very young back then, but I did not believe there would ever be a future.

The Catcher In The Rye by J.D. Salinger

If you really want to hear about it, the first thing you'll probably want to know is where I was born, what my lousy childhood was like, and how my parents were occupied and all before they had me, and all that David Copperfield kind of crap, but I don't feel like going into it, if you want to know the truth.

The Fall and Rise of Reginald Perrin by David Nobbs

When Reginald Iolanthe Perrin set out for work on the Thursday morning, he had no intention of calling his mother-in-law a hippopotamus.

1
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 

A sand colored shirt with the following text printed on it: "You never know the day she has maybe that's a date with destiny and it's best to be as pretty as possible for desginy"

 

... and I can't even continue the chat from my phone.

3
Andersen's Missing Bell - Sometimes (2024) (andersensmissingbell.bandcamp.com)
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 

Andersen's Mising Bell is a melancholic alternative rock band based in Quebec city. Inspired by bands like Manchester Orchestra, The Hotelier, Death Cab For Cutie and Radiohead, the band defines itself by its explosiveness and vulnerability.

Bandcamp

I won’t ever get a house
I won’t ever feel secure
I won’t ever be something more

So just give up already
You’ve got better things to do
Then listen to a lost cause

‘Cause everyone can be replace
And nobody’s special
Sometimes I would just rather

Get hit by a car
I’d feel so much better
Sometimes I would just rather
Get hit by a car
I’d feel so much better
Well, sometimes I would just rather

No I’m not worth your time
(Not worth my time)
And I hope that you leave
As soon as you can
(As you can)

And I won’t even try
(Won’t even try)
To keep you in my life
‘Cause I’m hurting you
Yeah I’m hurting you so bad
(You’re hurting me so bad)

‘Cause I never talk
(Never talk)
And I never smile
I can’t cope with my mind
(With my mind)

So I’ll go back
(Go the fuck away)
To where I belong
All alone in my queen sized bed
(Queen sized bed)

I’m not worth your time
(Not worth my time)
And I hope that you leave
As soon as you can
(As you can)

And I won’t even try
(Won’t even try)
To keep you in my life
‘Cause I’m hurting you
Yeah I’m hurting you so bad
(You’re hurting me so bad)

‘Cause I never talk
(Never talk)
And I never smile
I can’t cope with my mind
(With my mind)

So I’ll go back
(Oh please go the fuck away)
To where I belong
All alone in my queen sized bed
(Queen sized bed)

Sometimes I’d just rather
Sometimes I’d just rather

Get hit by a car
I’d feel so much better
Sometimes I would just rather
Get hit by a car
I’d feel so much better
Well, sometimes I would just rather

Get hit by a car
Get his by a car
And fly (and die)
And fly (and die)

 

When I try to submit a post or comment containing the string [slash]etc[slash] passwd, the submit button goes into a loading state and spins indefinitely. The request is blocked by Cloudflare with status code 403. I can't even search for the forbidden string. You have to check dev tools to find out what went wrong, this error is not handled in the UI at all.

So, if you've ever tried to reply to a tech issue and the UI just won't let you, maybe this is why.

 
 

Sometimes I'll be browsing Firefox and things go wrong seemingly at random - all pages load indefinitely or show a screen indicating failure to load. This can be fixed by running pkill firefox and then starting a new instance. A look at Dev Tools shows that all requests fail and a message NS_BINDING_ABORTED is shown. I have looked up "firefox NS_BINDING_ABORTED" but none of the results 1 2 3 4 5 6 7 provided any solution.

Does anyone here know more about this issue?

Firefox version information:

Firefox Borwser 126.0

Mozilla Firefox for Arch LInux

archlinux - 1.0

426
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]
 

The following text is overlaid over an image of Patrick Star fast asleep on Squidward's couch.

people: why don't you talk about YOUR hobbies?

me: talks about my hobbies

people:

 
view more: ‹ prev next ›