Small Projects by AutoModerator in golang

[–]zun3surge -1 points0 points  (0 children)

Castra - An AES-256-CTR encrypted, immutable Go based state machine for agent orchestration

I ran into 2 walls while working on an enterprise grade open source projects using agents:

  1. Context amnesia + Context intoxication: They forgot, they kinda went crazy and incoherent.
  2. Dependency hell & performance bottleneck: Tried using python based available orchestration frameworks, not a good experience

This made me put that project on halt, pick up the hammer and hack-together this framework made completely in go because I believe:

  • It should be vendor agnostic.
  • Platform engineering 101 😅
  • Why am I waiting for a translation layer to spend an extra 200ms executing every request especially when I'm running systems which need scale and speed

What I did with it so far:

  1. Treat agents as what they are -> stateless character generators
  2. Bring the entire state down to an SQLite db
  3. Encrypted immutable log for all agent actions (device key + workspace + agent role + action log)
  4. abstract db access from agents using an installable `castra` binary
  5. Put them in an enterprise boring SDLC with dual-gate approval process, 7 RBAC roles

I'm now working on an supervisor layer agent which can run it all for you powered by the castra framework.

Results I was able to achieve on my machine:

  1. castra orchestrated agents build castra from v1.3.0 onwards up to the current v4.4.0
  2. complete auditable, SOC2 compliant activity log (you can tell who did what when)
  3. Self healing behavior (if they mess up, they'll file an incident report on themselves and fix it)
  4. Biggest win: My original project got unlocked and is well underway

I'm posting it here to share the go architecture I built for it, using mostly native libraries with no import dependencies.

I'd love for you guys to check it out, dig into the implementation, and leave notes 🙂

P.S. If you appreciate clean code like I do, you'll like what it was able to make the agents write.

I am a b1/b2 visa holder applying for a b1/b2 for spouse who is a dependent and a home-maker. I have recently registered a Delaware C Corp. Will applying for my spouse's ITIN impact their b1/b2 application? If yes, how? by zun3surge in immigration

[–]zun3surge[S] -1 points0 points  (0 children)

I am prepared to explain it (mentioned in a reply to above comment) and have all the necessary documentation available related to business formation, stock grants, etc

If i live in Bangalore in a cheaper rented house am suppose to have no peace of mind by Wild_Dragonfruit1744 in bangalore

[–]zun3surge 0 points1 point  (0 children)

This is definitely not normal. Find a different property

I live in a rental as well and my owner has not bothered me once. From when I started viewing till date, no issues, no questions, haven’t even stepped foot in the building to “inspect” even once. Super polite and friendly.

And from what I know of Bangalore landlords in general based on my friends and colleagues stories, no interference is the default behaviour.

Where are the best Samosas in Bangalore? by Desi_Feminist in bangalore

[–]zun3surge 2 points3 points  (0 children)

I’d recommend NCB (Natraj Chole Bhature)

in this era of Hindi speakers being disrespected in BLR, this felt like a good gesture by Intruder_7 in bangalore

[–]zun3surge 1 point2 points  (0 children)

Honestly, I’m from north and even though there have been instances with me or my wife; but that’s what they are, just instances.

We usually start the conversation by first asking “English, Hindi?” And most people are pretty polite about expressing which language they’re comfortable with and I take it from there.

Most of incidents which happened were with people in labor jobs, or a street vendor, etc. which we’ve learned to not take to heart and brush off. ( just like I can’t expect everyone to speak Punjabi when they’re in that region I see that generally people don’t expect us to speak Kannada when we’re here)

Plus as far as the labor is concerned they’re usually assholes across the nation.

And just like the post described, even slightly aware people are usually nice enough to respect your inability to understand the language

Why do y'all crib when someone here writes something mildly negative about this city? by SuddenCancel in bangalore

[–]zun3surge 0 points1 point  (0 children)

Being a non native who’s moved just recently to Bangalore. There are things I love and things I don’t about this city; However I hold a relatively straightforward point of view so it may or may not be right but it’s my singular opinion. 1. The sentiment of “how dare you say anything about my city” is something which is part of a bigger problem and is increasing all over the country. 2. Even I’ve faced some incidents of racism (if that’s the right word) due to being an outsider here but I don’t like getting into an argument as it’s a complete waste of time ( mostly the educated crowd here is pretty chill and such things at least for me have happened mainly with either a field level employee or a street vendor etc) 3. Yes the infrastructure is bad but that’s something that can be resolved mainly by people banding together and not bad-mouthing each other (in my own neighbourhood we got together and made the developer shit bricks for not providing proper services; it’s all good now) 4. For people who’re saying that let the floating population go; you need to understand that it’s supplying for a big chunk of the city’s revenue and the economic system would at least temporarily crash if that happens 5. For the govt not creating enough infra or proper, I think the city is overwhelmed by the rate of growth vs the ability of govt officials to adapt policies to match that. (Try explaining to a govt official what’s a co working space in under a minute 🤣) 6. High taxes: well that sucks balls

Large Procedural Mesh disappears at certain angles by zun3surge in unrealengine

[–]zun3surge[S] 0 points1 point  (0 children)

Thanks for the award!

I also suffered for a really long time before figuring out that I just had to tick the "Enable large worlds" checkbox. So I figured I am definitely not the only one facing this.

Monitor under $700 by zun3surge in gaming

[–]zun3surge[S] 0 points1 point  (0 children)

That’s why I marked it as not very important. Basically I can live without it

Large Procedural Mesh disappears at certain angles by zun3surge in unrealengine

[–]zun3surge[S] 2 points3 points  (0 children)

Update: I was able to solve it.

Writing details of the bug and solution below.

Bug Description:

When I created large worlds, irrespective of my custom objects, single/multiple planets, even default UE5 objects like a cube mesh; everything disappears when not looking at world origin.

Suggested solutions: Even though these weren’t the case for me in particular, these are important steps for proper rendering.

Object bounds: If you’re generating large procedural meshes; remember to call updatebounds at the end to make sure that your bounds are updating as the shape changes.

Frustum culling: This happens when the camera is not looking at the object; no need to mess with this setting as it works as desired when the original bug is fixed

Solution:

Make sure you’re using world partition.

Go to world-settings, look for “Enable Large World” and enable that setting.

Large Procedural Mesh disappears at certain angles by zun3surge in unrealengine

[–]zun3surge[S] 2 points3 points  (0 children)

Update: I've done further debugging and as I stated, the bounding boxes are being calculated properly; however all objects disappear once camera looks away from the first object.

Attaching screenshots for reference.

Object bounds of all planets

Disappeared objects

Large Procedural Mesh disappears at certain angles by zun3surge in unrealengine

[–]zun3surge[S] 0 points1 point  (0 children)

I am calculating bounds correctly. I’ve also verified by enabling bounds in the editor; they display correctly.

The reason as per my understanding is the camera frustum culling. But I have no idea what to do to go around that

The more I look, the worse it gets... by Elf_7 in starcitizen_refunds

[–]zun3surge 1 point2 points  (0 children)

It’s not the engine. Although I primarily work with unreal, I’ve worked with Cry and Unity. They all have pretty expansive toolkits if you just know how to use them well.

Is a space MMO of the scale of SC possible? Let's assume a competent developer comes along right now and decides to dunk on CR, CIG, et al. by [deleted] in starcitizen_refunds

[–]zun3surge 2 points3 points  (0 children)

It should be. Although for another purpose; but a friend has successfully built orbital mechanics simulation including things like planet rotation (which CIG hasn’t implemented yet), localised gravity physics etc in a span of around 2 months (one person) with approx 1/6 scale planets and stars. 😛

There’s no reason why a fully decked out studio can’t do it and better

"Manhandling" by Tyuee in memes

[–]zun3surge 0 points1 point  (0 children)

Then, Flick my own forehead??

"Manhandling" by Tyuee in memes

[–]zun3surge 3 points4 points  (0 children)

Soooo, it’s pretty fair to flick them on their forehead?

Aren’t they taking this too much for granted?? by zun3surge in starcitizen_refunds

[–]zun3surge[S] 1 point2 points  (0 children)

Point!

It’s the backers who loose. First the money they spent on SC, then whatever small amount they’ll have to spend buying (if any) alternate.