Bro stop data hoarding
Bro Im flabbergasted i lon do it my bro did it hes with computers i just hopped on the bandwagon
This is your loveltter to him.
Im confused bout what yall speaking about
i use docker bro sett up 4 me
I understand your point, but for use cases like oursāespecially in a medical settingāitās not that simple. We deal with large data volumes such as X-rays, which canāt just be kept locked away on local HDDs indefinitely. Backups are essential, and having them online (rather than only on physical drives) ensures accessibility, redundancy, and safety.
Naturally, uploading sensitive data like medical records directly to the cloud poses security risks, so we always perform encryption before any upload. This ensures that even in a worst-case scenario, the data remains protected.
Our clinic handles a significant number of X-rays, so storage needs are greater than most personal users might imagine. And since we operate across multiple locations, we use our unused storage capacity to share and sync important data more efficiently. Itās not just about āfree storageāāitās about smart, secure, and distributed data management in a professional environment.
Can I have 1 STORJ for every time the word ābroā is used in this thread?
Iām fairly certain our homie is either super high or adolescent but one thing is certain: He is the whitest kid you know, cosplaying as something he aint.
I love it
hello how do you see that using a scrip ?
How do I see what?
a scrip
the stats like Storagenode stats for Th3Van
There are a couple projects to hook node stats up to Grafana, but everything Th3Van set up is custom for his environment.
ion do custom i just go to xx.xxxxxxx
Increasingly, this is the only way to get anything done. Itās not hard either, and time invested in acquiring the skills is time well spent and will pay for itself many times over.
Once you shift from ālet me find the software to do Xā to ālet me script that real quickā massive opportunities open up. And now that you can ask language model to get you a boiler plate to get started - there is really no excuse.
Which boiler plate what bro yappin about coding is difficult k?
Ps. majority of coders just copy off stack overflow and call it a job.
So which one is it?
There is a distinction between coding, programming, scripting, and software engineering. Iām not asking you to engineer software. It is genuinely hard. But scripting things together for yourself is much easier than it sounds. Iād venture to say, itās often easier than trying to figure out how to find and use gui tools to accomplish the same task. Try it.
idk . i got a coder brothet when i tell him to teach me coding he just wants me to speak to ai so that he can train a ai model on it.
I donāt think ācodingā can be taught. Itās something you learn by doing.
Today itās easier than even. Next time you want to do something ā ask Gemini how to script that. Then use the response as a starting point to play with and adapt to your needs.
Today you donāt have an excuse. None. There is no āI canātā. Only āI donāt care toā.
For example, Iām not a coder, not even a CS major, Iām EE. So recently I wanted to plot a graph of historical node payouts. In the node dashboard you can select year, and month, and read the value, (then put it into excel, and add a plot)
But Iām not doing it 30 times manually, no way. It would have been a waste of my time. Especially due to this UI being piss poor and forgetting my position all the time. Generally, if you do something twice - script it.
Dashboard is getting this information from somewhere but Iām not interested in messing with SQLite databases.
So I asked Gemini how to get payout information from storagenode api.
Bingo. This is all you need to get started playing with it.
so you do
curl "http://192.168.0.15:14002/api/heldamount/paystubs/2024-04/2024-04"
and get a messy json in return:
[{"satelliteId":"1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE","period":"2024-04","created":"2024-05-05T03:03:46.532239Z","codes":"E","usageAtRest":780882898.1027747,"usageGet":19563008,"usagePut":42631243776,"usageGetRepair":0,"usagePutRepair":0,"usageGetAudit":0,"compAtRest":1169,"compGet":39,"compPut":0,"compGetRepair":0,"compPutRepair":0,"compGetAudit":0,"surgePercent":0,"held":906,"owed":302,"disposed":0,"paid":302,"distributed":302},{"satelliteId":"121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6","period":"2024-04","created":"2024-05-05T02:48:04.647556Z","codes":"E","usageAtRest":2853828882.419948,"usageGet":917177856,"usagePut":5536724736,"usageGetRepair":13444864,"usagePutRepair":0,"usageGetAudit":0,"compAtRest":4273,"compGet":1834,"compPut":0,"compGetRepair":26,"compPutRepair":0,"compGetAudit":0,"surgePercent":0,"held":4601,"owed":1533,"disposed":0,"paid":1533,"distributed":1533},{"satelliteId":"12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S","period":"2024-04","created":"2024-05-05T02:50:31.616417Z","codes":"E","usageAtRest":668755819166.0249,"usageGet":241399091190,"usagePut":3024281845084,"usageGetRepair":10351634432,"usagePutRepair":20488894976,"usageGetAudit":658432,"compAtRest":1001528,"compGet":482798,"compPut":0,"compGetRepair":20703,"compPutRepair":0,"compGetAudit":1,"surgePercent":0,"held":1128773,"owed":376257,"disposed":0,"paid":376257,"distributed":376257},{"satelliteId":"12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs","period":"2024-04","created":"2024-05-05T02:46:18.74852Z","codes":"E","usageAtRest":79237511202.5438,"usageGet":22491190016,"usagePut":384980073216,"usageGetRepair":2071808,"usagePutRepair":22578672640,"usageGetAudit":685056,"compAtRest":118666,"compGet":44982,"compPut":0,"compGetRepair":4,"compPutRepair":0,"compGetAudit":1,"surgePercent":0,"held":122740,"owed":40913,"disposed":0,"paid":40913,"distributed":40913}]
Not very useful. How do we make sense of it? Google ā how do I parse json in a command line. Youāll stumble on jq program, So you do:
curl "http://192.168.0.15:14002/api/heldamount/paystubs/2024-04/2024-04" | jq
Now you get something much more visually appealing and easier to understand:
[
{
"satelliteId": "1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE",
"period": "2024-04",
"created": "2024-05-05T03:03:46.532239Z",
"codes": "E",
"usageAtRest": 780882898.1027747,
"usageGet": 19563008,
"usagePut": 42631243776,
"usageGetRepair": 0,
"usagePutRepair": 0,
"usageGetAudit": 0,
"compAtRest": 1169,
"compGet": 39,
"compPut": 0,
"compGetRepair": 0,
"compPutRepair": 0,
"compGetAudit": 0,
"surgePercent": 0,
"held": 906,
"owed": 302,
"disposed": 0,
"paid": 302,
"distributed": 302
},
,
{
"satelliteId": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6",
"period": "2024-04",
"created": "2024-05-05T02:48:04.647556Z",
"codes": "E",
"usageAtRest": 2853828882.419948,
"usageGet": 917177856,
"usagePut": 5536724736,
Nice! But data is split by four satellites, there is a lot of it you donāt care about, you just want .paid, and you want the sum across satellites. Google āhow to aggregate data with jqā. Then you stumble your way to:
curl -s "http://192.168.0.15:14002/api/heldamount/paystubs/2024-04/2024-04" | jq '(map(.paid) | add ) / 1000000'
What are those shenanigans? Well, we extract the .paid field from the array and add all of them, then divide by a factor to convert to dollars:
0.419005
Nice. Now we want to go months by month, year by year, and output that information. How do we do it? Google how to create a loop in bash. Ans so on.
An hour later you have a script that does what you want, how you want it, and the one that you can modify further, but more importantly now you learned a few things, so the next script won;'t require so much googling, you will copy from yourself and build upon that.
I chose zsh because thatās my shell and anything I learn there will benefit me daily. If you are still using and planning on using windows ā it has a very powerful PowerShell ā it has awkward syntax but itās usable.
Or do it in Python. Heck, do it in Jupyter notebook, and plot the graphs directly, with matplotlib.
The skills acquired will make you much more productive and independent, and will keep giving.
That said, nothing replaces experimenting and reading manuals - -becuase LLM can be and is wrong at time, but if you need to get started and get something working in a pinch ā why not, use all available tools. What you canāt do is give up. Not an option.