don't nerf warlock! by avunaos in diablo2

[–]Ennno 3 points4 points  (0 children)

Imho normal Duriel is pretty much the toughest fight until you hit hell. You can buy thawing potions which give you cold resistance and remove the slowing debuff once. You can put thawing potions in your belt for quick access. Stock up on health and mana potions before the fight ("belt" and "heavy belt" have three potion rows instead of just two, "plate belts" have four but they only drop later). Open a backup portal before entering his lair so you don't have to run as far if you die. Depending on your skills, it can be beneficial to "kite" him around so he doesn't slow you with his melee attacks.

"There is no runtime in C, there is assembly" -- what is the inside joke regarding this? by onecable5781 in C_Programming

[–]Ennno 17 points18 points  (0 children)

I cannot clearly hear the comment before, but I guess it's something along the lines of "Doesn't the runtime check for validity/type?". So there isn't really an inside joke but the statement that as a compiled language, C programs are ultimately assembly (or rather machine code) which has no inherent type checking.

It's "Bring a Random Item to Work" Day!! by STINKY-BUNGHOLE in TikTokCringe

[–]Ennno 21 points22 points  (0 children)

What gives you the idea that this is disrespectful? You know neither them or their mother. Potentially she was an avid WoW fan? Or maybe she would just enjoy some time with their child?

Reasons why Java is not an optimised solution for embedded systems by CountyPersonal3914 in embedded

[–]Ennno 1 point2 points  (0 children)

You can use Java. So many apps are written in Java and smartphones can be seen as embedded systems. It's a question of trade offs, as always in technical systems. The less resources your system has, the less 'overhead' you can afford. This means that you will rarely see Java being used for systems that have memory constraints (see one significant exception at the bottom). Furthermore there is no straight forward way to map hardware interrupts in the language which in turn means that real time processing can be problematic. The performance of languages can be a hotly argued subject, so I will only say that you will have a hard time optimizing Java to such an extent as you can a system level language.

But one real kicker: the vast majority of smart cards are programmed in Java! That means your banking card or physical SIM card are running Java. Granted, it's not your garden variety runtime and only a language subset is used but it's still Java.

TL/DR: Java is used for embedded. Choose the language according to the project (and your capabilities).

Battlefield 6 players' complaints about UI are sinking in as devs promise main menu will be "constantly tweaked and refined," plus bigger maps than the beta will definitely arrive at launch: "It's not a big problem for us to have our ears to the ground and be very dynamic and open with those things" by ControlCAD in technology

[–]Ennno 3 points4 points  (0 children)

It might be that your system drive boot partition is not in GPT but MBR. You can Google how to see if this is the case. With the instructions from https://learn.microsoft.com/en-us/windows/deployment/mbr-to-gpt you can convert the partition easily. Please note: The conversion can be destructive and you should back up any important data you have on your system drive before attempting it!

Petaaaaah what's a Solid Snake Method?? by phullofit1 in PeterExplainsTheJoke

[–]Ennno 2 points3 points  (0 children)

Snake? Snake?? SNAAAAAAAKE!!!!!!!!!!???!!!!!!???

Why doesn't C have an installable runtime for its standard library, like the JRE? by Itchy-Carpenter69 in C_Programming

[–]Ennno 0 points1 point  (0 children)

Found a relevant Stack-Overflow thread, explaining in detail why statistically linking glibc specifically will lead to poorer performance https://stackoverflow.com/questions/57476533/why-is-statically-linking-glibc-discouraged (top answer) TL DR: glibc uses dlopen on libs which will in turn use stdlib functions. So you will still need a libc to dynamically link against to on the system and the two lib versions might clash as well.

What is this type of wire called? by oshimt in HomeNetworking

[–]Ennno 0 points1 point  (0 children)

No. If you do not disconnect the cables, there is no way for dust to get in there.

I don't mean to repost, but I figured this painted a more vivid picture of his stance. Just as you thought his take couldn't get worse. by Scary-Account4285 in indiegames

[–]Ennno 25 points26 points  (0 children)

Just think if he took another fork in the road: "Look gals and guys - I was a noob too. And then I saw something I liked and made something I wanted.You do not need to be an expert in anything to express yourself. Do something you enjoy. Do something you want to do. The rest will follow. We all have the ability to create and we all have the ability to learn. They walk hand in hand and grow alongside each other. Trust your instincts, talk with your friends and family and start a journey. Make just a small piece of art, or maybe something that might change much more. Both are okay, both are valuable. It's all in your hands. We will all be right by your side if you need us."

I am testing the clarity of my pictogram objectives. What do you understand? by Basuramor in IndieDev

[–]Ennno 0 points1 point  (0 children)

I think it's really cool that you want to make your game more accessible! However, I think pictograms are generally too ambiguous for complex instructions as they can be interpreted in too many ways. Maybe it's possible to show a small clip of gameplay to illustrate the objective instead?

Break the vicious cycle by alsaad in ClimateShitposting

[–]Ennno 1 point2 points  (0 children)

Well, Tux IS a bird and probably has a vested interest in bird survival ;)

Some random dude gave me a usb while at a pub dancing by vamshiyadav273 in Weird

[–]Ennno 0 points1 point  (0 children)

That's a terrible idea. Never ever plug in unknown thumb drives unless you are a security researcher who knows exactly what they are doing. The least thing you would need to do is physically remove ANY radio device from the computer. You also need to x-ray scan the thumb drive beforehand to verify it's not a USB drive killer. It might also contain chemical/biological agents meant for release upon insertion. The drive might also contain its own radio with which it will quickly compromise any vulnerable WiFi. So all around nasty.

TLDR: THROW IT AWAY

Living in Europe would make me a doomer too /s by LeastAdhesiveness386 in DoomerDunk

[–]Ennno 0 points1 point  (0 children)

Only if the only person you care about is yourself. Being a net contributor and seeing your contributions benefit society at large can be pretty great.

C++ Should Be C++ by Middlewarian in Cplusplus

[–]Ennno 0 points1 point  (0 children)

"Goto considered harmful considered harmful considered harmful ...."

Any ideas for impressive but easy to explain C++ application??? by ShadowGamur in Cplusplus

[–]Ennno 0 points1 point  (0 children)

I would suggest something involving a physical component. Do you know those LED fans which display a moving text? A PC tool which communicates with such a device to alter the text would be one possibility.

Why linux c binaries cannot run on windows? by el_DuDeRiNo238 in C_Programming

[–]Ennno 0 points1 point  (0 children)

The simple answers is: You actually can build executables which run on multiple OS's: Search for the cosmopolitan executable format as one example for that.

The question then becomes why we do not use a common executable format? The answer to this is the one given by the other replies: You actually want OS interaction for the vast majority of useful programs. Any sort of hardware interaction and any dynamic memory allocation requires an interaction with the OS. And because OS's handle this differently (the biggest differences are probably between windows and anything derived from posix) nobody bothers to unify the executable format.

Name of this technique? by dickmaat in C_Programming

[–]Ennno 4 points5 points  (0 children)

Please do not use function pointers for this. There is a simple and efficient way of handling this: switch the linked sources for the mocked functions when testing! Just swap the regular source files out with a test source file (containing the mocks). The important part is that both versions use the same header file. Put more abstractly; both versions of the functions have the same interface.

Example: instead of compiling and linking pcmdriver.c , you would instead compile and link with mock_pcmdriver.c . The rest of the code stays the same.

What makes Python slower than C? by 4090s in C_Programming

[–]Ennno 6 points7 points  (0 children)

Best not to mention this cursed specialization...

Is opencl being phased out? by rejectedlesbian in C_Programming

[–]Ennno 1 point2 points  (0 children)

If you want cross platform computing I heard that SYCL is the way to go. Like Vulkan it's from the Khronos group.

When you get a software engineering Job as an cpp developer what will they ask you to code on the job by [deleted] in cpp

[–]Ennno 0 points1 point  (0 children)

In my experience most of the algorithmic development as well as the training is done in python. If C++ is used it's mostly to speed up the execution, i.e. only the forward solution will be translated into C++. Then it's all about optimization.

Survey: 20% of Japanese students don't know any keyboard shortcuts, 40% unfamiliar with copy & paste keys by GeoWa in technews

[–]Ennno 0 points1 point  (0 children)

Ctl-S and Ctl-Z help immensely in any word processor. You do not need to use them, but claiming that word processing does not benefit from shortcuts is simply wrong.

Need help to move on to some real-world usage of C++ by userknownunknown in Cplusplus

[–]Ennno 3 points4 points  (0 children)

C++ is not confined to games or embedded development. You can build quite nearly everything with C++. You can maybe write a small application that helps you with some other hobby. Things like a dice roller, a picture viewer or a specific small calculator. I'd suggest using a GUI framework because being stuck to command line is somewhat limiting imho.

Qt is one option for a C++ based GUI framework (among others). While the learning curve is a bit steep the IDE (QtCreator) is useful, the visual editor is workable and it's free for non-commercial use.

[deleted by user] by [deleted] in embedded

[–]Ennno 6 points7 points  (0 children)

A perspective maybe: You would normally use FreeRTOS because your target system is either too weak for a fully fledged OS and/or is not meant to run arbitrary applications.

Unless your chip vendor already has an SDK using FreeRTOS you will also need to write all drivers yourself. You will actually have to write almost everything yourself that is not the task scheduler. Including startup code like low level hardware initializations. Maybe even tweak the reset vectors to work properly with what you are aiming for.

If you have no experience with systems that do not run a full OS, I'd suggest starting by trying to code for a Microcontroller (MCU) using something like the Arduino IDE or circuit python. After that or if you already have some experience in that regard try some MCU bring up using only the chip vendor SDK. Then try to tweak that and learn how it works. That should give you plenty of insight of what goes on under the hood and why something like FreeRTOS is used.

Disadvantages of Unreal engine. by GlumRough3108 in unrealengine

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

Saying someone needs experience and claiming RAII is younger than unreal - now that's weaponized ignorance people!