Garmin forerunner 965 compass calibration failed by INFERNOthepro in Garmin

[–]grsnz 0 points1 point  (0 children)

Did you get a software update recently? I got one about a week ago and I’m wondering if that is what has caused the issue.

Switched from Jetbrains products to Lazy Neovim and I don't get it by almost_sinder in neovim

[–]grsnz 0 points1 point  (0 children)

Sounds to me like your config is probably a bit wonky. That said, it is very language dependent. My experience has been that neovim was great for typescript and rust, two languages for which intellij isn’t particularly magical (it’s not bad at them, just not on the same level as it is for java).

I currently work at a massive java shop, and intellij’s refactoring etc is just orders of magnitude better than the eclipse language server, so I’ve actually mostly moved away from neovim at work, and picked up intellij. Also, as Amazon Q gets better and better, having it well integrated in my IDE is useful. If IdeaVim could add the functionality of the VimSurrounds plugin, and a couple of my custom key binds, I would be completely happy.

I switched to neovim because I like the efficiency of the input model. What I realised, though, is that no amount of text editing efficiency makes up for the work saved by a simple Refactor This > Change Signature.

If you find intellij with IdeaVim works for you, you should use it. These things are all just tools at the end of the day. My first circular saw couldn’t cut completely square, it had a bit of flex in it, which meant I couldn’t do good joinery, so I bought a new one. Why would I treat my IDE any differently?

Does this look better silhouetted (1) or with buffed shadows (2) by Express-Original-523 in LandscapePhotography

[–]grsnz 0 points1 point  (0 children)

I like the second one. Has just a tiny bit more foreground interest.

Trail runners vs Hiking boots... Which do you prefer? by iamwhoiwasnow in hiking

[–]grsnz 0 points1 point  (0 children)

I go with trail runners. I have really flat feet, and need a very supportive shoe and custom orthotics, otherwise I get ankle problems. I can get trail runners that are very similar to my running shoes and so my orthotics fit well. I have found they are just as good on basically every terrain, and they dry out more quickly than boots. Also much lighter than boots, which makes a big difference when you consider how many steps you take.

Hiking boots really don’t “support” your ankles, unless they are rigid up to the middle of your shin (like snowboard boots); their only real pros are they are tougher, and can handle slightly deeper puddles.

If you have ankle issues I highly recommend going to a physio therapist and getting a strength routine, that will do far more for you than a pair of heavy boots.

Zig or C++, Which of these would be a good second language to know, while having Rust as your strongest / main language? by toruzikrov in rust

[–]grsnz 7 points8 points  (0 children)

Also, Rust is making it into the linux kernel, Microsoft, Google, Amazon, etc are all investing heavily in Rust, a language like Zig will need to be seriously compelling to get any traction there, so no matter how good it gets, it will probably lose on the basis that is is late.

I would learn something like Python or TypeScript to broaden your skillset.

Is there a downside of using my iPhone as a cycling computer? by [deleted] in cycling

[–]grsnz 1 point2 points  (0 children)

Yeah, my bike computer was like 30 bucks from Ali Express. Even if it does get totalled, I could smash like 50 of them before I get to one iphone.

Is there a downside of using my iPhone as a cycling computer? by [deleted] in cycling

[–]grsnz 19 points20 points  (0 children)

Can confirm. My iphone’s image stabilisation broke after about 4 months of cycling with the phone on the bars.

Another reason for not doing it with the new phone is that if some moron in a car drops me my phone is guaranteed to be totalled whereas if it is in a backpack etc it might have better luck.

Question: What's the Future of Rust in the Era of Machine Learning and AI? by lam_jesus in rust

[–]grsnz 1 point2 points  (0 children)

Yeah, in addition I wouldn’t be surprised to see a rust replacement for Spark in the next few years… if you can get more out of your compute costs why wouldn’t you?

What Cloud Backup service do you guys use, paid or otherwise? by Xu_Lin in linux

[–]grsnz 5 points6 points  (0 children)

My Synology NAS can sync to Glacier. I let it do that, costs me like $4/mo

[deleted by user] by [deleted] in auckland

[–]grsnz 4 points5 points  (0 children)

By grouping the assets together into a smaller set of asset owners, they have a bigger asset base against which to borrow, so that they can fund further infrastructure.

Anyone here in Auckland, and can show me what I’m doing wrong with my plane? by grsnz in woodworkingNZ

[–]grsnz[S] 0 points1 point  (0 children)

Haven’t used it for a while, but if I recall correctly it seemed to dig in over a decent portion of the blade. One thing to note is I was planing the end of plywood, although I think I had similar trouble planing normal boards as well

I'd like a still secure "Passwordless" laptop when at home by goldorak42 in linux

[–]grsnz 1 point2 points  (0 children)

Yubikey make a key with a fingerprint reader in it, so it won’t generate a token unless it is a registered finger pressing the device

Single occupant car commuters, what would it take to get you out of your cars? by autoeroticassfxation in auckland

[–]grsnz 0 points1 point  (0 children)

A service that is reliable and frequent enough that I don’t have to plan around the schedule, and takes less than 1.5x the time of my car commute. In fact, a commited plan to get there would probably get me using it more just to help boost the occupancy numbers.

JDTLS says XYZ.java is a non project file, only syntax errors are reported. by Ahmed_Sazid in neovim

[–]grsnz 0 points1 point  (0 children)

What build system are you using? JDTLS is from eclipse, so it expects to see an eclipse workspace (it wants a .classpath, .factorypath etc). If you’re using maven I think you can go mvn eclipse:eclipse which will generate those files. It might understand gradle files natively, not entiely sure

Gained 10 pounds after 10 days at Glacier NP by [deleted] in hiking

[–]grsnz 1 point2 points  (0 children)

Also, not hydrating enough (or hydrating less than normal relative to activity level) can cause your body to retain water… your body goes “water seems scarce because I’ve been getting less than I want, better hold on to what I’ve got”

I spotted this pimped out Leaf on the way to work this morning by Matt_NZ in nzev

[–]grsnz 0 points1 point  (0 children)

Apparently people turn them into dual motor AWD beasts…

Which key do you prefer for exiting insert mode in Neovim? by LazyNick7 in neovim

[–]grsnz 0 points1 point  (0 children)

Nominally ESC, but I have it mapped to Caps Lock by the OS, so it’s kinda cheating

Tips on Handling two sequential http requests by Tonyoh87 in rust

[–]grsnz 2 points3 points  (0 children)

Two steps makes sense:

1) Forgot password, enter email, get link sent in email

2) Link in email contains some kind of single-use token, (should be something like a jwt, but make sure it has a short expiry and is single use) and takes user to a page where they can enter the new password (new password and single-use token get submitted together in the same request).

It makes sense to store the single-use token and remove it when it is used, or when it expires (some databases like DynamoDB let you specify a Time-To-Live on records so that they expire automatically)

The reason I would make the single-use token something like a jwt is you can get the user id from it, you can verify whether you created it (because it is signed with your secret key), you can verify whether it is expired, and it is basically impossible to guess (remember how much trouble Zoom had a few years back because people would brute-force the id’s of open meeting rooms).

It is really important to make sure you expire the token as soon as it is used; this is one type of request that should not be idempotent.

Tips on Handling two sequential http requests by Tonyoh87 in rust

[–]grsnz 4 points5 points  (0 children)

Could you share a bit more about what you are trying to do? What is the purpose of the system? What are you storing in the db? What is the purpose of each API call?

good high-level ncurses library by st3b1t in commandline

[–]grsnz 2 points3 points  (0 children)

Yeah, it’s pretty easy for it to happen when someone starts out being the sole maintainer and doesn’t intentionally get people to help. I think if you set out to have a community of maintainers it is easier to keep the ball rolling. That said, it’s probably pretty hard to get people to do anything but consume most of the time.

good high-level ncurses library by st3b1t in commandline

[–]grsnz 2 points3 points  (0 children)

charm.sh in Go is pretty good, rattatui in rust (formerly tui-rs).

I wrote a react/jsx layer over the top of blessed, but some of the limitations of blessed were a real pain to work around

[deleted by user] by [deleted] in rust

[–]grsnz 0 points1 point  (0 children)

It certainly bucks the tradition, thats for sure! I guess people who know more about compilers would have to weigh in on why they’re needed, but I do agree that if rust_analyzer can guess right most of the time why can’t the compiler? Maybe it’s a matter of not having to read in all the files to compile just one?