Oh. Idk if my poll question about AI, AGI and ML is worded most effectively. But would love it if you'd retoot. (Top of thread.)
For the record... I dont trust these AI companies out here to protect humanity or have our best interests in mind. But that's something I could possibly discuss in comics or zines.
Just... gauging knowledge before I run my mouf talking about ish.
Murder is a pixel art ECS game engine in C#
cljs-react-devtools :: React DevTools for ClojureScript wrappers
Getting Amazonka S3 to work with localstack
Gooey: Turn almost any Python command line program into a full GUI application
"Go Changes" talk at GopherCon 2023
"Energy is the key" [in programming]
Programming a 144-computer Chip to Minimize Power
Chuck Moore discusses what it takes to program a 144-core asynchronous chip that consumes only 7 pJ/inst, the idle cores taking just 100 nW while the active ones need 4mW running at 666 Mips: tight coding to minimize the number of instructions executed, reducing instruction fetches, transistor switching, and duty cycle.
Q: How do I learn Django?
A: Skip the books. Django is not something you learn by solving theoretical puzzles. It is a framework meant for solving real needs. The best way to learn it is to concentrate on a small business idea, and jump right into it. Understanding the business and product needs will drive the rest of the process. The more you intertwine Django’s concepts with real world needs, the better.
Sinatra Webapp for Viewing FB Marketplace Prices
“@racketlang just exceeded 45,000 commits!”(@sorawee_p) on X
Advent of Code in C++ Template Metaprogramming
uHTTP: Pythonic web development
Linus on Rust in the Linux kernel (December 2023)
A Game Framework in BQN on this episode of the ArrayCast
📆 Day 9 of Advent of Code 2023 is here. Today, we are predicting the next value in a histogram.
📖 Today was all about getting through the long-winded description.
Spotify's shuffle algorithm feels more random, even if the shuffling does not yield a truly randomized ordering of songs.
They did this because their original algorithm that truly randomized the order of the songs didn't quite feel random to listeners, and this was due to two songs from the same artist playing back-to-back, giving the illusion that the playlist has not truly shuffled. It just does not feel random to them.
Article: "Scrambling Eggs for Spotify with Knuth's Fibonacci Hashing"
I always thought that doctests were an evolution of literate programming pioneered by Donald Knuth. However, reading https://en.wikipedia.org/wiki/Literate_programming again, I now see that it's explicitly called out that literate programming is about the ability to form a program from a web of smaller pieces. Importantly, this web does not have to follow the structure of the finished program.
Slashdot: Go Programmers Surveyed: Most Use Linux or MacOS https://developers.slashdot.org/story/23/12/09/0445214/go-programmers-surveyed-most-use-linux-or-macos?utm_source=rss1.0mainlinkanon&utm_medium=feed #Tech #slashdot #Technology #programming
Go Programmers Surveyed: Most Use Linux or MacOS - The Go team conducted a survey of Go Developers in August — and has just released ... - https://developers.slashdot.org/story/23/12/09/0445214/go-programmers-surveyed-most-use-linux-or-macos?utm_source=rss1.0mainlinkanon&utm_medium=feed #programming
Hooboy, I thought authentication documentation was hard to come by, but I just started looking into cross platform image processing with DotNet. I've settled on Magick . Net (ImageMagick wrapper) as that actually has some documentation, hasn't been deprecated, and is being actively maintained.
An Advanced Priority Scheduler for Coroutines
Memray: Python memory profiler
torrents merger for qBittorrent
@eniko *David Attenborough voice
"And here we can see a cpp compiler in the wild mangling a rare, carefully selected function name. It will leave behind nothing but an intelligible carcass. It's family will not even be able to unambiguously identify their former member."
#introduction Hello! My name is Russell, but I tend to go by Russ!
I'm a software dev (I tend to prefer backend or possibly mobile development) who tries to dabble in what tech offers these days - I might even be one of those "tech enthusiasts"
I also have always been a fan of #opensource and enjoy self-hosting stuff, even if I don't have an immediate need for that particular "thing"
Even if you're not into Lisp, the level of discussion on this topics is just a really nice read.
Why are Common Lisp arrays this weird? https://www.reddit.com/r/lisp/comments/18dr7so/why_are_common_lisp_arrays_this_weird/
Debugging. The game where you are the detective, the victim, and the criminal at the same time. You don’t know where the crime took place or what it was, but you're pretty sure there was one.
[AskJS] Kicking a dead horse - TS vs JS
How respond_to Method Works in Rails
How to use re-frame with Biff
`for await` and the battle of buffered streams
Playing with my interpreter that I'm working on.
"Why is the garbage collector not freeing this allocation? It should. It's not referenced anywhere."
Dear reader, I fucked up writing a doubly-linked list insert function. I am a professional software engineer. I've done this professionally for 25 years and for fun for longer.
Due to a stupid mistake I made very early in the project, I had to change a Class name, code file name and all corresponding references and test cases. Boy, what a chore.
Visual Studio Python extension offered to refactor with new Class name but only changed few references, making the task worse 🙁
In this post, we’ll take a look at how to customize the macOS about panel for a SwiftUI app, to let us show custom content.
Biden Administration Announces Funding For Rail Projects
Announcing Rust 1.74.1 | Rust Blog
Final version! https://github.com/Kroc/v80/blob/main/src/v80.wla#L417-L527 This took two days to prefect due to my requirements that I have to read the input number one byte at a time, blind, unlike most examples online that assume the digits are already available and valid. This code has a nice waterfall effect of falling through each digit 1-4, gracefully handling variable length hex numbers, even including 3 digit ones! #z80 #asm #programming #RetroComputing
In this post, we’ll take a look at how to customize the macOS menu bar for a SwiftUI app, using SwiftUI tools like CommandMenu and CommandGroup.
Is it possible to improve the refactoring in #VSCode?
I was using #Eclipse nearly 20 years ago now and its Java refactoring was FAR superior to what VS Code has.
It might be a Python vs Java thing, but some of it is simple stuff like "extract variable" extracting _all_ instances in scope, or being able to rearrange function arguments.
Hacking on Ruby Prism with Kevin Newton · Senior-level skills for experienced developers
I just published a new coding project on github!
This is an early exploration of what I call an “epigenetic algorithm.” It’s inspired by an observation: in living cells, the process of evolution is actively managed by the cell, which itself is an evolved mechanism. Using evolution to optimize evolution seems like a powerful trick, so I’m trying to reproduce it in small-scale AI experiments. I hope to make evolutionary computing more open-ended, more successful in vast search spaces, and less biased by the programmer. In this case, I’m generating cool looking Game of Life simulations, but I hope to find many more practical applications in the future.
I hope folks find this interesting, and I’d love to hear your thoughts and feedback!
Spicy take: If your software development team is using Prettier, you should set it to indent with tabs, not spaces.
That makes it easy for everyone to set whatever indentation depth they want, and even adjust it if they feel the need. Someone who can pick out a 4-column indent better than 2 will have trouble reading that "indented with 2 spaces" stuff, but tabs let everyone coexist.
"One way of describing the history of programming languages over the past 75 years is: They have steadily raised the baseline of what 'normal' programmers can express in their languages." https://v5.chriskrycho.com/journal/wizardry-frontier/
Smaller and Safer Clojure Containers: Minimizing the Software Bill of Materials
On inheritance and why it's good Rust doesn't have it
You are never taught how to build quality software
PEP 593 is a bit vague on how you’re supposed to actually consume arguments to `Annotated`; here is my proposal.
I know that writing tests is valuable and important, because whenever I don't do it and then backfill them later, I find out something was broken in a subtle and unexpected way. #programming
Animations were the most powerful feature of SwiftUI from day one. You can quickly build fluid animations in SwiftUI. The only downside was how we control animations whenever we need to run multi-step animation or scope the animation to a particular part of the view hierarchy.
Here are valuable resources on #eBPF to guide you from beginner to advanced levels:
- First, watch this #documentary: https://www.youtube.com/watch?v=Wb_vD3XZYOA. This video will motivate you to learn about eBPF.
- Following that, view one of the guests, Liz Rice, from the aforementioned documentary, showcasing the eBPF 'Hello World!' program at https://www.youtube.com/watch?v=uBqRv8bDroc. In brief, eBPF is an in-kernel virtual machine where user space programs can run. In this video, she codes the eBPF hello program in #C, loads it into the #kernel with the assistance of another program written in #Go, and there is much more covered in the video. The presentation slides are accessible at https://speakerdeck.com/lizrice/beginners-guide-to-ebpf-programming-with-go
- Following that, you can delve into one of the reports by Liz Rice herself titled 'What is eBPF?'. The report is available for free download at https://isovalent.com/books/ebpf/. In this insightful document, the author covers topics ranging from understanding the eBPF program, the advantages of eBPF over a #Linux kernel module, the process of crafting user and kernel space code for eBPF programs, attaching an eBPF program to various kernel events, the portability of eBPF programs across kernel versions with CO-RE (compiled once and run everywhere), eBPF's role in the cloud, and an exploration of various eBPF tools.
- I also recommend the second book from the same author, titled 'Learning eBPF', available for free and legally downloadable from https://isovalent.com/books/learning-ebpf/. This practical book covers topics in-depth, featuring a 'Hello World!' program in chapter 3 where both kernel and user space programs are entirely written in C. This provides a comprehensive understanding of what unfolds behind the scenes during eBPF program execution. Additionally, there is a dedicated chapter focusing on eBPF #Programming.
- Explore various documentation, talks, tutorials, articles, and blogs about eBPF at https://ebpf.io/what-is-ebpf/#further-reading.
- Liz Rice blog: https://www.lizrice.com/
- Liz Rice LinkedIn: https://www.linkedin.com/in/lizrice/
Show your support for the author (and me 😉) by ordering the physical book online on #Amazon (#India) - https://amzn.to/3GyJ6TW
Everyday performance rules for Ruby on Rails developers
Dump C++ and in Rust you can trust, Five Eyes agencies urge
@ploum @drewdevault Hmm... Well, each maintainer needs to do what works for them, of course, but personally the worst experiences I've ever had contributing to open source projects have been the ones that accept patches by email. I've been driven away from multiple projects by the sheer difficulty of understanding changes and following discussions in that workflow.
#Programming hot take:
Ruby (over Python)
Just (over Make & others)
PowerShell (over bash, with caveats, and over cmd all day long)
Nushell (over bash & others)
Scoop (over Chocolatey & manual installation)
EditorConfig (over dealing with whitespace conflicts _again_)