Readit News logoReadit News
StreakyCobra commented on Developing inside a virtual machine   blog.disintegrator.dev/po... · Posted by u/disintegrator
disintegrator · a year ago
Author here. Thank you for all the tips. I especially like the idea of using ssh from guest to host to enable pbcopy/pbpaste and open.

Now I know what all the WSL users experience seamlessly with their setups. Glad I have something that comes close.

StreakyCobra · a year ago
Thanks for the post, an interesting read!

Side note: I checked out your other blog post, and it resonates with my own first post, which I wrote just two days ago: https://fabiendubosson.com/blog/overcoming-perfectionism/. You’re definitely not alone in battling anxiety, perfectionism, and procrastination when it comes to blogging. Keep writing! :)

StreakyCobra commented on Untrusted Device Encryption   docs.syncthing.net/specs/... · Posted by u/tosh
planede · 2 years ago

  > The untrusted device will be able to observe:
  >   File sizes
  >   Which parts of files are changed by the other devices and when
I know that cryfs[1] is resilient to at least the first of these, and possibly the second as well. I don't know if cryfs allows to modify the base directory while the filesystem is online, if it does then it might already be a better solution for syncthing, if you only care about Linux.

On the flip side syncthing could incorporate cryfs's base directory format instead of their home-grown one.

[1] https://www.cryfs.org/

edit:

https://www.cryfs.org/tutorial says the following about concurrent access to the basedir:

"Warning! Never access the file system from two devices at the same time. This can corrupt your file system. When switching devices, always make sure to stop CryFS on the first device, let Dropbox finish synchronization, and then start CryFS on the second device. There are some ideas on how future versions of CryFS could allow for concurrent access, but in the current version this is not safe."

Too bad.

StreakyCobra · 2 years ago
I'm looking to improve my documents syncing setup. Currently I'm using owncloud, but that seems overkill for just files syncing and it requires maintenance, so I gave Syncthing a look. The "Untrusted device encryption" was not appealing to me because I'm not convinced by the security aspects yet, and also because it is in beta for now. I used gocryptfs [1] in the past and was quite happy with it, so I'm planning to use it on top of Syncthing to have files synced encrypted. As far as I have read this setup (Syncthing + gocryptfs) seems to be used by several people and has already been discussed by gocryptfs' author, who recommended a `-sharedstorage` flag for such use case [2]. Reading [3] I think gocryptfs is more suited for files syncing than cryfs. I'm aware that the metadata (file size, structure, …) of my files are not encrypted but that's a compromise I'm ready to make.

I would be happy to hear about opinions about this approach.

[1] https://nuetzlich.net/gocryptfs/

[2] https://github.com/rfjakob/gocryptfs/issues/549#issuecomment...

[3] https://www.cryfs.org/comparison

StreakyCobra commented on Datasette Lite: a server-side Python web application running in a browser   simonwillison.net/2022/Ma... · Posted by u/simonw
eatonphil · 4 years ago
My biggest issue with Pyodide (which is of course an awesome project/build on its own) is the long wait times. I haven't figured out a way around a ~5 second load time where the entire UI hangs every single time you load the page.

My app (similar to Simon's, a lite mode of a data IDE): https://app.datastation.multiprocess.io.

My code: https://github.com/multiprocessio/datastation/blob/main/shar....

StreakyCobra · 4 years ago
If you use it in a web worker the UI does not hang. It requires a bit more setup though:

https://pyodide.org/en/stable/usage/webworker.html

Edit: typo

StreakyCobra commented on I introduced my 5-year-old and 2-year-old to startx and xmonad (2012)   changelog.complete.org/ar... · Posted by u/0des
md8z · 4 years ago
I'm going to get flak for this but I'll say it anyway: tiling window managers are awful and broken, everybody who uses them on Linux knows it and either doesn't want to admit it or knows it and doesn't care. I get why they are appealing to programmers, it's alluring to think that you can use a desktop without ever taking your hands off the keyboard, and it's fun to write little scripts to control things. But honestly, everything that can be done with a tiling window manager can be done better with other tools. Yes, they are that broken. They get used because they're a fun little tool for programmers to play with and break and waste time, and not because they have any practical purpose. There are plenty of better computing skills to teach children than this.

And before someone accuses me of being a KDE fanboy or GNOME fanboy or something, I used tiling window managers for many years. I've spent countless hours playing around with them and hacking on them. It was a frustrating experience the whole way through and when I look back at the whole thing there was really nothing positive about it. I'm completely serious here, I don't think I would have made this comment back when the article was written but that's all I can say after 9 years of messing around with it. I suppose they are great if you want to introduce your child early on to the classic experience of Linux where everything is controlled entirely through arcane and badly document config files and keyboard shortcuts, and lots of things just randomly don't work. If you are a person who works on these things or wants to teach them to children, in my opinion your time would be better spent elsewhere.

StreakyCobra · 4 years ago
> tiling window managers are awful and broken

You comment may have been useful if you would have said how and why they are awful and broken. For now it is just a rant without any supporting arguments.

StreakyCobra commented on People who have unusual, or non-existent, inner voices   theguardian.com/science/2... · Posted by u/lxm
StreakyCobra · 4 years ago
> Many of the people I speak to learned late in life that their inner voices were not the norm. For years, Worrall thought that other people also had attics in their brains.

I went through exactly the same situation around 10 years ago, but it was about mental imaging. Do you know people can actually visualize and see things when they close there eyes? You probably do, but it took me 25 years to figure out that for most people closing their eyes is not like closing a black curtain.

If that is a surprise to you that people can create and see mental images, you probably have aphantasia as well: https://en.m.wikipedia.org/wiki/Aphantasia

Since then I'm convinced that not two brains experience the world the same way. Inner voice and mental imaging are probably two of the many things we assume to be the norm.

StreakyCobra commented on Magit, the magical Git interface (2017)   emacsair.me/2017/09/01/th... · Posted by u/Tomte
hirple · 4 years ago
You should just be able to hit `$` in the magit buffer to watch the output.
StreakyCobra · 4 years ago
Oh… when git fails I always have to navigate to the end of this buffer so I thought it would not auto-scroll. I should have tried earlier. Thanks!
StreakyCobra commented on Magit, the magical Git interface (2017)   emacsair.me/2017/09/01/th... · Posted by u/Tomte
StreakyCobra · 4 years ago
Tip of the day: you can have `magit` as a fast and standalone tool by using this script (require emacsclient to be setup properly):

  #!/usr/bin/env bash
  
  emacsclient -c --eval "(progn (magit-status) (delete-other-windows))"
This will open the repository under the current path in a maximized magit window.

The only downside I have for now about magit is when using `pre-commit` it can run for long sometimes, so it would be nice to see the progress/output of pre-commit while waiting for the commmit message buffer to appear. If you know a way I'm all ears.

u/StreakyCobra

KarmaCake day691June 19, 2014View Original