Friday, January 21, 2022

Code & Coffee 1/21/2022

Topic:  Book Review: Code that fits in your head

  1. Intro
  2. Book review: Code that fits in your head:
    1. Slides: https://docs.google.com/presentation/d/1zIvPQo_h_w168xCE2fS4J4OYqHylvH6kSZGw8IQsm5I/edit?usp=sharing
    2. O'Reilly: https://learning.oreilly.com/library/view/code-that-fits/9780137464302/
    3. Amazon: https://www.amazon.com/Code-That-Fits-Your-Head-ebook/dp/B09D2X43VX
  3. Talked a bit about state
    1. How to mutate 
    2. Functional stuff
    3. Grokking Simplicity
      1. Deconstruct programs into:
        1. Data
        2. Computations
        3. Actions
      2. Links to book:
        1. https://learning.oreilly.com/library/view/grokking-simplicity/9781617296208/
        2. https://www.manning.com/books/grokking-simplicity
        3. https://www.amazon.com/Grokking-Simplicity-software-functional-thinking/dp/1617296201
      3. this pairs well with the book:
        1. "Solving Problems the Clojure way"
        2. This aligns well with the data/calculation/actions of Grokking Simplicity
        3. https://www.youtube.com/watch?v=vK1DazRK_a0
  4. Matt's book recommendation:   "How not to be wrong"
      1. Using math to be righter
      2. https://www.jordanellenberg.com/how-not-to-be-wrong
      3. https://www.amazon.com/How-Not-Be-Wrong-Mathematical/dp/0143127535
      4. https://en.wikipedia.org/wiki/How_Not_to_Be_Wrong

    1. Things started getting crazy around here and I couldn't keep up typing as much ;-) and my outline numbering is broken beyond comprehension.
  1. "97 things every programmer should know" - Kevlin Henney
    1. O'Reilly: https://learning.oreilly.com/library/view/97-things-every/9780596809515/
    2. Also look for other "97 things every X should know" books
  2. Refactoring - Martin Fowler
    1. Learn what the work REALLY means.
    2. Changing the shape of code without changing external behavior.
    3. O'Reilly: https://learning.oreilly.com/library/view/refactoring-improving-the/9780134757681/
    4. Amazon: https://www.amazon.com/Refactoring-Improving-Existing-Addison-Wesley-Signature-ebook/dp/B07LCM8RG2/
  3. Pheonix Project - 
    1. Accelerate - Building and Scaling High Performing Technology Organizations"
      1. This is a data and case study driven book separated into two parts, the first part tells about the findings and the second part presents the backing data.  It may be possible to get most of what you want with just the first part if you suspend caring about the backing data.
      2. O'Reilly: https://learning.oreilly.com/library/view/accelerate/9781457191435/
      3. Amazon: https://www.amazon.com/Accelerate-Software-Performing-Technology-Organizations-ebook/dp/B07B9F83WM
    2. The Devops handbook - Gene Kim/Jez Humble
      1. May be hard to just read
      2. Amazon https://www.amazon.com/DevOps-Handbook-World-Class-Reliability-Organizations-ebook/dp/B09G2GS39R
      3. O'Reilly: https://learning.oreilly.com/library/view/the-devops-handbook/9781457191381/
    3. The Unicorn project
      1. https://www.amazon.com/Unicorn-Project-Developers-Disruption-Thriving-ebook/dp/B07QT9QR41
  4. The mythical man month
    1. https://en.wikipedia.org/wiki/The_Mythical_Man-Month
    2. Classic that everyone should read.
  5. Unlimited book budget for the kids
    1. Go pick out any book you want
    2. Would rather have them read low quality stuff than not read at all.
  6. Quastor.org
    1. Daily email with quick hits for learning
    2. https://quastor.org/
  7. Hardcore History - podcast by Dan Carlin
    1. https://www.dancarlin.com/hardcore-history-series/
Good stuff today!
Thank you everyone.

Friday, January 7, 2022

Code & Coffee 1/7/2022

 Topic of the day:  What is an "Expert"?

  • The Expert: https://youtu.be/BKorP55Aqvg
  • The name on the frame is Expert: https://www.youtube.com/watch?v=B2XQN-Yz9EM
  • If someone else says you are good at something you may be an expert
  • If you think you are good: https://www.britannica.com/science/Dunning-Kruger-effect
  • Finding 3 BILLION unnecessary queries might mean you are an expert.
    • Added a cache in front of the db
    • Saved a week of cpu time every 24 hours
    • This was about 1/3rd of the queries
  • Shadow ops are easier when nobody is looking.
  • regexing for xml tags means you probably an expert (at causing yourself pain)
    • Oh by the way, intellij has regex tester (a la regex101) built in
  • Using string interpolation to insert comments making conditionals in your sql query might mean your an expert
    • or it might mean you like pain
  • March is not far from January
    • learning to estimate
    • nobody is an expert at estimation





Friday, November 19, 2021

Code & Coffee 11/19/2021

 No official topic today.

  1. The fun vs irresponsibility curve at Disney
    1. Aiming for peak irresponsibility to attain maximum fun
      1. A little irresponsibility is fun (fully responsible people don't bother with DW)
      2. too much is Gaston-esque and no longer fun
    2. Issues with group tickets
  2. Going on vacation... is fun
    1. Who is gonna do all this stuff when you are gone.
  3. "Postgres jsonb columns"
    1. Working on making this work with Java records
    2. Sounds like fun to me
    3. Dump it in and add indexes to make it work more better.
  4. We talked about modeling the domain objects in the database
    1. Talked a bit about parent-child relationships in the db
  5. Talking about hiring and attrition
  6. Contribute to an open source project as part of the interview process
    1. Have a list of issues on a project give one to a candidate and assess the performance
    2. Sounds like an interesting idea and certainly less sleazy than extracting from a candidate for a proprietary product.

Friday, November 5, 2021

Code & Coffee - 11/5/2021

 No official topic

  • Asking multiple questions in an email
    • Is hard
    • Sometimes the first of two is answered
    • Sometimes the last of two, confusing
  • What are you doing for fun
    • Rebuilding an engine
    • Lego robotics
      • Interesting observations on amount of code vs readability
      • Output to the screen take quite a bit of time
      • Event systems for mitigating the output
    • Github copilot
      • 50% of the time it makes junk
      • 25% of the time it makes something that will be ok after a little editing
      • 15% of the time it makes something that is ok as is
      • 10% of the time is does something surprisingly good
      • It seems to learn your style
      • Quick demo
    • Simple JDBC has been released:
    • JDK 17 is nice, the google formatting plugin needs to catch up.

Code & Coffee 10/29/2021

 No topic today


  • Long lived pets
  • Generating Hibernate ids for externally generated ids
    • The interesting trick is to configure the
  • Force push to master!
    • Removing some unfortunate content that was committed
    • Removed the content and cleaned up the history
    • Something strange in the neighborhood
      • Who you gonna call?
        • Git Busters
  • I got an interesting recursion question
    • Can you say that again?
      • NO!  We have hit the base case.
  • Cycle detection
    • Talked about different options for cycle detection
  • Sooooo close to getting Java 17 working
    • Waiting for an image on the cloud provider
  • Barges vs speedboats
  • Source of truth in the database
    • vs source of lies

Friday, October 15, 2021

Code & Coffee - 10/15/2021

 No official topic today

  • Brief discussion on crypto currencies
    • Really DODO coin?  not sure that would be my first choice for a coin name.
  • Spanner database is pretty cool
    • Distributed SQL database
    • New feature: 100% compatible Postgres interface
  • Camping and shooting guns
    • Reminiscing about Calvinist Cadets
  • Digitizing slides
    • Dust is not your friend
    • The dynamic range of film is still impressive
    • Still not going to back to film though
    • Kodachrome was noticeably better with the older pictures
    • The project brought back some good memories
  • Ebay fees
    • They charge seller fee on tax????
    • Who would do that aside from Michigan where you pay tax on tax at the gas pump
  • Performance testing
    • is more than just load testing, really it is.
Next week:  Re-introduction to SOLID

Friday, October 8, 2021

Code & Coffee - 10/8/2021

 

  • Camera background stuff
    • What's in your background
    • How much do you just let anything go or carefully compose the background
  • Facebook went down a little
    • Rumors... 
    • Apparently they stopped advertising part of their network on BGP
    • I don't use Facebook often but when I do it is down
  • Re-org
    • Is a lot of trading one set of problems for another
  • Remote/Onsite hybrid working
    • Remote vs on-site ratios
    • Differences in how personal connections are created and maintained
  • Buying and selling cars can be fun
    • Bruce told about a video where a guy put a for sale sign on a car and waited for the real owner to show up and nearly ended up buying it from the owner
    • We recounted more interesting car sale stories
  • Odd git behavior
    • comes from odd devs
    • pr wants to merge 39482393 commits from develop_future_dev_nextgen_evenbetterthistime to develop_future_nextgen
  • No frameworks!!!!!
    • Java manifest files are not fun
    • Oh that one with the ejbs is ok, but only cause its old and not fun
  • QOTD:  "They had the ultimate pimped out Jenkins instance"
  • Same language on front end and back end??
    • Well it worked so well for Java, lets try it with Javascript
    • More discussion about this
    • Understanding principals of software design
    • Where is the experience and where does it come from
    • Architecture is ..... delaying the decision
      • NOT picking tools and toys
      • The tech is the problem.... so let's switch the language, yeah that will work.
        • No not really, you are in tradeoff land, just trading a set of known problems for a new set of unknown problems
        • It is not always a bad idea, but you have to come up with the real reason.
  • Happy birthday Dave S. enjoy the Oculus Quest and the virtual working.
    • Talked about roller coasters and dinosaur parks and unexpected movement vs controlled movement and the queasy factor involved in each.
    • It is hard to pick out a gift for tech people.
  • Time to take out the trash!