News for hackers. Stuff that matters.

cjdrake

Re:Python Logic Simulation Library on Monday November 11, 2024 @11:27AM (#42108309)
Nice documentation :).
Re:Python Logic Simulation Library on Saturday November 09, 2024 @12:07AM (#42092662)
As mentioned in another answer, deep down there's not much difference. Personally, I find async/await more elegant for concurrent algorithm design (e.g. https://github.com/cjdrake/seqlogic/blob/main/ipynb/dining_p...).

But control threads like a clock/reset aren't the main idea. Look at the example RISC V core for the design style we're attempting (https://github.com/cjdrake/seqlogic/tree/main/tests/riscv/co...). No async/await or yields anywhere. It's described in a structural way, and a couple layers of Python hide the details.

Re:Python Logic Simulation Library on Friday November 08, 2024 @11:51PM (#42092614)
Correct in this case. In src/seqlogic/sim.py there are four usages of 'yield' keyword that suspend the current coroutine and return control to the event loop.
Slightly related, I wonder what opportunity cost the Israeli tech sector will incur from this conflict. Instead of developing their startups, lots of young people are busy with warfare at the moment.
Re:NetworkX – Network Analysis in Python on Friday December 08, 2023 @11:52PM (#38578716)
The "N" in HN stands for "news". Is there anything new about networkx to talk about?
"31 countries and economies maintained or improved upon their 2018 math scores, including Switzerland and Japan. Countries that did so shared some common characteristics, including shorter school closures during the pandemic and fewer impediments to remote learning, per the report."

Who could have predicted that lockdowns and Zoom class would have a negative impact on education? I'm shocked.

Came here to post this. The headline is yellow journalism. There's no reason to mention Oracle. Forbes used to have a strong brand. Seems like they print a lot of trash these days.
Re:Introduc ing the .ing top-level domain on Wednesday November 01, 2023 @12:19PM (#38100493)
Nobody owns f**.ing yet?
Thoughtful.
Collection of information about "sexual orientation" seems like a textbook HR violation. How is anybody supposed to comply with this?
Re:Coming Soon: Changing Game Development on Friday September 15, 2023 @02:26PM (#37527238)
From the founder of GitHub.

Older »