Sunday, April 20, 2025

Easter 2025 Traditions

 I just wanted to make sure I tracked what traditions we did for Easter this year.

  1. Made some cute angelfood/golden oreo/peep cars on Saturday before.
  2. Made flatbread the day before
  3. Watched various Easter movies/tv shows.
  4. Made Quiche for breakfast
  5. Made Crescent rolls with various chocolates/marshmallows inside
    • A big cadbury creme egg
    • Small Cadbury Creme Egg
    • A big marshmallow
    • Dark Chocolate
    • Plain
  6. Orange Julius
  7. Egg Hunt
  8. More Movies.
  9. What else? 

(Random note, tyson got Tunarr installed, and figured out how to create an xmltv file and hooked up our hdhomeruns, so we can watch live tv, I have some issues with them being off. I think I did a bunch of other random things, but that was the major things).

Tuesday, April 15, 2025

AI assistant

 Ok yea million posts like this of course. 

I came across this on hacker news: https://www.geoffreylitt.com/2025/04/12/how-i-made-a-useful-ai-assistant-with-one-sqlite-table-and-a-handful-of-cron-jobs

It reminds me a bit of a prototype I put together where I kinda made a Todo app that saved todos to a file and then could read it as part of its context, etc.

I've also wanted to build something along these lines where I describe what I'm eating and it tosses it in a database maybe with some tags, so I can ask about stuff and it can query. 

I also wanted to do this for tracking exercise...sure a strict webpage/app and UI would be fine. But sometimes just saying hey I weigh x now out loud with one button press .....feels like less friction. Also asking hey how have I been doing for the last month, low friction. 

Pretty cool, so cool I finally just created a discord bot so I could use it similar to the articles telegram bot.

Friday, April 11, 2025

Speeding things up

 I was recently working on a project, the code was running slow and we weren't real sure why. 

Here are some things to think about when trying to speed things up. You can use a profiling approach, and that can point where your slowdowns are. I did a bit of profiling but it wasn't helping, so I took another approach. 

 

The first thing we were doing was reading content from a file. To me figuring out a baseline helps us understand, with the exception of using a new language or library that can read faster, once we were able to read the file in a silo, no other processing this was our baseline. 

What I did was just write a simple Python script it read the file and threw away the output, I added some code to calculate how many lines per second we were reading roughly. It was fast.

However, overall, processing the file, which includes reading the file, doing some stuff, saving the results off, may have taken a considerable amount of time, but after baselining we realized we could at least get the lines wayyyyyyy faster than what our current code was doing. (We were using a different approach to read the file than what my baseline was, there were reasons for the alternative approach, but ultimately they weren't needed so this was a source of major speedup).

I may come back and give other tips but find a baseline so you know, if my code runs in hours, and I know that a particular step takes an hour, you know that whatever your final improvements shouldn't be faster than an hour (excluding any extreme optimizations, or language changes). 

This also helps you guide, if for some reason that step takes a lot more than an hour fixing that step to reach that hour will get you some good gains.


Have y'all ever heard of Ahmdalls law?


The short version (which I'm butchering) is if a particular step only is a small part of processing then optimizing that step won't get you as good as gains compared to a step that is a major part of processing. Figure out what are your major steps, baseline those, and work from there find ways to move your code towards the baselines version as much as you can and you should see improvements.


Monday, April 7, 2025

Algorithmic Complacency

 I watched this before my YouTube refrain 


https://youtu.be/QEJpZjg8GuA?si=c3_oBxiaxJKY9HCV


I highly recommend.


Not long after I had a coworker recommend this book:

https://www.amazon.com/gp/aw/d/0226843084?psc=1&ref=ppx_pop_mob_b_asin_title


The first talks about how much we let algorithms dictate our day to day. And so far the second (book) talks about how people are forced to live with policies and employees are forced to follow policies because that's just how it is.


It's an algorithm of another sort, hand written maybe, not tailored to an individual but still an algorithm and still determining what we can and should do.


I've been frustrated with YouTube for a while as I know that there are specific techniques in play trying to get me to watch longer and more mindlessly. I stopped going on things like Facebook because of that exact stuff. I'm looking for something and Craigslist has been not great this go around so I went to Facebook. Logged in and searched. After messaging a seller I think I may have ended up on the home screen and started to scroll, I got about 3-4 posts in and recognized this is it, it's so easy to scroll, so easy to see 'what your friends are up to'. Which def feels like a lie with all the non friend junk. But also somehow all your friends are content creators these days so now that's even more notifications. It's a mess. So I ban social media at my house. Yes I can get on if I get off wifi but there is an active step, I have to decide yes I want to visit this social media page. I have to decide I want to try my wifi off. 

Think more about what you're doing. Don't let algorithms or policies dictate your life if you can help it.


Saturday, April 5, 2025

what about resetting

 With all the stuff going on lately it had me wondering, what would actually happen if you stripped a business, government, individual, to a very basic version and said 'go' again. 

If tomorrow I sold my house, gave every penny I have away and quit my job, where would I be in 20 years, would I be in the same spot? A totally different spot? No idea, but it definitely has me wonder. 

I can't just restart, I have all my knowledge, unless a brain injury occurs, I get to restart with much more knowledge. I was listening to podcast that talked about these business owners building a business, selling it, and then doing it again, almost speed running the process.

What would happen? Would I be a engineer, would I be a manager? Would I climb the ladder quickly earn as much as I can as quick as I can, would I be working a low paying dead end job.

I don't know, but I think people are often afraid of that great reset, what if the great reset is what you needed to take things to the next level? A whole different level? A reset means maybe losing everything and dying penniless or it could mean achieving your wildest dreams.

You get an update, you get an update, everyone gets an update

 Why do we live in a world where you can't use a piece of software until it updates. This is just silly.

I want to play Xbox ,update. (Also I just stopped playing after the first time nownit collects dust). 

I want to use my cricut, update. 

This needs to stop.

At a minimum updates should remain behind the scenes and happen without the user even knowing or needing to care (I feel like chrome used to do this, I don't use it much anymore but I thought it just....updated with out my knowing it was even happening.).

If a company is going for force updates to use the product do it without my having to wait to use the product. If they don't have to update, even better let me decide when I want to update...if ever.


Anyways super annoying

Friday, April 4, 2025

just say no part 1

 I won't go into a lot of detail here. But I'm going to give my opinion.

Just say no.

Kids watching YouTube unrestricted (kids mode or not)

Just say no.

TV in any bedroom

Just say no.

Online video games for kids

Just say no. 

Mobile games for kids.

Just say no.

Social media.

Just say no.

I probably have many more.

This is a start.

Thursday, April 3, 2025

everything is the same over and over

 I have to laugh. I was reading the tightwad gazette 3. I don't know exactly when this book was written but I'm inclined to believe it's been 20-30 years at least probably longer.

In it I saw a quote,

" The idea that baby boomers have fewer opportunities and must struggle harder than previous generations is believed by millions of americans. Specifically they believe it's almost impossible to raise kids on a middle class income these days anymore "

So basically everyone thinks their parents had it easier. Generation after generation.

It's just wild.

I'm not claiming that folks don't have it harder, nor easier, but just that it seems like everyone has and will indefinitely complain about this.

Wednesday, April 2, 2025

no YouTube March

 Last year I did a month of no YouTube. I'm strict only in the sense of my goals. YouTubers goals are retention, and doing every psychological trick in the book to keep it. Some intentionally, some as a result of optimizing to the YouTube algorithm. 

My goal was to cut that out. That means that if someone sent me a video, maybe I would watch it (though was incredibly rare). Watching an MIT lecture was ok because it's pure education and not retention focused.

Well this year felt rougher than last year, I think part of that was because I spent a lot more time last year watching twitch. While it may have some of the same behaviors it's way more muted, live content is less likely to have the extreme jump cuts, etc. while last years was good, this year part of my focus was trying to get better at exploring the internet. I did this via (yes another algorithm) hackernews, and some help with ChatGPT and Google searches. (With a sprinkle of hackaday, and rasperry pi magazine).

Ok so March is over. Did I jump back on YouTube and go crazy yesterday the 1st ...nope. I think I watched maybe 1 video or part of one but honestly last night had me thinking what if I can make it through April?

A few years back I had a goal of reading more (which has the added side benefit of not watching YouTube lol) I think my original goal was 50 books, then as I was approaching it  I thought..... Why not 75 with a stretch of 100. Well....long story (pun intended) short I surpassed 100. (Mix of audio and physical reading, though almost 0 or maybe 100% 0 digital).

So who knows, maybe in a year I'll be talking about how I'm not watching youtube still.

I think YouTube has a lot of great intent but like social media, I think I need it out of my life as much as possible  using it for purely educational content is my goal, and I've often wondered about building a YouTube "filtering" app that only includes real educational content that isn't designed for views. Who knows maybe ChatGPT will make that for me :).

Tuesday, April 1, 2025

LLM usage 3/22/2025-3/29/2025

I'm not sure what/how to talk about this, but LLMs really are just wild. This isn't an April fools post, I've been busy and just haven't had time to really think through what to talk about here. 

 

Lets get into it.  I use LLMs for a lot of stuff and it's been integrating into my family too, so I guess let's see.

1. While at dinner my kiddo asked if we could use ChatGPT for trivia on Dogman.

2. My son wanted some fraction division practice. He started asking ChatGPT for an app to do this. 

3. I have a friend who wanted to make a sticker based on a badge. Used LLMs to make a basic webpages to upload a image (badge) and it did some segmentation. (Not amazing but worked).

4. I had another friend ask how to host webapps these days. My first reaction was oh I use this (flask) and ChatGPT will make all the code for you. (There were more questions/opinions but that was the main thing).

5. I realized when someone asks me a question.....I think my first reaction from now on should/will be, ask ChatGPT (this is kinda like let me Google that for you) to check my assumptions. However I noted, we lose conversation when questions go to (Google or ChatGPT or whatever). Like we talked for a bit about what he was up to, and I wonder if we wouldnt have that convo if he went straight to  Google/ChatGPT. I went to ChatGPT and asked the question, it suggested various servers, including the one I suggested but it also gave me other names I might check out just to see what they are (so kinda a cool way to learn about tech you maybe haven't heard of before).

6. How to handle difficult situations. Strategies for how to handle yourself in them, it was a conversation I was able to have with someone on what to do.

7. Help upgrading jellyfin server.

8. Ideas on "jobs" for a kid that replace the classic paper route (I had a paper route growing up and wondered what today's 'paper route' is). Reselling was a big one in the list. Etsy was one item which I kinda liked. I might setup an acct and try to get something rolling for my kiddos to sell something on Etsy.

9. Update my QR code generator page (internal page) to give the option of text message qr code format. 

10. Tips on being an adult. I am often wondering how people approach household management, paperwork management etc.

11. Prepping for a sports tournament what things should I bring, how to prep etc.

12. I came across a photography technique I think called jitter photography and I wondered what/how many other cool techniques exist, so there was a long interaction where I was asking for more ideas, this was fun and I came across a few new techniques I would like to try.

13. Update my loan-optimizer.com page, the navigation was broken so I fixed that with ChatGPT.

Lotta different and interesting usages. I have found (personally), with at least the default ChatGPT I tend to go Google a topic if I'm having questions about a topic, so I get ideas of things to look up in chat then go look them up on the web. I don't like to stay 100% in the chat, but I do use it for idea/direction of research generation.

I of course like using it for help with any programming when it makes sense.