[-] wasabi@feddit.de 5 points 6 months ago
[-] wasabi@feddit.de 1 points 6 months ago

Desert Cruiser by Truckfighters?

[-] wasabi@feddit.de 3 points 6 months ago
[-] wasabi@feddit.de 2 points 7 months ago

Hemden, die hart gehen.

[-] wasabi@feddit.de 7 points 7 months ago* (last edited 7 months ago)

The real story sounds even weirder. They took his work permit for the sole purpose of stopping any integration that could hinder a later deportation. Wtf. Fachkräftemangel my ass.

[-] wasabi@feddit.de 1 points 7 months ago

What's your hoster?

13
submitted 7 months ago by wasabi@feddit.de to c/selfhosted@lemmy.world

I'm using contabo and the VPS I got is advertised as 1 Gigabit. When I do a speedtest or use iperf3 to connect to public servers I get pretty close to 1 Gigabit. But from my residential IP the speed drops down to 100-250 Mbit/s. My home internet connection can handle 500 Mbit just fine.

I'm looking for a new hoster with a better network connection. What real world speeds do you get with your server?

[-] wasabi@feddit.de 7 points 7 months ago

Looks very broken on mobile.

1000021481

[-] wasabi@feddit.de 8 points 7 months ago

Rastafari gehören aber nicht wirklich zum Christentum, da es beim Fundament des Glaubens signifikante Unterschiede gibt. Rastafari glauben an den äthiopischen Kaiser Haile Selassie I. als Reinkarnation Gottes. In dem Sinne sind Rastafari genauso christlich wie Christen jüdisch sind. Die Wurzeln mögen gleich sein, aber sie unterscheiden sich in den zentralen Aspekten der Religion so stark, dass sie letztenendes nicht miteinander vereinbar sind.

[-] wasabi@feddit.de 31 points 7 months ago

Die AfD gibt sich nur christlich wenn es für die "wir" gegen "die" Abgrenzung nützlich ist.

[-] wasabi@feddit.de 4 points 8 months ago* (last edited 8 months ago)

At Home:

  • FLACs via mpd with a topping headphone amp and Audeze LCD2C headphones
  • Vinyl using an Audio Technica LP120, a Denon AV receiver and cheap wharfedale bookshelf speakers and a Klipsch subwoofer. That Setup isn't really audiophile tbh, especially because the room sounds terrible.
  • Streaming via Qobuz on both systems

On the go:

  • Everything encoded as Opus 128 kbit/s to fit on my phone. Played over Lypertek Tevy true wireless IEMs. Not really audiophile but tbh when I'm not at home I care much more about convenience as long as the audio quality is good enough.
  • also Qobuz, but at MP3 320 quality to save bandwidth

I wrote my own scripts to tag the music and encode it to FLAC and Opus and use syncthing to copy the files to my phone. So whenever I add an album to the library it will be available every where I want in the specified format without any manual copying involved. It's a little janky but has worked surprisingly well for years.

[-] wasabi@feddit.de 6 points 8 months ago

That's not Fraktur. Look at the capital S, which looks quite normal here and looks more like a capital G in Fraktur.

23
submitted 9 months ago* (last edited 9 months ago) by wasabi@feddit.de to c/python@programming.dev

I often find myself defining function args with list[SomeClass] type and think "do I really care that it's a list? No, tuple or Generator is fine, too". I then tend to use Iterable[SomeClass] or Collection[SomeClass]. But when it comes to str, I really don't like that solution, because if you have this function:

def foo(bar: Collection[str]) -> None:
    pass

Then calling foo("hello") is fine, too, because "hello" is a collection of strings with length 1, which would not be fine if I just used list[str] in the first place. What would you do in a situation like this?

13
submitted 9 months ago by wasabi@feddit.de to c/selfhosted@lemmy.world

I'm currently using a VPS from contabo and am curious if I would get better performance CPU and disk I/O wise because of the dedicated resources. The bigger VPS from contabo seem to be in a similar ballpark to the cheapest options available in the hetzner server auction when it comes to corecount, ram and disk size and price.

25
submitted 1 year ago by wasabi@feddit.de to c/selfhosted@lemmy.world

I'm new to the container world. Does it have any security benefits when I run my applications as a non-root user in a docker container? And how about Podman? There I'll run the container as an unprivileged user anyway. Would changing the user in the container achieve anything?

291
5
submitted 1 year ago by wasabi@feddit.de to c/neovim@sopuli.xyz

Sometimes when I am using goto definition I get errors like this one

E5108: Error executing lua: ...t_nvimeitLsr/usr/share/nvim/runtime/lua/vim/lsp/util.lua:1964: Invalid window id: 1000
stack traceback:
	[C]: in function 'nvim_win_get_buf'
	...t_nvimeitLsr/usr/share/nvim/runtime/lua/vim/lsp/util.lua:1964: in function 'make_position_params'
	...nvim/lazy/telescope.nvim/lua/telescope/builtin/__lsp.lua:147: in function 'v'
	...nvim/lazy/telescope.nvim/lua/telescope/builtin/__lsp.lua:391: in function 'v'
	.../nvim/lazy/telescope.nvim/lua/telescope/builtin/init.lua:541: in function 'lsp_definitions'
	/home/user/.config/nvim/lua/user/plugins/ide/lspconfig.lua:80: in function 

What could be the cause of an error like this? Whenever this happens I have to restart nvim.

the config in lspconfig.lua:79 looks like this:

        opts.desc = "LSP: Jump to definition of symbol"
        keymap.set("n", "gd", function()
          telescope.lsp_definitions(ivy)
        end, opts)

Any ideas?

1
submitted 1 year ago* (last edited 1 year ago) by wasabi@feddit.de to c/python@programming.dev

I have seen some people prefer to create a list of strings by using thing = list[str]() instead of thing: list[str] = []. I think it looks kinda weird, but maybe that's just because I have never seen that syntax before. Does that have any downsides?

It is also possible to use this for dicts: thing = dict[str, SomeClass](). Looks equally weird to me. Is that widely used? Would you use it? Would you point it out in a code review?

1
submitted 1 year ago by wasabi@feddit.de to c/openwrt@lemdro.id

I use OpenWrt on x86. I use this build but added a WiFi card and antennas. At first the WiFi performance was very good giving me great speeds and range. Some time ago performance degraded. The signal range is extremely limited giving me disconnects on my phone when I'm 4 meters away.

How could I debug what the cause might be. Any ideas?

view more: next ›

wasabi

joined 1 year ago