Shaffan

@cosmicboi
3 Followers
22 Following
58 Posts
Software dev, Linux user, MBTi enjoyer :)
Chicken Soup for the Programmer’s Soul

The Linux kernel is a life-altering piece of software. I’m only exaggerating a little My journey with Linux started in the summer of 2014, when my dad brought me a laptop running Ubuntu from …

Shaffan Mustafa's Blog
From Spring Boot to Ruby On Rails

Link to original Medium article I had published earlier with the same name. I’m migrating from Medium to WordPress, a delightful experience which I may make its own blog post :) I have wanted…

Shaffan Mustafa's Blog
Why I Still Use Rails

Hello, friends! Originally posted to Medium Whether or not you’ve heard about Ruby on Rails (henceforth referred to as “Rails”) in a while, or ever, it is one of the classic web frameworks. It adva…

Shaffan Mustafa's Blog
Why I Left Medium for WordPress

Hey guys! I’ve recently decided to get more into blogging for a variety of reasons, including that I wanted to do something a bit more creative than web application development, and that I wa…

Shaffan Mustafa's Blog

NGL, at times I get a fair amount of satisfaction when this happens. Like; welcome to my world darling; do you not know what my face means? OH, that must be terrible. No, I’m not gonna tell unless you ask, and then i’m gonna act like you’re weird for not understanding right away! OH, what was that? did i not respect your space? I’m sorry, just explain to me all the ways how your space needs to be respected and ill try to get it right on my third try.Oh, its hard to explain what you need from me right now? Well, figure it out you can’t expect me to read your mind now can you. [all with a kind soft smile] (sorry, i’m a bit bitter today)

That’s okay. I think there’s a sense of validation in that experience. Seeing an NT struggle with understanding autistic culture and social interactions is validating of the struggle we experience with NTs. For me, it’s not that I find pleasure in their difficulty as if I’m getting a sense of revenge. It’s that I can see that there is a difference in our neurological design, so we both have to work harder to interact. Autistic people just happen to be the minority in a society designed for NTs, so we have more difficulties.

All in all what makes the struggle the most difficult for me is no cuddles, no physical affirmation. If I could just get my daily cuddles from someone, I’d be so much more balanced as a person. But now I just gotta act very casual around people while im actually just starving for some affection.

DUDEEE! I am the same way. I just need that physical affection and I’m good. It’s not that I want romantic or sexual attention. That would be nice, but not the point. There’s just something about cuddling and physical touch that seems to be a necessity for my mental well-being. I just need to be held, squeezed, or caressed regularly. It’s one of the reasons I like dancing as a hobby. There’s a lot of physical touch and interaction that helps me meet that need in an appropriate manner. Here’s a relevant meme you might appreciate:

Me and my ex used to get into terrible fights, but even when we were mad at each other, as long as she was touching me, I was ok.

Again, sorry for going so dark… not really having my day today… im in a venty mood

I don’t think you need to apologize. That’s what this community is here for: to support each other. ❤️

OpenBSD is a Cozy Operating System

Came to my basement hang out to listen to some records. Volume cannot be adjusted until Sonos does an update. Which it could not do. I'm in the middle of the second attempt and it's not working. I have never seen a piece of amazing gear go downhill so quickly as Sonos after the last couple of years. None of their stuff works on wifi—I have to use ethernet or it constantly gets lost. And now these frequent updates that, as far as I can tell, make things worse.

I recently worked in #Rails 7.2.alpha using #Ruby 3.3 on regular #Windows, and some slowness aside, everything worked absolutely fine for my needs.

Thanks for doing such a great job, the Rails, Ruby, #RubyonWindows, RubyGems, SQLite3 and Puma teams.

(regular windows = no docker, no WSL2)

I'm a software developer and system administrator; most of my recent work has been with Rust, TypeScript, Ruby, and Nix, but I'm quick to pick up new tools and happy to use the best tool for the job.

I love building tools to make people's lives easier, whether those people are end users, back office staff, or fellow developers on my team. I also excel at "corporate archaeology" - digging through old issue trackers, Slack messages, etc to understand why a system is the way that it is today.

Public projects from the past few years include:

  • Implementing a virtio-scsi device in Rust for the rust-vmm suite of hypervisor components.
  • Building a lightweight website for checking train times from the National Rail API. I'm also in the process of replacing this site's existing external backend with my own Rust implementation, which consumes the Darwin "push port" live feed of every train location in the Great Britain while using negligible CPU and a few hundred MB of RAM.
  • Building a Nix-based development environment for local testing of fediverse software.

Past employers include an American school district IT department (four years part time), Google Summer of Code (one summer half-time), Mythic Beasts, and the Digital Service at CMS (one summer each full-time).

Things I'm looking for in an employer:

  • Scotland or remote (I might also consider positions elsewhere in the UK)
  • Ideally willing to sponsor a UK work visa (I have other visa options for the next two years, but going immediately into a work visa would be best)
  • A worker-, community-, or publicly-owned employer would be a huge plus

Many thanks in advance for any leads! #GetFediHired

QEMU GSoC vhost-user-scsi Report

QEMU GSoC vhost-user-scsi Report. GitHub Gist: instantly share code, notes, and snippets.

Gist

jQuery is a lot smaller and less nebulous than its competitors (looking at you,React literally every JavaScript framework).

Jquery was what was popular when i learned js. I’m kinda glad it was, honestly: jQuery is a little unique in that it doesn’t have magic to it the way js frameworks do. Everything you can do in jQuery, you can do in vanilla JavaScript pretty easily. With, say, React, how is a newcomer supposed to understand how a series of React components become HTML?

So jQuery kept it “real” for me. Fewer abstractions between me and the HTML meant it was easier for me to connect the dots as a self taught developer.

As for how it’s changed, it’s more any how vanilla JavaScript has changed. A lot of the things that made jQuery so much easier and cleaner than vanilla are now baked in, like document.querySelector(), element.classList, createElement(), addEventListener()… It had Ajax methods that, before jQuery, were a tremendous pain in the ass.

jQuery was great, but, you basically had to use it with something like PHP, because it had no back end. So when angular came out (and a few others that aren’t around anymore and I’ve forgotten), it allowed you to replace both PHP and jQuery, and developers rejoiced.

Why did they rejoice? I’m not actually sure there was reason to, objectively speaking. As developers, we like new tech, especially if that new tech requires us to think about code differently, even if, in retrospect, it’s a hard argument to make to say that, if we had just stuck with PHP and jQuery we would be somehow worse off than we are with React.

Of course, in tech, when a new system changes how we think, sometimes (not as often as we’d like) it helps us reconsider problems and find much more elegant solutions. So, would we have all the innovations we have today if all these js frameworks has never existed? Obviously we can’t really answer that – but it’s a toke of copium for when we get nostalgic for the PHP/jQuery days.

(Also, for you newer people reading this, you should probably be aware that the PHP/jQuery mini-stack is still very quietly used. You’ll definitely see it, especially in php-baaed COTS.)