mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

575
comptes actifs

#golang

18 messages14 participants0 message aujourd’hui

ZenZX Preview Release

I thought I'd give people something better than promises to toy around with. Here's a very early, very rough, very green preview release of ZenZX.

ZenZX is a ZX Spectrum emulator written in Go with a focus on ergonomics and modular, understandable code. It's partly based on my other emulation project called zen80, a highly compliant instruction-stepped Z80 emulator.

drive.google.com/file/d/1MJR6J

See the README included in the .zip file and please let me know if you like anything about it, or if you hate anything about it. At this time, and because countless bugs are yet to be corrected, and I'm aware of hundreds of them, I'm not lacking insights of the type "It has a bug". The kind of useful feedback I'd like to get is more about ergonomics and whether you would use a different key mapping, keyboard shortcuts, colours, etc. Any user-facing ideas you would like to see one day, that would be useful.

You know where to find me 😃

#ZenZX#emulator#golang

I'm really puzzled at some #GoLang "conventions":
github.com/mholt/archives/issu

In this issue, a smaller-than-produced-value type is exposed on a factory API: this would make sense if coding defensively, to reduce the API surface, but not here, IMO.

Forcing consumers to do runtime upcasting because of a convention feels wrong, but I'm perhaps missing part of the picture somewhere.

To me, making something "fail at compile time, when wrong" is a massive value proposition for a compiled language.

What version of the package or command are you using? v0.0.0-20241119192853-c1ebc8406725 What are you trying to do? Use an existing ZIP file as a file system. What steps did you take? package main ...
GitHubNil pointer deref on opening a file within a zip file · Issue #3 · mholt/archivesPar milkpirate

I wrote an article about the primacy of the package as an organizing concept in Go. It's aimed at developers from other ecosystems, covering how old habits can lead to unidiomatic code when in a foreign land.

The post focuses on the "why" of the Go ecosystem context, not just the rules. And yes, there's some Angry Matt profanity peppered in there for good measure.

matttproud.com/blog/posts/go-p

matttproud.com (blog) · Go: Package-Centric Organization
Plus via mtp

Inspired by choosing WriteFreely for a blogging platform, I decided to look into the Go programming language. I've gotta say, I'm really enjoying it, and I don't remember being pulled in by a language this much since I first learned C, many years ago.

I've almost finished working through "Let's Go" by Alex Edwards (Which is currently on sale). Typically I don't enjoy tutorial style books, preferring reference books, but this one is a great primer for language concepts

New in IconFontCppHeaders, a set of icon fonts codepoints for C, C++, C#, Python, Rust and Go:
patreon.com/posts/iconfontcpph
- Added Font Awesome 7 free
- Updated Google Material Symbols and Lucide
- To make locating relevant files easier, added a table cross-referencing fonts with languages
github.com/juliettef/IconFontC

PatreonIconFontCppHeaders - New Font Awesome 7 Free, Lucide and Google Material Symbols update, and cross-reference table | enkisoftwareDécouvrez tout ce que vous réserve enkisoftware sur Patreon
#OpenSource#Font#Icon

My shitty ISP (spectrum) decided instead of a web-page to list all the devices on my network it was a good idea to force me to use a shitty app that takes forever to load and requires me to log into my spectrum account.....

So I put together my own dashboard on the raspberry pi that scans the local network and populates a list for me.

Screw you spectrum!
#raspberrypi #golang #nmap