@AlSweigart filter, map, reduce
Home
Public posts preserved on my own site.
me: suggest some python build tools I haven't heard of
#chatgpt : `Err`, it is a IDE plugin. It reads your code as you write it, finds errors and makes suggestions.
me: <looks it up. it is a last gen chatbot, named Errbot>
It thinks all chatbots are as good at coding as Assistant.
All that said, a chatops interface to the build server would be nice I guess.
♡ 0 ↻ 0
If pip added every feature that pipenv and poetry has, I think it would take about 10 years for pip to regain market share.
If easy_install tomorrow got all the features of pip, poetry, pipenv, you'd switch back to easy_install, right?
The contributors to pip are all good noble people and pip is better than what went before it but it doesn't really get exempt from how products gain and lose mindshare.
♡ 0 ↻ 0
#OneDrive is pain. RStudio at some point installed itself to "My Documents" and now to get rid of that 1GB of stuff, I have to remove that folder and break the RStudio installation on some machine & I can't even tell which one. I should have to double triple opt in to syncing a folder, not this "sync whatever" including stuff that installs itself to weird locations.
So RSS clients, you'd think they'd request a mime type of `application/rss+xml`? Nope! They don't set a mime type *all*.
Standards? @%$@$% 'em.
1 client doesn't set a mime type? Okay, now you have to assume no client deal with mime types "correctly". And now mime type has to be in the URL.
Inspect this guys head to find his type. Probably "weirdo"
mime-type & content negotiation joke gets no laughs.
♡ 1 ↻ 0
TIL: there is an auto-close PR action to handle PR spam, seems like it only work on repos where you know you don't want PRs.
https://github.com/community/events/blob/main/.github/workflows/auto-close-pr.yml
A whole TLD domain dedicated to pizza, `.za`
Content warning: 5 "Tips" on using Strava #SeriousRunner
Yeah, I've trimmed off the warmup/cooldown off a run that was destined for Strava before.
Oh this is so cool. Blog comments using Github issues. No one comments unless they create a github account.
I did it, I set up a blog again. I plan to do life blogging there (like a blog post a day sort of thing). I figure I can maintain that schedule for three or even seven days.
and how I did it
Despite being a card carrying liberal, this "insensitive writing" linter is infuriating. If #ChatGPT replace things like this, I'm okay with that.
#chatgpt ? Everyone knows that this is how to write an essay.
@schlink Call yourself mid-career or a bunch of HR people will filter you out before your first interview. Mid-career means you basically know how to code as demonstrated by your github repo.
---
This is my annual attempt to write bash that has loops.
Why do I do it?:
- Self hatred?
- Create motivation to finally learn #zsh/#fish (or even #xonsh)?
- I'd forgotten that loops are trash in #bash?
- prelude to just doing it all in #python?
(updated, tagging 5 communities so that they can all fight with me in the replies and the pet fish owners can be confused)
IDEA: in addition to CW section, tweets should have a citations section where you get a list of 1-5 titles, authors, links
#chagpt code generation quality is in direction relationship to the quality of documentation for the topic.
- python? the code (almost works ) and does the right thing (great docs in python-land)
- bash? same problem, but, eh, not great, lots of hallucinating
- advanced math? Have you ever read a math text book? No AI or human can read that without months of intense study (going *beyond* the text).
(logic and math itself, it is just the wrong tool for the job)
#chatgpt I saw someone write with contempt for chatGPT's texts because the machine wasn't speaking from lived experience.
Anyhow, our feelings about AI are echos about how we feel about the working class & the Others.
Anyhow, people hate having to think about where to draw the line because it reminds them of the edge cases of people and people-like things that in the past and present we've define *out* of humanity and *out* of our moral community.
♡ 1 ↻ 0
#Chatgpt continue the conversation...
Seagull 1: "No, I mean Big Picture--what is the culminating result of consciousness? Where does this path end?"
2: "Oh, I see what you mean. That's a deep question. I'm not sure I have an answer."
1: "Well, some people think that the ultimate goal of consciousness is to achieve enlightenment or to connect with some higher power. Others believe that consciousness is just an emergent property of the brain and that it ends when we die."
2: "Hmm, that's a tough one. I guess I just try to enjoy the ride and make the most of my time here. Maybe those fries on the pier are a part of that."
1: "I guess you could look at it that way. In any case, it's important to appreciate the present moment and to live in the here and now."
2: "Absolutely. Now, if you'll excuse me, I think I'll go get those fries. Want to join me?"
1: "Sure, why not? Let's go."♡ 2 ↻ 0
IDEA: tweets, but like dinosaur comics, it's new text on the same meme photo over & over.
Collectively, 720 stopped clocks are always right (at least one is).
oh only, if they're all different. So many constraints.
♡ 0 ↻ 0
All these emails saying "Uber eats" but never, what it is eating. VC money, right?
Another important election: #Gitkraken feature suggestions- vote for them to add more #GithubActions visibility in their git client
https://feedback.gitkraken.com/suggestions/314176/better-support-for-github-actions
If #github goes out of business or gets shut down (remember #gotdotnet #codeplex #googlecode etc) ... it's going to be like the burning of the Library of Alexandria.
What both #pycharm #vscode and #codespaces are missing are music integration.
It should change playlist and station based on what code you're writing. If the build has failed 10 times in a row, it should play something calm, 1970s love ballads. If you're writing Perl, it should play something nightmarish, like Angelspit
Upgrading to Windows 11!
The graphics drivers have been hosed for 2 years & it no longer displays anything on the build in screen, so it can't make it worse.
Content warning: Teach your kids to swim.
A message brought to you by #Andor
#github I have ~80 repos. I'd like to add github `actions` to almost all of these.
But I can't find a page that lists the status of all my `actions` (do they exist? are they passing?) Is there a secret page for this?
@x51@tilde.zone you use a service like dyndns or no-ip that updates IP each time your machine boots up/ip changes. Residential internet discourages hosting by ToS and more importantly, limiting upload bandwidth, which if you are hosting something efficient & small is not a limit, but still a limit if you host large files or expect serious traffic.
ref: https://www.makeuseof.com/tag/5-best-dynamic-dns-providers-can-lookup-free-today/
Code kata, go write a console fish tank.
emoji_fish = [
"🐠", "🐟",
"🐡", "🐙", "🦑",
"🦐", "🦞", "🦀"
]
It is just a random walker with a visualizer & more walkers.
Advanced is getting certain fish to chase other fish & handling collisions (fish eat each other, or turn into 3 fish, etc)
```javascript
const change = 1 ;
```
Doesn't sound so profound when you translate into #javascript
IDEA: you can get Assistant to say a few things about itself. I wonder if I can get Github Copilot to do the same thing.
Content warning: I'm just curious how much I can fit into a content warning. Can't seem to line break. But I can go on and on. Maybe I should ask ChatGPT to generate the rest of this. Or use Lorem Ipsum. Okay, really this is too much just to settle an idle curiosity. My fingers grow tired, but I still have over 200 char remaining. Well, less now. Like sands in the hour glass, so too the chars. They pass by so quickly. But not quick enough. This is nuts. Still? I can't do it, I just can't type that much.
Warning
Content warning: trimmed warning (does it break thread?)
Someone said you could hide your #hashtags here.
♡ 0 ↻ 0
@mainsac Assistant wrote this, didn't he?
So you're thinking of putting all your shared #python code into a Dockerfile, e.g.
COPY utils.py /shared_stuff
1) That code is not in a venv.
2) That is not a versioned package
3) docker build will break your code as be base image evolves
4) can't run unit test or execute your code
5) have to add utils.py to your code repo & .gitignore it
Any option that involves wheel files is correct.
But if you really want to shoot your self in the foot:
1) store utils.py in wikipedia. You really will never know what is there
2) store it in a cookie that you have use browser automation to access. It will be astonishing to maintenance devs
3) store it in bash history, it is the source control for bash, it can be source control for #python
4) store it in a random number generator, at one offset or another, there will be the bytes of utils.py♡ 0 ↻ 0
- 12 minutes to fix
- 10 minutes to create a jira ticket
...choices
words for snow? phhst. The Icelanders have 800 words for how they feel about their code.
Tölvuglöð leads to laptopóþægindi and ends in byggióstríða as they say. https://x.com/mistersql/status/1610654730681815042/photo/1
words for snow? phhst. The Icelanders have 800 words for how they feel about their code.
Tölvuglöð leads to laptopóþægindi and ends in byggióstríða as they say.
If two people use roughly the same #chatgpt prompt to generate spam blog articles, they can be up to 40% the same.
If they both (C)right them, then who is violating who's copyright?