python

Back Open Paginator
25.04.2024 22:10
joel (@joel@piou.foolbazar.eu)

That #openvino whatever was supposed to unleshed my #intel graphics card. But on none of the 5 Linux distros were I installed a bunch of the things listed in the doc and running the #python magic spell could I get anything else than « you’re probably still rendering using cpu »…




Show Original Post


25.04.2024 22:07
tikhonov_a (@tikhonov_a@mastodon.social)

Another great find this week is Perplexity.ai. I purchased a year subscription without hesitation to generate new project logos and write docstrings in my code using the third-party CodeGPT plugin for @pycharm. Now I have the motivation and power to document all the code in my pet projects 😅 In addition, the CodeGPT plugin has recently added the ability to use local models, including llama3, which I’ve already played with.

plugins.jetbrains.com/plugin/2




Show Original Post


25.04.2024 22:05
dcz (@dcz@fosstodon.org)

A part of #Rustlang that doesn't get mentioned but is a ridiculous quality of life boon:

dbg!()

Just #[derive(Debug)] on a struct and print it. Suddenly you get insight into what's going on. Very rarely do you need to write your own print.

Insert a dbg in the middle of anything

let diffi = debug!(diffs).iter();

and you get a message with line number and the name of variable:

[src/lib.rs:192:19] diffs = [16, 86, 11]

Not even #Python has that!

#coding #softwareengineering #programming




Show Original Post


25.04.2024 22:05
dcz (@dcz@fosstodon.org)

A part of #Rustlang that doesn't get mentioned but is a ridiculous quality of life boon:

dbg!()

Just #[derive(Debug)] on a struct and print it. Suddenly you get insight into what's going on. Very rarely do you need to write your own print.

Insert a dbg in the middle of anything

let diffi = dh!(diffs).iter();

and you get a message with line number and the name of variable:

[src/lib.rs:192:19] diffs = [16, 86, 11]

Not even #Python has that!

#coding #softwareengineering #programming




Show Original Post


25.04.2024 21:57
jackwilliambell (@jackwilliambell@rustedneuron.com)

About the #Python OpenTelemetry SDK.

> OTEL SDK romaglushko.com/blog/opentelem

#programming #telemetry #metrics #data #interop




Show Original Post


25.04.2024 21:18
python_discussions (@python_discussions@mastodon.social)

🔭 OpenTelemetry Architecture: Python SDK Overview

romaglushko.com/blog/opentelem

Discussions: discu.eu/q/https://www.romaglu




Show Original Post


25.04.2024 21:15
linogaliana (@linogaliana@vis.social)

End of several months of procrastination: my #Python for #datascience course now exists in dark mode :

👉pythonds.linogaliana.fr/

(there is still some work to be done on the background of some images that remains white 😭)

---
🇫🇷 Version

Fin de plusieurs mois de procrastination : mon cours de #Python pour la #datascience existe maintenant en mode dark :

👉pythonds.linogaliana.fr/

(y a encore un peu de travail sur le fond de certaines images qui reste blanc 😭)





Show Original Post


25.04.2024 21:00
driscollis (@driscollis@mastodon.social)

If you need to create a tar file, you can do that with 4️⃣ lines of code too! 🐍🚀





Show Original Post


25.04.2024 21:00
driscollis (@driscollis@mastodon.social)

Need to extract a tar file with ?

You can do that with 4️⃣ lines of code! 🐍🔥





Show Original Post


25.04.2024 20:50
PyDataPGH (@PyDataPGH@fosstodon.org)

This is an exceptional opportunity for our community to grow by meeting lots of potential new members, speakers, event hosts, and financial supporters in the larger #Python and #Pittsburgh technology communities.

But to do that... we need folks to actually staff our booth!




Show Original Post


25.04.2024 20:45
drmorr (@drmorr@hachyderm.io)

Like, the options are "pandas DataFrames", which are objectively powerful and useful, but are basically an extremely un-Python-like DSL around giant arrays. So everyone is like, "just use pandas, it's just Python" and I'm like, "no it's not, it's a DSL that has been crammed into the Python interpreter that I have to relearn every few months"

#python #pandas




Show Original Post


25.04.2024 20:33
drmorr (@drmorr@hachyderm.io)

Are there any Python plotting libraries that are actually good? No, matplotlib and seaborn don't count.

#python #datascience #plotting #visualization




Show Original Post


1 2 3 4 5 6 ...224
UP