HNHacker News
TopNewBestAskShowJobs

cjdrake

1,015 karma · joined June 17, 2011

submissionscomments
cjdrake··on Python Logic Simulation Library
Nice documentation :).
cjdrake··on Python Logic Simulation Library
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.

cjdrake··on Python Logic Simulation Library
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.
cjdrake··on 'Like we were lesser humans': Gaza boys, men recall Israeli arrest, torture
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.
cjdrake··on NetworkX – Network Analysis in Python
The "N" in HN stands for "news". Is there anything new about networkx to talk about?
cjdrake··on U.S. students' math scores plunge in global education assessment
"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.

cjdrake··on The first two custom silicon chips designed by Microsoft for its cloud
You can buy the Ampere chips: https://www.adlinktech.com/en/ampere-based-solution
cjdrake··on Oracle Employee Helped Cocaine Dealers Hide $54M in Crypto, DOJ Says
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.
cjdrake··on The .ing top-level domain
Nobody owns f**.ing yet?
cjdrake··on Google's Sundar Pichai testifies in landmark monopoly trial
Thoughtful.
cjdrake··on California mandates VC firms to release investments' diversity information
Collection of information about "sexual orientation" seems like a textbook HR violation. How is anybody supposed to comply with this?
cjdrake··on Coming Soon: Changing Game Development
From the founder of GitHub.
cjdrake··on ARM64 Linux Workstation
Another Arm64 workstation you can buy today: https://www.ipi.wiki/products/ampere-altra-developer-platfor...
cjdrake··on C isn't a programming language anymore
Yes, it is.
cjdrake··on Computer science is a liberal arts degree
No, it's not.
cjdrake··on Academic Ideologues Are Corrupting STEM. The Silent Majority Must Fight Back
I was character-limited. It was either: "The Silent Liberal Majority Must Fight", or "The Silent Majority Must Fight Back".
cjdrake··on Google Drive bans distribution of “misleading content”
This seems like a bad idea.
cjdrake··on RISC-V is ready to take on Intel and AMD
The actual headline: "RISC-V Is On a Roll. Is It Ready to Take a Seat Alongside Intel, AMD, and Arm?"
cjdrake··on Letters from House members to cable providers [pdf]
This seems like a terrible idea.
cjdrake··on HBO Max taking on Netflix with human curation instead of relying on algorithms
This reminds me of some comments Quentin Tarantino once made about Netflix: https://www.youtube.com/watch?v=5NbxVZC9CJQ.

It wouldn't surprise me if we see more of a trend towards content curation that isn't based on AI recommendation engines, but rather humans who are either friends or celebrities/experts.

Some ideas: * My friends are watching this * Martin Scorsese's film influences * Cinemassacre Monster Madness watch list

cjdrake··on Why Fossils Are Mostly Male
The patriarchy strikes again.
cjdrake··on Claude Shannon’s method for formulating and solving problems
You forgot step 0: Be Claude Shannon :)
cjdrake··on Automated Verification of a Type-Safe Operating System [pdf]
Reminded me of this bit from Guido van Rossum's PyCon 2012 keynote:

https://youtu.be/EBRMq2Ioxsc?t=1374

"I know my operating system kernel will never be proven correct."

cjdrake··on MMIX 2009: A RISC computer for the third millennium (2011)
"Two bytes makes one wyde."

Can't remember where I heard/read that, but it's classic Knuth humor :).

cjdrake··on Show HN: Homemade 32-bit CPU and OS (2015) [video]
Cool demo. Did the author post the source anywhere? This would be a great reference for do-it-yourself-ers.
cjdrake··on Rust-Doom: A Doom renderer in Rust, with no unsafe code
What a great project! The author should do a talk about his experiences. I searched for something like this on YouTube, and only found this: https://www.youtube.com/watch?v=0_-TRvbo54Y.
cjdrake··on Announcing Rust 1.0
+1, Congratulations Rust Team :)
cjdrake··on Be Kind
Several well-known people in tech are notorious jerks. So I don't think being kind is a necessary condition for career success (though it can't hurt). But I suspect it's necessary to have a happy life.
cjdrake··on Scroll Back: The Theory and Practice of Cameras in Side-Scrollers
Great essay. Content is interesting, and the composition style is innovative.
cjdrake··on Practical Makefiles, by example
With all the news lately about Bazel, kind of refreshing to talk about this war-horse.

Consider: 1. Paul Graham recommends to "do things that don't scale". 2. Google designed Blaze when gmake started to scale badly.

Chances are, gmake plus some shell scripts and language-dependent build flows is all you really need. Worry about replacing it with something more scalable when you actually have that problem :).

Page 1 of 3Next →