freamon

joined 2 years ago
MODERATOR OF
[–] freamon@feddit.nl 4 points 2 years ago

I bought a cheap 'mp3 player' from eBay when I was trying to use my phone less, but it was rubbish: no library function (just the files, listed in the order they were copied), m4a support was limited to low-complexity), Bluetooth dropped if I moved my head.

I was surprised, because there's definitely system-on-a-chip + open-source software combinations that would make a good, cheap player. The kind of places that make them though, will always prefer to use even-cheaper components than what the final retail price would suggest.

So, because everyone uses their phone for music listening now, it's hard to get a dumb player. They're either rubbish, like I bought, or they're completely at the other end of the scale (as in more expensive than a phone)

[–] freamon@feddit.nl 4 points 2 years ago

"Okay everyone find a partner" are the words I least want to hear at these kind of things

[–] freamon@feddit.nl 2 points 2 years ago

Thought that was Willem Dafoe for a second.

[–] freamon@feddit.nl 5 points 2 years ago

Oh cool. Never had a doubt of course. Off to Narnia next apparently (which means I'll have to wait even longer for my imagined Gerwig Star Wars, unfortunately).

[–] freamon@feddit.nl 26 points 2 years ago (3 children)

I like the idea that these reviewers all had the concept for a perfect Barbie movie, and are then criticising this one for not living up to it.

I think that - like most people - when I heard that Gerwig was making a movie out of Barbie, I thought: how the hell is she going to do that?

[–] freamon@feddit.nl 1 points 2 years ago (1 children)

Argh. Sorry. Edited. It's nice that we can edit post titles at least.

[–] freamon@feddit.nl 2 points 2 years ago

Yeah I found her captivating in an androgynous sort-of way. It was very tempting to just post a full frame of her beautiful face.

She has a few iconic scenes towards the end of the film, but they're difficult to capture because they're blurred by VFX.

[–] freamon@feddit.nl 3 points 2 years ago

Also, it was a strange I-guess-I'll-just-die-now of drowning.

[–] freamon@feddit.nl 5 points 2 years ago* (last edited 2 years ago)

Just watched ep 1. Think I'll continue in the same way I watched season 1: admiring how good it looks, but finding it frustrating.

As an example: as welcome as a naked Lee Pace fight scene is, it didn't really establish how many assassins there were / what they were doing at any given moment.

Was good to see Holt McCallney (from Mindhunter), show up though.

[–] freamon@feddit.nl 2 points 2 years ago

I've been thinking along the same lines. The bot will catch up on its own missing data in a couple of days - so it's won't need to do the "over 7 days / over 6 days" biz. When everything is for over 7 days, I'll start putting new entries at the top (with maybe just a single line, for previously mentioned stuff)

[–] freamon@feddit.nl 1 points 2 years ago

I think this is the issue - if the community itself isn't tagged, blocking NSFW on your account doesn't filter the posts (although they should be blurry if the posts themselves are tagged).

Fortunately, most of the untagged communities (inc. celebs) are modded by a user called Madness, so blocking him cleared up my feed.

[–] freamon@feddit.nl 3 points 2 years ago (2 children)

Are there any good fan-edits of ep 3, that keep the good and remove the sucky parts?

 
 
 

Heretical thought I know, that it'd be anyone other than Jimmy Smits, but I read that Bratt had been cast, and was wondering what his role would be. Bratt's a bit younger than Smits (but not as much as I'd assumed).

 

Run the "Basic Lemmy API login script" (see here) first to get value for 'jwt'

#!/bin/bash

# Basic get unread replies script for Lemmy API

# CHANGE THESE VALUES
my_instance=""			# e.g. https://feddit.nl/
my_username=""			# e.g. freamon
my_password=""			# e.g. hunter2

jwt=""			# run basic login script to get this

########################################################

# Lemmy API version
API="api/v3"

########################################################

# Turn off history substitution (avoid errors with ! usage)
set +H

########################################################

# Get inbox messages
get_unread_replies() {
	end_point="user/replies"
	www_data="auth=$jwt&unread_only=true"

	url="$my_instance/$API/$end_point?$www_data"

	curl "$url"
}

get_unread_replies

Personally, I'd use the 'jq' program to de-serialize the reply, e.g.

get_unread_replies.sh | jq '.replies[].comment.content'

My next plan is to use a script like this with a notification service like PUSHOVER, so it can ding my phone if I've an unread message

For each API method, whether it's GET or POST and end_point can be found here, and then each method has a click-through to see what parameters it can take.

2
submitted 2 years ago* (last edited 2 years ago) by freamon@feddit.nl to c/linuxscripts@lemmy.zip
 
#!/bin/bash

# Basic login script for Lemmy API

# CHANGE THESE VALUES
my_instance=""			# e.g. https://feddit.nl/
my_username=""			# e.g. freamon
my_password=""			# e.g. hunter2

########################################################

# Lemmy API version
API="api/v3"

########################################################

# Turn off history substitution (avoid errors with ! usage)
set +H

########################################################

# Login
login() {
	end_point="user/login"
	json_data="{\"username_or_email\":\"$my_username\",\"password\":\"$my_password\"}"

	url="$my_instance/$API/$end_point"

	curl -H "Content-Type: application/json" -d "$json_data" "$url"
}

login

# Make note of "jwt" from reply

This'll reply with JSON data, that includes a value for "jwt", to be used in other scripts that require you to be logged in.

Personally, I'd use the 'jq' program to de-serialize the JSON data, but I thought I'd keep the script simple for now

 
 
 

One Way Out: Andor Season 1

A Flawed Masterpiece - A Rogue One Video Essay

(NERD point: at one point she speculates whether Pao - the Drabatan Commando - was named after Duncan Pow [Melshi], when ackshually, he was named after Chris Weitz's son Paolo)

 

Right now, I'm the guy looking at the butterfly thinking "Is this an Andor meme?", rather than just enjoying the movie or whatever. But Nimona is really good btw (and bonus points: it has Riz Ahmed [Bodhi] in it!)

 
 

I never watched the trailers before the show, but they're very good. The music for the teaser, especially, really evokes the show.

 
view more: ‹ prev next ›