Did any #Go developers need code to get a zero value of a struct but without knowing the layout of the struct itself?
The only thing I could come up with was:
func zero[T any](v T) T {
 z := &v
 zz := reflect.ValueOf(z).Elem()
 zz.Set(reflect.Zero(reflect.TypeOf(v)))
 return *z
}
And see here an example of usage: https://go.dev/play/p/Aqzc_nRzOcP
I needed it in order to get zero copies of random structs so I could test that some marshal/unmarshal functionality is a bijection.
Is this a decent way to do it? Are there alternatives?
Everyone seems to loves Roblox and Fortnite Creative. Worlds/modes built by players, not studios. But there’s still no true open-source equivalent.
What’s missing isn’t the engine (we’ve got Godot, O3DE, even Minetest).
It’s the platform:
A shared hosting and discovery network
A multiplayer backbone that’s easy to extend
A creator economy that isn’t exploitative
Federation — like Mastodon, but for games
An open Roblox needs community, persistence, and purpose. #gaming #dev #OpenSource
Everyone seems to loves Roblox and Fortnite Creative. Worlds/modes built by players, not studios. But there’s still no true open-source equivalent.
What’s missing isn’t the engine (we’ve got Godot, O3DE, even Minetest).
It’s the platform:
A shared hosting and discovery network
A multiplayer backbone that’s easy to extend
A creator economy that isn’t exploitative
Federation — like Mastodon, but for games
An open Roblox needs community, persistence, and purpose. #gaming #dev #OpenSource
»Math.random() is not so random — The Illusion of Randomness in JavaScript:
Don’t Trust Math.random() - Uncovering the Hidden Predictability of Random Numbers.«
In some applications random numbers are very useful but not unique and therefore you should consider where to use it. In this regard, there are for example, UUID v4 or Nano ID and the same.
🧑💻 https://vinitshahdeo.substack.com/p/mathrandom-is-not-so-random-the-illusion
#javascript #random #illusion #coding #js #code #nanoid #notunique #unique #dev #webdev #math #donttrust #uuid #uuidv4
The Something Something Power Law of unit tests:
If one unit test is failing, that tends to be easy to fix.
If 10 unit tests are failing, that tends to be hard to fix.
If all unit tests are failing, that one’s easy again.
The Something Something Power Law of unit tests:
If one unit test is failing, that tends to be easy to fix.
If 10 unit tests are failing, that tends to be hard to fix.
If all unit tests are failing, that one’s easy again.
🎁 Dev Box DPU Upgrade 🎁
More ZFS PoC for vGPU + DOCA blah blah NVMe-oF offloads
Left–to–Right (lotta slots)
- Broadcom CNA 2x10G
- Optane P3608 2x 2TB NVMe AIC
- Nvidia T10 16GB GPU (w/ 90mm blower)
- blank
- Nvidia T10 16GB GPU (w/ 90mm blower)
- Nvidia Bluefield2 DPU 16GB RAM, 2x 25G 
- Optane 4x 512GB NVDIMM
- Samsung 4x 32GB ECC Volatile
- Intel Xeon 8370C (Azure) 32C/64T 270W
Chassis cooled by 2x 180mm, 1x 140mm, 1x 120mm. Idles very comfortably below 40dB, wind-tunnel at full rpm is more like whoooooshing than the usual 28K-RPM 40mm axial fan screamers people expect from enterprise hardware. Choose wisely.
#gpu #dpu #ai #dev #llm #nvidia #intel #optane #zfs #linux #freebsd
🎁 Dev Box DPU Upgrade 🎁
More ZFS PoC for vGPU + DOCA blah blah NVMe-oF offloads
Left–to–Right (lotta slots)
- Broadcom CNA 2x10G
- Optane P3608 2x 2TB NVMe AIC
- Nvidia T10 16GB GPU (w/ 90mm blower)
- blank
- Nvidia T10 16GB GPU (w/ 90mm blower)
- Nvidia Bluefield2 DPU 16GB RAM, 2x 25G 
- Optane 4x 512GB NVDIMM
- Samsung 4x 32GB ECC Volatile
- Intel Xeon 8370C (Azure) 32C/64T 270W
Chassis cooled by 2x 180mm, 1x 140mm, 1x 120mm. Idles very comfortably below 40dB, wind-tunnel at full rpm is more like whoooooshing than the usual 28K-RPM 40mm axial fan screamers people expect from enterprise hardware. Choose wisely.
#gpu #dpu #ai #dev #llm #nvidia #intel #optane #zfs #linux #freebsd
 
      
  
            Kudos to the Mastodon devs who implemented the email-users notification in the announcements. It's really well done. I especially like that you can send a preview/test message before sending them announcement to everyone's email!
An improvement would be for the logo to be automatically attached to the banner at the top of the email, as is done in the announcement window on the web side.
(Stay tuned social BC folks, announcement is coming shortly)
Kudos to the Mastodon devs who implemented the email-users notification in the announcements. It's really well done. I especially like that you can send a preview/test message before sending them announcement to everyone's email!
An improvement would be for the logo to be automatically attached to the banner at the top of the email, as is done in the announcement window on the web side.
(Stay tuned social BC folks, announcement is coming shortly)
Roses are red
Violets are blue
To save and quit vim
Use :wq
 @rae  @moshimotsu  @pthane After a long and tricky discussion with the team, we decided to go with the name LibreConnect 📱💻 It's simple, technical, and full of meaning - it reflects the idea of connecting devices without creating dependency, with a strong focus on privacy and control 🔐 It also brings LibreOffice to mind, which fits our philosophy: openness, transparency, freedom 
Big thanks for all your suggestions  Each one was considered and helped us look at the project from different angles. Even if it wasn't picked, it still shaped the app. Because open-source is not just about code - it's about community 💜
 Each one was considered and helped us look at the project from different angles. Even if it wasn't picked, it still shaped the app. Because open-source is not just about code - it's about community 💜
If you want to follow the development, you can do that on GitHub:
👉 https://github.com/ppaluchowski64/LibreConnect
#LibreConnect #Naming #Brand #Branding #ProjectName #Tech #Technology #Dev #Software #App #Apps #Privacy #FOSS #OpenSource #Libre #FreeSoftware
Careful with the Spaghetti Wall
"Vibe coding" is an euphemism for "automated spaghetti".
Engineering has always used all kinds of automation wherever possible, from parsers, pre-processors, assemblers, and compilers, to generators, linters, verifiers, and memory checkers. It's always been code producing code, hopefully helping to produce better code. When you follow engineering principles and develop something reliable, extensible, maintainable, and sustainable, that's still engineering, independently of whatever form of automation you used.
"Vibe coding" places an emphasis of rapid and not always orderly, reasoned, or principled design. Just getting things done fast, which only helps to create more spaghetti code, bigger attack surfaces, and accelerating unsustainable complexity.
I'm afraid we're going to see a lot more business people pretending they saved money creating code that will be impossible to fix.
There's one big complexity wall we're all gonna hit against in a year or two if they keep going down that road.
#vibecoding #code #coding #dev #webdev #software #softwaredevelopment
Une ode à la simplicité.
Plus j’acquiert de l'expérience, plus j'adhère à cette philosophie.
🔗 https://kyrylo.org/software/2025/08/17/im-a-proud-crud-monkey.html
The site is coming along, fingers crossed, we should be able to start the campaign tomorrow.
(We haven’t raised any money for it yet and that’s not the amount we‘re aiming for, that’s just dummy data and wishful thinking in the screenshot.)
💕
 @rae  @moshimotsu  @pthane After a long and tricky discussion with the team, we decided to go with the name LibreConnect 📱💻 It's simple, technical, and full of meaning - it reflects the idea of connecting devices without creating dependency, with a strong focus on privacy and control 🔐 It also brings LibreOffice to mind, which fits our philosophy: openness, transparency, freedom 
Big thanks for all your suggestions  Each one was considered and helped us look at the project from different angles. Even if it wasn't picked, it still shaped the app. Because open-source is not just about code - it's about community 💜
 Each one was considered and helped us look at the project from different angles. Even if it wasn't picked, it still shaped the app. Because open-source is not just about code - it's about community 💜
If you want to follow the development, you can do that on GitHub:
👉 https://github.com/ppaluchowski64/LibreConnect
#LibreConnect #Naming #Brand #Branding #ProjectName #Tech #Technology #Dev #Software #App #Apps #Privacy #FOSS #OpenSource #Libre #FreeSoftware
 
      
  
             
      
  
               
      
  
               
      
  
               
      
  
                            
                        
                         
      
  
                            
                        
                         
      
  
                            
                        
                         
      
  
                            
                        
                         
      
  
              