CVS reciepts

I have always assumed the memes about CVS receipts were a joke. Until, of course, I experienced the endless strip for myself. This assumption that people were exaggerating was naive. I bought a box of Fig Newtons and some Aleve (name brand nonetheless! They were out of generic…). I came home and performed a quick search on Twitter to verify that my experience was universal (it is).

It is time to visit the real-CVS-emulator.

This is some simple JavaScript by a user over on CodePen: https://codepen.io/garrettbear/pen/JzMmqg
unsplash-logoCover Photo credit: Priscilla Du Preez

Just checking…

Bill Gates posted his yearly introspection, I was more interested in verifying that he uses IIS to host his website than what his life lessons are.

It’s time for a yearly review. I don’t have one for myself. I don’t make goals. My excuse is that 1 year is too long for most effective goalkeeping. You could lose 20 pounds and gain 30 within the course of a year. One time a friend said that this year was going to be “The year of KAREN!”. I suggested that while what she meant about getting in shape (“GETTING HOT!”) and improving her job outlook creating her year of successes, it could also be the case that a little addiction, spiraling into a full-blown meth frenzy, and ending in jail and intense social shame could also create “The year of KAREN!”. She proved me wrong and had a wonderful year of weight-loss, lifestyle adjustment, and has a much more positive outlook than she used to have. I’m glad that’s the path she took — even if it makes me slightly jealous.

Anyway, my excuse (goals don’t work over the course of a year) is bullshit. I’m still not making any explicit goals, but I think I should read more. My wife and I have gotten our Netflix list under control, but I think in hindsight I should have focused on getting my Goodread’s list under control. I think if I should set a goal I would say just this, I could probably spend my time better than doubting if Bill Gates uses a Microsoft product, he saved many many lives this year — I did not.

The fate of the country does not depend on how you vote at the polls — the worst man is as strong as the best at that game; it does not depend on what kind of paper you drop into the ballot-box once a year, but on what kind of man you drop from your chamber into the street every morning.

Henry David Thoreau, Slavery in Massachusetts

Nice quote! Read the rest here.

You can also download the PDF:

card-games ♠️♣️♦️♥️

I a good card game, here’s one we started, but going off some old rules from a bygone era left us confused. After some searching around I found our slip of paper title “Russian Rummy”, might also be called 12-Step Rummy.

The arduous game looks fun, but really needs some rules to make it playable (who knew?! 🤷‍♂️). Here’s an online guide. Or download the PDF:

serving repositories

I like my logs, like all of them all the time. Elasticsearch cluster, Kibana dashboards, billions and billions of logs, stored and stashed. It’s a happy world for me. Don’t assume I do anything especially useful with those logs, I just like collecting and storing them.

I use nxlog to collect them from Windows machines as well as a much lighter/simpler (?) processor instead of Filebeat. I’m not sure that I can stand by that, but I do know that once you have configured NXLog you can forget about it like forever. With that in mind I thought, well time to add this handy tool to my local repository provider. Simple right? WRONG! In 2018 the poor community of NXLog doesn’t have a repo set up for their software

I will fix this!

(stay tuned for updates…)

Manpower for your projects

I have something to consider next time I take a look at the aging phone system with the ire of a frustrated millennial — looking for the next Silicon Valley “heroes” to come in and save me with some easy, yet functional technology. I rarely acknowledge the lead up to these technologies, but of course using my B.A. in History as I do sometimes, when I do consider it, I take it too far. Much of our technological advancements we utilize on our day to day livelihoods is the result of wartime government spending on research for weapons technology and improving the usage of said weapons.

With my rosy cynicism (“WHAT IS AN OXYMORON, ALEX?”) sorted out, I move beyond the industrial military complex and focus on the numbers problem. Demographic statistics is far from my specialty, but I will say through my anecdotal experience, most of us have some sort of ancestral elder who served/was involved in some rather direct way to the war effort of WWII. This is true around the world, just take a look at the numbers of casualties in Russia or China. Dan Carlin, from the Hardcore History podcast described this numbers thing in the context of China casualties during some attacks as something that you assume was a rounding error.

Everything surrounding the military feels this way to me some days — and here’s another example, the number of people involved in the Manhattan Project:

Read the comments — this isn’t the whole story, over the lifetime of the project up to 500,000 people were involved in some capacity.

Here’s the picture that was provided in a tweet:

The top line focuses on the total number of those involved at a peak it reaches 130,000. Other categories vary, but the scale on the y-axis is in 10's of thousands.
Find more on Wikipedia.

That bomb was going to happen. The government was willing to go to lengths that haven’t been seen in most people’s lifetimes to ensure it. There were similar efforts when going to the moon — an estimation of 400,000 people puts it in the same realm, but of course the much more wholesome goal of going to space might add more collateral to that total. I could keep clicking and linking Wikipedia articles that talk about the amazing numbers of people who were involved in some of the projects of research and development the nation has undertaken, but I pity the reader.

One more political note: let these facts stand as evidence against the “it’s too complicated/expensive/impractical!” exclamations for any social services that the government is asked to provide. Those constrictions aren’t something that the federal government is usually contained to — unless they choose it.

The reason I bring up these historic feats is because of the numbers advantage they have. If only 1% of the people involved in these projects were effective contributors to their success they would still outsize many large enterprises. Just like Carlin suggested about the Chinese casualties — this feels like a rounding error. What modern mass involvement is there to create such a breeding ground for new technologies that can catapult some young talent to rebuild my telecom infrastructure? Am I asking too much of the number of people who have a vested interest in this area?

Yes. I am.

Just add more lines

I’m learning python — and I just did this:

EXCLUSIONLIST = [
    '10.0.0.1',
    '10.0.0.2',
    '10.0.0.3',
    '10.0.0.4',
    '10.0.0.5'
]

# Clean up the generated lists, as well as the exclusions:
# LIST1, LIST2 should not contain any extra crap now.
def listcleaner():
    for i in TOREMOVE:
        logging.info("removing " + str(i))
        try:
            LIST1.remove(i)
        except:
            pass
        try:
            LIST2.remove(i)
        except:
            pass
    for i in EXCLUSIONLIST:
        logging.info("removing " + str(i))
        try:
            LIST1.remove(i)
        except:
            pass
        try:
            LIST2.remove(i)
        except:
            pass

So I know there’s a better way to do it, but not sure how to search it. I’ll update this when I’ve golfed with it a couple times. Don’t lecture me about try and pass. I get the badliness, it’s just in the case of where and why I’m running this, I truly don’t need the error message (famous last words).

Update!

LIST1 = [ 5,10,15,20,25 ]
LIST2 = [ 3,7,11,13,19 ]

TOREMOVE = [ 3,15,19,20 ]
EXLUSIONS = [ 5,7 ]

for i in EXLUSIONS:
    TOREMOVE.append(i)

for x in TOREMOVE:
    print(x)
    if x in LIST1:
        LIST1.remove(x)
    if x in LIST2:
        LIST2.remove(x)

I wish I could say right after I posted I went and cleaned this up to what you see here, but that is not the case. I’m not sure where my head was with the TRY statements, they were very unnecessary. Either way they are gone now! Much cleaner, and this has the advantage of combining the TOREMOVE and EXCLUSIONS lists so if I want to dump a report/log I can do so more easily. 

I’m sure there is a way to get this down even further, but this is the point at which my curiosity is satisfied.

✌️🤜🤛

Seeding content

what better way to get started then with some listings?!

Oh, but Wes I already know about all of these, blah blah blah no new content. Too bad.

Sites I like

  • https://www.cyberciti.biz/ – Here to help with your next escapade.
  • http://tldp.org/ – for when man just doesn’t cut it.
  • https://unsplash.com/ – for looking prettier.

Podcasts

  • https://www.redhat.com/en/command-line-heroes
  • https://motherboard.vice.com/en_us/article/59vpnx/introducing-cyber-a-hacking-podcast-by-motherboard
  • https://99percentinvisible.org/
  • https://www.npr.org/sections/money/

Stuff I use

This might get out of date, but rest assured, it won’t matter too much. I’m not a high maintenance user. I don’t have a homelab, I don’t usually maintain a cloud server, I leave all that at work (see, where this site is hosted! 🤷‍♂️).

  • MacBook Air, 2018
  • iPhone 8 Plus
  • Raspberry Pi, 2

History is study of everything, just not right now.

Some guy at work.