Zum Inhalt der Seite gehen

Suche

Beiträge, die mit Code getaggt sind


Programs don't kill people, computers do

The world outside our computers is unpredictable and interacting with it can make programs unreliable. However, programs must interact with the wider world to do anything useful.
– from Peter Saxton

💻 https://crowdhailer.me/2025-02-06/programs-dont-kill-people-computers-do/

#world #computer #programming #it #code #unpredictable #interactive #kill #people #killpeople #blog #blogpost


🔍 Curious about combining matrices in R? My latest article covers everything you need to know! From row binding to column binding, it's all here.

Check it out at https://www.spsanderson.com/steveondata/posts/2025-02-10/ and share your experiences!

#R #RStats #Programming #Learn #Code #Blog
A code snippet in a dark-themed editor demonstrating how to combine two matrices in R by rows using the rbind() function. The code creates two sample matrices, stores them in a list, and uses do.call() with rbind() to merge them. The final combined matrix is printed to the console.


🔍 Curious about combining matrices in R? My latest article covers everything you need to know! From row binding to column binding, it's all here.

Check it out at https://www.spsanderson.com/steveondata/posts/2025-02-10/ and share your experiences!

#R #RStats #Programming #Learn #Code #Blog
A code snippet in a dark-themed editor demonstrating how to combine two matrices in R by rows using the rbind() function. The code creates two sample matrices, stores them in a list, and uses do.call() with rbind() to merge them. The final combined matrix is printed to the console.


Different kind of #blog tonight;

"To do more, do less"

Words I work by, and here's why:

https://harrywinser.com/posts/to-do-more-do-less/

#Blog #Tech #WebDev #Programming #Code


Finally got around to finishing this post and pushing it live. A few thoughts on readable code and why it's important.

https://chrismcolvin.com/posts/readable-code/

#blog #WebDev #code #developer


Code-Blöcke in Kommentaren

Die Formatierung der Kommentare bei uns ist ein Rätsel. Wie man Code-Blöcke einfügt, erfahrt ihr in diesem Artikel.

#Kommentare #Code #Code_Block #Formatierung #Bludit #Snicker #Linux

https://gnulinux.ch/code-in-kommentaren


Is there an android app which equals Duolingo (and similar apps) to learn how to code?

I kinda want to get back into coding, haven't coded since myspace 🥲 I am a visual learner and most of the time I learn things while watching series/shows for dopamine lol

#programming #coding #code #fedihelp #adhd


All of the software you use, from big tech companies, Apple, Microsoft, Google, Facebook/beta, owners, took fleets of private jets to Washington to bathe in Trumps victory, adore his cock, watch Nazi salutes..., is watching you, your work, and keeping transcripts. All of them brought massive cash and promises.

You are in danger.

Your software is not yours.

You are in danger.

#software #code #coders #danger #mastodon


📊 Creating empty data frames in R is easier than you think! My new guide breaks down the process for R programmers.

Check it out: https://www.spsanderson.com/steveondata/posts/2025-01-16/ and tell me which method you prefer!

#R #RStats #Programming #RProgramming #Blog #Code
**Alt Text:**  
A screenshot of R code in a dark-themed editor demonstrating how to create an empty tibble with specific column types using the `tibble()` function. The code defines columns `id` (integer), `timestamp` (date), `value` (double), and `category` (factor). Below the code, the output of the `str()` function is displayed, showing the structure of the empty tibble with 0 rows and 4 columns, each with its respective data type.


📊 Creating empty data frames in R is easier than you think! My new guide breaks down the process for R programmers.

Check it out: https://www.spsanderson.com/steveondata/posts/2025-01-16/ and tell me which method you prefer!

#R #RStats #Programming #RProgramming #Blog #Code
**Alt Text:**  
A screenshot of R code in a dark-themed editor demonstrating how to create an empty tibble with specific column types using the `tibble()` function. The code defines columns `id` (integer), `timestamp` (date), `value` (double), and `category` (factor). Below the code, the output of the `str()` function is displayed, showing the structure of the empty tibble with 0 rows and 4 columns, each with its respective data type.


📝 In today's article, I explored how to create empty lists in R! Discover the basics and best practices to enhance your data manipulation skills.

Check it out at https://www.spsanderson.com/steveondata/posts/2025-01-13/! Your thoughts matter, so feel free to comment!

#R #RStats #Programming #Data #Code #Blog
A code snippet in R programming language displayed on a dark-themed editor. The code demonstrates creating a mixed-type list using the list() function. The list contains three elements: the number 1, the string "text", and the logical value TRUE. The output shows the list elements indexed as [[1]], [[2]], and [[3]], with their respective values displayed below each index.


📊 Struggling with matrix creation in R? You're not alone! In my latest post, I break down the steps to create empty matrices and avoid common pitfalls.

Dive in at https://www.spsanderson.com/steveondata/posts/2025-01-09/ and let me know your experiences!

#R #RStats #Programming #Learn #Code #RProgramming #Blog #Matrix #Matricies #Array
Code snippet showing how to create empty matrices in R. The first example creates a 3x4 matrix using matrix(NA, nrow = 3, ncol = 4). The second example creates a 2x2 matrix using matrix(NA, 2, 2). Both matrices are printed afterward.
A surreal, green-tinted cityscape inspired by "The Matrix." A large glowing green "R" dominates the background, surrounded by falling binary code. In the foreground, a figure in a black trench coat and sunglasses, resembling Neo, stands on a high ledge overlooking the city. The scene is atmospheric, blending digital and physical elements seamlessly.


📊 Tired of NA values messing up your calculations? Master the na.rm parameter in R to clean your data and get meaningful insights. This guide is packed with examples and tips for handling missing data. Check it out and comment with your favorite R tricks!

👉 https://www.spsanderson.com/steveondata/posts/2024-12-17/

#R #RStats #Programming #DataViz #Code #Blog
Alt text: "A code editor window showing R programming examples of na.rm usage. The code demonstrates vector operations with and without na.rm=TRUE, including sum() and mean() functions. The window has the classic macOS-style red, yellow, and green buttons at the top. The code is syntax-highlighted with comments in grey-green, functions in light blue, and values in red, making it easily readable against the dark background."


🔢 Struggling to identify the column with the highest value in your R data frame? This guide has you covered with step-by-step examples using max.col(), apply(), and more!

💡 Start coding smarter today: https://www.spsanderson.com/steveondata/posts/2024-12-09/

#R #RStats #Programming #DataScience #Code #Blog
A code snippet displayed in a dark-themed code editor. The R code assigns column names corresponding to the maximum values in each row of a data frame (df) to a variable max_col_names using colnames(df)[max_col], and prints the result using print(max_col_names). The editor has visual indicators for close, minimize, and maximize buttons.


📘 Learning C programming? 🌟 My new post explains while and do while loops with real examples and simple explanations. Perfect for beginners to start mastering these essential tools! 💻 🔗

Read here: https://www.spsanderson.com/steveondata/posts/2024-11-27/

💬 Let me know how it goes or if you have questions!

#C #Coding #Code #Blog #Programming #CodeNewbie #LearnC
"A screenshot of a C program code written in a text editor, demonstrating a do while loop that calculates the sum of entered numbers until the user inputs a negative number. The terminal output below shows a series of inputs (6, 7, 8, -2) and the calculated sum (21)."
"A vibrant 8K watercolor illustration of a bustling construction site featuring a giant, colorful 'C' structure at the center. Construction workers in hard hats and safety vests are actively working around the area, with wooden materials and tools scattered on the ground. Towering cranes and partially constructed buildings with scaffolding are visible in the background under a bright blue sky with fluffy white clouds."


✨ Beginner C programmers, ever wondered when to use a while loop vs a do while loop? 🤔 In my latest blog, I break it down step by step with easy-to-follow examples. Start coding smarter today! 🚀

👉 Full guide here: https://www.spsanderson.com/steveondata/posts/2024-11-27/

💡 Give it a try and share your thoughts!

#C #Programming #LearnToCode #CProgramming #Blog #CodingWithC #CCoding #Code #Coding
"A screenshot of a C program code written in a text editor, demonstrating a do while loop that calculates the sum of entered numbers until the user inputs a negative number. The terminal output below shows a series of inputs (6, 7, 8, -2) and the calculated sum (21)."
"A vibrant 8K watercolor illustration of a bustling construction site featuring a giant, colorful 'C' structure at the center. Construction workers in hard hats and safety vests are actively working around the area, with wooden materials and tools scattered on the ground. Towering cranes and partially constructed buildings with scaffolding are visible in the background under a bright blue sky with fluffy white clouds."


🛠️ Master string comparison in R with practical examples and bonus tips! Whether you're dealing with case sensitivity or vector comparisons, this guide has you covered.

Read more and comment your experiences! https://www.spsanderson.com/steveondata/posts/2024-11-25/

#R #RStats #Programming #Code #Learn #Blog #RProgramming #strings #stringr #stringi
A screenshot of R code comparing two strings, "Hello" and "hello", using a case-insensitive comparison. The code converts both strings to lowercase with tolower() and checks if they are equal. If they are, it prints "The strings are equal (case-insensitive)." Otherwise, it prints "The strings are not equal." The code is displayed in a dark-themed code editor.


Super-Lightweight Operating System boots off a 1.44MB Floppy Disk. 💾

[KolibriOS lets you do simple tasks and even play games on your legacy PC.]

While most operating systems are written in C and C++, KolibriOS is written in pure x86 assembly and as a result small and lightweight enough to run off a standard 1.44 MB floppy disk.

https://en.wikipedia.org/wiki/KolibriOS

#kolibrios #floppydisk #x86 #assembler #code #programming #retrocomputing #retro #gaming #it #engineer #media #tech #news
Since then, KolibriOS has become widely multi-platform while maintaining a 32-bit focus and becoming lightweight enough to run on any PC with an i585-compatible CPU, 8MB of RAM and a VESA-compatible video card.

As those system requirements and the option to install it with storage as minute as a 1.44MB floppy drive indicate, this operating system is explicitly targeted at legacy PC hardware.

With the CD-ROM version having the advantage of more software being provided with it, including shareware versions of DOOM and Wolfenstein 3D.
[ImageSource: KolibriOS]

Screenshot of the KolibriOS desktop on first boot with default wallpaper.

As a fork of 32-bit MenuetOS back in 2004, KolibriOS has since followed its own course, sticking to the x86 codebase and requiring only a modest system with an i586-compatible CPU. Unlike MenuetOS’ proprietary x86_64 version, there’s no 64-bit in KolibriOS, but at this level you probably won’t miss it.

<https://wiki.kolibrios.org/wiki/Hardware_Support#Network>
[ImageSource: KolibriOS]

A curiosity recently caught our eye—that curiosity is KolibriOS, a super-lightweight and ultra-fast OS designed for legacy PCs with its floppy drive-friendly install size of just 1.44 MB.

The OS was really fast, stable, runs DOOM smoothly and overall seems to be a great small OS for x86 platforms that could give an old system a new lease on life.

<https://youtu.be/LjvG54xszoY>


🚀 Dive into the world of R programming with our latest guide on comparing two columns! Whether you're checking for matches or differences, this comprehensive tutorial has you covered. Check it out and share your thoughts! 📊🔍

#R #RStats #Programming #Data #Code #RProgramming #Blog

https://www.spsanderson.com/steveondata/posts/2024-11-21/
Screenshot of R code comparing two columns in a data frame. The code creates a data frame with columns col1 and col2, then checks for equality using the == operator. The output shows a logical vector: TRUE, TRUE, FALSE, TRUE, FALSE.
Watercolor illustration of two construction workers in hard hats and reflective vests examining two large, rusted steel letters "R" at a construction site. The background features cranes and steel beams under a hazy sky.


💡 Unlock the secrets of efficient C programming with conditional logic and small change operators.

Explore the article and comment your experience: https://www.spsanderson.com/steveondata/posts/2024-11-20/

#Programming #C #Tips #CProgramming #CodeNewbie #Coding #Code #Blog #LearnC



🤔 Confused about logical operators in C? Our guide breaks down AND, OR, and NOT with easy examples. Perfect for beginners!

Read more: https://www.spsanderson.com/steveondata/posts/2024-11-13/

#Programming #C #Learn #Blog #Code #Coding #CodingTips





🖥️ Beginners, unlock the power of decision-making in C with if and else if! Our latest post breaks down these concepts with easy-to-follow examples.

Perfect for your coding journey!

Explore now: https://www.spsanderson.com/steveondata/posts/2024-11-07/

#C #CProgramming #Blog #Code #Coding #CodingTips #Programming #CProg #CodeNewbie


📊 Unlock the power of the $ operator in R! Perfect for beginners, this guide shows you how to access list elements and data frame columns effortlessly.

Dive in now: https://www.spsanderson.com/steveondata/posts/2024-11-06/

#R #RStats #Programming #DataScience #Code #RProgramming #blog



If you’re from outside the US — or from the US and have voted — and you want to steer clear of stress the next 24 hours, how about learning the basics of #programming #Scheme and/or #Wisp?

It’s a mind-opening experience and might just be the right thing to steer clear of stress:

https://spritely.institute/static/papers/scheme-primer.html
https://www.draketo.de/software/programming-basics-wisp
https://www.draketo.de/software/programming-basics-wisp.pdf

And if you’re a Pythonista, you have a neat head start:

http://www.phyast.pitt.edu/~micheles/scheme/
https://www.draketo.de/py2guile

#python #code #guile #gnu