frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: I Wrote a 680-Page Interactive Book on Data Structures and Algorithms

https://cartesian.app
8•EliasY•5h ago
Hello HN! I’m Elias.

I’ve been an educator in Engineering and Computer Science for some years, and I'm always looking for ways to make learning more engaging and hands-on. A few months ago, I started experimenting with the idea of a book that changes and evolves as you interact with it. It started with a chapter on sorting but that snowballed into a 22-chapter interactive book.

My objective in writing this book, was to introduce a more interactive format for technical books that doesn't require internet access, that is lightweight, comprehensive, cross-platform, and can provide a better active learning experience.

Some unique features of the book include:

* 22 Chapters of condensed theoretical treatment spanning 680 pages, on simple and complex data structures and algorithms, paired with over 300 interactive visualizations.

* Code snippets presented in the book can be interacted with, and feature a visual debugger that shows how variables change as the program runs. You can also play, pause, rewind, and step through each snippet.

* There are a variety of solved problems under each topic accompanied by an embedded minimalist python IDE. You can solve problems directly in the book, view multiple solutions with each solution paired with interactive visualisations and code playback.

The book is currently out and available here: https://cartesian.app

Students can also DM me on Twitter (@ElijahYilma) to get an additional 35% discount.

Past Discussion on Reddit: https://www.reddit.com/r/SideProject/comments/1liga56/i_wrot...

I’d love any feedback or improvements you may have, and more importantly, which topics you would like to see covered in this format (CS and non-CS).

Comments

u_sama•4h ago
Just as a heads up, I find your thing interesting but in the EU it is illegal to sell a service and not provide a refund policy. This is the main reason pushing me to not actually purchase it.

Some sourced: [0] - https://europa.eu/youreurope/citizens/consumers/shopping/gua... [1] - https://www.termsfeed.com/blog/return-refund-laws-eu/

EliasY•4h ago
Huh... I didn't know about this! But FYI I only wrote the no refund policy as a means to prevent/discourage refund abuse, as the product is only available digitally. I have however refunded two people who have requested a refund. But I completely understand your take!
yogini•3h ago
the book looks useful for beginers to visualise and understand concepts better. Alignment of table of contents and FAQ section is breaking on larger screens. I will share this one on Peerlist as well, many devs their might find it useful.
EliasY•3h ago
The screen resolution issue seems to stem from the fact that I've locked the book to a 16:9 aspect ratio, and I'm still working on it. Thank you for sharing it as well!

Is there an "I" in AI? [PDF]

https://berryvilleiml.com/wp-content/uploads/Is-there-an-%E2%80%9CI%E2%80%9D-in-AI-.pdf
1•Bluestein•1m ago•0 comments

Elon Musk's plan to rain SpaceX's rocket debris over Hawaii's pristine waters

https://www.theguardian.com/technology/2025/jul/17/hawaii-elon-musk-spacex-rocket-debris
1•Stratoscope•1m ago•0 comments

Baltimore's Extraordinary Year

https://popular.info/p/the-secret-to-baltimores-extraordinary
1•MaysonL•2m ago•0 comments

Zig's fieldParentPtr for dumbos like me

https://www.ryanliptak.com/blog/zig-fieldparentptr-for-dumbos/
2•todsacerdoti•3m ago•0 comments

The QWERTY Keyboard Sucks [video]

https://www.youtube.com/watch?v=mFkC3F0lmjA
1•megamike•4m ago•0 comments

Scraping and vibe coding a schedule webapp for a conference on my phone

https://simonwillison.net/2025/Jul/17/vibe-scraping/
1•simonw•5m ago•0 comments

Spent the week at one of the top AI research conferences

https://www.aol.com/ve-spent-week-one-world-160705643.html
1•Bluestein•6m ago•0 comments

Rivian restarting work on its Georgia factory, emails show

https://techcrunch.com/2025/07/17/rivian-restarting-work-on-its-georgia-factory-emails-show/
1•rntn•8m ago•0 comments

Smarter, workspace-aware code completions for C++ in VS Code

https://devblogs.microsoft.com/cppblog/smarter-workspace-aware-code-completions-for-c-in-vs-code/
1•mariuz•8m ago•0 comments

UTCP: Open, direct alternative to MCP for tool calling

https://github.com/universal-tool-calling-protocol/python-utcp
1•aliraza1006•9m ago•1 comments

New Russian law criminalizes online searches for controversial content

https://www.washingtonpost.com/world/2025/07/17/russia-internet-censorship/
2•perihelions•9m ago•0 comments

PBS, NPR Set to Lose Federal Funding as Senate Passes Doge Cuts

https://www.bloomberg.com/news/articles/2025-07-17/pbs-npr-set-to-lose-federal-funding-as-senate-passes-doge-cuts
1•JumpCrisscross•10m ago•0 comments

Venture Capital firms just got easier to launch

https://venturecapital.createsend1.com/t/d-e-suthdz-l-t/
1•wTheRockb•10m ago•0 comments

Robotaxi Competition Between Tesla, Uber and Waymo Is Beginning

https://www.bloomberg.com/opinion/articles/2025-07-17/robotaxi-competition-between-tesla-uber-and-waymo-is-beginning
1•JumpCrisscross•11m ago•0 comments

Agent DB

https://agentdb.dev/
1•tosh•16m ago•0 comments

Registration Opens for 2025 NASA International Space Apps Challenge

https://www.nasa.gov/earth/registration-opens-for-2025-nasa-international-space-apps-challenge/
1•DocFeind•16m ago•0 comments

Tron: Ares – Official Trailer [video]

https://www.youtube.com/watch?v=YShVEXb7-ic
1•amichail•18m ago•0 comments

China hosts first autonomous AI robot football match

https://www.theguardian.com/technology/2025/jun/30/china-hosts-first-fully-autonomous-ai-robot-football-match
2•PaulHoule•20m ago•1 comments

Command GitHub's Coding Agent from VS Code

https://code.visualstudio.com/blogs/2025/07/17/copilot-coding-agent
1•feross•20m ago•0 comments

I used Bluefin for 5 months – long term review [video]

https://www.youtube.com/watch?v=1hxH3WLg6SI
1•indigodaddy•20m ago•0 comments

Show HN: Portfolio Site with AI Agent and Notion‑CMS Pushed as GitHub Snapshots

https://aditbala.com/
1•aditbala•21m ago•0 comments

FDA Authorizes Marketing of Tobacco- and Menthol-Flavored Juul E-Cigarettes

https://www.fda.gov/tobacco-products/ctp-newsroom/fda-authorizes-marketing-tobacco-and-menthol-flavored-juul-e-cigarette-products
1•impish9208•22m ago•1 comments

The best and worst countries to be a woman

https://www.nationalgeographic.com/culture/article/peril-progress-prosperity-womens-well-being-around-the-world-feature
3•lentoutcry•23m ago•0 comments

Nintendo Switch 2 account bans continue: warning after buying old copy of Bayo 3

https://www.tomshardware.com/video-games/nintendo/nintendo-switch-2-account-bans-continue-content-creator-with-over-a-million-subs-issues-warning-after-buying-an-old-copy-of-bayo-3-on-ebay
2•freedomben•24m ago•0 comments

Lovable raises $200M at a $1.8B valuation

https://techcrunch.com/2025/07/17/lovable-becomes-a-unicorn-with-200m-series-a-just-8-months-after-launch/
1•felixbraun•24m ago•0 comments

Daniel Heinemeier Hansson: "American Hype"

https://world.hey.com/dhh/american-hype-6f7afd1b
1•mustache_kimono•26m ago•2 comments

First look at Kiro vs. Cursor (30min video)

https://twitter.com/hot_town/status/1945837910147645947
1•matijash•27m ago•0 comments

Show HN: Chrome extension to optimize your site for ChatGPT search results

https://github.com/codingdelta/llm-search-terms-extension
1•futureisnow23•35m ago•0 comments

Belgium Is Not Just Chocolate and Beer – It's Also Semiconductors

https://cepa.org/article/belgium-is-not-just-chocolate-and-beer-its-also-semiconductors/
1•sc90•38m ago•1 comments

Logical implication is a comparison operator

https://btdmaster.bearblog.dev/logical-implication-as-comparison/
3•btdmaster•39m ago•0 comments