jonas, to neovim

Please help.

I'm using kitty on Windows 10 to ssh into my development environment in neovim (0.9.1) on a Raspberry Pi 400. However, using screen messes up the colours alot, to say the least. The first image shows neovim in kitty without screen, while the second image is of neovim inside a screen.

Is there a solution to this problem?

A picture showing messed up colours in neovim. This happens when neovim is started within screen.

remixtures, to ai Portuguese
@remixtures@tldr.nettime.org avatar

: "OpenAI, creator of ChatGPT, GPT-3 and GPT-4, Codex and Copilot AI systems, is the consensus leader in the race to create AI that may take all of our jobs and destroy the human race be the most disruptive technology since the invention of the printing press. OpenAI is also an affiliate of Microsoft, which is also the owner of GitHub, the popular online code repository. According to the complaint, these separate entities are just one big data-sharing family, leveraging their combined resources in non-standard ways such as Microsoft sharing hardware and cloud infrastructure resources in exchange for an ownership interest in OpenAI. According to the complaint, Microsoft’s ongoing relationship with OpenAI has led some to describe Microsoft as “the unofficial owner of OpenAI.” Complaint at 31.

The crux of the complaint is that OpenAI took code that was stored on GitHub and used it as training data to build out AI systems called Codex and Copilot. And while most of the code that was stored in the systems was likely marked “public” and was also open source, the code was subject to certain licensing and attribution requirements that were allegedly ignored when they were used in the training data to create OpenAI’s Codex and Copilot systems."
https://blog.ericgoldman.org/archives/2023/06/how-can-ai-models-legally-obtain-training-data-doe-1-v-github-guest-blog-post.htm

theDuesentrieb, to programming

I recently found out that there is an abomination of a font called Comic Mono

I was intrigued, a morbid kinda masochistic feeling that concluded in me downloading it, try it out in my IDE... and I like it..

For one week now I use Comic Mono for coding...

Pleasse send help!

itnewsbot, to programming

Is AI an Excuse for Not Learning To Code? - Long-time Slashdot reader theodp writes: Y Combinator founder Paul Graham last wee... - https://developers.slashdot.org/story/23/06/17/1934235/is-ai-an-excuse-for-not-learning-to-code?utm_source=rss1.0mainlinkanon&utm_medium=feed

smurthys, to Java
@smurthys@hachyderm.io avatar

I cannot get over how Java's String class is a "character sequence" yet we can't write the following code we so expect should be possible:

IMHO CharSequence should be iterable.

smurthys,
@smurthys@hachyderm.io avatar

Two quick and dirty implementations of "iterable string" in Java:

  1. Directly make String iterable (image shown)
  2. Make CharSequnce iterable

Of course, these need to be done in the JDK in appropriate classes/interfaces instead of the wrapper IterableString class I have.

https://sigcpp.godbolt.org/z/1dh3cdTee

smurthys,
@smurthys@hachyderm.io avatar

For completeness, noting that programs could iterate over a string by retrieving the underlying text as char array, but that can be wasteful eager materialization, especially for large(r) strings.

for(char c : "hello".toCharArray())  
 System.out.print(c);  

Ategon, to meta in Does programming.dev have a Mastodon account?
@Ategon@programming.dev avatar

Theres no official mastodon account currently but theres the two rooms for the community on discord and matrix

https://discord.com/invite/kwyxvYEYt4

https://matrix.to/#/.dev:matrix.org

I can chat to the others about the possibility of having one on mastodon

emc2, to kbin

Alright, squad, time to figure out migration to

Presently reading up on how this works. Looking for instances to join.

Major interests:

gvlx, to programming Portuguese
@gvlx@masto.pt avatar

Did you know that the e-book "introduction to programming" is available in format?

and was written for the slow offline world by @neauoire from the online version "uxn tutorial"?

https://compudanzas.itch.io/introduction-to-uxn-programming

https://codeberg.org/oppenlab/gempub
https://gemini.circumlunar.space/
https://gmi.skyjake.fi/lagrange/

https://compudanzas.net/uxn_tutorial.html

fell, to programming
@fell@ma.fellr.net avatar

Sometimes I wish I could put a "Bellpoint" in the code that just makes a little bell sound when it's executed.

schizanon, (edited ) to webdev
uliwitness, to swift
@uliwitness@chaos.social avatar

I’ve done nearly 30 years of C/C++ by now, and probably 20 years of Objective-C. So usually, that's my baseline for programming. These languages don't hurt, they're just “how programming is”. Better languages are “oh cool I get to have fun”.

That said, I recently wrote some new Objective-C code and … actually wanted to go back to Swift. Those square brackets really are a downside of the language. The Swift-style of method call syntax is superior.

jamesmontemagno, to macos
illusionofmana, to pixelart
@illusionofmana@socel.net avatar

WIP of a new location. Base is done, time to make it messy and add some customers.

video/mp4

tk, to programming
@tk@bbs.kawa-kun.com avatar

"Codegen" is short for "Code Gennifer".

gesus, to programming
@gesus@gruene.social avatar

“The reasons I use Perl is because I wanna write scripts that no one can read and no one can understand that I keep my job. It’s sort of modern art in a way.” https://yewtu.be/watch?v=0jK0ytvjv-E

nixCraft, to programming
@nixCraft@mastodon.social avatar
amoroso, to programming
@amoroso@fosstodon.org avatar

Peter Seibel: "How much does a choice of language really matter? Are there good reasons to choose one language over another or does it all just come down to taste?"

Guy L. Steele Jr.: "Why shouldn't taste be a good reason?"

Page 351 of "Coders at Work: Reflections on the Craft of Programming". Peter Seibel, Apress, 2009.

#proglang #programming

svetlyak40wt, to Lisp
@svetlyak40wt@fosstodon.org avatar

Made a small function to dump core from SBCL running under Emacs.

This code closes all threads, because image can't be dumped when multiple threads are running.

The code: https://gist.github.com/svetlyak40wt/e4afab04a73110f76fd197ee824ce7fc

#commonlisp #lisp #programming #trick

masukomi, to programming
@masukomi@connectified.com avatar

"but i was confident that code would work!
Looks at code...
No. that code is definitely right!"

junior programmer: debug debug debug.

experienced programmer: starts writing unit tests to (dis)prove their own claims of "definitely right"

Hubris & ego. We all suffer from them. Wise programmers are just better at not listening to that BS and acknowledging that, despite their experience, they constantly make mistakes. Just like everyone else.

symfonystation, to Symfony
@symfonystation@phpc.social avatar

Medium is a fantastic source for PHP and other programming news. Investing in membership is recommended as you can access everything you want to read. It’s worth the investment to boost your career via the helpful articles and tutorials. Our small compensation from this link helps cover expenses for the Symfony Station articles you enjoy on it. https://medium.com/@mobileatom/membership Plus they are big supporters of the Fediverse.

rml, to random

If I'm not dealing with a specialized topic or a legitimately hard problem, I rarely consult StackOverflow or other examples, as I recognize that I'm dealing with a personal blind spot, which makes spending a little extra time solving the problem rewarding in the long run. Add a note to my and soon enough I'll never have to look at it again.

I feel like tools like will be devastating for any new programmers and their problem solving capacities, just because it will prevent a good deal of them from acquiring the set of conceptual tools required to grow as programmers.

rml,

what's more important than learning the correct concepts is learning to ask the correct questions. is a discourse in which correct questions exist ready-made, but you will only know why it's a problem if you solve it.

schizanon, to javascript

Give me your spiciest opinions about the use of try/catch blocks in . Should you nest them? Avoid them? Always use them? Die on a hill!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • cubers
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • tacticalgear
  • osvaldo12
  • normalnudes
  • tester
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • anitta
  • Leos
  • provamag3
  • modclub
  • lostlight
  • All magazines