77 karma · joined September 11, 2022
Is there some sort of tool that can be expressed as an MCP and but not as an API or CLI command? Obviously we shouldnt map existing apis to MCP tools, but why would I used an MCP over just writing a new "agentic ready" api route?
I think there's still an argument here that this is just a symptom of trying to force functional paradigms on python, which is happening more and more, which I like but am sometimes worried about how pythonic it is... For a one odd script it works well, but when I want to maintain something and have to manage many dependencies and onboard new devs it becomes quite challenging.
Many libraries just don't use them, or use them well and writing other sorts of code is harder. The language is differently adding better support for typing and generics, but I can't help but feel part of it is "too little too late".
Something like beartype is interesting: https://github.com/beartype/beartype , but at this point I'm more interested in languages like Rust, Nim, or even Kotlin (I'd add Go here as well, but it's language design ethos doesn't agree with me).
this challenged my conceptions a little bit, while I wasn't blown a way by it, I did expect possession to be a higher percent of the whole. Here are some sources for others who are curious:
At yearend 2019 (the most recent year for which state prison offense data are available), 58% of all persons imprisoned by states had been sentenced for violent offenses (710,800 prisoners) [https://bjs.ojp.gov/content/pub/pdf/p20st.pdf page 28]
For the same year, 46,700 people were in prison with the most serious crime being possession. This represents 3.8% of the prison population.
However; the above are statistics for STATE prisons. The federal system seems to be murkier, with 46% (67,000~) of inmates being their for drug related reasons. Unlike state breakdowns, drug crimes are differentiated here. If we assume the breakdown between possession and other charges is the same as state levels (a VERY shaky assumption) we'd expect 10% of the federal system to be related to possession.
Averaging some of these numbers, it seems that even in a 'worst case scenario' roughly 9% of inmates are in for possession, but more realistically we're looking at around 4%.
I expected this to be in the 10-20% range prior to looking into this more deeply, something that isn't helped by the piss-poor dashboards by BOP https://www.bop.gov/about/statistics/statistics_inmate_offen...
EDIT: started researching this prior to seeing that others had posted :)
Reports and viz varies a lot, the finance department uses tableau where as for more 'data sciencey' stuff we normally just use notebooks.
Essentially it's: 1. Data sources from places such as s3, sftp, rds 2. Use duckdb to load most of these with only extensions (I dont believe there's one for sftp, so we just have some python code to pull the files out.) 3. transform the data however we'd like with duckdb. 4. convert the duckdb table to pyarrow 5. Save to s3 with delta-rs
FWIW, we also have this all execute externally from our orchestration on an EC2 instance. This allows us to scale vertically.
Claiming your filling is 100% tuna or that your drink is made with aged vanilla, when both are completely untrue are just outright lies to deceive people. Companies doing this should legally be required to change their ways.
On the other hand, redbull not literally giving you wings is obvious. Only a child would literally believe this. There's a stark contrast between this and expecting açai in a "strawberry açai" drink.
Despite that, it's absolutely disgusting, and sets a bad precedent. What happens if China/Russia/The USA start demanding blocking of sites that they decide aren't in their own interests?
Part of me is hoping to see a pretty severe response to this from cloudflare, especially since cloudflare was very rational in their appeal and it was completely denied.
https://mmcloughlin.com/posts/geohash-assembly
The simplified TLDR is:
1. Convert lat and long to something that's represented by bits. 2. Interleave these bits such that lat and long bits alternate in the sequence. 3. Optionally, but seems to be the standard, encode the bits into the custom base32 character set.