These C for beginners books that are a page of expositions per bullet item in the C spec, this is human generated slop. It is sold for $30 and crappy books like this have been around since forever. So bad an AI could have written it better in the sense that it would be 10c to generate and no worse. ~20 pages on integer types where a small table would do.
Home
Public posts preserved on my own site.
Want to use a VPN so I can feel like I'm important enough for villainous forces to try to do something to me.
What kind of democracy is Swarm? I just show up three times and I'm mayor. And then no one listens to my policy agenda.
@kate@fosstodon.org For some definition of old, most old adults, vegan or otherwise are short on b12 due to absorption problems
This function does nothing but succeed. You can use it in all of your test suites.
```python
def test():
pass
```
Success in C takes more work
```c
/* A test case that does nothing and succeeds. */
static void null_test_success(void **state) {
(void) state; /* unused */
}
```♡ 0 ↻ 0Only humans can do nothing and fail. The machines can never take that away from us.
♡ 3 ↻ 2
The bot & me are writing a dating sim. And since I'm a romantic, the gaming mechanic is based on economic production functions (flattery, gifts and time together go in, affection is the output)
@AlSweigart I disapprove, not vegan. The mock meat version is fine.
Vacation to the beach? No kids, we got cmake at home.
Chipotle should do a "your year wrapped" it would make more sense.
[12] Sofritas burritos
[2] Chips♡ 2 ↻ 0
US techies, what's your opinion of 1099 work? (I have no interest whatsoever in the "be your own boss" or working for 2+ clients, or having employees)
Is this a race to the bottom way to get cheap tech staff because companies don't have to pay payroll tax in any state?
IDEA: CMake find_package for python. It will just go look for a package in some venv somewhere on your machine and use that. At the office it will also check the X: drive, your Dropbox, your friends Github repos, and your email in case there is a zipped folder of .py files that have the right package.
Damn, I sort of want to implement this now.
Me looking for example gh action files using cmake
- single file, hello world
- .... nothing ...
- 25000 lines of yaml, 76000 lines of CmakeList.txt for ML libraries
#Clion is easy until you want to deploy to .github/build.yml and you have to convert the build configuration back into code.
Interesting "blog post" about why COBOL translates poorly into modern languages like C#
COBOL was (likely?) modeled on Assembler.
This matches what my coworker said- when you hit a wall with COBOL, you just switched to Assembler, which at the time seemed crazy, but if COBOL is thin layer over assembler, maybe not.
#atuin wrapped
My commands were mostly `just`, `make` and `cd` and `poetry` - and they failed 1/2 of the time.
I should branch out I guess.
Find out how many of your AWS identifiers and stuff leaked
(if an ARN isn't publically accessible, should I care?)
@ianturton just the easy stuff, like adding `command || true` to the terminal command so the window doesn't close on crash (or a process exit command somewhere)
@chrisod You can get your **2014 **calendar out and re-use it.
Family separation policies resume. Many children are still orphaned from the first time this policy was tried.
Minecraft Server in #cobol
https://github.com/meyfa/CobolCraft
Surprisingly readable and stays in COBOL most of the time, not too much resorting to C.
I think it deserves more stars.
I just reviewed my side projects for money making potential and it is so grim.
- Developer tools: worthless
- Enterprise tools: Worth a lot, no way to monetize without enterprise sales staff, minimal scope is huge
- Consumer apps: Hard to find anything that hasn't already been done, willingness to pay is low so you need so many customers.
- Cyber begging: Works for large cultural phenomena with corporate backers, think PyPA. Not so much for individuals
- Influencers: This does seem to work, but the main job is creating content and growing your fanbase. The side project 3/4 of the time is selling more content, 1/4 the time an app that is nothing special but can sell because you have an audience, thing Sabine Hossenfelder's quiz app. Downside: you can't become famous quick, nor on purpose.
♡ 0 ↻ 1
Coding Kata: You are Ebenezer Scrooge the morning of what could be Christmas. It is too cold to open the window to shout at passer-bys. Write a #python script to get the date, check the obituaries for Tiny Tim and use stripe to transfer a proper salary to your office staff.
Have a COBOL Christmas.
What is cool about this is that you can run many compiled programming languages as a script using this shebang:
`///usr/bin/true; exec cobc -xj -fmfcomment "$0" "$@"`
- The target language has to tolerate comments starting with # or /
- The "script" has to be single fileWorks for golang, I haven't tried it for rust.
For gnucobol for it to work, you have to also set a bunch of environment variables because that is how gnucobol rollls.
♡ 2 ↻ 0
Recruiter: "Quick we need a Junior developer from 2010 who spent 2005-2010 getting experience with .NET. We'd like to pay them 2010 salary, not adjusted for inflation"
Me: "That young, optimistic, uncynical man, he just isn't here anymore. You are 15 years too late. All that is left is this guy who knows .NET but has a 2025 mortgage. And python! Let me convert it all to Django-Postgres on AWS for you."
The emperor god king habit is habit tracking.
I'm thinking about AWS Step Functions. (Also so many similar workflow things, like .NET 3.5 Workflows). They store state in what in python would be a pickle. They seem to be for programs that take months to run. But why not be stateless and store the workflow steps in a regular database?
Epiphany....
Workflow products are for solving large **bureaucracy** problems. It is a **social** problem. You have 3 huge apps and you need code to call all three of them in a long running script/application. None of the teams want to help you with this feature, maybe none of these 3 teams can call each other directly. So you hack together a visual code "script" that glues together these three *teams*
♡ 3 ↻ 0These tools exist for the same reason low-code programming languages like UIPath exist... your department needs a bug fix or feature in an app, but the team ignores you, has a delivery time horizon of years, the team was all fired 10 years ago. And all you need is a bulk export or some fix that is possible if only you could script the app, even if only via the GUI.
♡ 2 ↻ 0
Is your python code full of `):` ?
Go search for it and add the annotation for the return type.
The future of computing is counting my fingers, which can bend into many good or even super positions. When the technology improves enough, I will be able to crack all codes, simulate atomic bombs, all in seconds. Right now, it would take quadrillions of years. But as soon as I can fix error correction, speed, a lack of applications other than typing on a keyboard, the random wiggling of my fingers will revolutionize computing.
End that shutdown playlist and time to play the work as usual playlist.
You got 7 matchsticks arranged to make an 8. Make one move to get a null reference.
(set them on fire! It is a matchstick, why do these problems with matchsticks if you don't set them on fire?)
I got an Orcid. Unemployed arm chair philosopher. Not yet published in a Peer Reviewed Journal, but I got peer reviewed Pull Requests.
I'm on the job market again, anyone need an Python/AWS developer for an IC or Tech Lead role?
- For remote, my jurisdiction is Virginia, USA
- In person in Northern VA, DC
Resumes, portfolio, contact info see following tweets:
- ♡ 1 ↻ 0
- ♡ 1 ↻ 0
Hire me or fire me with a single click directly on my resume!
I'm on the job market again, anyone need an Python/AWS developer for an IC or Tech Lead role?
- For remote, my jurisdiction is Virginia, USA
- In person in Northern VA, DC
Resumes, portfolio, contact info here:
https://github.com/matthewdeanmartin
#fedijob #fedijobs #hiring #hiringnow #jobsearch #hireme #fedihire #fedihired #getfedihired #layoff #lookingforwork #opentowork
#forhire #techjobs #techishiring
And my LinkedIn page
♡ 0 ↻ 1
Railroad programming with `returns`.
I think this makes sense for that chunk of code in your app that is
- super complicated
- flaky
- lots of code paths
- and has to work or the whole app & project fails
https://www.youtube.com/watch?v=qkxf583t4Vc&ab_channel=ArjanCodes
I'd add to this list some more high cost big guns for squashing/preventing bugs
- typeguard (I got frustrated and stop using this)
- hypothesis (This is hit or miss if it adds value)
- mutatest/mutmut (I haven't used these)
- 100% coverage
- pyta (pre/post condition checking)
- mypy for None safety (not sure this is achievable like in other languages with null safety)♡ 1 ↻ 0
People, you're killing me
```python
class FatalConversationError(Exception):
```
TODO: Write MATTLAB, which just sends me emails with your math problems and I reply that I don't know, it's over my head.
Why don't people who like minimalist code editors use here strings in the terminal? Too high level? Maybe a byte stream editor. Too high level? Toggle switches? Go used toggle switches, show us how macho you are.
@neurobashing He can sneak in to leave the merch, he can sneak in to get the cash to pay for it.
me reacting to another "SAFe-like Agile is bad" video
- tuning the amount of process a team needs is hard. Intra-team & the teams customers are not going to agree on what level of process creates value. So it will always be wrong.
- the bureaucracy isn't for the ICs, it is for giving the nontechnical chain of command warm fuzzies. What gives me warm fuzzies? Unit tests & build scripts. The chain of command can't evaluate that.
There are roughly 2 models for selling software
- Tech companies (e.g. Google makes Chrome), (ex)-developers are the Board, Prez, VP all the way down the org chart.
- Big Org hires a "Service" company (GM or US Gov't hires Booze Allen)
The 2nd is managed by the non-technical bureaucracy. Prolly no one else can be the customer, but the project quality & risks suffers for the seam between a non-technical org and a technical org.♡ 2 ↻ 0COTS? That is the idea that no Service company can write code for another company, it's just impossible. I think the world isn't so pessimistic, still, the Service model of writing code is inherently risky & suboptimal.
& we blame it on SAFe or Waterfall or Federal SDLC, but that imho, is what you get when a nontech org is Board, Prez, VP all the way down except the code monkey, who doesn't understand the cause of the pain but sees the SDLC or SAFe cattle prod that he's constantly poked with.
♡ 1 ↻ 0
On mastodon the truth that left/right policy bundling is based on irrational (neo)tribalism is more obvious that usual because it is an even mix of Europe and US & the left & right of each don't bundle issues the same.