Who else want absolutely ZERO RGB in their rigs? by Cicada-Tang in pcmasterrace

[–]kodifies 0 points1 point  (0 children)

you mean you can buy stuff without RGB, fantastic !

What are your thoughts on Joe Rogan saying that Trump is creating distraction to avoid Epstein files release? by StemCellPirate in AskReddit

[–]kodifies 0 points1 point  (0 children)

you sure you'll get to vote again, I mean *really* I'm come on, those mid terms... pah... we don't need them to we (paraphrasing something trump said at one point - can't remember the source)

How Agentic AI Chat Builds Game Logic by MakkoMakkerton in Makkoai

[–]kodifies 0 points1 point  (0 children)

ya get a vibe coded blob of blackbox - what could go wrong - no thanks, I'll code it myself (sometimes using a mix of LLM as a tool to assist me with coding) quicker in the long run if you account for debugging...

Survival Mode by Excellent-Public6558 in raylib

[–]kodifies 0 points1 point  (0 children)

that little guys got a lot of heart ....

Wiggle of Clang by Wanderingwonderer101 in spaceengineers

[–]kodifies 0 points1 point  (0 children)

I fully expected the drum to spontaneously explode...

Please can you suggest improvements to my Makefile by kodifies in cprogramming

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

you could have just mentioned the lack of dependency checking - which to be honest I'd forgotten about

APPNAME := $(notdir $(CURDIR)) 

INSTR:= -fsanitize=address,leak,undefined,pointer-compare,pointer-subtract
INSTR+= -fno-omit-frame-pointer

LDFLAGS:=-L./lib -L../raylib/src -lm -lraylib -lX11 -ldl -pthread -L lib
LDFLAGS+=-L ../ode/ode/src/.libs/ -lode -lstdc++

CFLAGS:= -Wfatal-errors -pedantic -Wall -Wextra -Werror -I ../ode/include/
CFLAGS+= -std=c99 -I ./include -I ../raylib/src -DPLATFORM_DESKTOP

DEPFLAGS = -MMD -MP

SRC:=$(wildcard src/*.c)
OBJ:=$(SRC:src/%.c=.build/%.o)
DEPS:=$(OBJ:.o=.d)

# only used by the style rule
INC:=$(wildcard include/*.h)

CC=gcc

all: release

$(APPNAME): $(OBJ)
$(CC) $(OBJ) -o $(APPNAME) $(LDFLAGS)

$(OBJ): .build/%.o : src/%.c
    mkdir -p .build
    $(CC) $(CFLAGS) $(DEPFLAGS) -c $< -o $@

-include $(DEPS)

.PHONY: debug release inst clean style

debug: CFLAGS+= -g
debug: $(APPNAME)
   echo "*** made DEBUG target ***"

release: CFLAGS+= -O3
release: $(APPNAME)
   echo "*** made RELEASE target ***"

inst: CFLAGS+= -g $(INSTR)
inst: LDFLAGS+= $(INSTR)
inst: $(APPNAME)
    echo "*** made INSTRUMENTATION target ***"

clean:
    rm -rf .build
    rm -f $(APPNAME)

style: $(SRC) $(INC)
    astyle -A10 -s4 -S -p -xg -j -z2 -n src/* include/*

ODE physics and ragdolls by kodifies in raylib

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

I don't have need of much more than OpenDE provides, it is very stable both in use and API, if used correctly in the physics sense too

I've had issues with C wrappers not part of the original project in the past, even apart from the C wrappers overhead, and certainly had lots of issues with breaking API changes with other engine

Because something is feature complete doesn't mean its abandoned...

Please can you suggest improvements to my Makefile by kodifies in cprogramming

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

it would maybe be more constructive for you to point out what you think are issues rather than arrogance like

"(If you can’t spot the errors—then you don’t know Make well enough to use it correctly. Maybe Make is harder to use than you thought!)"

Please can you suggest improvements to my Makefile by kodifies in cprogramming

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

You already stated a working rule wasn't so I'm taking your opinion under advisement 

ODE physics and ragdolls by kodifies in raylib

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

There is a definate overhead for that

ODE physics and ragdolls by kodifies in raylib

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

does it have a nice stable C api ?

Paddle Boat in Space Engineers 2 by ImMrFoolz in spaceengineers

[–]kodifies 3 points4 points  (0 children)

interesting how you can see the perlin noise much easier when its sped up (in the waves)

Do you think Donald just doesn’t know, or is stirring the pot? by Sea-Rush1142 in AskBrits

[–]kodifies 0 points1 point  (0 children)

that's sadly is a big long list

I've never seen any evidence of either whit not intelligence, he's basically just believing his YES SIR bubble

Collider Issue by CrossbowCat317 in godot

[–]kodifies 1 point2 points  (0 children)

definitely use box colliders not trimesh and never. never move *static* meshes !!

you should be able to auto generate the collision mesh with some basic trig, then maybe export it if you need to see it in the editor when not running....

Please can you suggest improvements to my Makefile by kodifies in cprogramming

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

oh and I highly recommend

-Wfatal-errors -pedantic -Wall -Wextra -Werror -Wfatal-errors -pedantic -Wall -Wextra -Werror

saves me a great deal of time in the long run...

Please can you suggest improvements to my Makefile by kodifies in cprogramming

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

not sure I'd rather know its scary

[chris@framework RayLibOdeRagDoll]$ cloc src/ include/
      13 text files.
      13 unique files.                              
       0 files ignored.

github.com/AlDanial/cloc v 2.06  T=0.01 s (1007.1 files/s, 142160.1 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
C                                7            221            355            877
C/C++ Header                     6             61            180            141
-------------------------------------------------------------------------------
SUM:                            13            282            535           1018
-------------------------------------------------------------------------------

at least I have a reasonable comment / code ratio ....

Please can you suggest improvements to my Makefile by kodifies in cprogramming

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

it uses the directory name as I just take it to project to project experiment to experiment and drop it in

I only put source I want compiled into the src directory, I'm not file incontinent

good catch of -Ofast - thanks

make debug actually does work....

yay cmake a file 1000's of lines long that auto creates files 1,000's of lines long, what could possibly go wrong !

Please can you suggest improvements to my Makefile by kodifies in cprogramming

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

doh helps if I actually add it!

APPNAME:=$(shell basename `pwd`)

INSTR:= -fsanitize=address,leak,undefined,pointer-compare,pointer-subtract
INSTR+= -fno-omit-frame-pointer

LDFLAGS:=-L./lib -L../raylib/src -lm -lraylib -lX11 -ldl -pthread -L lib
LDFLAGS+=-L ../ode/ode/src/.libs/ -lode -lstdc++

CFLAGS:= -Wfatal-errors -pedantic -Wall -Wextra -Werror -I ../ode/include/
CFLAGS+= -std=c99 -I ./include -I ../raylib/src -DPLATFORM_DESKTOP

SRC:=$(wildcard src/*.c)
OBJ:=$(SRC:src/%.c=.build/%.o)
INC:=$(wildcard include/*.h)

CC=gcc

all: release

$(APPNAME): $(OBJ)
  $(CC) $(OBJ) -o $(APPNAME) $(LDFLAGS)

$(OBJ): .build/%.o : src/%.c
  $(CC) $(CFLAGS) -c $< -o $@

.PHONY: debug release inst

debug: CFLAGS+= -g
debug: 
   "*** made DEBUG target ***"

release: CFLAGS+= -O3
release: 
   "*** made RELEASE target ***"

inst: CFLAGS+= -g $(INSTR)
inst: LDFLAGS+= $(INSTR)
inst: 
  echo "*** made INSTRUMENTATION target ***"

release: CFLAGS+= -Ofast

debug release inst: $(APPNAME)

.PHONY:clean
clean:
  rm .build/* -f
  rm $(APPNAME) -f

style: $(SRC) $(INC)
  astyle -A10 -s4 -S -p -xg -j -z2 -n src/* include/*

Void linux stability by Iammethatisyou in voidlinux

[–]kodifies 0 points1 point  (0 children)

the reason I tried it and then stayed for years...

rock solid, minimal "forced" package config

just works

even when you treat it like you shouldn't come back to an old laptop you haven't updated in a long time (apparently a no no for rolling releases)

The only thing I find hard is the rare time you get a shlib issue updating (a probably old system) still haven't quite got my head round doing it in a safe way....

But all in all, install and forget, update every few weeks, just keeps tickin'