There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

chahk , in AI Suggestions

Glorified autocomplete. That, and Clippy.

kbin_space_program ,

Clippy was occasionally useful as it could offer shortcuts you didn't necessarily know about.

This is just bad autocomplete

EatATaco ,

I was lucky enough to get in on my company’s beta test for copilot.

When I hear people say it’s bad, all that tells me is that they are either completely ignorant and have never really used it, or they aren’t good at learning how to use new tools.

kbin_space_program , (edited )

The example shown is setting a timer, then copilot suggests timeright value.

Contextually, it is bad autocomplete.

In practice, chatgpt4 is incapable of producing code to my coding standards. Edit: to clarify, its incapable of doing that in a timely enough manner that it saves me any time.

FaceDeer ,
@FaceDeer@fedia.io avatar

The example shown was specifically selected because it's funny, not because it's representative.

The fact that you called the tool "chatgpt4" suggests you're not experienced with copilot. They're not the same thing even if they're using similar LLMs as a component.

kbin_space_program ,

I know its not chatgpt4, I never said it was?

That paragraph is on its own because it is a different topic. In this case I was using my own experience experimenting with chatgpt4 as to why I won't be using it any time soon.

holgersson ,

Autocomplete and Clippy havent translated a script from one language into another for me without major errors yet.

dan ,
@dan@upvote.au avatar

Glorified autocomplete

That’s what I need most of the time, though. I don’t see these AI things as replacing programmers or writing large chunks of code. I just see them as an improvement over the autocompletion/IntelliSense features we’re all using already.

stepan , in I still don't get buffers

Same thing but reversed with multiple cursors :/

whats_all_this_then OP ,

That’s actually the biggest thing I miss about VSCode

chihiro ,

github.com/mg979/vim-visual-multi

I also missed multiple courses, but I started using vim-visual-multi in my nvim config and it’s been great. There’s a few others I tried that I couldn’t get to work quite right (usually some weird conflict with nvim-cmp) but I’ve had the best success with vim-visual-multi.

whats_all_this_then OP ,

I’m gonma bookmark and try this next time I find the courage to mess around my nvim config. That last none_ls breaking change has made me very hesitant to mess around with things that aren’t just colorschemes ngl.

stepan ,

I also tried github.com/smoka7/multicursors.nvim and the experience was horrible. Then I tried github.com/…/multiple-cursors.nvim and I absolutely love it. It has conflict with cmp, but the README has great tutorial on disabling cmp only when using multiple cursors, and dealing with other plugins to maks them work or disable them in the multicursor mode.

JoYo ,
@JoYo@lemmy.ml avatar

helix has a pretty good mc system in the select mode.

Jumuta ,

search in selection is such a cool workflow

JoYo ,
@JoYo@lemmy.ml avatar

yah ive been swapping to hx wherever i need to do refactoring, it’s too good to miss out.

space-r ename symbol for easymode.

whats_all_this_then OP ,

This feels like something I also do in neovim unless I’m misunderstanding you completely. Is it highlighting text and having yoir search apply just to the highlighted text?

If so, yes it’s great whenever you use it

Jumuta ,

yeah, and helix spawns a cursor at every match

whats_all_this_then OP ,

I’ve been meaning to check helix out for a while now but haven’t found the time :(

pfannkuchen_gesicht ,

huh?

Sotuanduso ,

Same here, but Atom. Maybe I should start using Atom again.

thanatotus ,

FYI atom project is dead. There is a community form available but it was to buggy for me.

Sotuanduso ,

I know it’s dead. I still have it, and it still does all I want from an IDE.

rtxn , in I still don't get buffers

Gee, X11! How come your mom lets you have THREE clipboards?

whats_all_this_then OP ,

Wait is that an actual thing?

rtxn ,

Yes. X11 replaced X10’s obsolete cut buffers (which can be modified by any process) with state-of-the-art selections. There are three selections in X11: a primary, a secondary, and a clipboard.

In modern desktops, the primary selection is overwritten every time you select some text (including in the terminal), which makes its content very ephemeral. You can paste it with the middle mouse button.

The secondary selection is generally not used, but it’s present in the specification, and you can use xclip -selection secondary to access it. Wayland doesn’t seem to have a secondary selection.

The clipboard selection is what most people understand to be THE clipboard. You have to write to it explicitly (through a keyboard shortcut, API, or CLI tool), and its content persists until it is overwritten, explicitly cleared, or the X server is killed. While the primary and secondary can only contain text, the clipboard can contain many kinds of data.

whats_all_this_then OP ,

Okay I had no.idea. So on Plasma, I’m guessing when I copy anything, it’s writing it both the primary selection, and the clipboard selection and that’s how it stays in the clipboard manager thingy?

rtxn ,

Not exactly. When you select a text and copy it, the two selections will end up containing the same text, but you can write to either selection without affecing the other by using an API, e.g. a website’s “copy to clipboard” button, or xclip/wl-copy.

Clipboard managers with a history feature are an altogether different layer on top of the standard selections. Plasma’s clipboard manager only cares about the clipboard selection, and even then, there are exceptions (e.g. copying a password for KeepassXC doesn’t save it in the history).

stepan ,

Plasma has a setting to synchronize selection and clipboard or something like that.

QuazarOmega ,

In modern desktops, the primary selection is overwritten every time you select some text

( °O°)
You just opened a whole new world for me, it works in Wayland too

JoYo ,
@JoYo@lemmy.ml avatar

then theyre all ignored by x-clip

xD

Ephera , in I still don't get buffers

Nevermind simply having an OS-level clipboard manager…

mp3 ,
@mp3@lemmy.ca avatar

Win+V works decently enough for me.

jnk ,

Same for plasma, global clipboard is just more convenient

whats_all_this_then OP ,

Global clipboard is chef’s kiss. Back when I was on Ubuntu/Gnome, I had to install CopyQ but having one come with the OS is great

BastingChemina ,

Global clipboard synced with the smartphone thanks to KDE connect !

pineapplelover ,

I think windows+v syncs to microsoft servers or something. I remember when I was running chris titus tech’s debloat script it removed that functionality.

whats_all_this_then OP ,

Holy crap I think that may be why I never used it. Fuck how much Windows likes to calls home

Sotuanduso ,

I googled it, there is an option to sync it to your Microsoft account, but I can’t say whether that’s on by default when you turn on clipboard history because I skipped adding a Microsoft account. But if it is, you can turn it off in Settings -> System -> Clipboard.

xmunk ,

An excellent option to have when one of the major use cases for clipboards is as an intermediary for password managers.

I hope they eventually get sued into the fucking ground.

Aux ,

Password managers should mark their clipboard data as sensitive and clean it up. Use a proper password manager and there won’t be issues.

whats_all_this_then OP ,

I’m don’t know why but I’ve never used windows clipboard manager, which is weird because I go out of my way to make sure I have one when I’m on linux

MrScottyTay ,

There is for windows, and it’s further improved if you get power toys too

riot ,
@riot@lemmy.world avatar

I took a look through my power toys settings, but couldn’t find anything there that had to do with the win+v clipboard history. Google hasn’t been any help either. What is it that I’m overlooking? How does powertoys improve the clipboard history feature?

MrScottyTay ,

I’m currently not on my windows pc at the moment but it could be that it’s functionality might actually be native to win 11? I don’t realise use it myself I just remember seeing it when originally getting powertoys and thinking that was cool

riot ,
@riot@lemmy.world avatar

The Clipboard History is indeed a part of Windows 10. But I was wondering how PowerToys enhanced the functionality of it.

MrScottyTay ,

I’ve probably completely misremembered it and maybe learned of it the same time i learned about and installed powertoys. My bad.

whats_all_this_then OP ,

Nah that’d be too intuitive

In all seriousness though, I kinda appreciate moving things around in my editor without losing that one snipet I copied for later

marcos ,

Application specific buffers are the first thing I disable on emacs. The OS one isn’t just integrated with every other normal piece of software, it’s also more powerful and easier to use.

… at least on my Linux, YMMV.

PlexSheep ,

The os buffer is just another buffer that I can yank into.

Cwilliams ,

Or the KDE System tray…

Ephera ,

Ah, that is what I meant with OS-level clipboard manager (in fact, that is precisely what I thought of).

Cwilliams ,

Oh, I gotcha now

pewpew ,
@pewpew@feddit.it avatar

Windows also has it, but it’s disabled by default for some reason

Aux ,

It’s not disabled.

PlexSheep , in Untagging images from AWS ECR (without deleting be like

What is untag?

ruffsl OP ,
@ruffsl@programming.dev avatar

Tagging an image is simply associating a string value to an image pushed to a container registry, as a human readable identifier. Unlike an image ID or image digest sha, an image tag is only loosely associated, and can be remapped later to another image in the same registry repo, e.g latest. Untagging is simply removing the tag from the registry, but not necessarily the associated image itself.

PlexSheep ,

So like tags in git, and deleting tags in git. Got it.

zqwzzle , in gut pull

If you ever want to bullshit a junior, use the git man page generator

Shadowedcross , in gut pull

This kills the computer.

neuracnu , in Senior dev be like...
@neuracnu@lemmy.blahaj.zone avatar

No wonder I can’t find a TPM job anywhere. The senior devs are doing all my work.

reverendsteveii , in Senior dev be like...

not my experience at all across 3 separate companies. Ime senior engineers are the highest level that still spends most of the day heads down most days, and that’s why I’m gonna stick it out at this level as long as I can.

tatterdemalion , in Untagging images from AWS ECR (without deleting be like
@tatterdemalion@programming.dev avatar

AWS CLI is trash compared to gcloud in general.

deegeese ,

The Wal-Mart of cloud providers.

BilboBargains , in Senior dev be like...

Do you have excess creative energy?

Pour it into discussion that achieves nothing of value.

nxdefiant ,

Have you considered writing your own projects that you have to hide from your employers, and be careful with whom you discuss, so as to avoid the legal complications of the company owning your work?

Randelung , in c/unixsocks for more

You see, because of the stark absence of women, we kinda had to make our own.

cordlesslamp ,

Can’t argue with that logic. Where do I sign up?

sleepyTonia , in c/unixsocks for more
@sleepyTonia@programming.dev avatar

… I’m a little sad this isn’t an actual community.
Edit: Nevermind, found it~ (Scroll down)

0x0 OP , in Senior dev be like...

Of course there’s no point in trying to rationalize this 'cos these people use meetings to try justify their usefulness to the company (HR does the same with random activities), so you end up drawing red lines with invisible ink

RGB3x3 ,

I work in the government and I honestly don’t know when anyone does any real work. It’s meeting after meeting overlapping other meetings. All week.

How does stuff get done, seriously?

RarePossum , in c/unixsocks for more

Personally, I’m not wearing programming socks. Mostly because I’m wearing nothing at all.

cordlesslamp ,

To prevent electrostatic, right?

RIGHT?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines