Main menu

Skip to primary content
Skip to secondary content
  • Blog
  • About

John's blog

Talking about technology (mostly)

Category Archives: Programming

Material related to computer programming.

Post navigation

← Older posts

Empty $_FILES array with PHP file upload

Posted on 2023-01-03 [Tuesday] by jj5
Reply

Wow. I just spent a few hours debugging a problem with my PHP file upload. Turns out the fix was to include an ‘id’ attribute on the file input element. Have no idea why that is required or works, but it does.

Posted in Programming, Web | Tagged file, php, upload | Leave a reply

Object Oriented Programming vs Functional Programming

Posted on 2022-12-22 [Thursday] by jj5
Reply

I enjoyed watching this YouTube video: Object Oriented Programming vs Functional Programming.

Posted in Programming | Tagged functional, object oriented | Leave a reply

Wikipedia: All public logs

Posted on 2022-12-21 [Wednesday] by jj5
Reply

Today I discovered this on Wikipedia: All public logs. It’s interesting to see that for something as huge as Wikipedia they still only process a command (vs query) every few seconds.

Posted in Chatter, Programming | Tagged command, query, rate, scale, transactions, wikipedia | Leave a reply

The problem with semver is Hyrum’s Law

Posted on 2022-12-15 [Thursday] by jj5
2

Today I realised the problem with semver is Hyrum’s Law.

Posted in Programming | Tagged api, SemVer, version | 2 Replies

Comparison of algorithm running times

Posted on 2022-12-13 [Tuesday] by jj5
Reply

So I put this together. It’s a comparison of various Big-O running times. It was an exercise in a book I’m reading: Introduction to Algorithms, 3rd Edition, which is obsolete now as the 4ed is out.

Posted in Programming | Tagged algorithm, analysis, Big-O, running time | Leave a reply

Declarative Diagrams

Posted on 2022-11-23 [Wednesday] by jj5
2

Some diagram generators to check out:

  • Graphviz
  • Mermaid
  • D2 Declarative Diagramming
  • PlantUML
Posted in Programming, Writing | Tagged D2, declarative, diagram, generator, Graphviz, Mermaid | 2 Replies

Window Functions Overview

Posted on 2022-11-21 [Monday] by jj5
Reply

Reading about Window Functions.

Posted in Database, Programming | Tagged mariadb, window functions | Leave a reply

Interactive trees in HTML5

Posted on 2022-11-20 [Sunday] by jj5
Reply

So from here I learned how to do this.

Posted in Programming, Web | Tagged css, hierarchies, html5, interactive, trees | Leave a reply

The RS-232 protocol

Posted on 2022-11-06 [Sunday] by jj5
Reply

An awesome video about The RS-232 protocol by Ben Eater. There’s some cool stuff on his channel.

Posted in Electronics, Programming | Tagged ben eater, RS-232 protocol, serial, video | Leave a reply

Booth multiplier

Posted on 2022-11-03 [Thursday] by jj5
Reply

Today I learned about Booth’s multiplication algorithm. I will have to circle back and read closely.

Posted in Mathematics, Programming | Tagged algorithm, Booth multiplier, multiplication | Leave a reply

Post navigation

← Older posts

Archives

  • February 2023 (2)
  • January 2023 (20)
  • December 2022 (19)
  • November 2022 (42)
  • October 2022 (43)
  • September 2022 (62)
  • August 2022 (23)
  • July 2022 (18)
  • June 2022 (32)
  • May 2022 (24)
  • April 2022 (10)
  • March 2022 (30)
  • February 2022 (20)
  • January 2022 (15)
  • December 2021 (27)
  • November 2021 (29)
  • October 2021 (25)
  • September 2021 (17)
  • August 2021 (41)
  • July 2021 (36)
  • June 2021 (21)
  • May 2021 (35)
  • April 2021 (34)
  • March 2021 (55)
  • February 2021 (49)
  • January 2021 (26)
  • December 2020 (13)
  • November 2020 (27)
  • October 2020 (25)
  • September 2020 (13)
  • August 2020 (12)
  • July 2020 (19)
  • June 2020 (16)
  • May 2020 (4)
  • April 2020 (1)
  • March 2020 (1)
  • February 2020 (1)
  • January 2020 (1)
  • October 2019 (1)
  • August 2019 (2)
  • July 2019 (2)
  • June 2019 (5)
  • March 2019 (1)
  • December 2018 (1)
  • September 2018 (1)
  • August 2018 (3)
  • July 2018 (5)
  • February 2018 (1)
  • December 2017 (1)
  • November 2017 (3)
  • August 2017 (3)
  • July 2017 (3)
  • June 2017 (1)
  • May 2017 (14)
  • April 2017 (2)
  • March 2017 (7)
  • February 2017 (3)
  • January 2017 (1)
  • December 2016 (5)
  • October 2016 (2)
  • September 2016 (1)
  • July 2016 (4)
  • June 2016 (5)
  • May 2016 (5)
  • April 2016 (11)
  • March 2016 (2)
  • January 2016 (1)
  • October 2015 (1)
  • September 2015 (8)
  • August 2015 (14)
  • July 2015 (3)
  • June 2015 (9)
  • May 2015 (6)
  • April 2015 (4)
  • March 2015 (6)
  • February 2015 (2)
  • January 2015 (8)
  • December 2014 (9)
  • November 2014 (17)
  • October 2014 (7)
  • September 2014 (5)
  • August 2014 (13)
  • July 2014 (21)
  • June 2014 (22)
  • May 2014 (55)
  • April 2014 (19)
  • February 2014 (1)
  • November 2013 (2)
  • October 2013 (7)
  • September 2013 (7)
  • August 2013 (12)
  • July 2013 (16)
  • November 2012 (24)
  • October 2012 (40)
  • September 2012 (7)
  • August 2012 (9)
  • July 2012 (14)
  • May 2012 (1)
  • April 2012 (9)
  • March 2012 (29)
  • February 2012 (60)
  • January 2012 (96)
  • December 2011 (29)
  • November 2011 (3)
  • October 2011 (8)
  • September 2011 (25)
  • August 2011 (40)

Categories

  • Art (4)
  • Asset (1)
  • Book (18)
  • Business (13)
  • Chatter (293)
  • Cloud (9)
  • Data (29)
  • Database (33)
  • Design (163)
  • Diary (4)
  • Electronics (166)
  • Games (5)
  • Hall of Fame (1)
  • Hardware (33)
  • Homework (4)
  • Internet (190)
  • Learning (3)
  • Mathematics (17)
  • Music (8)
  • Notes (6)
  • Philosophy (86)
  • Privacy (1)
  • Programming (753)
  • Reading (3)
  • Science (4)
  • Sys Admin (526)
  • Testing (3)
  • TODO (59)
  • Tribute (4)
  • Vocabulary (7)
  • Web (104)
  • Wishlist (5)
  • Writing (15)
  • Xbox (16)

Recent Posts

  • Firefox snap, Ubuntu, EPSON printer not available
  • Bipolar Junction NPN and PNP transistors
  • 300in1 Project 155. DTL OR GATE
  • Homework
  • First contact
February 2023
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728  
« Jan    

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Tags

apache api bash c++ code command line css data database debian design disable email error file firefox google HTML html5 http https install javascript kde key linux mailman mediawiki mysql password pcphpjs performance php postfix progclub programming size software ssh ssl svn ubuntu unicode vim web
Powered by WordPress