Ah, the age-old debate: should we pass arguments individually and make our #code as readable as ancient hieroglyphs
https://www.carlos-menezes.com/single-param-functions/ #readability #programming #debate #software #development #HackerNews #ngated
Ah, the age-old debate: should we pass arguments individually and make our #code as readable as ancient hieroglyphs
https://www.carlos-menezes.com/single-param-functions/ #readability #programming #debate #software #development #HackerNews #ngated
GEDTM30 – A Global 1-Arc-Second (~30m) Digital Terrain Model (DTM)
--
https://github.com/openlandmap/GEDTM30 <-- shared GitHub repository
--
#GIS #spatial #mapping #opendata #global #DTM #GEDTM30 #GitHub #30m #landsurface #parameters #documentation #hydrology #remotesensing #earthobservation #slope #geomorphons #hillshade #geomorphometry #geomorphology #topography #Equi7 #terrainheight #DigitalTerrainModel #landform
One of the hashtags _guru
A Site Selection Framework For Urban Power Substation At Micro-Scale Using Spatial Optimization Strategy And Geospatial Big Data
--
https://doi.org/10.1111/tgis.13093 <-- shared paper
--
“In this study, [they] model spatiotemporal heterogeneity and incorporate it into optimizing the location of substations. The optimized substation placement ensures electrical service coverage for over 99% of the area during peak power usage seasons, compared to the current coverage of 72%...”
#GIS #spatial #mapping #spatialanalysis #spatiotemporal #siting #demand #electricity #heterogeneity #substations #powertransmission #electricalpower #distrubition #service #city #urbanisation #extremeweather #model #modeling #parameters #factors #energycrisis #energy #urbanplanning #routing #outages #framework #UrbanPS #bigdata #AI #machinelearning #Pingxiang #Jiangxi #China #casestudy #coverage #utilisation #dynamic #load #loading #loadbalancing
@dazo
Thank you for that valuable input
I've looked further into it and saw that it is quite extensive to set up and also has a suit that seems to be more targeted at larger environments to back up in a nice and cool manner, double confirming your words
When I discovered that for me it was easier to just jump back to bacula backup which I have known for decades
TIL about BareOS
It is an amazing backup and restore solution for all platforms
Giving credit to the programmers of GPARTED(8)
gparted works its magic, by entering correct parameters to a suite of partition control & editing commands, which are sh envoked, so you can easily manipulate your partitions on all your SSDs HDDs from the comfort of your UI
When you want to batch manipulate partitions, you can study the log output and make sh scripts yourself, controlling partitions anywhere.
You also have the convenience of running gparted from sh so it still works its magic for you, without the UI!
I usually run gdisk fdisk when I partition a fresh mechanical or SSD, later on I invoke gparted when I want to resize or move them
it also runs important commands at the end so that the kernel gets to know your new partition layout, which makes rebooting your machine to use them unneeded
I shrunk and resized a partition where I installed a program, which needed 75GB (*1024!) as installation space but only uses 56GB in the end. I left 12GB of breathing room on the partition after the shrink and of course grew the partition before with the same size, minus the alignment snip of 1MB
log:
myserver kernel: JFS: nTxBlock = 8192, nTxLock = 65536
myserver kernel: SGI XFS with ACLs, security attributes, realtime, scrub, repair, quota, debug enabled
myserver kernel: sdb: sdb1 sdb2 sdb3 sdb4
myserver kernel: sdb: sdb1 sdb2 sdb3 sdb4
^Z
While I'm busy configuring the VM I thought it would be good to get a nice taste of Italia with a compliments of Giovanni I got some Birra Moretti from a friend of mine in Europe
From the photographs and the hashtags it must be obvious what I'm doing. Creating a virtual machine with which I will go into simulation mode to ride beautiful machines of absolute maximum Torque and Power
Since the /e/ Operating System is a fork from Lineage OS I was not surprised that my particular phone is not supported at this time
What is hot warming is the fact that capable programmers put their time, money, food & drink & sweat into enabling users to rip themselves from the grip of the Duo Poly which exists of Apple and Google
This is the main page of the Murena /e/ OS driven phones
Jumping in right at the most important section which is the supported phones on Murena /e/ which is another operating system alternative on the Android phones.
I bid thanks to the individual who taught me about the existence of this operating system
#MurenaOS #bash #csh #ksh #sh #kernel #parameters #POST #Linux #Android #programming #POSIX
Those of us who have other phones can check if another Linux for Android runs on their device
Atm I'm looking at Lineage OS for my Android devices
I have scrolled through the most important parts of lineage us website.
One thing that you have to realize is that you're taking a grave risk when you are installing another operating system on the Android phone, at least that's what the manufacturer will tell you.
The manufacturer will **not** tell you that, you're freeing yourself from their **stranglehold** when you do this.
They will also not tell you that chances are, your device will work much more efficiently, because it will not have any bloatware, I repeat any bloatware what so ever
One thing they will never ever tell you, is that they make deliberately as difficult as possible for you to install another operating system, on your phone, your device, which you own, which you are the absolute Master of
The phone manufacturer will absolutely make sure, that they will never tell you, that they even put traps on your phone, when you install another operating system, just so that it bricks, so that you come running screaming and go back into their strangle hold
All these factors make installing another operating system on an Android phone risky, tedious, nerve wracking, and not worth it, if the phone is brand new, and the money you spent on it, isn't just chump change that you can easily afford if it breaks.
Just looking at the enormous list of do's and don'ts that you have to follow to the letter, clearly show per model, per manufacturer, how many traps have been put in, just so you are prevented to install another operating system, with which you free your phone from the stranglehold of the manufacturer, a phone that you have bought with your money, a phone that you own, a phone that you have the right to put whatever operating system you want upon.
On top of everything, your specific model of phone, needs to be supported even if there's just one letter difference, you should not even attempt to install that version of Linux on your phone, because the chances of breaking your phone literally bricking your phone, are astronomically High
The phone I need Lineage OS on is the one I'm working on right now, the phone overheats dramatically fast, has very poor physical Cooling, which became apparent when a broken patch was pushed to the phone, by Xiaomi, a couple of months ago.
Because of the overheating it needs to be shut down for most parts of the day making it a useless device
Xiaomi does the following to make it very difficult for you to unlock their fabricated devices:
* The boot unlocker is personal and you need to make an account for it
* An arbitrary limit is put upon the amount of Xiaomi devices that you can unlock per day per week per month.
* Every account can only unlock four devices
* Essentially Xiaomi is sending a f$ck you, towards you, as the owner of your devices, when you want to unlock the bootloader, so that you can put an arbitrary, much more stable operating system on the devices which YOU possess
My specific device is not supported yet by Lineage OS Xiaomi Redmi Note 12S
That means that I have to stop right there because the installation sequence specifically states that you need to double check that the image you put on the device is specifically designed for not only your model but your model to the letter so I need one for the Xiaomi Redmi Note 12S
By now I do not care which Linux distribution I put on this Android, just as long as it's specifically supported
The Journey through which I went to attempt to install Lineage OS on my Xiaomi Redmi note 12s has taught me the following
Android phone manufacturers do not like their clients. Android phone manufacturers detest their clients and treat them like slaves. Android phone manufacturers want their phones to be theirs forever, even when they sell them to you.
The rights to own a physical piece of hardware, are irrefutable yet manufacturers hate your rights in that respect.
Quite disturbing, this conclusion I came to, after the above research was done
The programmers from GrapheneOS have been busy, a new version is out!
Go and read about it update and patch your devices!
In #CatNews the tuna in spring water has entered the #cat #system and all cat #parameters are now at acceptable norms.
Now you will ask why I put up a screen cap of Naked.Gun.33.1.3.The.Final.Insult in this thread.
The logic is simple. Because I now have tsc=unstable in my permanent boot options in GRUB, I have achieved playing this 1080p stream on my machine without any hickups of mPlayer!
mPlayer has the gorgeous option of bailing out by itself if you have CPU/GPU/FPU or RAM issues, protecting an unstable machine as my Gigabyte miniPC. Since the switch mPlayer did not have to bail out!
Now the parameters are added permanently at boot
using this UI in my distro. I love editing config files directly. This convuloted manner of editing grub config is inefficient, also unusable in a proxmox or jail ENV where everything is done from *sh
The parameters were parsed successfully. Now the unsable tsc clock on this system is bypassed from boot
I've just added the parameters to the kernel according to the instructions on the web page; photographed them for our pleasure
Since the people who know about kernel parameter parsing via GRUB, did not see my post and because I forgot to use the AksFediverse hash, I hunted for an answer and am reading this one...
https://linuxconfig.org/how-to-set-kernel-boot-parameters-on-linux