Better HN
topnewbestaskshowjobs
Log inSign up

melvyn2

246 karma · joined Nov 21, 2019 (7y ago) · 57 submissions

Submissions

comment 8mo ago · link · parent

  echo 1 > /sys/module/zswap/parameters/enabled

It's in TFA.

2.

Recovering LUKS keys from running system(jfr.im ↗)

3 points · by melvyn2 · 1y ago · discuss

comment 1y ago · link · parent

These are sometimes called Galactic Algorithms: https://en.wikipedia.org/wiki/Galactic_algorithm

The very first example on the page has a pretty good quote describing their usefulness:

>>> An example of a galactic algorithm is the fastest known way to multiply two numbers, which is based on a 1729-dimensional Fourier transform. It needs O(n log n) bit operations, but as the constants hidden by the big O notation are large, it is never used in practice. However, it also shows why galactic algorithms may still be useful. The authors state: "we are hopeful that with further refinements, the algorithm might become practical for numbers with merely billions or trillions of digits."

comment 1y ago · link · parent

https://en.wikipedia.org/wiki/996_working_hour_system

comment 2y ago · link · parent

The borrow checker exists to force you to learn, rather than to let you skip learning. To make an analogy, I think it would be weird if I complained that I had to "memorize the rules" of the type checker rather than learning how to use types as intended.

comment 2y ago · link · parent

Obtaining a custom storage module seems to involving reverse engineering the PCB, printing it and sourcing the NAND modules, and then BGA soldering that all together: https://youtu.be/HDFCurB3-0Q

Not a user-friendly process, I think.

comment 2y ago · link · parent

> Cats are also aided by their large and sensitive vibrissae, which are positioned on such locations of their head that the cat can detect nearby obstacles in closer encounters. Vibrissal sensation can compensate for the somewhat weaker vision in cats from closer distances or in poorly illuminated environments. Therefore, it is possible that cats approached the narrow openings in our experiment without differential hesitation, and they could use their vibrissae to assess the suitability of the apertures before penetrating them.

comment 2y ago · link · parent

How many of those accomplishments were truly his, I wonder ? https://social.treehouse.systems/@marcan/109561314682149814

comment 2y ago · link · parent

Here's a case study of 42: https://journals.sagepub.com/doi/10.1016/j.jfms.2009.09.018 And there's certainly many more cases than just those at a "referral hospital in Sydney, Australia."

comment 2y ago · link · parent

AltStore is a bad joke, you can only install 2 apps (three, minus the altstore app), and you have to connect your phone to a MacOS computer and run the app every week.

Just let me click on an IPA to install it, it's really not that deep!

11.

For Nearly 10 Years, I Operated a Satellite TV Hacking Network (2020)(anons.ca ↗)

3 points · by melvyn2 · 2y ago · 1 comment

comment 2y ago · link · parent

For dark-net markets, server-side encryption is already seen as a failsafe rather than a feature, and smart users ALWAYS encrypt client side (PGP). That said, for activities like these, smart users are not necessarily the majority...

comment 2y ago · link · parent

Could you link the change? At least a few days ago virt-manager still seemed to have scaling issues with guest displays, on nixos-unstable. I had viewer scaling on though as a workaround, so maybe I just didn’t notice.

comment 2y ago · link · parent

Calling C functions like process_vm_writev from libc requires unsafe code.

comment 2y ago · link · parent

For desktop use, nohang does what the name says.

https://github.com/hakavlad/nohang

comment 2y ago · link · parent

Prohibition increased alcohol-related deaths and created a black-market of products so much worse than the regulated market before or after[0]. I would say that, in fact, prohibition did not work.

And neither does current drug prohibition. Fentanyl deaths are directly caused by the black-market supply of drugs in the US, and it isn't "decriminalized" cities like Portland that are leading these charts[1]. The current drug prohibition just means that the demand that will always exist is being supplied by mis-dosed poison instead of a well-regulated market like modern alcohol (and marijuana in some states).

[0] https://en.wikipedia.org/wiki/Consequences_of_Prohibition [1] https://www.cdc.gov/nchs/pressroom/sosmap/drug_poisoning_mor...

comment 3y ago · link · parent

6500K is not really “extremely” blue, it approximates the color temperature of midday daylight. Most color specifications including Rec. 709 (basically sRGB) specify this color temperature through the D65 white point [1], so to display colors reliably close to spec you actually need this specific temperature/spectrum.

It’s certainly cooler than most indoor lighting, but 6500K bulbs in stores are as common as warmer ones (IME). Variable-temperature bulbs work well enough to output it too, and I would actually recommend using them to get a good matching daylight white when indoors during midday, while still being able to have warmer colors in the evening or at night (just as night color modes do for your monitor).

[1] https://en.wikipedia.org/wiki/Illuminant_D65

comment 3y ago · link · parent

No, Valve is specifically noted for not having a kernel-driver anticheat in a landscape where most competitive games do use them. Notably, Easy Anti-Cheat, BattlEye, and Valorant's Vanguard all use kernel drivers, but no Valve Anti-Cheat has, because they've focused on server-side heuristics and crowed-sourced detection instead of trying to force the client to rat itself out.

comment 3y ago · link · parent

The pixel, for example, already has a secure yet user-unlockable bootloader. So do modern x86_64 PC's. Statements like these, claiming that only apple can properly secure a device (and hence that users deserve to be locked out), simply show astounding ignorance.

comment 3y ago · link · parent

As surprising as you may find it, Apple doesn't have a monopoly on good hardware. The stereotype of any non-macbook being a toaster is practically a strawman at this point (while people are so quick to forget the atrocity of the i9 macbook).

comment 3y ago · link · parent

Because apple software has no telemetry?

comment 3y ago · link · parent

1377x is an ad-hijacking "clone" of the real 1337x

comment 3y ago · link · parent

nftables is the new underlying kernel system, and the (unfortunately named) `nft` cli to manage it seems to be widely available.

comment 3y ago · link · parent

Wayland is a more versatile protocol. OP is misrepresenting a little bit, the base protocol v1 is finalized but desktop use will need and already does use many standard extensions.

Nothing about being assholes, just a bureaucratic design.

comment 3y ago · link · parent

SF has relatively low violent crime compared to other cities, while drug sales are to be expected where a significant amount of people think drugs should be decriminalized or legalized. I don’t think the city has much of anything to do with the point of vague “moral decay.”

comment 3y ago · link · parent

B is clearly anti-consumer. Software running on “my” hardware should be in my control.

27.

WebGL Water (2010)(madebyevan.com ↗)

1 points · by melvyn2 · 3y ago · discuss

comment 3y ago · link · parent

I was under the impression that the EK could be used to identify individual TPMs- why can’t it?

comment 3y ago · link · parent

From wikipedia:

> Computer programs can use a TPM to authenticate hardware devices, since each TPM chip has a unique and secret Endorsement Key (EK) burned in as it is produced.

That EK is signed by the TPM manufacturer, and so it’s likely they’ll only trust the keys of physical TPM manufacturers. Good luck forging that in software.

comment 3y ago · link · parent

It does that by making a global location (/usr/local) user-owned, which I'd say is much worse.
12