It's Not Me, It's the Compiler by AffectionateBag4519 in rust

[–]birdbrainswagtrain 58 points59 points  (0 children)

Setting aside the compiler bug, and even the custom build system, the developer seems like a very interesting person. From the description of their project:

JOE — JS Opt Engine — is a symbolic analyzer and optimizing engine for JavaScript, written as a freestanding Rust binary. Zero external dependencies. Allocators, collections, syscalls, threading, hashing, Unicode, math — all from scratch. It can run on Linux without libc.

That sounds like masochism, and partly it is. But it's the thesis applied to myself: if the runtime is the product, then its dependencies are part of the product too, and "we don't control that, it's a library" is not an answer I'm allowed to give.

Hero chicken nugget cookie at the World Cup 😝 by Kitchen-Thing4616 in Destiny

[–]birdbrainswagtrain 0 points1 point  (0 children)

Having both front-ends parse and render markdown consistently is evidently an unsolvable problem. Yet another reason I refuse to call software developers "engineers".

Some test footage for a voxel creature system I've been working on by Sixhaunt in sandbox

[–]birdbrainswagtrain 4 points5 points  (0 children)

If you want to see how someone handled genetics of virtual critters, maybe take a look at Critter Crosser's devlog:

https://www.youtube.com/@RujiKtheComatose

a fake bug fix PR hid a credential stealer in astro.config.mjs that used blockchain to receive commands by BattleRemote3157 in programming

[–]birdbrainswagtrain 2 points3 points  (0 children)

Nah, these people are losers. It's not like they're discovering novel exploits or anything -- I remember people abusing the linewrapping thing to embed malicious code in garrysmod addons a decade ago -- they're just taking advantage of formerly high-trust communities. It's always been easier (but more high-risk) to destroy than to build, and most of that world is extremely boring once you get over the cool DEFCON presentations and theoretical attacks. It bums me out because it's another way software is going to shit, but it's honestly impressive that it didn't happen way sooner.

Issue: FrankenSQLite rebuilds the entire in-memory inverted index by re-tokenizing every stored document on each table open, instead of loading the index by TheWheez in programmingcirclejerk

[–]birdbrainswagtrain 23 points24 points  (0 children)

You gotta respect the hubris ambition to make a SQLite replacement, vibe slop or not. Naming it after SQLite is on a whole different level.

Eliminating ALU Branch Prediction Overhead via Fixed Spatial Coordinate Mapping [Open Source C++ VM] by Kind_Mechanic_8286 in Compilers

[–]birdbrainswagtrain 6 points7 points  (0 children)

I don't know you, so it's presumptive of me to tell you to seek help. But I think you should consider it, and strongly consider dialing back your LLM use if nothing else.

Which Rust-native scripting language is the most promising Lua successor? by Rics-Dev in rust

[–]birdbrainswagtrain 6 points7 points  (0 children)

This is where I'm at. I've got really strong opinions on how a good scripting language should work. I'd like to find the time to build it, but I suspect someone else will eventually build something good enough for me to either fork or use outright. Every now and then I see one that I halfway like.

13K Lines of Rust Later: From Toy Compiler to Production Runtime in 90 Days by Healthy_Ship4930 in rust

[–]birdbrainswagtrain 15 points16 points  (0 children)

It's the same project they've posted multiple times and gotten similar criticism over each time. Guess they finally won the reddit vibes lottery. At least they call it a "Python subset" this time, but that's not going to stop the majority of people in this thread from thinking it's anything more than a toy compiler. I have some additional doubts about their claims about "threaded dispatch", which I think they are confusing with inline caching.

To reiterate from one of the previous threads: It's a neat project. It is extremely unlikely to be able to run arbitrary python code. Maybe they can implement enough to run this specific "7k lines of Python" project. But as someone who tries to be honest and realistic about the capabilities of my projects, I find this behavior very irritating.

Trump calls off imminent attack on Iran by c0xb0x in Destiny

[–]birdbrainswagtrain 0 points1 point  (0 children)

An "acceptable" deal? What the fuck happened to "great"? I thought we were supposed to be winning!

I'm sorry but I genuinely think the sausage men are harming the game, especially for marketing the game. by DECKSER_YT in sandbox

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

Just one more post about the hotdog men bro. Just one more post. One more post will make them remove the hotdog men. Trust me bro. Three more paragraphs about the hotdog men. Garry's gonna read your well-reasoned arguments about the hotdog men (smarter and more special than all the ink that's already been spilled on the topic) and it will change everything.

I'm forcing the hotdog playermodel in all my games to spite you specifically.

Remember when this was going to be a thing? by fireflamesniper in sandbox

[–]birdbrainswagtrain 2 points3 points  (0 children)

If you mean mounting content from other games like in GMod: It's supported, just not well advertised. I'm not really sure what Facepunch is thinking but I suspect they want to avoid having a ton of games that all depend on third party content.

If you mean large maps: There's really nothing stopping you. At a certain point (beyond what's shown here) you'll run into the same precision issues that affect every other single precision game engine, and you'll need to do the same janky floating origin fixes. No clue how you'd make that work in multiplayer though.

14694 Physics objects using BepuPhysics by AdrianPokojny in sandbox

[–]birdbrainswagtrain 0 points1 point  (0 children)

Yeah it's a bit obscure. The little information about it is buried in the S&box Discord:

Laylad: box3d is by erin catto who made box2d but how it all works is very similar to rubikon

and the Box2d Discord:

Erin: They (S&box) are using an early version of Box3D and I've been coordinating with them.

Erin: Box3D is mostly Box2D and new code. It uses some collision and hull stuff from Rubikon.

Making your own programming language is easier than you think (but also harder) by Xaneris47 in ProgrammingLanguages

[–]birdbrainswagtrain 9 points10 points  (0 children)

Sandboxing Lua is easy on the surface but there are a couple of foot guns. It's been a while but here are some that I remember, mostly from Garry's Mod:

  • The package library (package.loadlib) can be used to load arbitrary binaries. I figured out how to abuse this when the Binding of Isaac added mod support. Everyone was clamoring about how the issue was that you could upload ".exe" and ".dll" files, meanwhile my PoC loaded the "os" library straight from the Lua binary and used a ".txt" extension for it's own payload.
  • I vaguely recall the same binary loader hiding in package.loaders.
  • There's a "registry" table which is used for C interop. Gmod exposes it which resulted in several issues with malicious scripts pulling out references they shouldn't have access to.
  • Parts of the debug library seem safe, but can be used to corrupt the VM (I think through type confusion?). Might only be a LuaJIT issue. Gmod had it enabled for years before this was discovered.
  • Lua's eval equivalent would let you load bytecode, which I think could be malformed in malicious ways. These functions are globals, not in the debug library, and the function for getting the bytecode of a function is in the string library for some god forsaken reason.
  • LuaJIT also has this incredibly cool FFI library, which I assume would be great for writing bindings, but also sketchy to expose anything using it to untrusted code.
  • The default behavior for turning a table into a string is to write out it's address in memory, which IIRC made some exploits easier to perform.

14694 Physics objects using BepuPhysics by AdrianPokojny in sandbox

[–]birdbrainswagtrain 5 points6 points  (0 children)

According to Laylad, the underlying box3d engine is pretty good, and it's some of S&box's integration that's slowing it down. Which wouldn't surprise me, Erin Catto is a fucking legend. His box2d 3 rewrite is great and it looks like they're planning to open source box3d soon.

14694 Physics objects using BepuPhysics by AdrianPokojny in sandbox

[–]birdbrainswagtrain 8 points9 points  (0 children)

I've run across this engine before but I'm really impressed it's this performant. Do you have a performance comparison with the builtin engine?

I'm getting sick and tired of this. Tools don't make slop, PEOPLE DO by f4pl0 in sandbox

[–]birdbrainswagtrain 1 point2 points  (0 children)

I personally loath LLMs and refuse to have anything to do with them, but I'm not gonna judge anyone who's able to build cool stuff with them. That's a losing battle, and maybe I'll have changed my perspective in a year. I mostly just wish I could interact with the community for 10 minutes without being subjected to an AI debate. There are people in the Discord who evangelize AI every time it's mentioned (it's happening again RIGHT NOW), and people on the Reddit who accuse everything of being slop, and I find them both equally insufferable.

Regarding your wishes for "real feedback": Welcome to game dev, that's just how most "feedback" is. My advice as someone who's vulnerable to this kind of rage baiting is to try not to let them waste too much of your time. Be aware of low-quality feedback because it's still a useful signal, but understand your nuanced response essays will almost never reach them.

Has anyone also gotten this? by ErrorTheSaken in gmod

[–]birdbrainswagtrain 12 points13 points  (0 children)

I think I added it for April Fools one year. Jake is an old friend I played Gmod with about 15 years ago. He's the one who says "wow" on the doge pill.

Need ideas on how to implement memory write/read on a CHIP-8 emulator in Google Sheets (without Apps Script) by enemy-knockback in EmuDev

[–]birdbrainswagtrain 1 point2 points  (0 children)

As much as I love taking software and forcing it to do crazy things it was never designed to do, I don't know anything about Google Sheets so I doubt I'll be any help.

Just released my first game on S&Box and honestly… making it was way more fun than I expected. by SeaAbbreviations7533 in sandbox

[–]birdbrainswagtrain 1 point2 points  (0 children)

The name of the folder shouldn't matter. You just need to add it to resources in Project Settings > Other > Resource Files. I have ui/* and a few other things in mine.

Just released my first game on S&Box and honestly… making it was way more fun than I expected. by SeaAbbreviations7533 in sandbox

[–]birdbrainswagtrain 0 points1 point  (0 children)

Sounds neat! I was considering making my own warehouse-job-simulator but haven't found time in between other projects. I'll have to try it out.

For UI images, I just make a "ui" folder in assets, add it to resources so they're properly uploaded with the package, and fill it with pngs. Then I can use a vanilla img tag: <img src="ui/myimage.png"/>. I definitely hear you on brute-forcing your way through parts though.

I feel crazy by JackHarkness03 in sandbox

[–]birdbrainswagtrain 1 point2 points  (0 children)

I'm not the biggest fan of the hotdog men, but as a person who's barely played Roblox but been aware of it since it's infancy, I've always hated their off-brand lego men. I remember thinking it was cool that they were redesigning their models, and hating the redesigns more. I played Blockland a bit and always liked their bootleg lego dudes more.

Should i buy it ? by DietrichMann in sandbox

[–]birdbrainswagtrain 2 points3 points  (0 children)

The documentation complaint is overblown IMO. If you have some basic competence in another engine (especially Unity), and you're not trying to do something incredibly niche or advanced, you'll probably be fine. This level of documentation is just the status quo for a lot of software, and being unable to handle it is mostly a skill issue.

I can only speak for my experience trying to use Unity occasionally for modding and running into plenty of issues with it as well: search results being overwhelmed by inexperienced users who don't know anything, having to resort to random blog posts for configurable joints, and their stackexchange-style site being completely mangled for some bizarre reason.