I’ve been trying to buy an Ebook in an EPUB format to import it in the Books app in my iPhone, and it turns out no publisher in Korea actually sells un-DRMable ebooks.
So now I have a new goal of reverse engineering the new DRM formats…
It can’t be that hard (or so I thought)
OMG I’m trying to read a book in PDF on my phone and it’s a terrible experience…
Is there really still no real answers to this?
TBF I think I got to find out how to statically link everything and produce a binary with a bunch of hacks even back in 2022, so yeah I guess it should be there nowadays.
11.8.2024 10:42TBF I think I got to find out how to statically link everything and produce a binary with a bunch of hacks even back in 2022, so yeah I...Seems like the Ladybird Browser is adopting Swift – I personally find Swift a great language to work with, but last time I tried, Swift on other platforms were not in a good shape, to say the least.
Hoping that the Foundation story got better from the last two years, the deployment story does now exist (requiring glibc and libxml2 and a bunch of other shared libraries for the Swift runtime didn’t make sense), and REPLs now actually work.
https://x.com/awesomekling/status/1822236888188498031
11.8.2024 10:41Seems like the Ladybird Browser is adopting Swift – I personally find Swift a great language to work with, but last time I tried, Swift...I’m wondering whether if I’m determined enough to jailbreak my iPad,
I’ll be able to hook up to keyboard events globally and make Opt-B `moveWordBackward:`, instead of inputting ‘∫’.
Is it possible in a technological level at all?
lol I finally settled on running an EC2 instance that runs FireFox on a headless Wayland display and then VNC-ing that to my iPad in the perfect resolution…
Scroll is janky due to the lack of GPUs on the EC2 instance though.
https://mas.to/@goranmoomin/112823369673162313
My super brittle web service runs on an SQLite database and a JSON file that gets updated with two shell scripts, launched from a systemd service and a deno script. Thought it was working quite well until it doesn’t… why is the WAL log 20GB? Ugh.
2.8.2024 20:07My super brittle web service runs on an SQLite database and a JSON file that gets updated with two shell scripts, launched from a systemd...Ouch iOS’s lack of web inspector means web debugging facilities are non-existent…
21.7.2024 07:46Ouch iOS’s lack of web inspector means web debugging facilities are non-existent…It turns out that from the systemd/sshd debacle, I prefer the KillUserProcesses=yes default – why are disconnected sshd processes still alive and taking up ports? Ugh.
21.7.2024 07:22It turns out that from the systemd/sshd debacle, I prefer the KillUserProcesses=yes default – why are disconnected sshd processes still...But that means I have to configure Caddy (my reverse proxy) or Nginx every time I open a new port in my EC2. Trying to find a better answer…
21.7.2024 06:15But that means I have to configure Caddy (my reverse proxy) or Nginx every time I open a new port in my EC2. Trying to find a better...And point 3 stabs me right now bc I need my websites in a secure context, e.g. localhost or an https location (because I use the subtle crypto API in some of my apps).
Trying to work around with a reverse proxy that supports TLS termination…
21.7.2024 06:14And point 3 stabs me right now bc I need my websites in a secure context, e.g. localhost or an https location (because I use the subtle...It turns out no iOS environment is able to provide any of them (wtf? Why does an M4 iPad exist at all), so I’ll have to provision a EC2 instance and work in that… which allows point 2.
point 1 gets solved by running code-server (https://coder.com/docs/code-server) and configuring it, which leaves point 3…
21.7.2024 06:12It turns out no iOS environment is able to provide any of them (wtf? Why does an M4 iPad exist at all), so I’ll have to provision a EC2...So I’m enlisted to the army as a KATUSA and I’m trying to set up my iPad as a development environment (since tablets are allowed but laptops aren’t).
So I’m focusing on web dev and my current requirement is that… I need to be able to
- Edit code with emacs keybindings
- Run Node.js/Python/NPM and such
- Able to preview websites while editing.
I’m trying out https://phanpy.social as a client and its experience is miles better than any other client I’ve used. Sad that it’s not a native app…
15.4.2024 15:36I’m trying out https://phanpy.social as a client and its experience is miles better than any other client I’ve used. Sad that it’s not...Realizing that there once was a time where you couldn't play videos in browsers by just stuffing in a `<video>`...
1.4.2024 07:00Realizing that there once was a time where you couldn't play videos in browsers by just stuffing in a `<video>`...The world really seems to be changing, after all.
12.3.2024 18:17The world really seems to be changing, after all.Random thought: I consider being an ASCII user as a privilege in the computer world.
13.2.2024 23:31Random thought: I consider being an ASCII user as a privilege in the computer world.Spoilers for AoC
Day 2 works with:
{pbpaste;echo} | while IFS= read -r l; do echo "${l##*:}" | tr ';' '\n' | awk -F, '
BEGIN { split("red green blue", cols, " ") }
{
for(i=1;i<=NF;i++) {split($i, a, " "); cnts[a[2]]=a[1]}
for(k in cols) {v=cols[k]; maxcnts[v]=maxcnts[v]>cnts[v]?maxcnts[v]:cnts[v]}
}
END { print maxcnts["red"]*maxcnts["green"]*maxcnts["blue"] }
'; done | awk '{sum+=$0} END{print sum}'
Spoilers for AoC
Ouch realized that I was pasting without the newline – adding the newline worked.
2.12.2023 06:42Spoilers for AoCOuch realized that I was pasting without the newline – adding the newline worked.Spoilers for AoC
Day 2 (ongoing): tried to use a shell one-liner (with the magnificent awk), failing to find what's the problem here.
```
pbpaste | while IFS= read -r l; do echo "${l##*:}" | tr ';' '\n' | awk -F, '
{
for (i=1;i<=NF;i++) {print $i; split($i, a, " "); cnts[a[2]]=a[1]}
if (cnts["red"]>12||cnts["green"]>13||cnts["blue"]>14) {print "fail"} else {print "success"}
}' | grep fail >/dev/null || echo "${l%%:*}" | sed 's/Game //g'; done | awk '{sum+=$1} END {print sum}'
```
⬆️
⬇️