csm10495

joined 1 year ago
MODERATOR OF
[–] csm10495@sh.itjust.works 28 points 2 days ago (11 children)

I'm perfectly fine with competition. This is the world. I'd buy a cheap Chinese car that passed regulations for driving in my country.

Trying to tariff instead of competing is just delaying the inevitable.

[–] csm10495@sh.itjust.works 1 points 1 month ago

Full pls.. in color

[–] csm10495@sh.itjust.works 3 points 1 month ago (3 children)

I'll take one pdf of this video please.

[–] csm10495@sh.itjust.works 1 points 2 months ago

The idea of a clean code base only existed for the original writers.. most of the time.

[–] csm10495@sh.itjust.works 1 points 3 months ago (1 children)

.. effortless casting could be a negative depending on who ya ask.

[–] csm10495@sh.itjust.works 15 points 3 months ago (2 children)

Maybe he was talking in terms of Zimbabwe dollars

[–] csm10495@sh.itjust.works 3 points 3 months ago

Exactly the same boat. But man Cloudflare is better in every way. Having an API to update/fetch records for a zone does wonders.

[–] csm10495@sh.itjust.works 15 points 3 months ago (1 children)

I like htop

[–] csm10495@sh.itjust.works 5 points 3 months ago

Probably but I think the point they were making was more along the lines of: what if the Internet archive itself ran out of money or closed up.

[–] csm10495@sh.itjust.works 4 points 3 months ago

People can abuse it all they want. I've actually used this feature to parse for some info in comments.

I dig.

[–] csm10495@sh.itjust.works 3 points 4 months ago (5 children)

Peanut butter never expires. Ever.

 

Hey folks,

Is it possible to have a mlmym endpoint for sh.itjust.works? Maybe old.sh.itjust.works?

I know the lemmy ui has come a decent ways.. but sometimes I just want to look at it like old reddit.

lemmy.world has one: https://old.lemmy.world/

If not: no big deal. if so: would be cool.

 

Hey folks,

Does anyone know of an app (FOSS or otherwise) that has a built-in REST-server to get current device info?

I'd like to be able to hit the API from within my local network to get info including:

  • Free space vs used space
  • Battery percentage

Why?

I have an old Android device that sits in the closet as a Syncthing node. It does some other random stuff too. I don't really want to have to get up and look at it to find out certain information. I already have a VNC server running on it. I even have a (sketchy) SSH server on it that I currently call df -h on to programmatically get free space info. The SSH server has some weirdness where it seems to stop working after some time, among other oddities. Also it can't get battery level afaict.

I imagine this is possible using ADB, but I don't really want to have to always leave the device in wireless ADB mode or manually put it in that mode each time; unless that is easier than I think.

Thanks!

54
submitted 5 months ago* (last edited 5 months ago) by csm10495@sh.itjust.works to c/tifu@lemmy.world
 

Obligatory: this was yesterday (1/20/24)

In the US 1/20/24 was the last day to buy stamps at the old postage rate. The flat rate for postcards was 51 cents and was going up to 53 cents the next day.

They have a concept called forever stamps for regular letters and a similar thing for postcards. If you buy them today at today's price, you can use them at any time in the future regardless of price increases. So if you'll mail letters or postcards, they're a good deal and future investment.

So anyways we ran to the post office at 4pm. The office was closed except for the self service machine. We need about 90 postcard stamps so I figured I'd get 100 to have some extras for the future.

I was so excited to see postcard stamps for 51 cents. I took a picture: https://i.imgur.com/M997Nfg.jpeg

So we bought 100, which happened to be the most we can buy at once.

At that point the machine began printing 100 individual 51 cents stamps.

Now you may have noticed the issue: it wasn't 100 postcard stamps, but rather 100 stamps each saying 51 cents of value.

It took a long time as each stamp was printed one by one, but I got to stand there sad as I didn't get my forever postcard stamps.

Now to mail my postcards, I'll need to buy 2 cents of postage each (or more when it goes up again). I'll be more careful next time.

Tldr: I bought 51 cent stamps instead of postcard stamps for 51 cents.

Edit: commented with an update after a few days.

22
submitted 7 months ago* (last edited 7 months ago) by csm10495@sh.itjust.works to c/homeimprovement@lemmy.world
 

An electrician 'fixed' an issue by making this hole in a basement cinder block wall.

.. how do I put that box back in or fix the wall or something?

Inside the box are two capped (hot) wires.

The pipe seems to be copper. Doesn't bend or anything. It can't (at least easily) be pushed back in.

I had wanted to use cement paste.. but like what do I do about the box? I guess I could paste everything except the metal pipe but geez: then i still have this sketchy box hanging out.

Images: https://imgur.io/a/yBh2QBD (posted from mobile and don't think the images went through)

Any ideas?

13
submitted 8 months ago* (last edited 8 months ago) by csm10495@sh.itjust.works to c/android@lemmy.world
 

Does anyone know of a way to archive all messages in Android/Google Messages maybe older than a certain timeframe?

I have 100s of old conversations spanning back several years. I finally decided it would be nice to archive (not delete) ones that aren't relevant at the moment. The only way I figured to do this is swipe each conversation one by one.

Is there a faster way to just do it all in one swoop?

Edit: I wrote a quick script to do it via manipulating the Google Messages webui: https://sh.itjust.works/comment/4646349 Worked for me!

7
submitted 9 months ago* (last edited 9 months ago) by csm10495@sh.itjust.works to c/3dprinting@lemmy.world
 

Hey folks,

Anyone have the gcode to do bed leveling and then emit the info back for the octoprint bed level visualizer?

I have an Elegoo Neptune 3 Plus.

I tried the bilevel one on the GitHub page but it seems to make my printer get stuck at home after running.

Edit: it almost seems like when it finishes it just gets stuck in the center with the extruder heat still on. Usually I have to reboot the printer to get it up again. Sort of like it wants me to go check the z offset.

 

Also in an order that confused me.

72
submitted 11 months ago* (last edited 11 months ago) by csm10495@sh.itjust.works to c/selfhosted@lemmy.world
 

Say you have a script or something that gets run in cron/task scheduler and it needs a password.. say to ssh to a raspberry pi elsewhere in your house.

How do you save that password in a way that automation can access it?

Some ideas:

  • Plaintext file. Not a fan because its sitting unencrypted on the box somewhere.
  • Environment variable. Not a fan because its still unencrypted somewhere to someone on the box (albeit likely the same user or an admin).
  • A secrets manager. If I use something locally like hashicorp vault or infisical, I can get to a point where a cli/api call gets the password. Though in this case I still need a vault password/secret to get my password. So I fall back to needing one of the above to get this to work.

If the secrets manager is easily available, the secret to get into the secrets manager is available as well leading to a feeling of security by obscurity.

If someone breaks into my system via SSH/etc. then they can get the passwords either way.

.. How do people normally do this? I'm not sure I actually get anything out of a secrets manager if its local and I have the disk itself encrypted before login.

What actually makes sense at a personal/home scale?

(Edit: I know using SSH key probably is better for getting to the raspberry pi, but still the question is the same idea).

 

.. its a website run by the US Government. Why does it have such large downtimes in this day and age?

301
I miss reddit (sh.itjust.works)
submitted 1 year ago* (last edited 1 year ago) by csm10495@sh.itjust.works to c/unpopularopinion@lemmy.world
 

Warning: This is a rant.

I don't really know how to describe it but the content isn't quite where reddit had been for me. Also the comments are kind of weird at times, like they type of person here doesn't quite seem as 'normal' as what I'm used to from reddit.

There's a lot more open source and privacy focused people and conversations. A lot of people seem to hate on big tech and big companies in a sort of toxic-ish feeling way to me (not to say the other relationship isn't toxic.. just saying). Random conversations go into: "omg your privacy is lost cause you used a Google service." Then we have the 'if we don't defederate with Meta the world ends' conversations. I personally would like to see what Meta does in the fediverse.. maybe it will make it more normalized..idk. Then the: "if your app isn't open source its awful and terrible for the world" people.

Like that stuff is all fine, but it just isn't quite my cup of tea.

These things remind me of that one person in my comp sci classes in college who I just couldn't stand talking to. He would try to make you feel like an idiot by trying to sound all self righteous and smart. (Honestly he would fail and would generally look like a dingus).

The bulk of the content that gets comments seem to be mostly meme atm. At least on all (7/10 of the current top for me are memes). I like my memes, but would like some more breadth/depth.

Like I hope Lemmy continues to grow and hope it gets better, but it leaves me missing reddit at the moment.

In a perfect world I wish reddit corp wasn't such assholes and this whole thing didn't happen the way it did.

I'm completely skipping the UI and stuff not being as familiar and the various outages/bugs/etc since that's to be expected with something at this stage.

Please don't hate me :) Just sharing my unpopular opinion. Though I genuinely wonder if others feel the same way.

/Rant

 

You have a couple days left to buy stamps that can be used to mail letters after the price increase.

If you buy 10 forever stamps at 63 cents, you can use one for each letter in the future regardless of future price increases.

Stock up! Prices will likely never go down.

I bought a few hundred dollars worth to cover holiday cards for the rest of my life.

(Edited title since originally I said 6 instead of 7.. thanks for folks correcting me)

view more: next ›