Skip Navigation
static website generator
  • If you use github pages, you can create, deploy, and host static websites for free. Only cost, if you want your own URL, is for a custom DNS name.

    You can use their default Jekyll static rendering engine, and create the content using Markdown. And with github actions, all you need to update the content is create markdown, then push the change to the same repo. After a few minutes, the new content shows up.

    https://pages.github.com/

    Hugo can also be used, but it takes a few extra steps: https://gohugo.io/hosting-and-deployment/hosting-on-github/

    You can also find 'themes' to customize the look and feel of the site, specific to the site generation tool.

    If you want a lot of extra features, Docusaurus is pretty much as good as it gets, and you can set it up to push out to GH pages: https://docusaurus.io/docs/deployment

  • Developing with Docker
  • OK, you wanted a conversation… :-)

    I did read the post, but I assumed it was the starting point of a system or mechanism, not the end-point. Wanting to just run "docker compose up" is fine, but there is more to developing and deploying to production (and continuing post-launch).

    That's why I mentioned the CLI. It lets you go from a simple local app (Django on sqlite) to a Docker one (postgres, celery, redis, etc.), to all the way out to the cloud (ECS/EKS/serverless lambda/RDS), without having to remember what commands do what or managing lots of separate docker-compose files.

    I can see we are VERY far apart on how docker should be used in moving toward a production-ready system.

    For one thing, recommending putting secrets inside docker-compose is an instantly disqualifying piece of advice. There's a whole 'secrets' section of docker compose that is there to prevent people from inadvertently including those in cleartext and baking them into images: https://docs.docker.com/compose/how-tos/use-secrets/.

    Github itself has a secret scanning mechanism to prevent leakage: https://docs.github.com/en/code-security/secret-scanning/introduction/about-secret-scanning. For gitlab, there's also Blackbox or HashiCorp vault. Putting AWS key/secret inside a repo can be VERY expensive and open one to legal liability if the account is misused. Repeated infractions could lead to AWS banning one's account.

    I really recommend you take down that part of your post, instead of proliferating bad practices.

    As for the rest, to each their own.

  • Developing with Docker
  • Good stuff.

    A few things I'd change:

    • A CLI to simplify local vs docker vs cloud operations. Reduces chance of operator error. Have had good luck with python click library.
    • Moving config settings into separate JSON and .env files to avoid loading too many config and secrets in the docker-compose file.
    • For AWS, I'd go with CDK. That way, cloud deployment is all in python (or typescript).
    • For cloud, you can also package Django into a single lambda, with dependencies inside a lambda layer. Not sure I'd use it in heavy production, but for small apps, really handy.
    • Inside Django settings, you can switch DB and services whether running local (sqlite, Redis), docker (postgres, RabbitMQ), or cloud (RDS, SQS).
  • Bendable non-silicon RISC-V microprocessor - Nature
  • This could be big. The fact that it's sub-dollar, open-source, AND could be put on FlexPCBs opens up a whole lot of applications.

    Only concern is the same as for RFID. They end up so cheap they're tossed into landfills or end up in waterways without a second thought. At least there, people are working on biodegradable solutions: https://bioplasticsnews.com/2020/01/12/stora-enso-sustainable-rfid-tag/

    If the Flex-RV people address sustainability, they could have a real winner.

  • ChatGPT is changing the way we write. Here’s how – and why it’s a problem.
  • My favorite tell is when a write-up starts with a verbose explanation of given knowledge on a subject. Yes, we all know what 'World Wide Web' and 'Internal Combustion Engines' are.

    Get to the f'ing point.

  • The best hill of them all.
  • First they switched to the mini-spares. Then they got rid of them altogether.

    If you're lucky, there are little filler canisters and a cigarette lighter-powered air compressor to let you get slowly to a tire shop. Sometimes, not even that. If there's a nail or a blowout, tow-truck city. Just hope it's not out in the middle of nowhere in the dark or in bad weather.

  • The best hill of them all.
  • Can we add 'cars with spare tires' to the list?

    Having to call a damned tow-truck just to get a flat tire fixed is not a winning move if you're trying to sell how much your car benefits the environment.

  • Inside CNN's New Comedy Quiz Show. Yes, You Read That Right
    www.rollingstone.com Inside CNN's New Comedy Quiz Show. Yes, You Read That Right

    Host Roy Wood Jr., panelists Michael Ian Black and Amber Ruffin, and the series' U.K. creator on bringing a late-night talk show to the news network.

    Inside CNN's New Comedy Quiz Show. Yes, You Read That Right

    cross-posted from: https://lemmy.ml/post/20603742

    > U.S. version of the venerable British news/comedy show, #HIGNFY.

    0
    Inside CNN's New Comedy Quiz Show. Yes, You Read That Right
    www.rollingstone.com Inside CNN's New Comedy Quiz Show. Yes, You Read That Right

    Host Roy Wood Jr., panelists Michael Ian Black and Amber Ruffin, and the series' U.K. creator on bringing a late-night talk show to the news network.

    Inside CNN's New Comedy Quiz Show. Yes, You Read That Right

    cross-posted from: https://lemmy.ml/post/20603742

    > U.S. version of the venerable British news/comedy show, #HIGNFY.

    6
    Inside CNN's New Comedy Quiz Show. Yes, You Read That Right
    www.rollingstone.com Inside CNN's New Comedy Quiz Show. Yes, You Read That Right

    Host Roy Wood Jr., panelists Michael Ian Black and Amber Ruffin, and the series' U.K. creator on bringing a late-night talk show to the news network.

    Inside CNN's New Comedy Quiz Show. Yes, You Read That Right

    cross-posted from: https://lemmy.ml/post/20603742

    > U.S. version of the venerable British news/comedy show, #HIGNFY.

    6
    Inside CNN's New Comedy Quiz Show. Yes, You Read That Right
    www.rollingstone.com Inside CNN's New Comedy Quiz Show. Yes, You Read That Right

    Host Roy Wood Jr., panelists Michael Ian Black and Amber Ruffin, and the series' U.K. creator on bringing a late-night talk show to the news network.

    Inside CNN's New Comedy Quiz Show. Yes, You Read That Right

    cross-posted from: https://lemmy.ml/post/20603742

    > U.S. version of the venerable British news/comedy show, #HIGNFY.

    8
    Inside CNN's New Comedy Quiz Show. Yes, You Read That Right
    www.rollingstone.com Inside CNN's New Comedy Quiz Show. Yes, You Read That Right

    Host Roy Wood Jr., panelists Michael Ian Black and Amber Ruffin, and the series' U.K. creator on bringing a late-night talk show to the news network.

    Inside CNN's New Comedy Quiz Show. Yes, You Read That Right

    U.S. version of the venerable British news/comedy show, #HIGNFY.

    2
    After years of feuding, the Giants have made peace with San Francisco’s seagulls

    cross-posted from: https://lemmy.ml/post/19787296

    > Archive link: https://archive.ph/H0jBD > > > "As the ninth inning drew to a close at San Francisco’s Oracle Park on a recent afternoon, the mood in the stands was dour — the Giants were losing to the White Sox. But in the skies above the stadium, the real game was just getting started. > > California and Western gulls glided overhead, scouting the bleachers for garlic fries and ketchup-smeared hot dog buns. The gulls soared steadily by the dozens as the bleachers emptied. Soon, the birds were left alone to engulf any leftover food they could find."

    1
    San Francisco @lemmy.world fubarx @lemmy.ml
    After years of feuding, the Giants have made peace with San Francisco’s seagulls

    cross-posted from: https://lemmy.ml/post/19787296

    > Archive link: https://archive.ph/H0jBD > > > "As the ninth inning drew to a close at San Francisco’s Oracle Park on a recent afternoon, the mood in the stands was dour — the Giants were losing to the White Sox. But in the skies above the stadium, the real game was just getting started. > > California and Western gulls glided overhead, scouting the bleachers for garlic fries and ketchup-smeared hot dog buns. The gulls soared steadily by the dozens as the bleachers emptied. Soon, the birds were left alone to engulf any leftover food they could find."

    0
    San Francisco @lemmy.world fubarx @lemmy.ml
    Local News Is Dying, but Not in San Francisco

    Archive: https://archive.ph/uvnwC

    0
    I bought this because...

    Earlier today, at Oakland, CA charging station.

    51
    Apple, Google wallets to carry California driver's licenses

    Not sure if true, but someone raised an issue when this was first announced. That you can no longer refuse to unlock your phone when stopped, since you'll have to unlock it to show your digital driver's license.

    11
    Watch How a Hacker’s Infrared Laser Can Spy on Your Laptop’s Keystrokes
    www.wired.com Watch How a Hacker’s Infrared Laser Can Spy on Your Laptop’s Keystrokes

    Hacker Samy Kamkar is debuting his own open source version of a laser microphone—a spy tool that can invisibly pick up the sounds inside your home through a window, and even the text you’re typing.

    Watch How a Hacker’s Infrared Laser Can Spy on Your Laptop’s Keystrokes

    Samy Kamkar's latest at Defcon.

    Archive link: https://archive.ph/UtTtp

    0
    /c/cybersecurity - Cybersecurity News & Discussion @lemmy.ml fubarx @lemmy.ml
    Watch How a Hacker’s Infrared Laser Can Spy on Your Laptop’s Keystrokes
    www.wired.com Watch How a Hacker’s Infrared Laser Can Spy on Your Laptop’s Keystrokes

    Hacker Samy Kamkar is debuting his own open source version of a laser microphone—a spy tool that can invisibly pick up the sounds inside your home through a window, and even the text you’re typing.

    Watch How a Hacker’s Infrared Laser Can Spy on Your Laptop’s Keystrokes

    Samy Kamkar's latest at Defcon.

    Archive link: https://archive.ph/UtTtp

    0
    Introducing the RP2350
    dmitry.gr Introducing the RP2350 - Dmitry.GR

    Dmitry.GR: Everything you ever dreamed the RP2040 would be is here - fall in love with the RP2350

    Introducing the RP2350 - Dmitry.GR
    3
    Transfer posts, saves, and comments to a different Lemmy account

    Apologize if this is a dupe, but is there a way to transfer one's acoount from one lemmy instance to another? Ideally, it involves one's posts and comments, but definitely one's saves. Both accounts are active and in good health.

    Thanks!

    4
    Flipboard Brings Local News to the Fediverse
    about.flipboard.com Flipboard Brings Local News to the Fediverse - Flipboard

    As part of our commitment to local news, Flipboard is bringing 63 regional and community titles to the fediverse.

    Flipboard Brings Local News to the Fediverse - Flipboard

    Next step would be realtime updates from journalists on breaking news.

    6
    Flipboard Brings Local News to the Fediverse
    about.flipboard.com Flipboard Brings Local News to the Fediverse - Flipboard

    As part of our commitment to local news, Flipboard is bringing 63 regional and community titles to the fediverse.

    Flipboard Brings Local News to the Fediverse - Flipboard
    5
    Trump donations to Kamala Harris in 2014

    Saw a picture of a canceled check online. Was wondering if it was real.

    Yup. From the California Secretary of State site.

    • Go here: http://powersearch.sos.ca.gov/advanced.php
    • Enter "Donald J Trump" in "Contributions From" field.
    • Enter "Kamala Harris" in "Candidates" field.
    • Hit Search.
    37
    iOS 18 brings AirPods setup experience to third-party accessories
    9to5mac.com iOS 18 brings AirPods setup experience to third-party accessories

    When Apple introduced AirPods in 2016, the company also unveiled a new, easy and intuitive way to pair wireless accessories...

    iOS 18 brings AirPods setup experience to third-party accessories
    0
    Apple @lemmy.ml fubarx @lemmy.ml
    iOS 18 could 'sherlock' $400M in app revenue | TechCrunch
    techcrunch.com iOS 18 could 'sherlock' $400M in app revenue | TechCrunch

    Apple's changes may affect apps that today have an estimated $393 million in revenue and have been downloaded roughly 58 million times over the past year.

    iOS 18 could 'sherlock' $400M in app revenue | TechCrunch

    cross-posted from: https://lemmy.ml/post/17058378

    8
    iOS 18 could 'sherlock' $400M in app revenue | TechCrunch
    techcrunch.com iOS 18 could 'sherlock' $400M in app revenue | TechCrunch

    Apple's changes may affect apps that today have an estimated $393 million in revenue and have been downloaded roughly 58 million times over the past year.

    iOS 18 could 'sherlock' $400M in app revenue | TechCrunch
    9
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)FU
    fubarx @lemmy.ml
    Posts 35
    Comments 942