News for hackers. Stuff that matters.

pandaxtc

Re:Venezuela's capital hit by explosions, smoke seen on Saturday January 03, 2026 @04:34PM (#46481845)
I completely agree with you on all points. It's terrifying to see these things you've described playing out.
Sorry if I've got this wrong, but wouldn't the first example behave the same way in Javascript as well? The function parent() "awaits" the completion of child(), so it wouldn't be possible to interleave the print statements.

The example from this StackOverflow question might be a better demonstration: https://stackoverflow.com/q/63455683

Re:Suno Studio, a Generative AI DAW on Friday September 26, 2025 @06:41PM (#45391762)
> as a consumer I could care less if you put your soul and years into producing art vs the one I can get a lot of today and now especially when there is virtually no difference in quality

as a fellow consumer I care a lot actually

Re:Reservoir Sampling on Thursday May 08, 2025 @02:41PM (#43929746)
This is awesome, I loved the interactivity!
Re:When machine learning tells the wrong story on Saturday November 09, 2024 @08:15PM (#42097949)
This article is awesome, your writing is super approachable and the interactive demos are really cool. I also appreciate the background on how you got into doing this sort of thing.
Re:Content Injection Attack on GitHub on Saturday June 08, 2024 @04:05AM (#40616080)
I think the \unicode CSS injection used here was reported to the MathJax library a few months ago - https://github.com/mathjax/MathJax/issues/3129
This isn't true, even if you define your own types/classes you still can't add them together willy nilly unless you (or a superclass) explicitly defined an addition operator. The Python language itself will never implicitly coerce a type for you, not even for floating point and integer addition. [0]

[0] https://www.pythonmorsels.com/type-coercion/

This is something I think is overlooked very often. I feel like a constant narrative I hear is that censoring media like this is a new-fangled concept when in reality this has been standard practice forever.