#nano is better now.
Supports ctrl-c, ctrl-x, ctrl-v etc, if you enable it.
Public posts preserved on my own site.
#nano is better now.
Supports ctrl-c, ctrl-x, ctrl-v etc, if you enable it.
Readme files for public libraries/apps have a format, roughly GNU Gnits & what evolved. So Title/Desc/Installing/Usage/Other Stuff/Maybe Credits/Changes/Links to more docs
I keep trying to use this format at work & it it doesn't work. Closed source readme should be the contributing.md file.
Challenges I've had with contributing.md files
- They change fast, about every year 80% of it is out of date.
- Developers & tech leads are opinionated and want n different ways to do everything
- If you have a poly/mono repo you got n overlapping, similar contributing.md files
- They get out of sync with artifacts like the build script
- the line between "let me teach you the basics" and "I can assume you know the basic" is fuzzy
And now begins the majestic migration of the WFH computer developers as they make their annual migration from the upper floor office to the colder climates of the basement.
Your gadget now requires an internet connection and an account. We promise, we will always punch you in the face over and over, but never sell your personal information to other companies.
Trying to buy a ceiling fan on Amazon and all the brands are Glerbiclop and Lnxixfurbitan and Blahelpimtrappedinabrandnamegenerationfactoryferb.
Reviews run for 5 paragraphs with no spelling errors and an em-dash. Who talks like this, I mean, other than a certain bot.
I'm so confused about nixos. I hear it is the greatest thing ever and I should figure out how to use it and I should also find a substitute for it immediately. And I still don't know what it is (for being too lazy to google it)
In just 3 lines of code you can make sure people can't exit your app. Make it as popular as vim.
```python
signal.signal(signal.SIGINT, lambda signum, frame: None)
signal.signal(signal.SIGBREAK, lambda signum, frame: None)
signal.signal(signal.SIGABRT, lambda signum, frame: None)
```
not sure it works I windows tho, I should investigate that.
https://github.com/matthewdeanmartin/dedlin/blob/main/dedlin/main.py#L155
IDEA: Chaos-Monkey, license edition. A build tool that will pick a random library in your dependency graph and change the license and send and email to your legal department to see how much they freak out and how resilient your stack is to random license changes.
@lewiscowles1986@phpc.social They have local versions of dynamodb, lambda & api-gateway (via sam), stepfunctions...uh that's it unless I start counting services where AWS is just a wrapper around another locally installable service like postgres or opensearch.
The need to use something like localsearch is driven by access levels. At shops where I had unlimited access to AWS, mock servers were a hindrance. Where I have limited access, localstack-like things is promising sounding, if personally expensive
#localstack as a "free" tool. The free code works fine for integration testing a few specific #AWS services or a few app that happen to be all community edition services.
But for any real world app that wasn't architected specifically to stay within localstack's free offering, using local stack for an entire app requires Pro & a monthly subscription.
Search for "(pro)"
https://docs.localstack.cloud/user-guide/aws/feature-coverage/
Localstack depends on docker/docker-desktop and doesn't work with podman. So localstack + docker-desktop is $480/year out-of-pocket unless you have the ear of your purchasing department.
Is #redispy going to support #Valkey? I would guess not?
#Redis Inc appears to be in complete control of the library, I don't see why they'd support forks they're hostile to:
#aioredis got merged into redis-py and is now archived
What's so great about unit tests?
- at 30% coverage most bugs are found
- at 80% coverage most edge cases are found
- at 90% - 100% coverage you've been motivated to remove dead code and lesser used features.
- at 100% - tests might as well be an assertion that the source code hasn't change, any change in source code will break a test.
At ~1000s of tests the maintenance costs of unit tests starts to exceed value of test
星 road, (star road) is in Reston, VA
Phases of writing a #python library:
Here's an idea for a reusable thing. Did anyone write a library for that?
Nope. Fine, I'll write it.
Done!
Found a near dupe
Found a near dupe
Found a near dupe
Found a near dupe
.
.
.
My sparklines-in-server-logs idea has 2 almost exact dupes. Also 11 other generic sparkline libraries, some of which are very, very low effort.
https://github.com/matthewdeanmartin/sparkle_log?tab=readme-ov-file#prior-art
I thought there were more tools for AUTHORS[.txt|.md] sort of like all the changelog tools/formats.
The original gnu-gnits authors format doesn't take into consideration social factors.
https://github.com/vlang/v/discussions/10025
Humans.txt is more website specific than source specific and distinguishes between team, thanks and "site" which cites tools uses (who in turn were made by people)
@neurobashing gitkraken has the same business model. If I had a dollar for every software development product that thought I had the purchasing power to ask my org to buy tools for me, I'd have a business model.
I wish I could see which characters were:
- typed by me
- autocompleted
- pasted in
- AI generated
It would be too noisy to see all the time, but copilot-like things is like coding with an eager child octopus who types mischief when you're not looking.
Unless faster versions of `rf` are developed, innovation in node/typescript will come to a halt because `rm -rf node_modules/` will take longer than any single human life.
Hugh Everett discovered the universe is runs on google software when he realized that the entire thing is a monorepo that branches on all quantum measurements.
The universe will end when this spectacularly wasteful system runs out of drive space.
It is a time honored tradition, watching longevity advice and wilfully taking away the wrong message. So to live longer, you must eat deep fried Sardinian donuts, also called Lorighittas. And have pet sheep.
ref episode 2: https://www.netflix.com/title/81214929
#Edlin in assembler is downright unreadable.
Make file has no unit tests... that would have to wait decade more.
Advanced Log Levels.
**PANIC** - Even more urgent than FATAL, for when everything is definitely on fire.
**BORED** - For log entries that are just routine operations happening as expected.
**CURIOUS** - Slightly more intriguing than INFO, for when something mildly interesting occurs.
**SUSPICIOUS** - For events that don't seem right but aren't overtly wrong.
**EUREKA** - For logging the moments of breakthrough or discovery in your application.
**WHIMSY** - For events that are unusual but not problematic, adding a bit of character to your logs.
**OMINOUS** - For logging foreboding or threatening events that hint at errors to come.
**CONFUSED** - Use this when your system does something unexpected, and you’re not sure why.
**YAWN** - For mundane details that are excessively verbose and mostly unnecessary.
**EPIPHANY** - For insights or realizations that solve previous issues or mysteries in the application.
ChatGPT4 thought of these. Credit where credit due, it has a minimal sense of software development humor.
Win95 makes for a good container for a content website, too
What is FOMO? Are you missing out on FOMO?
I lost the link, but someone was complaining about how LLMs are too eager to please & might give you the answer you want to hear. So I asked the bot to be hypercritical of my coding instructions to it and of the code written so far & it found a bug (thread blocking when grabbing CPU % in a logging tool)
2/3 of the legit complaints about LLMs have mitigations.
Okay, memory/cpu sparkline graphs in your logs. Useful if you want to see if your AWS Lambda or ECS containers were under too much load when your Cloudwatch logs were written.
Could have other uses, who knows!
https://pypi.org/project/sparkle-log/
I'll add drive space next
And I should make it support async.
Bird Flu Starter Kit:
- Silk unsweetened for cooking w/o vanilla unless you like vanilla mashed potatoes
- Oatly for coffee, it foams better than anything else.
- Almond is ok for anything
- Rice milk... just get horchata, but if you do get rice milk, it is good for drinking from the glass
- Greece has the best vegan cheeses
- Miyoko's mozzarella is the best pizza cheese.
- The good plant based cheeses will give you a heart attack, so much saturated fat, like the cow version
- Cashew, Almond, Soy are the best for yogurt. If you make it at home, only use Soy milk, something like Eden (highest protein grams per container, that is what makes it solid)
- Coconut anything is going to taste like coconut and give you a heart attack like butter does. But coconut doesn't have bird flu virus particles in it, so there is that.
- Miyoko has the best realistic butter
- Earth balance for any cooking, somewhat healthier because it usually is a blend of liquid and solid oils
New Bird Flu map.
Safety? Official were unable to say otherwise, they don't want drama.
Bird flu starter kit continued
@acegopher@octodon.social str and repr overlap. One is supposed to be "string format that is pleasing to humans" and repr is "roughly the source code representation". Both descriptions are fuzzy and neither are enforced. That last one is "gimme the source code representation of bytes and then turn it into bytes and then display that as the source code version again.
I want htop, but for #cloudwatch logs. It would write a spark graph of cpu/memory/drive space every x minutes to show what sort of load an unattended job was under while running.
Given how many htop clones exist, surely this exists already
ChatGPT says this is 5 lines of code & while there are no dumb questions, there are dumb humans.
#NASA fixed Voyager 1.
Scolded for a deployment that went 42 hours outside of the 2 hour deployment window. (joking here, it takes 44 hours to deploy & get signal back from the computer, round trip)
#govtech #retrocomputing (Hardware from 1977)
Paper, glass and plastic all have problems (deforestation, colossal carbon costs in shipping and permanent microplastic accumulating in our own bodies)
Plastic is the one that is free to sellers & vendors and all the costs are paid for by society.
Running a conference? How hard could it be? The largest conference venue can't be more than a half mile a cross, that's like 4 minutes if you run slow.
@lewiscowles1986@phpc.social Yes, that's why I was suggesting it would be a nice filter, I think there are qualitative differences between large and tiny packages that could be different depending on the problem domain. At the moment, I have to read code of each package to filter. It is a slow way to search
@lewiscowles1986@phpc.social Project solves lots of problems including making many config files merge into one config file.
Best magic trick
I think the JS/TS ecosystem has an incentive to create small libraries because of the use in browsers. If a library is big, people will complain about it being bloated & poorly factored and full of stuff they don't use.
Now that everyone makes the libraries small and targeted, that means all apps have to either reinvent everything, or pull in many small libraries, which in turn pull in many small libraries, etc
And JS/TS have ancient history of having a minimalist standard library.
Autobuild and makefile (and others!) really are unpleasant. So for 2 seconds, I thought, let's make build scripts in a real language! Python, go, rust, anything! Then I remembered the problem is calling out to a disparate set of tools that are actually CLI tools. If tools don't provide a direct API, a better build script language is still at best a nicer `subprocess` module.
Congress finally passes a military aid bill for the Ukraine. The first attempt to exterminate Ukrainians killed 10% of the population, ~4 million. Technology for mass killings has improved, so who knows what the Russian regime could accomplish if they win. If the right wants to keep out immigrants, it should be in their interest to prevent the mass displacement of people by imperial wars.
https://www.washingtonpost.com/politics/2024/04/20/house-vote-ukraine-israel-aid-johnson/
This is a good RAG, imho. I ask the bot to think using it's own memory about packages. Then I ask it to check if they really exist and are suitable for what I'm asking for.
If I ask it to query first, like Bing Copilot (Sydney?), then it will fixate on the search results and ignore its own knowledge.
This bot searches for rust library/apps and check for existence.
https://chat.openai.com/g/g-fTDUvKaLp-rust-library-application-research
#pypi should have a filter for project size. When the readme is longer than the code, it is a sign that maybe
- it shouldn't be a library (vendorize those 10 lines of code)
- it is an outline for an idea of a gist, not a library or app
I mean this is clever, but it is a long way from, say Moodle,
https://github.com/BrokenShell/MultiChoice/blob/master/MultiChoice.py
(I'm picking on pypi's search functions, not this dev. If I wanted a gist for a prompt like prompt toolkit, this would be perfect)