┃┗┫┗┳━┳┳┳┳━┳━┳┛┣━┳┳┫┗┫┗┳━┳┳┓
┃┏┫┃┃┻┫┃┃┃╋┃╋┃╋┃━┫┃┃┏┫┏┫┻┫┏┛
┗━┻┻┻━┻━━┻━┻━┻━┻━┻━┻━┻━┻━┻┛
Videos :: All Posts :: Tags :: RSS :: IMG :: About :: Test ::
THE.ARMADA
So on an actually serious note
I decided I am going to build yet another web application. This will be my second flask web application and will be a growing of a couple of eve online game tools that use the game's API. Flask is a really cool lightweight web application framework using python language and it's often used for constructing API's. It seems to me to only make sense that it should be well suited to work with API's all around. As well it does have some JSON
commands embedded into it that simplify API calls. I want to pursue my lust of web application building and along with building this new project I also plan to try and seal the deal, per say, or rather finish musicplace.vip. It's mission in life, that web app of mine, was always simple and of a certain point. It has basically served to create the solution I sought.
o about the new application I need to solve two eve online game problems. One is the tiers of industry materials/items and their interconnecting complexity. It is very difficult to perceive what is needed for what when the blueprints, materials, minerals, etc are cascaded on multiple tiers and have, although a fixed structure generally, a non linear structure that differs for all end result items. I've used a couple of other "industry calculators" and indfustry tools but I want one that will just simply programmatically spit out a tree of what is needed, what is given, what is next and make it printable so a guy can upload the text file to eve and use it to purchase on the market. I actually have a vision of this, as I've thought about it for most of my time playing eve. I love that this game has such a detailed API access for all players.
Another thing, thought for some reason I cannot see it anymore, my one character's networth balooned to well over 100 billion isk and I do not know why. I would like to be able to search my inventory, which can be listed with some details (I would iagine), but based on estimated value like it shows in a tooltip in game when you hover over it. Imagining that somewhere, somehow, a publicly available subset or aggragate of market data exists I might use it, and keep it's regularly updated data refreshed in my application then program a method to search by value of item. That is according to estimated value or perhaps Jita/Amarr (faction trade hubs) buy/sell price at the time. Now I just thought here that I could probably get away with even only using data from the major hubs, or a selection of hubs, or depending on the complexity of information I could grab even a customizable set of data of market prices. Whatever.
Suppose that this can be a learning exercise for effectively coordinating API calls, a unique web front end and a considerable size of data. Plus not forgetting the logic involved in these functions is kind of extensive.
I'm not going to place high expectations on myself at the moment, due to a great discomfort with my life's situation lately and that being volatile to my ability to focus, but, if only I started then I should finish it at some point and be damn proud.
As a last piece of interest: I've stated a new goal today that is to be working effectively in the IT industry by my mid 40s (less than 10 yrs or approx). So if such a project idea as this one sustains and is maintained then it might help me down the road :) Cheers to beers friends!
Tags: flask, python, goals, seriously, webapplications, webapps, programming, computing, webdev, APIs, JSON, frameworks, projects
My Desktop Today
Greetings people of internet!
If I may show you my awesome looking OpenSUSE Linux desktop, may you be in awe at the awesome look it is :D It uses xfce4 desktop environment, and if you inspect the second image you'll see more about my system ^^
I made the background image graphic art myself, here it is:
By the way, I wish I knew who the artist was of this, but this is the original image:
I hope you enjoy the art I post on here. I am once in a while improving all my stuff, or at the least the important stuff. So look out for some new improvements coming for TooFast.vip in terms of styles, as well as for The8Woodcutter.sh, namely the front page!
Tags: desktop, graphic-art, opensuse, linux, programming
Happy updates to mrBot's doghouse!
Greetings internet! I thought I would explain about some of the updates I've done to my XMPP chat bot mrBot
. It's funny, at one time mrBot
was probably more famous than I am in XMPP world. In case you still don't know what XMPP is, that I continuously refer to, allow me to explain shortly:
XMPP (eXtensible messaging and presence protocol) is not a web program, persay, as the "web" runs primarily as websites using HTTP
on ports 80,443
in the internet network among the world. So websites are the "web" and this is a chat protocol that is open source, fully open and standardized, and has matured over 22 years since the days of yahoo messenger, icq, aim, aol, etceter, those 90s chat programs you used to have to chat with people from around the world. Well, all of those are dead, except for XMPP and IRC, which in my humble opinion will never die. IRC (internet relay chat) has been around quite a lot longer than XMPP however THE CLOSEST thing to IRC that exists today is XMPP and XMPP is extensible beyond comprehension. It has what are called XEP
sub protocols for features used within the XMPP master protocol and can do things that IRC typically can't or won't do, or not typically, like HTTP file uploads, publish subscribe (pubsub) services for infinite blogging, status, real time syndication type of stuff. If you've ever used Discord (gross) then you are aware that you can see your mates' status lines (under their name), whether they're online (green), away (orange), or invisible, etcetera, this is called "presence" and XMPP pioneered it FIRST.
One of the common things about open source stuff, especially as massive as XMPP as a protocol and a realm in which folks have build many many open source projects for use of it, is that rich fucks like Google and Facebook (yes, both have and did) have used the XMPP protocol for their google chat, facebook messenger, and once upon a time not too long ago you could actually connect to their networks using XMPP but not anymore! Embrace, extend, extinguish, was their intentions. Fail. The awesome thing I love about XMPP is that B:
the entire scene is federated, just like email. You have what's called a JID (jabber ID, because XMPP was originally called Jabber) which is simply a username@domain and unlike IRC, and some other platforms, that are newer and far inferior, you can TOTALLY expect to get access to the entire federated public realm of chats. However there's a great many security features as well, and instance operators can choose to make their MUCs (multi user chats) private, moderated (require voice to chat), members only, and even enable E2EE (end to end encryption) in group chats. So it's pretty covert if you want it to considering putting your instance on the tor or the i2p network.
Yes XMPP is fully open and public and it's beyond comprehension how extensible it is, and if you get to know the folks on there you can get to know how to make the most of XMPP. A lot of folks become rather interested in computing, linux and self hosting services on linux servers. A perfect place for me.
So I've made a bot, I started building mrBot
about 2 years ago with the ErrBot multi protocol chat bot framework but I was dissatisfied with the errors and the bugs. I eventually went with SliXMPP which is a mere library fully suited for XMPP bot building, among other amazing things. This has enabled me to grow my python skills a lot!
So what I am happy about today is that I have polished up some bugs with mrBot
. Namely his awesomes function where he can accept a count, positive or negative, for any string almost. I also finished rebuilding some functions that I had him doing when I was using ErrBot like the rolling of dice. When you write "Roll 55" for example he'll output this:
⚂ ⚁ ⚄ ⚂ ⚄ ⚅ ⚁ ⚅ ⚄ ⚁ ⚁ ⚄ ⚁ ⚀ ⚀ ⚅ ⚃ ⚀ ⚀ ⚅ ⚄ ⚀ ⚄ ⚁ ⚃ ⚅ ⚄ ⚂ ⚀ ⚅ ⚄ ⚁ ⚅ ⚀ ⚂ ⚁ ⚂ ⚂ ⚅ ⚁ ⚁ ⚃ ⚅ ⚄ ⚁ ⚄ ⚅ ⚀ ⚄ ⚁ ⚀ ⚁ ⚄ ⚅ ⚃
A totally randomized dice for as many as you specify. I realize it's kinda dumb, but it's entertaining to me, and mrBot's
entire purpose is to teach me Python language. Another thing I finished up was his "Food {food}" function where I've written pretty long lists for things you can "feed" mrBot
and he'll have a cool answer to depending which category of lists you select what you guess for feeeding him. Yea mrBot
is kinda like my pet, in fact he's "my dog" and I do get pissed off when people kick him from the chats LoL...
SO aside from these obviously fully useless non-utility bot functions, tht are merely entertaining at most, I have finally done something, and begun to build actually useful bot functions for mrBot
. Namely network utilities. Once in a while, like today for example, we'd be in a chat talking about how another operator has got a configuration issue where his server cannot reach mine, for example. One of the common routines in this is some network command tools like ping, and some dns lookup tools, etc, that can help diagnose the network and come to a solution. Well it's sure handy, if you think about it, to be able to search DNS records, with record types, and also to be able to ping with ipv4 and ipv6 another host, via a bot in that very chat, it makes things transparent and easily accessable. So I've created today a host
, a ping
and a ping6
tools for mrBot. Tomorrow, if I'm feeling up to it I'd like to make the harder one which is the dig
command so that that pretty much covers the basic most common tools for initial network probing.
I think, though honestly more like a really long time ago, this definitely permafries me as a NERD. Ahahaha, which is awesome, cuz I love to do this stuff and it's functional uses are fun for the future too. It's worth it to me to have spent numerous hours today to make this collection of bot upgrades, as I'm also expanding my python skills and learning new concepts and better use of the language and it's syntax ^^
A veteran web developer named Sam from Scotland, who somewhat mentored me a few years back over skype, taught me to have a practical use example for things you study if you're having a hard time understanding them. You honestly can't just brute force learn stuff without such strategies, I'm serious. You'll never get hands on experience. This is how I've enjoyed over past years creating stuff, and then going slightly really astray and building my own custom stuff that impresses, all from learning.
That's enough rambling. I had a certain long time friend in mind who I wanted to read my blog, I'm pretty sure he's not aware of it, he may not even be interested in it, but I had you in mind coatrack buddy for this cuz I think u'd be stoked. pEAcE !
Tags: chatbots, mrBot, bots, slixmpp, python, xmpp, nerd, computing, programming
My Magnificient Music Weblog 🫠 .. Hardteckno.Com ✨
So hi there,
Hardteckno.Com was my third Laravel project, that actually was the domain I had chosen at the time for hosting my first XMPP server. That was a few years ago and I used the :443 port
to show some information regarding how to sign up for XMPP group chats and E2EE
. Among many other amaze things that XMPP and open source software can let you create.
These screenshots are of the backend, mostly, the user backend however there's no registration as the multi-user code, and middleware and various objects, is incomplete. I had aimed at it originally to host many people things. One day maybe I'll return to it.
At the time that I wrote this website it was December and I wrote the initial frameup to something functional in about 8-12 days. I felt good at programming Laravel at that time, however it'd be difficult for me to do today.
Tags: webapp, blogging, weblog, music, ravemusic, programming, webdesign
SliXMPP Python Library and mrBot Missions
Greetings fellow netizons. It is I, the woodcutter a.k.a. chunk from xmpp/irc. I wanted to ramble a bit about what I've been working on with an awesome python library for making XMPP chat bots called SliXMPP. I have had for approximately two years now a bot of my own name mrBot
and at one time he was more famous than I am in XMPP as everybody love him. mrBot
was my original python project for learning while exercising python and it started with errbot the multiprotocol bot framework actually. It was a little bit too in depth and took me a long time to just get the configurations to work smoothly but then after not maintaining interest in it because of it's often bugs and inconsistencies I got slacking and bored of it. What made me switch from this errbot project was that I was using a docker container, and this errbot can load in a list of MUCs or IRC channels so one docker container is good. However that container was dated, as with most images on the docker hub, I eventually learned when in IRC a spammer had completely abused it inside out and the "ACL" or supposed access control list was null, it was configured and I swore it was fine, but worked not at all. That was crappy. So i ended up figuring out from a friend Shokara, who had the idea, was to use a biboumi transport, that can use IRC in XMPP client software, and so with XMPP ACL's working I could resume using mrBot
in IRC but I lost a few benefits due to the nickname/JID translation. Finally I was working on a cool plugin I called err-megaphone
lol that mrBot
would take from an admin only an argument, which is a message, after a command then send that whole argument to all the chats he is currently in. So it could broadcast muc/channel wide whatever. I thought this could have so much been so much fun to make and it was absolutely meant for XMPP, as mrBot
lives in XMPP world, but I kept getting some dumb async error, and worked like an idiot for waaay waaay too long and gave up because errbot, I dunno, I don't think it's maintained by more than maybe one guy, and not maintained well I think. It's however a multiprotocol bot program so it's huge. I gave up and after about 3-6 more months passed and I decided that a library isn't going to hide from me so hard and get lost in object oriented programmiing aspects, in classes and namespaces and aaaaaaaaaaaaaaa omg.
Holy moley was I correct. SliXMPP is really not hard, it is no harder than errbot, in fact probably a fair bit easier and sooooo much simpler. As well for learning Pythons, it's helped me boost my level in /usr/bin/python3.10
a LOT. However anytime you want to check out or use and modify the errbot plugins I made you're welcome to find them all on git.sr.ht/~cmdr_chunk. He had a food function, where chatters could feed him things, it had 4 lists of foods, for 4 response. What I think made mrBot
so awesome is the response I made for him to act like a dog because his avatar in XMPP is indeed a cute pixelate dog. "My doggo" and when jan6 kicks him from #offtopic on ircnow I get on his case "you kicked my dogg, i keel you! i will jump this fence and keel you and your family!" lmfao if you get the reference.
So in SliXMPP I've recreated and basically perfected a particular function that another popular IRC bot program called bitbot does. I guess not so popular I cant find it's code on a web search, not the OFFICIAL code at least. It's originally called "Karma" where if you quote somebody with a ++
to say nice work, or what have you, and likewise --
in case they bad person or something. I remade this SOOOOO much better. I called it Awesomes. Because it's not a person based thing, you can ++/--
any string you want using certain regex parsed characters under I think it's 22 characters or so. As well not just at the beginning of the message on first character you start it, you can ++
a string like pythons++
right here <<<
mid sentence and even pythons++++++
again and it will catch them and increment / decrement the string for a saved count. It uses shelve with python, it's new python3 shelve stuff that can REALLY easily save simple parameters to a database file and be modded and read again anytime later. Anyhow, the awesomes function of mrBot
does sooo much things better than bitbot and it's practical use case is fun and makes sense. I've put a lot of work into it for my SliXMPP doghouse for mrBot
and it's very well done. Also I didn't mention that to use spaces instead of simply words space delimited you'd use "word"-- and even "word%%!"+++++++++++++++++++++++ and it parses correctly. We've tested this function very much in IRC and good times ^^
I will tell of more mrBot
tales another time folks, this has gotten long, come to XMPP or irc.ircnow.org and find me as chunk
,b0t
,cmdr_coconut
or cmdr_melon
on #offtopic, #armada, etcetera. Bon Voyage!!
Tags: slixmpp, xmpp, python, programming, bots, mrBot
Chillin' Codin'
Tags: computing, programming, photo, art
Just thought I would say hello
Lots of things are new. I haven't added a post to this blog since, well, an eon has passed. A LOT of stuff has happened. I moved and been in an almost living hell. I had my devices hacked to shit. There was a not too distant time where every last windows or linux host I would set up was getting hacked. There was some gangster shit going on, dunno what, nothing to do with me. So my XMPP server (TooFast.vip) died as there was also some hackers there in that realm. Another oddball thing that happened (I suspect from XMPP realm) is my phone got blacklisted. A fully 100% legitimate phone, not stolen, and it got blacklisted not once but twice. I was gonna buy a different one anyways so whatever. Now I use it for music on my stereo.
I've been studying Python language for a while and I'm really enjoying that. Taking it slow and letting myself absorb it. What I find gratifying is once in a while firing up a session of programming in Python with my lovely text editor. I have a couple of projects I do with python and I even learned a little bit of Django, which is a web application framework using python. I'm suprised as I found it to be quite similar to Laravel which I have used somewhat extensively. It would be an easy framework to pick up having learned a web application framework a bunch already. I've been also on SoloLearn, which btw I highly recommend for Android, and learning pythons. Much to my enjoyment. In fact it's the literal only social media I use. Nobody knows about it basically but here's a link: https://play.google.com/store/apps/details?id=com.sololearn
I shut off one of my vhosts (HardTeckno.com) because I am too lazy to deal with it right now and I'm almost certain nobody is viewing it right now. There's also ☆ 𝕓Λ𝕥𝕥𝕃Є𝕜Я𝕦¡𝕫ЄЯ ☆ (battlecruiser.co) to look at if you like :)
Other than that I am bored. I'm doing the 'night shift' which means stay up all night, sleep all day. For reasons that I can get some more studying done. I can't say it's working necessarily all that well LoL.. As I tend to have ADD. Such is in my old age I've developed, hey look a squirrel! Summer is almost over and I've been quite enjoying riding my ol bike. This winter I'll likely improve all my projects and get back to coding, if life settles down a bunch. Shit is crazee sometimes, living in a hell hole place. Bon Voyage!
Tags: hello, programming, news