Better HN
topnewbestaskshowjobs
Log inSign up

hackernudes

812 karma · joined May 15, 2017 (9y ago) · 279 submissions

Submissions

comment 8mo ago · link · parent

It was a traditional plugin (NPAPI), not NaCl (Native Client). Honestly a total gimmick. I still play Quake Live, though!

comment 8mo ago · link · parent

I do wish I had documented what I tried better! There might be a magic combo that could have helped but I tried tweaking a lot of the vm settings.

One day I will probably see if I can still reproduce the original problem and be more methodical about it. More likely on list of things I might not ever get around to.

comment 9mo ago · link · parent

I see some comments about soft lockups during memory pressure. I have struggled with this immensely over the years. I wrote a userspace memory reclaimer daemon and have not had a lockup since: https://gist.github.com/EBADBEEF/f168458028f684a91148f4d3e79... .

The hangs usually happened when I was stressing VFS (the computer was a samba server) along with other workloads. To trigger a hang manually I would read in large files (bigger than available ram) in parallel while running a game. I could get it to hang even with 128GB ram. I tweaked all the vfs settings (swappiness, etc...) to no avail. I tried with and without swap.

In the end it looked like memory was not getting reclaimed fast enough, like linux would wait too long to start reclaiming memory and some critical process would get stuck waiting for some memory. The system would hang for minutes or hours at a time only making the tiniest of progress between reclaims.

If I caught the problem early enough (just as everything started stuttering) I could trigger a reclaim manually by writing to '/sys/fs/cgroup/memory.reclaim' and the system would recover. I wonder if it was specific to btrfs or some specific workload pattern but I was never able to figure it out.

comment 9mo ago · link · parent

Doesn't that show physical cash in bank vaults? Am I misunderstanding? That number would be utterly meaningless for this discussion.

Edit: I see this was covered in other replies

comment 9mo ago · link · parent

https://m.youtube.com/watch?v=xalTFH5ht-k&t=99

This matches my memory of 56k dialup with the two BONGs.

And now I get to share my favorite AT command. M0 could mute the modem! M1 was quieter than the default. I will never understand why those weren't more common! Used like: ATM0DT

comment 9mo ago · link · parent

Today I learned: Man-portable air-defense systems (MANPADS) are shoulder-fired, surface-to-air missiles designed for use by individuals or small teams to engage low-flying aircraft, helicopters, and UAVs.

comment 9mo ago · link · parent

KTLO = keeping the lights on

comment 10mo ago · link · parent

The word is terawatts unless you mean earth-based watts. OK then, it's confirmed, data centers in space!

comment 10mo ago · link · parent

High latency to earth but low latency (potentially) to other satellites.

comment 10mo ago · link · parent

DROPS, The Dresden Real-Time Operating System Project -- https://os.inf.tu-dresden.de/drops/

QNX -- http://toastytech.com/guis/qnxdemo.html (or https://news.ycombinator.com/item?id=44856046)

comment 10mo ago · link · parent

Pretty sure it was in Snow Crash

comment 10mo ago · link · parent

Neverball is a similar game that's been open source for ages. It has a web based version too: https://play.neverball.org/

comment 10mo ago · link · parent

The agents.md is from the upstream tinygrad repo: https://github.com/tinygrad/tinygrad/blob/master/AGENTS.md

comment 10mo ago · link · parent

Context: https://www.cisecurity.org/cis-benchmarks, https://www.cisecurity.org/about-us

"""The CIS Benchmarks® are prescriptive configuration recommendations for more than 25+ vendor product families. They represent the consensus-based effort of cybersecurity experts globally to help you protect your systems against threats more confidently."""

comment 10mo ago · link · parent

Do you still have the details details about fixing Windows 11 boot over iscsi?

I love the idea of injecting drivers into windows and did a lot of experimenting along those lines (using WinPE to install drivers offline and edit the registry).

I upgraded my home network and am booting over iscsi using ipxe. My only two remaining issues are: - Windows 11 25H2 fails to boot since 26200.7019 (and 24H2 since 26100.7019). - Windows 10/11 S3 sleep+resume does not work with WinOF-2 (mlx5.sys) driver

Everything works well in linux, though!

I am using NixOS. I had to customize the initrd to use iscsistart to connect to the target. It is also important to run iscsid when the system boots to automatically reconnect (which annoyingly takes 10-15 seconds when I resume from sleep). I am using iSER (iscsi over rdma), but TCP worked fine too. I export ZFS zvols on the server over iscsi using targetcli (which configures the in-kernel iscsi target support, sometimes called LIO).

I tried NFS but the performance was bad.

comment 11mo ago · link · parent

It comes down to semiconductor manufacturing, not ASIC design. Taiwan, Korea, USA are still on top.

comment 11mo ago · link · parent

If you have flip flops, it's not "no memory".

If you have a ROM, it's not "no memory".

Needlessly pedantic!

I thought this was pretty cool but the first video didn't play. All this write up and I really just want to see the damn demo in action first! (Edit: reloaded the page and it worked. I still would like to see it on rela hardware!)

comment 11mo ago · link · parent

Yes, the three playback limit is so annoying. Just... why?! CEC is so stupid. Way overengineered yet completely undercooked. I'm imagining some day soon TVs/receivers will start proxying the CEC bus instead of sharing it globally.

comment 11mo ago · link · parent

I wrote a program in Golang to control my a/v setup. Included within are small pkgs to control Linux CEC and LIRC devices (ioctl/read/write) as well a pkg for LG TV commands over serial port. Link here: https://github.com/EBADBEEF/tvman

One really useful thing when getting started was to use `cec-ctl -M` to monitor the CEC traffic live. Like the author, I used the v4l-utils commands to interact with CEC but eventually got frustrated with them and rewrote my program in in Go!

I have found CEC to be flaky and hard to work with. I had to turn off CEC on my TV because it breaks everything, almost randomly switching inputs and turning on and off devices.

comment 11mo ago · link · parent

The Scythe books are written by Neal Shusterman!

comment 1y ago · link · parent

I meant that they train their system on pictures where they have the underlying medical data. Their system might still be total crap (teehee), but I'm guessing that they at least try to make it predictive/generalized.

comment 1y ago · link · parent

They probably do clinical trials (or at least something like that) where they get baseline data from participants through other means.

comment 1y ago · link · parent

There are two issues to consider: security updates and software compatibility.

The LTSC version is good for security updates, but I worry that software could stop supporting Windows 10 despite the LTSC version existing.

Coincidentally I am about to install Windows 10 Enterprise LTSC! I was experimenting (and struggling) with PXE boot with iSCSI. An update broke iscsi boot in Windows 11 25H2 (26200.6901 works, 26200.7019 fails) as well as LTSC (26100.6905 works, 26100.7178 fails). There were other issues with iscsi boot on the LTSC version - the network hardware needs to be enumerated before the first boot, but can't boot because it needs network (a chicken-and-egg style problem).

comment 1y ago · link · parent

I 100% agree with this sentiment

comment 1y ago · link · parent

I wonder if the compiler could still be a native binary (but still producing code for the target architecture). The motivation is to have the performance of a cross compile with the simplicity of a native build. I had that idea a long time ago but never tried it.

comment 1y ago · link · parent

https://archive.is/K0a0a

comment 1y ago · link · parent

CZ already served the time in prison. It's not clear to me whether he and Binance have paid the fines yet.

comment 1y ago · link · parent

Agree. Makes sense for a mouse cursor but not touch.

comment 1y ago · link · parent

I've had similar problems but no amount of tweaking vm and vfs cache settings helped. Swap or not, both 32gb and 128gb of ram. Manually reclaiming memory would un-lock the system (/sys/fs/cgroup/memory.reclaim).

I wrote a user space memory reclaimer and have not got a lockup since. https://gist.github.com/EBADBEEF/f168458028f684a91148f4d3e79...

comment 1y ago · link · parent

The Lightning Network (an open payment layer built on top of Bitcoin) or some other cryptocurrency.
12345
10