a 6x youtube has 6 guitar in the background. (seems like guitar in the background is a youtube cliche)
Home
Public posts preserved on my own site.
```
ble.sh: insane environment: $USER is empty.
```
No, that's enlightenment.
@82mhz Should just be \n
```python
mastodon.status_post('\ntext\n')
```
or
```python
mastodon.status_post("""
Lots of whitespace
""")
```
@82mhz docs imply status is just a python str, so anything you can put in an utf-8 should work
https://mastodonpy.readthedocs.io/en/stable/05_statuses.html?highlight=status_post#status-post
♡ 2 ↻ 0
Checks out, 925 results. History is written by the "Victors"s
If #AWS costs a lot for moving data into and out of AWS, seems like every single thing we do with AWS should compress data, i.e. only write zip files to s3, turn on gzip compression on the webservers. On the other hand, most of the money goes to RDS, so maybe it wouldn't matter. Still the cost of exporting all of a company's data out of AWS is mind boggling.
Adoption of emoji's on government websites:
https://www.google.com/search?q=site%3A.gov+%F0%9F%91%8D
Low, and... weird search engine spam. Google thinks an off site link with a query string means the query string is known to the site, but it is actually some sort of spam.
#anarchism is a political movement that as part of its aesthetics only wants to succeed if it can succeed with the worst possible branding.
They finally did it! A bridge over the part of the road where people were expected to just walk into oncoming highway traffic like we were filming Bowfinger or something
TODO: stupid console game. Write 2 programs that print to stdout such that the 2nd on in the following bash finishes first.
```bash
echo "stick 1" & echo "stick 2"
```
On my machine, "stick 1" always finishes first.
This is inspired by Winnie the Pooh sticks, which pass under a bridge.
Bash beats python
```bash
python -c "print('stick 1')" & echo "stick 2"
```♡ 0 ↻ 0Python wins!
```bash
(echo "System.out.println(\"stick 2\");" | jshell) & python -c "print('stick 1')"
```♡ 0 ↻ 0
**Rules: **Don't pin to "*"! You will get broken builds, production outages and you'll be 1st do discover if a new lib is broken.
**Also Rules**: Upgrade all dependencies every 24 hours (speed of fastest updating library), build, dev and prod dependencies, assume that all libraries are fixing CVEs that will be exploited on all machines NOW!
Including the one line `FROM alpine:v123` dockerfile! No tag means secure, tag means it has a CVE NOW and probably is running in production!
**Also Rules**: Please don't knock over the build server with excessive builds, it literally can halt work for multiple teams.
**Also Rules**: Let's let dependabot/renovatebot rebuild everything, once per dependency, per merge, request per merge. The build servers have disappeared into a blackhole? Well, you gotta take your medicine.♡ 1 ↻ 0
@tyrel "As an incorporeal large language model, I have no butt,...."
@jemal@jemal.contact this code monkey save word. docx.
#pycon2024 booked. Pittsburg, here I come.
Gotta earn a badge
♡ 0 ↻ 0That QR code... it does nothing. AAAA not authorized. Hmm
♡ 0 ↻ 0
Wish list:
- linter for pure #python to native library opportunities, e.g. json to orjson, toml to rtoml
- linter for sync to async library opportunities
What y'all replace #mint with? (the financial site that intuit shut down)
@jamescooke@fosstodon.org This really happen or is this a speculation about the possibility of just paying to add malicious code to a package?
@chrisod I strongly protest! 6 consecutive minutes of MS Teams is cruel and inhumane.
@ebooksyearn If it would keep it's personal politics to itself, no one would cancel it.
Stoicism* is only locally true. Globally, how things are is malleable.
* Stoicism in the sense of, "well, I'm a slave in rome, nothing to be done but to accept it and make the best of it"
@amie@treehouse.systems Have two bananas: 🍌🍌
To create this tweet, I scoured the internet looking for copyrighted works, I think stole as many colocations of two letters as I could find until I had just tons of stolen pairs of letters. I reassembled them into this tweet. If the IP lawyers find out about this theft, I could be bankrupt, so please donate at the GoFundMe for my legal defense.
Google's AI give me the impression of three well funded teams all pulling in wildly different directions, all ignoring their techies.
- Releasing Bard at all. Bard is Google's AWS Titan. If they thought Bard was good, Bard and Titan are a strong signal that the AI team at Amazon & Google are f*king morons who are building a better Eliza
- Vertex AI in cloud console vs Vertex ai studio vs gemini.google.com - 3 different websites with no polish, same name, weird docs, muddled target audience
Why I'm still doing anything with them:
- Gemini might be as good as GPT4 and might be ~25% cheaper.
- Google offers $300 of AI money if I can spend it in 90 days. I can spend that in 30 run of my side project.But they are bottom of my list. Rankings for developer friendliness:
1- OpenAI
2- Anthropic
3- AWS (as an alternate way to access Claude, their models suck)
4- Mixtral (I'm just getting started...)
5- Google♡ 2 ↻ 0
This matches my experience, I can code for about 4 hours, especially if it is a solid block of time, 0 hours of meetings is alienating, more than 2 is a grind.
I'd add thought that in IT work, sometimes you need to do a heavy lift and focus on one thing continuously for a week or two. I can't do it all year and I can't turn on that level of motivation with a switch.
What to do with the rocks you bought from tiktok
META: that was a weird reaction. A guy that goes around the fediverse scolding & then blocking people who post source code. They're wrong, but I was thinking, well what if they're right, why would they be? Screen reader?
Moving source code to an image just moves the hard to read/listen bits to alt text. Self tagging so the audience can filter? So hard to know what filters people are using, my idiosyncratic tags only help for my followers, not the accidental audience (retweets, local/fed feed)
@acdha I'm going to try that out, thanks!
@acdha I got this pattern going
https://gist.github.com/matthewdeanmartin/370829084fcaf4731f5c1b8d0b5ca58e
Pro:
- does the job
Cons:
- str/Path don't give hypothesis enough info to generate a valid path, so it will generate 1000s of trash ones and give up.
- not a 0 cost abstraction
I think I need some sort of Path factory/strategy that tells hypothesis, create any crazy file you want so long as it is in the tmp_path folder.
What trick do y'all use when a function takes a Path as an argument and writes a file? Hypothesis will attempt to write to every location on the hard drive.
Got 5 ways to write a #python function with no body
def f():
"""docstring"""
def f():
...
def f():
pass
f =lambda:None
💻👻
@darkuncle Is a human in the loop or is morse code the serialization format for the data across the wire? Humans are limited by clicks per minute which is 420 clicks per minute or so.
My bot assisted estimate is 8 bits per second, but the stuff a computer can encode includes pictures and a person is only going to send letters, so I'm not sure this is comparable.
@darkuncle To switch from sending 0 & 1 over the wire to morse, you need 4 symbols, long, short, end of letter, end of word. So if we take out the human, but keep morse, we should use a quaternary system. Wikipedia says trinary computer were build, no evidence for quaternary computers in my short search.
♡ 1 ↻ 0
Prove I'm a citizen to vote you say?
"The data show that people who self-identify as politically liberal are more likely to hold a valid passport than those who call themselves conservative..."
Now that the Republican base is the lesser educated, requiring filling in forms and having paper work on hand isn't necessarily going to tilt the vote the way they think.
Same thing with preventing old people from mailing in votes.
Okay, I'm ready to sell ad space in the type annotations of my open source code. #mypy
```python
from typing import TypeAlias
SquareSpaceChooseYourCanvas: TypeAlias = str
SquareSpaceSuccessStory: TypeAlias = str
def build_website(self, template: SquareSpaceChooseYourCanvas) -> SquareSpaceSuccessStory:
"""
Your Ad Here, call 1-800-doc-string
"""
print(f"Building a website with the template '{template}'.")
return "Wee!"
```
What's that song... it goes BUM, BUM BUM, bum, bum, bum, bum bum....
It's that British song about butts.
NEW: 0-bit quantized LLM. He has depression and doesn't care what word comes next.
What do you call it when a programmer finally shaves? A hackathon.
**Mypy**: `variable has type "Callable[[AsyncSearch, str, list[str] | None, str, KwArg(Any)], Coroutine[Any, Any, tuple[list[dict[str, Any]], dict[str, Any]]]]"`
**Matt**: Did you just tell me to go f*k myself?
**#Mypy**: I believe I did, Matt.
@tyrel It's for people who like VSCode, but I try to use VSCode and I go back to #Jetbrains products because I can actually find anything. An IDE layout is like QWERTY and DVORAK, there is a heavy switch over cost. I don't know what I'd do if I was Jetbrain's product manager, VSCode is getting market share.
#MSTeams and browser-only #MSOffice teams and #Outlook is Enterprise Industrial Sabotage. It isn't just annoying
- It needs to be as available as a phone
- Or people stop using it
The available-only-if-you-ceaselessly-login means you're not logged in and no one you want to communicate with is logged in. So it is an unreliable communication means.
Bile with a permalink brought to you by #MSTeams and #Office365 (browser-only) edition. "Try it out today, you are logged out!"