frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: What are the word games do you play everyday?

1•gogo61•48s ago•0 comments

Show HN: Paper Arena – A social trading feed where only AI agents can post

https://paperinvest.io/arena
1•andrenorman•2m ago•0 comments

TOSTracker – The AI Training Asymmetry

https://tostracker.app/analysis/ai-training
1•tldrthelaw•6m ago•0 comments

The Devil Inside GitHub

https://blog.melashri.net/micro/github-devil/
2•elashri•6m ago•0 comments

Show HN: Distill – Migrate LLM agents from expensive to cheap models

https://github.com/ricardomoratomateos/distill
1•ricardomorato•6m ago•0 comments

Show HN: Sigma Runtime – Maintaining 100% Fact Integrity over 120 LLM Cycles

https://github.com/sigmastratum/documentation/tree/main/sigma-runtime/SR-053
1•teugent•6m ago•0 comments

Make a local open-source AI chatbot with access to Fedora documentation

https://fedoramagazine.org/how-to-make-a-local-open-source-ai-chatbot-who-has-access-to-fedora-do...
1•jadedtuna•8m ago•0 comments

Introduce the Vouch/Denouncement Contribution Model by Mitchellh

https://github.com/ghostty-org/ghostty/pull/10559
1•samtrack2019•8m ago•0 comments

Software Factories and the Agentic Moment

https://factory.strongdm.ai/
1•mellosouls•9m ago•1 comments

The Neuroscience Behind Nutrition for Developers and Founders

https://comuniq.xyz/post?t=797
1•01-_-•9m ago•0 comments

Bang bang he murdered math {the musical } (2024)

https://taylor.town/bang-bang
1•surprisetalk•9m ago•0 comments

A Night Without the Nerds – Claude Opus 4.6, Field-Tested

https://konfuzio.com/en/a-night-without-the-nerds-claude-opus-4-6-in-the-field-test/
1•konfuzio•11m ago•0 comments

Could ionospheric disturbances influence earthquakes?

https://www.kyoto-u.ac.jp/en/research-news/2026-02-06-0
2•geox•13m ago•1 comments

SpaceX's next astronaut launch for NASA is officially on for Feb. 11 as FAA clea

https://www.space.com/space-exploration/launches-spacecraft/spacexs-next-astronaut-launch-for-nas...
1•bookmtn•14m ago•0 comments

Show HN: One-click AI employee with its own cloud desktop

https://cloudbot-ai.com
1•fainir•16m ago•0 comments

Show HN: Poddley – Search podcasts by who's speaking

https://poddley.com
1•onesandofgrain•17m ago•0 comments

Same Surface, Different Weight

https://www.robpanico.com/articles/display/?entry_short=same-surface-different-weight
1•retrocog•19m ago•0 comments

The Rise of Spec Driven Development

https://www.dbreunig.com/2026/02/06/the-rise-of-spec-driven-development.html
2•Brajeshwar•24m ago•0 comments

The first good Raspberry Pi Laptop

https://www.jeffgeerling.com/blog/2026/the-first-good-raspberry-pi-laptop/
3•Brajeshwar•24m ago•0 comments

Seas to Rise Around the World – But Not in Greenland

https://e360.yale.edu/digest/greenland-sea-levels-fall
2•Brajeshwar•24m ago•0 comments

Will Future Generations Think We're Gross?

https://chillphysicsenjoyer.substack.com/p/will-future-generations-think-were
1•crescit_eundo•27m ago•1 comments

State Department will delete Xitter posts from before Trump returned to office

https://www.npr.org/2026/02/07/nx-s1-5704785/state-department-trump-posts-x
2•righthand•30m ago•1 comments

Show HN: Verifiable server roundtrip demo for a decision interruption system

https://github.com/veeduzyl-hue/decision-assistant-roundtrip-demo
1•veeduzyl•31m ago•0 comments

Impl Rust – Avro IDL Tool in Rust via Antlr

https://www.youtube.com/watch?v=vmKvw73V394
1•todsacerdoti•31m ago•0 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
3•vinhnx•32m ago•0 comments

minikeyvalue

https://github.com/commaai/minikeyvalue/tree/prod
3•tosh•37m ago•0 comments

Neomacs: GPU-accelerated Emacs with inline video, WebKit, and terminal via wgpu

https://github.com/eval-exec/neomacs
1•evalexec•42m ago•0 comments

Show HN: Moli P2P – An ephemeral, serverless image gallery (Rust and WebRTC)

https://moli-green.is/
2•ShinyaKoyano•46m ago•1 comments

How I grow my X presence?

https://www.reddit.com/r/GrowthHacking/s/UEc8pAl61b
2•m00dy•47m ago•0 comments

What's the cost of the most expensive Super Bowl ad slot?

https://ballparkguess.com/?id=5b98b1d3-5887-47b9-8a92-43be2ced674b
1•bkls•48m ago•0 comments
Open in hackernews

Lost Chapter of Automate the Boring Stuff: Audio, Video, and Webcams in Python

https://inventwithpython.com/blog/lost-av-chapter.html
217•AlSweigart•6mo ago

Comments

alabhyajindal•6mo ago
I learned Python from your Udemy course of the same name. Congrats on the new edition of the book!
AlSweigart•6mo ago
I know I've been saying this for years, but I seriously will get around to updating the videos in the Udemy course this year.
bix6•6mo ago
One of my favorite programming books of all times. Cheers Al!
geophph•6mo ago
And a transit nerd supporter!
AlSweigart•6mo ago
Hello, this is Al. Ha ha, I'm always surprised when people spot my name in supporter credits. Here's a (very out of date) web page of other folks I support: https://alsweigart.com/patreon.html
cortical_iv•6mo ago
I'm curious why you didn't end up including this material?
globalnode•6mo ago
When I saw yt-dlp I thought "risky", wasn't there was a lot of complaining from YT back in the day about this programs predecessor?
AlSweigart•6mo ago
Page count. Automate the Boring Stuff with Python is supposed to be a beginner book for people with no coding experience, but it's almost 600 pages. The biggest hurdle to coding isn't being "smart" enough, but rather getting over the intimidation factor.

The editor recommended we cut this chapter. It made me realize that even though I work with multimedia stuff all the time, this isn't really something most office workers do (at least, not at the scale where you'd want to write Python scripts).

A lot of teaching people to code is hiding details so you don't fire hose them with information they don't need yet. So many software nerds don't get this, and they're excited about all these cool advanced techniques without realizing that beginners don't need to know about recursion or operator overloading. (I completely skip OOP in the book.)

cortical_iv•6mo ago
Makes sense: OpenCV is amazing, but has many rabbit holes and pitfalls. Thanks for posting the draft for us to peruse!
analog31•6mo ago
This is fantastic. I've gotten so much out of cv2 and Python, and just a perusal of the page suggests that there's lots more to learn.
xbmcuser•6mo ago
I was never able to get my head around programing despite my interest over the years. But LLM and python scripts in the last 3-4 years have changed my life.
ymck•6mo ago
What thing have you found most interesting or impactful for you?
Simon_O_Rourke•6mo ago
Love it, that's where I direct all our new hires who want to pick up the basics of Python. I'll be reading this chapter myself this weekend too.
fireattack•6mo ago
> playsound

This library is unfortunately effectively abandoned -- it hasn’t received any updates in over four years, and its latest version doesn’t work at all: https://github.com/TaylorSMarks/playsound/issues/101

(A workaround exists: downgrading to version 1.2.2, but that comes with its own issues.)

The last time I experimented with audio in Python, I was surprised by how lacking its multimedia libraries are.

For example, when I needed to read audio files as data, I tried `SoundFile`, `librosa` (a wrapper around `SoundFile` or `audioread`), and `pydub`, and none of them was particularly satisfying or has seen much active development lately.

If you need to read various formats, pydub is probably your best bet (it does this by invoking ffmpeg under the hood). I was hoping for a more "native" solution, but oh well. Unfortunately, `pydub` is also unmaintained and has some serious performance issues (for example: https://github.com/jiaaro/pydub/issues/518 )

AlSweigart•6mo ago
Oh, thanks for pointing this out. This was an early unpublished draft. I later changed to `playsound3` which is a modern fork of `playsound`. I've updated the web page.
frainfreeze•6mo ago
I guess it depends on the context? For example panda3d supports openAL, FMOD and Miles.
acheong08•6mo ago
Huh I recognize that library. Ran into the same issues last year and made a fork. https://github.com/acheong08/playsound https://pypi.org/project/playsound2/
amelius•6mo ago
> Playing a video file from your Python program is complicated.

You can use PySide6. Here is an example:

    import sys
    from PySide6.QtWidgets import QApplication, QWidget, QVBoxLayout
    from PySide6.QtMultimedia import QMediaPlayer, QAudioOutput
    from PySide6.QtMultimediaWidgets import QVideoWidget
    from PySide6.QtCore import QUrl


    class VideoPlayer(QWidget):
        def __init__(self):
            super().__init__()
            self.setWindowTitle("Video Player - video.mp4")
            self.resize(800, 600)

            # Layout
            layout = QVBoxLayout()
            self.setLayout(layout)

            # Video widget
            self.video_widget = QVideoWidget()
            layout.addWidget(self.video_widget)

            # Media player
            self.media_player = QMediaPlayer(self)
            self.audio_output = QAudioOutput(self)
            self.media_player.setAudioOutput(self.audio_output)
            self.media_player.setVideoOutput(self.video_widget)

            # Load video file
            self.media_player.setSource(QUrl.fromLocalFile("video.mp4"))

            self.media_player.play()


    if __name__ == "__main__":
        app = QApplication(sys.argv)
        player = VideoPlayer()
        player.show()
        sys.exit(app.exec())
bgwalter•6mo ago
This author is an apologist for the slander of Tim Peters:

https://www.reddit.com/r/Python/comments/1f00qdo/no_vote_of_...

He cites Glyph Lefkowitz to support him, who now gives advice on lunch vs. dinner networking strategies at PyCons. Which should be taken seriously: Being in the right circles and talking is all that matters in the Python ecosystem.

sfilmeyer•6mo ago
I'm not in near deep enough to have any ideas what you're talking about, and the link didn't really help. Can you explain?

Who is Tim Peters? How were they slandered? What did the author do that you disliked? Who is Glyph Lefkowitz? Why is citing Glyph Lefkowitz an indictment of the author?

worthless-trash•6mo ago
Let the post stand on its own. I'm fucking sick and tired of people dragging unrelated politics into discussions.
ajot•6mo ago
As others here have already said, thank you for your book, and for having it for free on your website. After years of thinking about leraning to program, I finally started with you book a couple of years ago. It is so much fun, and it's been super helpful on my day to day job.
jmlim00•6mo ago
Back in school, after taking an intro to programming language course as an elective, I've been struggling to understand the missing link between knowing a programming language and writing a program. This book bridged that gap, and everything finally clicked. I'll definitely be checking out the new content as well. Thanks for changing my life!