Curso Gratuito de Ciência da Computação de Harvard CC50 em Português: Inscreva-se Agora!
https://guiadeti.com.br/curso-ciencia-computacao-harvard-cc50-gratuito/
#cc50 #computacao #cursogratuito #harvard #htmlcss #javascript #programacao #python
https://guiadeti.com.br/curso-ciencia-computacao-harvard-cc50-gratuito/?fsp_sid=216
I've extracted the dependency graph for the #ctss #kernel, and I have to say it's not the most elegant #architecture I've seen. The graph is derived from the linking instructions (ENTRY and EXTERN statements) between each of the source files within the mit8c0 archive, exported to #dot via a small #python script.
MAIN8C at the top contains the startup entry point. CLOC8H to the left is the handler for the real-time clock interrupt, which is used to implement multitasking, and I think CTRL8F is the main 'take the next task off the queue and do it' routine.

Curso de Ciência da Computação com Python Gratuito da USP: comece do zero hoje mesmo
https://guiadeti.com.br/curso-ciencia-computacao-python-gratuito-usp/
#cienciadacomputacao #computacao #cursoonline #logica #programacao #python #tecnologia #usp
https://guiadeti.com.br/curso-ciencia-computacao-python-gratuito-usp/?fsp_sid=203
And now for something completely different. I don't only write about #Python
I have also started writing about one of my silly hobbies: reviewing root beers and related drinks.
Feel free to follow along if you like that sort of thing:
https://www.rootbrewreview.com/
Sabías qué es el polimorfismo en programación orientada a objetos?
Sabés que en Python 🐍 se puede implementar con y sin herencia?
✨En este artículo veremos qué es el polimorfismo, para qué sirve, cómo implementarlo en Python, qué es el duck typing, y algunas buenas prácticas para evitar errores.
📚Leé la nota completa acá: 👇
🔗 https://juncotic.com/poo-polimorfismo-en-python/
#python #dev #desarrollo #polimorfismo #poo #juncotic
Tôi vừa phát triển một ứng dụng huấn luyện poker dành cho người mới bắt đầu: 👾 Sim preflop (miễn phí 100%), 💹 Sim equity (20 ván/ngày), 🤖 AI chơi đối kháng (20 ván/ngày). Ứng dụng dùng SwiftUI + backend Python FastAPI, giúp cải thiện kỹ năng mà không tốn kém. Hãy thử và cho mình phản hồi về UI nhé! #Poker #App #Training #SwiftUI #Python #AI #Game #ỨngDụng #HuấnLuyện #TròChơi #Vietnam #CôngNghệ
https://www.reddit.com/r/SideProject/comments/1qnpjqa/i_built_a_poker_training_app_so_id_stop_losin
For most of my courses, I provide some test scripts so students can verify that their solutions are correct. Usually, these scripts emit a score or grade at the end.
The issue I was facing was that if an assignment had multiple test scripts, the grader (normally a TA) would have to manually parse the output of the tests and add up the scores.
To automate this, I decided to... embed a Python script in the Makefile I provide students to do run the test suite. This embedded Python script runs all the individual test scripts, extracts the score and status, and then summarizes the overall grade based on different weights.
It's ugly and looks terrible, but it works :}
I have embedded Python in shell scripts before, but this was the first time I have done this in a Makefile. It works by defining the shell script as a macro in the Makefile and then exporting. For the recipe, simply run `python3 -c $$NAME_OF_MACRO`.
I would hazard to guess that there is a limit to how long the embedded script can be (ie. the max length of the command line arguments)... but this will do.
Shout out to this stackoverflow: https://stackoverflow.com/a/69272017

Pinterest is hiring Director of Data Science, Ads Measurement & Attribution
🔧 #python
🌎 San Francisco, California; Seattle, Washington
⏰ Full-time
🏢 Pinterest
Job details https://jobsfordevelopers.com/jobs/director-of-data-science-ads-measurement-attribution-at-pinterest-com-dec-19-2025-e446af?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring
Hello scientists of the world, #Python needs you! ;-) Vote for your favorite programming language and the #ITWorldCup now. And spread the word. Every vote counts (and every minute, too). Thank you!
#DataViz #DataVisualisation #Panda #NumPy #mathematics #Mathematik #GeoPlotLib #MatPlotLib #SeaBorn #SciComm #DataVizualisation #Visualisierung #Science #Scientists
Pandas 3.0 brings unified string type and performance optimization
With version 3.0, the Python library introduces a unified string type and improves the copy-on-write method.
Python Tip #26 (of 365):
When opening a file, use a "with" block... especially for writing!
Using a "with" block to open a file will close it automatically when the "with" block exits: https://pym.dev/creating-and-writing-file-python/
So this:
with open("example.txt", mode="wt") as file:
file.write("An example file\n")
Is pretty much the same as this:
file = open("example.txt", mode="wt")
try:
file.write("An example file\n")
finally:
file.close()
🧵(1/4)
This Thurs (1/29) 2-5p Eastern we're piloting a hands-on workshop on analyzing messy energy data, aimed at grad students and other researchers who have touched #Python but want to learn more. If that's you, and you're up to give us feedback, register below!
Many thanks to @sloanfoundation for supporting our Open Energy Data for All workshops & seminars.