
⌨️ software developer 🎲 demoscener 💾 retrocomputing fan
Hannover, Germany
Joined October 2009
- Tweets2.8K
- Following235
- Followers239
- Likes1.8K
The day has come - I have to leave this platform :(
Yesterday, Twitter "suspended" my custom app that I use to read Twitter, because it "violated Twitter Rules and policies" (without saying which ones specifically, and I also don't see any that would apply).
1
263
I'd love to appeal the suspension, or get support and fix whatever issue there might be, but I can't.
The "submit a support ticket" option is a dead link.
I can't appeal a locked or suspended account, because my account isn't suspended. It won't even let me fill out the form.
So, unless @TwitterSupport can help me, or somebody points me to the form where I can indeed appeal suspension of an app (*not* an entire account!), I won't be able to access Twitter any longer :(
1
106
Hot take: the Flatpak / Snap plague is worse than everything that Poettering ever did to the desktop Linux ecosystem.
Windows misfeature of the day: Holding Shift while pressing a Numpad key with NumLock enabled temporarily *disables* NumLock and causes the respective cursor key to be registered. It even simulates the brief release of the Shift key to make the illusion perfect.
1
70
That is certainly a well-intentioned feature, but it's a real PITA if you want to detect such a situation and handle Shift+Numpad presses as such. You need to resort to ugly and potentially unreliable hacks to pull it off :(
1
41
KeyJ retweeted
Monday - Greg
Tuesday - Ian
Wednesday - Greg
Thursday - Ian
Friday - Greg
Saturday - Ian
Sunday - Greg
The Gregorian Calendar
WTF? Debian removes Python 2: bugs.debian.org/cgi-bin/bugr…
Now that's a huge "f*ck you" for everybody who still uses old scripts. This makes me really sad; Debian used to be conservative and focused on stability, and now they're doing stuff like this.
1
105
#AdventOfCode 2022/20, Python 3, 227 Bytes:
V=[*map(int,open("input.txt"))];N=len(V)
def P(c):
O=[*range(N)];I=O.index
for r in O*c:i=I(r);O.insert((i+V[O.pop(i)])%(N-1),r)
print(sum(V[O[(I(V.index(0))+i*1000)%N]]for i in(1,2,3)))
P(1);V=[n*811589153for n in V];P(10)
#AdventOfCode
T,X=tuple,(0,1,2)
G={tuple(map(int,l.split(',')))for l in open("input.txt")}
A={0};q={T([-1]*3)}
N=lambda s:(T(p[i]+d*(a==i)for i in X)for d in(-1,1)for a in X for p in s)
while q:A|=q;q={z for z in N(q)if all(-2<c<22for c in z)}-A-G
print(sum(z in A for z in N(G)))
#AdventOfCode /18
T,X=tuple,(0,1,2)
G={T(map(int,l.split(',')))for l in open("input.txt")}
A={0};q={T([-1]*3)}
N=lambda s:(T(p[i]+d*(a==i)for i in X)for d in(-1,1)for a in X for p in s)
while q:A|=q;q={z for z in N(q)if all(-2<c<22for c in z)}-A-G
print(sum(z in A for z in N(G)))
67
I couldn't resist solving day 1 of this year's #AdventOfCode in x86 assembly. The result: a 256-byte DOS .COM file, runs on any 8088/8086 machine with >=128k of RAM and DOS 2.0. Takes ca. 2 seconds to run on an OG IBM 5150, *including* floppy loading time.
github.com/kajott/adventofco…
1
4


