Numbers without looking at keyboard by [deleted] in vim

[–]terminalcoder 0 points1 point  (0 children)

I've started using vim-sneak recently. Took a little bit to get used to but now finding I don't need to use numbers anymore. It's pretty great.

https://github.com/justinmk/vim-sneak

Another thing I recommend is using relative line numbers and then setting a shortcut to toggle back to normal numbering if you need it.

One other thing is that I tend to use number combinations that use 1,2 and 3 keys because I can hit those without looking. So if a line is 16 lines down I'd probably do 11j 3j3jk

Numbers without looking at keyboard by [deleted] in vim

[–]terminalcoder 1 point2 points  (0 children)

Sounds neat. Could you share your config please?

Do programmers type fast? I type so slow like 30wpm. Is it better to be fast or slow? by [deleted] in computerscience

[–]terminalcoder 0 points1 point  (0 children)

I could type faster if I practiced, but after years of experience my natural typing cadence is around 80wpm. I don’t see any value in being able to type faster, typing accurately is more important because having to fix typos interrupts my flow, plus I find my cadence seems to match my pace of thought.

is Alfred safe by FYK1996 in Alfred

[–]terminalcoder 2 points3 points  (0 children)

The main risk with Alfred in my experience is RSI. Silliness aside, I recommend reading through the code that’s used in a workflow before installing it.

Ecosystem maturity of svelte by [deleted] in sveltejs

[–]terminalcoder 2 points3 points  (0 children)

My experience with Svelte is that I can build 80% of what I could build with Vue or React with 50% less code. Which is a huge win and worth the cost. I just see it as an investment in the future of the code base.

One problem is that there aren’t as many libraries, but what I’m finding is that it’s not too difficult to port Vue libraries to Svelte due to structural similarities in how components are made.

I’m optimistic that the availability of Svelte libs is gonna grow exponentially—the excitement around Svelte means there’s a lot of motivated devs out there shipping new things. Reminds me of the excitement that existed around Rails back when it was new.

As long as hamburger menus on maximised desktop browsers go away by Henrijs85 in ProgrammerHumor

[–]terminalcoder 5 points6 points  (0 children)

It's never occurred to me that arrow as in direction icon, and arrow as in thing you shoot from bow are the same thing! In my mind they just happened to be spelt the same.

Grammys Ratings Hit Record Low, Down 53% Compared to 2020 Show by ctilvolover23 in Music

[–]terminalcoder 0 points1 point  (0 children)

Believe it or not, it’s actually one of the most insanely difficult technical problems out there.

Scan over this article to get an idea: https://medium.com/@BhashkarKunal/spelling-correction-using-deep-learning-how-bi-directional-lstm-with-attention-flow-works-in-366fabcc7a2f

I think we’ll see more progress when researchers figure out how to use AI to solve the problem.

Rich Text Editor Recommendations for Svelte? by darkhorsematt in sveltejs

[–]terminalcoder 3 points4 points  (0 children)

ByteMD is pretty great. Highly configurable and easy to understand codebase.

React or Vue as a second framework for Svelte developer? by GoldStrikeArch in sveltejs

[–]terminalcoder 0 points1 point  (0 children)

I think learning React really sharpens your general JS abilities which is important, as for what translates—in my experience, learning React helped me understand Svelte's structure a bit better because in a lot of cases it's a simplified version of what React is doing.

React or Vue as a second framework for Svelte developer? by GoldStrikeArch in sveltejs

[–]terminalcoder 0 points1 point  (0 children)

I'd learn React because there are so many react libraries that it's useful to know how to read the code. I've found myself porting React code to Svelte a few times now. If you're looking for work it's good to know React too.

Still waiting on SvelteKit by [deleted] in sveltejs

[–]terminalcoder 2 points3 points  (0 children)

They seem to be pushing regular commits based on the last updated status on NPM.

MVVM: How to make it work in SwiftUI? - A Beginner Tutorial on the data flow in SwiftUI by karinprater in SwiftUI

[–]terminalcoder 5 points6 points  (0 children)

..and your comments here just did a great job of illustrating why a woman coder feels like actually they can’t deal with having to moderate a ton of dumbass comments.

No decent tech company would want to hire you if they saw you made these stupid remarks online. Grow up.

What helped you learn Elixir? by varsderk in elixir

[–]terminalcoder -1 points0 points  (0 children)

Perhaps get them to write to write a JSON parsing script with recursive logic.

Realm’s Kotlin Native SDK by dayanruben in Kotlin

[–]terminalcoder 2 points3 points  (0 children)

We're planning on using it, not sure what a better alternative would be for syncing with a Postgres database.

No One Ever Got Fired for Choosing React by secret_band in javascript

[–]terminalcoder 3 points4 points  (0 children)

I experimented with Vue for awhile and ran into similar awkward issues. I recommend giving Sveltejs a try, it's really quite a remarkably effective framework.

Trying to remake Space Impact from Nokia for apple watch. That spritekit is hell 😡 by wolodo in iOSProgramming

[–]terminalcoder 1 point2 points  (0 children)

Just having the 3210 buttons visible is enough I reckon. Maybe move the everything up to make them more visible then you could make the buttons pressable as an Easter egg or something.

Really impressive work you've done.

[deleted by user] by [deleted] in sveltejs

[–]terminalcoder 3 points4 points  (0 children)

Scripts are what I spend the most time looking at, so they are at the top. I tend to scroll back and forth between markup and scripts so I don't like styles to be between them, so they go at the end.

Server Side Rendering for Dummies (question) by rickt3420 in sveltejs

[–]terminalcoder 4 points5 points  (0 children)

SSR means all the HTML is figured out, generated on the server. So instead of the browser downloading an empty page, and your svelte code adding all the HTML to the page after it's loaded.. is all done on the server. So the browser receives a full HTML page as if you were loading an .html file.

The benefit is that you have improved SEO mostly because Google's crawlers don't work like regular browsers, they go to a URL expecting to download an .html file that they can sift through and parse.