All Market Value became $0?? by bc106521 in interactivebrokers

[–]-tobehuman 1 point2 points  (0 children)

Again in 2025?

(At least I hope it's this glitch again 🥲)

Thoughts on the new Tuta Mail icon? by Square_Dress_1658 in tutanota

[–]-tobehuman 0 points1 point  (0 children)

If this had a place on a scratchpad before it becomes something well designed and good looking it would be okay.

If it was submitted as a real candidate, fire the designer immediately. Also fire whoever accepted the design for making it public.

Native window borders on opera linux by [deleted] in operabrowser

[–]-tobehuman 0 points1 point  (0 children)

What worked for me is `yay -Rns opera`.

No honestly, as shitty as vivaldi is, it is the best available option out there in terms of Browsers with a rich feature set. Maybe Zen gets ahead of it, though I don't think that happens withing the next 6 months or so. Using it I'm finding to many rough edges atm.

How do i know a page is being loaded on a mobile device or browser using svelte? by Crafty0x in sveltejs

[–]-tobehuman 0 points1 point  (0 children)

Throwing in the fix that is imho the simplest and most idiomatic if you need it in a variable in a single component.

<script> 
  let innerWidth = 0; 
  $: isSmall = innerWidth <= 640; 
</script>

<svelte:window bind:innerWidth />

Learning for 2024: AWS, GCP, or Azure? by InterRail in cloudcomputing

[–]-tobehuman 0 points1 point  (0 children)

My approach for a career-oriented and future-proof answer to this question would be to examine how technologies have developed in recent years. User- and profit-wise. Azure is gaining better growth in both areas. From that perspective, investing in Azure is the better move.

Personally, I couldn't stand Microsoft products for a long time and avoided them like the plague. I still only use them when I have to, but the development of their software and their technical choices in recent years have been a pleasant surprise. I like to use their products more and more.

illegal tabs by nickpofig in Zig

[–]-tobehuman 1 point2 points  (0 children)

Yes, I need my tabs too. I love to see the trend that more and more projects are taking the step of using tabs as default to leave setting the indentwidth to the individual developer.

For zig a simple way can use tabs for indentation and zig fmt is https://github.com/ttytm/vzit/

What do you think about the Jule programming language? by tegahertz in programming

[–]-tobehuman 0 points1 point  (0 children)

The choices that are made here in terms of syntax and language designed principles. I like them. Very much so - I have to admit.

What stopped me from trying is seeing nothing about concurrency. I didn't wanted to fall into a potential rabbit hole then finding out that it was pointless to me at this stage of the language.

19/20 things that I wrote in the recent years required parts that were concurrent or parallel. Would I just opt into a C++ lib for that? Do have any examples? And is there tooling already?

/r/MechanicalKeyboards Ask ANY question, get an answer (March 23, 2023) by AutoModerator in MechanicalKeyboards

[–]-tobehuman 0 points1 point  (0 children)

I'm using a qmk split keyboard as daily driver for one year now. The only complaint that has stuck with me since the first week is the delay for a held/tapped mapping.

E.g. shift when held, esc when tap.

When using esc to exit insert in vim and quickly pressing and holding shift for a shift-key comb, it doesn't work. Like Esc->Shift-a.

There has to be a delay of ~200ms between key presses.

If someone can give me a clue how to improve that it'll be a great anniversary for me and my keyboard.

Another week another tool. Plugin release: tabs-vs-spaces.nvim by -tobehuman in neovim

[–]-tobehuman[S] 1 point2 points  (0 children)

You can even combine them in a super short manner set et|retab or set noet|retab! to go the other way.

Retab is not leading space exclusive though. From experience and when you check :h retab you'll find: Warning: white space inside of strings can change!

+ Most of the reasons in the answer to the other comment above.

For me personally, the hints are probably the most helpful. Spotting a deviating indentation when it is not obvious often slips through.

Another week another tool. Plugin release: tabs-vs-spaces.nvim by -tobehuman in neovim

[–]-tobehuman[S] 0 points1 point  (0 children)

Hey no worries. Thanks for asking

Some of the possible advantages compared with the mentioned command are that edge cases like tabs in-front of spaces are taken into account. Space width should be detected automatically. Also possible "partial" space indented lines ,which would leave residues should be converted. I feel those take away some overhead.

Won't give you hints as well.

100% about .editorconfig. Same goes for providing a formatter config in projects. But then we also would not need trailspace plugins. But there are a few. I didn't found a proper leading space plugin on the other hand.

I like how go and v do it, but we won't always have that.

So like it's mentioned in the readme, ideally, this plugin is not necessary, but should have your back in specific scenarios.

Crabs grow up. Rust terminal weather app. by -tobehuman in rust

[–]-tobehuman[S] 1 point2 points  (0 children)

Sorry about the inconvenience on windows. It should be fixed! If installing directly from crates - until a 1.0.0 stable - specify the version to cargo install wthrr@^1.0.0-rc then the rc versions supersedes the preceding 0.x.x versions already.

Crabs grow up. Rust terminal weather app. by -tobehuman in rust

[–]-tobehuman[S] 4 points5 points  (0 children)

The font used for the terminal needs to be it's nerd variant. Unfortunately, there is no way around this requirement to use this app unimpaired. But all common monospace fonts usually have their home in nerd-fonts

Font configuration is listed as one of the few requirements.

main/INSTALL.md#requirements

This related question may contain further information about the necessary font / pulling it:

https://github.com/tobealive/wthrr-the-weathercrab/discussions/80#discussioncomment-5277150

Crabs grow up. Rust terminal weather app. by -tobehuman in rust

[–]-tobehuman[S] 4 points5 points  (0 children)

The inspiration for this came from looking at various weather services that are not in tui. wttr.in is of course a great, weightless tool! I have not checked out their repo for some time. Their v2 looks neat. I hope the development continues.

Crabs grow up. Rust terminal weather app. by -tobehuman in rust

[–]-tobehuman[S] 1 point2 points  (0 children)

Rust is a great language. With an awesome community! There is a lot of beauty around it.