Search found 132 matches
- Tue Feb 11, 2020 10:03 pm
- Forum: Off-Topic
- Topic: Old laptop /Linux question
- Replies: 64
- Views: 5147
Re: Old laptop /Linux question
i *definitely* know better, that's why compilers still cannot write code for me. if i wrote some check, i want it to be there, regardless of what compiler believes. if i am left-shifting into sign bit, i know what i am doing. and so on. is there any way to left-shift into sign bit w/o UB, for ...
- Tue Feb 11, 2020 9:23 pm
- Forum: Off-Topic
- Topic: Old laptop /Linux question
- Replies: 64
- Views: 5147
Re: Old laptop /Linux question
>Has OP's question been answered?
several times, by different people. that's why we're going wild here.
User received a warning for this post -Rachael
several times, by different people. that's why we're going wild here.
User received a warning for this post -Rachael
- Tue Feb 11, 2020 9:13 pm
- Forum: Off-Topic
- Topic: Old laptop /Linux question
- Replies: 64
- Views: 5147
Re: Old laptop /Linux question
>Enjoy not having any vector optimizations. Those rely on a lot of hidden >assumptions granted by the C++ standard including data alignment. Disabling >compiler optimizations because they point out your code is poorly written is >crazy. assuming that the code has zero bugs is crazy. can you give a ...
- Tue Feb 11, 2020 6:21 pm
- Forum: Off-Topic
- Topic: Old laptop /Linux question
- Replies: 64
- Views: 5147
Re: Old laptop /Linux question
>A program that does something wrong (invalid pointer access, uninitialized >memory, etc), is by definition an invalid program, and an invalid program makes no >guarantee about the behavior of a program, at all. that's why i am always turning off optimisations based on "your code is always valid ...
- Tue Feb 11, 2020 3:00 pm
- Forum: Off-Topic
- Topic: Old laptop /Linux question
- Replies: 64
- Views: 5147
Re: Old laptop /Linux question
>GDB is incredibly powerful if you know how to use it.
and so printf too. ;-)
interactive debugger is the best way to waste your time pretending to doing something useful. once i realised this, i stopped using interactive debuggers. and i never looked back since.
and so printf too. ;-)
interactive debugger is the best way to waste your time pretending to doing something useful. once i realised this, i stopped using interactive debuggers. and i never looked back since.
- Tue Feb 11, 2020 5:10 am
- Forum: Off-Topic
- Topic: Old laptop /Linux question
- Replies: 64
- Views: 5147
Re: Old laptop /Linux question
>Off hand I don't know of anything to check disk usage
iotop, for example.
to see various open fds one can use lsof.
iotop, for example.
to see various open fds one can use lsof.
- Tue Feb 11, 2020 4:17 am
- Forum: Off-Topic
- Topic: Old laptop /Linux question
- Replies: 64
- Views: 5147
Re: Old laptop /Linux question
i was debugging with printf/logf since... oh, i don't remember. more than two decades now, i guess. the only thing i need debugger for is to get a backtrace from coredump.
- Tue Feb 11, 2020 2:40 am
- Forum: Off-Topic
- Topic: Old laptop /Linux question
- Replies: 64
- Views: 5147
Re: Old laptop /Linux question
editing some configs is the thing that could be done from "rescue mode". you only need something like "notepad" there, but for terminal. nano is just an "advanced notepad" in this case. there is no need in "real editor" here, just something very basic that can do the job.
- Sun Feb 09, 2020 4:13 pm
- Forum: Off-Topic
- Topic: Old laptop /Linux question
- Replies: 64
- Views: 5147
Re: Old laptop /Linux question
>I got an old laptop, 11 years old, equipped with a 3 GHz Core 2 Duo CPU and a Geforce >9600M GPU and 4 GB RAM Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz, NVIDIA Corporation GK208 [GeForce GT 720], 8MB RAM, but 32-bit OS. this is where i am doing everything. it is running lighttpd, postfix, mysql ...
- Sun Feb 09, 2020 3:19 pm
- Forum: Bugs [GZDoom]
- Topic: Maps that need compatibility settings.
- Replies: 168
- Views: 115687
Re: Maps that need compatibility settings.
>As for Do-It-2, bad use of DECORATE: It calls A_Explode(1, 2, 0) where 0 is the flags >word which overrides the XF_HURTSOURCE flag. wiki: XF_NOTMISSILE — Not a missile: if set, the calling actor is considered to be the source. By default, the calling actor is assumed to be a projectile, and the s ...
- Fri Feb 07, 2020 1:35 am
- Forum: General
- Topic: Yet another retro source port?
- Replies: 166
- Views: 16349
Re: Yet another retro source port?
>What does it do that GZDoom can not trough ZScript?
there was no ZScript when Korax Mod was created. ;-) it is possible to port it now, of course, but it will require a complete rewrite. it is quite hard to even port it to k8vavoom, and k8vavoom is way closer to Vavoom than GZDoom.
there was no ZScript when Korax Mod was created. ;-) it is possible to port it now, of course, but it will require a complete rewrite. it is quite hard to even port it to k8vavoom, and k8vavoom is way closer to Vavoom than GZDoom.
- Fri Feb 07, 2020 1:16 am
- Forum: General
- Topic: Yet another retro source port?
- Replies: 166
- Views: 16349
Re: Yet another retro source port?
>The main reasons I'm not doing this are performance yeah. i'm not saying that it is impossible in GZDoom or something. just pointed out that Janis did it (and i had to partially undo it to support maps with 2000+ monsters with at least 35 FPS; still, i hope to improve the situation with JIT later ...
- Fri Feb 07, 2020 12:51 am
- Forum: General
- Topic: Yet another retro source port?
- Replies: 166
- Views: 16349
Re: Yet another retro source port?
i am little late to the party, but i want to clarify some things about Vavoom. Janis took some Quake code for lightmaps and other not-so-significant parts of the engine (mostly vector/plane math), but in its core Vavoom is still 2.5D Doom engine. no "full 3d map conversion" or something. at least no ...
- Thu Feb 06, 2020 9:18 am
- Forum: Scripting
- Topic: SwitchableDecoration... not switching
- Replies: 8
- Views: 550
Re: SwitchableDecoration... not switching
still, why do you need a "projectile" at all? do you need all those flags set (including "noblockmap")?
- Thu Feb 06, 2020 8:51 am
- Forum: Scripting
- Topic: SwitchableDecoration... not switching
- Replies: 8
- Views: 550
Re: SwitchableDecoration... not switching
this is "projectile" in effect. it is a "combo flag", and it sets "+noblockmap" flag. obviously, you cannot activate something that doesn't really exist in collision grid. do you even need a full projectile combo here? also note that you repeated "projectile" two times there, so make sure to remove ...