You don’t need the and right? Can’t it just be return a or b
This doesn’t work if a is falsy non-null actually
You don’t need the and right? Can’t it just be return a or b
This doesn’t work if a is falsy non-null actually
I used boba u4 silents on my custom keyboard. Absolutely love them. Wish they made a consumer-grade keyboard with them (or maybe they already do?) But I’ve been working on a MacBook recently and tbh the keyboard there is pretty good now. So next step for me is to build a low profile keyboard
On my colemak keyboard I put arrow keys on another layer under where hjkl are on qwerty. Beyond that, most of the keys are remembered by mnemonic rather than position imo
If this is about line endings, surely a simple shell or python script could correct them?
When I was learning neovim over the summer, editing the configs was the perfect way to practice editing. Lua is a simple language and forcing myself to do the config from within nvim created a positive feedback loop where I wanted to keep using the editor more and more. (I realize this anecdote is a non-solution to your request)
I’ve been using Sidebery with some userchrome to hide the top tabs, and it’s a workable solution, but far from ideal.
I also wish keybindings were configurable. For example, with the “/” search, ctrl-g/G to go to next/prev match is really weird
For the last point, even worse on Mac
Yeah exactly, Unity and Godot both use C# the same way React and Svelte both use JavaScript. Definitely some level of transferability, but honestly worth learning GDScript in my opinion because it’s a simple language and a pretty good fit for game scripting, and the one that gets first class attention from Godot.
What does that mean? When I’ve used yay, it only asks for sudo privileges when installing the package (and so does pacman)
VS Code has some pretty good ide features for python, including understanding types, highlighting errors and warnings, linting, navigation features such as go to definition or go to references, and basic refactoring capabilities like rename symbol. These features are enabled by the python language server (pylance, in this case, which is Microsoft’s proprietary one).
You can also get the same features in other editors that support the language server protocol. For example, I use neovim and my setup supports those same IDE features I used to use in VS Code for python.
I’ve been enjoying wezterm as a terminal emulator replacement for windows terminal. It offers nerdy fine grained customizability and an emoji/nerd font character picker. For most purposes WT seems to be fine though.
I can never get this to work properly… Do you have any resources?
Any Linux distro should work for the setup you want. I have radarr, sonarr, sabnzbd, deluge and jellyfin running on an Arch setup, but something more accessible like Ubuntu or Debian should work fine (although I’m not familiar with whether the Pi4 can power those heavier distros). If you’re comfortable with the command line, it doesn’t matter much which distro you pick since you can install and configure all those apps over ssh.
As far as I know, Swahili is almost always written with the latin script.
Seems like the prediction about the web panned out…
Really into these dutch invasion memes eh?
I really love PowerPoint. I feel like the automatic snapping features and general polish allow me to make very pretty slides with a high level of control, and it feels way better to use than e.g. web-based alternatives. Admittedly, I haven’t tried a foss alternative in years.
Since this issue is most prevalent while browsing new, you could temporarily store (a hash of) the titles and contents of each post during a given browsing session, and if a post matches another post on the same page (e.g. one set of posts from Everything/new), hide it and allow the user to see comments from each instance of the post when they view the canonical (earliest, or most active, or returned first) post.
If another duplicate post is later loaded (through scrolling) the post could be hidden and replaced with a smaller indicator telling the user a duplicate post has been detected, and they can click it to view the comments.
I wonder if there’s already a git extension to automatically stash the working tree on every clean/reset/checkout operation…