- 22 Posts
- 105 Comments
reboot6675to Books@lemmy.world•Don Quixote by Miguel de Cervantes - Free Public Domain Ebook Download41·2 months agoReading it in Spanish is a pain in the ass even for a native speaker, book is from the 1600s so you can imagine the language is really different to what it is today. I imagine there must be some version in “current language”, but in school we were told to read the original and it was a pain, didn’t get past the first quarter then and never tried reading it again
reboot6675to Games@lemmy.world•How do you keep track of what games you have played over the years?English2·2 months agoJust a .txt file on my laptop
reboot6675to Football@lemm.ee•Champions League: Was the league phase a success after PSG win final vs Inter Milan?English1·2 months agoI was skeptic beforehand but actually I think it turned out pretty good
I mean you can set it so that only your friends see your posts. And they are French so I suppose they at least follow GDPR. But yeah, of course it collects your data and all that stuff like all social media
Haven’t used Skype for years to talk to friends or family, but kept using it until now when I needed to call some place in my home country (usually banks) by “real” phone call, because support via internet either sucks or doesn’t exist at all. Now looking for alternatives…
I have mixed feelings about that company. They have some interesting things “going against the flow” like ditching the cloud and going back to on prem, hating on microservices, advocating against taking money from VCs, and now hiring juniors. On the other hand, the guy is a Musk fanboy and they push some anti-DEI bullshit. Also he’s a TypeScript hater for some reason…
reboot6675to Buy European@feddit.uk•German grocery store chain Lidl evolving into tech company that could eventually replace Amazon AWS (video in German)31·4 months ago“Buying storage and compute services from Lidl” is a wild sentence I never thought I’d say haha
“I fixed the problem by putting /* eslint-disable */ at the top of a file”
Hey this was really cool! Thanks for sharing :)
I’ve been thinking about trying it out for a while but not sure if it would work out for me. However I have an old Android with only Spotify installed that I take to the gym and I’m really liking it, maybe I will start using it more in other places as well.
Mario Party Jamboree also pretty cool for party game
reboot6675to guitars@lemmy.world•At what point are you good enough to join a band?English2·5 months agoUnfortunately I’ve struggled with this myself :/ (moving to a new country didn’t help either)
reboot6675to guitars@lemmy.world•At what point are you good enough to join a band?English6·5 months agoI’d say go for it if you get the chance. Playing with other people is a game changer in your music journey. Then it’s not only focusing on your playing but also on what the others are playing, following the tempo, the dynamics…
Related question, what CalDAV server are you using? Been looking for something lightweight
reboot6675to Open Source@lemmy.ml•Boycotting FOSS projects in the wake of the "buy canadian/european" movement makes no sense31·5 months agoWasn’t Spotify Swedish tho? But yeah
Agree with Zero Mission. Second would be Dread and then Super. Haven’t played Fusion tho, long overdue…
Usually artists go on tour after releasing a new album, to promote said album. So of course they’re going to play new stuff.
The ideal for me is a good balance. Some new songs mixed with the classics.
Go
Using a map to store u|v relations. Part 2 sorting with a custom compare function worked very nicely
spoiler
func main() { file, _ := os.Open("input.txt") defer file.Close() scanner := bufio.NewScanner(file) mapPages := make(map[string][]string) rulesSection := true middleSumOk := 0 middleSumNotOk := 0 for scanner.Scan() { line := scanner.Text() if line == "" { rulesSection = false continue } if rulesSection { parts := strings.Split(line, "|") u, v := parts[0], parts[1] mapPages[u] = append(mapPages[u], v) } else { update := strings.Split(line, ",") isOk := true for i := 1; i < len(update); i++ { u, v := update[i-1], update[i] if !slices.Contains(mapPages[u], v) { isOk = false break } } middlePos := len(update) / 2 if isOk { middlePage, _ := strconv.Atoi(update[middlePos]) middleSumOk += middlePage } else { slices.SortFunc(update, func(u, v string) int { if slices.Contains(mapPages[u], v) { return -1 } else if slices.Contains(mapPages[v], u) { return 1 } return 0 }) middlePage, _ := strconv.Atoi(update[middlePos]) middleSumNotOk += middlePage } } } fmt.Println("Part 1:", middleSumOk) fmt.Println("Part 2:", middleSumNotOk) }
When I was a kid I encountered this problem when I wondered what would happen if I half-empty a bottle of soda, re-fill it with water, and repeat. Will it eventually become just water or will there always be some soda left? It boggled my mind for a while, then I forgot about it until I reached university calculus haha