wtfpython
deno
Our great sponsors
wtfpython | deno | |
---|---|---|
48 | 448 | |
35,051 | 92,907 | |
- | 0.5% | |
3.4 | 9.9 | |
5 days ago | 1 day ago | |
Python | Rust | |
Do What The F*ck You Want To Public License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wtfpython
- What the Fuck Python?
- Valid Python syntax ā by Nobody has time for Python
-
Multidimensional lists creation, why the weird behavior
Havenāt seen it mentioned in the replies, so here it is. Have a look at āWhat the f*ck Python? š±ā on GitHub: https://github.com/satwikkansal/wtfpython
-
Wat
https://github.com/satwikkansal/wtfpython
"Mutating the immutable" is my personal favourite - the second line of code fails with an exception despite having already succeeded:
>>> t = ([1, 2], 5, 6)
- phyton - pÄreri ptr un Ć®ncepÄtor?
-
Today I re-learned: Python function default arguments are retained between executions
For more of Pythonās fun stuff https://github.com/satwikkansal/wtfpython
-
Intermediate to advanced
wtfPython:Understanding Python through surprising snippets
- Common misconceptions in Python that drove you crazy?
- how to learn python ?
-
Ask HN: What are the best tutorial sites for Python?
All these are neither recent (they are updated though) nor AI related. Here you go :
If you are new to dev, I like "think python"
If you are already into programming, I personally find sifting through organized small code snippets helpful for learning a new language :
https://github.com/jackzhenguo/python-small-examples
https://github.com/satwikkansal/wtfpython/blob/master/README...
https://www.30secondsofcode.org/python/p/1
Finally, "The Hitchhikerās Guide to Python" is good for everything configuration, and usage.
deno
-
Bun - The One Tool for All Your JavaScript/Typescript Project's Needs?
NodeJS is the dominant Javascript server runtime environment for Javascript and Typescript (sort of) projects. But over the years, we have seen several attempts to build alternative runtime environments such as Deno and Bun, todayās subject, among others.
-
Bun 1.1
https://github.com/denoland/deno/issues is the ideal place -- we try to triage all incoming issues, the more specific the repro the easier it is to address but we will take a look at everything that comes in.
-
I have created a small anti-depression script
Install Node.js (or Bun, or Deno, or whatever JS runtime you prefer) if it's not there
-
How QUIC is displacing TCP for speed
QUIC is very exciting, after seeing what it can do for performance in Cloudflare network and Cloudflare workers, I can't wait to finally see it in Deno[0] 1.41.
[0] https://github.com/denoland/deno/pull/21942#issuecomment-192...
-
Unison Cloud
So as an end user it's kind of like https://deno.com/ where you buy into a runtime + comes prepacked with DBs (k/v stores), scheduling, and deploy stuff?
> by storing Unison code in a database, keyed by the hash of that code, we gain a perfect incremental compilation cache which is shared among all developers of a project. This is an absolutely WILD feature, but it's fantastic and hard to go back once you've experienced it. I am basically never waiting around for my code to compile - once code has been parsed and typechecked once, by anyone, it's not touched again until it's changed.
Interesting. Whats it like upgrading and managing dependencies in that code? I'd assume it gets more complex when it's not just the Union system but 3rd party plugins (stuff interacting with the OS or other libs).
-
Deno in 2023
~90MB+ at this stage and do now allow compression without erroring out. Deploying ala Golang is not feasible at that level but could well be down the line if this dev branch is picked up again!
The exe output grew from from ~50MB to plus ~90MB from 2021 to 2024: https://github.com/denoland/deno/discussions/9811 which mean Deno is worse than Node.js's pkg solution by a decent margin.
-
Mini site for recommending songs using Svelte & Deno
Behind the scenes is a simple Sveltekit-powered server function to fetch a Spotify client token then find a user's recommendation playlist and its track information. A Deno edge function to performs this data fetch and renders server-side Svelte.
-
Supercharge your app with user extensions using Deno JavaScript runtime
If your application is written in JavaScript, integrating it with JavaScript extensions is a no-brainer. However, Secutils.dev is entirely written in Rust. How would I even begin? Fortunately, I recently came across an excellent blog post series explaining how to implement your JavaScript runtime in a Rust application with Deno:
- Deno, the next-generation JavaScript runtime
- Oxlint ā written in Rust ā 50-100 Times Faster than ESLint
What are some alternatives?
wtfjs - š¤Ŗ A list of funny and tricky JavaScript examples
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
pfFocus - Generate meaningful output from your pfSense configuration backup, like Markdown documentation.
typescript-language-server - TypeScript & JavaScript Language Server
setup.py - š¦ A Human's Ultimate Guide to setup.py.
pnpm - Fast, disk space efficient package manager
awesome-python - An opinionated list of awesome Python frameworks, libraries, software and resources.
esbuild - An extremely fast bundler for the web
macropy - Macros in Python: quasiquotes, case classes, LINQ and more!
bun - Incredibly fast JavaScript runtime, bundler, test runner, and package manager ā all in one
Pycco - Literate-style documentation generator.
Koa - Expressive middleware for node.js using ES2017 async functions