Slobberchops HIVE Web Tools: Who Didn't Vote?
hive-163521·@slobberchops·
0.000 HBDSlobberchops HIVE Web Tools: Who Didn't Vote?
 Sometimes you get a slice of [inspiration](https://brynrogersthg.github.io/Slobberchops-Hive-Tools/) from someone else. Yesterday @pharesim’s [post](https://peakd.com/hive-139531/@pharesim/hive-is-a-democracy) did just that. He describes his Web Tool as '*a small tool*', and its function to me was irrelevant as I was far more interested in what was behind it..., the code. Being the geek I am, all kinds of ideas started springing into my mind. It's hardly rocket science. Javascript is the preferred language of the web so why have I been struggling with the likes of Flask and Python to host websites to run my scripts? <center>  ...***'GitHub pages, free hosting with SSL included, I learned a lot yesterday'...*** </center> Another aspect of this post I picked up on was the hosting service of GitHub he was using. I have had a repository there for several years but didn't realise how easy it is to publish a site directly using the 'pages' feature. Well doh!…, thanks so much for opening my eyes @pharesim..., talk about not seeing the wood for the trees. @bingbabe was working all day yesterday so I was determined to churn out something useful up and running in just half a day. <center>  ...***'a sub-section of the original 'Who Didn't Vote' script written in Python, nice and easy to convert if you are using condenser calls'...*** </center> '*Who Didn't Vote*' is… was, a Python script I originally wrote maybe 2 years ago. It always irked me that my posts would get comments and some users would not bother giving me a vote for my efforts. Occasionally, this is done in error, but there are certain cunts who repeatedly comment on my posts (and other Orca's) simply to gain a comment vote. <center>  ...***'how did I miss all this, make your changes, and it publishes all your new shit within minutes, brilliant!'...*** </center> Rinse and repeat with the Orca's and said cunts never run out of voting power and gain free votes from the more benevolent (stupid) types like me who encourage comments and dish out juicy votes. I have heard on the underground grapevine there is a preferred 'list' of HIVE users to target for juicy comment votes. Leave a bullshit comment that's a little better than 'Nice Post' and you can gain some free pennies. Call me paranoid but this behaviour does irk me and ‘Who Didn’t Vote’ was born out of frustration of these types. <center>  ...'***adding some metadata might help with SEO, yes.., dream on, the only hits this will get are direct ones'***... </center> So after a little farting around I managed to get a basic version of 'Who Didn't Vote' hosted on GitHub. A little HTML integrated into the Javascript functions that are basically the same calls to the HIVE API using an external URL call and things were looking good. const apiUrl = "https://api.hive.blog"; The site looked basic and bland so I added some Tailwind CSS into the code, using the knowledge I picked up when designing and putting together ‘*Tales of the Urban Explorer*’. <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-YXN7LF0FT5"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-YXN8LE03T5'); </script> Next I headed over to Google Analytics, added an new property and the website details. Shove the code they give you in the header section and you are set. Now you can monitor who’s looking at your brand new shiny creation.  It's quite simple but works well. Simply add your username, Click '*Analyse Most Recent Post*' and it will show you who's commenting but abstaining from voting for your latest lovingly crafted piece of work. alert("Stop being a smart-arse, and add a proper username."); Me being me of course had to add something a little irregular into the code. At least I didn't suffix it with '*you twat*'. I must be mellowing.  While ‘Who Didn’t Vote’ could be quite useless for some, I get a lot of auto-votes that I never ask for but don't complain about. It can be hard to keep track of who has not bothered to leave a vote, but based on my previous sentence this could be a useless tool for you. I suspect my fellow Orca’s will make use of it. <center>  ...***'this is what you see after hitting 'Analyse Most Recent Post'. It's quite obvious on who didn't give you a vote'...*** </center> Having been hanging around here for years, many auto-votes are a consequence of past users long since gone who still have a stake and have discarded their accounts. Some are so old they are from the STEEM days, and never saw HIVE. Well shit happens, and that’s the way things are here. Stick around long enough and you will gain the same 'benefits'. Today woke up my coding head yet again. I work with Powershell most of my working days, and I can see Javascript is not so far-fetched from that with its squiggly brackets syntax. <center>  ...***'my Python graveyard folder, full of scripts, some working, some not, some could be hosted and made use of'...*** </center> I can think of at least one more 'tool' that could be converted using a similar strategy, one I have not used in some time. First I will need to re-write it as I am sure it uses the deprecated BEEM library, and Javascript isn't going to like that much. Future updates to ‘Who Didn’t Vote’ could be, displaying the primary image of the last post, displaying the vote weight of the voter and the ability to check older posts. <center>  ...***'Who Didn't Vote - Python version, usable only be me and only on my latest post'...*** </center> If they are giving you a 1% vote and a 'Nice Post' comment, it's hardly better than no vote at all and falls into the '*taking the piss*' bracket. **DISCLAIMER: Some judgement on what you see is simply common sense. Use this tool at your discretion. Votes are not mandatory and stake-holders can do whatever they like. My opinions about commenting without voting are my own, and not necessarily the same as others.** I think I am going to enjoy converting my library of ‘geek only’ Python utilities so the masses can use them. Expect more from me soon. Who Didn’t Vote can be found [here](https://brynrogersthg.github.io/Slobberchops-Hive-Tools/), and the source on my GitHib repository [here]( https://github.com/BrynRogersTHG/Slobberchops-Hive-Tools).  Do you like posting your Urbex content and photography for **FREE** on Facebook and YouTube? I like to get some form of reward for my work and every time I create I do just that. Take a look at **[The Urbex Community on HIVE](https://peakd.com/c/hive-104387/created)**. If you want to keep creating for **FREE** then ignore what you are reading. If you want to be like me and gain something other than **BUGGER ALL** for your work then click **[here](https://youtu.be/0pnFg4igYuY)** and learn about posting on the HIVE blockchain. <center> My Urban Exploration Tales can be found directly on the internet via my Website: '[Tales of the Urban Explorer](https://talesoftheurbanexplorer.co.uk/)'. </center>    <center>  </center>  <div class="pull-left">  </div> <div class="pull-right"> If you found this article so invigorating that you are now a positively googly-eyed, drooling lunatic with dripping saliva or even if you liked it just a bit, then please upvote, comment, rehive, engage me or all of these things. </div>
👍 beco132, javier.dejuan, mirrors, killerwot, vaclavs, sumatranate, creativemary, babytarazkp, bilpcoinbot, netaterra, liaminit1, retaliatorr, heruvim1978, surrealis, sunsea, xerox94, strega.azure, justtheway, brofund-pal, nikoszzz, salmeron-sw, bpcvoter3, therealyme, netaterra.leo, drricksanchez, tengolotodo, joeyarnoldvn, crypt0gnome, dswigle, noloafing, brutoken, svanbo, whywhy, sabosuke, creativecuisine, fee-service-new, adedayoolumide, cryptictruth, wolffeys, osran, literal, reggaejahm, emma-h2, adetorrent, edwing357, quiubi, aguamiel, hive-173296, tobago, detlev, fedesox, we-support-hive, kesonaichi, monzo, chirho, daan, sanjeevm, zirochka, reggaesteem, mdrguez, kind.network, mistia, coolsurfer, joele, lloyddavis, dine77, mermaidvampire, teampdx, teamoregon, ganjafarmers, downunder-doctor, ganjafrmer, meesterboom, cedricguillas, stoodmonsters, mimi.ruby, stoodkev, chorock, dendendenden, smasssh, brucutu1, irregular-n, digital.mine, marianaemilia, phortun, gibic, toofasteddie, aequi, fredaig, blackalas, picazzy005, molometer, bingbabe, cocaaladioxine, selfhelp4trolls, biglove, abh12345, itchyfeetdonica, ronaldoavelino, pocoto, michellectv, verhp11, stackin, teutonium, steddyman, abh12345.ccoin, thisisbaris, funnel, stefanialexis, gabrielrr17, pedrocanella, gomster, anjanida, bastter, satoshil, diego1306, goliathus, hive-world, seuamiguto, brucolac, vitoragnelli, hkinuvaime, qyses, kojiri, lobaobh, jpleron, elfino28, dub-c, amazot2, genepoolcardlord, flowtrader, petrvl, freebornsociety, hairyfairy, raj808, karinxxl, onlavu, blockchainyouth, sbi4, pet.society, dosh, lion200, caaio, helgalubevi, zirky, jelly13, bluepluto, carlosro, adulruna, emd012, bteim, highfist, prosocialise, canellov, eddyss, ampm, alexpmorris, kimzwarch, eii, upvoteshares, recoveryinc, hive.friends, bozz, nuthman, for91days, goblinknackers, wherein, samrisso, spectrumecons, jayna, philnewton, racibo, steemcampuk, nutfund, dismayedworld, leighscotford, garlet-68, hoffmeister84, holm, andywong31, soma909, kgswallet, uwelang, dyrt88, belahejna, fulcrumleader, wildarms65, velazquezboy, maajaanaa, shauner, sbi-tokens, urtrailer, gmlrecordz, jelly-cz, deggial, dickturpin, reddragonfly, geekgirl, stayoutoftherz, lizelle, spaminator, zephalexia, bigtom13, domo, radard, lemouth, darth-azrael, travelgirl, m-san, immanuel94, movement19, liz.writes, shaka, mobbs, chinito, piensocrates, minigame, doobetterhive, brutus22, isaria, noboxes, vegoutt-travel, armentor, citizensmith, randomgoodstuff, cnstm, journeyofanomad, captainhive, isaria-ccc, mapetoke, shanibeer, jlsplatts, sneakyninja, thedailysneak, foodfightfriday, ravensavage, kuku-splatts, crowdwitness, splatts, w-splatts, bgmoha, michael561, andyjim, steemcleaners, darth-cryptic, nainaztengra, retrodroid, curatorcat.ccc, mjvdc, cryptocurator, japanguide, steemitcolombia, steem.craft, unbiasedwriter, lestrange, oblivioncubed, votehero, kommienezuspadt, josequintana, msp-makeaminnow, docmarenkristina, voter000, sophieandhenrik, kgsupport, clayboyn, fatman, voter003, bulldog1205, emsenn0, voter001, caribehub, lacking, dying, tattooworld, humoalex, yanes94, newageinv, lowlightart, the-pockets, cimmeron, rokasimir, soyunasantacruz, leprechaun, backinblackdevil, new.things, santacruz.sports, cosmictriage, odessamama, runningproject, gloriaolar, solominer, plantstoplanks, travoved, amico.sports, actifitgirl, whangster79, tomtothetom, hive-195880, tryskele, abcor, cards4rent, angelica7, saboin, aulia1993, krakatice, alonicus, libertycrypto27, wisbeech, leomolina, aafeng, acantoni, dses, beautifulbullies, dbfoodbank, penguinpablo, cryptonized, c0ff33a, funnyman, hungrybear, whiterosecoffee, jacuzzi, the.lazy.panda, beerlover, teamuksupport, cryptosneeze, omnivori, noblegateway, unclefunker, b00m, idig, prometehum, asapers, phage93, insideoutlet, superstarxtala, frejafri, marenontherun, eric.gundam, lifeisajourney, soyrosa, nateaguila, terminado, lolz.ctp, marilour, sinochip, lut-studio, travelflower, kathrynkw, hivewatchers, livinguktaiwan, emma-h, pladozero, dbfbfutures, mrhill, grider123, khirstin, jasonwaterfalls, sazbird, oflyhigh, bilpcoin.pay, lnakuma, xrayman, becca-mac, littlebee4, overclocked, beaker007, almajandra, hjrrodriguez, chrmshly, pjansen.ctp, vixmemon, bagpuss, farm1, gigel2, ph1102, melinda010100, rt395, archon-gov, dechuck, darrenflinders, he-index, elianaicgomes, cbridges573, gucciyours, jacobtothe, learningpages, pardinus, littlenewthings, arc7icwolf, learn2code, matthew.lily, paradoxtma, artlover, franzpaulie, galenkp, galenkp.aus, hive-168869, felixxx, jeffjagoe, bhelatnasudepan, morph, etblink, megstarbies, priyanarc, heteroclite, tebesc, sorin.lite, deirdyweirdy, visionarystudios, galberto, bellscoin, celestegray, logen9f, shinoxl, amigoponc, borjan, gollumkp, farpetrad, leaky20, allover, victoradebiyiart, appreciator, flemingfarm, bluemist, noalys, cielitorojo, fotomaglys, seryi13, abu78, qurat-ul-ain, dynamicrypto, kkarenmp, bertrayo, zaku, alenox, discoveringarni, lucianav, gabilan55, elgatoshawua, hexagono6, power-kappe, aprasad2325, malhy, idksamad78699, pinkchic, yummycruz1, noelyss, inciter, eolianpariah2, david.dicotomia, kattycrochet, thereikiforest, tahastories1, tattoodjay, preparedwombat, novacadian, lichtkunstfoto, wiseagent, dreamtales, incublus, revisesociology, ninnu, cookaiss, marsupia, revise.spk, trafalgar, kaykunoichi, raindrop, traf, lyamalfonzo23, bilpcoinbpc, atongis, el-dee-are-es, himalayanwomb, pocketrocket, reidenling90, ugochill, papilloncharity, jjerryhan, coldbeetrootsoup, hive-132595, dovycola, like2cbrs, cbrsphilanthropy, setpiece, chidi-fine2810, leslierevales, almi, shmoogleosukami, ducecrypto, kstop1, abilitysend, smartvote, passion-fruit, steevc, fortune-master, floatinglin, olaunlimited, valerianis, vikbuddy, tarazkp, jagged, jonela, miha-sweet, critic-on, coffee-lovers, francescomai, tanzil2024, lolz.leo, valued-customer, silverd510, louis88, seckorama, good-karma, esteemapp, esteem.app, ecency, ecency.stats, ecency.waves, sayee, blumela, noempathy, albro, elephantium, bluedevil0722, t0xicgh0st, jane1289, abouttodie, gwajnberg, photographercr, tatdt, hivepakistan, amjadsharif, lifeskills-tv, cwow2, amberkashif, ak08, marynn, misticogama, faiza34, fashtioluwa, mishkatfatima, ukrajpoot, hajime711, foodchunk, les90, ismartboy, fredaa, flourishandflora, sylvasticks, hadianoor, galaxiavtuber, mv-curacion, hashkings, freed99, cryptoferyel, pleo1542, gulivenrev68, s3rg4, ydaiznfts, alicia2022, gornat, cautiva-30, midnight-studio, crypticat, summertooth, quduus1, ayesha-malik, meanbees, shawnnft, evildeathcore, sofathana, fermentedphil, houhou, vaynard86, mipiano, sparker005, hive-180658, trezzahn, costanza, sportfrei, trumpman, ruth-girl, jaraumoses, tesaganewton, dorianblack, trcommunity, deathwing, mrtats, someguy123, emrebeyler, sudefteri, hykss.leo, ausbit.dev, princeofbeyhive, bilgin70, dusunenkalpp, ipexito, mukadder, hive-188753, akifane, gillianpearce, chichi18, unitmaster, m1alsan, cryptoandcoffee, myjob, strava2hive, budapestguide, masoom, sodomlv, ingi1976, giorgakis, alex-rourke, lisfabian, gaposchkin, nrg, ubg, pakgeusyik, lynds, canadian-coconut, ecotrain, dappstats, elamental, steelborne, cryptogambit, repayme4568, jerrybanfield, bia.birch, aleister, cyprianj, akumagai, alypanda, madisonelizabeth, tzae, farleyfund, mattbee, marlonfund, cccf, shadowspub, cliffagreen, thisisawesome, borniet, russellstockley, paydice, imisstheoldkanye, burnhive, vancouverpics, iamleicester, daveks, artonmysleeve, vempromundo, californiacrypto, screenjournal, broncnutz, astrocat-3663, santigs, softworld, buggedout, grindle, daudmuhammad2022, hannes-stoffel, pharesim, warpedpoetic, harbiter, relf87, a-quarius, haccolong, hoaithu, anhvu, qwerrie, ssekulji, duskobgd, votebetting, rufruf, agmoore, gudnius.comics, nanixxx, softa, holovision, holovision.cash, rubelynmacion, bibana, jyoti-thelight, oadissin, roswelborges, szejq, hivelife-pl, hive-lu, ezun1, wrestlingdesires, vyb.curation, dalz.shorts, funshee, trostparadox.vyb, vyb.pob, cositav, ravenmus1c, holovision.stem, mikestrings, aubryd, akijirokoma, vikisecrets, ahlawat, alohaed, dividendencheck, alapok, ace108,