The Little Coder That Could

I have still been working on Stakeout but I’ve also been trying to get started on the PHP version of myRockinApp. In the many months since I last worked with the Spotify Web API, they started requiring authorization for everything and I just can’t seem to understand how it works. Spotify provides plenty of examples for JavaScript and, I think, even Python but they direct PHP users to some GitHub repos.

The PHP github stuff are libraries for people to use … I don’t want to use them … I want to learn to make my own. I am struggling to reverse-engineer them. Writing the JavaScript and Python versions of this were so much easier. SO much easier.

Been struggling with that for at least a couple weeks.

I keep thinking I could do that thing where you pass things back and forth between jQuery and PHP but … I don’t like that for several reasons. Among other things, it seems sloppy and like cheating.

I keep seeing references to cURL — I may have mentioned this before — and it frightens me. I have no idea what it is, how it works, or how to use it. It looks completely unfamiliar. My stomach hurts at the idea of jumping down another rabbit hole of learn this but you need to know this to use that and you need to know this other thing to do that.

Searching StackOverflow for “Spotify” and “PHP” returns a ton of unanswered questions from years ago.

Okay, the code in one of the two active PHP/Spotify repos is a lot easier to understand than the one I’ve been trying to understand and work with. Added bonus, it requires cURL and had that reference hyperlinked to the main cURL page at php.net. As it turns out, the cURL Introduction page made all my anxiety go away.

Advertisements
Posted in myLearning, myProgress, myProjects, Spotify, Uncategorized | Leave a comment

More than 2GB RAM in Dell Vostro 1000?

My ancient, heavy laptop runs awfully slow sometimes. What’s weird, is I’ve watched Netflix on it just fine, but very often clicking a menu is followed by a long wait. Very long. I rarely use it for such things as streaming video — it’s my ever-present coding machine. The only demands I place on it are text editors so it’s as perplexing as it is frustrating when it hangs.

I found a few threads — one at cnet and another at notebookreview — in which people fought over whether a Dell Vostro 1000 (like my hand-me-down) could handle more than the 2GB o’ RAM the specs say it can.

Those on the “yes it can” side said they’d installed 4GB (as long as it was 667MHz, not 800MHz according to the Dell forums) and it was worth the few dollars they paid despite the fact that the naysayers were all naysaying, “It’ll never work and even if it did the difference would be negligible but there will be no difference because it won’t work and you’re dumb.”

So I ordered me two 667MHz 2GB sticks and could barely contain my excitement as I installed them.

410524

And the laptop wouldn’t wake up.

So I took them out and reinstalled them — completely convinced that they fit better the second time.

And the laptop still wouldn’t wake up.

So I put the dusty, old 1GB sticks back in.

And it woke back up and said, “What the hell, man?”

So that 4GB kit is now wrapped inside a return shipping label on its way back to Amazon.

Just in case anyone else out there wanted to try that, there’s my two cents.

Posted in Uncategorized, Hardware | Tagged , , , | Leave a comment

Swimming In Green

Show me the commits! Makin’ it rain with git pushes!

Nobody is cooler than me. Obviously.

Last December I wrote about how I’d been distracted from learning new things. At the time, my little GitHub contributions thingy looked like this:

githubstreak

As of a couple days ago, it looked like this:

contributionsLastYear

I don’t think I did much on the FreeCodeCamp site but, for whatever it’s worth, I did do stuff on Codecademy and have learned a ton — increasingly so — on my own projects … especially with the move to my own VPS.

I have never had so much fun making so many mistakes. Not so much “making mistakes” as “breaking stuff.” Not so much “breaking stuff” as “fixing stuff that gets broken.” I actually, seriously love it when I improve one thing but that breaks other things that were depending on code the old way it was written so I keep finding new stuff to fix and, often, have to learn how those things work at a much deeper level.

Posted in myLearning, myProgress, myProjects | Leave a comment

I Need A Break

I need a break from Stakeout. Maybe it would be fun to finally start a PHP version of MyRockinApp.

Posted in myProjects | Leave a comment

Moving To v3 Finally

Used Composer to install PHP-PDFtk. Happiness. Easy.

Finally have all “growing pains” (problems related to movin’ on up to VPS) solved and, finally, adding new features — most notably incorporating PDFtk and PHP-PDFtk.

I’m having an issue with jQuery UI‘s datepicker widget on one of my pages but I’m not sure if that’s related to the move or, if so, how.

Haven’t been writing much here as I’ve been busy with the new tutorials/blog on my github page.

Posted in myProjects | Leave a comment

Deeper. And stuff.

Just installed Composer.

Used that to install the latest version of PHPMailer.

Watching The Fugitive for the billionth time and was inspired to search for PHP jobs in Chicago. God, I’d love to live in Chicago. Almost as much as I love The Fugitive.

Posted in PHP, Server Admin | Leave a comment

You know what …

F**k it. I’m going to start writing for Cracked.

Posted in Humor | 1 Comment