Skip to main content

Search

Items tagged with: Code


THE CODE REVIEW ANXIETY WORKBOOK IS OUT

https://developer-success-lab.gitbook.io/code-review-anxiety-workbook-1

This workbook takes the code review anxiety intervention that we designed and tested in our empirical research (https://osf.io/preprints/psyarxiv/8k5a4) & distills it into a self-paced workbook for you. It's designed for you to read & work through as many times as you wish and provides you with the tools you need to mitigate & manage your anxiety about giving or receiving code reviews.

@seresearchers #SoftwareEngineeering #developers #code

1/3


#tinySVGtip How do you create an *inset* shadow on an `img` element?

You might think inset `box-shadow`, but it doesn't work! Really, there are tons of articles & questions on StackOveflow on this very topic.

SVG filters to the rescue for an elegant solution!

✨ offset & blur image
✨ subtract it out of original image alpha β‡’ get black inner shadow
✨ paint it 🍊
✨ place it on top of img

#SVG #filter #inset #shadow #image #svgFilter #code #coding #frontend #webDev #webDevelopment


You know git.disroot.org has been using #forgejo
(fix your spelling on the tag) and hasn't had a minute of downtime or error in more than 2 years I've been with them

#Smartgit though are lying about a free license to developers of open free code, as they only recognize major corporate servers such as MS #github or #gitlab

@aral @Codeberg @forgejo

#codeberg #forgejo
#typography #code


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 :)

#codeberg #forjego #typography #code
πŸ’• πŸŽ‰


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

⇧