@mdavis@mastodon.social
@mdavis@mastodon.social avatar

mdavis

@mdavis@mastodon.social

Ecom software and devops at DTL. (Before: Hosting.com, CTSnet, MDG, Beagle Bros, FTL Games/Software Heaven, United Software Industries, Living Legends, CompuSoft.) Created an Apple II BBS network. Wrote tech books. Built an ISP.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

bramus, to random
@bramus@front-end.social avatar

📣 Introducing “Unleash the Power of Scroll-Driven Animations”

I built a thing: a 10-part video course that teaches you all there is to know about scroll-driven animations with CSS or JavaScript.

https://developer.chrome.com/blog/scroll-driven-animations-video-course?hl=en

mdavis,
@mdavis@mastodon.social avatar

@bramus

Your SDA series is excellent, but I'm now needing to determine which scroll-snapped element is the one being viewed. For example, in the cover flow demo, how can you determine from JavaScript which cover is the snapped one in the front/center?

harrymccracken, to random
@harrymccracken@mastodon.social avatar

This is ridiculous:

  1. MKBHD is as fair as they come

  2. Honest reviews are a huge favor to any company smart enough to pay attention

  3. If Humane has its act together, it paid someone with reviews experience to evaluate the product and knew what to expect

https://www.businessinsider.com/youtuber-mkbh-dtrashes-humane-ai-pin-firestorm-over-damage-startup-2024-4

mdavis,
@mdavis@mastodon.social avatar

@harrymccracken Unless they’re completely clueless (which I don’t believe they are), Humane had to know the reviews would call out all the pin’s issues. So, what was the rationale for doing this too-early release?

  1. Showing proof of progress to get ahead of competition due to market pressure.
  2. Gathering feedback from real users.
  3. Testing infrastructure at scale.
  4. Meeting funding requirements.
  5. Embracing iterative development.
  6. Releasing a minimum viable product (MVP).
css, to CSS
@css@front-end.social avatar

💡 CSS Tip!

Create a ⭐️ Star shape using clip-path and only 5 points (instead of 10).

Three different codes to create the same shape
1⃣ Precise version using math
2⃣ Calculated version without math
3⃣ Simplified version with easier coordinates values

Demo: https://codepen.io/t_afif/full/jORvmKG via :codepen: @codepen

Online Version: https://css-tip.com/star-shape/

three star shapes

mdavis,
@mdavis@mastodon.social avatar

@css Temani, is it possible to adapt this to the multi-star method as an optimization? (https://dev.to/afif/scalable-star-rating-without-js-and-no-svg-or-image-for-the-star-2mef)

I've been successfully using this one (https://codepen.io/t_afif/pen/wvdKRPx) in production but always looking for ways to improve DOM performance. Thanks!

GossiTheDog, to random
@GossiTheDog@cyberplace.social avatar

deleted_by_author

  • Loading...
  • mdavis,
    @mdavis@mastodon.social avatar

    @GossiTheDog The Citrix Bleed overrun was trigger by excessive data length. Even though the PoC for it used a long string of a’s it wasn’t specifically using ‘a’ that caused it. Is it really the letter ‘e’ with this Cisco exploit or another misuse of snprintf?

    (Betting on the next one using the letter ‘i’.)

    JenMsft, to random
    @JenMsft@mastodon.social avatar

    Look at the clock
    Meeting will start in 10 minutes

    Look at the clock
    Meeting will start in 9 minutes

    Look at the clock
    Meeting will start in 8 minutes

    Okay, I'll just check up on this one quick thing....

    Look at the clock
    Meeting started 5 minutes ago

    mdavis,
    @mdavis@mastodon.social avatar
    MikeElgan, to random
    @MikeElgan@mastodon.social avatar

    HEADLINE: "Trump is selling ‘God Bless the USA’ Bibles for $59.99 as he faces mounting legal bills"

    ALT HEADLINE: "As a lifelong grifter and conman, Trump has developed an instinct for finding suckers willing to give him money for worthless goods and services" https://apnews.com/article/trump-god-bless-usa-bible-greenwood-2713fda3efdfa297d0f024efb1ca3003

    mdavis,
    @mdavis@mastodon.social avatar

    @MikeElgan I heard that he’s selling the King James Version (c 1611). Nobody this century reads that unless you’re a seminary scholar. KJV is public domain, available for free online or $9 in print on Amazon. Since there’s no licensing cost for Lord Trump, he’s selling you a sheaf of paper and keeping $50.

    JenMsft, to random
    @JenMsft@mastodon.social avatar

    🥲

    mdavis,
    @mdavis@mastodon.social avatar

    @JenMsft Conversion to TypeScript complete.

    QasimRashid, to random
    @QasimRashid@mastodon.social avatar

    SCOTUS is hearing arguments to ban Mifepristone b/c “FDA failed to address concerns about whether the drug is safe for women.”

    Mifepristone reports 5 deaths per 1M people who use it—a death rate of 0.0005%.

    Viagra has a 15X greater death rate.

    So…when do we ban Viagra??🤔

    mdavis,
    @mdavis@mastodon.social avatar

    @QasimRashid That’s a hard one.

    chriscoyier, to random
    @chriscoyier@front-end.social avatar
    mdavis,
    @mdavis@mastodon.social avatar

    @chriscoyier You know the formula. Just do it again. All that old content is eventually going to be obsolete, and what isn’t could be refreshed. So much new material is waiting to be written. Call it CSS-Talk (css-talk.com is available). An homage to Shoptalk Show.

    bramus, (edited ) to CSS
    @bramus@front-end.social avatar

    Should Chrome DevTools warn you when a declaration is IACVT?

    :root { --not-a-color: 20px; }  
    p { background-color: red; }  
    p { background-color: var(--not-a-color); } /* ⚠️ */  
    

    mdavis,
    @mdavis@mastodon.social avatar

    @bramus Now that I know what IACVT means can I change my vote to Yes? Seeing a console warning would be more helpful than just seeing this in the styles inspector. Does that create a precedent for similar types of CSS warnings, or do all the others emit to console already as one would expect?

    dangillmor, to random
    @dangillmor@mastodon.social avatar

    If this is true, the vast majority of clicks on advertising at the deadbird site during the Super Bowl were fraudulent.

    https://mashable.com/article/x-twitter-elon-musk-bots-fake-traffic

    What will advertisers do about it? What can they do about it?

    mdavis,
    @mdavis@mastodon.social avatar

    @dangillmor Advertisers who are still on X are already predisposed to being taken. So X will apply the Google model of telling them that despite record traffic to X during the Super Bowl, the reason the advertiser had such poor engagement/conversion is “actually” because they “actually” needed to increase their ad spend for more coverage because they get lost in the sea of increased traffic. And so, they hand over more $. That’s how Google ad sales reps have been doing it for years.

    css, to CSS
    @css@front-end.social avatar

    The triangle🔺 is probably the most popular CSS shape and I still see old and obsolete methods to create it.

    ⚠️ STOP DOING THIS ⚠️

    Here is a collection of CSS-only triangles made with modern CSS:

    👉 https://css-generators.com/triangle-shapes/

    ✅ Only one element
    ✅ Optimized code with no magic numbers
    ✅ Border-only & rounded corners variations

    Showing the triangle shapes collection from the provided links

    mdavis,
    @mdavis@mastodon.social avatar

    @css Is it possible to use this method to create a filled star shape? You had a really tricky solution for doing that years ago and I wonder if CSS now gives us a better way to accomplish that today.

    mdavis,
    @mdavis@mastodon.social avatar

    @css That’s great news! Standing by for your magic CSS that doesn’t need magic numbers!

    simonzerafa, to random

    Remember to date your Cheques with 2024 from Midnight tonight! 😉

    mdavis,
    @mdavis@mastodon.social avatar

    @simonzerafa Date Czechs in 2024. Got it.

    harrymccracken, to random
    @harrymccracken@mastodon.social avatar

    I didn't realize that the ITC situation only impacts Apple's direct sales of the Apple Watch, not resellers such as Best Buy. https://www.bloomberg.com/news/articles/2023-12-18/apple-plans-rescue-for-17-billion-watch-business-in-face-of-ban

    mdavis,
    @mdavis@mastodon.social avatar

    @harrymccracken @AlesandroOrtiz At a premium, no doubt.

    codinghorror, (edited ) to random

    so funny story. You know that Mars simulation they ran in Hawaii or whatever where 4-8 people would be cooped up in a tiny space for like a year? One of the primary results: guess what specific personality trait everyone HAAAATED in their teammates more than any other? G'wan, guess. https://en.wikipedia.org/wiki/HI-SEAS

    mdavis,
    @mdavis@mastodon.social avatar

    @codinghorror The need to post wikipedia articles and ask others to guess the key point?

    marcoarment, to random
    @marcoarment@mastodon.social avatar

    A social network’s best days are not when we’re using it mostly to talk about another social network.

    mdavis,
    @mdavis@mastodon.social avatar

    @marcoarment Agreed. The sooner we stop talking and thinking about ____, the sooner we forget about ____, the sooner ____ ceases to exist. It's going to happen eventually, so why not now? I was ready to stop over a year ago and wish the world would, too.

    ethanschoonover, to random
    @ethanschoonover@mastodon.social avatar

    It's nobody's job to be on twitter at this point.

    It's everyone's job to leave.

    When the bar turns into a nazi bar run by a guy that loves to talk shop with nazis, you walk out. You don't keep going because you have to hit all the bars.

    At some point you either take a stand or you are part of the problem.

    mdavis,
    @mdavis@mastodon.social avatar

    @ethanschoonover In other words, this is only caring about your followers, not caring for your followers. Scalzi did the same thing by waiting a year and keeping them in the bad place rather than helping them escape, but at least he actually left. Also, there’s nothing there worth reporting except the same dreck we already know about. It’s not news anymore. It hasn’t been since last November.

    harrymccracken, to random
    @harrymccracken@mastodon.social avatar

    Am I the only one who thinks dividing America into red and blue states is childish and counterproductive and (as this headline proves) ultimately meaningless?

    mdavis,
    @mdavis@mastodon.social avatar

    @harrymccracken Are you suggesting we instead divide the states among tech lines? Like macOS and Windows states? iOS and Android states? Vanilla Javascript and React states?

    (ducking)

    harrymccracken, to random
    @harrymccracken@mastodon.social avatar

    Humane finally being announced made me revisit my 2018 story on a gadget with similar goals of eliminating distraction (though not based on such out-there technology). It didn't take off. https://www.fastcompany.com/90245288/steph-curry-and-the-new-palm-want-you-to-forget-your-phone

    mdavis,
    @mdavis@mastodon.social avatar

    @harrymccracken We watched The Verge’s YT short on this tonight presented by Becca Farsace. My wife said it reminded her of the Star Trek communicator pin. Yet, more than just a two-way space radio. Seems like much of what the Humane device does could be accomplished by a smartwatch with just a few more tricks (camera, laser projection, etc.).

    chriscoyier, to random
    @chriscoyier@front-end.social avatar
    mdavis,
    @mdavis@mastodon.social avatar

    @chriscoyier Resonates, mightily. But that very last sentence keeps bugging me. I think “SEO” needs to be qualified here to refer to what the article initially set out as “what it should be”. Yes, that practice made the Internet good. But not the SEO we know today. Or am I misinterpreting that last sentence?

    harrymccracken, to random
    @harrymccracken@mastodon.social avatar

    I'm excited to be attending the Computer History Museum's fellow awards celebration tonight, especially since one of the honorees is Tom Kurtz, the co-inventor of BASIC! https://computerhistory.org/2023-fellow-awards/

    mdavis,
    @mdavis@mastodon.social avatar

    @harrymccracken @briand06 And yet, if you take the best parts of that fragmentation with some inspiration from other languages, you could end up with something quite clever to improve the experience of writing in BASIC.

    https://www.morgandavis.net/blog/2009/08/09/md-basic/

    See the PDF link on this page for a complete view of what I ended up writing to improve the venerable Applesoft BASIC over 30 years ago.

    mdavis, (edited )
    @mdavis@mastodon.social avatar

    @harrymccracken It’s missing a lot! Feel free to use my AmperWorks utility (which was included with the Object Module Manager) to fill in some of those missing features.

    https://www.morgandavis.net/blog/2009/08/09/object-module-manager/

    … And that’s a really nice friend you have! :)

    harrymccracken, to random
    @harrymccracken@mastodon.social avatar

    I'm not used to seeing the iPad outperform expectations in Apple's quarterly results, thereby boosting the company during a kinda challenging time. https://www.cnbc.com/2023/11/02/apple-aapl-earnings-report-q4-2023.html

    mdavis,
    @mdavis@mastodon.social avatar

    @harrymccracken This is good. I work from home and have all the devices (iPhone, Apple watch, iPad, Dell laptop, and Windows desktop battlestation) and yet I spend more time on my iPad with a folio keyboard than anything else.

    BleepingComputer, to random

    Microsoft says a new known issue is causing desktop icons to behave erratically on systems with multiple displays when using the Windows Copilot AI-powered digital assistant.

    https://www.bleepingcomputer.com/news/microsoft/microsoft-windows-copilot-makes-desktop-icons-jump-between-displays/

    mdavis, (edited )
    @mdavis@mastodon.social avatar

    @BleepingComputer This has to be a coding interview question at Microsoft for new hires.

    The task: Write a function that intercepts the LLM response from Copilot, and for each vowel found in the response, randomly switch the position of icons on the user’s desktop.

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