64bithero, to programming
@64bithero@mstdn.games avatar

I believe anyone who posts complex and complicated solutions for people who ask for help on logging to a console are sociopaths and most likely evil.
#programming #code #stackoverflow #rant

ArmouredWizard, to godot
@ArmouredWizard@dice.camp avatar

Current bugbear:
GDScript using whitespace (Tabs) to define function/loop boundaries! Must have correct indentation!
I am SO not used to doing this!
I might have to re-adopt my habit of commenting End-Of-Section! :(

aral, to Typography
@aral@mastodon.ar.al avatar

Ooh, @Codeberg just updated to @forgejo version 7 and… ta daa, the spurious warnings in the code listings for proper curly quotes and other correct – but sadly underutilised – typographical elements in comments and strings are gone!

e.g., see https://codeberg.org/kitten/app/src/branch/main/examples/fetchiverse/index.page.js#L9

Yay! Thank you – I’m no longer going to feel embarrassed about linking to my source code on Codeberg :)


💕 🎉

GlenDownton, to random
@GlenDownton@mastodon.au avatar

What better way to spend a glorious autumn Sunday afternoon than refactoring a pile of to make it thread-safe?

Actually, even I can't tell if I'm being serious here or not :/

Jfillian, to php
@Jfillian@twit.social avatar

So, I returned to a project that i put on hold for a few months because .. life. There are some 12000 lines of and many Classes for a plugin. I'd like to finish this thing, and I am the only . It has only been a few months but, why do I keep asking myself "Why did i do that?" "What was I thinking?" "Where is the hook into that function???" Sheesh! Right now I just want to make it presentable and clean it up down the road. Am I normal?

inautilo, to webdev
@inautilo@mastodon.social avatar

#Development #Techniques
Write better CSS with modern CSS · New CSS features can help you streamline your code https://ilo.im/15ynzs


#ModernCSS #Code #Optimization #WebDev #Frontend #CSS #CssNesting #CustomProperty #MediaQuery

kubuntufocus, to linux
@kubuntufocus@mastodon.social avatar

☔April showers bring May laptops...new laptops! 💻

Come take a look, and review the feature chart to find your focus: http://kfocus.org/spec

#ProductComparison #Linux #Engineer #Code #Data #Technology #DeveloperTools #Laptop #Desktop

GlenDownton, to random
@GlenDownton@mastodon.au avatar
metin, to programming
@metin@graphics.social avatar

The more modest a developer is, the smaller the application version increments. Some indie coders add brilliant new functionality, and change the version from 0.9 to 0.9.1, while corporations often add a few minor improvements once a year, and jump from 1.0 to 2.0.

ArmouredWizard, to TodayILearned
@ArmouredWizard@dice.camp avatar

Is it just me, or should a "Tutorial for Beginners" explain Why to do things, rather than just show How?

CollaboraOffice, to opensource
@CollaboraOffice@mastodon.social avatar

📢 Exciting News!

Collabora Online Development Edition (CODE) 24.04 has arrived featuring enhancements for Writer, Calc, and Impress!

✅ Performance Boost
✅ PDF Improvements
✅ Enhanced Interoperability
✅ Advanced Document Control with Cell Protection in Calc
✅ Simplifying Copy/Paste in-browser

Explore all the details: https://col.la/code2404

#CODE #LOtech #opensource

veronica, to programming
@veronica@mastodon.online avatar

I think I may be spending too much time pushing code. This is my GitHub contrib overview. None of this is for work. We use GitLab there.

There was a 3 week gap in July last year, when I had my vacation, and a 2 week gap in October when I had COVID.

Maybe I should have more breaks. 😅

aral, to webdev
@aral@mastodon.ar.al avatar

Little web dev tip: if you have just one address field in your HTML form (e.g., a textarea) but you still want the person filling it in to avail themselves of autocomplete, here’s a little reusable snippet you can use to achieve that:

https://codeberg.org/aral/gists/src/branch/main/single-html-address-field-with-autocomplete-using-javascript.md

(Ideally the web spec should be extended to include a full-address value for the autocomplete attribute.)

#HTML #autocomplete #JavaScript #address #web #dev #tip #code

CSLee, to seresearchers
@CSLee@mastodon.social avatar

How can we reduce review anxiety? Our intervention reduced code review anxiety, increased self-efficacy, & increased self-compassion. Our intervention, which focused on cognitive restructuring (where folks identify, challenge, & reframe negatively biased thoughts to be more realistic and compassionate), likely worked by increasing folks’ self-efficacy & self-compassion.

Summary: https://mastodon.social/@CSLee/112281177521690736

Full Paper: https://osf.io/preprints/psyarxiv/8k5a4

@seresearchers

CSLee, to seresearchers
@CSLee@mastodon.social avatar

"What leads to #code review anxiety? Our model shows that we can intervene on code review anxiety by targeting the cost bias (when we overestimate the "cost" of a negative outcome) and anxiety self-efficacy (our belief in our ability to tolerate and manage anxiety), with anxiety self-efficacy being the strongest contributor to code review anxiety."

Summary: https://mastodon.social/@CSLee/112281177521690736

Full Paper: https://osf.io/preprints/psyarxiv/8k5a4

@seresearchers #SoftwareEngineering #developers

gregorni, to emacs
@gregorni@fosstodon.org avatar

My supervisor at CERN uses Emacs with a plugin to emulate Vim bindings! 🤯

He is the true winner of the Vim vs. Emacs wars.

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

I had previously discussed how to drop those pesky NA records from your data.frame but now, what if you actually want to inspect them? That is what I cover in today's post.

Post: https://www.spsanderson.com/steveondata/posts/2024-04-17/

#R #RProgramming #Programming #Code #Data #DataScience

image/png

veronica, to discworld
@veronica@mastodon.online avatar

It's nice to see that the users of my app are noticing that the window title of my fatal error dialog is quoting error messages from Hex, the computer at Unseen University in Ankh-Morpork. 😁

Thankfully, the error is in a pre-release at least. Crashes are not nice.

#Discworld #TerryPratchett #Code #OpenSource #Programming

CSLee, to seresearchers
@CSLee@mastodon.social avatar

NEW RESEARCH PAPER OUT! In this paper, @grimalkina and I explore how #code review anxiety is maintained and exacerbated to develop a model of code review anxiety. We also go a step further to develop and test the effectiveness of a cognitive-behavioral intervention for code review anxiety, so that we can reduce code review anxiety in an evidence-based and empirically-supported way (because science > vibes): https://osf.io/preprints/psyarxiv/8k5a4

@seresearchers #SoftwareEngineeering #developers

flargh, to random
@flargh@mastodon.social avatar

Just like the rest of the Internet, something deep inside me broke when I watched this video. I didn't realize you needed a PhD in both encryption and interpretive dance to cook at Waffle House.

https://www.youtube.com/watch?v=Jky5ZXI0axc

JohnJBurnsIII,
@JohnJBurnsIII@kzoo.to avatar

@flargh

It must work for them...

However, I got real vibes that I was that girl watching someone put different shaped objects into the square hole - every time I heard him say "that's right,..." 🤪

#Code versus expecting line cooks to be able to read a ticket - which for speed is also code/abbreviations.

😎

pawel_kozielecki, to random
@pawel_kozielecki@mastodon.social avatar

👋The is a key component of . We're advised to adhere to it, lest we end up with low-quality . Is this always the case 🤔? Could there be scenarios where the might be beneficial? 👀
https://swiftandmemes.com/when-is-single-responsibility-principle-helping-us-write-better-code/

kellogh, to python
@kellogh@hachyderm.io avatar

oh cool! you can measure the #environmental cost of your #python code easily with Code Carbon

it tracks what hardware you’re using (CPU, GPU, etc.) and matches that up against the carbon intensity of your local power grid. They have shortcuts for popular cloud providers

You can’t optimize for what you can’t measure, so now hopefully we can start optimizing for impact on the #environment

https://codecarbon.io/ #programming #code #devops

rporter, to random
@rporter@mstdn.social avatar

Time flies when you're writing #code.

stevensanderson, to datascience
@stevensanderson@mstdn.social avatar

Today's post is the complement of yesterdays, instead of filtering out rows, let's get the ones we want :)

#R #RStats #RProgramming #Code #Data #DataScience

Post: https://www.spsanderson.com/steveondata/posts/2024-04-11/

kimschulz, to vim Danish
@kimschulz@social.data.coop avatar

Neovim Note-Taking: A Lua Adventure

A quick look at 7-line piece of neovim lua code that has changed my workflow quite a bit. Note-taking simplicity at its best.

https://schulz.dk/2024/04/11/neovim-note-taking-a-lua-adventure/

#Code #Vim #linux #lua #neovim

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