1
15

cross-posted from: https://lemm.ee/post/36326370

Hey Everyone,

I'm very happy to see the engagement in my last post... Hoping to improve my communication skills and reduce my verbosity in the next couple of discussions.

I feel like it is due time to follow-up on what I posted on this board last year. That is, to follow through with "full-stack" hardware-software-application study groups.

If any of you still are interested, I'd like to open up this form for discussion of how that group should be run.

On the subject of HDLs (Hardware Description Languages), VHDL (Verilog HDL) could be fun for some of us to try together. Architecture is also a large concept frequently glossed-over, enciphered with too much jargon, or taught in a very "academic" fashion with very little discussion between students... The traditional classroom model, from what I experienced, is not too conducive to neurodivergent learning styles.

On that note, the RISC-V processor architecture could provide an amazing opportunity to gain a low-to-high understanding. Starting from the Silicon, where we delve into unit operations for chip manufacturing, fundamental solid state / condensed matter physics, and some mathematical models to describe the underlying phenomena. Then we will proceed to what can actually be configured in the ensemble of devices that constitute your "computer". What is a "piece of logic"? How do transistors actually operate? Why do certain design topologies make more sense than others...? And so forth.

We would conclude with some software projects like writing an I/O driver for a keyboard, or pool a fund together for some type of chip we design in EDA together. Overall, it sounds like a great idea for us all to increase our technology literacy, have a fun hobby group to hang out with, and to feel like you own every part of your computer.

On top of this, I feel that we should discuss FOSS tools with each other, as well as how they are best implemented to accomplish common tasks. I've punted the majority of my "Big Tech" stack to the curb the last 5-ish years.

TUI tools as well as CLI interaction is a paradigm of computer operation that I feel many of us have been sleeping on. It also has helped me understand how GUI applications can be better suited for the task at hand, versus when I should be using a terminal emulator to navigate the directory hierarchy instead. Many of you are more versed in programming than I am, so I would love to hear your thoughts.

We could even come up with a project for mobile, who knows? Not sure about the format, whether or not this would be synchronous, and the time commitment and sustainment of motivation throughout a probably 8 week period. However, I feel like a realistic solution for us all to get something meaningful out of an experience like this exists.

Any thoughts on how to get this up and going? What would we need to do on our first meeting together? What things would you want to learn in this course? It seems to me that many of us are already quite literate in sub-domains of what we are interested in. Maybe a teacher carousel routine could be adopted? Where we adopt a general "roadmap" curriculum, and, in an ad hoc fashion, assign people to be the instructor for the desired lesson? Then that person could go and create a slide deck in Beamer, or prepare a presentation with an overhead camera or digital drawing device to use as a teaching medium.

Those are just some ideas. Really looking forward to hearing what all of you think about this.

2
22
3
10

After my previous post introducing Post-Architecture, I received a bunch of positive feedback, as well as enquiries from people wanting to know more. So I figured a follow-up was in order. Feel free to ask questions here as well as on Mastodon!

4
13

Jul 1, 2024

Aman Salykov writes:

This blog post is the result of my attempt to implement high-performance matrix multiplication on CPU while keeping the code simple, portable and scalable. The implementation follows the BLIS design, works for arbitrary matrix sizes, and, when fine-tuned for an AMD Ryzen 7700 (8 cores), outperforms NumPy (=OpenBLAS), achieving over 1 TFLOPS of peak performance across a wide range of matrix sizes.

By efficiently parallelizing the code with just 3 lines of OpenMP directives, it’s both scalable and easy to understand. The implementation hasn’t been tested on other CPUs, so I would appreciate feedback on its performance on your hardware. Although the code is portable and targets Intel Core and AMD Zen CPUs with FMA3 and AVX instructions (i.e., all modern Intel Core and AMD Zen CPUs), please don’t expect peak performance without fine-tuning the hyperparameters, such as the number of threads, kernel, and block sizes, unless you are running it on a Ryzen 7700(X). Additionally, on some Intel CPUs, the OpenBLAS implementation might be notably faster due to AVX-512 instructions, which were intentionally omitted here to support a broader range of processors. Throughout this tutorial, we’ll implement matrix multiplication from scratch, learning how to optimize and parallelize C code using matrix multiplication as an example.

Read Beating NumPy's matrix multiplication in 150 lines of C code

5
46

hello,

I got into learning Perl because some people on IRC said so. at first I wasn't interested in Perl because I already know Python and Python can almost do anything Perl can. I still gave it a try to kinda have some experience learning new language. I am on chapter 3 right now and would make another post about my progress.

https://blob.perl.org/books/beginning-perl/3145_Chap03.pdf

6
7

Since the inception of the Swift language, XCTest has been the preferred testing framework for the majority of Swift developers. However, deeply rooted in Objective-C, its API design heavily borrows from the traditions of that language, failing to fully reflect the modern best practices of Swift programming. In some respects, this has even become a barrier to further development. To overcome these limitations, Apple officially introduced Swift Testing at WWDC 2024—a new testing framework specifically designed for the Swift language. This framework has been integrated into Xcode 16 and positioned as the official testing tool of choice. In this article, we will delve into the features, usage, and unique aspects of the Swift Testing framework, analyzing how it helps developers write test codes faster (Swifter) and more in line with Swift programming habits (Swifty).

7
60

Ladybird, the browser from SerentityOS, now has a non-profit behind it! The guy in the video is not Andreas, but Chris Wanstrath (former CEO from Github), and he's pumping some financial backing into this non-profit.

I for one am happy we're getting an alternative to the Chrome/Firefox duality we're stuck with.

https://ladybird.org/

8
13

Piped link: https://piped.video/watch?v=3so7xdZHKxw

Radiance Cascades are an innovative solution to global illumination from the devs of Path of Exile 2.

I think this video is informative and describes the new approach in a way that’s easy to follow. It’s simple with impressive results.

Link to paper:
https://drive.google.com/file/d/1L6v1_7HY2X-LV3Ofb6oyTIxgEaP4LOI6/view?usp=sharing

A more impressive demo:
https://youtu.be/6O9-BUDk_-c?si=j-cyMMPyjIBthDYw
https://piped.video/watch?v=6O9-BUDk_-c

9
144
  • The developer of the 'node-ip' project made the GitHub repository read-only after disputing the severity of a reported vulnerability (CVE-2023-42282).
  • The vulnerability involved incorrect identification of private IP addresses in non-standard formats, but the developer argued it had a dubious security impact.
  • The situation highlights ongoing issues with unverified CVE reports causing unnecessary panic and frustration for open-source project maintainers.
10
12

cross-posted from: https://feddit.de/post/13720140

For example, there is Material Notes which has a editor toolbar with bold, ~~indented~~, ~~stroke~~, etc. But this is rendered, exported to json or syntax like Markdown. This app too, in which i write this on lemmy, does the same. We have ☐, ☒, •, ‣ in Unicode, 𝗕𝗼𝗹𝗱, 𝑖𝑛𝑑𝑒𝑛𝑡, s̵t̵r̵o̵k̵e̵, so why not use this?

Basically, what i'm looking for is a text editor with editor toolbar/keystrokes for Android or Linux, which adds unicode symbols for rich text. It would make reading plain text notes/todo lists cross-device simpler. Yes, there's UnicodePad and Charmap but that's not the same.

11
19

Just learned that Wikimedia has a project called Wikifunctions. I'm a big fan of Wikipedia and associated projects, and on its face sounds like a cool site. I do wonder how this would work in practical terms though, like how could it actually be used?

12
1
submitted 3 days ago* (last edited 2 days ago) by mox to c/programming@programming.dev

I found this an interesting read about Git's history and design.

13
15

I'm at work in a slow moment with only my phone and pydroid, I wanted to see if there was anything I could learn and mess around with while I'm here

14
1

The site seems very locked down lol, i guess they really want me to pay $300 for semi high resolution images, so i want to scrape the previews instead. it's probably some sort of script since with noscript on the site doesn't even load. It's even beaten my 'absolute enable right click' Extension , and while i can still get the right click going and take a screenshot, i have no option to open the image itself in a new window.

Next up was a simple scraping extension, one i use regularly is webscraper but it's a huge process to use and can snag super easily, so i tried this one called Download All images

That one didn't grab anything besides headers and icons and seemed to have gotten me IP banned. Thankfully i have a vpn and they didn't even revoke my gallery access and i'm back at it again.

I have tried commercial scraping software before but the problem is, afaik these are very big on following robots.txt and that makes a lot of sites unscrapable.

So you've all heard my dilemma, and i'm curious, cause at this point it's a game. How would you all approach this? what software would you use?

15
27

This specification defines the UUIDs (Universally Unique IDentifiers) and the UUID Uniform Resource Name (URN) namespace. UUIDs are also known as GUIDs (Globally Unique IDentifiers). A UUID is 128 bits long and is intended to guarantee uniqueness across space and time. UUIDs were originally used in the Apollo Network Computing System and later in the Open Software Foundation's (OSF) Distributed Computing Environment (DCE), and then in Microsoft Windows platforms.

16
13
17
15
submitted 6 days ago* (last edited 6 days ago) by MortySmith@programming.dev to c/programming@programming.dev
18
3
New UUID Formats (www.ietf.org)

This document presents new time-based UUID formats which are suited for use as a database key.

19
121
20
12

tl;dr technical about about the upcoming sched_ext interface in Linux 6.11, used for running out-of-tree CPU schedulers on the fly

21
88

Fullstack GUI library for web, desktop, mobile, and more. In Rust using a HTML + CSS renderer built on top of Servo.

22
44

I've seen these posts

But actually I haven't been able to figure out exactly how to get the posts a user has made in lemmy. I've seen this page but I think this is for a different lemmy instance, I'm not sure https://join-lemmy.org/api/interfaces/GetPosts.html

Can anyone point me to a documentation on how to make this?

23
196

The project home page.

The Github

Looks just like VS Code and I think it's still built on electron so take that as you will.

24
40
25
25
submitted 1 week ago* (last edited 1 week ago) by bullshitter@lemmy.ml to c/programming@programming.dev

I want to create an incremental search function for a language. It has to show the same result when I use either Devnagri or English ( how it sounds) For example : 'Kya' should show क्या , 'क्या' should show क्या

Please suggest some guide or tutorial, I am okayish in programming and open to learning

Cheers.

view more: next ›

Programming

16207 readers
33 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS