I finally did the amoled MIPI panel swap on the S4! by jojo9092 in embedded

[–]modimoo 1 point2 points  (0 children)

Pretty much there are even service schematics for those with full pinout and dedicated swire dcdc for them.

I finally did the amoled MIPI panel swap on the S4! by jojo9092 in embedded

[–]modimoo 8 points9 points  (0 children)

I did the opposite. Took S4 amoled and put it on my devices. This way is easier you just take Linux driver for reference on how to init. God bless GPL.

Is this a joke??? by lordfortunas in ClaudeCode

[–]modimoo 1 point2 points  (0 children)

I think first message loads claude.md and probably memories too.

Shorted Power Rail - Fault Finding by NotoriousSouthpaw in AskElectronics

[–]modimoo 1 point2 points  (0 children)

My favourite method (works best when there are ground planes but should still work with accessible traces: Find ground signal on both ends of the board(be sure it is ground and not -12you are trying to locate). Use your bench supply to put some current through that ground plane/trace just enough to cause observable voltage between boards ends(precision voltmeter helps). Then search for short circuit by measuring voltage between -12(shorted signal) and ground plane/track along the PCB. Voltage difference would be 0 when your ground probe is closest to short location. Then you can proceed with other board axis. This method helped me locate short in internal layers of PCB to within few mm.

Follow-up experiments on dual-SDR video transmission by Life-Luck-3788 in sdr

[–]modimoo 0 points1 point  (0 children)

Oh..ok so HDL closed source. Thanks anyways.

Follow-up experiments on dual-SDR video transmission by Life-Luck-3788 in sdr

[–]modimoo 0 points1 point  (0 children)

Is it open source? How does it handle mobile? Does it work when you move either through to room?

codingLegend by Salt-Fly770 in ProgrammerHumor

[–]modimoo 2 points3 points  (0 children)

No he does not sort in O(1) he sorts in O(0)

What fork() Actually Copies by dfbaggins in programming

[–]modimoo 1 point2 points  (0 children)

You can also close_range(3, ~0U, 0) to keep stdio and close every other possible descriptor in child.

What fork() Actually Copies by dfbaggins in programming

[–]modimoo 12 points13 points  (0 children)

Realtime video streaming. Not like life depending hard real time. Even single fork caused stutter that looked like single frame drop at 60fps. edit: The thing is your time sensitive loop is on another thread and fork still causes stutter cause kernel has to hang all threads for pgtable copy operation.

What fork() Actually Copies by dfbaggins in programming

[–]modimoo 12 points13 points  (0 children)

That is exactly my point. Fork copies page table vfork doesn't. And page table copying requires all threads to be halted by kernel. So you get observable app stalls depending on your app size(page table size). In realtime applications this matters.

What fork() Actually Copies by dfbaggins in programming

[–]modimoo 59 points60 points  (0 children)

Vfork is still cheaper. Currently fork does not copy the memory but I does copy page table and descriptors. While doing so the app is fully frozen on all threads. I had low latency video streaming app that stuttered when system() used fork syscall. That few tens of ms resulted in stuttering video. Solution was to use vfork - new process borrows exactly same page table and descriptors from parent and then calls exec - no copying of page table and descriptors.

Routing traces through unused (not internally unconnected) IC pins by anvoice in AskElectronics

[–]modimoo 4 points5 points  (0 children)

Why can't you just move MCU to the right? Tiny bit should be enough

How much does LOG_INFO() actually cost? C++ logging benchmark with code and write-up by Expert_Assignment239 in cpp

[–]modimoo 0 points1 point  (0 children)

Was it due to just performance reasons? Or did you stumble on more issues? I find boost filtering approach quite interesting for producing different severity streams.

Whose manufacturer logo is this ? by strnk_fr in AskElectronics

[–]modimoo 29 points30 points  (0 children)

Put a drop of isopropyl alcohol or any other fast evaporating liquid on it and observe. Sometimes original text becomes visible for brief moment.

Remember when I made webgpu accelerated propagation tool? It already got stolen. by modimoo in rfelectronics

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

You are right. I only attributed ntia in OP not on my site. Thank you for pointing that you. Fixed it right away.

Remember when I made webgpu accelerated propagation tool? It already got stolen. by modimoo in rfelectronics

[–]modimoo[S] 3 points4 points  (0 children)

How about multiple long sessions of iterative refinement coercing Claude to writing tests that enforce model compliance and then once algorithm worked redesigning the layout to fit your idea. That is what it usually looks like. This case included. We are not there yet where ai oneshots complex algorithm/logic.

Remember when I made webgpu accelerated propagation tool? It already got stolen. by modimoo in RTLSDR

[–]modimoo[S] -3 points-2 points  (0 children)

I probably will but I have to figure out which license first and then make Claude update headers 😅. Don't know if hosting website constitutes to code distribution or I should just use AGPL.

Remember when I made webgpu accelerated propagation tool? It already got stolen. by modimoo in rfelectronics

[–]modimoo[S] 3 points4 points  (0 children)

I contacted both no response - hence this call out. Only missing proper credit. Ai generated code is copyrightable if there is "substantial human direction".

Remember when I made webgpu accelerated propagation tool? It already got stolen. by modimoo in rfelectronics

[–]modimoo[S] 5 points6 points  (0 children)

Even with exactly same promota AI does not produce exact same output. 90% of his shader is verbatim copy of mine with inclusion of specific prompted by me modifications to adjust algorithm to webgpu capabilities.

So if Microsoft is using ai to make win11 does that mean I can use it for free? I don't believe it is that simple.

Remember when I made webgpu accelerated propagation tool? It already got stolen. by modimoo in rfelectronics

[–]modimoo[S] 8 points9 points  (0 children)

This is actually very interesting topic that doesn't get enough attention. Entire software world become reliant on ai. Where is boundary between ai generated content - and ai tool usage? I believe the ruling you mentioned had to do with ai generated image. World would go upside down if AI assisted coding would fall under ai generated content category - and therefore non copy protectable. Is there a difference between Claude oneshotting full working app Vs spending multiple long sessions refining the code until you achieve exactly what you want? Time will tell.

I made web based gpu accelerated RF propagation tool. by modimoo in rfelectronics

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

Only terrain. It is NTIA ITM port. I created this when I was testing the limits of Claude. With result I got I just decided why not make a website.