b_van_b

joined 1 year ago
[–] [email protected] 9 points 3 weeks ago

I only know about the developers of Slay the Spire switching to Godot. Not the biggest name, but still well-known.

https://www.pcgamer.com/games/card-games/slay-the-spire-2-ditched-unity-for-open-source-engine-godot-after-2-years-of-development/

[–] [email protected] 4 points 1 month ago

I assume that left joystick up/down is axis 1, correct?

[–] [email protected] 4 points 3 months ago (2 children)

What would you suggest as an alternative?

[–] [email protected] 3 points 3 months ago* (last edited 3 months ago)

This setting appears to work for me. It shows up as blocked in the logs. I've also blocked it in NoScript for good measure.

[–] [email protected] 14 points 3 months ago (4 children)

I assume it's because many people outside the USA are accustomed to taking off their shoes when entering a house or apartment.

[–] [email protected] 1 points 3 months ago (1 children)

According to GitHub, development of DevToys predates it-tools by a year. If anything, I'd say they're both inspired by CyberChef.

[–] [email protected] 7 points 3 months ago (1 children)

The Godot engine GUI is also made in Godot.

[–] [email protected] 1 points 4 months ago

Dart for web just transpiles to JavaScript, doesn't it?

[–] [email protected] 5 points 4 months ago (3 children)

What's the image? I just get an error message.

[–] [email protected] 1 points 4 months ago (1 children)

How big is the context window for the free version? I haven't found any information about it.

 

I'm going through the interactive version of The Book, and I'm confused by the results of an exercise in Ch 4.3 - Fixing Ownership Errors.

The following code does not work, and they say it's because it would result in the same heap space being deallocated twice:

fn main() {
    let s = String::from("Hello world");
    let s_ref = &s; // reference s
    let s2 = *s_ref; // dereference s_ref
    println!("{s2}");
}

But in my mind, this should be equivalent to the following compilable code, which transfers ownership of s to s2 :

fn main() {
    let s = String::from("Hello world");
    let s_ref = &s; // reference s
    let s2 = s; // move s directly
    println!("{s2}");
}

If s_ref is a reference to s, then dereferencing s_ref should return the String s, shouldn't it? Why can't s be moved to s2 with either the above code or let s2 = *&s;, which fails in the same way?

view more: next ›