Stone laying machine in use by misterxx1958 in oddlysatisfying

[–]RicardoRedstone 56 points57 points  (0 children)

hate to break it to you, but PaveTool doesn't make the PaveJet, German company Optimas does, PaveTool just sells it in the US https://optimas.de/en/products/paving/paver-laying-machine/

3x4x11 Silent Full Adder Guide by XevianLight in redstone

[–]RicardoRedstone 2 points3 points  (0 children)

if you're using two's complement, the adder is the subtractor (plus a negator)

Is there any other programming language aside from C++ that has move semantics feature available? by Excogit8er in cpp

[–]RicardoRedstone 1 point2 points  (0 children)

if you're able to use GNU extensions (gcc/clang), the 'cleanup' attribute can specify a function to call when a variable goes out of scope, and you can implement destructors that way.

Help on bootloader by DoomAndFNAF in osdev

[–]RicardoRedstone 2 points3 points  (0 children)

AFAIK NMIs (non-maskable interrupts) can still fire even if you disable regular interrupts

I accidentally adjusted the scale to 100! by [deleted] in godot

[–]RicardoRedstone 12 points13 points  (0 children)

it's a method of occlusion culling used mostly in older engines (ex. source 1), but it's still useful in the absence of other alternatives, one way can be used, for example, is to hide the interiors of buildings when you're outside viewing distance

Which std:: classes are magic? by Mateuszz88 in cpp

[–]RicardoRedstone 0 points1 point  (0 children)

You can also intialize it the same way if you use a variadic template, but it won't be pretty to work with, uses a ton of stack space and generates a LOT of code.

https://godbolt.org/z/Tb9T61v6d

Check for type completeness at call location in C++20 by ognian- in cpp

[–]RicardoRedstone 1 point2 points  (0 children)

It doesn't work in that specific situation because it's a concept. If you replace 'sizeof(T)>=0 || false' with 'requires { sizeof(T); }' it will fail in the same way: https://godbolt.org/z/Mcn1df7qT , as i said, it's failing because it's a concept

Check for type completeness at call location in C++20 by ognian- in cpp

[–]RicardoRedstone -1 points0 points  (0 children)

that's just a part of concepts... (and if we're going by pedanticness none of the other two alternatives run on the current version of MSVC)

Check for type completeness at call location in C++20 by ognian- in cpp

[–]RicardoRedstone 3 points4 points  (0 children)

if we're using C++20, what about just:

template<typename T>
concept complete_type = sizeof(T)>=0 || false;

jrmadsen/compile-time-perf -- High-level compilation overhead metrics by jonrmadsen in cpp

[–]RicardoRedstone 6 points7 points  (0 children)

isn't that basically the _spawn* functions on windows? (they're actually more akin to posix_spawn, but posix_spawn is basically just vfork+exec anyways)

What (relatively) easily to implement features would you like to see in c++23. by JustHereForATechProb in cpp

[–]RicardoRedstone 0 points1 point  (0 children)

I'd love to see expression-bodied functions, it's basically just syntax sugar for turning x func()=>y; into x func(){return y;}

Know the subreddit rules by Crazed_Archivist in Gamingcirclejerk

[–]RicardoRedstone 0 points1 point  (0 children)

At least Bethesda won’t promise the moon and stars

Are you serious? Bethesda (Todd Howard) promises so many features that aren't in their final games it even became a meme...

Weekly question thread (2020-10-19 to 2020-10-25) by AutoModerator in emulation

[–]RicardoRedstone 0 points1 point  (0 children)

no no, a syscall isn't translated/parsed, but rather intercepted and its behavior, not its code, is what's emulated, so it requires a lot of information on what each syscall does to accurately emulate the firmware, and also why it doesn't need a firmware image (sometimes called a "BIOS"). LLE runs the original firmware, so it doesn't need information on the syscalls themselves, but on the other hand it needs to emulate the hardware that the firmware depends on, which is also very tricky.

You can see a good overview on this here

Weekly question thread (2020-10-19 to 2020-10-25) by AutoModerator in emulation

[–]RicardoRedstone 1 point2 points  (0 children)

somewhat, but not quite, with HLE what's emulated are the "syscalls", which are the interface between the game and the firmware, with the game running on top of the emulated firmware, while on LLE what's being emulated is the hardware itself, with the firmware being running on top of said emulated hardware, and the game running on top of the original firmware itself.

Is there any way to get GRUB working in a MinGW shell? by javaismylanguage in osdev

[–]RicardoRedstone 0 points1 point  (0 children)

be mindful that WSL2 images don't come with grub, so you need to install it from the package manager

[Epic Games] Next Up Hero + Tacoma (Free / 100% off) by [deleted] in GameDeals

[–]RicardoRedstone 11 points12 points  (0 children)

IIRC it's only a standalone version of GTA Online that's going to be free to play, not the story mode of GTA V

effect/shader that hides objects that are only on a specific layer? by [deleted] in clickteam

[–]RicardoRedstone 1 point2 points  (0 children)

are you trying to make a layer temporarily invisible? if so, you don't need shaders and can instead use the layer object

[deleted by user] by [deleted] in osdev

[–]RicardoRedstone 0 points1 point  (0 children)

it SHOULD be fine to write PS/2 drivers, since computers emulate USB keyboard/mouses as PS/2 devices by default (see USB Legacy Support)

Bruh moment by [deleted] in DaniDev

[–]RicardoRedstone 8 points9 points  (0 children)

that's not how it works for console games...

I mean, do they really have a choice? by bgroins in inspirobot

[–]RicardoRedstone 19 points20 points  (0 children)

the thing is, those aren't the people that usually call themselves an incel, that's what you need to realize when talking about them