ademir

joined 1 year ago
MODERATOR OF
[–] ademir@lemmy.eco.br 4 points 1 week ago (1 children)

isnt reddit older than Saw?

[–] ademir@lemmy.eco.br 3 points 2 weeks ago

You definitely should! Lmao

[–] ademir@lemmy.eco.br 1 points 2 weeks ago

I think Occam's razor would apply.

[–] ademir@lemmy.eco.br 48 points 3 weeks ago (12 children)

This was a thing for a short time, most people on lemmy didn't like it.

[–] ademir@lemmy.eco.br 2 points 4 weeks ago* (last edited 4 weeks ago)

It is federating for all instances that have the !fediverse@lemmy.world community federated, but only because @isaac@microblog.lakora.us tagged the community in his message.

[–] ademir@lemmy.eco.br 5 points 4 weeks ago

The problem is on mastodon side.

Go see their repo and PRs for groups.

[–] ademir@lemmy.eco.br 3 points 4 weeks ago (1 children)

we rarely go digging too much through the archives

Not for day to day use, but the main value reddit had was because of good information posted there. I hope Lemmy could replace reddit on that matter too. So when you need to search for something online you could use the fediverse as a good source instead of proprietary sites.

[–] ademir@lemmy.eco.br 4 points 1 month ago (1 children)

Lemmy is FOSS and still alpha software. The raw truth is either you ask nicely and hopes someone implements what you're asking or code it yourself.

[–] ademir@lemmy.eco.br 3 points 1 month ago

Awesome! Glad to see you are back!

[–] ademir@lemmy.eco.br 1 points 1 month ago

HAHAHAHAHAHAHA

1
submitted 8 months ago* (last edited 8 months ago) by ademir@lemmy.eco.br to c/brasil@lemmy.eco.br
 

.:: UPDATE ABORTADO ::.
Aparentemente apareceu um bug cabuloso na versão 0.19, é melhor dar uma segurada.

 

Para checar sigam para: https://lemmy.eco.br/instances

imagem

0
G-Man: Real-Life Confirmed! (packaged-media.redd.it)
submitted 9 months ago* (last edited 9 months ago) by ademir@lemmy.eco.br to c/linux_gaming@lemmy.world
1
submitted 9 months ago* (last edited 9 months ago) by ademir@lemmy.eco.br to c/brasil@lemmy.eco.br
 

... para adicionar nossas comunidades ao diretório de !comunidades@lemmy.eco.br

Quem puder ajudar, cria um tópico lá com o seguinte formato:

Formato

  • Título. nome da comunidade | !nomedacomunidade@lemmy.eco.br
  • URL. URL do ícone da comunidade.
  • Corpo. Descrição da comunidade com o link no seguinte formato:
    [!nomedacomunidade@lemmy.eco.br](/c/nomedacomunidade@lemmy.eco.br)
 

cross-posted from: https://lemmy.ml/post/8543124

In anticipation of Lemmy's upcoming 0.19 release, and to work out any final issues, we're going to deploy a test release on lemmy.ml within the next few days.

We're doing this testing on lemmy.ml only, so that we can encounter any issues before the release, and to make sure the upgrade process is smooth for other production servers.

Some of the following will happen during the process:

  • Apps will likely break (only for lemmy.ml)
  • Lemmy.ml may experience some downtime for the upgrade to complete (ideally no more than an hour).
  • If anything goes wrong, we may have to restore from a database backup, meaning content made in between backups may be lost.

If all goes well, we'll have an official announcement for the release after this testing period.

I apologize for the difficulties this might cause. At most this will be a week of hair-pulling, but its vital that we catch any issues before telling other servers to upgrade.

0
submitted 9 months ago* (last edited 9 months ago) by ademir@lemmy.eco.br to c/linux@lemmy.ml
 

OpenSSH's ssh-keygen command just got a great upgrade.

New video from @vkc@mspsocial.net


Edit:

She has a peertube channel: !veronicaexplains@tinkerbetter.tube and it federatess as a Lemmy Community

The Peertube video in Lemmy.ml: https://lemmy.ml/post/8842820

Link to the video in your instance.

 
 

PT-BR: Por isso fui banido do evento Reddit com u/Spez (Steve Huffman) LOL

1
submitted 9 months ago* (last edited 9 months ago) by ademir@lemmy.eco.br to c/linux@lemmy.ml
 

cross-posted from: !linux@lemmy.eco.br | https://lemmy.eco.br/post/1969330

I've been using Gnome for about 10 months and it always bothered me that my city (with more than a million inhabitants) was not found in the Weather program.

I looked for solutions several times and never found them, until I found this thread yesterday. That the user Julian made a script that solves this problem. you just have to run and enter the name of your city and then confirm.

script

#!/bin/bash

if [[ ! -z "$(which gnome-weather)" ]]; then
	system=1
fi

if [[ ! -z "$(flatpak list | grep org.gnome.Weather)" ]]; then
	flatpak=1
fi

if [[ ! $system == 1 && ! $flatpak == 1 ]]; then
	echo "GNOME Weather isn't installed"
	exit
fi

if [[ ! -z "$*" ]]; then
	query="$*"
else
	read -p "Type the name of the location you want to add to GNOME Weather: " query
fi

query="$(echo $query | sed 's/ /+/g')"

request=$(curl "https://nominatim.openstreetmap.org/search?q=$query&format=json&limit=1" -s)

if [[ $request == "[]" ]]; then
	echo "No locations found, consider removing some search terms"
	exit
fi

read -p "If this is not the location you wanted, consider adding search terms
Are you sure you want to add $(echo $request | sed 's/.*"display_name":"//' | sed 's/".*//')? [y/n] : " answer

if [[ ! $answer == "y" ]]; then
	echo "Not adding location"
	exit
else
	echo "Adding location"
fi

id=$(echo $request | sed 's/.*"place_id"://' | sed 's/,.*//')

name=$(curl "https://nominatim.openstreetmap.org/details.php?place_id=$id&format=json" -s | sed 's/.*"name": "//' | sed 's/".*//')

lat=$(echo $request | sed 's/.*"lat":"//' | sed 's/".*//')
lat=$(echo "$lat / (180 / 3.141592654)" | bc -l)

lon=$(echo $request | sed 's/.*"lon":"//' | sed 's/".*//')
lon=$(echo "$lon / (180 / 3.141592654)" | bc -l)

if [[ $system == 1 ]]; then
	locations=$(gsettings get org.gnome.Weather locations)
fi

if [[ $flatpak == 1 ]]; then
	locations=$(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations)
fi

location="<(uint32 2, <('$name', '', false, [($lat, $lon)], @a(dd) [])>)>"

if [[ $system == 1 ]]; then
	if [[ ! $(gsettings get org.gnome.Weather locations) == "@av []" ]]; then
		gsettings set org.gnome.Weather locations "$(echo $locations | sed "s|>]|>, $location]|")"
	else
		gsettings set org.gnome.Weather locations "[$location]"
	fi
fi

if [[ $flatpak == 1 ]]; then
	if [[ ! $(flatpak run --command=gsettings org.gnome.Weather get org.gnome.Weather locations) == "@av []" ]]; then
		flatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations "$(echo $locations | sed "s|>]|>, $location]|")"
	else
		flatpak run --command=gsettings org.gnome.Weather set org.gnome.Weather locations "[$location]"
	fi
fi


It occurred to me that some people might not know how to run scripts, so here's a brief tutorial:

How to run scripts in Linux

  1. Save the script to a text file and save with the .sh extension
  2. Provide execute permission: chmod u+x script.sh
  3. run the script by double clicking or ./script.sh
 
view more: ‹ prev next ›