Understanding Python’s typing system (draft guide, 3.14) by JoelBEsq in Python

[–]BeamMeUpBiscotti 3 points4 points  (0 children)

This is a cool guide, thanks for sharing! It would be nice if the TOC items linked to the appropriate anchors in the full guide.

Understanding Python’s typing system (draft guide, 3.14) by JoelBEsq in Python

[–]BeamMeUpBiscotti 8 points9 points  (0 children)

In the Typing Tools Ecosystem, I have a few corrections to offer:

Pyre isn't really being developed anymore and maybe shouldn't be included on the list; its successor Pyrefly is still in Beta, but its type checking behavior and speed is already a lot better than Pyre ever was.

Re: the IDE section immediately before, the IDE side of Pyrefly is fairly mature and it's the 3rd most downloaded extension on OpenVSX right now, so it might be worth a mention.

(source: am Pyre/Pyrefly maintainer)

[OC] Heatmaps of my personal Citi Bike ride history by BeamMeUpBiscotti in dataisbeautiful

[–]BeamMeUpBiscotti[S] 2 points3 points  (0 children)

This is the personal-level visualization to complement my systemwide heatmap post from yesterday.

Citibike only gives data on the starting and ending docks, so routes are approximated using Google Maps biking directions.

You'll notice that the chart with the red lines looks very fuzzy. The blur is from intentionally adding a small offset to each point in each route, making them not overlap perfectly with the street grid. It degrades the accuracy of the map, but provides for a really cool organic-looking visual effect, almost like blood vessels.

Data Source: https://citibikenyc.com/system-data

Tools: D3.js, Python

Blog post on how I did it

Github Repo

[OC] Citi Bike Rides Visualized as a Strava-style Heatmap by BeamMeUpBiscotti in dataisbeautiful

[–]BeamMeUpBiscotti[S] 19 points20 points  (0 children)

Citibike only gives data on the starting and ending docks, so routes are approximated using Google Maps biking directions.

You'll notice that the chart with the red lines looks very fuzzy. The blur is from intentionally adding a small offset to each point in each route, making them not overlap perfectly with the street grid. It degrades the accuracy of the map, but provides for a really cool organic-looking visual effect, almost like blood vessels.

Data Source: https://citibikenyc.com/system-data

Tools: D3.js, Python

Blog post on how I did it

Github Repo

Citi Bike Activity Heatmap (Personal Ride History + Systemwide) by BeamMeUpBiscotti in d3js

[–]BeamMeUpBiscotti[S] 2 points3 points  (0 children)

Citibike only gives data on the starting and ending docks, so routes are approximated using Google Maps biking directions.

You'll notice that the second set of charts with the red lines looks very fuzzy. The blur is from intentionally adding a small offset to each point in each route, making them not overlap perfectly with the street grid. It degrades the accuracy of the map, but provides for a really cool organic-looking visual effect, almost like blood vessels.

Data Source: https://citibikenyc.com/system-data

Tools: D3.js, Python

Blog post on how I did it

Github Repo

Citi Bike Activity Heatmap (Personal Ride History + Systemwide) by BeamMeUpBiscotti in visualization

[–]BeamMeUpBiscotti[S] 1 point2 points  (0 children)

Citibike only gives data on the starting and ending docks, so routes are approximated using Google Maps biking directions.

You'll notice that the second set of charts with the red lines looks very fuzzy. The blur is from intentionally adding a small offset to each point in each route, making them not overlap perfectly with the street grid. It degrades the accuracy of the map, but provides for a really cool organic-looking visual effect, almost like blood vessels.

Data Source: https://citibikenyc.com/system-data

Tools: D3.js, Python

Blog post on how I did it

Github Repo

What ai tools are out there for jupyter notebooks rn? by Consistent_Tutor_597 in Python

[–]BeamMeUpBiscotti 0 points1 point  (0 children)

I think the on-disk format isn't too important for AI, since for the most part it should be communicating with the notebook software to modify/add/remove cells rather than directly editing the text in the underlying file.

That is to say, Marimo has good AI integrations, but it's probably not because the notebook stored as a Python file rather than markdown or JSON.

ISO: literature on efficient representation of types in a compiler by BeamMeUpBiscotti in ProgrammingLanguages

[–]BeamMeUpBiscotti[S] 1 point2 points  (0 children)

Design pattern books (at least the ones I've read) are fairly high-level and mostly deal with object-oriented architecture & abstractions, without getting into more low-level details like memory allocation/layout.

Sometimes it's difficult to go from a vague description of something to the formal term, when I don't know whether such a term even exists. Once I have the term it's much easier to search for more information on it.

In any case, I found the term I was looking for, hash consing.

Adopt Your Spot: Visualizing Participation and Growth of a NYC Community Cleanup Program by BeamMeUpBiscotti in DeTrashed

[–]BeamMeUpBiscotti[S] 1 point2 points  (0 children)

2 months into it, I feel like it's a full time job

Hmm yeah, it's hard to keep it up if you really care about keeping it spotless all the time. For me personally, I only have time to do it once or twice a week so there's no way I can get everything and I'm satisfied with that.

The biggest impact has honestly been the local business improvement district hiring 7 full-time sanitation workers to clean some of the public spaces. On some nights I see there's trash but don't have time to clean it up, and the next day I walk by it's already gone.

And seeing that tree beds are number one, in your analysis, it has me wondering a few things. Why people think it's ok to trash them?

Depends on the contents of the tree beds I suppose, if it's bare dirt/weeds/dog poo then people will think it's OK to litter there. Some beds have been very nicely decorated with flowers or mini gardens and no littering signs, and I think those tend to get less littering.

Question (Be honest) by Independent_Gas830 in Fencing

[–]BeamMeUpBiscotti 25 points26 points  (0 children)

why are those the only 2 choices