alyth

joined 2 years ago
[–] alyth@lemmy.world 9 points 3 hours ago* (last edited 3 hours ago) (1 children)

Who cares about some billionaire's opinion. I would assume he restructured his portfolio and wants to see some gains.

[–] alyth@lemmy.world 3 points 1 week ago

A lot of them unfortunately, at least in Europe every other news article quotes a politican's Twitter post

[–] alyth@lemmy.world 2 points 3 weeks ago* (last edited 3 weeks ago)

I used Babel for a bit. The quality seems good. There's little to no gamification, it feels like a digital version of a classic language learning textbook. They offer around 12-13 languages up to level B2. If you decide to purchase a lifetime subscription, it's on sale every couple of months for 130-180 USD.

[–] alyth@lemmy.world 7 points 1 month ago* (last edited 1 month ago)
[–] alyth@lemmy.world 11 points 2 months ago (2 children)

A great remedy to stuff being hard to find is that you can press the slash key / to open a command palette

645
XDG_CONFIG_HOME (lemmy.world)
submitted 4 months ago* (last edited 4 months ago) by alyth@lemmy.world to c/linuxmemes@lemmy.world
 

The template of this meme is that of the man who cheerfully points his hand at a butterfly, asking "Is this a pigeon"?. In this meme, the man has been covered with icons of the applications IntelliJ, VSCode, Chromium and Signal. The butterfly which he points to is overlaid with the caption ".config". He asks "Is this a trash can?" At the bottom of the image, we see the command du -sh executed on the directories .config/chromium/ and .config/Code, yielding file sizes of 1016M and 83M respectively.

[–] alyth@lemmy.world 1 points 9 months ago

I was just lurking, but I appreciate you sharing your knowledge and I like your use of the ^^;; and XD emojis :3

[–] alyth@lemmy.world 3 points 9 months ago

endeavour os cool sometimes I think I can do nothing but a few questions about the costs of the world I thought I would like to get the latest Flash player is required for video playback is unavailable right now and I will be in the summer and I will be in the summer and I will be in the summer

[–] alyth@lemmy.world 1 points 10 months ago (1 children)

What do you use? I'm happy with i3 and haven't looked at other window managers in a while.

[–] alyth@lemmy.world 1 points 11 months ago

discernible breasts

Now there's a username waiting to be taken

[–] alyth@lemmy.world 3 points 11 months 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.

[–] alyth@lemmy.world 1 points 11 months ago

Thanks for posting the link separately 🙏

[–] alyth@lemmy.world 1 points 11 months 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?
62
submitted 1 year ago* (last edited 1 year ago) by alyth@lemmy.world to c/news@lemmy.world
 

A hiker in the Austrian Alps died when a herd of cows charged her, while her two daughters survived with injuries [...]. The woman was on a hike with her two daughters [...] and two small dogs yesterday [...] in the Salzburg region when the cow herd charged [...]. “It is still not clear what happened,” a police spokesman [said].

1
submitted 1 year ago* (last edited 1 year ago) by alyth@lemmy.world to c/books@lemmy.world
 

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.

 

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

 

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.

 
 

Translated and adapted from the video description:

The 1st stage of the Arden Challenge - a Belgian cycling race held in the province of Luxembourg, in Wallonia - could have gone very wrong. 10 kilometers from the finish line, a runaway horse interfered in the race and started chasing the cyclists. Its presence clearly disturbed the cyclists, who fortunately did not fall. The animal was then stopped admirably by the young Belgian rider Lars Daniels (Antwerp Cycling Team Kontich), who, given the situation, intervened immediately.

 
 

I'd give up the Gunfighters because the story is just.. kind of lame, really, and exchange it for The Daleks' Master Plan, it's a great serial filled with action and sets which would benefit from being on video.

 

Lien Internet Archive: https://archive.org/details/LesStructuresSonoresLasryBaschetdownloadLaguMp3.com

Lien Youtube: https://www.youtube.com/watch?v=awaFd6gArLg

Lien Piped: https://piped.video/watch?v=awaFd6gArLg

Here's a documentary (in French) about Les Structures Sonores, the experimental music group behind the soundtracks of The Web Planet and Galaxy 4.

view more: next ›