

Yeah idk, maybe my setup is bad
Yeah idk, maybe my setup is bad
i have a .clangd file with
CompileFlags:
Add: [
CompilationDatabase: /src/
-Wall,
-I/nix/store/vm10zh43xgfxvgrqs8brz6v6xyrq9qin-glibc-2.40-66-dev/include,
-I/nix/store/64819v2lcdbdqqb52gyqpic3khn4hvyf-libcxx-19.1.7-dev/include,
-I/nix/store/f4x7z33ymmqn0m0pvi5ydxifsfmic1jw-raylib-5.5/include,
-I/nix/store/wakcjb523m43qbm4xblyqm7rgg9l9s32-glu-9.0.3-dev/include,
-I/nix/store/8xbbdx4ckcdj76ldb0cbym965whipq72-libglvnd-1.7.0-dev/include,
-I/nix/store/b5i8r0l5bnaj8khjz4lsmsdph8dkha3s-libX11-1.8.12-dev/include,
-I/nix/store/l1qkka1svxk8s0myynmb6kgl0ni19mjk-xorgproto-2024.1/include,
-I/nix/store/y91x77rjip3i5zdza2ikf2lj80qc0286-libxcb-1.17.0-dev/include,
-I/nix/store/95hqc5scvz3vxhs0p1crx9rr5r1sfs1i-compiler-rt-libc-19.1.7-dev/include,
-I/nix/store/64819v2lcdbdqqb52gyqpic3khn4hvyf-libcxx-19.1.7-dev/include,
-I/nix/store/f4x7z33ymmqn0m0pvi5ydxifsfmic1jw-raylib-5.5/include,
-I/nix/store/wakcjb523m43qbm4xblyqm7rgg9l9s32-glu-9.0.3-dev/include,
-I/nix/store/8xbbdx4ckcdj76ldb0cbym965whipq72-libglvnd-1.7.0-dev/include,
-I/nix/store/b5i8r0l5bnaj8khjz4lsmsdph8dkha3s-libX11-1.8.12-dev/include,
]
and a create-clangd.py
3 includes = []
4 with open("./src/compile_commands.json", 'r') as f:
5 lines = f.readlines()
6 for line in lines:
7 if "include" in line:
8 includes += [line[1:-2].strip()]
9
10 s = """
11 CompileFlags:
12 Add: [
13 CompilationDatabase: /src/
14 -Wall,
15 """
16
17 for include in includes:
18 s += "-I" + include[1:-1] + ",\n"
19
20 s += "]"
21 print(s)
22
23 with open(".clangd", 'w') as file:
24 file.write(s)
I forgot how I made the compile-commands.json file. I think I used a program called bear.
I also don’t code cpp normally, I just did this for one small project, so it might be a bad solution
The big email providers will send all of your mail to spam if you selfhost it though.
xournal++, you can write text with your keyboard, latex, you can add audio
you can’t add video though
Linus moment. He isn’t wrong though
You don’t need to follow the entire spec for a usb c. Usb c has a display port mode, but most laptops that have this won’t have it on every port. Most usb c cables also don’t support display port mode, which is annoying because they usually won’t say if it supports it.
Usb c extension cords are not allowed and yet they exist
The nixos repo size is misleading, since it also repackages python packages, haskell packages, emacs packages, etc even though you can still download them the normal way.
Its good for evading the law.
Every wish you grant causes you to owe more wishes to the genie
Adults arent watching cocomelon or aphmau
I’ve gotten segfaults in python with only the standard library
There was a peer 2 peer reddit clone I used 5 years ago. It was a standalone app for linux. I forgot what it was called. It was pretty dead back then though, less than one post per day.
edit: i found it https://getaether.net/
def even(n: int) -> bool:
code = ""
for i in range(0, n+1, 2):
code += f"if {n} == {i}:\n out = True\n"
j = i+1
code += f"if {n} == {j}:\n out = False\n"
local_vars = {}
exec(code, {}, local_vars)
return local_vars["out"]
scalable version
tetrio and osu are competitive games that don’t have kernel anticheat
On pc jetbrains toolbox uses localhost to login via browser for some reason, which was blocked by one of my extensions
Yeah I have it in termux. Ollama is in the package repos for termux. The speed it generates does feel like cpu speed but idk
You can use it in termux
Huh I guess that doesn’t happen anymore, because I was at a mall the other day and some guy was trying to convince me to buy a bootleg console with like 9000 games
websockets