Search
Items tagged with: Programming
I have a newfound enormous appreciation for curl's ability to re-use connections in combination with the curl multi interface. Lightning fast way to make craploads of HTTPS requests!
Crash fixes, part 4: assertion failure - LibreOffice Development Blog
I have previously written about some crash fixes for segfaults and aborts in LibreOffice. Now I discuss assertion failure.Hossein Nourikhah (LibreOffice Development Blog)
I am playing with the NaturalLanguage framework in #Swift and I am having some interesting results. Here are the most similar words to the word „Dictatorship”. The left column are the words, the right is the distance. The more distant, the less similar the word is.
dictator 0.7791867852210999
autocracy 0.7871801853179932
dictatorial 0.7904724478721619
regime 0.7980139851570129
democracy 0.8397299647331238
totalitarian 0.845069408416748
repressive 0.8523193001747131
oligarchy 0.8619794845581055
despotism 0.8681145310401917
despot 0.8691430687904358
Here is the code I used.
import NaturalLanguage
guard let embedding = NLEmbedding.wordEmbedding(for: .english) else {
print("Nic z tego nie będzie.")
fatalError()
}
let words = embedding.neighbors(for: "dictatorship", maximumCount: 10)
for word in words {
print("\(word.0)\t\(word.1)")
}
#apple #swift #programming #CodingFun #iOS #macOS
Tomorrow at 3 PM EST I'll do a first #stream. We'll make us a #TryHackMe account, go through the new user flow, maybe do a room or two while looking at the various #accessibility gotchas we run into. In future streams we'll do similar for HTB, HTBA etc. as well as more #programming related things but tomorrow ...we leave pallet town all mozie-like. See you all then! #twitch #infoSec #selfPromo
It's also true that many #hacking tools, platforms, courses etc. could use some help in the #accessibility department. It's a neverending vicious circle.
Enter my new twitch channel, IC_null. On this channel, I will be streaming #programming and #hacking content including THM, HTB and who knows what else, from the perspective of a #screenReader user.
What I need, is an audience. If this is something you reckon you or anybody you know might be interested in, drop the channel a follow or share this post. Gimme that #infoSec Mastodon sense of comradery and help me out to make this idea an actual thing :) https://twitch.tv/ic_null #tryHackMe #streamer #selfPromo
ic_null - Twitch
ic_null streams live on Twitch! Check out their videos, sign up to chat, and join their community.Twitch
Lessons learned after 3 years of fulltime Rust game development, and why we're leaving Rust behind
https://loglog.games/blog/leaving-rust-gamedev/
Discussions: https://discu.eu/q/https://loglog.games/blog/leaving-rust-gamedev/
A part of #Rustlang that doesn't get mentioned but is a ridiculous quality of life boon:
dbg!()
Just #[derive(Debug)] on a struct and print it. Suddenly you get insight into what's going on. Very rarely do you need to write your own print.
Insert a dbg in the middle of anything
let diffi = debug!(diffs).iter();
and you get a message with line number and the name of variable:
[src/lib.rs:192:19] diffs = [16, 86, 11]
Not even #Python has that!
This is why I don't do front-end dev:
https://www.youtube.com/watch?v=aWfYxg-Ypm4
#Javascript #FrontEnd #Programming
Interview with Senior JS Developer 2024 [NEW]
Javascript programming languageRust part soon on ?: https://www.patreon.com/ProgrammersAreAlsoHumanJS Stack merch: https://www.redbubble.com/i/sticker/SATAN-...YouTube
Rpgp: Pure Rust implementation of OpenPGP
Discussions: https://discu.eu/q/https://github.com/rpgp/rpgp
GitHub - rpgp/rpgp: OpenPGP implemented in pure Rust, permissively licensed
OpenPGP implemented in pure Rust, permissively licensed - rpgp/rpgpGitHub
Rust finally gets its own official LLM RFC!
https://github.com/rust-lang/rfcs/pull/3603
Discussions: https://discu.eu/q/https://github.com/rust-lang/rfcs/pull/3603
#RustConf videos have been posted! Check out my talk among others.
https://www.youtube.com/watch?v=MTnIexTt9Dk&list=PL85XCvVPmGQgR1aCC-b0xx7sidGfopjCj
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/
Rust web frameworks have subpar error reporting
None of the major Rust web frameworks have a great error reporting story. We try to implement robust error logging with both axum and Actix Web and then compare the results with Pavex, an upcoming Rust web framework.www.lpalmieri.com
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!
So you think you know C?
https://wordsandbuttons.online/so_you_think_you_know_c.html
Discussions: https://discu.eu/q/https://wordsandbuttons.online/so_you_think_you_know_c.html
So you think you know C? - discu.eu
Discussions and related articles for «So you think you know C?»discu.eu
I built something that lets you import Node modules from BitTorrent. It's weird. https://gitlab.com/EvanHahn/node-torrent-import
#Node #NodeJS #JavaScript #BitTorrent #decentralization #programming
https://www.cisa.gov/news-events/news/urgent-need-memory-safety-software-products#:~:text=CISA's%20secure%20by%20design%20white,will%20incorporate%20all%20three%20principles.
#security #programming
The Urgent Need for Memory Safety in Software Products | CISA
Cybersecurity Technical Advisor Bob Lord stresses the importance of memory safety in making software safer by design.Cybersecurity and Infrastructure Security Agency CISA
Announcing `async fn` and return-position `impl Trait` in traits | Rust Blog
https://blog.rust-lang.org/2023/12/21/async-fn-rpit-in-traits.html
Discussions: https://discu.eu/q/https://blog.rust-lang.org/2023/12/21/async-fn-rpit-in-traits.html
Announcing `async fn` and return-position `impl Trait` in traits | Rust Blog
Empowering everyone to build reliable and efficient software.blog.rust-lang.org
We used to have programming books.
(patch notes: added a more detailed description of the man to the alt text)
On inheritance and why it's good Rust doesn't have it
https://www.thecodedmessage.com/posts/oop-3-inheritance/
Discussions: https://discu.eu/q/https://www.thecodedmessage.com/posts/oop-3-inheritance/
Rust Is Beyond Object-Oriented, Part 3: Inheritance :: The Coded Message - discu.eu
Discussions and related articles for «Rust Is Beyond Object-Oriented, Part 3: Inheritance :: The Coded Message»discu.eu
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
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.
Rustlantis: a fuzzer for the Rust compiler that already found 9 miscompilation bugs
Rustlantis: Semantic fuzzing of the Rust compiler and interpreter - discu.eu
Discussions and related articles for «Rustlantis: Semantic fuzzing of the Rust compiler and interpreter»discu.eu
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
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/
Programando GUIs nativos y accesibles en Windows con Rust
Hoy os explico como podemos crear nuestros propios GUIs accesibles en Windows utilizando el lenguaje de programación Rust y la...modulus.isonomia.net
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/
Programando GUIs nativos y accesibles en Windows con Rust
Hoy os explico como podemos crear nuestros propios GUIs accesibles en Windows utilizando el lenguaje de programación Rust y la...modulus.isonomia.net
"Safety vs Performance. A case study of C, C++ and Rust sort implementations."
#cpp #rust #c #programming
https://github.com/Voultapher/sort-research-rs/blob/main/writeup/sort_safety/text.md
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
Proof of concept: drop-in JSON replacement that produces smaller payloads
What if your JSON payloads got smaller by changing one line of code? I made a proof of concept.evanhahn.com
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
GitHub - stalwartlabs/mail-server: Secure & Modern All-in-One Mail Server (IMAP, JMAP, SMTP) - discu.eu
Discussions and related articles for «GitHub - stalwartlabs/mail-server: Secure & Modern All-in-One Mail Server (IMAP, JMAP, SMTP)»discu.eu
Remixing: The oldest Midi composed by me in my collection!
This is my first completed piece that I wrote using Zel, the MIDI programming language! How long ago, you ask? The year, 2001! I’m pretty sure it was Decembe...YouTube
#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
Integrating Accessibility into Open Gothic · Issue #479 · Try/OpenGothic
Introduction Hello everyone. My name is Nuno and I have been working on the YAGA project which aims to make Gothic I, Gothic II/Gothic II NotR accessible and playable for blind players. The current...GitHub
Parallel build: tuning the performance - LibreOffice Development Blog
Here I discuss how to build LibreOffice on your system, while keeping the system responsive by tuning the parallel build.Hossein Nourikhah (LibreOffice Development Blog)