Micky Codes
155 subscribers
196 photos
27 videos
6 files
75 links
Software engineer | Game developer
Let's explore the codding world.
Download Telegram
Forwarded from αŠ α‰Ά Codes
EQUB MANAGER
Equib Manager v2.2.0 Update
Just pushed an update on Equib Manager and running tests on it now.

been thinking a lot about how this whole equib system actually works in real life… and honestly my uncle is the one feeding me most of this real insight 😭

so I had to change a big part of the core structure again

now I added this thing called Contributor model

so basically:
members are not always just one person… sometimes they are like a small group
and contributors are the actual people putting money in

so payments now track contributors instead of just members

still testing everything but yeah… this feels way closer to how real equibs actually work

#equib_manager @atocodes
Am mostly working on game development so my go to game engine is Godot, and besides that i love backend so my comfortable framework is FastAPI but i love em all except Spring Boot😭.
Just launched my latest portfolio website.

Built to showcase my work in software engineering, backend systems, game development, and modern web experiences.

Portfolio: https://micky-codes.vercel.app

Feedback is always welcome.

Also share and join my channel @MickyCodes
πŸ”₯3πŸ‘1
Hello guys you can get free 30USD credits of claude in this website

https://tokenlb.net/sign-up?aff=T9Mg
I was working on gioui golang gui library so it was so bad and I didn't like the way of adding new widgets it is so deep nested and hard to control, and for someone comes from tools like JavaFX or Qt frameworks it much easy working on the ui separately like the following

@import "button.easy"

Window {
title: "Egg Timer"

VBox {
style: {
bgColor: "red"
}
Text {
text: "Decrement"
style: {
size: "16"
textColor: "white"
}
}
DecButton {}
}
}




DecButton {} comes from the imported file button.easy
@component DecButton {
Button {
id: decBtn
text: "Decrement"
onClick: Counter.Decrement
}
}



then setting up your main.go script with easy loader from the library i have done, that parses and stubs on to the main window using the real widgets from the gioui library, so your code will be easy as follows, the below code is even you can have a separate code to handle the events of the ui files,

Counter.Decrement
this function is connected to the button from the .easy ui file
package components

import (
"easygioui"
"fmt"
)

// Counter holds the counter state.
type Counter struct {
count int
}

// Decrement decrements the counter.
func (a *Counter) Decrement() {
a.count--
easygioui.SetText("counterText", fmt.Sprintf("Counter: %d", a.count))
}



then finally your main.go looks like the blow, ik it might still look complicated but not as beforeπŸ˜‚πŸ˜‚

package main

import (
"fmt"
"os"

"easygioui"
"easygioui/examples/counter/components"

"gioui.org/app"
"gioui.org/layout"
"gioui.org/op"
"gioui.org/unit"
)

var ui *easygioui.UI

func main() {
// Load and cache the UI once
ui = easygioui.Load("examples/counter/ui/counter.easy")
if ui == nil {
fmt.Println("Failed to load UI")
os.Exit(1)
}

// Create app instance and bind it
appInst := &components.Counter{}
easygioui.Bind(appInst)

go func() {
w := new(app.Window)
w.Option(app.Title("Egg Timer"), app.Size(unit.Dp(400), unit.Dp(600)))

var ops op.Ops

for {
evt := w.Event()

switch e := evt.(type) {
case app.FrameEvent:
// Reset ops for the new frame
ops.Reset()

// Create a layout context for rendering
gtx := layout.Context{
Ops: &ops,
Now: e.Now,
Metric: e.Metric,
Source: e.Source,
Values: make(map[string]interface{}),
}
gtx.Constraints = layout.Exact(e.Size)

// Register and render the UI
easygioui.Register(&ops, gtx, ui)

e.Frame(&ops)

case app.DestroyEvent:
os.Exit(0)
}
}
}()

app.Main()
}



i have attached the image even I made a calculator using my own library it's still in development but to update you guys this is enough for now.

if you wanna follow or give a start here is the github link
🀯1
Forwarded from Abnet DevLog
🎬 NileFlix: Discover movies, TV shows, and anime in one place. ✨

Features:
β€’ Browse trending content πŸ”
β€’ Search easily
β€’ Save favorites ❀️
β€’ AI-powered recommendations πŸ€–

Built with Next.js, TypeScript, and better-auth. Powered by TMDB + external streaming embeds. ⚠️ No videos hosted.

πŸ”— https://nile-flix.vercel.app

Enjoy? Feedback welcome! πŸ™Œ
πŸ‘2
Idk what is the loot record in clash of clans but today is special i am getting the record amounts πŸ™ŒπŸ˜‹πŸ˜
mine is not the record 😭
😁2
This media is not supported in your browser
VIEW IN TELEGRAM
Dm for website and mobile app dev.

😁😁
😁4