IMDb now requires an account to read user reviews
1mon 13h ago in movies@piefed.social from i.postimg.ccLetterboxd is where it's at
Why Everyone’s Picking Up a PSP Again in 2026 (my article!)
2mon 26d ago in gamesOh man I loved my PSP back in the day, I played a ton in it. I had a modded one and I also installed PSX and GBA emulators.
I remember that when I bought it, it came already modded but it wasn't a permanent mod. To activate the mod after rebooting I had to navigate to the images folder and load up a PNG (I think?) image that was called Chicken or something like that. The most annoying part was that it didn't work consistently, so often times it would cause the console to hang and I had to try again. It always blew my mind how an image could trigger the hack like that, looking back I guess it was a malicious payload or something and some race condition somewhere idk.
If I remember correctly, after a couple years I was able to change the mod to a permanent one. I sold it like 10 years ago
What’s the currently best way to manage TOTP tokens?
3mon 9d ago in selfhostedCame here to say this
We live in the future!
3mon 10d ago in programmer_humor@programming.dev from lemmy.zip"Exploiting immigrants to deliver food"
Meta’s AI facial recognition smart glasses plan ‘will put women at risk’
3mon 23d ago in fuck_ai from www.independent.co.ukI remember when some students did a PoC of this to showcase the dangers of the glasses, and Meta replied like "why are we to blame, it would have worked the same with any camera". Well, any other camera doesn't look like a regular pair of glasses motherfucker.
What's your favourite emotionally devastating movie?
4mon 1d ago in movies@piefed.social- One flew over the cuckoo's nest
- Aftersun
- The father
- Manchester by the sea
- Million dollar baby
Same but worse
5mon 18d ago in comicstrips from sh.itjust.worksYeah, but back then no work, no responsibilities, friends not busy all the time...
👪 - 2025 DAY 7 SOLUTIONS - 👪
6mon 12d ago in advent_of_code@programming.devGo
Now I'm behind by 1 day, will try to catch up.
For part 2 I spent a good while thinking about it, then when I convinced myself my plan could work, struggled a bit with the implementation. But it worked in the end. Basically grid[i][j] is how many different ways you can reach a cell. Start at 1 on the S cell, then propagate the values down and keep adding up the nums when you reach cells through different paths. The answer is the sum of the nums in the last row.
spoiler
func part2() {
// file, _ := os.Open("sample.txt")
file, _ := os.Open("input.txt")
defer file.Close()
scanner := bufio.NewScanner(file)
input := [][]rune{}
for scanner.Scan() {
line := []rune(scanner.Text())
input = append(input, line)
}
m := len(input)
n := len(input[0])
grid := make([][]int, m)
for i := range m {
grid[i] = make([]int, n)
}
for i := range m {
for j := range n {
c := input[i][j]
if i == 0 {
if c == 'S' {
grid[i][j] = 1
}
continue
}
if c == '^' {
grid[i][j-1] += grid[i-1][j]
grid[i][j+1] += grid[i-1][j]
} else {
grid[i][j] = grid[i][j] + grid[i-1][j]
}
}
}
paths := 0
for j := range n {
paths += grid[m-1][j]
}
fmt.Println(paths)
}
💃 - 2025 DAY 6 SOLUTIONS - 💃
6mon 13d ago in advent_of_code@programming.devGo
Part 2: Read the whole input in a rune matrix. Scan it column by column, store the numbers as you go, ignoring all spaces, and store the operand when you find it. When you hit an empty column or the end, do the operation and add it to the total.
spoiler
func part2() {
// file, _ := os.Open("sample.txt")
file, _ := os.Open("input.txt")
defer file.Close()
scanner := bufio.NewScanner(file)
chars := [][]rune{}
for scanner.Scan() {
chars = append(chars, []rune(scanner.Text()))
}
m := len(chars)
n := len(chars[0])
var op rune
nums := []int{}
total := 0
for j := range n {
current := []rune{}
for i := range m {
if chars[i][j] == '+' || chars[i][j] == '*' {
op = chars[i][j]
} else if chars[i][j] != ' ' {
current = append(current, chars[i][j])
}
}
if len(current) > 0 {
x, _ := strconv.Atoi(string(current))
nums = append(nums, x)
}
if len(current) == 0 || j == n-1 {
result := 0
if op == '*' {
result = 1
}
for _, x := range nums {
if op == '+' {
result = result + x
} else {
result = result * x
}
}
total += result
nums = []int{}
}
}
fmt.Println(total)
}
🧑 - 2025 DAY 2 SOLUTIONS - 🧑
6mon 17d ago in advent_of_code@programming.devFirst I tried to to part 2 with a very poor regex strategy and the performance was abysmal. Switched to plain substrings and boom, instant result.
Golang
func part1() {
ranges := readInput()
invalidSum := 0
for _, r := range ranges {
parts := strings.Split(r, "-")
start, _ := strconv.Atoi(parts[0])
end, _ := strconv.Atoi(parts[1])
for num := start; num <= end; num++ {
current := strconv.Itoa(num)
n := len(current)
if n%2 != 0 {
continue
}
left := current[:n/2]
right := current[n/2:]
if left == right {
invalidSum += num
}
}
}
fmt.Println(invalidSum)
}
func part2() {
ranges := readInput()
invalidSum := 0
for _, r := range ranges {
parts := strings.Split(r, "-")
start, _ := strconv.Atoi(parts[0])
end, _ := strconv.Atoi(parts[1])
for num := start; num <= end; num++ {
current := strconv.Itoa(num)
n := len(current)
for index := 1; index <= n/2; index++ {
if n%index != 0 {
continue
}
left := 0
right := index
prefix := current[left:right]
isRepeated := true
for left < n && right < n {
left = right
right = right + index
next := current[left:right]
if next != prefix {
isRepeated = false
break
}
}
if isRepeated {
invalidSum += num
break
}
}
}
}
fmt.Println(invalidSum)
}
Looking for music player in Linux
7mon 18d ago in opensource@lemmy.mlAI wearables are quietly listening to everyone in Silicon Valley
10mon 10d ago in privacy@lemmy.ml from sfstandard.comSeems someone out there is really mad about memory safety
10mon 22d ago in programmer_humor@programming.dev from sopuli.xyzPhones used to have style
1y 20d ago in dumbphones from imgur.comA 10x Faster TypeScript - MS is porting the compiler in Go
1y 3mon ago in golang@programming.dev from devblogs.microsoft.comThis much nothing
1y 7mon ago in comicstrips from sopuli.xyzOlauncher - Minimal AF Launcher
1y 8mon ago in dumbphones from github.comShigeru Miyamoto comments on AI, says "Nintendo would rather go in a different direction"
1y 8mon ago in games from nintendoeverything.comAcademic paper on dumbphone adoption
1y 10mon ago in dumbphones from acris.aalto.fiSmile!
2y 24d ago in memes@lemmy.ml from sopuli.xyz










