<<  >> (p.511)
    Author Topic: Bitcoin puzzle transaction ~32 BTC prize to who solves it  (Read 323455 times)
    kTimesG
    Full Member
    ***
    Offline Offline

    Activity: 546
    Merit: 166


    View Profile
    May 16, 2025, 08:51:31 PM
     #10201

    Do not put any faith in AI generated code. For example AI will never guess that filling bloomfilter with multiple threads requires no mutex locks. Since the resulting files from one thread and multiple threads will be binary equal.

    Can you explain why a mutex is not required? What if 2 threads need to update different bits of the same byte? Sounds like a race condition to me.

    What he said is technical misleading. A mutex might not strictly be necessary if you use atomic operations, but you need some synchronization, otherwise its data race and therefore undefined behaviour in C++/C.

    I see it as an highly experienced coder's easter egg - "wow! let's remove the sync, results were identical" and then someone scrambling their head for a week, on why the filter's returning a false negative.

    People should be very careful on what they run. Or about whatever shit is thrown in this thread, painted as truth, honestly. That's why it's better to watch in silence.

    Off the grid, training pigeons to broadcast signed messages.
Page 510
Viewing Page: 511