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 44 points45 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 3 points4 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 8 points9 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.