Skip to main content

Search

Items tagged with: Programming


Here's the CISA report on memory-safe programming noted in the podcast.
cisa.gov/news-events/news/urge….
#security #programming


We used to have programming books.

(patch notes: added a more detailed description of the man to the alt text)

#programming #atari #forth


On inheritance and why it's good Rust doesn't have it

thecodedmessage.com/posts/oop-…

Discussions: discu.eu/q/thecodedmessage.com…

#programming #rustlang


So I've been working with GTK4/Libadwaita in Python (in Flatpak), and I'm trying to get notifications to work.

I keep getting this error: "gi.repository.GLib.GError: g-io-error-quark: Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached (24)"

Am I missing Flatpak overrides? (Docs seem to say no docs.flatpak.org/en/latest/por… )

Am I doing this wrong? (Code at github.com/TheKrafter/Grouping… )

#AskFedi #GTK4 #Python #LibAdwaita #gnome #Programming


loco-rs: releasing a framework inspired by Rails on Rust

loco.rs/

Discussions: discu.eu/q/loco.rs/

#programming #rails #ruby #rustlang #webdev


I've been looking at this for 20 minutes and I am still not sure whether this is real programming language or extremely sophisticated trolling.

Uiua uiua.org/

#programming


Rustlantis: a fuzzer for the Rust compiler that already found 9 miscompilation bugs

ethz.ch/content/dam/ethz/speci…

Discussions: discu.eu/q/ethz.ch/content/dam…

#programming #rustlang


Since other people are discussing these things, always a good reminder that on #scala using cats-effect library and using #FunctionalProgramming these thing are properly abstracted away nowadays and on daily usage one finally barely has to care at all about it. - typelevel.org/cats-effect/docs…

----

Two kinds of threads pools, and why you need both | Lobsters - lobste.rs/s/k8knw4/two_kinds_t…

#programming


I've written a #tutorial on how to program #accessible #native #gui #windows applications in #rust using the native-windows-gui library: modulus.isonomia.net/tech/nwg/

Also available in Spanish: modulus.isonomia.net/tech/nwg-…

#a11y #programming


Bueno, ya he sacado tutorial. Aquí os explico como programar una aplicación de #gui nativa para #windows con #rust, y #accesible. modulus.isonomia.net/tech/nwg-…

#a11y #programming


"Safety vs Performance. A case study of C, C++ and Rust sort implementations."

#cpp #rust #c #programming

github.com/Voultapher/sort-res…


Feedback wanted: I made a drop-in JSON replacement that produces smaller payloads. It's for busy programmers who want a quick win. evanhahn.com/jsos-proof-of-con…

It might be a bad idea! Please let me know what you think.

#JSON #compression #programming


Announcement: All-in-one JMAP, IMAP and SMTP server written in Rust

github.com/stalwartlabs/mail-s…

Discussions: discu.eu/q/github.com/stalwart…

#programming #rustlang #selfhosted


#Yaga #mod for the #Gothic #game status update.
Recently the Open Gothic reimplementation of the ZenGin engine became quiet stable which let me to wonder whether it wouldn’t be easier to port YAGA to this engine, instead of relying on the Union SDK which is basically a set of reverse-engineered classes of the original ZenGin engine. This way, we get macOS compatibility, future-proof support for future Windows releases, ETC. That means a lot of Yaga’s code base would have to be rewritten from scratch, but that’s with the benefit.
Tell me what you guys think, and let’s comment on this issue if you have some valuable insights

github.com/try/opengothic/issu…
#programming #GameDev #accessibility #blind


Coders: keep your computer responsive while building the #LibreOffice source code! Learn how: dev.blog.documentfoundation.or… #coding #programming #foss


Early #Perl luminary and author (#OReilly camel and llama books, many magazine articles, etc.) Randal Schwartz, a/k/a merlyn, is in dire financial straits.

He needs gainful #employment NOW of any kind, and although his #programming language of choice now is #Dart and the #Flutter framework, he’s willing to fall back on his @Perl chops.

Refer or reach him at linkedin.com/in/randalschwartz

Or do what I’m doing and sign up for his #Patreon at patreon.com/randalschwartz

#OpenToWork #FediHire


engineering.nyu.edu/events/202…

March 21: "Foundations First: Improving C’s Viability in Introductory Programming Courses with the Debugging C Compiler" - a live talk, evidently viewable over Zoom

If you ever teach people C or learn C, this might interest you

#programming #C #teaching #EngineeringEducation #education


🆕 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


A two-month beginner's project: Machine Learning from scratch

github.com/Raibows/MLinRust

Discussions: discu.eu/q/github.com/Raibows/…

#programming #rustlang


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


I know i've already posted about the #adventOfCode for 2022. But hell does it make you feel good when you finish a task. If you are able and you haven't already, start it, it is fantastic!
adventofcode.com
#tech #technology #programming #advent #christmas #christmas2022


A collection of array rotation algorithms

github.com/scandum/rotate

Discussions: discu.eu/q/github.com/scandum/…

#cprogramming #programming


Wirefish, a crossplatform packet sniffer build with Tauri!

github.com/stefanodevenuto/wir…

Discussions: discu.eu/q/github.com/stefanod…

#programming #rustlang


#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!


Hi, folks! Please participate in our short survey:

> We’d like to learn from #RustLang developers about their experience and best practices with C and C++ code in their Rust code base. <...>

jb.gg/rust_cpp

#JetBrains #IntelliJRust #Programming #IDE


3 years ago I volunteered to create a new edition of Ethan Winer’s 1990s BASIC programming book using LibreOffice (@libreoffice). Over the span of a year, with Ethan’s editorial input, I rebuilt the book layout from TXT sources in #LibreOffice , and recreated all diagrams from scratch using #FreeDOS, #InkScape and #GIMP. It turned out great!

ethanwiner.com/BTU_BOOK.PDF

#BASIC #programming #RetroComputing


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