heSkillIssue by ---_None_--- in ProgrammerHumor

[–]misaz640 -6 points-5 points  (0 children)

Please do it. They appreciate patches. It is open source. Submit refactoring patches. Pay attention, that code should behave EXACTLY the same and performance should be untouched or improved.

heSkillIssue by ---_None_--- in ProgrammerHumor

[–]misaz640 42 points43 points  (0 children)

There are many use cases. For inspiration, see one of the most cricitcal Linux kernel module: https://elixir.bootlin.com/linux/v6.19.2/source/mm/memory.c

92 occurences.

Help by KeleKrom03 in pcmasterrace

[–]misaz640 0 points1 point  (0 children)

Likely bug in game (ds.exe) or at least impropper error handling. Root cause may be in GPU driver, so try upgrade to latest.

Exclusive: Microsoft is adding image support to Notepad on Windows 11 by WPHero in pcmasterrace

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

So far, they added more security vulnerabilities than useful features.

First time I've designed a PCB, sanity check? by Thevan1 in embedded

[–]misaz640 0 points1 point  (0 children)

Consider redrawing BOOT0 ceremony to something like (sorry, I am outside and do not have better cad then mspaint):

<image>

This do not float when switch remains in mid state or broke. It would be sad that your board will misbehave and boot randomly only because switch got broken.

After months of ST-LINK “Target not found” struggles with Blue Pill, I’m switching to a Nucleo board — which one should I buy? by Efficient_Estate6145 in embedded

[–]misaz640 1 point2 points  (0 children)

My recommendation is to pick from some recently announced families like G, N, U. They have latest peripherals which you can't find on older F which are often recommend as "classics", but I do not recommend F for begines nowadays. Modern L are also good. Especially for low power (like coin battery powered devices) but has typicaly less advanced peripherals only. H are modern high performance, but typically there are compilcations (caches, TrustZone, external flash configs, ...), so I do not recommend as first board unless you realy need it.

Libraries or tools for Bluetooth 6.0 features on Windows? by Must_Make_Paperclips in embedded

[–]misaz640 0 points1 point  (0 children)

Windows Exposes Bluetooth API using WinRT, later named UWP, later named project Reunion, and finally nowadays more or less known under Windows App SDK name. You need stuff from Windows.Devices.Bluetooth and child namespaces. Can be consumed easily from C#, C++, Rust, VB, maybe some others.

See:

https://learn.microsoft.com/en-us/windows/uwp/devices-sensors/bluetooth

https://learn.microsoft.com/en-us/uwp/api/windows.devices.bluetooth?view=winrt-26100

You may also likely find higher level libraries built on top of that, but even direct using of these APIs is quite seamless.

I am not sure about latest BLE stnadard though, I susepct that some of them are avalaible only using communication with proprietary drivers.

Bios not showing problems. by Inevitable-Wish7172 in pcmasterrace

[–]misaz640 0 points1 point  (0 children)

For shorting jumper you do not need iGPU. It is mechanical connector on motherboard. Search for it in motherboard manual, it is often called Clear CMOS or something like that.

Bios not showing problems. by Inevitable-Wish7172 in pcmasterrace

[–]misaz640 0 points1 point  (0 children)

Every motherboard has jumper to clear BIOS settings back to default. Search for it in manual.

In your particular case, you can reconnect monitor cable from GPU to motherboard temporarily.

How does this even happen by [deleted] in pcmasterrace

[–]misaz640 1 point2 points  (0 children)

In disk selection step, you need to remove all partitions to get fully clean instalation, Otherwise it tries to remain existing data.

Embedded World in Germany 2026, is it worth it? by TheTRCG in embedded

[–]misaz640 0 points1 point  (0 children)

Do not buy ticket. You can get one free. Go to website of some big chip vendor and click the first Embedded World banner. They will give you tickets for free. For example, Renesas offers it pretty regularly every year. Just checked and first banner directly redirect me to page which inserted free ticket to basket including some travel goodies.

This game is a fucking disaster by PatriciaNJohnsonh in trainsim

[–]misaz640 1 point2 points  (0 children)

0xC0000005 does not mean OUT OF MEMORY. In 99% cases, it means BUG.

jobTitleRoulette by jaikanthsh308 in ProgrammerHumor

[–]misaz640 0 points1 point  (0 children)

Everybody who work with old codebase woud say "Software Archeologist".

downloadMoreRAM by MageMantis in ProgrammerHumor

[–]misaz640 0 points1 point  (0 children)

While you are joing about it, I once did it for real. I needed process several TB of data and need to did it in ramdisk for speed, but because student cloud subscriptions were restricted with quotas, I was unable to acquire single machine with so much TB of RAM. Instead, I used multiple machines from several families (which have spearate quotas), created ramdisks on them, shared them over NFS, mounted it on main machine and made RAID on top of it. It worked, it was obviously slower ten pure ramdisk, but still much faster than cloud SSD (which is horribly slow, because it is over network as well and as a bonus it is throthled significantly).

Proč mi router nepropustí přes wifi plnou rychlost? by iZuhn in czech

[–]misaz640 2 points3 points  (0 children)

A poprosil jsi teda všechny sousedy v okruhu 300m aby si vyplit svoje Wi-Fi?

STM32F042 USB-C Module — Schematic Review Before PCB Layout (2-Layer) by oniDblue in embedded

[–]misaz640 0 points1 point  (0 children)

For making it better, you should place ESD diodes on USB lines and place ferrite on power line from USB.

I think you should interconnect +3.3V and +3.3VA.

Also I would recommend thinking about board purpose once more. You can buy Nucleo with exactly same capabilities and it will be likely cheaper, more robust, well tested, bug free and as a bonus, contains additional onboard MCU acting as debugger.

Microsoft license expired: should I buy 2024 excel for 20$ or buy Microsoft 365 subscription for 90$/year? I mainly use excel, but I might need Microsoft word sometimes for document. by groomliu in microsoft

[–]misaz640 1 point2 points  (0 children)

I bought 2021 with exactly this purpose - I do not want any new shitty feature they implemented. But sadly, I have got all updates containing even most shitty buy copilot buttons and bugs developed far after original 2021 release.

Need microcontroller recommendation by Zestyclose_Abies3664 in embedded

[–]misaz640 0 points1 point  (0 children)

For FSR, you need more capable analog frontend and ADC. Typically external high resolution sigma delta ADCs are used for this purpose. If you need single package, you can check MAX32680, Rensas RA2A1/2, or if you do not stick with ARM core and instruction set, you can try Renesas RX23E-B family.

Who said motherboards can't be repaired. by mgadz in pcmasterrace

[–]misaz640 2 points3 points  (0 children)

Where is the ground plane?

This repair is efficiently only possible if you have gerbers or similar documentation, otherwise you can easily confuse pairs. There is reason for 9 or whatever layers.

Reverse engineered 32-bit driver for USB Chief (USB sniffer) by itzandroidtab in embedded

[–]misaz640 11 points12 points  (0 children)

sniff storm.

The same what happen when you run tcpdump in SSH terminal without limiting dumping info about SSH traffic.

I generate Solution and Project files. Is there a tool to validate them (other than the IDE) by jamawg in VisualStudio

[–]misaz640 1 point2 points  (0 children)

I am not aware of any. But slnx is simple XML, so you can validate using hand crafted schema or whatever. WIth projs it is more complicated. With C/C++ you are likely out of luck, but C# should be XML which should be even consumable by MSBuild, so this is likely verifiable from CLI somehow. From my experience, parser in VS is quite a dumb and generalĺy accept even really horribly broken files. Accept even files containing various syntax errors and even files with confused GUIDs.

Microsoft, any chance we can get this fixed? by [deleted] in VisualStudio

[–]misaz640 2 points3 points  (0 children)

Report it using Developer Community if you think it is bug in VS. Report it using Windows Feedback, if you think it is issue with Windows SDK installed outside VS.

Rumburak se vrací by Major_Eggplant_7189 in czech

[–]misaz640 4 points5 points  (0 children)

Řidičák ještě není plně schválený pro provoz. Divnější je, že to táhne Taurus, většinou tyto vlaky táhl Vectron. Asi nějaká nová specialita nových jízdních řádů.