|
You are here |
techtldr.com | ||
| | | | |
imapenguin.com
|
|
| | | | | A common task in our code is to determine the length of something. In this example, let's check the length of a string like "are you keeping up?" In Python, this is crazy easy. #!/usr/bin/env python message = "are you keeping up?" len(message) In 6510 Assembly, this is also easy. Not crazy easy, but straightforward anyway. messagelength ldx #$00 checkdel lda message,x cmp #$00 ; or whatever we're using as a delimeter beq done inx jmp checkdel done stx messagelen rts .byte messagelen 0 message .null "are ... | |
| | | | |
cyberchris.xyz
|
|
| | | | | This was an older writeup of mine that I posted before I had set up this blog. I am reposting it for my blog now. Whats this for? After stumbling upon the youtube-dl program (link to the repo), I was impressed with its functionality but found it quite inconvenient to have to leave the terminal to search for the url. This led me to write this python script that lets you search Youtube and display the video/playlist ID, all in the command line. | |
| | | | |
yepoleb.github.io
|
|
| | | | | ||
| | | | |
www.java-tv.com
|
|
| | | This video reveals the long lost secret of how to write readable Java code. Self explaining method names, fluent interfaces, DSLs, helpful frameworks... We are always looking for ways to make our code more readable. But in our quest, we seem to have forgotten something. The most effective way to make any code more readable. | ||