Thursday, October 31, 2024

joining mp3s in the term

mp3 file comcatenation
this article explains a few other ways to do it. alternative to sox like ffmpeg and in great detail.

How to add mp3 support to sox on debian linux


sudo apt install sox libsox-fmt-mp3

joining mp3s with different sample rates

Making this dancehall mix but first doing a conversion in a temporary directory before outputing the file


# Create a temporary directory
tmp_dir=$(mktemp -d)

# Convert the MP3 files to the temporary directory
for file in *.mp3; do
  sox "$file" -r 44100 "$tmp_dir/$file"
done

# Merge the converted files into a single output file in the current directory
sox "$tmp_dir"/*.mp3 dancehall.mp3

# Remove the temporary directory
rm -r "$tmp_dir"

mixing mp3s in the commandline using mp3wrap

Pretty sure sox used to work for me to join mp3s but its not now.. oh well heres aanother way


mp3wrap output.mp3 ./*.mp3

Tuesday, October 29, 2024

bugs & exploits - tom scott

Toms a great story teller. Embedded in this post is a youtube playlist where he explains historical bugs and exploits. I came across this when looking up the heartbleed hack from 2014.

Computer stuff is really easy to make sound boring. one of the comments on the video says...

"Your ability to speak clear coherent thoughts to a camera is incredible."

Monday, October 28, 2024

Thursday, October 3, 2024

Literary Theme Analysis: Amillie -Lil' Wayne

Lately this song has been popping into my head while biking. I love the Beat by Bangladesh. Lil Wayne's "A Milli" consists of a single, continuous verse without any traditional chorus or hook. The verse is long, and there are no clear breaks between different sections, making it more like one extended stream of lyrics rather than multiple distinct verses. The song is built around a repeating instrumental loop, allowing Lil Wayne's rapid-fire delivery to carry the track from start to finish.

The lyrics to Lil Wayne's "A Milli" showcase a mix of themes commonly found in rap music, including wealth, power, street credibility, braggadocio, and defiance. Here's a breakdown of some key themes:

1. Wealth and Success

  • Lil Wayne repeatedly emphasizes his millionaire status and material wealth throughout the song. He mentions luxury cars (Maserati, Lamborghini), expensive watches, and large sums of money. This displays a lifestyle of excess and success, which is a common theme in hip-hop.
  • The refrain “A millionaire, I’m a Young Money millionaire” reinforces his financial success and his association with the Young Money label, symbolizing his high status in the music industry.

2. Power and Violence

  • References to power are evident in his lines about the “almighty dollar” and “ch-cha-cha-chopper,” implying that his time and actions are driven by money and force. He also alludes to violence with phrases like "if you can't beat 'em, then you pop 'em" and "we pop 'em like Orville Redenbacher," signaling street aggression and dominance.
  • There’s also a direct challenge to the police with the line "mother-fuck a copper" and references to evading law enforcement.

3. Defiance and Individualism

  • Lil Wayne portrays himself as untouchable and rebellious, suggesting that no one can catch him or bring him down. This individualism comes through in lines like “you can’t catch ‘em, you can’t stop ‘em.”
  • He also declares that he follows “goon rules,” signaling that he operates outside of mainstream society's norms and values.

4. Braggadocio and Self-Confidence

  • Lil Wayne’s confidence is evident in his repeated statements about being "ill," not just in terms of physical sickness but as a metaphor for his skill and talent. He compares himself to rap icons like B.I.G., Jay-Z, Tupac, and AndrĂ© 3000, positioning himself within the highest echelon of rappers.
  • The lyrics boast about his ability to manipulate situations, making audacious claims like “I can turn a crack rock into a mountain.” These hyperbolic statements serve to elevate his status even further.

5. Street Credibility and Toughness

  • He repeatedly emphasizes toughness, referencing "goons" and "goblins," positioning himself as someone who commands respect and isn't afraid of confrontation.
  • The imagery of being tougher than “Nigerian hair” and living by "goon rules" adds to his image as someone steeped in street culture.

6. Sexual Conquests and Misogyny

  • Lil Wayne makes several references to women in a sexualized and often demeaning way, such as when he speaks of a "Sicilian bitch" or says, "Yeah, I ate a shy bitch." He views women primarily as objects or conquests, with his relationships often framed around power and dominance.
  • Lines like "I got so many bitches, like I’m Mike Lowrey” (referencing the character from Bad Boys) further emphasize his promiscuity and objectification of women.

7. Surreal and Playful Wordplay

  • The song also contains wordplay and surreal metaphors that showcase Lil Wayne’s lyrical prowess. For instance, lines like “I don’t owe you like two vowels” and “I be the shit, now you got loose bowels” are examples of clever, albeit crude, wordplay that add a playful tone to his braggadocio.
  • His humor and wit shine through even in his more aggressive lines, which enhances his unique lyrical style.

Overall, the lyrics of "A Milli" revolve around Lil Wayne’s expression of dominance, both in terms of wealth and power, his untouchable status in the rap game, and his street credibility. These themes are bolstered by vivid imagery, playful wordplay, and a sharp sense of self-confidence.

Wednesday, October 2, 2024

getting bluetooth keyboard working on linux mint

It wasn't pairing. kept asking for a pin and then timing out.


bluetoothctl
agent NoInputNoOutput
default-agent

That gets it working but to persist you need to edit the configs.


sudo vim /etc/bluetooth/main.conf

[Policy]
AutoPair=true