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

Matt Glaman: Trimming whitespace from Drupal form submissions using an HTTP middleware

Posted on January 11, 2023 by Michael G

Leading and trailing whitespaces. The bane of normalized data everywhere. It seems like a constant task that needs to be performed on incoming user data. When working with Laravel, I use the TrimStrings middleware. Calls PHP’s built-in trim function on all string values for the request query and input values – including JSON! While working on my project WhiskeyDex, I noticed how mobile device keyboards always add trailing whitespace when using the autocomplete functionality. This, in turn, meant user-created data will end up with trailing whitespaces. I started to just quick-fix in the single instance and realized it should be solved once and for all.

Advanced CLI tools with Ruby and dry-cli! | Hanami Mastery #37

Posted on January 11, 2023 by Michael G
Utility scripts in Ruby can be very powerful, but also very messy. In this episode I showcase dry-cli, to help you maintain advanced ruby CLI progarms.

Python 3.12.0 alpha 4 released

Posted on January 11, 2023 by Michael G

I’m pleased to announce the release of Python 3.12 alpha 4.

https://www.python.org/downloads/release/python-3120a4/

This is an early developer preview of Python 3.12.

Major new features of the 3.12 series, compared to 3.11

Python 3.12 is still in development. This release, 3.12.0a4 is the fourth of seven planned alpha releases.
Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release process.
During the alpha phase, features may be added up until the start of the beta phase (2023-05-08) and, if necessary, may be modified or deleted up until the release candidate phase (2023-07-31). Please keep in mind that this is a preview release and its use is not recommended for production environments.
Many new features for Python 3.12 are still being planned and written. Among the new major new features and changes so far:
  • Even more improved error messages. More exceptions potentially caused by typos now make suggestions to the user.
  • Support for the Linux perf profiler to report Python function names in traces.
  • The deprecated wstr and wstr_length members of the C implementation of unicode objects were removed, per PEP 623.
  • In the unittest module, a number of long deprecated methods and classes were removed. (They had been deprecated since Python 3.1 or 3.2).
  • The deprecated smtpd and distutils modules have been removed (see PEP 594 and PEP 632). The setuptools package (installed by default in virtualenvs and many other places) continues to provide the distutils module.
  • A number of other old, broken and deprecated functions, classes and methods have been removed.
  • (Hey, fellow core developer, if a feature you find important is missing from this list, let Thomas know.)
For more details on the changes in Python 3.12, see What’s New In Python 3.12. The next pre-release of Python 3.12 will be 3.12.0a4, currently scheduled for 2023-02-06.

More resources

  • Online Documentation
  • PEP 693, the 3.12 Release Schedule
  • Report bugs at https://github.com/python/cpython/issues.
  • Help fund Python and its community.

And now for something completely different

Two haikus apt, as Python’s development springs ever forward.
I write, erase, rewrite
Erase again, and then
A poppy blooms.
Haiku by Katsushika Hokusai.
O snail
Climb Mount Fuji,
But slowly, slowly!
Haiku by Kobayashi Issa.

Enjoy the new releases

Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organization contributions to the Python Software Foundation.
https://www.python.org/psf/
Your release team,
Thomas Wouters
Ned Deily
Steve Dower

retguard for amd64 system calls

Posted on January 11, 2023 by Michael G

Todd Mortimer (mortimer@) has
committed
(to -current)
retguard
for amd64 system calls:

CVSROOT:	/cvs
Module name:	src
Changes by:	mortimer@cvs.openbsd.org	2023/01/10 18:55:18

Modified files:
	lib/libc/arch/amd64: SYS.h 
	lib/libc/arch/amd64/sys: Ovfork.S brk.S sbrk.S sigpending.S 
	                         sigprocmask.S sigsuspend.S 
	                         tfork_thread.S 
	libexec/ld.so/amd64: SYS.h 

Log message:
Add retguard to amd64 syscalls.

Since we got rid of padded syscalls we have enough registers to do this.

ok deraadt@ ok kettenis@

Read more…

Linux SLUB Allocator Internals and Debugging – KASan, Part 3 of 4

Posted on January 11, 2023 by Michael G

Linux SLUB Allocator Internals and Debugging – KASan, Part 3 of 4Third article in a series on Linux SLUB Click to Read More at Oracle Linux Kernel Development

The post Linux SLUB Allocator Internals and Debugging – KASan, Part 3 of 4 appeared first on Linux.com.

Windows 7 and Windows 8.1 reach the end of the line

Posted on January 11, 2023 by Michael G
Ars reports: It’s the end of the line for Windows 7 and Windows 8.1. These older versions of Windows (plus Windows RT) stop receiving all security updates today, over a decade after their original releases. Microsoft will also stop providing Microsoft Edge browser updates for these operating systems in a few days, and the remaining third-party apps that still work will eventually follow suit (Google Chrome support, most notably, ends early next month). Windows 7 support for most people actually ended three years ago, but businesses that still used it could pay for up to three years of additional support while they transitioned to Windows 10 or 11. That window has now closed, and Microsoft isn’t offering a paid support option for Windows 8.1. Run an unspported operating system, or invite more ads and spyware. Tough call.

देखिए Google Boy की फैक्‍ट्री,पहली कक्षा का बच्‍चा भी बता देता है भगवान राम की 40 पीढ़ियों तक के नाम

Posted on January 10, 2023 by Michael G

Video by via Dailymotion Source छत्‍तीसगढ़ के दुर्ग शहर के आदित्‍य नगर में स्थित सूर्यपथ फाउंडेशन गणित माध्‍यम का अपने आप में एक अनूठा विद्यालय है। यहां के बच्‍चों को चलता-फिरता गूगल बॉय कहा जा सकता है। Go to Source

They ARE Still HERE Floundering Around Galveston

Posted on January 10, 2023 by Michael G

Video by via Dailymotion Source Kayak fishing for red drum and flounder near Galveston, Texas. A full moon, a strong outgoing tide, a lot of water movement, and excellent fishing conditions.Featured https://studio.youtube.com/channel/UCTTsEVHVtz0Y1iIkuXlBSuw fishing,best fishing,fishing videos,amazing fishing,hook fishing,best fishing video,fishing video,catfish fishing,best,girl fishing,best fishing fails,best hook fishing,best video fishing,abdul sami fishing,unique fishing,bass fishing,best fishing knot,best fishing…

Pagtatakda ng oras ng surge rate, apela ng isang grupo para sa commuters | 24 Oras

Posted on January 10, 2023 by Michael G

Video by via Dailymotion Source 24 Oras is GMA Network’s flagship newscast, anchored by Mike Enriquez, Mel Tiangco and Vicky Morales. It airs on GMA-7 Mondays to Fridays at 6:30 PM (PHL Time) and on weekends at 6:00 PM. For more videos from 24 Oras, visit http://www.gmanetwork.com/24oras. News updates on COVID-19 (coronavirus disease 2019) and…

Versys-X Adventure | A breath taking view from Tsagaralona of Evritania in Greece.

Posted on January 10, 2023 by Michael G

Video by via Dailymotion Source Versys-X Adventure | A breath taking view from Tsagaralona of Evritania in Greece. I just ride my Kawasaki Versys-Χ Αdventure akrapovic edition full extra and I show to you the beauties of Greece. Characteristics: Versys X 300 Adventure full extra, with Puig wind screen, DNA performance air filter, Akrapovic Exhaust,…

  • Previous
  • 1
  • …
  • 1,243
  • 1,244
  • 1,245
  • 1,246
  • 1,247
  • 1,248
  • 1,249
  • …
  • 1,531
  • Next

Recent Posts

  • SmartEsq has launched an AI-powered MFN Election tool
  • Open Source email Clients
  • When and how to use benchmarking
  • How Plotly AI revolutionizes the dashboard development process
  • [TUT] LoRa & LoRaWAN – MikroTik wAP LR8 kit mit The Things Network verbinden [4K | DE]

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