Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ValdikSS
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
211.
▲
by
ValdikSS
9mo ago
That's easy to fix: Step 1: sudo tee /etc/tmpfiles.d/mglru.conf <<EOF w- /sys/kernel/mm/lru_gen/enabled - - - - y w- /sys&
212.
▲
by
ValdikSS
9mo ago
Disposable Root Servers: https://www.thc.org/segfault/ Segfault offers free unlimited Root Servers. A new server (inside a Virtual Machine) is created for every SSH connection. - Dedicated Root Server for every u
213.
▲
by
ValdikSS
9mo ago
I've debugged so many issues in my life that sometimes I'd prefer things to just work, and if reboot helps to at least postpone the problem, I'd choose that :D
214.
▲
by
ValdikSS
9mo ago
In this case I used `perf` utility, but only because the server does not have a proper observability tool. Take a look at this Netflix presentation, especially on the screenshots of their web interface tool: https://archives.kern
215.
▲
by
ValdikSS
9mo ago
>perf is a shell tool. iptables is a shell tool. sshguard is a log reader and ultimately you will use the CLI to take action. Well yes, and to be honest in this case I did that all over SSH: run `perf`, generate flame graph, copy the .sv
216.
▲
by
ValdikSS
9mo ago
>It is where I attach a debugger, it is where I install iotop and use it for the first time. It is where I cat out mysterious /proc and /sys values to discover exotic things about cgroups I only learned about 5 minutes prior in
217.
▲
by
ValdikSS
9mo ago
>What I need are tools for when the unknown happens. There are tools which show what happens per process/thread and inside the kernel. Profiling and tracing. Check Yandex's Perforator, Google Perfetto. Netflix also has one, for
218.
▲
by
ValdikSS
9mo ago
https://js13kgames.com/
219.
▲
by
ValdikSS
9mo ago
Nah, I got into printing because nobody made a commercially available print server, and I ended up making my own, with all the involvement in the stack in the process. I wish Openprinter luck, as it has been announced in the end of Septembe
220.
▲
by
ValdikSS
9mo ago
I work mostly with the old microcontroller-based cheap consumer ("GDI") USB models circa 2000-2010, these are hardly possible to brick with software, as some of them even don't have a firmware and expect the PC to upload it o
221.
▲
by
ValdikSS
9mo ago
Spent about 2 years improving printing and scanning stack of Linux: CUPS, SANE, AirSane, as well as some legacy drivers, and also x86 proprietary driver emulation on ARM with Box86. Even that "modern" printing stack in Linux is 20
222.
▲
by
ValdikSS
9mo ago
Is that your article? >I have a collection of over 10,000 PDF files Could you upload it somewhere please? I need a collection to test CUPS pdftopdf converter for printing, as well as rasterizers, such as ghostscript, poppler, mupdf and o
223.
▲
by
ValdikSS
9mo ago
And sometimes quite faster: https://printserver.ink/blog/box64-vs-fex/
224.
▲
by
ValdikSS
9mo ago
>right now I have 4K on 24", at 200% scaling I have Dell P2415Q, from 2015. There are, like, 4 other (legacy) models of 24" 4K out there, and that's it. I've no idea why they don't manufacture them.
225.
▲
Box64 vs. FEX Emulation Performance on ARM Cortex-A53
(printserver.ink)
2 points
by
ValdikSS
9mo ago
|
0 comments
226.
▲
by
ValdikSS
9mo ago
What's encrypted printing? How does it work?
227.
▲
by
ValdikSS
9mo ago
It is: https://grsecurity.net/faq
228.
▲
by
ValdikSS
9mo ago
grsecurity project has fixed many security bugs but did not contribute back, as they're profiting from selling the patchset. It's not uncommon for the bugs they found to be rediscovered 6-7 years later. https://xcancel.
229.
▲
by
ValdikSS
9mo ago
Funny enough, that Digital Insanity tune was just an embedded .mp3, which was considered very low-key for the time—it greatly enlarged the .exe size compared to the chiptunes.
230.
▲
by
ValdikSS
10mo ago
KDE Connect does that in LAN. Clipboard sync, file transfer, contacts, calls, remote control, etc.
231.
▲
by
ValdikSS
10mo ago
swap requires MMU, so no, unfortunately. But there are tricks to have XIP userspace: cramfs supports it, as well as a special AXFS file system. cramfs parses ELF files and marks XIP only a .text/ro segments of it, not the whole file.
232.
▲
by
ValdikSS
10mo ago
In case anyone interested, you can run (nommu) Linux on ESP32 Xtensa boards https://github.com/jcmvbkbc/esp32-linux-build ESP32-S3 N16R8 is <$5 on aliexpress: - Dual-core Xtensa 240 MHz - 16 MB NOR flash (
233.
▲
by
ValdikSS
10mo ago
Bootstapping is so complex, here's 181-step document to compile Linux: from "commented opcodes" in hex0 to assembler with labels, from simple C compiler to ~c89 compiler to tinycc ~c99 compiler, from simple shell to scheme in
234.
▲
by
ValdikSS
10mo ago
Growing Living Rat Neurons To Play... DOOM? | Part 1 https://www.youtube.com/watch?v=bEXefdbQDjw
235.
▲
by
ValdikSS
10mo ago
And on many other platforms the CPU also does not boot itself. Many SoCs have a small core which configures and boots all the other cores (usually Cortex-M or similar).
236.
▲
by
ValdikSS
10mo ago
Well, "Traditional PC Boot" is also not like that on Intel, the booting is started from the chipset, from Intel ME. It boots the CPU.
237.
▲
by
ValdikSS
10mo ago
My service (which doesn't have public access, only via SSH as a client) was used by a ransomware gang, which involved the service in investigation from Dutch CERT and Dubai police. It's still live though.
238.
▲
by
ValdikSS
10mo ago
I'm running the similar but different, protocol-agnostic service: https:/ssh-j.com/ Only regular SSH to serve, regular SSH to connect. No public URLs though (it's not for web services).
239.
▲
by
ValdikSS
11mo ago
They took already existing protocol (XMPP) and already existing implementation in Erlang (ejabberd)—there weren't many alternatives at the time really.
240.
▲
by
ValdikSS
11mo ago
There is some—VueScan for example, where the developer reverse-engineer scanning protocols, re-implement and sell it.
More ›