Zum Inhalt der Seite gehen

Suche

Beiträge, die mit Programming getaggt sind


💡 Want to simplify your Linux scripts? Our latest guide on the 'case' statement shows you how to handle multiple conditions easily. Perfect for beginner programmers!

Read more: https://www.spsanderson.com/steveondata/posts/2025-04-11/

#Programming #Linux #Code #Blog
💡 Want to simplify your Linux scripts? Our latest guide on the 'case' statement shows you how to handle multiple conditions easily. Perfect for beginner programmers!

Read more: https://www.spsanderson.com/steveondata/posts/2025-04-11/

#Programming #Linux #Code #Blog


😕 Confused by R's loop syntax? ✨ Transform your understanding with clear examples and best practices for writing beautiful, maintainable repeat loops! Read more: www.spsanderson.com/steveondata/...#R #RStats #Programming #OpenData #RStats #Blog
😕 Confused by R's loop syntax? ✨ Transform your understanding with clear examples and best practices for writing beautiful, maintainable repeat loops!

Read more: https://www.spsanderson.com/steveondata/posts/2025-04-07/

#R #RStats #Programming #OpenData #RStats #Blog


Announcing “Samerion: The Hunt” in the new blog article — an online role-playing game for the browser.

https://samerion.com/journal/2025-03

#blog #programming #gamedev #indiedev #webdev
Packing up for The Hunt (promotional picture)


:blobcatgamer: [G-ZERO] — F-Zero inspired SNES Game looks impressive on the Genesis/Sega Mega Drive.

YouTuber and developer [Gasega68k] has released an early work in progress version of 'G-ZERO' for the Sega Mega Drive. A game that is inspired by the iconic Super Nintendo Entertainment System title of 'F-Zero'.

https://youtu.be/M4X5JBXbjLQ

#fzero #sega #megadrive #genesis #port #gzero #retro #gaming #engineer #artist #media #game #history #programming #art #tech #news
The first game in the F-Zero series originally released for the Super NES in the early 90’s, was the first game for the platform that use a technique for background rotation by Nintendo called "Mode 7 Scrolling".

The game works on real hardware, so if you have a SEGA Genesis/Mega Drive and an Everdrive, you can copy the file to the SD card and play the demo.
[ImageSource: Gasega68k]

And here's the latest. "This is a tech demo of G-Zero for the Sega Genesis/Mega Drive, inspired by F-Zero on the Super Nintendo with a mode 7 style rotation background. There are 5 opponents and a rival. The race takes place in a loop, never ending, but the best time gets updated after each lap. This is a WIP, and the author is still working on it."


This weeks #C and #Linux post. Remember, I too am learning as I create these series of posts, please point out errors if you find them.

C Post: https://www.spsanderson.com/steveondata/posts/2025-04-02/

Linux Post: https://www.spsanderson.com/steveondata/posts/2025-04-04/

#Blog #LinuxLearning #CLearning #Programming


This weeks #C and #Linux post. Remember, I too am learning as I create these series of posts, please point out errors if you find them.

C Post: https://www.spsanderson.com/steveondata/posts/2025-04-02/

Linux Post: https://www.spsanderson.com/steveondata/posts/2025-04-04/

#Blog #LinuxLearning #CLearning #Programming


... https://wesleydegroot.nl/blog/Dutch.swift #blog #programming #iosdev #swiftlang


I'm not sure how it is for other topics, but when it comes to programming topics, I keep finding more and more AI slop on "developer" blogs. It's getting to the point where finding helpful content is more and more difficult. I guess because the people who don't actually care about knowledge can spew slop at a much higher rate than people who produce quality content.

Dev blogs used to be a decent supplement to library docs. Not really any more. 😒

#AI #Slop #Programming #Blog


💻 Master while loops in R! Learn how to optimize performance, avoid common pitfalls, and write cleaner code. This guide is perfect for R programmers looking to enhance their skills.

🎯 Check it out: The Complete Guide to While Loops in R here: https://www.spsanderson.com/steveondata/posts/2025-03-31/

#R #RStats #Programming #Data #Code #Blog #RProgramming
💻 Master while loops in R! Learn how to optimize performance, avoid common pitfalls, and write cleaner code. This guide is perfect for R programmers looking to enhance their skills.

🎯 Check it out: The Complete Guide to While Loops in R here: https://www.spsanderson.com/steveondata/posts/2025-03-31/

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


💻 Master while loops in R! Learn how to optimize performance, avoid common pitfalls, and write cleaner code. This guide is perfect for R programmers looking to enhance their skills.

🎯 Check it out: The Complete Guide to While Loops in R here: https://www.spsanderson.com/steveondata/posts/2025-03-31/

#R #RStats #Programming #Data #Code #Blog #RProgramming
💻 Master while loops in R! Learn how to optimize performance, avoid common pitfalls, and write cleaner code. This guide is perfect for R programmers looking to enhance their skills.

🎯 Check it out: The Complete Guide to While Loops in R here: https://www.spsanderson.com/steveondata/posts/2025-03-31/

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


📚 New to C programming? Learn how structures let you group different data types together! Perfect for organizing complex data in your programs.

Check out the step-by-step guide for beginners with clear examples!
👉 Read more here :https://www.spsanderson.com/steveondata/posts/2025-03-26/

#C #CProgramming #Blog #Programming #cprog #learn
📚 New to C programming? Learn how structures let you group different data types together! Perfect for organizing complex data in your programs. 

Check out the step-by-step guide for beginners with clear examples!
👉 Read more here :https://www.spsanderson.com/steveondata/posts/2025-03-26/

#C #CProgramming #Blog #Programming #cprog #learn


Wesley de Groot fixed slow scrolling in Calendo by removing the MapView and caching appointments for... https://wesleydegroot.nl/blog/Fixing-slow-scrolling-in-Calendo #blog #programming #iosdev #swiftlang


:linux:📄 Minimal Linux OS runs in a 6MB PDF Document in Chrome.

A version of the Linux operating system can now be run inside a PDF opened by a Chromium-based browser. The developer [Ading2210] explains that Linux need a modified version of the TinyEMU RISC-V emulator.

https://github.com/ading2210/linuxpdf

#linux #pdf #chromium #based #browser #it #engineer #media #programming #art #tech #developer #artist #news
If you wish to try out the LinuxPDF, it requires a Chromium-based browser to work correctly (I checked, but it didn't work in Firefox on PC).

On the topic of speed and efficiency, [Ading2210] humbly admits that performance might be the largest problem with LinuxPDF. "The Linux kernel takes about 30-60 seconds to boot up within the PDF, which [is] over 100x slower than normal," notes the developer. With Chrome's current PDF engine having its Just-in-Time (JIT) compiler disabled, [Ading2210] sees no way of speeding up the code, for now.
[ImageSource: Ading2210]

The TinyEMU RISC-V emulator runs in the PDF thanks to a technique where its code is compiled "using an old version of Emscripten that targets asm.js instead of WebAssembly." This is embedded and loads in the PDF, subsequently auto-running a minimal Linux kernel targeting that architecture.

In this implementation, once you agree to 'Start Emulator' in your browser, you will see the LinuxPDF UI load, and a welcome message in the Linux viewport, as you wait for the OS to boot.
[ImageSource: Ading2210]

Below the Linux viewport in the PDF is a soft keyboard created by an array of PDF buttons. However, it is likely quicker for everyone with a decent physical keyboard to input commands into the 'type here for keyboard inputs' field to the lower right of the keyboard UI area.


From: blenderdumbass . org

I want to document the way you might have a possibility to use the same software to make a similar website. @Madiator2011 already done that with blog.madiator.com. Lets go over: where you get the code, how do you set it up, how do you publish, how do you manage accounts, and most importantly, how do you modify everything, so it will look like your own thing.

Read or listen: https://blenderdumbass.org/articles/how_to_make_a_blog_like_mine_using_bdserver_software_

#blog #blogging #webdev #website #python #programming #BDServer


Quake ported to Arduino Nano Matter. [Using only 276kb RAM]

Nicola Wrachien with Silicon Labs created this fun handheld, porting Quake using the Arduino Nano Matter. For easy playing a custom controller shaped board was designed with joysticks and a screen.

https://next-hack.com/index.php/2024/09/22/quake-port-to-sparkfun-and-arduino-nano-matter-boards-using-only-276-kb-ram/

#quake #arduino #nano #diy #handheld #port #retro #gaming #art #maker #engineer #artist #media #programming #tech #news
On a technical level, Quake was a dramatic improvement over DOOM, allowing for things like real-time 3D rendering, polygonal models instead of sprites and much more intricate level design. As a result, ports of this game tend to rely on much more powerful processors than DOOM ports and this team shows real mastery of their hardware to pull off a build with a system with these limitations.

Other Quake ports, like one running on an iPod Classic require a similar level of knowledge of the code and the ability to use assembly language to make optimizations.
[ImageSource: Nicola Wrachien]

For a much tougher challenge, a group from Silicon Labs decided to port DOOM‘s successor, Quake, to the Arduino Nano Matter Board platform instead even though this platform has some pretty significant limitations for a game as advanced as Quake.

<https://community.silabs.com/s/share/a5UVm000000Vi1ZMAS/quake-ported-to-arduino-nano-matter-and-sparkfun-thing-plus-matter-boards?language=en_US>

To begin work on the memory problem, the group began with a port of Quake originally designed for Windows, allowing them to use a modern Windows machine to whittle down the memory usage before moving over to hardware. They do have a flash memory module available as well, but there’s a speed penalty with this type of memory. To improve speed they did what any true gamer would do with their system: overclock the processor. This got them to around 10 frames per second, which is playable, but not particularly enjoyable.

The further optimizations to improve the FPS required a much deeper dive which included generating lookup tables instead of relying on computation, optimizing some of the original C programming, coding some functions in assembly and only refreshing certain sections of the screen when needed.


🔤 Master keyboard input in Linux! Learn how to create interactive scripts using the 'read' command - perfect for beginners!

Key topics:
• Basic syntax
• Input validation
• Menu-driven programs

Check the guide: Reading Keyboard Input in Linux https://www.spsanderson.com/steveondata/posts/2025-03-21/

#Blog #Programming #Linux #Bash 🐧💻
🔤 Master keyboard input in Linux! Learn how to create interactive scripts using the 'read' command - perfect for beginners!

Key topics:
• Basic syntax
• Input validation
• Menu-driven programs

Check the guide: Reading Keyboard Input in Linux https://www.spsanderson.com/steveondata/posts/2025-03-21/

#Blog #Programming #Linux #Bash 🐧💻


🔤 Master keyboard input in Linux! Learn how to create interactive scripts using the 'read' command - perfect for beginners!

Key topics:
• Basic syntax
• Input validation
• Menu-driven programs

Check the guide: Reading Keyboard Input in Linux https://www.spsanderson.com/steveondata/posts/2025-03-21/

#Blog #Programming #Linux #Bash 🐧💻
🔤 Master keyboard input in Linux! Learn how to create interactive scripts using the 'read' command - perfect for beginners!

Key topics:
• Basic syntax
• Input validation
• Menu-driven programs

Check the guide: Reading Keyboard Input in Linux https://www.spsanderson.com/steveondata/posts/2025-03-21/

#Blog #Programming #Linux #Bash 🐧💻


Tips to build a personal brand as a developer: define your brand, create an online presence, be active... https://wesleydegroot.nl/blog/Build-a-personal-brand-as-developer #blog #programming #iosdev #swiftlang


:github: GitHub uncovers new Ruby-SAML Vulnerabilities allowing Account Takeover Attacks.

Two high-severity security flaws have been disclosed in the open-source ruby-saml library that could allow malicious actors to bypass Security Assertion Markup Language (SAML) authentication protections.

https://github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentials/

#github #ruby #saml #library #it #security #privacy #engineer #media #programming #tech #news


🎓 New to R? Master the fundamentals with our comprehensive beginner's guide! From data structures to basic operations, we've got you covered. Includes hands-on exercises and real-world examples to build your confidence. Start your data science journey today! 💻📊

Read more at https://www.spsanderson.com/steveondata/posts/2025-03-17/

#R #RStats #Programming #DataSci #LearnR #Blog #RPgramming #Loop
🎓 New to R? Master the fundamentals with our comprehensive beginner's guide! From data structures to basic operations, we've got you covered. Includes hands-on exercises and real-world examples to build your confidence. Start your data science journey today! 💻📊

Read more at https://www.spsanderson.com/steveondata/posts/2025-03-17/

#R #RStats #Programming #DataSci #LearnR #Blog #RPgramming #Loop


🎓 New to R? Master the fundamentals with our comprehensive beginner's guide! From data structures to basic operations, we've got you covered. Includes hands-on exercises and real-world examples to build your confidence. Start your data science journey today! 💻📊

Read more at https://www.spsanderson.com/steveondata/posts/2025-03-17/

#R #RStats #Programming #DataSci #LearnR #Blog #RPgramming #Loop
🎓 New to R? Master the fundamentals with our comprehensive beginner's guide! From data structures to basic operations, we've got you covered. Includes hands-on exercises and real-world examples to build your confidence. Start your data science journey today! 💻📊

Read more at https://www.spsanderson.com/steveondata/posts/2025-03-17/

#R #RStats #Programming #DataSci #LearnR #Blog #RPgramming #Loop


New Blog Post!

Fizz Buzz has just enough complexity to demonstrate a principle that is usually tough to understand through toy examples: the open/closed principle.

https://kerrick.blog/tutorials/2025/fizz-buzz-object-oriented-edition/

#blog #programming #WebDev #SoftwareEngineering #Software #Design #OOP #OpenClosedPrinciple #Metaprogramming #Ruby


Porting Doom to Typescript Types took 3.5 Trillion Lines, 90GB of RAM and a full Year of Work.

The feat was devised by Software Engineer Dmitri Mitropoulos, founder of Michigan Typescript and co-founder of Squiggleconf. He released a video showcasing the results of a year-long effort to get Doom running inside of Typescript's Types system.

https://youtu.be/0mCsluv5FXA

#doom #port #typescript #programming #ascii #art #engineer #media #retro #gaming #history #tech #artist #news
Dmitri Mitropoulos explains that the project was a year-long struggle, due to having to write his own tools, including 12,364 handwritten tests, learning C, C++, WebAssembly & other languages.

"I did develop what I believe to be the largest Typescript codebase ever", the developer explained. Before optimization, he calculated that the project could take up to 1.25 Petabytes of data, with the first frame compiling after three months of continuous type instantiation.

Every type within the project was thousands of lines long, and the project involved developing a virtual machine inside of the Types system, complete with elements like RAM and Disk Space. "The computer is made of Typescript Types that serve as logical implementations of all 116 WebAssembly instructions Doom needs to run."
[ImageSource: Dmitri Mitropoulos]

Typescript is a language built on top of Javascript, that add static typing to catch many errant mistakes before your executes, think of it as guardrails which check that functions and other variables are being used correctly. While this is commonly used in all kinds of development, it's unheard of to run a game within Typescript's Type system.

The port itself runs inside three and a half trillion lines of types, totalling a gargantuan size of 177 TB. This is run through Typescript's Type tracker, which takes 12 days to compile the first frame of Doom (0.0000009645 fps). This meant that 20 million type instantiations were running every second in order to get the output.

Mitropoulos explained in the Michigan TypeScript Discord server that this could be improved to take "1 to 12 hours", as long as someone works on it, with the developer noting that he has notes for where potential performance optimizations could be made.

<https://discord.gg/pfKUSmSY>

This was done by running the project within a custom WASM runtime, which is then processed through Typescript within an editor to display a frame.

<https://github.com/MichiganTypeScript/typescript-types-only-wasm-runtime>
Dmitri Mitropoulos further explained that each value within the Typescript Types system equates to a line of pixels [totalling 128,000 lines of pixels in total], resulting in a "resolution" of 320x200, displayed in ASCII.

To do this, the developer needed to remove limitations within the Typescript compiler itself, highlighting just how large the project got, with the Type tracker runtime consuming over 90 GB of RAM while it was running.

This huge overhead meant that common tools within Typescript could not be used, which meant that the herculean task of encoding every element of Doom in types. This required learning to develop elements like an L1 CPU cache, within Typescript Types itself. Due to Typescript requiring iteration on a single string from the left-hand side, binary algorithms had to be input in reverse.

"Oh, and AI can't help" Dmitri Mitropoulos added, describing that the work was so low level that AI couldn't possibly assist with any of the tasks. Too bad, Grok 3.

Mitropoulos said that he undertook the challenge after completing "every other" Types challenge, and wanted to understand why Doom wouldn't be able to run within Types. However, he managed to find "ridiculous" workarounds to make it all work, despite his own disbelief in the project.


using NavigationStack to manage navigation in SwiftUI apps, with features like declarative... https://wesleydegroot.nl/blog/NavigationStack #blog #programming #iosdev #swiftlang


When I was working on my first Django project, I encountered a problem where modifications done inside pre_save signal were not stored in the database. Back then it took me a couple of hours to figure out what is wrong and how to fix it. I’m sharing what I’ve learned to save that time someone else.

https://mirekdlugosz.com/blog/2025/django-data-modified-in-pre-save-signal-is-not-saved/

#python #django #programming #bugs #blog #software #softwaredevelopment


📚 Arrays in C: Your first step into data structures! Learn how to store and manage multiple values efficiently.

With beginner-friendly examples! ✨

#C #CProgramming #Blog #Programming #CProg #Arrays

Read more here: https://www.spsanderson.com/steveondata/posts/2025-03-12/
C arrays and pointers


📚 Arrays in C: Your first step into data structures! Learn how to store and manage multiple values efficiently.

With beginner-friendly examples! ✨

#C #CProgramming #Blog #Programming #CProg #Arrays

Read more here: https://www.spsanderson.com/steveondata/posts/2025-03-12/
C arrays and pointers


From: blenderdumbass . org

I want to document the way you might have a possibility to use the same software to make a similar website. @Madiator2011 already done that with blog.madiator.com. Lets go over: where you get the code, how do you set it up, how do you publish, how do you manage accounts, and most importantly, how do you modify everything, so it will look like your own thing.

Read or listen: https://blenderdumbass.org/articles/how_to_make_a_blog_like_mine_using_bdserver_software_

#blog #blogging #webdev #website #python #programming #BDServer