Morphit

joined 2 years ago
[–] Morphit@feddit.uk 6 points 3 hours ago

I think this wiki cheetsheet will explain some of the defaults. Pretty much everything is controlled with a keybind using the meta/super (windows) key. Mod + d should open the launcher, I only used dmenu but yours might be something else. The launcher will let you launch applications by name. If you just want a terminal, Mod + Enter will open one.

You will want to look at your config. It should live in ~/.config/sway/config. If it's not there then mkdir ~/.config/sway/ && cp /etc/sway/config ~/.config/sway/. That should list the keybinds you have set. You can look up the options in the man page for sway.

Once you can do some basic window control, you might want to customise the status bar. The config should tell you what bar is being used, but there are a huge array of statusbars to choose from - I used i3status-rust but try searching for i3/sway statusbars to see what's out there.

[–] Morphit@feddit.uk -1 points 4 hours ago (1 children)

c/im248andthisisdeep

[–] Morphit@feddit.uk 6 points 3 days ago

They're on discount. You don't have to pay for the extra 40% of a keyboard.

[–] Morphit@feddit.uk 1 points 3 days ago

Ah, I saw another comment about this. The free plan is 300,000 queries a month. That'd last me almost a week before it stops working.

[–] Morphit@feddit.uk 7 points 3 days ago (1 children)

That says it will only function for 300,000 queries per month. Based on my last 24 hours from pi-hole, that wouldn't even last a week. Are you using a paid plan?

[–] Morphit@feddit.uk 17 points 6 days ago* (last edited 6 days ago) (1 children)

I think it's a cylindrical square. It can be set on one end on a surface plate to find 90°. Because it can be rotated, it can be checked for error. I think they're often made by apprentice machinists, hence the name and date stamped in it.

Example commercial version: https://www.mscdirect.com/product/details/06504302?item=06504302

Example use of one with a surface gauge as a squareness comparator: https://youtu.be/53q6kVX9gjM?t=1244

[–] Morphit@feddit.uk 19 points 1 week ago* (last edited 1 week ago) (1 children)

You think that's air you're breathing now?

[–] Morphit@feddit.uk 10 points 1 week ago

And Structured Query Language is a handy language for querying structured data?

[–] Morphit@feddit.uk 2 points 2 weeks ago

Yeah, I really dislike snap and have puppet clean it out and add in the real mozilla repo for me. If I wanted sandboxed apps I'd probably look at flatpak but I think there's still work to be done there also.

[–] Morphit@feddit.uk 1 points 2 weeks ago

Yeah, I just liked that bit of the meme. In the prank the meme is based on, they really are the same.

[–] Morphit@feddit.uk 7 points 2 weeks ago (1 children)

I'm afraid that's a CT scanner not an MRI.

Your point stands though.

 

Has anyone watched the Secret Level shorts released so far?

Unreal Tournament was a huge nostalgia hit for me and I think the episode was a great interpretation of it. I highly recommend for anyone who played.

The Warhammer 40k episode was also great though I don't have the same kind of investment in the games or media there. The others seemed fairly good for what they are but there's only so much that can fit in a 5-15 minute piece.

Amazon Prime Video link for anyone interested.

 

This video appeared on my home page and I had to look twice at the thumbnail: The Tomb of Saint Peter Explained

 

I'm upset that a meme I tried to remake with Unicode box drawing characters lines up terribly in apps: https://lemmy.ca/post/28490027 Shouldn't code blocks render in monospace?

On Lemmy's web frontend it's perfect:

On Connect it looks like this:

On Jerboa it's basically the same:

Eternity does use monospace but the box drawing characters seem to be too wide.

All I can find about it here is one post from a year ago: https://lemmy.ca/post/1492857

 

cross-posted from: https://feddit.uk/post/12276336

Sorry for the crap photos - I just wanted to share these extra keys I added to my Lily58.

I noticed there was a gap in the matrix so I tacked a spare hot-swap socket to the pads on the back of the PCB. That worked with minimal modification to my QMK set-up. I couldn't really use it dangling off some wires so I set out to make an extension that would slot in and be retained by one of the standoffs. I don't have a laser cutter or 3D printer so I just hacked these out of a sheet of ABS plastic following a printed template and glued them up. They're nice and solid and line up really well, despite being rather rough around some of the edges.

I'm finding the 1.5U keys a bit confusing at the moment, swapping them out for 1U keys makes it a bit easier to home my thumbs. These are certainly much easier to access than the outermost keys on the lower row or the keys below the display. I'm thinking they need to be called Lily Pads.

 

Sorry for the crap photos - I just wanted to share these extra keys I added to my Lily58.

I noticed there was a gap in the matrix so I tacked a spare hot-swap socket to the pads on the back of the PCB. That worked with minimal modification to my QMK set-up. I couldn't really use it dangling off some wires so I set out to make an extension that would slot in and be retained by one of the standoffs. I don't have a laser cutter or 3D printer so I just hacked these out of a sheet of ABS plastic following a printed template and glued them up. They're nice and solid and line up really well, despite being rather rough around some of the edges.

I'm finding the 1.5U keys a bit confusing at the moment, swapping them out for 1U keys makes it a bit easier to home my thumbs. These are certainly much easier to access than the outermost keys on the lower row or the keys below the display. I'm thinking they need to be called Lily Pads.

 

Hi All,
I'm still very new to Nix but trying to daily-drive NixOS.

What I'm currently stuck on is injecting Python packages into a Jupyterlab service. What I have at the moment in the home-manager.home portion of my system flake is the following:

  systemd.user.services.jupyter = let
    jupyter = pkgs.jupyter-all.override {
      python3 = pkgs.python311.withPackages (python-pkgs: with python-pkgs; [
        numpy
        matplotlib
      ]);
    };
  in {
    Service = {
      Type = "simple";
      WorkingDirectory = "${home.homeDirectory}/notebooks";
      ExecStart = "${jupyter}/bin/jupyter-lab --no-browser";
    };
  };

This fires up a JupyterLab process that I can connect to and which runs fine, but numpy etc. can't be imported. From a devshell, I see that the python.withPackages mechanism seems to rely on $PYTHONPATH to pass in a python3-3.11.8-env package that contains a lib/python3.11/site-packages. I'm guessing that the systemd service just needs to have an Environment key, but where do I get the python3-3.11.8-env path from?

The Jupiter executable is in a /nix/store/#-python3-3.11.8-env/bin location, but the site-packages only include the modules for Jupyter so I assume there's another python3-3.11.8-env in the nix-store that does have the python packages I'm trying to get. Trying things like jupyter.env gives errors like *** Python 'env' attributes are intended for interactive nix-shell sessions, not for building! *** but I'm just taking a stab in the dark here.

I'd appreciate any pointers on this. I see there are helpers like JupyEnv, but these seem focused on setting up ephemeral devshells, not running a service for long-term notes and seem like overkill for what I want.

 

I seem to have gotten a saved account that can't be switched to and therefore can't be removed.

My instance had some server side issues and on PC I had to delete my cookies to get the desktop site to work. Connect wouldn't work and I had to add the account again. At some point the account name has changed to my email address @feddit.uk, which looks weird since it has two @ symbols. The newly added account works fine, but there's this stuck second version of it.

When I try to switch to the broken version I get an error pop up that just says "Error: unable to switch to 'me@email.domain@feddit.uk'" and it seems to retain the currently selected account.

Since I can't switch to that account, I can't sign out to have Connect forget it. So I don't see a way to get rid of it.

Has anyone else run into the same problem? Any suggestions?

view more: next ›