HNHacker News
TopNewBestAskShowJobs

simcop2387

5,185 karma · joined July 23, 2010

submissionscomments
simcop2387··on Arm PC Base System Architecture 1.0
Yea it seems like it's something to act like ACPI and DMI but on ARM, right now this is being "solved" in linux with the whole Device Tree subsystem where there's a config file that's passed to the kernel on boot that gives all this data about the memory map, peripherals, etc. I'm hoping that this does work out to completely replace the whole device tree idea since then kernel support will be a lot simpler for a user, esp since UEFI has also been starting to be adopted on more ARM based systems now too.
simcop2387··on Fair coins tend to land on the side they started (2023)
If anyone wants to look up why this might work, it's a Whitening transform [0]. I can't find the name of the algorithm itself being describe in the parent but there's more than just that for accomplishing the same thing.

0: https://en.wikipedia.org/wiki/Whitening_transformation

simcop2387··on Incorporation of photosynthetically active algal chloroplasts in mammalian cells
Probably not dolable on planetary scale but ii imagine it'd help in space, esp if combined with some other mods like fiximg the vitamin c gene to remove scurvy. If we could use light to suppliment our metabolism it'd mean fewer physical resources to bring alon.
simcop2387··on Improving Xwayland window resizing
The application side of it is more for things like the multi-window setup of things like GIMP so that windows that are "docked" next to each other will stay that way past restarts. That's one of the reasons that the newer proposals are doing things with relative positioning between a zone or main window rather than allowing applications to place themselves randomly on whatever monitor or space that they want, interrupting whatever workflow is going on (which actually allows for security issues, i.e. a window pretending to be a password prompt putting itself on top of a browser or something to confuse the user). This also allows for new windows from the application to request that they're positioned next to any others so that related things stay together. This also apparently helps in a few cases where a single "application" to the user is actually multiple separate programs that get run by a main interface. Not as common in new software today but it used to be one of the ways that a lot of older software worked and there's still a decent amount out there apparently that are maintained that way.

Keep in mind that this is also a request by the application, not a requirement of the compositor to obey it. If there's not sufficient space where the application requests things then the compositor can just ignore it and do what it believes makes sense.

simcop2387··on Improving Xwayland window resizing
> Also with this new partitioning of responsibility is my main annoyance: The DE needs to remember window placement for all my apps, since they are not allowed to know their environment under Wayland (for good reasons).

https://gitlab.freedesktop.org/wayland/wayland-protocols/-/m...

This might eventually get fixed, above is what I believe is the current proposal for handling this issue and letting apps do some amount of positioning without exposing things that a program shouldn't know about. That said this has had multiple proposals over the past 5-6 years at least and none have managed to make it all the way through. If you go through the previous ones (ext-placement and i forget the others) and ignore the angry messages involved it turns out that it's a very difficult problem to deal with in a way that isn't just a free-for-all with apps either not knowing about monitor placement, or having to handle so much detail about the displays that nothing will ever act consistently.

That said, recent discussion on that latest one does look promising so maybe it'll finally happen.

simcop2387··on Amplification of electromagnetic fields by a rotating body
Honestly it reminds me a bit of the macguffin used to amplify a signal to insterstellar distances used in The Three Body Problem book. Which given the rest of the novels makes me a little scared
simcop2387··on Intel and AMD form advisory group to reshape x86 ISA
> That is what is so important about it RISC-V is that it being an open ISA creates a commodity with true competition instead of competing oligopolies.

Not just that, but also by being fairly vanilla/boring about a lot of things in the ISA too. Thus letting the ISA itself be less an impediment to being compatible with ARM and x86_64 as far as behavior for memory ordering and such.

simcop2387··on "Begin disabling installed extensions still using Manifest V2 in Chrome stable"
Along with that, I'd hope they'll add needed support for proper adblocking even with v3 and beyond
simcop2387··on Gentle Guide to Self-Hosting
This is the kind of thing I've been watching unfold with some home "NAS" boxes over the past couple of years. It started much earlier but it's started to become more of a differentiating factor in some of the lines lately because the NAS side of things is basically entirely a solved problem for 99% of people, so the manufacturers (Synology, QNAP, Terramaster, U-Green, etc.) have been adding support for doing what looks a lot like turn-key installation of things like NextCloud, Plex, and a bunch of other services that the self-hosting community has been talking about for years.

I think one of the big drivers of it has been the serious increase in performance and capability of the low power embedded processors from Intel and AMD (and in the last year or so some ARM based ones), like supporting more than 2GB of ram and having multiple cores that can meaningfully do work even with a 15W TDP.

simcop2387··on Why Oxide Chose Illumos
I'm not quite sure the status of it at least, but reported back in 2017 that they are moving off Xen

https://www.theregister.com/2017/11/07/aws_writes_new_kvm_ba...

It could be that it's not all over and tied to specific machine types still, or there's something they've done to make it report to the guest still that it's xen based for some compatibility reasons.

simcop2387··on FTC Pushed to Crack Down on Companies That Ruin Hardware via Software Updates
For lights and relays (haven't bought the others yet) i;ve been really hapoy with the quality of athom devices. Tasmota, esphome and wled support natively.
simcop2387··on How on-the-wrist sleep apnea detection works
> 2. No, we shouldn't regulate to whom companies should be allowed to sell them. The defaults are good enough for most. Provide an easy to use control for max pressure and people will figure it out.

I'm iffy on the machines themselves for this, mostly because I'm just ignorant about the risks and potential issues. But this absolutely should be the case for the consumable/wear items that go along with it. There's been a lot of push-back on retailers being able to sell things like the masks, the hoses, filters, etc. to the public at large that can't be used without a machine anyway.

> These things should be $500 mass-market consumer units.

Fundamentally yes. I'd be fine with it being something as simple as the local pharmacy can keep them in the back and you bring in the prescription from the doctor and they file it away saying that you're allowed to buy/replace it if there's some reasonable evidence that they need some modicum of control for safety of people. It shouldn't be any harder than getting some antibiotics.

As it is now I'm using a 10+ year old machine because I've changed insurance companies multiple times since and my current one wants a full sleep study before they'll sign off on anything at all (like allow the doctor to prescribe or let me order one). And they wouldn't tell me if they'd cover the sleep study or not.

simcop2387··on Firefox Browser Ported to HaikuOS
Ah neat, I didn't realize it was the bios maker that was behind that one, I thought it was the IBPhoenix product, it's been way too long since all that happened and I think it's all gotten jumbled in my memory.
simcop2387··on Firefox Browser Ported to HaikuOS
Both Phoenix and Firebird were over the naming and trademark clashes:

For firebird, https://www.cnet.com/tech/tech-industry/mozilla-holds-fire-i... and https://www.cnet.com/tech/services-and-software/mozillas-fir... in this case it was AOL Time Warner that owned the Firebird trademark for the database.

2) For Phoenix, https://web.archive.org/web/20070914035447/http://www.ibphoe... the main reporting on it seems to be lost but wikipedia still backs it up

simcop2387··on Firefox Browser Ported to HaikuOS
It wasn't Firebug, that was a developer tool extension. It was first Phoenix which hit trademark issues, and then Firebird which hit trademark issues, which then became Firefox.
simcop2387··on rePalm: Towards the first unauthorized PalmOS port
Looking forward to it. I've long wondered about porting palmos to a new device of some kind and giving it an eink screen, at least while acting as a monochrome palm like i had when growing up. I think it'd be a magical combo given the old slow lcds that they used to have back then in the first play.
simcop2387··on I got almost all of my wishes granted with RP2350
Yea, i was hoping for 2+2 myself but I suspect it's because the setup doesn't have the ability to mediate peripherals between the cores in a way that'd let that work. I.e. trying to turn on both Risc-v and arm #1 cores means that there'd be bus conflicts. It'd be cool if you could disable the io on the risc-v cores and do all hardware io through arm (or vice versa) so you can use the unconnected ones for just pure compute tasks (say run ws2812b led strips with the arm cores but run python/javascript/lua on the risc-v cores to generate frames to display without interrupting the hardware io).
simcop2387··on Framework is looking for Linux Community Ambassadors
Yea I hope they can get far enough along to do these. LPCAMM2 might take longer than the others simply because it'll change the form factor of a lot of things so might need a new chassis but I'm definitely looking forward to it taking over in laptops. Coreboot would definitely be nice, the current BIOS/EFI is fairly simple and basic and doesn't support much.

ECC I'd love but I also won't be surprised if it's never supported by Intel or AMD on their mobile processors in any official capacity. Though maybe that'll change going forward.

simcop2387··on Wi is Fi: Understanding Wi-Fi 4/5/6/6E/7 (802.11 n/AC/ax/be)
My sibling comment covers what I've done at a high level, what seems to work really well to me is to use a separate router and AP so that the wifi side of things is completely divorced from managing the router. That'll let you use something like OPNSense, OpenWRT, or PFSense to manage the traffic. If you don't already have a device to do that I'd highly recommend looking at ServeTheHome's reviews of some of the N100/N300 based devices that have been coming out lately, there's quite a few really powerful ones coming out that would work wonderfully for this (I'm using a Ryzen based normal PC that I've optimized for power since those didn't exist when I did this).

Some recent reviews that give an idea of what's out there (look further too, there's a few 4x2.5GBe + 2x10GBe ones too)

https://www.servethehome.com/asrock-industrial-4x4-box-8840u...

I'm actually running mine with the router in a VM in proxmox with a PCI-e passthrough NIC because I'm also running a few other network critical services that I wanted more isolation on (omada controller, mail server, ldap, etc.) but don't want the power budget for yet another server.

EDIT: bah, wrong second link for STH, https://www.servethehome.com/everything-homelab-node-goes-1u...

simcop2387··on Wi is Fi: Understanding Wi-Fi 4/5/6/6E/7 (802.11 n/AC/ax/be)
This is one of the reasons I've separated the router from the AP on my network. I'm running OpenWRT on a normal computer as the router because I'm familiar with setting it up and then using some TP-Link Omada EAP devices for the Wifi part of things. I don't like that they're completely closed as far as firmware/software goes but I'll live with that compromise because it gives me the ability to manage the wifi separately, and then the APs also support VLAN and some other features that lets me handle things nicer than I could with consumer grade routers (with or without stock firmware).
simcop2387··on Call the compiler, fax it your code [video]
This might be a good reason to support trigraphs again! https://en.wikipedia.org/wiki/Digraphs_and_trigraphs_(progra...

edit: fixed link, copy paste fail dropped the ++

simcop2387··on Bcachefs, an Introduction/Exploration
I'd actually recommend instead going a bit further since it'll be more reliable and easier to setup on the client side. Use the iSCSI gateway and an RBD image instead. This'll get you the availability of Ceph and is much better supported than using FUSE or s3 for booting. You can even install windows on an iSCSI target and PXE boot it (disclaimer: i've only read about this being done, not actually done it) so that you don't need any local storage at all on the remote machine.

You'll still want a fast network (I'd recommend 10gbe on the server at least, 2.5gbe on clients though 1gbe will work you will notice it bottleneck in bursts) but that won't be any different than any other network booting/rooting process

https://docs.ceph.com/en/latest/rbd/iscsi-overview/

simcop2387··on Syd the perhaps most sophisticated sandbox for Linux
It's a bit non-obvious from that description but Syd does in fact use kernel facilities to do the sandboxing. A sibling comment links to some better documentation (the syd man page) that explains what it uses https://man.exherbolinux.org/syd.1.html

1) Seccomp, a BPF based kernel filter for syscalls

2) Bind mounts inside a filesystem namespace to control what files are visible

3) Landlock - more path restriction type stuff and permission changes to paths that are local to the application being wrapped

4) seccomp-notify (used with ptrace to inspect types of arguments to syscalls that bpf isn't allowed to access for security reasons, i.e. pointers)

simcop2387··on Xpra: Persistent Remote Applications for X11
The way Xpra works is that it's both a server and client in it's own right. So it needs to be aware for the final client involved to be able to learn about it from the other side of the chain, so it does need to be aware of it in order for applications to know that they need to adjust themselves. What this results in is that the client you're running through Xpra will just assume it's a normal 96 DPI display from yesteryear usually. I think you can do some stuff to tell Xpra that it should be a higher DPI but that'll also make it so that the application will be gigantic on a low dpi display, something that's pretty typical for X11 since it doesn't properly support mixed DPI environments (i.e. a laptop screen that's high dpi and an external monitor that is low dpi).
simcop2387··on Making a Linux-managed network switch
It'll be a combination of:

1. Throughput - say you use usb adapters, in a lot of ways usb is a shared bus so you'll run into max bandwidth quickly. This is especially because data will have to go in and then out, all the way to the cpu

2. Latency - because you're using software to do switching, it'll add time to process each packet and send it back out tne right place. You've also go any other interface latency adding to it

3. Power usage - eacj adapter will have it's own full network phy and hardware, which will increase the power draw. Combined with all the extra processing above and now your power usage is even higher. This means you also loae out on hardware offloading and other performance enhancememts that generally reduce power usage because less of the system is involved in mocing packets around

4. Features (potentially) - this will depend a lot on the hardware you choose, some of those cheap gigabit usb adapters i've tried didn't work with vlans and other features properly. But if you say load up a bunch of nice pcie cards with 1 or more ports thst support everything (never had issues with pcie ones) then you can now actually get a lot of features that are otherwise difficult or impossible on simpler hardware (though at that point you're doing routing more tham switching, but thay flexibility is why you'd potentially do this).

simcop2387··on 'Roaring Kitty' is sued for alleged GameStop manipulation
The key part isn't that it's voluntary but "without prejudice".
simcop2387··on New ways to catch gravitational waves
> The detectors have different sensitivity depending on the direction of the waves, so if a wave comes from a "bad" direction (perpendicular to both arms, e.g. directly from above), a particular detector might not detect anything, even if the wave is strong.

Unless there's such a thing as polarized gravitational waves, https://www.ligo.org/science/Publication-O1StochNonGR/ which might exist but are hard to discern with current detectors from what I understand. It'd be really cool to learn that there's such a thing as vector and scalar polarized gravitional waves.

simcop2387··on New ways to catch gravitational waves
I believe they're referring to the idea of a gravitational force carrying particle, like photons for electromagnetism, W/Z bosons for the weak force, and gluons for the strong force. Typically this gets called a graviton but they've never been observed and the theories predicting them as far as I know don't predict that we can detect them in any meaningful/practical way right now which is also one of the problems for issues with a quantum theory of gravity.

I've always wondered (but not done the research/reading) on how that would mesh with black holes since you'd need gravitons to escape to mediate the curvature of space-time but that'd seemingly (to me) require them to be able to either ignore the curvature of space-time or travel faster than the speed of light in order to do so. And I believe that those two options there are actually mathematically equivalent as far as the consequences of things go.

simcop2387··on New ways to catch gravitational waves
So I want to try to answer what I can, despite being a layman on this.

Gravity exists, it manifests as the warping/geometry of space. This is in contrast to the other fundamental forces which get explained via Quantum Field Theory. That's the very high level difference of the two, our current understanding of gravity does not work the same way as the way everything else does, and so far we can't find a provable theory (yet) that makes the two work together at all scales.

String theory purported as a way to create a quantum theory of gravity and explain everything else, but my understanding is that it's fallen out of favor because it mostly turned into a tunable mathematical framework that could just change to fit any observations that were made, so it doesn't have the same kind of predictive power that people want (i.e. too much freedom so it can be used to explain anything, not just everything). I believe this is where predictions about a possible gravitational force carrier generally come from, aka the graviton.

Then there's theories like Loop Quantum Gravity, where the way it works is that space-time itself is quantized and that's how you get things to mesh because you can now use the same wave-function style of things that all other quantum theories use. Though I think this doesn't predict much about a quantum field for gravity on it's own.

I believe one of the other things that runs into everything being difficult is that with relativity you end up with a lot of infinities in the equations and results and so there's a "new" kind of math for it that gets called "renormalization" that prevents them from coming out but it also has issues when translating between quantum theories and relativity.

simcop2387··on Frame.work laptop now available in Denmark, Finland, and Sweden
It still won't be permanent, but water-slide decals will probably work better than stickers, and about as well as the marker while being more legible. It might also be possible to put a clear coat paint on it that'll help them last longer.

The big advantage over stickers is that they aren't held on by glue, but instead by the plastic that they're made out of conforms to the surface and grips it instead. That said I'm not sure how to make white text for a black keyboard.

← PreviousPage 2 of 34Next →