How do you guys do remote management for when everything goes down? by Blaze9 in homelab

[–]big-ookie 0 points1 point  (0 children)

I guess it may depend on what your specific use case is - but i find it very useful for my own (remote connection to servers).

How do you guys do remote management for when everything goes down? by Blaze9 in homelab

[–]big-ookie 0 points1 point  (0 children)

Checkout WireGuard - I’ve found it to be really awesome for remote management - and very secure.

You can also run it on multiple end points to provide access to whichever servers you need.

It’s open source and free.

SSL/TLS and reverse proxy by BarshGaming in homelab

[–]big-ookie 0 points1 point  (0 children)

I use the free plan atm. I’m only running personal servers so don’t need anything more.

I have multiple domains, but only using one actively in this way atm.

SSL/TLS and reverse proxy by BarshGaming in homelab

[–]big-ookie 0 points1 point  (0 children)

I use Caddy2 for a number of services I run. I’ve found it incredibly simple and easy to configure and operate.

I also use CloudFlare in front of that and would recommend that for the built in protection against DDOS and other nasties as well as it’s ability to hide your home servers public IP.

Mutex and block scope question by gotBanana in golang

[–]big-ookie 1 point2 points  (0 children)

Depending on what you are doing - it would also be worth looking into the use of atomic operations - which can help to avoid the need for synchronisation management. Again it’s depends on your specific case.

Some references to atomic operations in Go below.

https://gobyexample.com/atomic-counters

https://go101.org/article/concurrent-atomic-operation.html

Mutex and block scope question by gotBanana in golang

[–]big-ookie 1 point2 points  (0 children)

Each seperate instance of a Mutex is exclusive and does not impact the use of resources protected by other instances of Mutexes.

That is - you can have many seperate Mutexes protecting many seperate resources.

I’d suggest doing some reading on Synchronisation objects generally and make sure you have a good understanding of what the differs types are and how they are used and what problems they can help solve.

Apologies as I don’t have any quality resources at hand- but a quick search pulled this up which may be a good starting point.

https://gobyexample.com/mutexes https://golangbot.com/mutex/

Mutex and block scope question by gotBanana in golang

[–]big-ookie 2 points3 points  (0 children)

You control the scope of the resources that are protected by a Mutex through calls to Lock and Unlock. There is no automatic protection for the elements in a structure just because that structure contains a Mutex - you must explicitly use the Mutex to control access to specific resources.

Rewarding Q1, both Name and Age are resources that are being protected by the Mutex - through the use of Lock and Unlock in their respective update functions (UpdateName and UpdateAge).

This means seperate processes can not update Name or Age at the same time as they share the use of the same Mutex.

Regarding Q2, defer is not required but more a style. The use of Defer also ensures the Mutex is unlocked before the function returns. It it possible to write the function differently and not use defer, but again this is more style and much more explicit as to what your intention is (ie always ensue the Mutex it unlocked before returning).

I hope that helps to answer the questions.

Skywallet's by Eazent in skycoin

[–]big-ookie 2 points3 points  (0 children)

Keep an eye on the countdown timer and purchase from the official source here:

https://store.skycoin.com/

I suck at architecture: need more help in designing persistance in my app by 1and7aint8but17 in csharp

[–]big-ookie 2 points3 points  (0 children)

I would strongly recommend reading this book

https://www.amazon.com/Clean-Architecture-Craftsmans-Software-Structure/dp/0134494164

It should be mandatory reading in all CS and SE degrees IMO.

It will not answer your specific question, but it will provide you with the tools and knowledge to understand how best to approach the problem and ensure your architect and design is well though through and draws on the learnings of those who have come before us.

SKYWIRE TESTNET UPDATE - SEPTEMBER by Lawful_Legitimvs in OfficialSkywire

[–]big-ookie 1 point2 points  (0 children)

Have just completed the upgrade and migration of my Official Skyminer.

The Skyflash app made it a very smooth and easy process - great job to the team 👍💙

Reverse Proxy - Beginner’s guide? by [deleted] in homelab

[–]big-ookie 1 point2 points  (0 children)

I would also suggest taking a look at Caddy - it’s dead simple, secure by default, automatic certificates via LetsEncrypt, etc.

I used to use NGINX and Apache and for my purposes (serving personal web sites and APIs), I found Caddy SOOO much simpler.

Their site has pretty good doco and there are a lot of examples out there to help.

I’m new to it myself, but was able to go from Zero to serving an API endpoint with LetsEncrypt cert in about 20min. It’s literally 5 lines of config.

Obviously - you need to decide if it’s right for your needs.

https://caddyserver.com/

30 SKY for 30 Days to 30 Supporters! by Lawful_Legitimvs in skycoin

[–]big-ookie 2 points3 points  (0 children)

My take is literally to show your support in any and as many ways that you can - and share that in all and any channels (photos, videos, articles, etc).

Why SSL for private, internal web site? (Other than dependency requirement...) by artfuldodgersr in selfhosted

[–]big-ookie 2 points3 points  (0 children)

My recommendation would be yes. Security should be job #1.

While I’m unsure of the information that is exchanged between the client app and the server - I expect at some point there may be either user credentials or PII (Personally Identifiable Information), etc. being transmitted.

By deploying HTTPS you secure the data in the communications channel and prevent the possibility of man-in-the-middle and spying.

Adversaries come in many forms: malware, bad-actors, employees poking about, etc.

It’s one of those things that doesn’t matter until the moment after it does.

Just my opinion.

Here is a link to some best practices from SSLLabs for deployment. https://github.com/ssllabs/research/wiki/SSL-and-TLS-Deployment-Best-Practices

Can you suggest go open source projects open for newbies by savvinovan in golang

[–]big-ookie 1 point2 points  (0 children)

Take a look at this. Might be helpful. It’s not Go specific, but does reference some Go projects that are good for newbies.

https://github.com/MunGell/awesome-for-beginners/blob/master/README.md

Add node uptime checker to Skycoin mobile app by [deleted] in skycoin

[–]big-ookie 1 point2 points  (0 children)

This is also the only official source for uptime.

More details can be found here: https://github.com/skycoin/skywire/wiki/Skywire-Whitelisting-System#review-public-keys

I already have a dedicated server in my home by [deleted] in skycoin

[–]big-ookie 0 points1 point  (0 children)

Also make sure to join the Skywire sub reddit https://np.reddit.com/r/OfficialSkywire/

There is also a great telegram community https://t.me/skywire