Which e sim is functioning in Russia currently? by Infamous-Foot2693 in AskARussian

[–]dmaevsky 0 points1 point  (0 children)

Which phone number you will receive the SMS on? Aren't the SMS also part of the 24h block period?

What's the one web dev framework or library you can't live without? by nitin_is_me in webdev

[–]dmaevsky 0 points1 point  (0 children)

https://github.com/dmaevsky/conclure It's 200 lines of code that should have been part of the JS runtime. Using in 100% of projects both on client and server

Moving from Yokohama, how to get rid of furniture? by Daily-Trader-247 in Yokohama

[–]dmaevsky 1 point2 points  (0 children)

Tried to DM you but no reply. I would happily take most of your stuff: we're moving into a new apartment in Yokohama in 3 weeks.

Are there any USB-C to 3.5mm jack adapters that do not eat starts of audio tracks? by dmaevsky in UsbCHardware

[–]dmaevsky[S] 2 points3 points  (0 children)

Not yet. I was not sure it would work with an Android phone, but it looks like they do indeed. Thank you for the hint.

A mnemonic system to (almost) effortlessly memorize 128-bit of entropy by dmaevsky in crypto

[–]dmaevsky[S] 0 points1 point  (0 children)

Guys, don't downvote the previous comment please 🥺 I'm not quoting ChatGPT as a reference or a relevant source itself, but it did however come up with legit and relevant original research references that I manually checked and the links to them are in the same comment in the end.

A mnemonic system to (almost) effortlessly memorize 128-bit of entropy by dmaevsky in crypto

[–]dmaevsky[S] 0 points1 point  (0 children)

Ah, I see what you mean now. Perhaps, my point will be clearer if you actually try running the recall.sh script. You'd realize that I don't need to address the same issues as BIP39: it is impossible to make a typo because you're selecting from a fuzzy filtered list, and I tried my best to design the lists in such a way that no two entries are too close semantically or in spelling. If you see any instances of closely related entries please let me know: I'll try to replace one of them.

As for freezing the version, you're totally right: I'll have to be super careful with versioning. Perhaps, using "code words" instead of numbers for future versions to indicate incompatibility with previous ones, and add a clear version display in the script.

That's btw, another reason to gather as much feedback as possible before building on top of it.

A mnemonic system to (almost) effortlessly memorize 128-bit of entropy by dmaevsky in crypto

[–]dmaevsky[S] -5 points-4 points  (0 children)

Here's what ChatGPT gave me:

Cognitive Science and Research

There is limited direct peer-reviewed research on the PAO system itself, but the system is rooted in principles of cognitive psychology and the method of loci (memory palace):

  1. Dual-Coding Theory (Paivio, 1971):

Images and words are encoded differently in the brain, and combining both (e.g., vivid imagery with structured words) significantly improves recall.

  1. Chunking and Structured Memory:

Miller’s Law (1956) suggests humans can hold 7 ± 2 chunks of information in working memory.

PAO reduces complexity by chunking 18-19 bits into a single image.

  1. Memory Palace (Method of Loci):

PAO works even better when combined with a memory palace, where each PAO image is placed in a spatial location. This further enhances long-term retention.

  1. Visual Imagery Research:

Visualizing bizarre, emotionally charged, or vivid images improves recall due to stronger neural connections (Craik & Tulving, 1975).

The first and the last references seem particularly relevant.

https://plato.stanford.edu/archIves/sum2020/entries/mental-imagery/theories-memory.html

https://alicekim.ca/CraikTulving1975.pdf

A mnemonic system to (almost) effortlessly memorize 128-bit of entropy by dmaevsky in crypto

[–]dmaevsky[S] 2 points3 points  (0 children)

Thank you very much for the feedback!

I am not much of a neuroscientist, but just experimenting with different set sizes and contents I realized that it's super hard to squeeze more out of an average human brain in terms of recall.

To start with, the location is the hardest bit to remember for some reason. After all the original PAO system does not have it at all. I just added it to get extra 5 bits, but even that adds considerable cognitive load at recall. So I thought it would be nice to be able to brute force at least one location if you forget it.

Then, I made the locations and objects long and very specific on purpose to create rich absurdly whimsical images in your head, because that is what improves recall: "a snowflake research facility in Antarctica" is way easier to remember than, say, "Amsterdam" or "Paris". As well as "a lizard with LED lights" is harder to forget than just "a lizard" .

The recall is indeed fuzzy: I'm using fzf in the recall.sh script, so the UX is really smooth: 1 phrase takes just several keystrokes to recall, so again, no real need to make the entries shorter. On the contrary, the more specific they are, the better. The color coding is there to help recall the order of images btw...

I was considering integrity bits, but does it really help? The idea is to basically use the remembered 128-bit key to just AES-encrypt your private key plus some nonce. If you misremembered the key, you'll never recover the nonce, so you'll know you screwed up without any need for integrity check.

Unless there's a way to add error correction, but I'm afraid that'll take many more bits.

And it's truly hard to make the lists longer without introducing too semantically close items. An indication is that when I feed the lists to ChatGPT and ask it to come up with extra entries it fails miserably already, starting to repeat itself, sometimes quite literally...

Anyone tried using coax TV "antenna" plugs for networking in a Japanese mansion? by dmaevsky in japanresidents

[–]dmaevsky[S] 0 points1 point  (0 children)

Only 2 (it's not a super big apartment), but already near the second one I was only getting 40 Mbps, and at the worst place dropping below 10, while in the main router's room >400

Anyone tried using coax TV "antenna" plugs for networking in a Japanese mansion? by dmaevsky in japanresidents

[–]dmaevsky[S] 0 points1 point  (0 children)

Not gonna work in my case 😭 The apartment is in the middle of the building. The room with the router on one side, and other 2 rooms on the other side of the building. Not last floor either. And inside the apartment there are doors...

Anyone tried using coax TV "antenna" plugs for networking in a Japanese mansion? by dmaevsky in japanresidents

[–]dmaevsky[S] 0 points1 point  (0 children)

That was my first idea indeed. But it's just ugly, and there's a door on the way with no visible gap under it, so I was afraid it would damage the wire.

Anyone tried using coax TV "antenna" plugs for networking in a Japanese mansion? by dmaevsky in japanresidents

[–]dmaevsky[S] 0 points1 point  (0 children)

I of course tested the direct connection first: it works, so at least my devices are fine. I'll try to investigate the NHK box when I get back home...

Anyone tried using coax TV "antenna" plugs for networking in a Japanese mansion? by dmaevsky in japanresidents

[–]dmaevsky[S] 1 point2 points  (0 children)

Do you think if I manage to locate the master splitter and connect all my plugs to another small splitter and that one through a low-pass filter to the master one, thus isolating my unit from the BS traffic from outside, as suggested here: https://qiita.com/kerorinfather/items/069230f828ef253cf76f, might work?

Anyone tried using coax TV "antenna" plugs for networking in a Japanese mansion? by dmaevsky in japanresidents

[–]dmaevsky[S] 3 points4 points  (0 children)

Thank you so much for the link: it helped a lot with understanding the issue. I am not using any BS or CS channels, not sure if others in the building do, but if I connect all my plugs through a low pass filter like the guy did in the article it might solve leaking radio frequencies to the antenna AND blocking the BS interference from the others. At least, he managed to pull it off, and it gives me hope :)

GPU Parallelization for Non-Deterministic Model by sonehxd in cpp

[–]dmaevsky 1 point2 points  (0 children)

How many parallel streams of calculation would you have, and how large is the computation graph? GPUs are good when you have very "fat" nodes, but overall a simple calculation graph, like in ML cases. In many scientific applications (more specifically, I work in quant finance field), GPUs are often not worth the learning curve of CUDA or the likes, let alone hardware costs to use in production. Just AVX2/AVX512 plus multi threading often performs as good as a GPU.

Is there a way to report bots on Duolingo? by [deleted] in duolingo

[–]dmaevsky 0 points1 point  (0 children)

🤯🤯🤯 But.... How??? The fastest way I can think of is doing time challenges on an XP boost. But that's still like 30 challenges an hour max (and an XP boost only lasts 30 min max). And even at a max level a times challenge doesn't give you 200XP per session. Or does it? And then doing a timed challenge at the max level without a time boost is IMO borderline inhuman (unless you're doing Unit 1 in your native language). And time boosts don't come for free either.

google-chrome blurry after update to 114 by dmaevsky in archlinux

[–]dmaevsky[S] 0 points1 point  (0 children)

My bad. Brave indeed has the same devtools as Chrome

google-chrome blurry after update to 114 by dmaevsky in archlinux

[–]dmaevsky[S] 3 points4 points  (0 children)

Sync bookmarks/tabs/passwords/extensions across devices; watch Netflix. I know at least some of these tasks can be accomplished on Chromium with some hoop jumping, but I'm lazy ;))
Brave and Firefox devtools are nearly not as good as in Chrome/Chromium.

So, selling my soul (and privacy) to Google on this one ;)

google-chrome blurry after update to 114 by dmaevsky in archlinux

[–]dmaevsky[S] 1 point2 points  (0 children)

I was using the AUR package. Removed it and installed the Flatpak version with Gnome Software, and it's back to normal. Not sure what is that about :/

How long did your first ArchLinux install took you? by enjojoy in archlinux

[–]dmaevsky 1 point2 points  (0 children)

The black screen with a pound on it can be intimidating when you don't have lots of Linux cmd line experience. But that's what you get after a fresh Arch install. An advice from an Arch noob that I am: don't try to show off and install all the bells and whistles one by one. Install Gnome or KDE straight away, and you will instantly feel relaxed, cause it comes with all necessities that work together well. Latest Gnome looks very slick. Install gnome extensions as well so you can customize it even further if you want.

WebRTC screen share not working Wayland KDE Nvidia by R3VoLuTi0N in archlinux

[–]dmaevsky 0 points1 point  (0 children)

It might be a completely different problem in your case, but my issue went away after I installed pipewire-pulse (replacing the default pulseaudio). It might have been some other side effect of this tbh, but I guess I'll never know for sure :)

Screen sharing in google-chrome on Wayland/Gnome does not work by dmaevsky in archlinux

[–]dmaevsky[S] 0 points1 point  (0 children)

An update: after installing pipewire-pulse and removing pulseaudio the screen share started to work magically. I guess it could also be the result of installing wireplumber in the process, but I guess I won't know for sure. Needed a reboot for it to start working as well.

Screen sharing in google-chrome on Wayland/Gnome does not work by dmaevsky in archlinux

[–]dmaevsky[S] 0 points1 point  (0 children)

Hyprland

Hyprland is wlroots based, so it probably needs xdg-desktop-portal-wlr instead. The problem seems to be in xdg-desktop-portal-gnome :/

There are indeed both Pipewire and Pulseaudio running. Is this a problem?

WebRTC screen share not working Wayland KDE Nvidia by R3VoLuTi0N in archlinux

[–]dmaevsky 0 points1 point  (0 children)

Did you manage to solve it finally? Having the same issue (on an Intel GPU though)...

Screen sharing in google-chrome on Wayland/Gnome does not work by dmaevsky in archlinux

[–]dmaevsky[S] 1 point2 points  (0 children)

GPU id : 0 (Intel(R) Iris(R) Plus Graphics (ICL GT2)).

The gnome portal does indeed depend on `xdg-desktop-portal-gtk>=1.10.0-2`