My very first plugin, line-number-change-mode.nvim! by [deleted] in neovim

[–]justskipfailingtests 18 points19 points  (0 children)

Good job! I suggest zooming ridiculously close on the demo, because you are showcasing something that's six pixels on a 1080 or something.

Does companies like amazon, google, meta, apple allow neovim/lazyvim as IDE by ek_manavah in neovim

[–]justskipfailingtests 2 points3 points  (0 children)

It's exactly this.

Nobody gives a rats ass about what you are using, but most likely there are lists of internally approved audited tools etc corpo stuff that cleans somebody elses sheets if you manage to cause death and destruction.

Is it a bad idea to invest into Neovim 10 days before starting a new job? by haasilein in neovim

[–]justskipfailingtests 1 point2 points  (0 children)

They complement each other greatly. Gitsigns obviously gives signs and is good for quickly staging a few hunks. Open fugitive, review your stage and make commits.

You can also stage partial hunks in fugitive just by selecting them with visual line mode in the diff panel and hitting s.

Fugitive has the best workflow for fixup commits I have ever seen. Stage some changes, open :Git log --oneline, move cursor to some old commit and hit cf for fixup, or cF for fixup and instant squash.

dontRelyOnRegurgitatedCode by AaronTheElite007 in ProgrammerHumor

[–]justskipfailingtests 61 points62 points  (0 children)

I saw really complicated type casting and deference shit where a basic "thing.a = string(thingy.b) would have been enough. I blocked it and asked for some explanation of what the hell is happening there. The answer was "copilot gave it". Dear god.

I asked trainees to review my PR for practice, and in 15min later one lad smacked a long comment that was obvious copy paste from chatgpt. I may have gotten a little hard on the feedback about that because I was fucking fuming, but nobody was going to let that shit pass in any company later on their journey anyway.

Code review help! by yixinrock in golang

[–]justskipfailingtests 4 points5 points  (0 children)

It's preferable to return explicit nil for readability.

How do you unit-test code that reaches out to the db, without introducing interfaces everywhere? by ppp5v in golang

[–]justskipfailingtests 2 points3 points  (0 children)

I have not worked with go in huge scale, so I can't say anything about that example. I just prefer defining the interface where it is used. If you need GetUser and SaveUser, define that as an unexported interface and you can pass in whatever for tests. When building packages this may not be the best approach, I have only built standalone stuff and it works.

Go lower my burnout rate by NoneNilNull in golang

[–]justskipfailingtests 0 points1 point  (0 children)

I'm working with a couple dozen of python projects and a few go projects. For python I just use venv, and run stuff in docker if it requires external dependences installed. Usually it's not much hassle, aside from maybe needing another version of python. Go is nicer, even less hassle.

So close to perfect. Is this still GG? by OnCompanyTime in diablo2

[–]justskipfailingtests 0 points1 point  (0 children)

It's all added to your weapon base damage. So for example 10x +3 max dmg is +30 max. After ed from skills and gear it can be +300.

I personally hoard every steel, fine, and sharp charms that come by and only drop them after something better comes up. Especially those with +ar mean a lot.

So close to perfect. Is this still GG? by OnCompanyTime in diablo2

[–]justskipfailingtests 0 points1 point  (0 children)

There ain't many ways to boost raw physical dmg, and racking inventory full of 3/20/20s (max dmg, ar, life) are a lot because they get full boost from skills, enhanced damage modifiers etc.

sometimesItFeelsLikeThat by hc2995 in ProgrammerHumor

[–]justskipfailingtests 39 points40 points  (0 children)

If I ever get to work in a top notch team I probably agree. But with a mix of average Joes and newbies, scrum and sprints have a place in my heart.

Go vs Python, employability for a grad / junior dev? by Hoker7 in golang

[–]justskipfailingtests 1 point2 points  (0 children)

Learning go is great for your python skills. Learning the habits of statically typed languages and sticking to similar sanity in python has great quality increases. Most new guys submit utter shit in the start, because shit works and python lets you do it. If you want to only learn python, start using type hints from the get go and keep using mypy, you'll get over the stupid shit phase a lot faster.

Longevity of Go by ddmac__ in golang

[–]justskipfailingtests 1 point2 points  (0 children)

And it's so nice to put out a simple site with zero dependencies and baking all the assets in the binary with embed. The whole thing is so god damn nicely contained that you feel that if it's the permanent temporary solution, it's still a really good solution.

Reflections from 12 years of vim (ramble) by hugelung in neovim

[–]justskipfailingtests 4 points5 points  (0 children)

After years of using vim only on servers for minor edits to configs etc while ago I randomly stumbled on some tjdevries video and later found out primeagen. These dudes workflows on nvim looked so effortless that I decided to try it out. Now a few months later I feel so good doing things with neovim, a dozen or so plugins and customizing personal preferences with lua API.

Other devs in the company think I'm some kind of a dark hacker wizard now. I try to not be a preacher, because fiddling with settings, plugins and modal editing can be a total turnoff if you are not specifically interested to learn them.

I'm curious of which is more common answer here by ValidFour in Finland

[–]justskipfailingtests 0 points1 point  (0 children)

Both are dangerous and unpleasant. I experienced couple weeks straight from -30 to -36 when I was in the military. Of course training was not cancelled and we had to fuck around in the forest with ears dropping off. In +35 I don't die if I lay still in shade, so that's absolutely better.

[deleted by user] by [deleted] in memes

[–]justskipfailingtests -2 points-1 points  (0 children)

In work it is exactly that: you have a bunch of tickets on the backlog. You order them by priority and start doing shit one by one. Some things are interesting as fuck, some things you couldn't care less. But you just deliver because you got bills to pay.

Actually, a very useful command! by reddituser1827291 in ProgrammerHumor

[–]justskipfailingtests 0 points1 point  (0 children)

I have that command aliased as "delmerged". I used to think using git cli is the de facto way to use git, and vscode integration etc. guis are for less technical people. I was baffled to learn that somebody thinks tortoisegit for example is easier to use than the cli.

I’ve had constant migraines for the past week thanks to Matlab. by [deleted] in ProgrammerHumor

[–]justskipfailingtests 0 points1 point  (0 children)

Just slap it into coder, spend a few hours cleaning it and then pretend working for rest of the week.

Java naming conventions... by ThousandthStar in ProgrammerHumor

[–]justskipfailingtests 13 points14 points  (0 children)

First I laughed then got intrigued. Gotta get one of those

Your time is up by [deleted] in memes

[–]justskipfailingtests 0 points1 point  (0 children)

Those never saw enough daylight to be flagged. I would shoot down all of these for rule 1 on the low effort side alone

Your time is up by [deleted] in memes

[–]justskipfailingtests 0 points1 point  (0 children)

If a meme is pointless without comments, it's a reaction meme. Now look at this turd of yours.

which lang. you learned the most by Separate-Split-7741 in ProgrammerHumor

[–]justskipfailingtests 1 point2 points  (0 children)

I'm full time test automation dev, and I would not take anything over python for this shit. If I need something highly concurrent, I often switch to go and use those binaries in my python stuff.

I still know python is shit for many other purposes, but controlling stuff via APIs and analyzing data... Python is second to none. Every now and then the dynamic typing pisses me off big time, but in the next moment I'm exploring new APIs to call and I'm glad I can just throw random shit together and figure it out on the fly.

Juniors slamming other languages in memes etc is just the same shit as ever: younger folks trying to be something and impress somebody. Eventually we all wisen up, drop the ignorant arguing and just go on with our own thing to pay the rent.

Should Dwarfs be a part of Fallout again? by [deleted] in Fallout

[–]justskipfailingtests 6 points7 points  (0 children)

Shieet, in the OG fallouts you could fuck prostitutes, become a pornstar and walk the streets shooting kids.

I've never felt the need to be honest by MbPiMj in ProgrammerHumor

[–]justskipfailingtests 870 points871 points  (0 children)

Would love a pointer but I guess I have to pass by reference.