pe1uca

joined 2 years ago
MODERATOR OF
[–] pe1uca@lemmy.pe1uca.dev 9 points 9 months ago

As long as you mean a landslide win by a party lead by a guy who said a religious charm was better during the pandemic than any medication, vaccine or any countermeasure, a guy who said "women deserve to go to heaven" when asked if he's feminist, a guy who has said all the power should be concentrated in the government, not in independent entities, a guy who said eolic turbines make the landscape ugly, and who made two big investments in refineries during his administration... Yeah, it's a good thing to see the left-wing in the power.

[–] pe1uca@lemmy.pe1uca.dev 25 points 9 months ago (4 children)

She IS AMLO's administration, there was no word from her before he said something about anything during her campaign.

AMLO had said since the beginning of his term he was going to disappear from the public to his state after today, but earlier this year he said he would come back if the circumstances demanded it, and just last month I think he said he will stay around.

I don't wish her luck, I wish México luck.

[–] pe1uca@lemmy.pe1uca.dev 8 points 9 months ago

I could even go further into saying: always test every change you make, do not assume the change has been made because you updated a file.

[–] pe1uca@lemmy.pe1uca.dev 4 points 9 months ago* (last edited 9 months ago)

I use rclone and duplicati depending on the needs of the backup.

For long term I use duplicati, it has a GUI and you can upload it to several places (mines are spread between e2 and drive).
You configure the backend, password for encryption, schedule, and version retention.

rclone, with the crypt submodule, you use it to mount your backups as am external drive, so you need to manually handle the actual copy of the data into it, plus versioning and retention.

[–] pe1uca@lemmy.pe1uca.dev 5 points 10 months ago

No, it doesn't suit the needs of the country, it suits the needs of the political party of the president.

Everyone with half a brain agrees this is bad and will make any judge bound by their promises in campaign (ha, more like the promises to their party and promoter) and allow any one to do the job of someone that should have good qualifications.

[–] pe1uca@lemmy.pe1uca.dev 3 points 10 months ago

Those are silent, they're there for history reasons.

rit de façon maniaque en français

[–] pe1uca@lemmy.pe1uca.dev 65 points 10 months ago (6 children)

Well, the issue will be developers of other apps would force us to re-google since any build of the app would be useless unless installed from the play store...

[–] pe1uca@lemmy.pe1uca.dev 14 points 10 months ago

a console has better optimisation for lower price.

Something else to have in mind, some times they're like a printer, the device is relatively cheap but you have to buy other stuff to actually have it working.

In PC you can find several places to buy and download games (even when it feels like only one or two exist), in console you only have the manufacturer.
In PC as long as you have internet you can play multiplayer, in console you have to subscribe to their online services.

[–] pe1uca@lemmy.pe1uca.dev 2 points 10 months ago (1 children)

I can't give you the technical explanation, but it works.
My Caddyfile only something like this

@forgejo host forgejo.pe1uca
handle @forgejo {
	reverse_proxy :8000
}

and everything else has worked properly cloning via ssh with git@forgejo.pe1uca:pe1uca/my_repo.git

My guess is git only needs the host to resolve the IP and then connects to the port directly.

[–] pe1uca@lemmy.pe1uca.dev 5 points 10 months ago

One of my best friends introduced me to this series back in MH4U for the 3DS.
As someone mentioned in other comment, these games are definitely not newbie friendly haha. I started it and left it after a few missions, I don't remember what rank I was, but definitely the starting village. Afterwards we finally got time to play and he mocked me since my character had less armor than his palico :D
We played more often and he helped me reach higher ranks until G-rank.

Each game has had a different kind of end game.
For MH4U were the guild quests which were randomly generated, I loved this, it made the game not feel like a total grind, but it only made it feel like that, because it really was a grind to both get the correct quest and level it up to get the relics you wanted.

The one I enjoyed the least was MHGen/MHGU because there's no end game loop, once you reach G-rank the game doesn't have anything else to offer, so you can just grind the same missions you already have. Of course this can be considered an end game loop since maxing your armor and weapons takes a long time (and IIRC some older fans mentioned this was ad-hoc with the theme of remembering old games since they where like that).

For MHW were the investigations which felt a bit like MH4U guild questions but without the random map.
The only downside of this game and the Iceborn expansion was the game as a service aspect, you could only access some quests on some days of the week, you had to connect to the internet to get them, and also one of the last bosses is tied to multiplayer, which if you have bad internet or only time for a single quest is impossible to properly finish.

I've bought each game. Around 200 minimum in each one. IIRC 450+ in MH4U and around 500 in MHW (mostly because it's harder to pause in PS4). MHRise/Sunbreak

MHRise is one of the most relaxing ones with the sunbreak expansion since you can take NCPs on all missions, they help a lot to de-aggro the monsters and enjoy the hunt.

I was with some friends from work when the trailer for MHW released and we literally screamed when we realized it was an MH game haha.

The only change they've made between games that I found really annoying was to the hunting horn. It was really fun to have to adapt your hunt to each horn's songs and keep track of what buffs were active and which ones you needed to re-apply (in reality you always rotated your songs over and over so you never ran out of your buffs).
But in Rise each song now is X -> X, A -> A, and X+A -> X+A, there's no combinations.
Every hunting horn only has 3 songs, previously some horns could have up to 5.
When you play a song twice the buff applied goes up a level, well, in Rise they made it a single attack to play all your songs twice.
It feels like they tried to simplify the weapon but two teams got in charge of providing ideas and they implemented both solutions, which made the weapon have no depth at all.
Also, previously you felt like the super support playing hunting horn, each time you applied a buff a messages appeared showing the buff you applied. Yeah, it was kind of spammy, but it felt nice having a hunting horn on the hunt.
In Rise they decided to only display a message the first time you apply the buff and that's it, so if you re-apply it there's nothing, even when you keep buffing your team. Ah, but if you use bow the arc shot does spam the buff message, so you feel less than a support than the bow :/

Due to work I haven't followed all the news of MHWilds, but I'll definitely buy it.


For the next posts my recommendations would be the series Sniper elite, Mario and Luigi, Pokemon mystery dungeon, and Disgaea.
(Maybe also another theme of posts could be genre/mechanic, like tactics games or colony management in general)

[–] pe1uca@lemmy.pe1uca.dev 10 points 10 months ago (1 children)

Ohhh! Now I understand!

Yeah, then that's an issue on mastodon.
I mentioned some time ago, the fact that mastodon and Lemmy use the same protocol is annoying, because the experiences are different, so it causes a lot of issues :/

[–] pe1uca@lemmy.pe1uca.dev 11 points 10 months ago (13 children)

Unless lemmy devs have changed something since last year, this shouldn't be the case, there's a bug in there.

All interactions are recived by the instance hosting the community, and that instance is responsible for broadcasting that interaction to each instance where a user subscribed to it is hosted.
So, mastodon is only responsible for sending the upvote to feddit.dk and then feddit.dk to all other instances.

 

Is normal soap all I need?

Recently I read rinsing the chicken usually spreads more the bacteria we're trying to kill by cooking it, and I've been doing this in the sink.

So I'm wondering if even without rinsing the chicken the knives, cutting boards, even just my hands touching the raw chicken could be also spreading bacteria after washing them with only soap.

 

I just attached a new volume to my vps and usually I follow the instructions provided using parted and mkfs.ext4 but I decided to try ZFS.

The guides I've found online are all very different and I'm not sure if I did everything correct to know the data will be safe.
What I mean is running lsblk -o name,size,fstype,type,mountpoint shows this

NAME     SIZE FSTYPE   TYPE MOUNTPOINT
vdb      100G          disk
└─vdb1   100G ext4     part /mnt/storage
vdc      100G          disk
├─vdc1   100G          part
└─vdc9     8M          part

You can see the type and mountpoint of the previous volume are listed, but the ZFS' ones aren't.

Still I can properly access the ZFS pool I created and I also already copied some test data.

root@vps:~/services# zpool list
NAME         SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
local-zfs   99.5G  6.88G  92.6G        -         -     0%     6%  1.00x    ONLINE  -
root@vps:~/services# zfs list
NAME         USED  AVAIL     REFER  MOUNTPOINT
local-zfs   6.88G  89.5G     6.88G  /mnt/zfs

The commands I ran were these ones

parted -s /dev/vdc mklabel gpt
parted -s /dev/vdc unit mib mkpart primary 0% 100%
zpool create -o ashift=12 -O canmount=on -O atime=off -O recordsize=8k -O compression=lz4 -O mountpoint=/mnt/zfs local-zfs /dev/vdc

Does this look good?
Should I do something else? (like writing something to fstab)

The list of properties is very long, is there any one you recommend I should look into for a simple server where currently non-critical data is stored?
(I already have a separate backup solution, maybe I'll check to update it later)

14
Custom voice input service (lemmy.pe1uca.dev)
submitted 2 years ago* (last edited 2 years ago) by pe1uca@lemmy.pe1uca.dev to c/android@lemmy.world
 

Is there any keyboard which lets you configure the service used for voice input?
I'd like to set an URL to a selfhosted service to send my voice to be processed which then will return the transcription.

If no keyboard exists for this any app would do.
The idea is the app lets you stream the audio to the given service and will receive the response and show it for you to edit, similar on how google keyboard has the voice input.

Bonus points if it's open source :P

 

I'm not sure in which community to ask this, if you know of a better one let me know.

I already have squid proxy working, if I set up my browser or curl to use the proxy all sites work properly.
But when I try to make a request with axios it doesn't work.

Here are the logs of squid
The first two lines are successful google connections are from a browser.
The 3rd line is a successful to google using curl.
The 4th line is a successful to ipify using curl.
The last two ones are the ones from node using axios

squid_proxy  | 1693406310.165  12043 127.0.0.1 TCP_TUNNEL/200 56694 CONNECT www.google.com:443 - HIER_DIRECT/142.250.217.132 -
squid_proxy  | 1693406310.166  10681 127.0.0.1 TCP_TUNNEL/200 47267 CONNECT apis.google.com:443 - HIER_DIRECT/142.250.176.14 -
squid_proxy  | 1693406325.551    497 127.0.0.1 TCP_TUNNEL/200 24778 CONNECT www.google.com:443 - HIER_DIRECT/142.250.217.132 -
squid_proxy  | 1693406336.829    403 127.0.0.1 TCP_TUNNEL/200 7082 CONNECT api.ipify.org:443 - HIER_DIRECT/64.185.227.156 -
squid_proxy  | 1693406361.410  12590 127.0.0.1 TCP_MISS/503 4358 GET https://api.ipify.org/? - HIER_NONE/- text/html
squid_proxy  | 1693406361.889    385 127.0.0.1 TCP_MISS/502 3948 GET https://www.google.com/ - HIER_DIRECT/142.250.217.132 text/html

The errors sent to axios are these:

# ipify
[No Error] (TLS code: SQUID_TLS_ERR_CONNECT+GNUTLS_E_FATAL_ALERT_RECEIVED)
SSL handshake error (SQUID_TLS_ERR_CONNECT)  
This proxy and the remote host failed to negotiate a mutually acceptable security settings for handling your request. It is possible that the remote host does not support secure connections, or the proxy is not satisfied with the host security credentials.  

# google
The system returned: [No Error]

My code looks like this

const axios = new Axios({
	proxy: {
		host: proxyIP,
		port: proxyPort,
		protocol: 'http'
	}
});

const ip = await axios.get('https://api.ipify.org?format=json');
console.log(ip.data);


const res = await axios.get('https://www.google.com');
console.log(res.data);

Any idea what might be happening?

I'm not sure if axios handles the connection in a different way since the logs from the browser show CONNECT and axios shows GET, but maybe that's because it's failing to actually connect and it only logs the request method.

 

I have an implementation for an internal API, the requirement is to implement some sort of basic authentication instead of oauth (generating a token).

Do you think there's any difference between using just an API key vs using a client id + secret?
For what I see it'd be just like saying "using a password" vs "using a user and a password".

13
submitted 2 years ago* (last edited 2 years ago) by pe1uca@lemmy.pe1uca.dev to c/pcgaming@lemmy.ca
 

I just reinstalled windows in a new SSD and forgot to export in some way the settings for my logitech devices.
The old SSD is still around but it's cumbersome to run windows from there just to copy the settings, so I mounted with and adapter and to read the settings files.

The LGHUB storage is an sqlite DB located in C:\Users\<user>\AppData\Local\LGHUB\settings.db
And you can just query select * from data which contains the settings as a json.

It'd be better to send it to a file sqlite3 settings.db 'select file from data' > data.json (mine was 7.5MB of data)

 

I've been creating separate accounts for some of my selfhosted services, some are to further sub-divide the data, but for sure I always have an admin account and the account I use day to day.

What's your account creation schema?
What do you think about creating multiple accounts for your selfhosted services?

 

The bug allows attackers to swipe data from a CPU’s registers. […] the exploit doesn’t require physical hardware access and can be triggered by loading JavaScript on a malicious website.

 

The bug allows attackers to swipe data from a CPU's registers. [...] the exploit doesn't require physical hardware access and can be triggered by loading JavaScript on a malicious website.

 

I've been putting off having a local copy of the series and movies I watch because I still can access them quickly and cheaply enough in some streaming service, I think it's time to plan ramping up my selfhosted setup.

 

I'm wondering what are the pros and cons about saddles with no nose like this one https://www.amazon.ca/Nose-Saddle-Comfort-Large-Bicycle/dp/B087ZBPFCH

My only thought is a bit about balance, I mean the nose can help you grip to the bike better with the thighs than trying to do it to the frame with the legs, specially for someone just learning to ride a bike (this seat will be for my wife).
Any other thought you have about that kind of seats?

 

All guides to deploy using docker mention typing your keys/credentials/secrets into the docker compose file, or use a .env or similar file, I'm wondering how secure is this and if there's a better option.

Also, this has the issue of having to get into the server to manage them, remembering which file has each credential.

Is there a selfhostable secrets manager? I've only found proprietary/paid ones for large infrastructures and I just need it for a couple of my servers/projects.

view more: ‹ prev next ›