Skip to main content

Search

Items tagged with: programming


This is why I don't do front-end dev:

https://www.youtube.com/watch?v=aWfYxg-Ypm4

#Javascript #FrontEnd #Programming


Coding Matrix in Rust | 2023-03-14


Coding our Matrix bot in Rust. This time:

  • Finished !greet, making sure it only affects this room
  • Started on a schema upgrade for the arnie plugin, so we can have multiple personalities

Next time:

  • More work on allowing multiple people, so we can !arnie !person !add and make a new one


I'm going to make a prediction. In less than five years, Microsoft is going to give up on C# even on the backend, in favor of multiple languages such as Typescript/Javascript, Rust, Go and even Java. You're going to see them writing their newer backends primarily in Typescript and Rust. #dotnet #programming


Rust web frameworks have subpar error reporting

https://www.lpalmieri.com/posts/rust-web-frameworks-have-subpar-error-reporting/

Discussions: https://discu.eu/q/https://www.lpalmieri.com/posts/rust-web-frameworks-have-subpar-error-reporting/

#programming #rustlang


This should be the default in #git


[branch] sort = -committerdate

Adding it to your git config will make the command `git branch` sort by last used branches instead of alphabetical. No more trying to remember what I called that last branch!

#programming #tips


We used to have programming books.

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

#programming #atari #forth


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 https://docs.flatpak.org/en/latest/portals.html )

Am I doing this wrong? (Code at https://github.com/TheKrafter/Groupings/blob/rewrite/src/groupings/internal/push.py#L31 )

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


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

https://loco.rs/

Discussions: https://discu.eu/q/https://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 https://www.uiua.org/

#programming


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. - https://typelevel.org/cats-effect/docs/thread-model

----

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

#programming


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

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

#a11y #programming


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

#a11y #programming


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

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

https://github.com/stalwartlabs/mail-server

Discussions: https://discu.eu/q/https://github.com/stalwartlabs/mail-server

#programming #rustlang #selfhosted


Let's get this show on the road, then. In my early days of composition, I used a #midi #programming #language called Zel, which I first found in June of 2001. In fact, you can still find it at its website! https://zelsoftware.org This youtube video is the first completed tune in Zel, from december of 2001. Its simple, I don't do any fancy synth tricks, except some delay on the final piano line, and it's rendered with my #Roland sc-8820. Well, i say simple, at least in comparison to what I'd pull off later. https://www.youtube.com/watch?v=lK9dg5CMWxc


#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

https://github.com/try/opengothic/issues/479
#programming #GameDev #accessibility #blind


Coders: keep your computer responsive while building the #LibreOffice source code! Learn how: https://dev.blog.documentfoundation.org/2023/07/04/parallel-build-tuning-the-performance/ #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 https://linkedin.com/in/randalschwartz

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

#OpenToWork #FediHire


🆕 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: https://shkspr.mobi/blog/2023/02/regular-expressions-make-me-feel-like-a-powerful-wizard-and-thats-not-a-good-thing/

#ComputerScience #programming #regex


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

https://github.com/Raibows/MLinRust

Discussions: https://discu.eu/q/https://github.com/Raibows/MLinRust

#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 https://docs.joinmastodon.org/client/intro/ 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 — https://chrome.google.com/webstore/detail/graze/epocinhmkcnjfjobnglchpbncndobblj

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

❓ FAQ — https://faqabout.me/iam/graze

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

#Mastodon #GrazeForMastodon #fediverse #programming #MastodonTips


Content warning: Braille!