Matt Jones Tech
  • Blog
  • Video Projects
  • Web Projects
  • What Is The Golem Network?

    What Is The Golem Network?

    Simple explanation: Golem is a bunch of connected computers that team up to become a giant rendering Megazord!

    This is a really cool project. Recently I have found myself lacking computational power in a professional environment. The client loves this Blender animation, but I’ve got 1/13th of the power I need to render what they want by the time they need it. Traditional render farms are out of the question because on demand render pricing would be enough to just buy a render farm outright. Possible solution? Golem network.

    Disclaimer: I have not used Golem in a professional setting. However, that doesn’t mean I’m not very interested in the project. The idea being: you can download a simple client for accessing the network, set up a few ports for your router to forward, and essentially “go online”. There were anywhere between 250-350 computers or “nodes” on the network at any given time (at the time of this writing). You can check this number now at stats.golem.network. It even gives you the collective number of CPU cores, RAM, and disk space available at any given time. Pretty cool!

    There are two sides to Golem. First is the side where you can essentially put your computing resources ‘up for rent’. This allows others on the Golem network to use your computer to render projects. The other side is renting computing resources from the network. Got a huge project to render? You can pay to rent resources to finish your project way faster. A huge advantage is that this is much less expensive than using a traditional render farm. Here’s a promotional video that explains it quite well:

    My Experience

    I ran spent about 2 weeks on the Golem network just renting my unused compute power. Wasn’t sure what to expect. The Golem network is built on the Etherium blockchain and providers are paid in GNT or Golem Network Tokens. If you are buying compute power, you’ll be paying in ETH and also covering any transaction fees. As of now estimating how much you’ll need to render your job is kinda complex. You need to define a specific ‘timeout’ time for your job. So if a weaker node gets your job and takes longer than your ‘timeout’ time, you basically lose your money. In my experience, I rented out my AMD FX 8350 Black Edition and earned about $0.07 worth of GNT. I think it’s because the network is still so new. Even the client to connect to the netowork is still in beta. It could also be that not a lot of people are using the network just because it’s just so new.

    Regardless, the Golem Network is an incredibly cool project to keep an eye on. Who knows, it could potentially be the only way we render our complex projects! It is also worth mentioning that Golem is compatable with Blender projects. I have yet to test out the capabilities of the network and discover what is and isn’t possible when rendering Blender projects with certain versions of Blender, different addons, plugins, etc. Will keep you posted! Thanks for reading.

    matt

    April 2, 2019
    3D Animation, Blender, General Computing, Linux
    b3d, Blender, computing, decentralization, networking, open source, render, render farm, rendering
  • How to Access Your Desktop When You’re Away

    We’ve all been in a situation where a client calls you in a panic and they need something right away. Only problem is, the file they need is on your desktop at work or at home or… basically somewhere you’re not. Remote access can save you from trouble and offer a level of convenience like few other apps can.

    Where To Start

    There are tons of remote access applications out there, some free, some paid, closed source and open source. Previously, I used the free version of TeamViewer. That is, until they were hacked. So are there any decent applications that can just connect you without having to give up your email address? Thankfully, yes.

    Remmina

    Remmina is awesome. However, it can be terrible if it’s not set up properly, or if you’re not quite sure exactly how to use it. I’ve learned the hard way, and hopefully I can share enough info to get you up and running in no time!

    Install Remmina

    If you’re running Ubuntu, Remmina comes in the box. If not, you can grab the snap version by running this in the terminal:

    sudo snap install remmina

    Alternatively, you can grab the PPA like so:

    sudo add-apt-repository ppa:remmina-ppa-team/remmina-next
    sudo apt-get update
    sudo apt-get install remmina remmina-plugin-* libfreerdp-plugins-standard

    Uninstall Remmina

    If later on, you feel like this wasn’t working for you, or you just want to uninstall everything, just run:

    sudo apt-get install ppa-purge && sudo ppa-purge ppa:remmina-ppa-team/remmina-next

    Once you’ve got Remmina on your machine, you should see a window that looks kinda like this:

    So fresh and so clean

    Set up the Computer You Want To Access Remotely

    On the computer you want to access remotely, your first step is to enable screen sharing.

    Linux was hitting up that dark theme about 35 years before Apple. Just sayin

    By default, screen sharing is disabled, but for this to work, you’re gonna want to turn that on.

    Clickity click

    Now you should see the screen sharing options. You’ll want to allow others to access the screen, and prompt them with a password upon logging in.

    All good

    Establishing A Remote Connection

    Now, all you need to do is open Remmina on the computer you’ll be accessing FROM, and enter the IP address of your remote computer. This can be tricky if you’ve never done this before. If you’re at home and the computer you want to control is also at home, you’re more than likely on the same network. This is known as a local network connection. You can access your machine easily just by typing in its local IP address. However, if you try this from your local coffee shop wifi, it won’t work.

    What’s My IP Address?

    As mentioned earlier, there’s your public (external) IP address, and your private (internal) IP address. Which is which, and why does it matter? Your internal IP is used for local networks, like your home wifi that’s connecting your laptop, desktop, Chromecast, AppleTV, Roku, your friend’s phone, and your Alexa. All those devices have their own individual IP addresses, and are connected to your wireless router (wifi), that has its own public IP address, which is accessable over the internet.

    Use your PUBLIC IP Address

    The point of remote access is… being remote, AKA outside the network where your other computer is. So before you leave the house, go to whatsmyip.com and copy that address to your clipboard. This is your public IP address (hence, why you can just hit that website and it displays it to you).

    Set Up Your Router

    Paste the IP address you got from whatsmyip.com into your favorite browser. This will bring up the login page to your home router. If you’ve never seen this before, the username and password is typically printed on a sticker on the side or bottom of your router. Look for a button that says “Port Forwarding”. Find the computer that you want to connect to and create a new rule for it. Set your port number to 5900 and save.

    Set Up the Remote Computer

    You need to install a VNC server that will allow your remote computer to listen for incomming connections. You can do this by running:

    sudo apt install vnc4server

    Connect

    Okay, back to Remmina. In the main window, select VNC from the dropdown at the top.

    RDP is only for connecting to Windows, and SSH is just terminal access

    Next, type your IP from whatsmyip.com into the bar, and ending it with :5900. So, for example, yours might look something like this:

    65.88.88.127:5900

    Next, you’ll be prompted for that password you set up earlier.

    Tales from the Encrypt

    Then, badda bing, you’re looking at your remote desktop! You did it!

    such linux. much awesome.

    Did I miss a step? Having trouble? If you had any questions or ran into any issues while trying to set up your connection, feel free to reach out! Drop a comment below, or hit me up on Twitter.

    matt

    November 28, 2018
    General Computing, Lifestyle, Linux, Ubuntu
    desktop, networking, remmina, remote, remote access, remote desktop, remote work, ubuntu

Prove all things; hold fast that which is good. 1 Thess 5:21