Better HN
topnewbestaskshowjobs
Log inSign up

meithecatte

939 karma · joined Jun 29, 2019 (7y ago) · 198 submissions

Submissions

comment 6y ago · link · parent

I'd imagine trademarks play a role.

122.

Aha: Convert colorful terminal output to HTML(github.com ↗)

2 points · by NieDzejkob · 6y ago · discuss

comment 6y ago · link · parent

I got quite excited about this, but it turns out that the data used is from about a year ago - 2019-02-04, and not this year's February.

comment 6y ago · link · parent

As a datapoint, I once wrote a paper for biology and learned about the existence of salt-rising bread [0], a bread leavened by hydrogen instead of the usual carbon dioxide, with a bacteria known for food poisoning as the rising agent [1]. It is just trivia, of course, though...

[0]: https://en.m.wikipedia.org/wiki/Salt-rising_bread

[1]: https://www.popsci.com/article/science/clostridium-it-can-ki...

125.

Every line of code is always documented(mislav.net ↗)

1 points · by NieDzejkob · 6y ago · discuss

comment 6y ago · link · parent

I don't see how network position relates to the authentication scheme. As far as I can see, these are entirely separate issues, handled at different layers of the OSI stack.

comment 6y ago · link · parent

Not even that, because sudo keeps your password in memory for a few minutes.

comment 6y ago · link · parent

I don't understand why the `sidtable' conversion is done at run-time. It looks as if one could save quite a few cycles at no size cost by doing it when encoding.

129.

CVE-2019-18634: buffer overflow in sudo when pwfeedback is enabled(openwall.com ↗)

2 points · by NieDzejkob · 6y ago · discuss

comment 6y ago · link · parent

> Because it compiles right into Lua code, it is completely compatible with alternative Lua implementations like LuaJIT, and it is also compatible with all existing Lua code and libraries.

It would seem that there is no reason you couldn't.

comment 6y ago · link · parent

The link at the end of the article is broken, here's an archive: https://web.archive.org/web/20060507194719/http://www.jumboj...

132.

One in a million is next Tuesday (2004)(docs.microsoft.com ↗)

2 points · by NieDzejkob · 6y ago · 1 comment

comment 6y ago · link · parent

You are trying to argue about the meaning of the words being used. This is not productive, as what matters is what the author of the argument meant when they used that word.

comment 6y ago · link · parent

I have found this channel to be the most complete and up-to-date: https://gitlab.com/nonguix/nonguix

135.

The Edge of Emulation(byuu.org ↗)

245 points · by meithecatte · 6y ago · 34 comments

comment 6y ago · link · parent

This reminds me that one of the filesystems that could probably be added into the polyglot is Amiga's Fast File System, as the superblock is in the middle. Rumor has it that this minimised seek times from anywhere else on the floppy, but I would think that one doesn't need to read the superblock that often.

comment 6y ago · link · parent

Yeah, this is one of the things I'd like to explore when I make the formatter more full-fledged and not a 10 line bash script.

I'm hoping to try marking the datastructures of each filesystem as a bad block or something similar in the others, so that as long as the shared data isn't removed or modified, writing is OK.

comment 6y ago · link · parent

Apparently one could create something like this by accident in the early days of Linux: https://twitter.com/makomk/status/1217542964995678209?s=20

comment 6y ago · link · parent

I actually didn't try to let it autodetect... until now.

    ~/cursedfs% sudo mount cursed.img mountpoint/
    mount: /home/kuba/cursedfs/mountpoint: more filesystems detected on /dev/loop0; use -t <type> or wipefs(8).
It's too smart :/

comment 6y ago · link · parent

From a quick look at the specs, it would seem like it is possible to add either of those, but probably not both. I'll probably add this in "v2.0" - I'm planning to redo this in a way that actually interleaves the filesystems, which would also allow the ext* part to be larger than 32 MB.

comment 6y ago · link · parent

> So, is it really two independent file systems?

Yes, they just don't interact with each other.

> It seems writing to one file system is likely to destroy the other, since they would be unaware of each other's allocated blocks.

The entirety of ext2 stays within FAT32's reserved blocks (that is, between the bootsector and the File Allocation Table), so FAT32 won't write over ext2. The inverse is also true, as ext2 knows its formatted size, so it won't write outside of the reserved sectors.

comment 6y ago · link · parent

I didn't envision a usecase, I just found the question of whether this is possible interesting. If I had to guess, this will break more things than it will help with - the filesystems are independent, not "synchronized".

comment 6y ago · link · parent

I feel like this name nicely captures the fact that this almost surely has no real-world use and is likely to break stuff (file system autodetection, for one...). I also like to draw parallels to the notion of a cursed idea.

comment 6y ago · link · parent

Author here, happy to answer any questions.

145.

Writing Hello World in 0x a Presses [video](youtube.com ↗)

1 points · by NieDzejkob · 6y ago · discuss

comment 6y ago · link · parent

In this case, signature creation time isn't under control of the attacker. The attack scenario being considered is that Mallory can convince Alice to sign a key K1, provided by Mallory, such that it looks like Alice signed K2. The party creating the signature is honest here.

comment 6y ago · link · parent

I'll send a PR, one moment.

comment 6y ago · link · parent

Woah, todo! is going to come in handy considering the wordiness of unimplemented!. However, weirdly enough, the documentation claims it has been stabilized in 1.39. Why is that?

comment 6y ago · link · parent

@mods As far as I understand, this should be tagged as [video].
1234567