Search

Items tagged with: programming


🆕 blog! “Regular Expressions make me feel like a powerful wizard - and that's not a good thing”

(This is a rant because I'm exhausted after debugging something. If you've made RegEx your whole personality, I'm sorry.) The other day I had to fix a multi-line Regular Expression (RegEx). After a few hours of peering at…

👀 Read more: shkspr.mobi/blog/2023/02/regul…

#ComputerScience #programming #regex



The fuck! I understand I didnt sleep for almost two days as it currently stands but I know how to read or atleast I think so. Why the hell it doesn't work?
Code: var data = new Dictionary<string, string>()
{
{ "status", post },
{ "media_ids", String.Format("['{0}',]", attachmentId) }
};
And on docs.joinmastodon.org/client/i… they tell to encode arrays like that. Help #programming


Use Mastodon 🐘 on desktop? I made a Chrome extension to make following people, favoriting, bookmarking & boosting toots on remote instances easy as your home instance! (1-click)!

🙌 Appreciate the boosts! 🙌

🌐 Install Graze For Mastodon — chrome.google.com/webstore/det…

🗨️ Suggestions or issues — graze.canny.io/

❓ FAQ — faqabout.me/iam/graze

(Supports Chromium, Edge, Brave. Safari & Firefox coming soon!)

#Mastodon #GrazeForMastodon #fediverse #programming #MastodonTips


I know that the below post might sound random but here goes.
The Unicode braille block starts from U+2800. The U+2800 character himself is a so called “blank braille pattern” which translates to a space sign in most cases. Stuff get more interesting if you want to make a braille pattern. In computer braille (8 dots) there are 256 possible patterns, it sounds like a byte, right? Right! Cause if you want to make a braille pattern, you just at a byte to the base character U+2800 as we already discussed. The bits in this byte are encoded in column order, so that 11100000 is the letter L, and 1101000 is letter F. The exception to this rule are of course dots 7 and 8. They have been added later and so putting them between dot 3 would break the compatibility with existing software. So, to reassume the encoding order is as follows (from bit 0 of the byte)
Dot 1
Dot 2
Dot 3
Dot 4
Dot 5
Dot 6
Dot 7
Dot 8
Tell me guys if you like such #programming and/or #accessibility posts from me.


4 years using and championing the #fediverse full time and I've never written a #introductions toot. Well, or I have and can't find it.

I'm a #blind guy from 🇬🇧 with a passion for #technology and #programming, particularly #lowLevel #systemsProgramming in #C, #C++, #Rust, etc.

I've been a huge #freeSoftware / #openSource advocate for the majority of my life. I run #Linux and I love open, #decentralised technologies like #ActivityPub, #Matrix, #bitTorrent etc.

In my view, technology is built to make our lives easier, and in many ways, it isn't these days. It is truly my opinion that the only way #tech can be sustainable is if it's built using #FOSS, and does not give ultimate control to any 1 entity, individual or corporate. If technology is to help the people, it must be built *for* the people.

Currently working on odilia.app, various projects with the rest of the Lower Elements gang at lowerelements.club, and a Computing Science BSC at the #University of #stirling





#Dev recommendations 6. #RegEx can be a hard topic for every new person starting with #programming. However don’t be scared of them because they are useful and fun! If you struggle to learn #RegularExpressions here are my favorite resources.
1. regex101.com. This website is your all in one toolbox for regular expressions, with tutorials, reference and a very advanced debugger which can visualise the expression’s output. All for free, and with #accessibility for the #blind out of the box.
2. youtube.com/watch?v=r6I-Ahc0HB…
A little course on regular expressions. The teaching is cler and the guy explains everything on the way.
As always, if you have any questions about #RegEx, #csharp #dotnet, #swift or anything else, feel free to ask me!




You’re just a programmer, right? Surely you carry no responsibility for what you program…

Meet the programmers bombing the shit out of Ukraine.

They’re just programmers too.

bellingcat.com/news/uk-and-eur…

#programming #responsibility #ethics #BigTech #surveillanceCapitalism #ukraine #war #theNurembergDefense










#musl is a lightweight libc.

musl is a lightweight and standards compliant #C standard library implementation. musl uses Linux calls very closely, making it faster than more general standard libraries as better kernel-specific optimizations are made. musl is highly compatible with standards as well as with glibc, allowing for it to serve as a drop in replacement in many cases.

Website 🔗️: musl.libc.org/
apt 📦️: musl musl-dev#free #opensource #foss #fossmendations #programming






#gemini #programming #C
I'm creating a new Gemini browser in C with Ncurses, named (very creatively) Gemcurses.

It's actually my first project in C, so my code is messy and I'm sure it has a ton of bugs, but it somewhat works!

It requires only Ncurses and OpenSSL libraries.

Feel free to check it out, and tell me what you think and what i need to fix/change/add :)

github.com/crusom/Gemcurses


I'd like to find a community of other people in #tech, maybe people who are interested in talking about things like #cloud alternatives, #cryptography, or #softwaredev processes (like #agile, I guess), #programming. I haven't found too much of that on here. Point me at the good discussions and knowledge sharing, if you know where it is!

Look, software isn't everything, and I'm sure I'll get into some other stuff on here, but the above is what I haven't found yet.
#introductions #introduction