Skip to content
Menu
Open World News Open World News
  • Privacy Policy
Open World News Open World News

Category: News

#! code: Drupal 11: Batch Processing Using Drush

Posted on September 2, 2024 by Michael G

This is the second part of a series of articles looking at the Batch API in Drupal. The Batch API is a system in Drupal that allows data to be processed in small chunks in order to prevent timeout errors or memory problems.

In the previous article we looked at how to setup the batch process using a form, with the batch methods being contained within the structure of the form class. When the form was submitted the batch process ran through 1,000 items and then printed out a result at the end.

Whilst there is nothing wrong with running the Batch API with everything in a form class, it is normally better to abstract the batch processing code into a separate class.

Using a separate batch class to contain the process and finish methods is a much better way of setting things up as it allows you to abstract away the batch process from the action that starts it. This means that you can start the batch from anywhere, even a Drush command.

Allowing you batch processes to be run via Drush is a really powerful feature for a module to include. It means that any big process that can be run by a user can be run automatically via a Drush command.

The Batch Class

To create a batch class I normally create a directory called “Batch” inside the module “/src” directory that contains any batch class I need to define. The contents of the class are the two batch methods from the form class used previously, namely the batchProcess() and batchFinished() methods.

The following shows the basic structure of this class.

Read more

Rails 7.2 allow_browser version guard feature

Posted on September 2, 2024 by Michael G
Rails 7.2 introduced the allow_browser version guard feature, that allows you to specify the minimum browser versions your application supports. The default allowed versions are from December 2023, which seems a bit too restrictive. This short tutorial shows you how to use it.

Heliography in darkness

Posted on September 2, 2024 by Michael G
Telegram doesn’t hold up to the promise of being private, nor secure. The end-to-end encryption is opt-in, only applies to one-on-one conversations and uses a controversial ‘homebrewn’ encryption algorithm. The rest of this article outlines some of the fundamentally broken aspects of Telegram. ↫ h3artbl33d Telegram is not a secure messenger, nor is it a platform you should want to be on. Chats are not encrypted by default, and are stored in plain text on Telegram’s server. Only chats between two (not more!) people who also happen to both be online at that time can be “encrypted”. In addition, the quotation marks highlight another massive issue with Telegram: its “encryption” is non-standard, home-grown, and countless security researchers have warned against relying on it. Telegram’s issues go even further than this, though. The application also copies your contacts to its servers and keeps them there, they’ve got a “People nearby” feature that shares location data, and so much more. The linked article does a great job of listing the litany of problems Telegram has, backed up by sources and studies, and these alone should convince anyone to not use Telegram for anything serious. And that’s even before we talk about Telegram’s utter disinterest in stopping the highly illegal activities that openly take place on its platform, from selling drugs, down to far more shocking and dangerous activities like sharing revenge pron, CSAM, and more. Telegram has a long history of not giving a single iota about shuttering groups that share and promote such material, leaving victims of such heinous crimes out in the cold. Don’t use Telegram. A much better alternative is Signal, and hell, even WhatsApp, of all things, is a better choice.

Fruit Crush Earning Game App _ Online Earning App Without Investment _ Earn Money Online(360P)

Posted on September 1, 2024 by Michael G

Author: Source Read more

Nintendo supprime une fonctionnalité qui a 7 ans.

Posted on September 1, 2024 by Michael G
Pour parler de la vidéo avec des gens passionnés tech : / discord

Mon setup COMPLET (PC / Caméra / Autres) : http://textup.fr/248446PT

Si vous voulez me soutenir, vous pouvez le faire en achetant vos produits technologiques avec ce lien : https://leotechmaker.com/me-soutenir
(Vous ça ne vous change rien au prix de ce que vous achetez, moi je récupère un % de la vente, merci ❤️❤️)

SUIVEZ MOI ICI PARTOUT POUR NE JAMAIS ARRÊTER D’APPRENDRE !
—————————————————
Twitter: / leotechmaker
Instagram: / leotechmaker
TikTok: / leotechmaker
Twitch: / leotechmaker

Mon extension Chrome à installer ABSOLUMENT : http://leotechmaker.com/addon

Si tu es descendu jusque-là, n’oublie pas de liker la vidéo, après tout, t’as bien cliqué sur “en voir plus”, tu peux bien utiliser un clic de plus…

Zahid open to probe over SD allegations

Posted on September 1, 2024 by Michael G
The Barisan Nasional chairman says he has solid evidence related to the powers given to him by the MPs to form a government.

Read More: https://www.freemalaysiatoday.com/category/nation/2024/09/01/zahid-open-to-probe-over-sd-allegations/

Laporan Lanjut: https://www.freemalaysiatoday.com/category/bahasa/tempatan/2024/09/01/didakwa-tipu-agong-berkait-sd-sokong-pm-zahid-sedia-disiasat/

Free Malaysia Today is an independent, bi-lingual news portal with a focus on Malaysian current affairs.

Subscribe to our channel – http://bit.ly/2Qo08ry
——————————————————————————————————————————————————
Check us out at https://www.freemalaysiatoday.com
Follow FMT on Facebook: https://bit.ly/49JJoo5
Follow FMT on Dailymotion: https://bit.ly/2WGITHM
Follow FMT on X: https://bit.ly/48zARSW
Follow FMT on Instagram: https://bit.ly/48Cq76h
Follow FMT on TikTok : https://bit.ly/3uKuQFp
Follow FMT Berita on TikTok: https://bit.ly/48vpnQG
Follow FMT Telegram – https://bit.ly/42VyzMX
Follow FMT LinkedIn – https://bit.ly/42YytEb
Follow FMT Lifestyle on Instagram: https://bit.ly/42WrsUj
Follow FMT on WhatsApp: https://bit.ly/49GMbxW
——————————————————————————————————————————————————
Download FMT News App:
Google Play – http://bit.ly/2YSuV46
App Store – https://apple.co/2HNH7gZ
Huawei AppGallery – https://bit.ly/2D2OpNP

#FMTNews #ZahidHamidi #SDAllegations #GE15 #SultanAbdullah

How To Create A New Editor User On Your WordPress Site: Itay Verchik IVBS SEO / PPC

Posted on September 1, 2024 by Michael G
How To Create A New Editor User On Your Wordpress Site:
https://itayverchik.com/new-editor-user/

Are you looking to create a new editor user on your WordPress site? In this step-by-step tutorial, I’ll guide you through the entire process of adding a new user with the editor role on your WordPress site. Whether you’re running a blog, managing a content team, or simply need to delegate some editing tasks, knowing how to create a new editor user is crucial.

In this video, we’ll walk through accessing the WordPress dashboard, navigating to the users section, and filling out all the necessary details to set up a new user with the correct permissions. I’ll also explain the differences between user roles and why the editor role is perfect for managing content without giving full administrative access.

By the end of this tutorial, you’ll have all the knowledge you need to securely create and manage users on your WordPress site, ensuring that your team can effectively contribute while keeping your site secure. Whether you’re a WordPress beginner or an experienced webmaster, this video will provide you with the insights you need to streamline your workflow.

Don’t forget to subscribe to the channel, hit the notification bell to stay updated on all our latest tutorials, and give this video a thumbs up if you found it helpful!

In this video, you’ll learn:

How to navigate the WordPress dashboard to add a new user.
How to assign the editor role and understand user permissions.
Best practices for setting secure passwords.
Tips for managing users efficiently on your WordPress site.

Thank you for watching! If you have any questions or suggestions for future videos, leave a comment below and I’ll be happy to help.
To Sign Up For The Keywords Tracking System:
https://say-v.com/

Join now the community of Webmasters and SEO Marketers completely free:
https://www.facebook.com/groups/itayverchik

To purchase Elementor Pro, the world’s best WordPress page designer:
https://trk.elementor.com/2500

Don’t Have A Web Hosting Account Yet Or Are You Just Not Satisfied With Your Existing Hosting?
Get A 25% Discount For Cloudways Web Hosting For The First 3 Months:
https://platform.cloudways.com/signup?id=314159&coupon=VERCHIK

#WordPress #WebDevelopment #UserManagement #EditorRole #WordPressTutorial #WebsiteSecurity #ContentManagement #CreateUser #DigitalMarketing #WebDesign

Darren Oh: From Drupal Forge trial sites to persistent hosting

Posted on September 1, 2024 by Michael G
From Drupal Forge trial sites to persistent hosting

Due to concerns that the launch button would funnel business to one vendor at the expense of others, Starshot leadership announced that the launch button would use WebAssembly to run site trials in a user’s browser without external hosting. This approach has the advantages of being able to run Drupal off line and not needing anyone to pay for hosting. However, it is technically challenging and will not work for everyone. Sites running in WebAssembly cannot be visited by others and are not persistent.

Darren Oh
Fri, 08/30/2024 – 15:40

Tags

  • Drupal
  • Drupal Forge
  • Read more about From Drupal Forge trial sites to persistent hosting
  • Log in or register to post comments

FreeBSD 13.4-RC2 Available

Posted on September 1, 2024 by Michael G
The second Release Candidate build for the FreeBSD 13.4 release cycle is now available. ISO images for the amd64, i386, powerpc, powerpc64, powerpc64le, powerpcspe, armv6, armv7, aarch64, and riscv64 architectures are FreeBSD mirror sites.

Here’s 22 examples of Google employees trying to avoid creating evidence for court

Posted on September 1, 2024 by Michael G
In its antitrust case against Google, the Federal Government filed a list of chats it had obtained that show Google employees explicitly asking each other to turn off a chat history feature to discuss sensitive subjects, showing repeatedly that Google workers understood they should try to avoid creating a paper trail of some of their activities.  The filing came following a hearing in which judge Leonie Brinkema ripped Google for “destroyed” evidence while considering a filing from the Department of Justice asking the court to find “adverse interference” against Google, which would allow the court to assume it purposefully destroyed evidence. Previous filings, including in the Epic Games v Google lawsuit and this current antitrust case, have also shown Google employees purposefully turning history off. ↫ Seamus Hughes The fact that corporations break the law, and lie, cheat, and scam their way to the top is not something particularly shocking, nor will it surprise anyone. I can barely even get angry about it anymore – birds gotta eat, fish gotta swim, corpos gotta break the law, that sort of thing. It’s just an inevitability of reality, a law of nature. You know it, I know it, the whole world knows it. No, what really upsets me is just how easily they get away with it, and even if they do get punished, any fines or other forms of punishment are so utterly disproportionately mild compared to the crimes committed. It’s incredibly rare for anyone responsible for corporate crime to ever face any serious punishment, let alone jail time, and even in the rare cases where they do, they usually have some stock options or whatever left over from their employment contract that will ensure a lavishly wealthy lifestyle. Fines levied against corporations as a whole are usually so low they’re just a minor cost of doing business, to the point where one has to wonder why they’re even being levied at all. Compare this to us normal folks, and the differences couldn’t be more stark. Whenever we’re accidentally late on some small bill, we get fined automatically, with very little recourse. We get a speeding ticket automatically in the mail because we drove 5 km/h over the speed limit. Our tax agencies are stupidly effective and efficient at screwing you over for that small side hustle selling crap on eBay. And rarely do we have any effective, efficient recourse. And these things can quickly spiral out of control when you’re already living paycheck to paycheck – being poor is really, really expensive. And let’s not even get into how much worse any of this is if you’re part of a minority, like being black in the US, or of North-African descent in Europe. In this case, the illegal activities of Google and its executies and employees is on such clear display, and yet, few, if any, will suffer any consequences for them. If you ever wonder why so many regular people flock to political extremes, it’s exactly this kind of deep unfairness and inequality that lies at its roots. It’s dispiriting, demoralising, and disheartening, and primes the pumps for disenfranchisement with society, and thus the search for alternatives, upon which extremists pray. We either stop our continual slide into corporatism, or our societies will fall.
  • Previous
  • 1
  • …
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • …
  • 821
  • Next

Recent Posts

  • [TUT] LoRa & LoRaWAN – MikroTik wAP LR8 kit mit The Things Network verbinden [4K | DE]
  • Mercado aguarda Powell e olha Trump, dados e Haddad | MINUTO TOURO DE OURO – 11/02/25
  • Dan Levy Gets Candid About Learning How To Act Differently After Schitt’s Creek: ‘It’s Physically…
  • Building a Rock Shelter & Overnight Stay in Heavy Snow 🏕️⛰️
  • Les milliardaires Elon Musk et Xavier Niel s’insultent copieusement

Categories

  • Android
  • Linux
  • News
  • Open Source
©2025 Open World News | Powered by Superb Themes
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT