lordmatt, to php
@lordmatt@mastodon.social avatar

Please don't judge me. I just added two #singletons to this project of mine.

#PHP #code

ArmouredWizard, to gamedev
@ArmouredWizard@dice.camp avatar

I'm not sure what I'm going to make with this dungeon yet.
It started as a Random Map Maker for Android, for use with TTRPG, but I think I could turn it into something. Some kind of neo-Roguelike?
Once I've got proof-of-concept for a Map, I'll see what next.
Suggestions welcome.

ArmouredWizard, to godot
@ArmouredWizard@dice.camp avatar

Corridors added.
Not working properly yet

kubikpixel, to web
@kubikpixel@chaos.social avatar

Logdy: Supercharge terminal logs with
web browser UI and low-code

🗒️ https://logdy.dev


kubikpixel, (edited ) to rust
@kubikpixel@chaos.social avatar

Is today the day of the crab and is that a good thing? Yes, it means that the chainring is now number one! 🦀🎉

⚙️ Announcing Rust 1.0
https://blog.rust-lang.org/2015/05/15/Rust-1.0.html


ArneBab, (edited ) to random German
@ArneBab@rollenspiel.social avatar

define-typed: a static type syntax-rules macro for to create API contracts and help the JIT compiler create more optimized code:

https://www.draketo.de/software/guile-snippets#define-typed

Improved thanks to feedback from Vivien and Zelphir in the Guile User mailing list.

Just 26 lines to get argument and return value typing without changing Guile.

I love the flexibility of ❤️

ArmouredWizard, to godot
@ArmouredWizard@dice.camp avatar

Room overlap code almost working.

#code #godot #roguelike #gamedev

ArmouredWizard, to godot
@ArmouredWizard@dice.camp avatar

Rooms have walls.
Working on code to get them where I want them to make Corridor code easier

Next:
Corridors

#code #godot #gamedev #roguelike

ArmouredWizard, to godot
@ArmouredWizard@dice.camp avatar

Progress:
Border. Rooms.
No overlap checks yet.

Next: re-write the room-generator, and add corridors

zeroiee, to programming
@zeroiee@techhub.social avatar

A clean Git history is the key to successful teamwork and quick bug fixes. Errors can only be successfully tracked down if it is always possible to trace when and where code was changed by whom and for what reason.

🥴 However, in the rush of the battle, the changes that are packaged in a commit are sometimes not taken very seriously. Who has never experienced this? A change that is actually unrelated to the current work package has made it into the commit because the file has already been saved temporarily.

💡The solution: With an "interactive add" (git add -i), you can pack partial changes ("hunks") into a commit and specify line by line what should be included in the next commit.

:git: "Staging patches": https://git-scm.com/book/en/v2/Git-Tools-Interactive-Staging

alimiracle, to linux
@alimiracle@mastodon.social avatar

🎉 Exciting news! My program, Image Meta Cleaner, now has a snap package available! You can now easily install it from the Snapcraft store. Get ready to efficiently clean up those image meta data with just a few clicks! Check it out here:
https://snapcraft.io/image-meta-cleaner 🚀



curtismchale, to wordpress
@curtismchale@mastodon.social avatar

Really HTMX is the Big Deal for WordPress?

I just read this article on HTMX being a big deal for WordPress and I just don't see it. To vastly simplify the article, give the code below and using the HTMX JavaScript library:

https://sfndesign.ca/really-htmx-is-the-big-deal-for-wordpress/

ZeNfA, to gamedev
@ZeNfA@mastodon.gamedev.place avatar

I present, this weird funny bug.. lol
#indiedev #gamedev #bug #code #indiegame #funny

video/mp4

jimmyb, to web
@jimmyb@selfhosted.cafe avatar

I'm pretty excited about #WebAwesome 🤩 :nyanko_hearts:

#web #developer #code

almet, to javascript French
@almet@tutut.delire.party avatar
CakePHP, to php
@CakePHP@phpc.social avatar

What’s in the oven today?

stw, to random
@stw@chaos.social avatar

There is that rule that a development team size should not exceed what you can feed with two pizzas.

Therefore I work alone

ArmouredWizard, to godot
@ArmouredWizard@dice.camp avatar

I've managed to convert my Dungeon Generator over to Godot.
Took me literally all day to get the Corridors code working, and it still needs a lot of tweaking.
And this is just a Map. So much more to turn it into anything useful.

Rooms generated as random, non-overlapping, rectangles, then centres joined in turn.

Next: align corridors and trim unneeded ones

#godot #gameDev #code #roguelike

64bithero, to programming
@64bithero@mstdn.games avatar

I believe anyone who posts complex and complicated solutions for people who ask for help on logging to a console are sociopaths and most likely evil.
#programming #code #stackoverflow #rant

ArmouredWizard, to godot
@ArmouredWizard@dice.camp avatar

Current bugbear:
GDScript using whitespace (Tabs) to define function/loop boundaries! Must have correct indentation!
I am SO not used to doing this!
I might have to re-adopt my habit of commenting End-Of-Section! :(

#code #GDScript #Godot #gamedev

aral, to Typography
@aral@mastodon.ar.al avatar

Ooh, @Codeberg just updated to @forgejo version 7 and… ta daa, the spurious warnings in the code listings for proper curly quotes and other correct – but sadly underutilised – typographical elements in comments and strings are gone!

e.g., see https://codeberg.org/kitten/app/src/branch/main/examples/fetchiverse/index.page.js#L9

Yay! Thank you – I’m no longer going to feel embarrassed about linking to my source code on Codeberg :)


💕 🎉

GlenDownton, to random
@GlenDownton@mastodon.au avatar

What better way to spend a glorious autumn Sunday afternoon than refactoring a pile of #spaghetticode to make it thread-safe?

Actually, even I can't tell if I'm being serious here or not :/

#dev #code #coding #developer #devlife

Jfillian, to php
@Jfillian@twit.social avatar

So, I returned to a project that i put on hold for a few months because .. life. There are some 12000 lines of and many Classes for a plugin. I'd like to finish this thing, and I am the only . It has only been a few months but, why do I keep asking myself "Why did i do that?" "What was I thinking?" "Where is the hook into that function???" Sheesh! Right now I just want to make it presentable and clean it up down the road. Am I normal?

inautilo, to webdev
@inautilo@mastodon.social avatar

#Development #Techniques
Write better CSS with modern CSS · New CSS features can help you streamline your code https://ilo.im/15ynzs


#ModernCSS #Code #Optimization #WebDev #Frontend #CSS #CssNesting #CustomProperty #MediaQuery

kubikpixel, to webdev
@kubikpixel@chaos.social avatar
kubikpixel,
@kubikpixel@chaos.social avatar

Modern current code should run asynchronously if possible and useful. Slowly but steadily, it is being implemented in almost all popular programming languages, including WebDev.

»New Disposable APIs in Javascript«

🔧 https://jonathan-frere.com/posts/disposables-in-javascript/


  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • rosin
  • slotface
  • ngwrru68w68
  • InstantRegret
  • PowerRangers
  • kavyap
  • tsrsr
  • DreamBathrooms
  • tester
  • everett
  • hgfsjryuu7
  • khanakhh
  • GTA5RPClips
  • vwfavf
  • Durango
  • cubers
  • tacticalgear
  • ethstaker
  • cisconetworking
  • normalnudes
  • modclub
  • anitta
  • All magazines