7
Meeting Seed7 (genodians.org)
submitted 8 months ago* (last edited 8 months ago) by strlcpy@lemmy.sdf.org to c/programming@programming.dev

A strongly typed programming language. Interpreted and compiled. Performance in the ballpark of C. Memory-safe since decades. I feel embarrased to admit that I had been totally unaware of Seed7 until mere two months ago.

[-] strlcpy@lemmy.sdf.org 14 points 8 months ago

What bothers me about this specific question, apart from it being dated, is that it breaks the rules of these kind of riddles. They're implied to be in a sort of frictionless sphere universe, the whole preposition is silly except as an abstract puzzle. To then rely on the physical properties of real lamps is cheating. You're supposed to ignore all the real-world aspects of the setting except that one.

[-] strlcpy@lemmy.sdf.org 14 points 9 months ago* (last edited 9 months ago)

DOS + BIOS boot (hybrid binary)

Repo | day01.asm | day01.c (prototype) | .COM download

Written in x86-16 assembly. Works as a DOS program but also as disk image for older PCs with BIOS support (or older VMs). Getting this setup to work was tricky, especially since when I started this, I had only basic x86-16 experience! Needless to say I've spent much time staring at hex numbers.

The very start of the file determines if it's running in DOS or as a bootloader, in which case it'll have to load the remainder of the file from disk and rearrange the memory layout to emulate the DOS situation.

Right now this is using just one segment of memory (64K). Input data is compressed using a custom run-length encoding scheme. The compressed background image is directly decoded into the VGA framebuffer, after which it is overwritten with the decompressed input file. Space is tight!

My main goal is to finish a few days at least with one or more game consoles supported (GameBoy Advance would be cool) and to do some cool palette tricks, like a day/night transition or animated water and stars.

[-] strlcpy@lemmy.sdf.org 11 points 9 months ago

Capital "I"? Heathen!

[-] strlcpy@lemmy.sdf.org 22 points 9 months ago

unstable-final-release2-usethisone

[-] strlcpy@lemmy.sdf.org 34 points 9 months ago

It's a joke on the "main" name vs. the main() function. That's normally considered the entry point, but really _start() is the OG entry, used by the runtime to do setup before calling main().

79
Default branch (lemmy.nz)
12
submitted 9 months ago* (last edited 9 months ago) by strlcpy@lemmy.sdf.org to c/games@lemmy.world

Switch 2 targets, and comfortably hits, 60 fps in the main story mode. [...] Visually speaking, it does fall short. [...] The game is obviously cut back compared to the PS4's Definitive Edition release on which this is based and, more glaringly, the original PS3 version as well.

[-] strlcpy@lemmy.sdf.org 18 points 9 months ago

These are bikes only, very low speed interactions. The sort where if you do bump into someone, it's just a foot on the ground at worst.

[-] strlcpy@lemmy.sdf.org 29 points 10 months ago

No one who ever had anything to do with OpenBSD or NetBSD would venture such a "best guess"

15
submitted 10 months ago* (last edited 10 months ago) by strlcpy@lemmy.sdf.org to c/techsupport@lemmy.world

I have a retail Windows 7 Home Premium license, which allows for moving between machines. I upgraded it to Windows 8 and 10 through their respective programs and I could upgrade to 11 if it were to support my PC, but it doesn't.

So I want to move the license to my newer laptop (13th gen Intel Framework 13). I could install Windows 10 with my Windows 7 key and then upgrade to Windows 11, but unfortunately the laptop doesn't support 10, not even enough to just install. And Windows 11 doesn't accept my Windows 7 key.

Any ideas? One thing I considered is booting from USB, attach the system storage to a VM, install Windows 10 there, upgrade to 11 and then reboot into it natively, but maybe there's a better way.

(I'm not intent on buying a new Windows 11 license, I own a license for 10 that can be moved and upgraded)

Fixed!

This is what I had to do, in the end, to transfer the retail license from my Windows 10 PC to a Windows 11 laptop:

  1. Link the Windows 10 license to my Microsoft account. First my Windows 10 activation status showed "activated with a digital license", switching to a Microsoft account associated the license with that account, making it show "activated with a digital license connected to your Microsoft account"

  2. Install Windows 11 on the laptop. Choose "I don't have a product key" during installation.

  3. In the Windows 11 activation settings, use the troubleshooter, select the "I changed my hardware" option. It should spin for a bit and then give an option to show devices to transfer the license from. (This first failed for me with a generic error message, fixed by reinstalling Windows 11)

  4. Choose the old system to transfer the license. (My Windows 10 system wasn't listed the first time, I had to convert its account to local and then back to an MS account for it to show up)

The old Windows 7 key w/Windows 10 upgrade path was a massive red herring, that option was closed in 2023.

13

My 1440p monitor died on me so I'm looking to upgrade to a 4K monitor, to be used with my home+work laptops, some older game consoles and an aging Linux PC.

The aging PC is the problem: it's an i5-6600 on an Asus B150M-A. It lacks DP and its HDMI port can't do 4k60.

I vaguely recall there being super cheap graphics cards meant for exactly this sort of thing, just a low end GPU with a bunch of ports, but I can't seem to find much, especially not AMD (Linux + Nvidia remains meh)

Suggestions? Perhaps a minimally invasive upgrade to the PC? Or just stick it out at 1440p (non-integer scaling, ugh) until I can upgrade properly?

[-] strlcpy@lemmy.sdf.org 14 points 11 months ago

My colleague uses it to generate rambling code, often pointlessly rewriting existing logic to solve all kinds of hallucinated problems, which he doesn't understand a bit, then dumps it on me and acts offended when asked to explain any of it.

[-] strlcpy@lemmy.sdf.org 12 points 11 months ago* (last edited 11 months ago)
# We check if the server is on by asking the ALU to perform an operation,
$result = 1 + 1;

if ($result == 2) {
	print "Server is ON.\n";
} else {
	print "Server is OFF.\n";
	print "Power on the system before attempting to run any programs!\n";
}

Brilliant

[-] strlcpy@lemmy.sdf.org 11 points 11 months ago* (last edited 11 months ago)

Even when you get to the actual website results you now have to wade through the AI slop sites

[-] strlcpy@lemmy.sdf.org 13 points 11 months ago

Portable handhelds, I mean form factors like the PSP and Nintendo DS. The downside of the console/handheld convergence is that the handhelds need pretty big screens.

view more: next โ€บ

strlcpy

0 post score
0 comment score
joined 11 months ago