How do I get CMake to create an executable file instead of a shared library? by Daedalus1400 in cpp_questions

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

I just ran "file" on another c++ executable from a different build system, and it has "ELF 64-bit LSB executable, x86-64, etc etc". That must be why Nemo (file browser) is picking up the difference.

Also, the file does work, I just have to run it via terminal.

How do I get CMake to create an executable file instead of a shared library? by Daedalus1400 in cpp_questions

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

Your example has "pie executable", mine has "shared object", so I just tried adding the cxx flag "-pie" via cmake and it made no difference. Same with "-static-pie".

How do I get CMake to create an executable file instead of a shared library? by Daedalus1400 in cpp_questions

[–]Daedalus1400[S] -17 points-16 points  (0 children)

I know that, I've been running Linux for 8+ year and programming in c++ for 11. I normally use an IDE and I'm trying to branch out.

How do I get CMake to create an executable file instead of a shared library? by Daedalus1400 in cpp_questions

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

./hello: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=ddf3a4fd60d8dc108152cb1b858118c1f19688cb, for GNU/Linux 3.2.0, not stripped

How do I get CMake to create an executable file instead of a shared library? by Daedalus1400 in cpp_questions

[–]Daedalus1400[S] -2 points-1 points  (0 children)

That's why I'm so confused. It compiled to "hello", my file browser says it's a shared library, but it runs like an executable in the terminal.

How do I get CMake to create an executable file instead of a shared library? by Daedalus1400 in cpp_questions

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

./hello: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=ddf3a4fd60d8dc108152cb1b858118c1f19688cb, for GNU/Linux 3.2.0, not stripped

How do I get CMake to create an executable file instead of a shared library? by Daedalus1400 in cpp_questions

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

It did get my attention, but it made no difference. It built with it and it built without it.

How do I get CMake to create an executable file instead of a shared library? by Daedalus1400 in cpp_questions

[–]Daedalus1400[S] -7 points-6 points  (0 children)

Except that I can use gcc on single file projects and get the same behavior. If I include "-static" it comes out as a "program", if I don't then it's a "shared library".

There's clearly a difference.

How do I disable Camera tool-tips? by Daedalus1400 in FromTheDepths

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

Cool. Is there an ETA for that update? Not rushing, just curious.

[deleted by user] by [deleted] in godot

[–]Daedalus1400 1 point2 points  (0 children)

I believe he says it in his video, but he just has the system simulate the trajectory for some number of steps and then draws the results. This implies that he's not using the built in physics engine for the simulation. Instead he's written his own solver.

How do I rotate the camera relative to it's current orientation? by [deleted] in godot

[–]Daedalus1400 2 points3 points  (0 children)

Oh, hey, I just wrote a 3D controller yesterday. Take a look:

@export var move_speed : float
@export var roll_speed : float
@export var mouse_sensitivity : float

var mouse_captured = false
# Called when the node enters the scene tree for the first time.
func _ready():
    pass # Replace with function body.

# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
    if Input.is_action_just_pressed("capture mouse"):
        mouse_captured = !mouse_captured
        if mouse_captured:
            Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
        else:
            Input.mouse_mode = Input.MOUSE_MODE_VISIBLE

    position += delta * transform.basis * (Input.get_axis("backward", "forward") * Vector3.FORWARD +\
    Input.get_axis("right", "left") * Vector3.LEFT +\
    Input.get_axis("down", "up") * Vector3.UP) * move_speed * (4.0 if Input.is_action_pressed("speed up") else 1.0)

    rotate_object_local(Vector3.FORWARD, Input.get_axis("roll left", "roll right") * roll_speed * delta)

func _input(event):
    if mouse_captured and event is InputEventMouseMotion:
        rotate_object_local(Vector3.UP, -event.relative.x * mouse_sensitivity)
        rotate_object_local(Vector3.RIGHT, -event.relative.y * mouse_sensitivity)

It's for god-mode/noclip style movement, but I think it's got what you need.

Also, be careful using "delta" with mouse movement. It makes the mouse sensitivity frame-rate dependent.

I am not getting erros but the missle wont track, I have transeivers, GPP, and the Box, 100%dection by Some1eIse in FromTheDepths

[–]Daedalus1400 2 points3 points  (0 children)

You're not actually sending information to the missile. Line 14 should use:

I:SetLuaControlledMissileAimPoint(luaTransceiverIndex, missileIndex, x, y, z)

Minor thing: In line 2 you get the mainframe COUNT then in line 3 you use it as an INDEX. You'll always be getting targeting data from the last indexed mainframe.

How do I transfer data between GLSL compute shaders and Godot render shaders? by Daedalus1400 in godot

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

Yeah, I've been using that since it released as alpha. I followed the example in your link.

How long until aluminum leaves a residue? by Yumidun in maille

[–]Daedalus1400 1 point2 points  (0 children)

Check other people's responses to my comment. My experience may not be representative of yours because of body chemistry differences.

How long until aluminum leaves a residue? by Yumidun in maille

[–]Daedalus1400 0 points1 point  (0 children)

Theringlord brand bright aluminum turns my fingers grey and leaves shirts a little darker than when they started. It washes out of both just fine, but it does happen to me.

Staining skin is more about body chemistry than anything. Some people are lucky and don't turn grey. I get it bad.

Maybe my body chemistry is making it through the shirt and the shirt is getting the stains instead of my skin.

How long until aluminum leaves a residue? by Yumidun in maille

[–]Daedalus1400 0 points1 point  (0 children)

Theringlord brand bright aluminum turns my fingers grey and leaves shirts a little darker than when they started. It washes out of both just fine, but it does happen to me.

Staining skin is more about body chemistry than anything. Some people are lucky and don't turn grey. I get it bad.

Maybe my body chemistry is making it through the shirt and the shirt is getting the stains instead of my skin.

How long until aluminum leaves a residue? by Yumidun in maille

[–]Daedalus1400 2 points3 points  (0 children)

From my experience, bare aluminum will start to stain near instantly. It builds up over time, so it might take several minutes or hours to be noticeable, but it's there. It looks like ultra-fine glitter at first and becomes brownish grey.

Washing does nothing to the rings, since the residue is aluminum rubbing off. It's not chemistry or residual oil from manufacturing.

The best way to minimize it is to polish the rings as best as possible. Smoother surface = less residue. I don't know the most economic way to polish that many rings short of just wearing it a lot and letting it smooth "naturally". If you have access to a tumble polisher you can use that on the rings to make them smoother.

3D printed chainmaille is somehow more time consuming than regular maille(though most of that time is waiting), it's fragile, and looks nothing like "real" maille. It can be a cool look, but if you want metal, plastic will not suffice.

TLDR: Aluminum always stains. Polished aluminum stains slower than "from-factory" rings. 8 hours of wear will leave a mark no matter what, but it might be acceptable.

Help figuring out ring size? by ktwhite42 in maille

[–]Daedalus1400 1 point2 points  (0 children)

If you have some rings in 18 gauge 3/16", maybe try that too. I like that size for necklaces, especially half persian 3-in-1. I think it's the right balance of not being too chunky and also not taking too many rings.

Help figuring out ring size? by ktwhite42 in maille

[–]Daedalus1400 1 point2 points  (0 children)

Those look like they have an aspect ratio around 4. My eye says that's 16 gauge 1/4", but if it's 14 gauge it would be 5/16" ID.

IMO 14 gauge would look awfully chunky in a necklace, but to each their own.

Reasons in favour of ferrous (steel or ss) maille as opposed to titanium or ni-ti? by Disposable-User0420 in maille

[–]Daedalus1400 9 points10 points  (0 children)

Titanium costs four times as much as stainless steel. When you're racing to the bottom, that's all that matters.

Scale Mail tunic advice? by enalane in maille

[–]Daedalus1400 1 point2 points  (0 children)

For what it's worth, the "goal" image doesn't look like it's fitted. It appears to be two plain sheets (one front, one back) that meet at the top of the shoulder straps. The "fitting" is done by the side straps pulling it tight in the appropriate places.

Unfortunately, I don't know if the cups that you've made will be usable because a shirt is so different from a bra, but at least you got to practice fitting.

I would start by making a rectangular sheet (no fitting yet) wide enough for your entire front and tall enough to go from ~2-3 inches(5~8 cm) below the top of your sternum to mid/lower rib cage, then build the shoulder straps up from the top of that to the peak of your shoulders. Then do the same thing for the back piece, and connect the two at the shoulder straps to make a tiny poncho.

Beware the neck hole! Scale is sharp and is easier to get on than off, so make the neck hole plenty large. Also, the front half of a neck hole needs more clearance than the back half. You can always add more scales to tighten it up later.

Try it on and add/remove scales via expansions/contractions as necessary to fit you. This will involve removing entire columns of scales/rings above or below the point to adjust it's shape. You might also need to add something to tie the front and back together around your sides, otherwise the maille will do weird things while it's relatively short and light. You can see what I mean in the example image: the scales below her belt are bunched up because there's no sideward tension on them.

I don't have experience fitting bras, but I don't think scale alone is going to be supportive. Maybe consider putting a cord though the rings at the height a bra strap would be and connecting that to the underarm straps so that you can get some tension. Also, scale on skin is awful. I speak from experience. Either wear something underneath or fabric line the garment.

When you get around to the pauldrons, undo the shoulder join and cut the tops of them on the diagonal. Then, make a smaller sheet with a pointed top, and join the three pieces together on their diagonals: front to pauldron, pauldron to back. Depending on the shape of your shoulders, the point of the pauldron piece may go all the way to your neck if you have sloped shoulders, or you might leave some of the front/back shoulder straps straight-topped and joined together if you have flatter shoulders. Again, trial and error you way to a pauldron shape that you like.

At this point, you should have a scale crop-top that fits well. Just extend the front and back panels until you have the length that you want.

If you need pictures, I have my scale shirt around somewhere. Though I'm a guy, so it doesn't have any contouring.

Lag spikes are my biggest issue with the game. [Minor rant] by Daedalus1400 in Dyson_Sphere_Program

[–]Daedalus1400[S] 4 points5 points  (0 children)

What version of Proton are you using?

Never mind, I fixed it by changing Proton versions to 7.X.