@gak@zoot.fun
@gak@zoot.fun avatar

gak

@gak@zoot.fun

🦀 #RustLang
👾 #GameDev
🌌 #Space
📈 #DataViz
#Coffee

This profile is from a federated server and may be incomplete. Browse more on the original instance.

gak, to bevy
@gak@zoot.fun avatar

Hitting some floating point accuracy limitations. Cool effect! https://www.youtube.com/watch?v=A1usxaWq0ng

elmowilk, to bevy
@elmowilk@mastodon.online avatar

I've been using 's SystemParam API a lot lately. Together with GATs and the ECS it's very powerful.

It's easy to share behaviour while still being flexible on a case by case basis.

Adding content is easier, giving lots of depth to my game.

e.g.: To add a new Upgrade, I just specify which components to get from the ECS via SystemParam and a couple lines how to combine them, then use a generic system.

It speeds up adding a new Upgrade a lot, so I can implement more of them.

GIF of an isometric city-builder game with carts, ships and trains traveling between buildings. It's unrelated to the tweet itself (except it's the same game of course), but I wanted to tweet a GIF anyway...

gak,
@gak@zoot.fun avatar

@elmowilk This sounds great but I don’t fully understand. Could you show an examples of this?

AAMfP, to mechanicalkeyboards
@AAMfP@fosstodon.org avatar

In the end, I've just finally decided to climb the Colemak-DH mountain.

I've never been a touch-typer but using 3-4 fingers per hand, moving hands here and there, I was able to easily play it at around 75wpm with basically no errors.

I've bought an past summer: I'm still struggling with the "normal" QWERTY (see layout here https://marcoxbresciani.codeberg.page/keyboards/ergodash/current.html), not yet able to go beyond 40wpm or so, with frequent errors.

gak,
@gak@zoot.fun avatar

@shooboo @AAMfP Decades of qwerty vim muscle memory. Fairly new to Colemak DK, a month or so in. Remapped direction keys only. Fumbling a bit, but my trick is to think of the letter/function before using it and my brain maps it to CDH. e.g. delete word, D W.

It is slowly creating new muscle memory.

Also avoid qwerty at all costs while learning.

gak, to bevy
@gak@zoot.fun avatar

Pretty happy my game “Outbreak” came 4th in the . Came first in the “Theme Interpretation” category!

It’s a browser game for desktops if you want to play the entry: https://slowchop.itch.io/outbreak

gak, to random
@gak@zoot.fun avatar

I was able to access the files in the ChatGPT sandbox with the new(?) Python execution feature. I had it list files, cat files, etc. The sandbox was restrictive enough.

This was not a hallucination. You can see the Python script it executes.

So I reported to the bug bounty and was rejected. (It hasn't been fixed yet)

https://chat.openai.com/share/14969469-5581-470d-9226-70a8b54ab235

Screenshots of the above transcript URL.

image/png
image/png
image/png

gak,
@gak@zoot.fun avatar

As I suspected the container is run for just that session.

Text:

The output of the uptime command is:

19:37:46 up 4 min, 0 users, load average: 0.00, 0.00, 0.00

gak,
@gak@zoot.fun avatar

Linux c9ac5a36-c47e-4000-b89e-93a0e72d5e95 4.4.0 #1 SMP Sun Jan 10 15:06:54 PST 2016 x86_64 x86_64 x86_64 GNU/Linux

gak,
@gak@zoot.fun avatar

The system has 16 CPU cores/threads. Here is the information for one of them (the first core):

Processor: 0
Vendor ID: GenuineIntel
CPU Family: 6
Model: 85
Model Name: unknown
Stepping: unknown
CPU MHz: 2095.196
FPU: yes
FPU Exception: yes
CPUID Level: 13
WP: yes
Flags: [various CPU flags]
BogoMIPS: 2095.20
CLFlush Size: 64
Cache Alignment: 64
Address Sizes: 46 bits physical, 48 bits virtual
Power Management:

Number of cores/threads: 16

image/png

gak,
@gak@zoot.fun avatar

No routable Internet I can work out, or even see the routing table (so far), but it does have a local IP address: 10.230.47.66

gak,
@gak@zoot.fun avatar

[ ACM LY E ® chatePT The routing table information from */proc/net /zoute is as follows: yami LT Iface Destination Gateway Flags RefCnt Use Metric Mask LUV R G Ll 3B2FE60A 00000000 0001 O 0o o L a Ll vy =215 SV Lol 0o o [ueCvlv v ) a ———————————————— This data shows the interface ("etho") along with destination, gateway addresses, and various other parameters like flags, reference count, use, metric, mask, MTU, window, and IRTT. The addresses are in R SO S [ ACM translate itto ipv4 addresses ® chatePT The translated routing table with IPv4 addresses is as follows: yami LT Iface Destination Gateway Flags RefCnt Use Metric Mask MTU Window IRTT Ll 10.230.47.59 0.0.0.0 0001 O 0o o L 9 Ll 0.0.0.0 10.230.47.59 0003 O Y Leleelviev L R Y In this table, the hexadecimal values in the “Destination" and “Gateway" columns have been converted to dotted decimal IPv4 addresses. The addresses *10.230.47.59° and “0.0.0.0" represent specific network destinations and gateways. [ 06 @O

gak,
@gak@zoot.fun avatar

20.04.6 LTS (Focal Fossa)

image/png

juliobiason, to random
@juliobiason@functional.cafe avatar

Crap. First dry-run of my keynote and I can complete it in 15 minutes (slot is 45 minutes).

gak,
@gak@zoot.fun avatar

@juliobiason throw in some terrible awkward jokes!

juliobiason, to random Portuguese
@juliobiason@functional.cafe avatar

Esperando pra ver se aparece o anúnicio de todos os keynotes da PythonBrasil.

... porque, se eu não tiver lá, pelo menos eu não preciso mais me preocupar em acertar a minha apresentação :D

gak,
@gak@zoot.fun avatar
juliobiason, to random
@juliobiason@functional.cafe avatar

One day, when I become a rich Rust consultant, I'll got to Sydney, rent/buy a large motorbike and ride around Australian (literally).

gak,
@gak@zoot.fun avatar
juliobiason, to random
@juliobiason@functional.cafe avatar
pub errors = HashMap<String, HashMap<String, String>><br></br>

vs

pub type Casename = String;<br></br>pub type Command = String;<br></br>pub type Reason = String;<br></br><br></br>pub errors = HashMap<Casename, HashMap< Command, Reason>><br></br>
gak,
@gak@zoot.fun avatar

@juliobiason newtypes even better so you can’t accidentally mix Casename and Command, etc

gak, to gamedev
@gak@zoot.fun avatar

I am so used to debugging bugs within the scope of the full game, maybe changing the level/code to make a smaller reproduction.

(ECS) makes it trivial to create a unit test to run a few component, systems, events, etc that are affected by a bug or new feature. It hugely encourages decoupling too. I'm so often impressed by Bevy.

I have to make sure to remember to write a unit test instead of just splatting out code within the existing game and debugging the hard way.

juliobiason, to random
@juliobiason@functional.cafe avatar

There is a... person... defending go in the Rust group, and I think that... person... is completely delusional.

gak,
@gak@zoot.fun avatar

@juliobiason There aren’t many arguments for go vs rust, right? Compile times, easier to learn, arguably nicer looking syntax. Anything else?

gak,
@gak@zoot.fun avatar
chrisbiscardi, to rust
@chrisbiscardi@hachyderm.io avatar

Trying to find good ways to visualize different properties of Signed Distance Fields/Functions.

This is visualizing every place the cursor could be, because an SDF only gives you the distance to the closest object.

I don't think this one is terribly useful, but it was fun to make the fragment shader.

video/mp4

gak,
@gak@zoot.fun avatar

@chrisbiscardi @livingcoder Sorry to interject! Something I’ve always wanted to do but has been a hurdle (discovery and documentation) is creating compute shaders in bevy. Specifically being able to put data in, process, and take data out. A basic example might be to calculate prime numbers. Follow up questions could be “Is it possible to have that compute shader run over multiple frames?”, “can i update the data i already sent?”, “can i send the output from one shader to the input of another?”.

gak,
@gak@zoot.fun avatar

@chrisbiscardi @livingcoder I did play with that example a while ago. Good point about wgpu, I will have to dig into compute shaders in there to get a better understanding on how bevy interacts with it. Cheers!

juliobiason, to random
@juliobiason@functional.cafe avatar

So X/Twitter decided to use embedded tweets as Ads, and I'm blocking all the accounts that use that.

This is the time they will finally block my account for good.

gak,
@gak@zoot.fun avatar

@juliobiason Yeah i do exactly that too. If i accidentally get lured into looking through the timeline, I snap out of it when i see an ad, and quickly close it.

gak, to rust
@gak@zoot.fun avatar

(Pure) Rust embedded is still too early. Bumping into walls everywhere. Probably needs a few more years.

juliobiason, to random
@juliobiason@functional.cafe avatar

I decided it is a Linkin Park kind of day.

gak,
@gak@zoot.fun avatar

@juliobiason i did read it like that for a second!

b0rk, to random
@b0rk@jvns.ca avatar

what’s the deal with nftables? are you switching to use it instead of iptables these days? is it actually easier to use? it seems hard to switch because there are SO many iptables examples out there

gak,
@gak@zoot.fun avatar

@b0rk last time I tried to use nft, they weren’t compatible with docker which only used iptables. It was a dealbreaker at the time. I don’t use docker these days so maybe worth another shot.

dimi, to random
@dimi@techforgood.social avatar

We should get this person to write all the synopses!

gak,
@gak@zoot.fun avatar

@dimi @chestas

(via GPT)

Car-time boy go before born with flashy car. See own mama papa. Mom like him, big problem.

Tall hair friend help but bullies make trouble. Big clock and sky fire important for return. Must change before to save next time.

Shoe burn, guitar noise. Speedy car must.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • thenastyranch
  • magazineikmin
  • everett
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • love
  • khanakhh
  • kavyap
  • tacticalgear
  • GTA5RPClips
  • DreamBathrooms
  • megavids
  • modclub
  • mdbf
  • tester
  • Durango
  • ethstaker
  • osvaldo12
  • cubers
  • ngwrru68w68
  • provamag3
  • normalnudes
  • Leos
  • cisconetworking
  • JUstTest
  • All magazines