Live data from Hacker News

How to Think Like a Computer Scientist: Interactive Edition

levjj.github.io

21–29 of 29 posts

Re: How to Think Like a Computer Scientist: Interactive Edition

#21

The site: levjj.github.io is trying to scan open ports in system. (Blocked by Port Authority add-on in Firefox) That is not thinking like a Computer Scientist.

Took a look at Port Authority... it's permissions require access to all data on all websites. Trading one risk for another (bigger) one? It's understandable why such access is needed, but really too bad for privacy.

Re: How to Think Like a Computer Scientist: Interactive Edition

#22

The site: levjj.github.io is trying to scan open ports in system. (Blocked by Port Authority add-on in Firefox) That is not thinking like a Computer Scientist.

Took a look at Port Authority... it's permissions require access to all data on all websites. Trading one risk for another (bigger) one? It's understandable why such access is needed, but really too bad for privacy.

Port Authority is open source

https://github.com/ACK-J/Port_Authority

Re: How to Think Like a Computer Scientist: Interactive Edition

#23

Earlier quoted context omitted.

Took a look at Port Authority... it's permissions require access to all data on all websites. Trading one risk for another (bigger) one? It's understandable why such access is needed, but really too bad for privacy.

Port Authority is open source https://github.com/ACK-J/Port_Authority

Can UBlockOrigin do the same as port authority if I add blocks for localhost and local ips?

Re: How to Think Like a Computer Scientist: Interactive Edition

#24
Related:

Think Python, 3rd Edition - https://news.ycombinator.com/item?id=39392881 - Feb 2024 (125 comments)

Think Python 2e - https://news.ycombinator.com/item?id=35421096 - April 2023 (30 comments)

Intro to programming with Python – How to Think Like a Computer Scientist - https://news.ycombinator.com/item?id=24932497 - Oct 2020 (1 comment)

How to Think Like a Computer Scientist: Interactive Edition - https://news.ycombinator.com/item?id=12639320 - Oct 2016 (17 comments)

How to Think Like a Computer Scientist: Learning with Python 2nd Edition (2012) - https://news.ycombinator.com/item?id=7887541 - June 2014 (16 comments)

How to Think Like a Computer Scientist - Interactive Edition 2.0 - https://news.ycombinator.com/item?id=6175920 - Aug 2013 (1 comment)

How to Think Like a Computer Scientist - https://news.ycombinator.com/item?id=1749646 - Oct 2010 (6 comments)

How To Think Like A Computer Scientist - https://news.ycombinator.com/item?id=1624833 - Aug 2010 (1 comment)

Think Python: How to Think Like a Computer Scientist - https://news.ycombinator.com/item?id=1586000 - Aug 2010 (9 comments)

Re: How to Think Like a Computer Scientist: Interactive Edition

#25
post #10

Slightly off topic, but does anyone have experience using the book this is based on to teach or learn programming? If so what was your experience like? What was good or bad about it for example?

Its really more of an entry level Python book than really teaching you how to think like a computer scientist imo.

It doesn't really teach CS or anything, but I'd say it does teach "how to think about programming like a computer scientist". Few entry-level "practical programming" textbooks are going to address - even at a cursory level - formal languages, recursion, mutability and immutability, issues surrounding aliasing, HtDP-esque design recipes, composition, and so on.

Even if it's not the best (to paraphrase Churchill: let the clever ones have SICP as an honour and HtDP as a treat), it's probably how I'd introduce the "average" student to CS.

Re: How to Think Like a Computer Scientist: Interactive Edition

#26
Based on a really old edition before it was renamed "Think Python" eons ago. The "interactivity" is pretty much quiz questions that test that you read the chapter at all. Looks like it has some pythontutor integration too, but not much. Layout feels like they gave up on the CSS halfway through.

You're better off going here instead, interactive or no: https://allendowney.github.io/ThinkPython/

Re: How to Think Like a Computer Scientist: Interactive Edition

#27

Based on a really old edition before it was renamed "Think Python" eons ago. The "interactivity" is pretty much quiz questions that test that you read the chapter at all. Looks like it has some pythontutor integration too, but not much. Layout feels like they gave up on the CSS halfway through. You're better off going here instead, interactive or no: https://allendowney.github.io/ThinkPython/

The third edition (at your link) is interactive, each chapter is available as a Jupyter notebook. Though to run it on Google Colab (where it is available by default, but you can download it) you do have to log into a Google account.

Re: How to Think Like a Computer Scientist: Interactive Edition

#28

Earlier quoted context omitted.

Port Authority is open source https://github.com/ACK-J/Port_Authority

Can UBlockOrigin do the same as port authority if I add blocks for localhost and local ips?

I think NoScript does that as well (it has a LAN checkbox).

Re: How to Think Like a Computer Scientist: Interactive Edition

#29
post #25

Earlier quoted context omitted.

Its really more of an entry level Python book than really teaching you how to think like a computer scientist imo.

It doesn't really teach CS or anything, but I'd say it does teach "how to think about programming like a computer scientist". Few entry-level "practical programming" textbooks are going to address - even at a cursory level - formal languages, recursion, mutability and immutability, issues surrounding aliasing, HtDP-esque design recipes, composition, and so on. Even if it's not the best (to paraphrase Churchill: let t…

I'd recommend them something readable like Programming Languages: Principles and Paradigms (https://link.springer.com/book/10.1007/978-3-031-34144-1) that covers more ground and paints the larger picture while citing many original papers.
Post reply on HN