shmanio

joined 1 year ago
[–] shmanio@lemmy.world 5 points 9 months ago

It could be an issue with the codecs (browsers are usually pretty limited in what they support). You could try to use a client like Jellyfin Media Player instead. It bundles libmpv, so it plays almost any video format there is.

[–] shmanio@lemmy.world 2 points 11 months ago (1 children)

Honestly, I don't even remember. It was something to do with minor differences in the cursor movements of specific commands.

Anyway, it's been years, anything may have changed in the meantime. I should probably give it another go, those were simple nitpicks that I was too impatient to tolerate.

[–] shmanio@lemmy.world 2 points 11 months ago (3 children)

have to be relatively fluent in Vimscript to pull that off

I don't think so, using ALE just requires to install the plugin and the external programs that it will interrogate. I know almost nothing about Vimscript.

thoughts regarding Vimscript

From what I've seen it's a scripting language like any other, but one that is extremely specific to vim. The syntax is also quite different from anything else, so I never felt the need to learn it.

Neovim

As a general concept, it seems a good idea, I also know Lua so it would seem to be a logical switch for me.

However, during these years every time I tried it it had some slight differences from vim that made using it somewhat annoying. Moreover, it never seemed to provide such a better experience that made me switch permanently. I'd like to like it, but I never had a reason to.

[–] shmanio@lemmy.world 3 points 11 months ago (5 children)

I'm a bit surprised that no-one mentioned ALE. If you want to turn vim into an IDE it goes a long way.

Having the compiler warnings/errors inside the buffer is already really useful, but then you can also add LSPs and there isn't really much missing. I've recently developed a Java program entirely in vim using Eclipse's LSP.

2
submitted 1 year ago* (last edited 11 months ago) by shmanio@lemmy.world to c/selfhosted@lemmy.world
 

I have Jellyfin installed on a remote machine, connected to my laptop and phone via Tailscale. Is it possible to cast from that machine to a gen 2 Chromecast?

From the Jellyfin instance installed on my laptop, in the same LAN, I can authenticate from the phone and cast to the Chromecast, so all the pieces work.

I have tried announcing the subnet from the laptop (--advertise-routes=192.168.1.0/24), with IP forwarding etc. The remote machine accepts the route and can ping the Chromecast (192.168.1.100). From the phone I can connect to the server and start casting. The screen shows the Jellyfin logo, but playing anything has no effect.

Has someone managed to make it work?


EDIT: As I feared, it seems it's not possible. I can't change the routing table of my ISP's router, so the Chromecast can't reach the remote server.

I'll try to find a newer Chromecast, or maybe just get a Raspberry and install the full client there. Thanks everyone!

[–] shmanio@lemmy.world 1 points 1 year ago* (last edited 7 months ago)

You should put some quotes where you use the array:

not_what_you_think=( "a b" "c" "d" )
for sneaky in "${not_what_you_think[@]}"; do
  echo "This is sneaky: ${sneaky}"
done

This is sneaky: a b
This is sneaky: c
This is sneaky: d