Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dezgeg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
241.
▲
by
dezgeg
4y ago
rp2040 doesn't run Linux unlike all the other Raspberry Pis.
242.
▲
by
dezgeg
4y ago
On Gameboy copying some code to RAM is essentially required if you want to use sprites, because the fastest way to update the sprite attributes (so called OAM) is to use DMA. And during OAM DMA the CPU cannot access anything else than a int
243.
▲
by
dezgeg
4y ago
Hmm, isn't the Apple-specific magic only for parity(PF) and aux carry (AF)? aarch64 does have a 'V' flag for signed overflow.
244.
▲
by
dezgeg
4y ago
In particular there seem to be couple of MMIO stores, maybe those are done with some accessor/macro which accidentally makes too much stuff volatile causing this extra zero-addition etc. So yes seeing all the code could give some clues
245.
▲
by
dezgeg
4y ago
Could have written disclaimer in the 'kill -HUP' example that they should be only sent when it is known that the destination process will handle it, as the default for most signals is to terminate the process. Especially since eve
246.
▲
by
dezgeg
4y ago
Plenty of routers (especially on Broadcom chipset).
247.
▲
by
dezgeg
4y ago
Wire format could be the same. But to prevent eg. homoglyph attacks the principle on what non-Unicode characters are allowed would be 'default deny'.
248.
▲
by
dezgeg
4y ago
Perhaps good trade-off would have been that non-ASCII is allowed only in country code TLDs, with these country operators limiting to only characters in their own alphabet. E.g. for Finland .fi could do fine with just allowing ASCII + ä, ö,
249.
▲
by
dezgeg
4y ago
There is even some precedent, for example original Alpha AXP instruction set only supports 32-bit and 64-bit memory reads/writes, while still having 8-bit char. Although, I guess the bigger problem is to how to represent pointers to 8-
250.
▲
by
dezgeg
4y ago
Not sure if I got the same interpretation (both languages on YLE and HS one seem quite ambiguous). My interpretation I got is Jorvi cannot even admit in patients from ambulances for urgent care, wheras Töölö, Peijas and Hyvinkää have all be
251.
▲
by
dezgeg
4y ago
Initramfs archives have a little-known secret: you can simply concatenate them even when they are compressed and the kernel will parse them all. So appending stuff doesn't need unmkinitramfs (which is indeed painful due to needing to k
252.
▲
by
dezgeg
4y ago
And even still today this kind of manual hand-patching will be done for minor bug fixes (instead of 'recompiling' the layout from the RTL code). One motivator is if the fixes are simple enough, the modifications can be done such t
253.
▲
by
dezgeg
4y ago
> Yes, st_ino too, which means it could also break on a filesystem with large enough inode numbers. Yep, been broken for 8 years in some Valve's games: https://github.com/ValveSoftware/Source-1-Games/issues
254.
▲
by
dezgeg
4y ago
So that people cannot press these key combinations behind Alt+PrintScreen: https://en.wikipedia.org/wiki/Magic_SysRq_key (assuming there is a keyboard, of course).
255.
▲
by
dezgeg
4y ago
On the kernel side please use kernel.sysrq=0 also to disable magic sysrq (usually under key combo Alt+PrintScreen).
256.
▲
by
dezgeg
4y ago
Can you share some concrete examples where you think "kernel C" is really unlike normal C? Sure, there will be couple of additional things the programmer needs to be aware of (e.g. special care needed when inside interrupt handler
257.
▲
by
dezgeg
4y ago
Depends on how much of the stack is implemented in software and how much in fixed-function silicon.
258.
▲
by
dezgeg
4y ago
Are the Rx/tx protocols really that symmetrical that an UT can receive and decode transmission from another UT? Since for cellular networks that is definitely not the case.
259.
▲
by
dezgeg
4y ago
Reporting bugs to the kernel bugzilla has high chance of being pointless. Most developers never use it. Needs to be posted to the mailing list (hardest part is locating the correct list).
260.
▲
by
dezgeg
4y ago
I wonder if one could bind-mount some other proc file (say /proc/$EVIL_PID/cmdline) over cpuinfo to fake content. Would meet root and be visible in mount output though.
261.
▲
by
dezgeg
4y ago
> The bigger deal for me would be this old laptop and card speaking WEP rather than WPA3. As I understood, this is exactly helping with not having to use WEP. The Pico is simulating a NE2000 ethernet card, so any old pre-WPA Windows98 dr
262.
▲
by
dezgeg
4y ago
Using GNU Guix (the distribution) should be a logical and simple test-bed to see how exactly glibc/gcc pre-release would affect downstream packages.
263.
▲
by
dezgeg
4y ago
Hm, where is it possible to enter the PIN that early? Everywhere I have seen the reader will only ask PIN once the full amount to be charged is known.
264.
▲
by
dezgeg
4y ago
It would be neat if filesystems like btrfs or ZFS could expose their internal checksum of the file data to userspace, to quickly see if two files are having identical content (eg. think of rsync). (Assuming the hashes computed internally th
265.
▲
by
dezgeg
4y ago
I suppose it's perfectly allowed for MacOS to simulate Unix hard link semantics (ie. names are just pointers to inodes, with each name being equal) even though the underlying filesystem doesn't have the name+inode split. It seems
266.
▲
by
dezgeg
4y ago
It would not be a small change if you wanted to actually make them usable for the standard library - ie. add a second 'struct bytes'-variant of EVERY function that currently accepts a NUL-terminated string. No, just calling a conv
267.
▲
by
dezgeg
4y ago
The majority of a GPU driver doesn't live in the kernel, but in userspace (part of the Mesa library).
268.
▲
by
dezgeg
4y ago
I remember writing a Markov chain random text generator. I wonder what real world uses there would be for the rand command...
269.
▲
by
dezgeg
4y ago
In those cases you mentioned the kernel has spawned a process loaded from normal ELF executable from filesystem, just like you could do with exec(). But in this bpfilter_umh case the executable is not coming from the filesystem but instead
270.
▲
by
dezgeg
5y ago
CMake: The Good Parts (with apologies to PHP: The Good Parts https://twitter.com/tomnomnom/status/195304317601849344 ) 1. It's widely available (even on Windows). 2. It's not as bad as autotools.
More ›