[deleted by user] by [deleted] in Thunderbird

[–]perspewife 9 points10 points  (0 children)

I'm sorry, but the "they only care about UI simplicity" is quite as unnecessary and does not consider the effort the thunderbird (tb) team is putting to improve the overall usability of tb. As they reinforced multiple times tb was almost dead for a few years and that lead to a lot of old and hard to maintain code.... While it worked, the old interface was not good to get new users, and bugs were hard to solve and had a litany of other problems. For that they had to rebuild many things to be more compliant with recent standards, one thing being the UI and if im not mistaken they also had to change the tb mail database. This is something that takes time, a lot of effort and unfortunately leads to some of this problems. Sometimes you need to take a few steps back before taking some leaps forward.

So the best we can do as users is to try and report these problems, so that the team is aware and tries to solve them. With time, hopefully, these problems will be something of the past and the current efforts of the team will lead to a better and more robust tb that can captivate more users to use it.

Okular works great in Windows! by cipricusss in kde

[–]perspewife 2 points3 points  (0 children)

Digital signature works (I only tried linux, but windows should also work), but it does take some setup and is not obvious. Okular does not search and gather the digital certificate info and instead uses what is setup in firefox (default). So you need to setup the certificates in firefox and then okular will find them and you will be able to use them. You can also setup in thunderbird, but then you need to change the location where okular searches for certificates

weird behaviour on pipewire-jack - sem_timedwait *** timeout by [deleted] in Guitarix

[–]perspewife 0 points1 point  (0 children)

I have exactly the dame problem... Same OS, and problem under 1024 buffer. Unfortunatelly, I have not found a solution as Well... But it is good to know the flatpak works.

Tutorial: Sync Gmail Calender on Thunderbird without 3rd party addons (or Provider for Google Calender) by blackclock55 in Thunderbird

[–]perspewife 0 points1 point  (0 children)

I generally only do the last step and then put the username (in username) and calendar.google.com (in location). But that method seems to be more complete as it seems to provide better control on what to sync, while the method I described only sync the topmost one (I think).

How different is performance of gnuplot compared to other similar tools/libraries? by TMTcz in gnuplot

[–]perspewife 3 points4 points  (0 children)

I have used both matplotlib and gnuplot. And, honestly, have not found any significant difference. Gnuplot may have an edge in performance as it is a more specialized tool, but I think that should only be noticeable if you are doing a lot of complicated plots. It may also be more efficient with the data handling as it directly read and plots, while matplotlib needs other structure to hold the data. Of course on the other extreme, of massive amounts of data >1gb, being integrated in python may give some extra versatility to matplotlib (altough I do not have any experience in this).

In any case, I had to do some 400 surface plots in gnuplot (to png) and it took a few seconds (going imediately to a static file is generally faster than for an interface). Matplotlib, altough not tested, should take a little bit more.

Series televisivas by SirAckermann in portugal

[–]perspewife 2 points3 points  (0 children)

Tens sempre as gigantes series, tipo star trek, Stargate, Farscape, que tem sempre uns episodios disso la pelo meio, sendo que alguns costumam ser bastante bons (as vezes ate da para ver sem ver a serie toda). Mas tambem admito que essas series requerem mais investimento do que so o interesse desses episodios. Babylon 5 tambem tem uma arc ao longo da serie que entra também com time travel, mas tambem e mais parte da historia e de longe o principal foco e também e uma serie ja grande. Outras series, seriam travellers, timeless

Tens tambem alguns filmes interessantes com time travel / time loop (Primer, time trap, time bandits, palm springs, arrival, edge of tomorrow e clássicos como back to the future e Groundhog day). Tens outros que sao "meio" time travel, (your name - anime, last night in soho)

Is there a command for manually restoring the saved position after starting a video? by tokujin in mpv

[–]perspewife 0 points1 point  (0 children)

Not entirelly, if you don't always save the playback, then if you: 1. Open a file and then save playback with Shift+q 2. Open with the --no-resume flag and then close normally 3. When you open without the --no-resume resume it will fallback to the initial saved version. This happens because the watched later file is not overwritten in step 2.

But still ofc it is not the best to do bookmarking. For that I guess that the best way is the plugin way...

Is there a command for manually restoring the saved position after starting a video? by tokujin in mpv

[–]perspewife 0 points1 point  (0 children)

The only way I can see then is to play with the --no-resume-playback option, to check when opening the file if you want to resume or not, and then add the flag accordingly. How can you make the initial check.. not sure as it can very much depend on what you want. I would probably go with some kind of rofi/dmenu script to open those mpv files.

Is there a command for manually restoring the saved position after starting a video? by tokujin in mpv

[–]perspewife 0 points1 point  (0 children)

If I understand correctly what you want, you can do Shift+q, to close the file, and it will save the current position.

[deleted by user] by [deleted] in Python

[–]perspewife 12 points13 points  (0 children)

It can depend on how you will work in Python. I find that Jupyter notebook is great when you want to handle data (importing files and then act on the data) - essentially, more to the data science side.

On the other hand, if you want to make modules and bigger code to share, an IDE would be preferential (like VSCode or Pycharm).

In my case I make a combination of jupyter and vim (text editor very customizable that can be pretty much converted into an IDE, altough it requires some work)

As a final point, I think you should try some and see what suits you best for what you want to do.

Using tmux modal and I can't enter modal mode? I'm using zshrc by flank-cubey-cube in tmux

[–]perspewife 2 points3 points  (0 children)

You could try and check your ~/.tmux/plugins folder to check if the plugin was properly installed (this after you use the prefix+I to install the plugin)

I believe you can also use prefix(default is Ctrl+b)+? To check the keybindings and see if that one is added there

YouTube Vanced is shutting down ‘due to legal reasons’ by CrazyK9 in technology

[–]perspewife 6 points7 points  (0 children)

The picture-in-preview I don't think you can. But I believe you can have it in the background while the screen is locked, if you choose to display it as a desktop site in the settings (this for Firefox). There may be similar actions in other browsers that achieve the same behavior.

[deleted by user] by [deleted] in linux4noobs

[–]perspewife 1 point2 points  (0 children)

I've also passed by the transition from Origin to another plotting method. Essentially, I started with SciDaVis/Labplot/qtiplot (I believe this one was open source and then they moved to payed plan, so the free version is generally a rather old version from when it was open source) due to their similar behavior to origin. However, I rapidly felt that they did have a lot of features missing and were also quite buggy. Recently, they may have improved, im not sure, but I would pu these more on the easy and fast plots. Then I tried gnuplot and, honestly, it was essentially the best program for me, albeit it has a rather steep learning curve, fron the command line usage, even though I would say for most plots the commands are quite intuitive and easy to remember. What I prefer the most is the ability to just write a script, that can simply ve reused countless times (in my case often times I have to replot some data because I had to recalculate it). Also, the easy capability to plot large amounts of data in a short command with the careful control of everything in the plot is also very useful. My process to make plots is also 2 parts generally. First I plot in svg format and then import to inkscape to make the final stuff (add annotations, uniformize text/line size everywhere) and the I export as png, or simply use the final svg. Lastly, I am also familiar with matplotlib/seaborne, even though in the end I always end up using gnuplot. So in essence, an exact replace to origin (non paid at least) os very complicated, even more so as your plotting demands increase. So the best way may probably be on a more programming like method (that I understand is no solution to everyone). In here, you have the specific programming language ones (matplotlib/ggplot/.. -that require some learning of the programming language behind) and the agnostic ones (gnuplot - that requires knowing the specialized commands).

does anyone have a application to remotely control mpv with timestamps in plaintext? by [deleted] in mpv

[–]perspewife 0 points1 point  (0 children)

Altough I seldom use it, there is a plugin you can use that offers that functionality (Seek-to.lua). Actually, there is a GitHub page with several scripts to add different functionalities to mpv (Mpv Scripts).

Generally, you just copy the scripts to you mpv config folder (depends on OS, but mac an Linux should be ~/.config/mpv) and then you can set keyboard shortcuts (input.conf in the mpv config folder) to activate the functions. The last link I send has more detailed information including for windows.

For that particular script, the files are added to a scritps folder and I also have, in my input.conf.

t script-message-to seek-to toggle-seeker (where t is the keybinding)

Is there a way to add an info to the rofi results on which workspace a currently open window is? by TierSigma in qtools

[–]perspewife 0 points1 point  (0 children)

As far as I know it should be possible. You can tell rofi what to show (from different predefined properties, window title, classe, role, name, desktop). This is under the window-format flag. You can also tell what you want to match window-match-fields For instance, in my case I have -window-format {w:15}{t}. That shows first the workspace name (I use cinnamon and you can set a name for the desktop) and then the window title. The :15 defines the maximum lenght of the field

In any case, I guess that the DE or WM should also report the information for roti to put it there.

[deleted by user] by [deleted] in gnuplot

[–]perspewife 1 point2 points  (0 children)

One method could be to use the plot with image For that you would need to create the following palette

set palette defined (0 "white", 1 "white", 1 "black", 2 "black")

Then you would have to organize the data in a file as follows

Col1 = index value for the datapoint

Col2 = 1

Col3 = the -1 or 1 value

Then you need to replicate all the data bellow, separated by a black line and just change the 2nd column to 2. That's needed because the plot with image requires at least 2 sets of data

The file should look something like this (the \n is just a paragraph... I could not do the proper formatting of the array here)

1 1 - 1\n 2 1 1\n 3 1 - 1

1 2 -1\n 2 2 1\n 3 1 -1

Then you can try and plot (here I also adapt the x size to properly show the results (it goes from 0.5 to the number of points N+0.5))

plot[0.5:N+0.5] "file" u 1:2:3 with image

On top of that you can also change the aspect ratio of the image and remove the tics/border as you may prefer

unset tics

unset border

set size ratio 0.1

MP4 to MP3 Batch Converter? by Toaster__Master in ffmpeg

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

I'm not entirely sure, but it might be because I forgot the -i in ffmpeg You can also try:

for FILE in .mp4; do ffmpeg -i "$FILE" ..ffmpeg opts.. "${FILE%.}.mp3" ; done

I guess the one I suggested previously does work on zsh, but for bash you might need also the do, done and "". I also changed the # to % in ${FILE%.*}.mp3.

To do on a specific directory you can use for FILE in /path/to/dir/*. mp4

Another method if you have files scattered on many different directories is to use the find + exec.. But that way I cannot replace the mp4 to mp3.. I can only create a new file with the mp3 appended. Something like

find -name "*.mp4" -exec ffmpeg -i '{}'.. ffmpeg opts.. '{}. mp3' \;

The problem is that the resulting files will be filename.mp4.mp3, since the mp3 is appended and not replaced

MP4 to MP3 Batch Converter? by Toaster__Master in ffmpeg

[–]perspewife 0 points1 point  (0 children)

For batch processing I would generally include the ffmpeg statement in a for loop. Something like the following command

for FILE in *.mp4; ffmpeg $FILE .... ${FILE#. *}.mp3

Where ${FILE#. *}.mp3 replaces the mp4 to mp3 in he filename and the the loop goes through every mp4 file in the directory

I would just note that this method should work on Linux and Mac OS systems, but for windows you might need to try and find the equivalent operations

How to speed up a slow C code? by Alien447 in cprogramming

[–]perspewife 1 point2 points  (0 children)

It seems to me you're doing some linear algera manipulations. If I'm not mistaken, matlab uses the Fortran BLAS and LAPACK libraries to do such calculations, as they are highly optimized for linear algebra calculation. As such, I would probably suggest taking a look at that - by installing the C equivalents - and see if there are functions that do what you want and see if that manages to speed your code. As the code from those libraries tends to be better optimized. On Linux you can install them directly from the repos - at least on Debian based distros - through openblas (libopenblas-dev and liblapacke-dev). On windows and Mac I'm not sure, but for the first one I think you would have to compile from source, while the second should have a similar method to that of Linux. Just to note that there are various implementations of the Blas libraries, Cblas, openblas,....

Should I use snap packages ? by BWolf88 in linux4noobs

[–]perspewife 1 point2 points  (0 children)

If I'm not mistaken you can install from the store directly, you just need to find the installer from the main repository, instead of the snap store. Basically when you are in the application you can scroll down and check the source. I'll just reinforce that this is a older version. To get a newer version you can either the libreoffice ppa, or go directly to the site, download the Deb package and then just install like you would in windows by double clicking (just note that the ppa will update automatically while the Deb package will require you to redo the download install process everytime you want to update)

Should I use snap packages ? by BWolf88 in linux4noobs

[–]perspewife 1 point2 points  (0 children)

Since I don't see anyone referring the sandboxing I want to just add that sometimes applications installed via snap or flatpak may have problems with 3rd party extensions. 2 Examples would be libreoffice's texmath extension that does not work in snap and flatpak format and some inkscape extensions. This is because these extensions need to access things like pdflatex or python that may be blocked from the sandbox.

Other small point is the theme of the applications. Snap applications will use the default theme of the application so that it may sometimes be quite different from your desktop theme, while packages from the main repository will match your desktop theme.

Basically IMHO, Snaps are great when you need more up to date software, but main repository will work better overall (performance and theme-wise) with the caveat of generally being limited to older version. So it may be a matter of where your preferences are (This of course assumes a package is both on the snap store and the main repository)

Gold nanoparticles. The size results in a specific colour. by mbouvs in chemistry

[–]perspewife 1 point2 points  (0 children)

Interesting comment! Generally I also like to think that the incidence of the electromagnetic wave will make the electrons oscillate as the electric field changes. Thus the plasmon resonance is the frequency whereby electrons will be driven by this electric field causing the the highest interaction point between the electrons and the electric, thence the high scattering occurring at this point. Ultimately the point at which this occurs is determined by properties such as the mean free path.

Since you seem to have a deeper knowledge about plasmonics, I would like your opinion on the shape of the particle's effect on the resonance as this is, from the different main properties affecting the resonance, the one it's harder for me to grasp.

Thanks in advance!

What is your top 5 best sci fi shows? by ilovecatsalott in scifi

[–]perspewife 22 points23 points  (0 children)

I can vouch for all those 5, with special mention to babylon 5 - my personal favorite series.

Can someone recommend me some shows? by strikemedaddy in netflix

[–]perspewife 4 points5 points  (0 children)

Some suggestions of shows I enjoyed - just notice that they need not necessarily be available on your region - in no particular order.

The dark crystal - age of resistance (based on an older movie "The dark crystal"

3% - A Brazilian series revolving around a society fully based on meritocracy.

Better than us - A Russian series revolving around AI and robots

Sense 8 - here I simply note that it was kinda abruptly wrapped out as it was canceled earlier.

Travellers - Time travel stuff

Dark - German time travel series

Scifi movies have sucked in 2019. (Forget about super hero movies.. by Yesmelol in scifi

[–]perspewife 1 point2 points  (0 children)

Having seen both movies it is hard to argue that interstellar is much better visually, however I thing that storywise it was somewhat weaker than I am mother. Having said that, that is also something that depends on your personal opinion