Web Development

cosmicrose , in Say Goodbye to Contact Form Spam
@cosmicrose@lemmy.world avatar

Speaking of a “black hole” email address, are there any addresses set up for the purpose of catching spam? Like if Gmail had an address for spam that contributed to its spam detection.

jadero ,

The Stalwart mail server allows for that. They call them "spam traps".

Basically, it's a real email address that literally never gets used or referenced anywhere, thus assuring any email received is unsolicited by definition. Stalwart's spam engine uses any such email to help train the spam filter.

I can't imagine that Stalwart is only one implementing such a system.

I've never used Stalwart, but it's the email server I've selected should I decide to do what everyone tells me I shouldn't: run my own server for me, my wife, and the two domains we control. Their documentation is basically a master class in email.

cosmicrose ,
@cosmicrose@lemmy.world avatar

“Spam trap” and “spam honeypot” are exactly the keywords to search for. I found a bunch of info about some services you can use to set them up. I’d recommend adding “-avoid” to your search filters because every email marketer has their own article titled “About Spam Traps and How to Avoid Them” which just pollutes search results if you’re actually looking to set up your own.

jadero ,

Thanks!

SubArcticTundra , in Downloading YouTube Channels Transcript...
@SubArcticTundra@lemmy.ml avatar

Hmm, I'd have a look at the yt-dlp source code. I think it can download subtitles/transcripts (and list them). The process does take a few seconds though.

z3rOR0ne , (edited )
@z3rOR0ne@lemmy.ml avatar

I was just going to chime in with this. I don't know the details of their implementation, but I get transcripts with every video I download using yt-dlp (if it exists which it does 99.9% of the time).

Synther OP ,

am I able to download all the transcripts of each video from one channel? I was planning on doing this with a few channels. If this is even possible with YT-DL.

SubArcticTundra ,
@SubArcticTundra@lemmy.ml avatar

Hmm, youd need to first get a list of channel videos and then iterate thrpugh them, probablu with a script. Yt-dlp might support getting the videos in a channel, idk. I do know that it can download while playlists... Perhaps try passing it the channel url and seeing if it treats that as a playlost.

BehindTheBarrier ,

YouTube sometimes made it hard to find, but all channels do have an all videos Playlist. I think he button is on a profiles video page now. I don't know if yt-dlp can do only transcripts but I'm sure it can download all videos with transcripts included.

mark OP , in Say Goodbye to Contact Form Spam
@mark@programming.dev avatar

Wouldn't this effectively mark all messages from a user who isn't using JavaScript as spam? 🙃

borari ,

[Thread, post or comment was deleted by the author]

  • Loading...
  • mark OP ,
    @mark@programming.dev avatar

    Yeah, it's definitely a very unique approach I haven't seen before. I've been using the "honeypot" method for years, which has been working surprisingly well.

    rebelsimile ,

    Apparently the rate of users not using JS is about 0.2% (and has been that way for 10 years), so just applying this solution the the large margins as he’s doing, I’d probably just make an alternate message saying “please enable javascript to contact me” and let that be that.

    mark OP ,
    @mark@programming.dev avatar

    Eh. These sorts of metrics aren't always accurate. And the source company did the study in 2016, which was a very very different internet, and doesn't go into detail about how they were able to determine this number. I would take that with a grain of salt. I agree that just having a notice somewhere is better than not, though.

    rebelsimile ,

    Sure, I was just curious and looked it up, that’s the first link I saw. I guess the question is — is it better to theoretically annoy real users who aren’t using JS (and how many are there) or is it better to frustrate and annoy lazy spammers (and how many are there?). On my own sites I really rarely get non-spam email. I’d be fine making a random 10-45 second timer on my contact forms doing this, no one needs to contact me in under 10 seconds on my websites.

    Blisterexe ,
    @Blisterexe@lemmy.zip avatar

    they could add a little text box thats hidden by javascript tby default informing them of that

    JaxNakamura , in Issue with website(personal project) loading on firefox, work fine on chrome.

    FWIW, it's working with FF 123 on Kubuntu as well.

    PoseidonsWake , in Issue with website(personal project) loading on firefox, work fine on chrome.
    @PoseidonsWake@lemmy.world avatar

    Working with FF 124 on Archlinux

    Eheran , in Issue with website(personal project) loading on firefox, work fine on chrome.

    Working with FF 124 on Android.

    alexdeathway OP ,
    @alexdeathway@programming.dev avatar

    as i have already mentioned,This issue doesn't occur with any mobile device Browsers.

    Eheran ,

    Ah, I just tested once I read that section. Why read further was my thinking. Now I have not tested it on PC... Sorry

    alexdeathway OP ,
    @alexdeathway@programming.dev avatar

    no problem

    Newtra , in New CSS that can actually be used in 2024 (no hype)

    I've been waiting so long for :has(), and had no idea it was finally implemented. This is huge for userstyles. Now I should be able to hide retweets and inline ads from Twitter with just a couple lines of css.

    Newtra ,

    Also, I've gotta say, great article. Very informative and I appreciate the focus on concrete use cases.

    dan , (edited ) in New CSS that can actually be used in 2024 (no hype)
    @dan@upvote.au avatar

    Nice article. I didn't know about many of these.

    I'm glad we can use logical properties now. Dealing with systems that support both LTR (like English) and RTL (like Hebrew and Arabic) languages used to be a pain because we had to have a build script that generated a second CSS bundle with everything flipped (eg converts margin-left to margin-right, border-left to border-right, etc. Logical properties make it a lot easier.

    I love the gap property for flexbox... I use that one all the time. Easily solves the "I need padding between all these items, but no padding at the start or end" use case.

    cupcakezealot , in New CSS that can actually be used in 2024 (no hype)
    @cupcakezealot@lemmy.blahaj.zone avatar

    its 2024 if it's not the marquee tag what's the point

    shootwhatsmyname , in New CSS that can actually be used in 2024 (no hype)
    @shootwhatsmyname@lemm.ee avatar

    here’s the hype:

    🔥🎉🥳

    tinker_james , in The quiet, pervasive devaluation of frontend

    I'm going to be honest. I like this thread. Not only is the article long and "thorough" (whether you agree with this form of thoroughness or not) but the responses are too.

    I can appreciate what the author is trying to express. I also related to how he's trying to express it because it's very similar to how I try to explain my opinions, shower thoughts, meanderings....which typically earns me eyes glazing over from my conversation partners haha.

    I have many many thoughts on everything being discussed here, but rather than contribute, I'm going to sip on my coffee and keep reading.

    P.s. I'm liking PD better than Reddit. Actual conversation happening.

    jaredwhite , in Announcing VitePress 1.0 | The Vue Point
    @jaredwhite@lemmy.world avatar

    Looks nice! I like that idea of a Markdown page being itself a Vue SFC. Pretty clever.

    ThuleanPerspective , in Announcing VitePress 1.0 | The Vue Point

    SNEED FEED SNEED'S CHUCK FOR FREE FLOYD HOT POCKETS CHUCK'S FLOYD CLEAN IT UP CITY SLICKER CHUCK'S CLEAN IT UP SUCK FEED JANNIES CITY SLICKER SEETHE CITY SLICKER CLEAN IT UP DILATE SEETHE DILATE SEETHE FUCK SNEED'S I CAN'T SUCK FLOYD FLOYD HOT POCKETS COPE SNEED'S FOR FREE CHUCK'S FLOYD COPE SUCK FUCK SNEED CITY SLICKER I CAN'T FLOYD SEED DILATE SUCK SUCK SNEED SNEED'S JANNY

    https://lemmygrad.ml/pictrs/image/d0f23042-9f46-42fb-86bd-2a08538c6bc1.png
    https://lemmygrad.ml/pictrs/image/d89a4c13-1e16-4021-a5af-08927279297b.png
    https://czchan.org/uploads/1710961305917656.png
    https://czchan.org/uploads/1710961306111010.gif
    https://czchan.org/uploads/1710961307845375.png

    gunpachi , (edited ) in What are your favorite e-commerce alternatives to Shopify?

    You might want to check out Vendure . Haven't used it so I can't give my opinion on it but generally I have heard good things about it.

    The other option would be Wordpress + Woocommerce like others mentioned.

    shootwhatsmyname OP ,
    @shootwhatsmyname@lemm.ee avatar

    Wow, this actually looks incredible, thanks! Never heard of it before

    onlinepersona , in The quiet, pervasive devaluation of frontend

    I had to stop reading at

    CSS is a programming language because that’s what you’re doing when you write it; you’re programming the application’s presentation logic.

    It's as if he wants to get into a philosophical debate about what programming languages are.

    Frontend is hard and it's made unnecessarily hard by HTML,CSS, and Javascript. I swore off of frontend due to the evergrowing, unnecessary complications.

    What I'm looking forward to is web apps written in a single programming language with no javascript knowledge necessary at all. There are rust frameworks that generate the JS boilerplat to load WASM. Some use the DOM to make their UIs, some insert a canvas and use WebGL, some generate HTML in the backend and replace parts of the live frontend with that, but my favorite is when there's no HTML, CSS or JS in sight.

    As for the devaluation of frontend, I always found it weird that frontend devs were paid less than backend devs. I respect frontend devs for being able to do what I can't. We're in this together. Pay us all a good wage. We're workers and have to stick together.

    CC BY-NC-SA 4.0

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • webdev@programming.dev
  • test
  • worldmews
  • mews
  • All magazines