Unha travesía á cara oculta da Lúa: estas son as mellores imaxes da misión Artemis II
Autor: Redacción

https://www.gciencia.com/fotonautas/unha-travesia-a-cara-oculta-da-lua-estas-son-as-mellores-imaxes-da-mision-artemis-ii/

#Fotonautas #artemisii #imaxe #Lúa #NASA

Unha travesía á cara oculta da Lúa: estas son as mellores imaxes da misión Artemis II

A tripulación afronta dez xornadas de voo profundo con fitos históricos, illamento de comunicacións e observacións inéditas

GCiencia

Russian Railway Simulator (RRS): семь лет спустя

В 2019 году я публиковал статью о первой версии своего проекта Russian Railway Simulator . Прошло достаточно много времени, и возможно кто-то думает, что проект умер. Нет, проект не только не умел, но и продолжает развиваться. На днях вышла новая версия игры. В связи с этим реализую свою давнюю задумку написать о проекте еще раз, о том как он развивался все эти годы, к чему мы пришли к сегодняшнему дню и какие перспективы ожидают нас в будущем.

https://habr.com/ru/articles/1019276/

#Симулятор #Железнодорожный_симулятор #open_source #c++17 #lua #vulkan #vulkanscenegraph

Russian Railway Simulator (RRS): семь лет спустя

Релиз версии 1.9.0 Russian Railway Simulator В 2019 году я публиковал статью о первой версии своего проекта Russian Railway Simulator . Прошло достаточно много времени, и возможно кто-то думает, что...

Хабр

Feature: Nudge Sequence Selection Up/Down

Select a block of rows in the Pattern Sequencer or Pattern Matrix, then tap a keybinding to move the entire block up or down — one row per keypress. The selection follows along, so if you want to shift 4 rows down by 5 positions, just select them and tap the key 5 times.

All pattern data, automation, mute states, and pattern names move together. If nothing is

Link to Patreon in bio.

#paketti #tracker #patreon #lua #renoise #demoscene #trackermusic

Unsolicited Programming Suggestion (#UPS): always consider if you've got the right tool for the problem. Example: I was writing a #Python app that needed to import a #Lua file containing a data structure – a tree built using tables, like this:

DATA = {
["node1.1"] = {
["node2.1"] = some_value,
["node2.2"] = other_value,
},
["node1.2"] = {

etc. etc. The structure had several thousand nodes.

My first attempt: oh, there is this luadata Python module, I can use it!
… parsing my Lua file took several seconds. Not microseconds. Not milliseconds. Seconds. On my Ryzen 7 9700X.

Then I noticed that structure is essentially the same as the Python dict I'm going to build, modulo syntactic details, so maybe just use regexp to convert the syntax to pythonic:

{
"node1.1" : {
"node2.1" : some_value,
"node2.2" : other_value
},

and then parse it using ast.literal_eval() (for security reasons I didn't want to simply use eval instead of ast's parser, as the Lua file came from external source). Wow, much faster, ~0.2 s, but still…

Then it dawned on me – convert to #JSON and use json.loads(). Apparently, json's parser is more efficient than ast's parser because JSON syntax is much simpler than generalized Python literal syntax. Got down to 20 ms, something I can live with.

Missão Artemis II entra na esfera de influência da Lua e prepara-se para bater recorde histórico
🔗 https://tugatech.com.pt/t81378-missao-artemis-ii-entra-na-esfera-de-influencia-da-lua-e-prepara-se-para-bater-recorde-historico

#lua 

Missão Artemis II entra na esfera de influência da Lua e prepara-se para bater recorde histórico

A missão Artemis II e a sua tripulação de quatro astronautas acabam de entrar na esfera de influência lunar, o que significa que a nave está agora mais sujeita

TugaTech
# Kitsch

So, I've been working on a secret thing, and told pretty much nobody about it! I guess it's time to start posting about it so I can get some eyes on it.

I was honestly SICK about LuaRocks, it tends to break, and it's overall very hacky. I don't like how it's global-first and it has a heavy reliance on stuff like the C compiler just to build dependencies, so I decided to build Kitsch, an off-kilter kit of tools to vendor dependencies, manage them, and to create executable binaries out of your projects.

Instead of relying hard on C, it relies hard on FFI. Kitsch keeps itself simple by NOT knowing exactly how to build anything, instead, it just tells you that a certain set of libraries are required for your project to work and uses dlopen to plug into these (and implements a fallback for static musl builds).

It knows how to fetch archives of the internet, how to fetch the latest release to a git repo, it supports Forgejo, Gitlab, Github, Gitea (though that's cheating), and Sourcehut. It knows how to package your software, and it knows how to download runtime binaries it can either directly run your software on, or package them as. You just tell it to "bundle", and it will download everything it needs (packages, the runtime, with hashing), and poop out a binary for any target you want.

Kitsch (as in the runtime, and the tooling) is written in Zig, with many of its bundled features piggybacking off the great tooling used for the Zig compiler and Zig "package manager"

I still don't think it's 100% ready for production, but I am approaching a state where I can feel like it's good to start creating Kitsch packages.

My roadmap is the following:
- Add transparent async I/O and "tasks", with coroutines and no polling, to the runtime itself.
- Create a separate set of (optional) packages that abstract over the C standard library to implement things such as Sockets and Filesystem operations
- Create a cutesy website for the thing, and publish it under TSN
- Ask fellow Lua users to join!

I will keep y'all updated on this, and I am not confident with sharing binaries just yet, but one of these days I'm going to drop a tutorial on how to get it running :)

Thanks for reading.

#lua #zig #programming #packageManager
🌗 GitHub - love2d/love:LÖVE 是一款適用於 Lua 的強大 2D 遊戲框架
➤ 跨平臺 2D 遊戲開發的輕量化利器
https://github.com/love2d/love
LÖVE 是一個專為 Lua 語言設計的開源 2D 遊戲開發框架,支援 Windows、macOS、Linux、Android 及 iOS 等多平臺。該專案採用模組化架構,開發者可以利用這套工具快速構建遊戲。其開發流程嚴謹,核心代碼以 C++ 為主,並依賴 SDL3、OpenGL、OpenAL 等底層庫。專案透過 GitHub 進行版本控制與協作,並設有專門的測試套件以確保 API 的穩定性。目前該專案嚴格禁止使用 AI 生成的程式碼貢獻,以維持專案的品質與完整性。
+ 身為一名獨立開發者,LÖVE 簡直是學習遊戲邏輯的絕佳選擇,Lua 的易讀性讓我能專注於機制設計而非語言本身。
+ 很佩服該專案維護者對於程式碼純淨度的堅持,明確拒絕 AI 生成內容的政策在當前環境下顯得非常有原則。
#遊戲開發 #開源軟體 #Lua #跨平臺框架
GitHub - love2d/love: LÖVE is an awesome 2D game framework for Lua.

LÖVE is an awesome 2D game framework for Lua. Contribute to love2d/love development by creating an account on GitHub.

GitHub
GitHub - love2d/love: LÖVE is an awesome 2D game framework for Lua.

LÖVE is an awesome 2D game framework for Lua. Contribute to love2d/love development by creating an account on GitHub.

GitHub