Since I've been using #GitHub #CoPilot heavily the past week or so, I thought it was time to write up my experience. You might find it surprising.

https://ovid.github.io/articles/using-github-copilot-with-vim.html

#software #OpenSource

Using Github Copilot with Vim

I've started using Github Copilot. Color me impressed.

@ovid Have you tried it with #RakuLang yet?
@sjn Nope. Focusing almost exclusively on client work right now. My spare time is mostly for my family.

@ovid @sjn Not great with Raku. The autocomplete was silent and the suggestions functionality in VS Code gave me Python code.

Not just that, the Python code was barely acceptable, using idioms more appropriate to the 2.x era.

I'll try again later, but for now Copilot's path of least resistance is porting code from one popular language to another popular language.

@randomgeek @ovid Maybe it's worth playing around a little with #FauxPilot as an alternative to #copilot?

https://github.com/fauxpilot/fauxpilot

GitHub - fauxpilot/fauxpilot: FauxPilot - an open-source alternative to GitHub Copilot server

FauxPilot - an open-source alternative to GitHub Copilot server - fauxpilot/fauxpilot

GitHub

@sjn @ovid bookmarked from an earlier suggestion by Ovid!

My plan is to putter with it a little later today.

@sjn @ovid I might turn my experiences into a blog post later, but quick capture of my initial impressions poking at Copilot in this thread:

https://hackers.town/@randomgeek/110427334545613573

I just need to get over my depressed initial thought that it encourages mediocre code in mediocre languages and I'll continue experimenting.

Random Geek (@[email protected])

I'm trying. I'm really trying to give Copilot a chance. So far it's been offering reasonable Python code suggestions. Not great, but reasonable. Too bad I was asking it about Raku and Nushell.

hackers.town

@randomgeek @sjn Curtis’ blog mentioned this, but I guess you’re also OK with furthering #Copilot’s #LicenseWashing and #copyright violations? https://GitHubCopilotLitigation.com

(So cool that #GitHub provides significant #OpenSource contributors like @ovid free reign to violate their colleagues’ wishes.)

GitHub Copilot litigation · Joseph Saveri Law Firm & Matthew Butterick

GitHub Copilot litigation

@mjgardner @randomgeek @sjn @ovid What is this sym­bol that keeps pop­ping up be­tween e­very syl­la­ble on the web­site? As a screen reader user, it makes it difficult to read the page.

@dangero I hope I made this message readable for you.

I think you’re referring to “soft hyphens” which can be inserted into HTML as ­

(That’s ampersand, shy, semicolon.)

They are supposed to indicate a potential place to insert a hyphen when breaking a long word from one line of text to the next.

They’re not intended to be pronounced or even create a pause.

I’m sighted, but I tried enabling VoiceOver on my iPhone to read the page. It ignored the soft hyphens. What do you use?

@mjgardner I’m using NVDA on Windows. I just added a speech dictionary entry to ignore the soft hyphen. If you want to know how it sounded for me, try to type some text, but sep ar ate each sy li ble with a space like I just did, then use Voice Over to read it back.

@dangero Ugh, that’s terrible.

It looks like the problem was reported to NVDA back in 2019: https://github.com/nvaccess/nvda/issues/9343

It was then re-reported in 2022 but remains an open issue: https://github.com/nvaccess/nvda/issues/13668

NVDA isn't ignoring soft hyphens properly · Issue #9343 · nvaccess/nvda

Steps to reproduce: Save and open the following HTML: <!DOCTYPE html> <html lang="en"> <head> <title>Hyphenation Test</title> </head> <body> <h1>Hooray for Hyphen­ation</h1> <p>This text contai...

GitHub
@mjgardner Thanks for bringing that to my attention. It's rather annoying for those who simply wish to read a website with those characters and not write one IMO.

@dangero I understand that it’s maddening.

Unfortunately, there are many actors here: site authors, web publishing software #developers, #browser developers, #ScreenReader developers, and tying it all together @wai and the #accessibility standards they publish and support.

Mostly everyone keeps up with #a11y standards now, but sadly you’ve run into a long-standing gap with #NVDA and soft hyphen #HTML entities.

Maybe add your thoughts at https://github.com/nvaccess/nvda/issues/13668 ?

Make soft hyphen (­, u+00AD) pronounced only in "all" level and send it to synth "only below symbol level" · Issue #13668 · nvaccess/nvda

Is your feature request related to a problem? Please describe. In a blog I frequent, specifically https://ralsina.me/ if you must know, soft hyphens are used after each syllable, probably to aid wi...

GitHub