Never go over 600gb

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

1 Like

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.

5 Likes

Can I have 1 STORJ for every time the word ā€œbroā€ is used in this thread?

8 Likes

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

3 Likes

hello how do you see that using a scrip ?

How do I see what?

a scrip :slightly_smiling_face:    

1 Like

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.

1 Like

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.

this was the response

With fricking examples:

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.

4 Likes