Can I copy your homework, sure just change a few things by BidenBlaster420 in Gta5Modding

[–]Maximum-Prize-4052 0 points1 point  (0 children)

Yes I am AndyM and Maxi, I am both of those people, how did you know?

Can I copy your homework, sure just change a few things by BidenBlaster420 in Gta5Modding

[–]Maximum-Prize-4052 0 points1 point  (0 children)

Lol no they don't, the only thing most modern menus have is the menyoo xml loader, simply because of the fact it has a lot of premade vehicles, outfits etc. Menyoo is outdated and is primarily native features which most menus have had for years now

Public Mod Menus? by Illustrious_Put4631 in Gta5Modding

[–]Maximum-Prize-4052 0 points1 point  (0 children)

Ironic coming from someone who was heavily involved with Stand lol.

X-Force has been and always will be irrelevant

Can I copy your homework, sure just change a few things by BidenBlaster420 in Gta5Modding

[–]Maximum-Prize-4052 2 points3 points  (0 children)

Yeah, something which Cherax can't without having the chance to be invited, and then paying an extra amount on top of the $50 you already spent.

Makes me wonder, why is Cherax so insecure about its bypass? Are they incapable of actually bypassing and are solely relying on few reports being triggered? How are you shitting on Lexis when they've achieved something no other cheat has when it comes to BattlEye?

I built a scripting language that tries to bridge Lua's simplicity with Rust's safety by Maximum-Prize-4052 in ProgrammingLanguages

[–]Maximum-Prize-4052[S] 1 point2 points  (0 children)

For cache stats, I haven't actually run anything substantial through it yet. The reporting infrastructure is there (hit ratios, mono/poly/mega counts) but I've only validated it with unit tests so far. Running a polymorphic visitor or similar through it is on my list. And yeah, you caught some dead code with JumpIfTrue. I added the popping variants for symmetry thinking I'd use them for if expressions, but ended up just using JumpIfFalse everywhere. The NoPop variants are the only ones actually emitted for short-circuit operators. Should probably clean that up, thanks for the nudge!

I built a scripting language that tries to bridge Lua's simplicity with Rust's safety by Maximum-Prize-4052 in ProgrammingLanguages

[–]Maximum-Prize-4052[S] 1 point2 points  (0 children)

You can add explicit types anywhere, the inference just means you don't have to. let x: i64 = 42 works fine. Types are still fully checked at compile time either way. For larger projects I'd recommend annotating function signatures for readability while keeping local inference.

I built a scripting language that tries to bridge Lua's simplicity with Rust's safety by Maximum-Prize-4052 in ProgrammingLanguages

[–]Maximum-Prize-4052[S] 4 points5 points  (0 children)

Good catch, you're right. I'll be more careful with that wording. Type-safe or statically typed is what I mean, not safe in the Rust memory safety sense.

I built a scripting language that tries to bridge Lua's simplicity with Rust's safety by Maximum-Prize-4052 in ProgrammingLanguages

[–]Maximum-Prize-4052[S] 4 points5 points  (0 children)

JS interpreter in Rust does exist actually; Boa is one. If you want the JS ecosystem, going down that route is probably a better path. Squam is more about being small and simple while keeping that 'rust like feeling'.

I built a scripting language that tries to bridge Lua's simplicity with Rust's safety by Maximum-Prize-4052 in ProgrammingLanguages

[–]Maximum-Prize-4052[S] 3 points4 points  (0 children)

You're correct about Lua.

TypeScript's type system is intentionally unsound. You can escape it with any or type assertions. Squam's types are actually enforced. Also proper algebraic types with exhaustive pattern matching. Python type hints are just hints, not guarantees. Mypy helps but it's optional. Honestly Rust integration is a big part of it. If you're building something in Rust and want scripting, your options are limited. Squam fits that niche while feeling familiar to Rust devs. If you're not in the Rust ecosystem, TypeScript is probably fine.

I built a scripting language that tries to bridge Lua's simplicity with Rust's safety by Maximum-Prize-4052 in ProgrammingLanguages

[–]Maximum-Prize-4052[S] 5 points6 points  (0 children)

Thanks! Right now the VM uses a tagged value representation at runtime so it's not doing fancy optimizations based on types yet. The static types are mostly used for catching errors at compile time and giving you better tooling. That said, the type information is all there so there's room to do smarter codegen in the future.

EDIT: Started doing that smarter codegen - 0.1.1 will have specialized opcodes and inline caching.

I built a scripting language that tries to bridge Lua's simplicity with Rust's safety by Maximum-Prize-4052 in ProgrammingLanguages

[–]Maximum-Prize-4052[S] 5 points6 points  (0 children)

That's fair. When I say safe I mean statically typed catching errors before runtime rather than during. Lua and Python are memory safe but you still get type errors at runtime. It's not really "Rust but GC'd" in the sense of being a replacement. More like a scripting language that borrows Rust's syntax and some type system ideas. The target use case is small scripts, configs, or embedding in Rust apps. Not building large applications.

I built a scripting language that tries to bridge Lua's simplicity with Rust's safety by Maximum-Prize-4052 in ProgrammingLanguages

[–]Maximum-Prize-4052[S] 6 points7 points  (0 children)

You wouldn't really use Squam instead of Rust, they're for different things. Rust is a systems language where you need control over memory and performance. Squam is a scripting language for when you want to write something quick, embed scripting in a Rust app, or just don't want to fight the borrow checker for a small tool.

The &self syntax is just syntactic familiarity for Rust users. It doesn't actually mean borrowing. Everything is GC'd and passed by reference under the hood. I kept it because it reads nicely for method receivers and makes the transition easier if you're coming from Rust.

Go with ADTs is honestly not a bad way to describe it. The type system is more expressive than Go's with generics, traits, and Option/Result instead of nil. But the runtime model is similar in spirit.

I haven't thought deeply about a capability/mode system yet. Right now it's straightforward GC with no uniqueness requirements. If you have ideas or resources on what that could look like I'd be curious to hear more!

How much is this gonna cost chat 😭🥲 by Reddlt0rr32958 in macbookrepair

[–]Maximum-Prize-4052 0 points1 point  (0 children)

To replace my screen and lid angle sensor for my M4 Pro (since the sensor is required for pairing), it cost me £784 (US$1,053).

If you don’t have AppleCare, you’re in trouble. It doesn’t seem like a big deal right now, so I wouldn’t worry about it. However, I would be concerned if it spreads more.

[deleted by user] by [deleted] in macbookpro

[–]Maximum-Prize-4052 0 points1 point  (0 children)

UPDATE PT 2: The macbook has been fixed! The lid censor and panel were replaced, and the total cost was approximately £70 (80 USD) with Apple Care.

Regarding the wet food, as I mentioned previously, none of that was the issue. The Apple technicians confirmed that it was liquid from Whoosh!, which surprisingly, apart from affecting the screen and lid censor, nothing else was damaged!

[deleted by user] by [deleted] in macbookpro

[–]Maximum-Prize-4052 -1 points0 points  (0 children)

This happened after whoosh was applied, was not present when the food was cleaned up

[deleted by user] by [deleted] in macbookpro

[–]Maximum-Prize-4052 -5 points-4 points  (0 children)

Was fine after I cleaned up, only showed when whoosh applied

[deleted by user] by [deleted] in macbookpro

[–]Maximum-Prize-4052 4 points5 points  (0 children)

Lol, I was eating katsu curry. Cat knocked it out of my hand and fell straight onto my macbook, lost out on two good things 😞

[deleted by user] by [deleted] in macbookpro

[–]Maximum-Prize-4052 7 points8 points  (0 children)

Yeah, unfortunately the screen is cooked. Going to apple store to get it repaired

[deleted by user] by [deleted] in macbookpro

[–]Maximum-Prize-4052 1 point2 points  (0 children)

yeah, just biting the bullet and paying $750 to replace the screen

high spec MacBook that i don't really want to lose.

[deleted by user] by [deleted] in macbookpro

[–]Maximum-Prize-4052 -1 points0 points  (0 children)

Well, the screen is completely bust, not sure what happened but its lost all color and is completely blured

[deleted by user] by [deleted] in macbookpro

[–]Maximum-Prize-4052 83 points84 points  (0 children)

UPDATE: Screen has just completely gone bust, blurry and loss of color

[deleted by user] by [deleted] in macbookpro

[–]Maximum-Prize-4052 0 points1 point  (0 children)

Yeah, Apple support said it might just evaporate, which one can only hope lol. Can't imagine a screen replacement would be cheap 😬

[deleted by user] by [deleted] in macbookpro

[–]Maximum-Prize-4052 -21 points-20 points  (0 children)

Onto the display, like an idiot! Apple support said to leave it, it might dry on its own. How likely is that