[-] oscar@programming.dev 7 points 2 weeks ago

Somebody should write a python to javascript transpiler for the web...

(please don't actually do that)

[-] oscar@programming.dev 7 points 1 month ago

Duck typing moment

[-] oscar@programming.dev 9 points 3 months ago* (last edited 3 months ago)

Maybe it's still using the borked config because all sessions were not exited? Try exiting it and then make sure no tmux process is still running, by for example running ps -aux | grep tmux.

Otherwise there must be some tmux config still lying around in your $HOME.

Edit: I don't know anything about Macs so I'm just assuming it works similar to linux.

Does fzf search hidden folders? You could also try with this, to make extra sure: find $HOME -name "*tmux*".

[-] oscar@programming.dev 8 points 3 months ago* (last edited 3 months ago)

Linux uses 8 spaces. Excerpt from the official style guide:

Tabs are 8 characters, and thus indentations are also 8 characters. There are heretic movements that try to make indentations 4 (or even 2!) characters deep, and that is akin to trying to define the value of PI to be 3.

Rationale: The whole idea behind indentation is to clearly define where a block of control starts and ends. Especially when you’ve been looking at your screen for 20 straight hours, you’ll find it a lot easier to see how the indentation works if you have large indentations.

Now, some people will claim that having 8-character indentations makes the code move too far to the right, and makes it hard to read on a 80-character terminal screen. The answer to that is that if you need more than 3 levels of indentation, you’re screwed anyway, and should fix your program.

In short, 8-char indents make things easier to read, and have the added benefit of warning you when you’re nesting your functions too deep. Heed that warning.

The reasoning seems sound, but I still prefer 4 personally.

[-] oscar@programming.dev 6 points 3 months ago

I used vscode for a few years, but I eventually went back to neovim/tmux. It's a lot less resource heavy, and it's easy to just ssh and jump in from home. I also much prefer a modal editor and I don't want to have to touch a mouse.

[-] oscar@programming.dev 6 points 5 months ago

Are you using treesitter? I think that has an option to handle indentation, but I'm not sure if it's enabled by default.

[-] oscar@programming.dev 10 points 8 months ago

I seed without cap, don't really need my upload for anything else. (500 Mbps)

What's the distro? I can help seed it indefinitely with open ports.

[-] oscar@programming.dev 6 points 10 months ago

Another package to check out is lxml. I personally don't like it due to its typing but sometimes I have been forced to use it for its added features over the builtin etree.

[-] oscar@programming.dev 8 points 1 year ago

What distro did you go with? My friend is showing intrest in trying Linux but I'm not sure what to recommend him. I use more advanced distros myself but I want it to work well for him OOtB while also not requiring any tinkering. I'm think of either some ubuntu-flavour or fork, like Kubuntu or maybe Mint.

[-] oscar@programming.dev 10 points 1 year ago

My thinkpad model officially supports linux, so there is no problem there. It is also much cheaper than any of those brands, and it's also available from the regular stores.

[-] oscar@programming.dev 7 points 1 year ago* (last edited 1 year ago)

There default settings are highly unsecure.

There is a Firefox fork called librewolf which addresses that.

[-] oscar@programming.dev 7 points 1 year ago

But there isn't any official teams client for Linux either way, right? I use an unofficial one, so I hope this won't break it.

view more: ‹ prev next ›

oscar

joined 1 year ago