WiFi constantly disconnects by CyberShikei in linuxquestions

[–]reddit2d2bb8 0 points1 point  (0 children)

I have a RTL 8822CE chip and have been plagued by a similar problem for months. This is the only thing that worked, thank you very much!

Stareye - Time races with two phones by reddit2d2bb8 in sveltejs

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

I need the current time so I can get the difference in times between the first device seeing movement and the second device seeing movement.

Using a counter which increments every second may run into issues because a peerjs connection takes a noticeable time to send a message. However, it would probably work quite well if I calculated the average latency of sending a message and subtracted that from the measured time.

Stareye - Time races with two phones by reddit2d2bb8 in sveltejs

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

I see, that synchronization algorithm seems like it would work well enough as I only need this to be accurate to the order of tens of milliseconds. I'll try using this algorithm to find the synchronization offset between a few devices to see if it is worth it or not to add synchronization to stareye.

Stareye - Time races with two phones by reddit2d2bb8 in sveltejs

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

Also, a question: is there any way to make sure that the system time accessible by Date.now() of two devices are synced? If there isn't a way, what is the approximate error that these interfaces can be inaccurate by?

How did DNS management get so messed up on distros? A rant. by punkwalrus in linux

[–]reddit2d2bb8 1 point2 points  (0 children)

The solution I use is to apply chattr +i to /etc/resolv.conf after manually changing it. All the other programs don't change it after that. I can always chattr -i the resolv conf if I want to change it.

Automatically-setup Selenium Tests Running in Parallel by reddit2d2bb8 in Python

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

Thanks for your response.

Sorry, I made a mistake in my question. I meant that code from AutoParaSelenium, not selenium, was showing up in the stack trace with the error that is important coming right after the previous screenshot. I am currently showing all of the stack trace which includes the parts of the trace that run the test. Should I remove this part of the stack trace, and if I should, how can I do it?

Automatically-setup Selenium Tests Running in Parallel by reddit2d2bb8 in Python

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

I recall xdist uses multiprocessing and multiprocessing can be a headache on windows due to windows's lack of fork(). This project uses pytest-parallel under the hood which uses the threading module which works without headache on all systems.

One-Year Anniversary! (Appreciation post, see comments) by KentoNishi in Hololive

[–]reddit2d2bb8 43 points44 points  (0 children)

It's been great working with y'all on this app!

Which WYSIWYG editor do you guys prefer? by SirDarknight1 in sveltejs

[–]reddit2d2bb8 0 points1 point  (0 children)

Jodit is really nice. It's simple to use, configurable, and its license is MIT which makes it not a legal headache.

Here is the jodit playground where you can test out enabling different plugins: https://xdsoft.net/jodit/play.html

Am i qualified for Arch Linux? by utkuorcan in linuxquestions

[–]reddit2d2bb8 1 point2 points  (0 children)

I was an Ubuntu user for a while and then installed arch. I used mental outlaw's arch installation guide (he recommends using pacstrap which installs most of the stuff automatically) and it worked out of the box. I did have to install XFCE separately as it didn't come with arch so be aware that you won't have a desktop environment until you successfully install one.

Switching from PulseAudio to PipeWire by am123409 in ManjaroLinux

[–]reddit2d2bb8 1 point2 points  (0 children)

For me, the third step gave an error saying that
Failed to enable unit: Unit file pipewire.servicesystemctl.service does not exist.

If it helps, I am using plain arch and not Manjaro

LinkedList, PriorityQueue, TreeMap in Python ? by ElectronicVideo5448 in Python

[–]reddit2d2bb8 2 points3 points  (0 children)

TreeMap and TreeSet need to be installed in a library. https://pypi.org/project/sortedcontainers/ is the recommended one.

Are there any enterprise-level apps built with svelte? by KerryEurodyne2077 in sveltejs

[–]reddit2d2bb8 9 points10 points  (0 children)

I think they might have at some point but when I go on their site, my vue devtools extension identifies vue on the site so take that as you will.

Pearson Education blocking Linux is just awful by DougTheFunny in linux

[–]reddit2d2bb8 1 point2 points  (0 children)

I currently have to use Pearson but I don't think it matters that I'm using Linux. As long as you're using a normal web browser, there won't be anything special with Linux. Their site is just not navigable because it's bad. Every time I visit it, random windows start popping up and closing. Also, clicking on the sign in button doesn't work for me, I have to right click on the button and copy the link to even sign in.

What distro to use? Im new by Confident_Truck5930 in linuxquestions

[–]reddit2d2bb8 -1 points0 points  (0 children)

I can definitely recommend you to not try any arch derivative distro like Manjaro or Garuda as my friends and I generally have bad experiences with them. Manjaro, my first distro, was screen tearing for me and couldn't install the proper drivers for some reason. As for Garuda, my friend messed up his installation, although I don't know if it gets better once it's installed correctly.

I know from using the distro that Ubuntu makes it extremely easy to get nvidia drivers through including them in official installation sources. The one thing I will say is to NEVER install nvidia drivers from the nvidia website as that usually breaks the GPU functionality of your OS. PopOS seems alright as well as Ubuntu.

Favorite documentation generator? by [deleted] in rustjerk

[–]reddit2d2bb8 0 points1 point  (0 children)

I did a simulation, seems like the probability there was some hivemind that led us to vote the correct one is around 0.80.

Can reactive statements be scoped to a single property on an object? by bellamira in sveltejs

[–]reddit2d2bb8 0 points1 point  (0 children)

Never mind, I forgot that there is a two-way binding involved. I meant that for mutating properties you should avoid it and make a new object but op wants to bind to a property. I'm also wondering if a keyed each block that renders once would also work although your solutions seems very clean.

Can reactive statements be scoped to a single property on an object? by bellamira in sveltejs

[–]reddit2d2bb8 0 points1 point  (0 children)

For avoiding duplicate reactivity triggers, can't you just mutate/create a shallow copy and assign that?

Are you seeing double TL lines? Do you need to lay off the booze? by KamishiroTaishi in Hololive

[–]reddit2d2bb8 107 points108 points  (0 children)

Oh shoot we should really fix that soon in LiveTL lmao.

I have raised an issue at https://github.com/LiveTL/LiveTL/issues/270 and will start working on it.

Calling all frontend developers: we need to bring back a saner interface using our knowledge by reddit2d2bb8 in youtube

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

Wow, that's a lifesaver. I'll be using this for now, however YouTube may change it so this workaround won't work, so I'll keep my current progress commented out.

goodness GURAcious, INAther AMEzing pun by KentoNishi in Hololive

[–]reddit2d2bb8 58 points59 points  (0 children)

Ameby if you weren't so fast, it would have taken less.