cferdinandi , to Random stuff
@cferdinandi@mastodon.social avatar

🍦 New Article: How to listen to multiple events in a Web Component with the handleEvent() method https://gomakethings.com/how-to-listen-to-multiple-events-in-a-web-component-with-the-handleevent-method/

ayo , to Random stuff
@ayo@ayco.io avatar

what's the laziest dark mode implementation? is there a 3-liner code change? 😄 asking for a friend (not me)

Haijo7 ,
@Haijo7@snac.haijo.eu avatar

@media (prefers-color-scheme: dark) { color: white; background-color: black; }

tdp_org , to Random stuff
@tdp_org@mastodon.social avatar

My pals in BBC World Service have been doing some awesome work on "lite" versions of their news articles (other page types to follow).
They essentially skip the Server-Side React hydration which means you end up with a simpler HTML+CSS page, no JS.
Page sizes drop significantly:

Screenshot of a BBC World Service Mundo "lite" page with Dev Tools open showing bytes transferred and total as stated

rasterweb ,
@rasterweb@mastodon.social avatar

@tdp_org This makes me so happy. I still shrink and compress images all the time for email, web, etc. because 99% of the time a huge multi-megabyte image just isn't needed.

cferdinandi , to Random stuff
@cferdinandi@mastodon.social avatar
adamsdesk , to Random stuff
@adamsdesk@fosstodon.org avatar

The Importance of a Thoughtful Website Footer

Take a deep dive in learning about a website footer in this comprehensive guide covering what one is, key design points, ideas, the purpose, and more.

https://www.adamsdesk.com/posts/website-footer-explained/

inautilo , to Random stuff
@inautilo@mastodon.social avatar

“The simplicity of HTML and CSS now feels like a radical act. To build a website with just these tools is a small protest against platform capitalism: a way to assert sustainability, independence, longevity.” — Jarrett Fuller


TheEvilSkeleton , to Random stuff
@TheEvilSkeleton@treehouse.systems avatar

After several days of work, I finally pushed several commits to my website to accommodate those who rely on high contrast themes. Huge thanks to @acidiclight for helping me out by sharing a lot of feedback!

And a request to the broader community - feedback wanted and highly appreciated.

Navigating through the website in high contrast variants on light and dark styles. Each card/block of elements are surrounded by a thin border that follows the accent color's. When hovering over links, a dotted border displays around the links, and pressing the link changes to a solid border.

Jeremiah , to Random stuff
@Jeremiah@alpaca.gold avatar

Hey @MDN, with Stack Overflow’s ongoing community implosion, now would be an excellent time to launch MDN Answers so people have a better place to help each other learn.

https://answer.apache.org/

Edit: Or @nodebb / other ActivityPub-enabled forum/threaded discussion community server software

julian ,
@julian@community.nodebb.org avatar

@thisismissem @Jeremiah @flyboy yep, we've been working on federation this year.

We're watching the implosion of StackOverflow with interest and would help facilitate a federated alternative if there is interest.

julian ,
@julian@community.nodebb.org avatar

@liaizon honestly I'm interested in this purely just to see how badly Mastodon will muck things up if I start sending NodeBB Q&A topics as a Question activity, because Mastodon currently uses it for Polls.

But they don't have a monopoly on using it, and I can make the argument that my use case is more in spirit to the protocol 😸

cferdinandi , to Random stuff
@cferdinandi@mastodon.social avatar
dilmandila , to Random stuff
@dilmandila@mograph.social avatar

Ever since I quit Google I've stopped receiving junk emails, used to come about 10 a day and would end up in promotions folder, or updates, or socials, which google created. Now, I get nothing. Only newsletters, some of which are industry related so I don't mind them.

dilmandila OP ,
@dilmandila@mograph.social avatar

@protonprivacy @carturo222 @thunderbird My complaint is that Thunderbird doesn't handle proton folders well, and leads to a lot of clutter and more inconvenience since it creates duplicate folders under each email address

thunderbird ,
@thunderbird@mastodon.online avatar

@dilmandila @protonprivacy @carturo222 It looks like Proton recommends editing folders on the webmail side and letting them sync through the bridge, rather than the other way around: https://www.reddit.com/r/ProtonMail/comments/vtd7jy/creating_new_folders_and_subfolders_from_within/

esther , to Random stuff
@esther@strangeobject.space avatar

What's the simplest way to deploy a Ruby web app these days? Still Heroku? Something else?

I need a basic means of storage (database, even filesystem would be ok) and serving web requests under a domain I control.

Traffic will be low and it'll only be online for a few weeks. Low price would be appreciated but ease of use is more important. I really don't want to set up a whole server for this.

jiji ,
@jiji@strangeobject.space avatar

@esther might a shared hoster like https://uberspace.de work? i did use them for some “off the shelf” ruby software in the past, though not recently. definitely have very easy database and custom domain support

esther OP ,
@esther@strangeobject.space avatar

@jiji I'll check them out, thanks

cferdinandi , to Random stuff
@cferdinandi@mastodon.social avatar
typo3 , to Random stuff German
@typo3@typo3.social avatar

Celebrating years of digital excellence! 🚀

tegut's website continues to evolve with the expert support of and the dedicated team at DMK E-Business GmbH . Discover their journey and latest enhancements in the new case study: https://typo3.com/customers/case-studies/tegut

image/jpeg
image/jpeg

tixie , to Random stuff
@tixie@guerilla.studio avatar

Hmm I'm wondering if declarative Shadow DOM in Web Components would open the path to new patterns of making nicer without-JS-fallback than with <noscript> elements

But some experiment gonna be… as always… for some other days

schizanon ,
@schizanon@mastodon.social avatar

@tixie the new detect-js-suspport-in-CSS features are probably the best tool for this job https://developer.mozilla.org/en-US/docs/Web/CSS/@media/scripting

tixie OP ,
@tixie@guerilla.studio avatar

@schizanon Oh yeah interesting, support seems not ideal but i'm keeping it in a corner of my mind

javajuggler , to WebDev

what ways do you use to make money from your websites? i'm thinking of creating one and monetizing it

MajorHavoc ,

I earn my money selling my skills to people who think they're going to make money from making a website.

My logic is that - During the California gold rush, pickaxes sellers fared much better than gold miners.

Edit: I've had various personal websites for decades. They haven't earned me a dime, directly. But indirectly, they make an amazing professional portfolio.

cosmic_cowboy ,
@cosmic_cowboy@reddthat.com avatar

I know this may not answer your question, but I would suggest to flip your thinking pattern.

By creating a solution that's looking for a problem, you're likely to not add much value to a prospective customer.

Instead, look at some of the problems and friction points in your own life, and see if you can create a solution to those problems.

Worst case scenario: you make your life easier, even if you don't make any money.
Best case scenario: Other people have this problem too, and might pay you to solve it for them.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • khanate
  • WatchParties
  • Rutgers
  • jeremy
  • Lexington
  • cragsand
  • mead
  • RetroGamingNetwork
  • loren
  • steinbach
  • xyz
  • PowerRangers
  • AnarchoCapitalism
  • kamenrider
  • Mordhau
  • WarhammerFantasy
  • itdept
  • AgeRegression
  • mauerstrassenwetten
  • MidnightClan
  • space_engine
  • learnviet
  • bjj
  • Teensy
  • supersentai
  • electropalaeography
  • neondivide
  • fandic
  • All magazines