CPU temperature:
cat /sys/class/thermal/thermal_zone0/temp
Divide by 1000 for degree celsius
CPU temperature:
cat /sys/class/thermal/thermal_zone0/temp
Divide by 1000 for degree celsius
@gjacobse said in Raspberry Pi (rPi) tips and Tricks:
I could see a very nice little dashboard being written with some of this... the first one being the CPU temp
Found this article on MEDIUM, and dropped it onto the rPi running.
The script presents the output in list format, and for starters that great, but I'd like something cleaner and with more info... similar to TOP and hTOP.
Conky if you want something on a local (or remote) display
Your monitoring product of choice in any other case
@thwr said in What Are You Doing Right Now:
@coliver said in What Are You Doing Right Now:
@thwr said in What Are You Doing Right Now:
@reid-cooper said in What Are You Doing Right Now:
Have not heard of zsync, that seems pretty useful.
The basic idea is that you upload your files to your webserver and generate a data block map using zsyncmake. This must be repeated every time you update a file. That's all you need on the server side.
On the client, you just invoke zsync and point it to the zsync map files (which contains the block map and the relative or absolute URL to the real file). It then compares your local version and starts to sync changed blocks.
We are syncing nearly 60GB of mostly binary files (game mods) for more than 300 highly active users. Generating the map files and a lot of other stuff (like JSON listings and hashes) takes us about 10 minutes on an average SSD.
Are they authenticating somehow? Or does it just point to the directory?
It's plain HTTP, so whatever your webserver can do.
There's only one downside: No HTTPS support. I do not like the idea, but that's another story. You can work around by many means: SSH port forwarding or VPN tunnels, for example.
I did a small workaround, as our content (mods) is not confidential. A script puts rolling credentials into the .htaccess-file of the webservers directory, keeping only the newest X entries. Invoked via cron. A serverside webservice provides the credentials to authenticated clients. So even if someone sniffes users and passwords (both random), he could only use them for a short amount of time.
Not ideal, but like I said, it's not required to be secure. Just a small barrier.
@coliver said in What Are You Doing Right Now:
@thwr said in What Are You Doing Right Now:
@reid-cooper said in What Are You Doing Right Now:
Have not heard of zsync, that seems pretty useful.
The basic idea is that you upload your files to your webserver and generate a data block map using zsyncmake. This must be repeated every time you update a file. That's all you need on the server side.
On the client, you just invoke zsync and point it to the zsync map files (which contains the block map and the relative or absolute URL to the real file). It then compares your local version and starts to sync changed blocks.
We are syncing nearly 60GB of mostly binary files (game mods) for more than 300 highly active users. Generating the map files and a lot of other stuff (like JSON listings and hashes) takes us about 10 minutes on an average SSD.
Are they authenticating somehow? Or does it just point to the directory?
It's plain HTTP, so whatever your webserver can do.
There's only one downside: No HTTPS support. I do not like the idea, but that's another story. You can work around by many means: SSH port forwarding or VPN tunnels, for example.
@scottalanmiller said in What Are You Doing Right Now:
@thwr said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
@thwr said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
@thwr said in What Are You Doing Right Now:
How much I love zsync. Wrote a client for our gaming community last year. Unlike rsync, there's no direct server connection beyond HTTP required.
Just synced 18.6 GB worth of updated files, took me three minutes and 20 seconds with 100 MBit downstream. Mostly disk-I/O.
Awesome for syncing files because it only transmits changed blocks. It's much more efficient than expected, saving up to 95% traffic on our bills.
Already thought about building a .NET lib. There are only Java libs available. It's not that I dislike Java. No. I hate it.
It's rsync under the hood.
Same algorithm, yes.
That's what rsync is
There's a saying here... "Counting peas?"
@scottalanmiller said in What Are You Doing Right Now:
@thwr said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
@thwr said in What Are You Doing Right Now:
How much I love zsync. Wrote a client for our gaming community last year. Unlike rsync, there's no direct server connection beyond HTTP required.
Just synced 18.6 GB worth of updated files, took me three minutes and 20 seconds with 100 MBit downstream. Mostly disk-I/O.
Awesome for syncing files because it only transmits changed blocks. It's much more efficient than expected, saving up to 95% traffic on our bills.
Already thought about building a .NET lib. There are only Java libs available. It's not that I dislike Java. No. I hate it.
It's rsync under the hood.
Same algorithm, yes.
@reid-cooper said in What Are You Doing Right Now:
Have not heard of zsync, that seems pretty useful.
The basic idea is that you upload your files to your webserver and generate a data block map using zsyncmake. This must be repeated every time you update a file. That's all you need on the server side.
On the client, you just invoke zsync and point it to the zsync map files (which contains the block map and the relative or absolute URL to the real file). It then compares your local version and starts to sync changed blocks.
We are syncing nearly 60GB of mostly binary files (game mods) for more than 300 highly active users. Generating the map files and a lot of other stuff (like JSON listings and hashes) takes us about 10 minutes on an average SSD.
@reid-cooper said in What Are You Doing Right Now:
Have not heard of zsync, that seems pretty useful.
Actually it's used by some major Linux distros to sync ISOs between masters and mirrors.
@scottalanmiller said in What Are You Doing Right Now:
@thwr said in What Are You Doing Right Now:
How much I love zsync. Wrote a client for our gaming community last year. Unlike rsync, there's no direct server connection beyond HTTP required.
Just synced 18.6 GB worth of updated files, took me three minutes and 20 seconds with 100 MBit downstream. Mostly disk-I/O.
Awesome for syncing files because it only transmits changed blocks. It's much more efficient than expected, saving up to 95% traffic on our bills.
Already thought about building a .NET lib. There are only Java libs available. It's not that I dislike Java. No. I hate it.
How much I love zsync. Wrote a client for our gaming community last year. Unlike rsync, there's no direct server connection beyond HTTP required.
Just synced 18.6 GB worth of updated files, took me three minutes and 20 seconds with 100 MBit downstream. Mostly disk-I/O.
@brrabill said in RAID5 Still The Go-To Setup For SSD?:
@dashrender said in RAID5 Still The Go-To Setup For SSD?:
@scottalanmiller said in RAID5 Still The Go-To Setup For SSD?:
RAID 5 is still a solid choice. At sixtreen drives, though, I might start wanting to consider RAID 6. That's a lot of drives.
Certainly seems odd to not KNOW the answer to this question before you make a purchase.
When I hear "picked up" and "lab" I'm not thinking purchase. Or at least not an important one.
This. Maybe he just had a few older drives from another project? We are slowly walking into the area where we could see desktops and servers with SSDs getting replaced by newer machines. Just for example. Or he just bought a few of them, hell, why not? You easily get some solid SATA consumer drives with 256GB for < 70$ today -
probably good enough for a lab.
@scottalanmiller said in Windows Licensing and VPS:
@thwr said in Windows Licensing and VPS:
@scottalanmiller said in Windows Licensing and VPS:
@thwr said in Windows Licensing and VPS:
@scottalanmiller said in Windows Licensing and VPS:
@thwr said in Windows Licensing and VPS:
Datacenter licensing and good contracts?
Pushing risk to the customer, is what it is. DC isn't an option for service providers. So by using it, you have to buy Windows licenses and pay for their entire cloud to be covered.
Only heard good things about them up to this point. But before we start guessing.. I know someone who knows someone who knows... one of the Contabo guys. Maybe he can bring some light into this.
Only so much light to bring, we know that Datacenter licensing can't be used in this way. That that is listed, tells us what we need to know.
OK, my bad... just talked to a friend, thought he knew a Contabo representative, but I was wrong. Sorry.
Maybe just write them a mail and ask for their licensing model?
But they published the licensing. MS has been very clear on this point, there isn't any ambiguity or anything to ask. What do you expect us to ask them? "Excuse me, but clearly you aren't providing MS licenses properly, is that an accident or are just just lying?"
If you think that they are abusing Microsoft licenses, feel free to report them. I do know nothing about VPS and hoster licensing, not my business.
@scottalanmiller said in Windows Licensing and VPS:
@thwr said in Windows Licensing and VPS:
@scottalanmiller said in Windows Licensing and VPS:
@thwr said in Windows Licensing and VPS:
Datacenter licensing and good contracts?
Pushing risk to the customer, is what it is. DC isn't an option for service providers. So by using it, you have to buy Windows licenses and pay for their entire cloud to be covered.
Only heard good things about them up to this point. But before we start guessing.. I know someone who knows someone who knows... one of the Contabo guys. Maybe he can bring some light into this.
Only so much light to bring, we know that Datacenter licensing can't be used in this way. That that is listed, tells us what we need to know.
OK, my bad... just talked to a friend, thought he knew a Contabo representative, but I was wrong. Sorry.
Maybe just write them a mail and ask for their licensing model?
@scottalanmiller said in Windows Licensing and VPS:
@thwr said in Windows Licensing and VPS:
Datacenter licensing and good contracts?
Pushing risk to the customer, is what it is. DC isn't an option for service providers. So by using it, you have to buy Windows licenses and pay for their entire cloud to be covered.
Only heard good things about them up to this point. But before we start guessing.. I know someone who knows someone who knows... one of the Contabo guys. Maybe he can bring some light into this.
@aaronstuder said in Windows Licensing and VPS:
I know @scottalanmiller and I have discussed this before...
From https://contabo.com
How can this be possible for just 7 euros a month?
Datacenter licensing and good contracts?
@aaronstuder said in Ultra Cheap VPS Providers:
For English: https://contabo.com/?show=vps
Uh, didn't know they have an english site. Anyway, a friend uses Contabo and they perform really well. Maybe not the cheapest around.
@aaronstuder said in Ultra Cheap VPS Providers:
I'll be updating the list as people suggest providers, offers change, etc.
Hetzner
Locations: Germany
2.49 Euro for 1vCPU, 2GB RAM, 20GB (Local SSD or Ceph), 20TB Transfer
https://www.hetzner.com/cloudScaleways
Locations: Paris, Amsterdam
2.99 Euro for 2 x86 64 Bit Cores, 2GB RAM, 50GB SSD, No Transfer Cap (200Mbit/s)
https://www.scaleway.com/Also, I might make this into a Google Sheet, if there is enough interest
I do have a few at Hetzner, they are actually not the fastest around. But Hetzner offers awesome customer service
Try https://contabo.de/?show=vps instead maybe
@black3dynamite said in What Are You Doing Right Now:
I caught myself typing
ip a
in powershell trying to find the ip address. lol
ha - did the same yesterday
@dustinb3403 said in What Are You Doing Right Now:
@minion-queen said in What Are You Doing Right Now:
Good morning Happy Wednesday everyone.
"Good?" you must not have been outside yet, it's freaking cold!
Raining non-stop here
Just tried it one more time and after 20 minutes it suddenly showed the first installer dialog.
Installation is running ATM. Thanks guys.