u/Cosme12

1,187 post karma · 349 comment karma · joined Nov 2015

  1. 15points

    I created an offline backup of love2d wiki in zim format (github.com)

    0 comments · source

  2. 64points

    My 16 years old Casio. I babysit it too much (i.redd.it)

    6 comments · source

  3. 86points

    My Newbie homelab diagram. Just getting into this hobby and learning about networking (i.redd.it) [Diagram]

    6 comments · source

  4. 0points

    World war cuts global internet. What would you self host or download before it happens? (self.selfhosted)

    20 comments

  5. 41points

    Do you carry a swiss army knife (or similar) with you? Why or why not? (self.AskMen)

    122 comments

Cosme12

Yo busqué lo mismo jajaja

Cosme12

Awesome! You are the best!

Cosme12

Oh right, I forgot about that little detail. Thanks for uploading it!

Cosme12

You should make yourself a website, I'm sure this is not the first not last great design you will make 🙂

Cosme12

Is it sky team game? Did you make it yourself or where could I print my own? It looks so awesome!

Cosme12

Nice. Add a few screenshots in your GitHub's readme

Cosme12

My experience is that as you start making a big application with Flask, you start importing more and more dependencies until you end up with a framework like Django. But with more stuff to update. If your project is small you don't need the extra stuff from Django, but if it ends up being big, you will miss those features.

Cosme12

Hey, do you still have it? Would you mind sharing it? I really want to play from the laptop

Cosme12

Thanks! I will message you soon. The HP has only one Ethernet slot. So it's pretty limited what I could do to upgrade the network. But messing with pfsense will be a huge and interesting learning activity.

Cosme12

Hey everyone!

Here is a small diagram I made for my small homelab. I'm just a simple programmer who never passed networking class, so many things in this diagram may be wrong!.

The graphic is based on this post from caiuscorvus. It's been made with draw.io

I'm using a HP Prodesk 400 G4 Mini with i7 8th gen, 16gb ram and 1tb ssd. After having 4 power outages in two days and losing one hard drive from the server, I decided to buy a small ups. Hopefully with the low comsuption I can get 1 hour extra life. The good thing is that I managed to install the monitoring software inside the server and connect the usb to it.

I'm also using the ISP default modem/router, that explains the ugly ip ranges. Pfsense should probably be my next big step but I still need more research and learning before taking the leap.

I mostly use it to deploy some apis for a little game I'm building and for remote developing at work.

Hope you like it and please any feedback to fix mistakes in it is welcome!!

Cosme12

The good thing I noticed after going from a Raspberry to Proxmox VMs is that you can isolate things. That way I can break things without affecting other services that I'm already using daily.

Cosme12

Van Gaal was the unprofessional for trash talking before the match. That's why it was so heathed.

Cosme12

Right, once you have you final graph you output it to flask's static folder where it could be displayed in the website, skipping the uploading part.

Cosme12

I'm not sure if I understood correctly but you could make a local flask proyect and call the processing script (the one that uses panda) and then paste the resulting graph in the website?

If the proyect is local, there is nothing to be uploaded. 🤷‍♂️

Cosme12

You need to bind your local files to the container via volumes. That will allow you to edit your local code and make your container reload without rebuilding.

Also, you should be using gunicorn with --reload param.

Hope that gives you some hints.

Cosme12

I'm not in US so I will be one of those no so lucky guys. I was thinking it will probably boil down to self made software so probably a git server will be a must. Most website are hosted in aws so like 80% of what I browse will be down. I should probably make a list of what I frequently use and look for self hosted alternatives that could run in old hardware

Cosme12

You are right, I should only use the most basic functions to do the graphics. I will probably give it a try and do everything in C

Cosme12

Yeah, I have been messing with CFFI all day long and it's really easy to use. It probably won't be the best solution here but I'm definitely using it in the future now that I'm getting how C works.

Cosme12

Awesome, it looks really easy. I was scared thinking "everything in C is hard" but those example in the website make it look really simple. The other cool thing is that it's all pure C!

Cosme12

Great, I think I will give it a try to SDL2. Doesn't look that hard and I will be using the basics only.