Advertisement · 728 × 90

Posts by Niko Föhr

Preview
pypistats.org is down · Issue #82 · crflynn/pypistats.org Hey @crflynn, I'm not sure if you're already aware of this, but, in case you're not, it looks like pypistats.org is down, unfortunately. This is what I see:

#pypistats has been down for two weeks, but now PSF is working on taking stewardship over the service

github.com/crflynn/pypi...

#python #pythonnews

7 months ago 0 0 0 0
Private EMPTY S3 Bucket COST ME $1300
Private EMPTY S3 Bucket COST ME $1300 YouTube video by ThePrimeTime

AWS Cloud service users: Be careful with S3 bucket naming

A private empty S3 bucket just caused a 1300 USD bill overnight. Someone knowing your bucket name can generate PUT requests towards it and basically do a "Denial of Wallet" (DoW) attack against you.

youtu.be/OWggTcVgiNg?...

1 year ago 0 0 0 0
Heatmap showing data for years 2018-2022. One pixel per day, organized weekly.

Heatmap showing data for years 2018-2022. One pixel per day, organized weekly.

dayplot looks like a great library for getting a yearly/monthly/weekly view on time-series data! 🚀📅

josephbarbierdarnal.github.io/dayplot/tuto...

#python #datascience #datavisualization

1 year ago 1 0 0 0

Faster* static type checking for Python is coming!

#python #redknot #red-knot

(*To be seen, but very, very likely)

1 year ago 0 0 0 0
Post image

#FreeJavaScript update: Oracle has informed us they won’t voluntarily withdraw their trademark on "JavaScript". Next: they’ll file their Answer and we’ll start discovery to show how "JavaScript" is widely recognized as a generic term and not controlled by Oracle.

1 year ago 962 126 43 18

Interesting. Do you know if there's some use case where this would be practical?

1 year ago 1 0 1 0
Preview
FastHTML Modern web applications in pure Python

Just bumped up to FastHTML. It's a new python web framework for creating HTML apps with HTMX and ASGI.

www.fastht.ml

As a side note. Interesting that they chose to use package name "python-fasthtml" and not "fasthtml" (which is still available on PyPI).

#python #htmx #FastHTML

1 year ago 2 0 0 0
Post image

Spicy food leads to road fatalities! /s

Few other interesting ones at www.tylervigen.com/spurious-cor...

Image source: @cremieuxrecueil (X)

#datascience #datascientist #science #data #graphs #causation #correlation

1 year ago 0 0 0 0
Advertisement
Post image

Created a small python package for making monotonically increasing smoothing B-spines: github.com/fohrloop/pen...

#python #datascience #bsplines

1 year ago 0 0 0 0

Well said. The problem that data is not normalized ("per person" or otherwise) is actually pretty common.

1 year ago 1 0 1 0
Post image

Panel Graphic Walker

A new way for creating Tableau like data exploration interfaces with #python and just a few lines of code!

It's a basically a Panel (Holoviz) widget which brings the JS project graphic-walker into python.

github.com/panel-extens...

#datascience #dataanalysis #eda

1 year ago 3 0 0 0
Post image

Filtering data with few peaks, like a spectrum? Weighted Whittaker Smoother seems like a good alternative:

- Filters noise out effectively
- Can be adjusted on peak wavelengths to filter less
- Quite simple

eigenvector.com/wp-content/u...

#datascience #filtering #datafiltering

1 year ago 0 0 0 0
The Continuity of Splines
The Continuity of Splines YouTube video by Freya Holmér

Just watched an astonishing video explaining splines both visually and at some level mathematically. The video covers Bezier curves, Hermite Splines, Catmull-Rom Spline, Linear Spline and B-Spline. No wonder it has 1.5M views!

www.youtube.com/watch?v=jvPP...

#math #splines #scientist #datascience

1 year ago 0 0 0 0

For Maths fans, 2025 is a square.
45² = 45 x 45 = 2025
Also,
9² x 5² = 2025
40² + 20² + 5² = 2025
My favourite?
1³+2³+3³+4³+5³+6³+7³+8³+9³ = 2025
#Mathematics #teaching #education

1 year ago 24938 4714 920 459

.. and I can't be *that guy* at home. Otherwise my peaceful moment at night with just me and my computer might be at danger. 😂

1 year ago 1 0 1 0
Advertisement

Awesome! I have the glove80 with Kailh Brown v1's and I'm just optimizing the layout for it. The Shhhocks are something that I definitely should buy! Did you try the keycap tilters with the glove80 thumbs?

#keyboards #ergomechkeyboard

1 year ago 0 0 1 0

variable names *are* code comments

1 year ago 2976 184 140 32
Post image

What might be surprising, sometimes the unary addition does something, though (if the object implements __pos__(self))

#python

1 year ago 0 0 0 0
Post image

The slides for my lectures on (Bayesian) Active Learning, Information Theory, and Uncertainty are online now 🥳 They cover quite a bit from basic information theory to some recent papers:

blackhc.github.io/balitu/

and I'll try to add proper course notes over time 🤗

1 year ago 176 28 3 0
Video

matplotlib tip: It's possible to move back and forward zoom levels in the GUI with left and right arrow keys (and C and V for left hand use).

That makes looking around data much faster (no need to hit the home button and start over)

#python #datascience #matplotlib #plots

1 year ago 1 0 0 0

Monte Carlo methods use random sampling to solve tough problems (optimization, integration, ...)

@13:55 When your simulations are expensive, you want to be clever about sampling (Quasi Monte Carlo) -> less samples, same info

@32:00 cleverness of different sampling methods compared

#datascience

1 year ago 9 2 0 0

You're absolutely right! The example is perhaps too simple, and many simpler cases should be handled with a @pytest.fixture instead.

1 year ago 0 0 0 0

Looks like a library that could be useful when writing unit tests!

It's for creating and updating inline snapshots in tests.

#python #pytest #pythontesting #unittests

1 year ago 0 0 1 0
Advertisement
Preview
Misleading "Downloads by Python version over time" is only showing a subset of used versions · Issue #105 · ClickHouse/clickpy Describe the bug The "Downloads by Python version over time" is only showing a subset of versions which is confusing. To Reproduce Steps to reproduce the behavior: Look at the scikit-learn dashboar...

Also just discovered that the download stats by python version has a bug: github.com/ClickHouse/c..., so for accurate information about it I would still use pypistats.org - But the full history is a killer feature. Compare to 6 months of pypistats or 3 months of (the free) pepy.tech.

1 year ago 1 0 0 0
Screenshot from the ClickPy showing two time series graphs of download statistics.

Screenshot from the ClickPy showing two time series graphs of download statistics.

Just learned about ClickPy: an alternative to pypistats.org & pepy.tech — #python package download stats 🐍📊

Highlights:
- 📊 FULL history of the package
- 🔍 Filter by time range and see widgets updating (YES!😍)
- ⭐ GitHub star history
- 📦 Dependents

Example:
clickpy.clickhouse.com/dashboard/wa...

1 year ago 1 0 1 0
Post image

Today I learned about PSQL for DuckDB. It looks like SQL, but with none of the nested bits.

https://buff.ly/3ZV3p8I

1 year ago 16 1 0 0

Black is awesome, but nowadays I'm using ruff's formatter as it's faster and does the same thing. It can also replace isort, which is convenient.

#python #ruff #pythonruff

1 year ago 10 0 1 0

This would be perfect!

1 year ago 0 0 0 0

Nice visualization for telling the story! I love the one Asian country swimming out of the picture with more than 2.5 cell phone subscriptions per person.

1 year ago 1 0 1 0

Something seems to be off for sure 😄 The free-threading python is still in experimental phase though.

1 year ago 1 0 1 0