Use C do crime!
Important notes for LARBS users
Two notes for LARBS users:
- Xorg went through some updates last week that changed how it calculates dots-per-inch (DPI) on screens. There’s a chance that you might update and find your font extra large or small. If so, you can just manually add
xrandr --dpi 96to the beginning of yourxprofileto set the DPI to the typical 96 (or whatever number looks best).
- I have no switched new installs of LARBS from using Pulseaudio to Pipewire as an … ⌘ Read more
Important notes for LARBS users
Two notes for LARBS users:
- Xorg went through some updates last week that changed how it calculates dots-per-inch (DPI) on screens. There’s a chance that you might update and find your font extra large or small. If so, you can just manually add
xrandr --dpi 96to the beginning of yourxprofileto set the DPI to the typical 96 (or whatever number looks best).
- I have no switched new installs of LARBS from using Pulseaudio to Pipewire as an … ⌘ Read more
[WIP] Query any data source using SQL, building Presto or AWS Athena alternative
xyr is a very lightweight, simple, and powerful data ETL platform that helps you to query available data sources using SQL.
- Simple Presto Alternative.
- Simple AWS Athena Alternative.
- Convert your JSON documents into a SQL DB.
- Query your CSV files easily and join them with other data.
internaly
xyrutilizesSQLiteas an embeded sql datastore (it may be changed in future and we c … ⌘ Read more
** Operators in C **
Following up my notes on Data Types and Variables in C here are notes on operators in C.
An operator is a symbol that represents a mathematical or logical operation. An operator effects operands.
C provides a number of operators.
Some arithmetic operators include,
”`hljs plaintext
+*
/
%
”`
% is the most exciting of the list, it is called modulo and it returns the remainder after division. Of note, modulo c … ⌘ Read more
@adi@f.adi.onl What about this one?
SRCFILES = $(wildcard *)
# remove existing *.gz (actually doubles entries)
CLEANSRC = $(SRCFILES:.gz=)
DSTFILES = $(addsuffix .gz, $(CLEANSRC))
%.gz: %
gzip -c $< > $<.gz
all: $(DSTFILES)
You must not have subdirectories in that folder, though.
@movq@www.uninformativ.de I don’t by your example (rebasing behaviour), sorry.
Writing a twt is more similiar to writing a commit message. Git does quite some checks to detect that nothing new was written and happily discards a commit if you just leave the editor. You don’t need any special action, just quit your editor. Git will take care for the rest.
But it’s OK as it is. I just didn’t expect that I have to select and delete all to discard a twt. So it’s C-x h C-w C-x C-c for me.
@movq@www.uninformativ.de My workflow is as follows.
I hit “reply” hotkey and my editor comes up.
With or without writing something I close my editor without saving the content.
Of course I close it by C-x C-c, not by :q! ;-)
Jenny finds the temp file unchanged, e.g. it’s content is the same as it was when my editor was started. I would like that jenny discards the reply then.
Autosaving is no problem either. Real editors do this to a temporary (kind of backup) file. Only in case of a crash that file is consulted and the user is asked if she would like to continue with that stored content.
Video: C Programming on System 6 - Amend Revision Control System
It’s been almost a year since my last confessional video. A few weeks ago I started working on a small revision control system to handle my C projects developed on my Mac and it’s now at the point where I can at least manage commits to the tool itself. ⌘ Read more
PEP 670: Convert macros to functions in the Python C API
Convert macros to static inline functions or regular functions. ⌘ Read more
** Data Types and Variables in C **
I’ve been writing a heap of Lua lately — this has lead to my becoming interested, again, in C. Here are some ancient notes I dug up on the most basics of data types and variables in C.
All of a computer’s memory is comprised of bits. A sequence of 8 bits forms a byte. A group of bytes (typically 4 or 8) form a word. Each word is associated with a memory address. The address increases by 1 with each byte of memory.
In C, a byte is an object that is as big as t … ⌘ Read more
C Programming Languages Removes Pointers
Pointing is rude. ⌘ Read more
a simple Makefile for forwarding internet to your local machine:
SSH_HOST=https://xuu.me
PRIV_KEY=~/.ssh/id_ed25519
forward:
LOCAL_PORT=$(HOST_PORT); sh -c "$(shell http --form POST $(SSH_HOST) pub=@$(PRIV_KEY).pub | grep ^ssh | head -1 | awk '{ print "ssh -T -p " $$4 " " $$5 " -R " $$7 " -i $(PRIV_KEY)" }')"
Hiring: Cosmos SDK Golang Engineer
1 points posted by golangch ⌘ Read more
Obfuscated drum synthesis in C !tinydrums
Obscenities are symptoms of weak minds.
Over the past few years, I made the decision to totally cut obscenities out from my speech. You might actually be able to find recordings of me cursing four or five years ago, but as of now, I really stand by my decision.
Obscenities are the linguistic equivalent of an trashy emaciated person entirely decked in tattoos, smoking cigarettes and wearing a shirt with nudity on it. They’ll defend what they do on the idea that it’s someone “their right,” or “e … ⌘ Read more
Obscenities are symptoms of weak minds.
Over the past few years, I made the decision to totally cut obscenities out from my speech. You might actually be able to find recordings of me cursing four or five years ago, but as of now, I really stand by my decision.
Obscenities are the linguistic equivalent of an trashy emaciated person entirely decked in tattoos, smoking cigarettes and wearing a shirt with nudity on it. They’ll defend what they do on the idea that it’s someone “their right,” or “e … ⌘ Read more
USV-C
⌘ Read more
A screenshot of a very tiny c program written on System7
I’ve got to use macOS by nature of my work. Lately I’m increasingly down on this. Here I will not re-hash anything about the current state of Apple’s hardware and software ecosystem. I don’t care.
Wanting to take a trip down nostolgia lane, however (to when I was 2 years old) I thought I’d install Mac OS System 7. What follows is a quick guide for doing the sa … ⌘ Read more
Pressed C-t (transpose) for the second time ever today.
phew. took me long enough, but I finally got an initial draft for using the monome grid in C directly via libmonome: !grid_tutorial
Dual USB-C ⌘ Read more…
“ç”, I think. Anything above 7-bit ASCII would’ve done it, though.
I and @r1k@r1k.tilde.institute developing new client for twtxt: https://tildegit.org/g1n/twtxt-c
I and @r1k@r1k.tilde.institute developing new client for twtxt: https://tildegit.org/g1n/twtxt-c
Look for overcast in Düsseldorf with a temperature of 22.7°C. No rain is expected at this time. Expect a gentle breeze from the WestSouthWest.
@prologic@twtxt.net @jlj@twt.nfld.uk @movq@www.uninformativ.de
/p/tmp > git clone https://www.uninformativ.de/git/lariza.git Mon May 24 23:48:18 2021
Cloning into 'lariza'...
/p/tmp > tree lariza/ 12.5s Mon May 24 23:48:32 2021
lariza/
├── BUGS
├── CHANGES
├── LICENSE
├── Makefile
├── PATCHES
├── README
├── browser.c
├── man1
│ ├── lariza.1
│ └── lariza.usage.1
├── user-scripts
│ └── hints.js
└── we_adblock.c
2 directories, 11 files
Belgique « Ruche » de Zedelgem Des SS lettons commémorés en Flandre - Et c’est passé inaperçu depuis 2018 !!? @dreynders @CharlesMichel @eucopresident ⌘ Read more…
https://en.cppreference.com/w/c/language c doc code
https://www.labophilo.fr/2020/06/30/c-est-pas-sorcier-l-int%C3%A9grale-559-vid%C3%A9os-en-visionnage-gratuit/ savoir formation
https://curl.se/libcurl/c/https.html code curl écriture
https://ybad.name/Logiciel-libre/Code/Snippets/C.html code snippets écriture
https://devdocs.io/c/ "c" code
a b c d e f g h i j k l m n o p q r s t u v w x y z
s̶p̶a̶c̶e̶ ̶c̶o̶m̶p̶u̶t̶e̶r̶s̶ hiding my ambitions behind a video game / sim program ⌘ Read more
Hoping this will be my last twt from this Ctrl-C Club locale; my pod is up & running at twt.nfld.uk. :-) Planning to migrate this week!
Hoping this will be my last twt from this Ctrl-C Club locale; my pod is up & running at twt.nfld.uk. :-) Planning to migrate this week!
C’est que ces plateformes, même si elles en ont toutes les apparences, ne sont pas conçues comme des lieux publics. » ⌘ Read more…
FOLLOW: @xuu@txt.sour.is from @jlj@ctrl-c.club using twtxt/1.2.3
I’m posting this from ~ an old 3G iPhone and have logged it into my tilde club shell a/c.
Video: C Programming on System 6 - SOCKS5 Support ⌘ Read more…
Started playing with the gemini protocol on ctrl-c.club
Video: C Programming on System 6 - Adding a GUI to diff(1) ⌘ Read more…
lil (little interpretted language) is a tiny scripting language with implementations in C and Pascal. Apparently, the author maintains it in a private !fossil repo, which is pretty neat: [[http://runtimeterror.com/tech/lil/?ref=hvper.com]] #links
Video: C Programming on System 6 - Porting OpenBSD’s diff(1) ⌘ Read more…
Video: C Programming on System 6 - Message Flags ⌘ Read more…