Skip to main content

Search

Items tagged with: programming


Advent of Code 2025 - Day 05

Today we got another easy puzzle. Very straightforward and almost too short.

Full solutions at Codeberg: codeberg.org/janAkali/aoc25-ni…

#adventofcode #adventofnim #nim #nimlang #aoc #programming



Call if a relic of my school days but I still work better on solving a puzzle with pen and paper.

I just can't look at a problem and get to coding, there has to be my own diagnosis of it on paper, manually working through test cases, edge inputs and at least two iterations through an entire loop of the main logic. Only after that do I replicate the logic using code. Am I alone?

#programming #python #adventofcode #javascript #kotlin #java #c #golang #php #ruby #swift #perl


I just completed "Printing Department" - Day 4 - Advent of Code 2025

I love using complex numbers for 2d grid coords. Python excels at this kind of puzzle. ~10 lines and 200ms for both parts.

github.com/jstanden/advent-of-…

#AdventOfCode #Python #Programming


As you can see the build process is smooth, the execution is blazingly fast. What more could I ask for?

#programming #technology #BSD #netBSD #metaOS #microVM #networking #qemu #host #bmake #curl #sshd #Linux


Advent of Code 2025 - Day 03

Day 3 was pretty straightforward, though I had a little trouble with the indexing.
I expected that part 2 would need dynamic programming, but I just ended up changing a few numbers in part 1, to solve part 2.

Final version runs in just 240 μs.

Full solution at Codeberg: codeberg.org/janAkali/aoc25-ni…

#adventofcode #adventofnim #aoc #nim #nimlang #programming


I just completed "Secret Entrance" - Day 1 - Advent of Code 2025

github.com/jstanden/advent-of-…

#AdventOfCode #Python #Programming


Soll ich meinen Code mit KI erstellen oder mich durch die Tutorials wühlen?

#selfhtml bietet dieses Jahr wieder einen Adventskalender an, der fundamentale Programmier- und Software-Design-Prinzipien zeigen möchte. Natürlich mit Beispielen und Hintergrund-Erklärungen.

blog.selfhtml.org/2025/dec/01/…

#html #programming #it #fedilz #programmiertechnik


So if you want detailed memory information of your Android just type this in termux

cat /proc/meminfo

Feels like Linux eh?

#programming #bash #csh #zsh #ksh #fish #sh #Linux #command #line #termux #OpenSource #POSIX #technology


I dared to type the same string in google search engine

The output was surprisingly on point, the presentation not great and the massive massive fully identifiable string I had to strip out!

That's where the hidden danger is, that string was so big it took about the whole size of the displayable part of my Android, think about it

The images were totally wrong when you scroll down on google search

google.com/search?q=Stefano+Ma…

#programming #Stories #ITnotes #Stefano #Marinelli #networking #technology #search #engines #Duck #DuckDuckGo


It is very nice and heartwarming to know that there are still search engines left which properly bring up what you asked for.

When I typed the string that you can see at the bottom of the screen cap {Stefano Marinelli} I got proper results
I could immediately go where I want to and read what I want to read

#programming #Stories #ITnotes #Stefano #Marinelli #networking #technology #search #engines #Duck #DuckDuckGo

duckduckgo.com/?q=Stefano%20Ma…


This is an interesting a well-crafted article

The title should be don't shove large language models down our throat.

True artificial intelligence is that what you have and your games, your simulators, etc which has been here for many many decades. This is large language model talk, a whole other Beast

Interesting read recommended

#LLM #AI #slop #large #language #model #programming #technology #theft #copying #yro #intellectual #property

gpt3experiments.substack.com/p…


This one is interesting; the person who founded Blackwater {see Wikipedia} is behind the company which makes the Up phone and uses a former CIA officer to plug the phone

This individual tells you that this phone is fantastic great it's just the most secure phone on the market.

We are on the internet; this is the period of Open large language models making drawings, videos, photos, music based upon petabytes of stolen information

If something sounds and looks too good to be true it usually is

It turns out that this phone is exactly one you should stay away from, if you value your privacy

I'll give you a few links in toots below. Watch the vid, then go and read for yourself

#InfoSec #Android #programming #technology #hardware #security

youtube.com/watch?v=dZU4Pu5oFU…


One important piece of powerful coding, is that termux is not a virtual machine, not an EMU {emulated environment}
Everything is cost compiled and just patched so that it runs natively in Android

Read more about it in this section

wiki.termux.com/wiki/Getting_s…

#programming #bash #csh #zsh #ksh #fish #sh #Linux #command #line #termux #OpenSource #POSIX #technology


Starting today, our little game Fruits and Tails is officially released to the public! Thank you to everyone who came to see our presentation at FRAME today, as well as the organisers!

The game is playable at fruitsandtails.fghj.cz/ using any web-enabled device. Let us know what you think!

(Side note: source code release coming soon)

#gamedev #indiegame #zig #ziglang #programming #art


You may not have expected it but FTP works out of the box, which means that FTP also is baked in the base install of termux

#bash #csh #zsh #ksh #fish #sh #Linux #ftp #command #line #termux #programming #OpenSource #POSIX #technology


Packages are updated easily with pkg

The hints are plentiful

ifconfig is installed by default
You can also keep the shell evironment permanent, true termux itself and of course you should also use your Android BMS {battery management system} to tell it that termux needs to be unrestricted

#bash #csh #zsh #ksh #fish #sh #Linux #command #line #termux #programming #OpenSource #POSIX #technology


In these screen caps I've shown you how I've installed it on one of my Androids and then started working with it immediately because the environment is familiar just like the ones that I knew 30+ years ago

#bash #csh #zsh #ksh #fish #sh #Linux #command #line #termux #programming #OpenSource #POSIX #technology


Termux has so much because It was written for the Command Line jockey. If you ever worked and an Open Source Operating System in {ba/ch/k/z}sh shell;
If you even worked in a closed source command line like DOS you'll feel right that home here

#bash #csh #zsh #ksh #fish #sh #Linux #command #line #termux #programming #OpenSource #POSIX #technology


Organic Maps is standard here when I want to be a easy smooth navigator. I know how to use a compass 🧭 and sextant if needed though

Here you see the fDroid update / installation process

#Maps #Organic #navigation #OpenSource #programming #technology


Organic Maps is a great alternative to the one from Alphabet.

Offline navigation is standard.

#Maps #Organic #navigation #OpenSource #programming #technology

organicmaps.app/news/2025-11-2…


This is a treasure trove of smoothly displayed sources. I've opened init/main.c

Quote

// SPDX-License-Identifier: GPL-2.0-only
/*
* linux/init/main.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* GK 2/5/95 - Changed to support mounting root fs via NFS
* Added initrd & change_root: Werner Almesberger & Hans Lermen, Feb '96
* Moan early if gcc is old, avoiding bogus kernels - Paul Gortmaker, May '96
* Simplified starting of init: Michael A. Griffith <grif@acm.org>
*/

#define DEBUG /* Enable initcall_debug */

^Z

#Programming #OpenSource #Linux #kernel #source #OperatingSystem #clang #configure #make #install #depmod


YIL TIL the Linux kernel explorer

Linux Kernel Explorer is just fun to play with. Don't use mobile to play there. You need a horizontal display

YIL = yesterday I learned

reverser.dev/linux-kernel-expl…

#Programming #OpenSource #Linux #kernel #source #OperatingSystem #clang #configure #make #install #depmod


I wrote a piece arguing that PHP kind of punishes you for writing good code — yes, a spicy take, but someone had to say it.

If you’ve ever tried to be “responsible” in PHP and ended up feeling like the language was quietly judging you, you’ll get where I’m coming from. Rust and Python show up mainly as contrast… and maybe as a gentle tease.

I expect some opinionated responses are in order:)

dev.to/justlig/php-punishes-yo…

#PHP #Programming #Dev #Python #Rust


Another critical section highlighted

Guarding our Federated Network is critical for the infrastructure.
The change is IMHO not just irresponsible, it's a deliberate concentration of users.

Luckily we can reverse the trend, if needed without the blessings of mastodon.social

#FediVerse #Mastodon #technology #programming #defederation #moderation #power #donations



TIL that @Extelec build an awesome Pico Cray super computer. It must be amazing to own. This one computes a mandelbrot set.

I've played with mandelbrot sets, rendering them on IBM PS2 computers in the 1990s.

You can use Mandelbrot sets to create very realistically looking landscapes for example

The PS2 only had a 286 CPU with a 287 Math co-processor.
That meant that even rendering a small set, the computer had to calculate at least 12 to 18 hours. Rendering a whole landscape on which we would play, would be undoable on the 286 with the 287. Based upon the real world results it would take more than half a year of computing time on that low powered machine. Especially since it ran dos 3.3, a single tasking Closed Source operating system

#SBC #Raspberry #Pi #Pico #Technology #OpenSource #programming #SuperComputing #Mandelbrot

extremeelectronics.co.uk/other…


In this wonderfully crafted article vermaden lays out what's in a ZFS boot environment {BE}
The subject can look complex at first glance
If you however take the time to read everything you will understand what goes on in the ZFS BE.

Don't expect to master it after just one reading

If you don't know anything about the subject at hand, but you use ghostBSD for example you already playing with ZFS.

Jump to the magnificent Man pages in freeBSD to get the basics learned. They are excellent in structure. Don't try to learn everything; whole books {may} have been written about ZFS

I've chosen ZFS on root in my ghostBSD installs.

Now go and learn, elevate your Energy

#freeBSD #BSD #ZFS #boot #environment #programming #vermaden #OpenSource #technology #FileSystem

vermaden.wordpress.com/2025/11…


DragonFly BSD is an Operating System which has a lot of fantastic features.
There's so many that you're better off reading about it yourself.
What's important is that the Dragonfly runs as light as possible on your hardware or in your VM on almost any computer in fact, which means blistering speed at anything it does.

You should also learn about the HAMMER file system. IT IS PHENOMENAL

DragonFly BSD has been around for a couple of decades!

Now go read learn and elevate your Energy

#DragonFly #DragonFlyBSD #BSD #freeBSD #OpenSource #Lightweight #HAMMER #FileSystem #technology #programming

dragonflybsd.org/


@Codeberg

Suppose I want to find an interesting project to contribute to on Codeberg. How's that done?

I assume something like this would be nice:
- search through all issues
- restrict to "help wanted" or similar issue labels
- filter by projects implemented mainly in programming language ...

This does not exist, afaict. Or does it?

#codeberg #openSource #oss #programming


Which is the one true way to indent code?

#askfedi #programming #softwareengineering #java #python #csharp #javascript #kotlin #ide #linux #windows #macos

  • Tabs (56%, 103 votes)
  • Spaces (44%, 81 votes)
184 voters. Poll end: 2 weeks ago


Then: The Internet is designed to route around failure.

Now: The Internet is five companies and one of them is broken.

#aws #programming #networking


Today, we had a fire alarm going off at @tudresden when I was just working on a local :git: repo.

This reminded me on the popular meme:

In case of fire 🔥

1. git commit
2. git push
3. leave building

I always had some mixed feelings about it. Thus, I wrote down whats wrong with this meme on several levels (technical and social):

cknoll.github.io/git-fire-en.h…

The essence is to create a #git-alias 'git fire' (consisting of multiple commands) to:

- create a new branch with an unused name,
- add every change to the staging area,
- commit (including message)
- push new branch to remote

Also: helping to mitigate fire damage to humans and infrastructure should be preferred over antisocially running away 🏃‍♂️‍ ("leave building")

#git #programming #software


Fun with PHP: Changing Readonly Properties and Other Shenanigans



Of course this exists...

github.com/azac/cobol-on-wheel…

#Cobol #Programming


How do people "type" text into Labels in Godot? What about RichTextLabels?

I've gone through a few techniques for that over the years and have landed on a pretty simple solution, but it's one I don't think many people are aware of. I'm interested in hearing what other techniques people are trying.

EDIT: I mean animating text appearing in, say, a dialogue box one character at a time.

#godotengine #godot4 #programming #gamedev


Programming Tip: Never recurse into your self, or you will curse, and curse, and curse...

#programming #ITHumor

Diese Webseite verwendet Cookies. Durch die weitere Benutzung der Webseite stimmst du dieser Verwendung zu. https://inne.city/tos