I AM LISTENING TO
|
WAS ICH LIEBE
  • Englisch
  • Deutsch


BLOG FILTER



What is Bookstack

BookStack is an open-source, web-based platform for organizing, storing, and sharing knowledge and documentation. It was developed to provide a user-friendly and intuitive interface for creating and managing knowledge bases, wikis, and other types of structured content.

BookStack allows users to create books, chapters, and pages, and to organize them hierarchically. Users can also add images, files, and links to their content, and collaborate with others by assigning roles and permissions. BookStack also supports full-text search, version control, and commenting, making it easy to find and update information.

BookStack is written in PHP and uses the Laravel framework, and it is available for free under the MIT License.

What are you using it for?

This is my internal homelab documentation system, I use it for private and client related content. Bookstack is fast, clean and well documented. It has really elevated the way I store and access important reminders / how-tos and documentation.

The system provides API access and has many ways to tweak it. Bookstack documentation.

Why display CSV files?

CSV stands for „Comma-Separated Values“. It is a simple file format used to store tabular data, such as spreadsheets or databases, in plain text. In a CSV file, each line represents a row of data, and each column is separated by a comma (or sometimes a semicolon or tab).

There are always CSV exports or other data stored in CSV format, that i need quick access to sometimes.

Bookstack allows to add files to pages and insert links to them, but it does not embed or parse those files in any way. There are similar hacks to mine, this example allows to embed PDFs and here the main Hacks page.

Lets get started!

We need something to parse the CSV file and something to display the information in a nice visual & flexible grid.

  1. I am choosing Papa Parse for the CSV parsing, wrote about it a long time ago and still using it actively for many projects.

    Papaparse can handle CSV files with different delimiters, encodings, and line endings, and can also handle complex data formats, such as quoted values, escaped characters, and multi-line cells. The library is widely used in web applications, data analysis tools, and other software that deal with CSV data.
  2. Grid.js is my library of choice to display the parsed information in a nice grid.

    Grid.js is a modern and open-source JavaScript library for building responsive and customizable data tables in web applications.

    It provides a simple and intuitive API for creating, styling, and populating tables with data from various sources, including JSON, CSV, and Excel files.

    Grid.js supports features such as sorting, filtering, pagination, column resizing, and cell formatting, as well as advanced features such as tree grids, custom renderers, and editable cells. The library also includes built-in plugins for exporting data to different formats, such as CSV, Excel, and PDF.

Include the file in Bookstack

Included and linked CSV files look something like that in source.

Tweak the header

The settings allow you to add custom code to your instance. Another option would be to tweak template files, but its easier to do these light tweaks using the header customizer.

This can be found under: https://bookstack.instance/settings/customization

Add required libs

Either link them externally or better use locally stored versions of these.

Papa Parse
Grid.JS

Find CSV links in the page and append to link

  1. This searches the page_content for elements that have „.csv“ in their textContent.
  2. Gets textContent and the href of the link.
  3. The link is passed to Papa Parse for processing.
  4. On completion the data result is split into the header row and the rest.
  5. That data is passed to Grid.JS and added to a container element after the link.
    Grid.JS provides a ton of configuration options, I added the most common as a starting point. This includes different ways to style the grid.

Github: Will be adding more hacks, as I clean some of them up :)

A bonus

You can use the title attribute to pass some config data, in JSON format. Currently only to strip columns, but will extend that a bit more for flexible usage ;)

portalZINE NMN | Development meets Creativity | json grid js

The result

Should look something like that …

portalZINE NMN | Development meets Creativity |

Enjoy coding …

readmore

EAT what does that stand for?

In SEO (Search Engine Optimization), there is a concept called „E-A-T“ which stands for „Expertise, Authoritativeness, and Trustworthiness“.

Google uses E-A-T as one of its many ranking factors to evaluate the quality of content on the web. Websites that consistently produce high-quality content that meets the E-A-T criteria are more likely to rank well in search engine results pages (SERPs).

  1. Expertise: Refers to the level of knowledge, skill, and experience demonstrated by the content creator. Google looks for content that demonstrates a high degree of expertise in the relevant subject matter.
  2. Authoritativeness: Refers to the reputation and authority of the content creator or the website publishing the content. Google looks for content created by individuals or organizations with a strong reputation or authority in the relevant field.
  3. Trustworthiness: Refers to the level of trust users have in the content creator or website publishing the content. Google looks for content that is transparent, accurate, and free from any misleading or deceptive information.

E-A-T is not a specific algorithm or ranking factor that Google uses, but rather a framework or set of guidelines that Google’s quality raters use to evaluate the quality of content on the web. These quality raters assess the content using E-A-T as a benchmark, and their feedback helps Google improve its search algorithms.

It is especially important for content that falls under the category of YMYL (Your Money or Your Life), which includes content related to health, finance, legal, and other topics that can impact people’s well-being or financial stability. Google holds this type of content to a higher standard because inaccurate or misleading information can have serious consequences.

Building E-A-T for your website or content involves a multi-faceted approach that includes creating high-quality, informative, and engaging content, establishing your expertise and authority in your field, and building trust with your audience through transparency and honesty.

Some specific actions you can take to improve your website’s E-A-T include showcasing the expertise of your content creators, publishing authoritative and accurate content, providing clear and transparent information about your business, and building a positive online reputation through reviews, testimonials, and other forms of social proof.

It’s important to note that E-A-T is just one of many factors that Google uses to determine search rankings, and it’s not the only factor. Other factors that can influence search rankings include content relevance, website speed and performance, user experience, and backlinks.

So what is EEAT than ?

Just another E, for Experience. 2023 Google wants to see that a content creator has first-hand, real-world experience with the topic discussed. Which means that content and there creators are becoming far more entwined. Further pushing the trend for authoritative quality content for audiences.

  1. Author experience is a key factor in determining the expertise and authority of a website’s content. Google evaluates the author’s credentials, education, experience, and overall reputation to determine whether they are qualified to write about a particular topic.
  2. Google looks for signals that indicate the author has a high level of expertise in their field, such as relevant education, professional certifications, industry awards, or other forms of recognition.
  3. Author experience can also be demonstrated through the author’s online presence and activity. For example, if the author has published articles in reputable publications or has a strong social media following, this can signal to Google that they have a strong online reputation and are respected in their field.
  4. Building author experience involves investing in the development of your content creators and encouraging them to build their online reputations. This can include providing opportunities for training, networking, and professional development, as well as encouraging them to build their personal brands through activities like blogging, speaking at conferences, and participating in online communities.
  5. One effective way to build author experience is to showcase the author’s credentials and expertise on the website. This can include author bios, headshots, and information about their educational and professional background.

So back to a solid author bios, detailed author pages and all relevant links that detail an authors expertise. Thank you! Search is really shifting and things are changing rapidly. Real content is queen or king again :)

Enjoy coding …

readmore

What is Übersicht?

„Übersicht“ is a German word that means „overview“ or „summary“ in English. The name of the software was chosen because it allows users to have a quick overview of various information on their desktop. It’s also a play on words, because in German the name of the software can be translated as „super sight“ which refers to the ability to have a lot of information at a glance.

Übersicht is a lightweight and powerful application that allows users to create and customize desktop widgets using web technologies such as HTML, CSS, and JavaScript. With Übersicht, you can create widgets that display information such as the weather, calendar events, system resource usage, and more. The widgets can be customized to display the information in any format and can be positioned anywhere on the desktop, allowing you to create a personalized and efficient workspace.

Übersicht widgets are created using a simple and user-friendly interface that allows you to preview and edit the widget’s code. The widgets are also highly customizable, allowing you to change the appearance and behavior of the widgets to suit your needs. Additionally, Übersicht widgets can be shared with other users, and there are a variety of widgets available for download from the developer’s website.

The application is open-source and free to use, and it’s also lightweight, it won’t affect your computer performance. Overall, Übersicht is a powerful and versatile tool for creating custom desktop widgets on macOS.

Custom Desktop Widgets / MenuBar Enhancements

There are several other tools similar to Übersicht that allow you to create custom desktop widgets. Some of the most popular alternatives include:

  1. Geektool (Mac): is a powerful and flexible tool for creating custom desktop widgets on macOS. It allows you to display information such as the weather, calendar events, system resource usage, and more.
    I used it for a while, but never really got into it any deeper. It has been a resource hog for some as well.
  2. xbar (Mac): is an open-source tool that  lets you put the output from any script/program in your macOS menu bar. This is a complete rewrite of BitBar in Go.
    This will also make into my workflow :)
  3. SwiftBar :Add custom menu bar programs on macOS in three easy steps: Write a shell script.Add it to SwiftBar … there is no 3rd step!
  4. Conky (Mac / Limnux) is a free, light-weight system monitor for X, that displays any kind of information on your desktop. It can also run on macOS, output to your console, a file, or even HTTP.
  5. Hologram Desktop (Mac / Free / InAppPurchases)
  6. WidgetWall (Mac / Paid) : Looks nice, but too limited for me.
  7. Beaconly (Mac / Free / InAppPurchases ): Beaconly is a flexible, easy to use data aggregating menu app that ties relevant information to you, beautifully one click-away in your macOs menu bar.
  8. Rainmeter: is a Windows-only tool similar to Übersicht. It allows users to create custom desktop widgets using a variety of pre-built skins or by creating your own skins using HTML, CSS, and JavaScript.
    This is the goto solution for any Windows user!

What are you using these for?

With many external systems in play, its always crucial to keep an eye on things. I have build nice dashboards, using Grafana, InfluxDB, NetData and Prometheus. But they are either displayed in a browser window or on a separate screen.

If you have 2 / 3 monitors or an ultra-wide screen, you have a lot of Desktop real-estate you can use.

That is something that I have been looking at for years, but only tried for a short period of time. This year I want to really build out desktop and menu widgets , that help me to get an even better overview of things and help reduce repetitive tasks.

I will share links to things I like and share access to the widgets I build myself or tweaked.

Übersicht – desktop widgets / working & planned

These are the current things that are in progress or planned.

  1. RSS Widget: This allows me to easily fetch the latest news from the websites I visit multiple times each day.
    You can already find a first version of the widget on Github, forked from Eric Dasque.

    I have two widgets currently setup on the left and right of my ultra-wide screen. Gathering information from all my Youtube subscriptions, tech websites and news outlets.

    Its using Go for the command line and i rewrote parts to make it completely template-based to allow flexible output variations.
    I have some other ideas, but those will make it into future versions. This is still based of the Classic widget architecture, but I also plan to move it to the JSX architecture.
  2. Weather widget for Openweather: Straight forward Openweather widget forked from Li Xueli. Displays the current weather and allows to expand to show the next 7 days.
    This is build on the new JSX architecture of Übersicht. I did a couple of tweaks and removed the geo-location. Changes will be shared soon.
  3. Fancy Clock / Date / Week
    I have a basic version working.
  4. Email: Building a widget that combines IMAP, Gmail and local Mail.
    I have a basic version working.
  5. Asana: Pull latest tasks.
    A basic version is already working.
  6. Grafana: Dashboard integration
  7. Netdata
  8. Glances
  9. Uptime Monitoring: Uptime Kuma / UptimeRobot / Statping
  10. Cloudflare: Stats
  11. MQTT / Node-Red / N8N

xbar – Extend Menu Bar / working & planned

Nothing to share yet ….

readmore
11. Januar 2023

Top Productivity Tools 2023

Productivity tools are software applications that help individuals and teams to manage their time and tasks more effectively. These tools can range from simple time tracking and task management apps to more advanced project management software.

The goal of productivity tools is to increase efficiency, organization, and accountability, allowing users to accomplish more in less time. They can be used for a variety of purposes, such as scheduling meetings, setting reminders, tracking progress, and delegating tasks. With the right productivity tools, individuals and teams can streamline their workflows, increase their productivity, and achieve their goals more easily.

I always use the first week of the year to evaluate my tools, workflows and software. I try to switch as little as possible within every 6 months, as I can not afford any downtime during my projects. This is the first year, that I am sharing a mostly complete list of things I use. Might be interesting for some of you.

Update: Not completely done yet, but close :)

Project / Task Management & Research

  1. Asana
    „Asana is a web and mobile application designed for team collaboration and project management. It allows users to organize tasks, projects, and conversations in one place, and it offers a range of features, such as the ability to assign tasks, set deadlines, and track progress. It is designed to help teams collaborate more efficiently and effectively. Asana is a freemium service, with paid plans that offer additional features and integrations.“

    Asana has been my go-to tool for the past years to organise my internal and client projects.
    Helps to keep me and my clients informed about upcoming tasks and tasks closed. Also enjoying the REST-API, as it allows me to connect to many of my other tools.

    I had a couple of clients that were skeptical about it, but many use it for themselves as well now.
  2. Kimai – Time Tracking
    Kimai is an open-source time-tracking software. It is a web-based application that allows users to track and organise their time, and to generate reports on their activity.

    Kimai has been one of the first things, that I setup on my Homelab Server. Will talk more about my Homelab setup later …

    Its always difficult to grasp how much time projects take, especially when you are not doing generic projects.

    Kimai helped me to track certain tasks over the years and help me to optimise my internal hourly requirements per task and costs per task / milestone in the end. Nothing will ever make time-tracking and cost calculation rock solid, but it helps to at least lessen some of the pain ;)

    I also used to testdrive ActivityWatch, which has automatic watchers for different tools you use. Nice, but too involved for me.

    Kimai has a REST-API to easily access data from other tools in my stack. I have a tightly knit set of tools for all my workflows.

    Some of the features of Kimai include:
    • Time tracking, with the ability to start and stop timers, and to manually enter time worked
    • Support for multiple projects and tasks
    • Reporting, with the ability to generate various types of reports, including a detailed project report
    • Invoicing, for billing clients for the time worked on their projects
    • User management and permissions, allowing for multiple users and different levels of access to the application
    • Multi language support
    • Integration with other tools as invoicing, project management, and more.

  3. Devonthink
    is a personal information management and research application for macOS, iPadOS and Windows. It helps individuals and teams to organize, classify and discover their files, bookmarks, emails, notes and more. It uses machine learning, natural language processing, and other advanced technologies to help users find and organize the information they need, and provides powerful tools for researching, writing, and data management.

    Additionally, DEVONthink provides integration with other applications such as TextExpander, and Hazel, feature for file encryption, backup, and syncing. It can also be used to store and organize PDFs, images, and other documents, and it can be used to create and manage databases, to-do lists, and other types of information.

Project Development Tools

IDE

  1. Adobe Dreamweaver
    I know :) Tried to switch multiple times and always came back to it. I know where everything is and have not been asking for anything more in the past ;) But I am also trying to slowly phase out my Adobe subscription and switch to comparable tools without a subscription model!
    I used PHPStorm for a while, but never really switched completely. Not a big fan of the underlying Java architecture.
  2. Nova
    CSS, Diff, EJS, ERB, HTML, INI, JavaScript, JSON, JSX, Less, Lua, Markdown, Perl, PHP, Python, Regex, Ruby, Sass, SCSS, Shell Script, SQL, Tree-sitter Query, TSX, TypeScript, XML, and YAML.

    Trying Nova right now, which might be my next IDE!

PROJECT PROTOTYPING

Pretty flexible, when it comes to these tools. I am working with different agencies and customers, some prefer Adobe XD and some Figma.

  1. Adobe XD
    (Experience Design) is a user experience design software developed and published by Adobe Systems. It is used for designing and prototyping user interfaces for mobile and web applications. It provides a set of tools for designing and prototyping user interfaces, including vector-based drawing tools, prototyping tools, and design resources such as pre-built UI elements, icons, and typefaces.

    Adobe XD has built-in support for creating responsive designs, by allowing designers to create multiple artboards of different sizes, layouts, and orientations, in order to visualize their designs across a variety of devices and screen sizes.
  2. Figma
    Figma is a cloud-based interface design and prototyping tool that allows designers to create, collaborate on, and share user interface designs. It is focused on providing a real-time collaborative design experience, making it easy for multiple people to work on the same design at the same time.

MARKUP TOOLS

  1. MarkText
    A simple and elegant open-source markdown editor that focused on speed and usability.

LOCAL TOOLS

I am a Mac and Linux guy. Windows only exists virtualised in my work environment ;)

  1. Homebrew
    The Missing Package Manager for macOS (or Linux).
    Allows you to get almost anything to run locally. Quickly install Go, specific Python or PHP versions.
    Works perfectly on ARM by now. Still remember switching between ARM and x86 architecture / machines for some tools in the past.

CROSS PLATTFORM DEVELOPMENT

  1. XOJO
    Not very mainstream, but has been in my toolbox for the past 20 years. Currently testdriving the Android Beta and developing an Android App with it. Has its limitation, but will allow to easily switch to iOS next.

    „Xojo (previously known as REALbasic) is a software development tool that allows developers to create cross-platform desktop, web, and mobile applications. It is a high-level programming language and integrated development environment (IDE) that provides an easy-to-use interface for creating applications for various platforms, including macOS, Windows, Linux, iOS, and the web. Xojo uses a drag-and-drop interface for creating user interfaces and provides a wide range of tools for developing, debugging, and deploying applications.“
  2. IONIC
    Mostly internal concepts and prototypes. I know my way around it and keep myself uptodate.

    „Ionic is a free and open-source framework for building cross-platform mobile applications using web technologies such as HTML, CSS, and JavaScript. It allows developers to use their web development skills to build apps for iOS, Android, and the web (progressive web apps) all with a single codebase.

    Ionic is built on top of Angular (a JavaScript framework for building web applications) and Apache Cordova (a platform for building native mobile apps using web technologies) and provides a set of pre-built UI components and tools for building mobile apps with a native-like feel. It also allows developers to use popular JavaScript libraries such as Angular, React, and Vue.js to build apps.

    Additionally, Ionic also provides a command-line interface(CLI) to help developers quickly start new projects, build and test their apps on devices and simulators, and deploy their apps to app stores.“
  3. FlutterFlow
    Also looking at FlutterFlow currently for some quick prototyping.

    FlutterFlow is a website and app building platform that allows users to create mobile and web applications without writing code. It uses a drag-and-drop interface and a visual editor to make it easy for users to design and build their applications. With FlutterFlow, users can create custom layouts, add features like forms, galleries, and e-commerce functionality, and connect to external APIs and services. It also includes a set of pre-built templates and components that can be easily customized to fit the needs of the user. Additionally, it also provides hosting, analytics and can be integrated with Firebase for mobile app development.

BROWSER & APP TESTING

  1. LamdaTest
    Lambdatest is a cloud-based, cross-browser testing platform that allows users to test their web applications across a wide range of browsers, operating systems, and devices. It is designed to make it easy for developers and testers to run automated and manual tests on a scalable, pay-as-you-go infrastructure. The platform uses real browsers and virtual machines to simulate different environments, and it can also be integrated with popular testing frameworks and Continuous Integration (CI) tools.

API TESTING

  1. RapidAPI (former Paw)
    RapidAPI for Mac is a full-featured HTTP client that lets you test and describe the APIs you build or consume. It has a beautiful native macOS interface to compose requests, inspect server responses, generate client code and export API definitions.

ERROR TRACKING

  1. Glitchtip (Self hosted + Sentry compliant)
    An open-source error tracking software that helps developers identify and fix issues with their applications. It allows developers to monitor and detect errors in real-time and provides detailed information about the error, such as a stack trace, context, and user information.

    This information helps developers to quickly identify the root cause of an error and fix it. It can be integrated with various development platforms and languages such as python, java, javascript, c# and many more.

    Glitchtip provides a variety of features to help developers and teams manage errors, including:
    -Real-time notifications of new errors
    -Automated workflows to triage and assign errors
    -Support for grouping similar errors together for easy analysis

    This has been one of the biggest pains to setup myself in docker, but works like a charm now :)

TRANSLATION

  1. PoEdit Mac App
    Poedit provides translators and developers with a powerful and intuitive editor for gettext. It helps save time on mundane translation tasks with a lightweight and easy-to-use interface and smart features like pre-translation and machine translation.
  2. Weblate / Selfhosted in Docker
    „Web-based continuous localization. Hosted service and standalone tool with tight version control integration. Simple and clean user interface, propagation of translations across components, quality checks and automatic linking to source files.“

VERSIONING

  1. BitBucket / SVN
    Use this for all my private repositories.
  2. Github / Git
    Some public, some private repositories. These are mostly hobby related …
  3. Homelab Git & SVN repositories
    Use this for projects, documents and other things I like to keep versioned

sFTP / SSH / TERMINAL

  1. Transmit / sFtp
  2. iTerm2 SSH & Terminal

COMPILER / BUNDLER

  1. GULP
    „Leverage gulp and the flexibility of JavaScript to automate slow, repetitive workflows and compose them into efficient build pipelines.“

    This tool has been around for ages and is still my tool of choice for many tasks. I am keeping a preconfigured setup updated, so that I can easily reuse it when needed. There are some nice extensions available, like gulp notify, gulp fancy-log and vinyl-ftp.

    I started with Webpack for some projects, but some things are still a lot easier to handle with gulp. Currently also looking at PARCEL, which has gained traction and is well supported.
  2. CodeKit
    Compile Sass, Less, Stylus, CSS, CoffeeScript, Pug, Slim, Haml, TypeScript, JavaScript, ES6, Markdown, JSON, SVG, PNG, GIF and JPEG right out of the box.

    Easy and fast to use, especially for smaller projects ;)

DATABASE

  1. Navicat
    „Navicat Premium is a multi-connection database development tool which allows you to connect several types of databases within a single application: MySQL, MariaDB, MongoDB, SQL Server, SQLite, Oracle and PostgreSQL, create a quick and easy access to all your databases all at once.“

IMAGE PROCESSING / DESIGN

Again trying to free myself from the Adobe subscription model. Might be the last year and than I can finally transition away ;)

  1. Affinity Photo
  2. Adobe Photoshop

VECTOR DESIGN

Love to switch it up and again be flexible when it comes to customer preferences ;)

  1. Sketch
    Love the eco-system around it. Artboards are quick to navigate and you can quickly export assets in the right format.
  2. Affinity Designer
  3. Adobe Illustrator

ANIMATION

  1. Keyshape for 2D and Lottie Animations
    KeyShape is a vector animation software for Mac and Windows that allows designers and developers to create animations for the web, mobile apps and other platforms with a vector graphics editor. It’s an easy to use tool with a familiar design interface, that is built on top of industry standards such as SVG (Scalable Vector Graphics) and CSS, making it easy to create animations that are lightweight, scalable and perform well on various devices.

    KeyShape was created with web designers and developers in mind, it is a great tool for creating animations that are optimized for the web and for adding interactive animations to mobile apps, It also allows for easy integration with other software and programming languages, like web development frameworks, it makes it a popular choice for adding interactive animations and effects to websites and apps.
  2. Adobe Animate / After Effects

Project Communication

  1. Slack
    Slack is designed to simplify and streamline communication within teams, making it easier for team members to share information, collaborate on projects, and stay on the same page. It can be used by small and big teams, for different purposes and industries, and it’s accessible via different devices and platforms.

    Used it far more in the past, but many of the things are centralised in Asana, other Homelab or external tools now. Still using Slack to centralize notifications.

    It’s a cloud-based platform that allows teams to communicate and work together in real-time, by providing a range of tools and features such as:
    • Instant messaging and chat, with support for direct messages and group conversations
    • Channels, which are dedicated chat rooms for specific topics, projects, or teams
    • File sharing, allowing users to easily share and collaborate on documents, images, and other files
    • Integrations, which allows Slack to connect with a wide variety of other tools and services, such as Google Drive, Trello, and Asana
    • Mobile apps, which allow users to stay connected and collaborate from anywhere
    • Search, that allows to look for previous conversations, files, etc.
    • Voice and video calls

Programming Languages

I am always staying busy, when it comes to programming languages. Have my side projects, that keep me exploring new stuff. My current top 8 ;)

  1. PHP
  2. Javascript / Node.JS / React Native
  3. Ansible / Shell Scripting
  4. Go / Golang
  5. Python
  6. Xojo (Realbasic) Desktop / Mobile / Console
  7. Swift
  8. C++

Homelab Tools

„A homelab is a personal laboratory or workspace that is set up in a person’s home, typically for the purpose of experimenting with and learning about various technology or IT related topics. This can include things like building and configuring servers, experimenting with different operating systems and software, and learning about network and security concepts.“

I started my Homelab 2020 to allow more flexible workflows, to play with Docker setups, lower costs for external services and have full access to any server tool when ever needed. Allows me to quickly mirror customer setups or simulate possible upgrade paths. Quite addictive once you start building your own server. And the things you learn, can be easily replicated to remote servers, which I just did last year. I am starting to move services from a long-time static server to a scalable docker based foundation.

Will follow up on this section soon ….

Enjoy coding ….

readmore

„Git is a DevOps tool used for source code management. It is a free and open-source version control system used to handle small to very large projects efficiently. Git is used to tracking changes in the source code, enabling multiple developers to work together on non-linear development.“

Many use Github to host remote Git repositories, but you can use other hosts like: BitBucket, Gitlab, Google Cloud Source Repositories …. You can also host your own repository on your local NAS or remote server.

Will use this article for common problems I encoutered and possible solutions.

GIT PUSH FAILS (Mac M1)

Push failed in Github Desktop and using Push from the command-line. The best bet is to experiment with different git config options.

The core.compression 4 worked for me and the push went through nicely.

Other config option that can be tweaked are

Read more about them here

readmore

Transition

jQuery has provided easy access to complicated core Javascript solutions in the past and has been shielding us from difficult workarounds for legacy browsers. But times have changed and many of those things can be done as easily using Javascript directly.

jQuery is a fast, small, and feature-rich JavaScript library. It makes interactions with HTML documents easy, and is widely used in web development to add features to web pages and to simplify the process of writing JavaScript. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript.

5 reasons, why you might want to stop using jQuery!

  1. jQuery is a large library, and loading it can add a significant amount of time to the page load time of your website. If your website doesn’t use many of the features provided by jQuery, it may be more efficient to use smaller, specialized libraries or to write your own code.
  2. Some developers prefer to use modern JavaScript features like classes and modules instead of the functional programming style used by jQuery.
  3. As web development has evolved, many of the tasks that jQuery was commonly used for can now be accomplished with vanilla JavaScript, which is plain JavaScript that does not use any additional libraries.
  4. Using jQuery can make it more difficult for other developers to understand and maintain your code, especially if they are not familiar with the library.
  5. In some cases, jQuery may not work as expected with certain versions of modern browsers, or it may not be optimized for mobile devices.

That being said, jQuery is still a popular and widely used library, and there are many valid reasons to continue using it. It is ultimately up to you to decide whether the benefits of using jQuery outweigh the potential drawbacks in your particular situation.

Benefits to using pure JavaScript

  1. Improved performance: Pure JavaScript code is generally faster than code that uses libraries, because it does not have the overhead of loading and interpreting the library.
  2. Smaller file size: Pure JavaScript code is generally smaller in file size than code that uses libraries, because it does not include the library code. This can result in faster loading times for your website or application.
  3. More flexibility: With pure JavaScript, you have complete control over the code, and you can customize it to fit your specific needs.
  4. Better understanding and control: By writing your own JavaScript code, you can gain a better understanding of how it works and how to troubleshoot any issues that may arise.
  5. Improved compatibility: Pure JavaScript code is more likely to work across different platforms and devices, because it does not depend on a specific library or framework.
  6. Easier maintenance: Pure JavaScript code is generally easier to maintain than code that uses libraries, because it does not require updating or maintaining the library code.

„You might not need jQuery“

Easily search and compare direct Javascript solutions to jQuery ….

How jQuery does it:

Pure Javascript:

Link

or use UmbrellaJS

UmbrellaJS is a lightweight JavaScript library that provides a number of utility functions and features for working with DOM elements and handling events. It was designed to be small, fast, and easy to use, and it does not have any dependencies on other libraries.

Some of the features provided by UmbrellaJS include:

  • Easy element selection and manipulation using CSS-style selectors
  • Support for chaining multiple function calls on the same element
  • A simple event system for handling events on elements
  • Utility functions for working with arrays, objects, and strings
  • Functions for handling AJAX requests and working with JSON data

UmbrellaJS is a good choice for developers who want a simple, lightweight library for working with DOM elements and handling events. It is especially well-suited for smaller projects or for developers who want to avoid the overhead of larger libraries like jQuery.

Selector demos:

Documentation
Migrate from jQuery

HTMX might be another way …

HTMX (HTML enhanced for asynchronous communication and XML) is a JavaScript library that allows you to add asynchronous communication and other interactive features to your web pages using HTML attributes and elements. It allows you to make AJAX (Asynchronous JavaScript and XML) requests and handle responses directly in your HTML, without the need for writing any JavaScript code.

HTMX works by intercepting events on HTML elements and making asynchronous requests based on the attributes you specify. For example, you can use the hx-get attribute to make a GET request to a specified URL, and use the hx-trigger attribute to specify an event that should trigger the request. You can also use the hx-target attribute to specify an element on the page where the response should be inserted.

Here’s an example of how you might use HTMX to make a GET request and insert the response into a div element:

When the button is clicked, HTMX will make a GET request to /some/url and insert the response into the div element with the id of target.

HTMX is designed to be easy to use and flexible, and it can be used to add a wide range of interactive features to your web pages.

I am currently using HTMX in one of my longterm projects and will be talking about it more in a separate article in the future !

HTMX Reference / Documentation


It is ultimately up to you to decide which approach is best for your particular project. Sometimes a combination is needed ;)

Enjoy coding…

readmore

THE PREMISE

A fullstack developer is a software engineer who has expertise in all layers of a web application’s stack. This includes both the frontend, which is the user-facing part of the application, and the backend, which is the server-side portion of the application.

THE ROAD TO …

To become a fullstack developer, one must have a solid understanding of a wide range of technologies. This includes proficiency in at least one programming language, such as JavaScript or Python, as well as knowledge of databases, server infrastructure, and web development frameworks.

One of the key benefits of being a fullstack developer is that they can work on any part of a web application, from the design and user experience to the underlying server-side logic. This means that they can take on a wide range of roles and responsibilities, from designing the user interface to implementing complex business logic.

Fullstack developers are also in high demand, as the skills they possess are highly sought-after in the job market. This is because companies are increasingly looking for engineers who can work on both the frontend and backend of their web applications, rather than hiring separate teams for each layer of the stack.

In addition to their technical skills, fullstack developers must also have strong problem-solving and communication skills. This is because they often work on teams and need to be able to collaborate effectively with other developers, as well as communicate their ideas to non-technical stakeholders.

NEVER GETS BORING

Overall, being a fullstack developer is a challenging but rewarding career path. It requires a diverse set of skills and the ability to adapt to new technologies, but the rewards include the opportunity to work on a wide range of projects and the satisfaction of seeing your work come to life in the form of a web application.

Enjoy coding …

readmore

Facebook sucks …. and now how to solve saving pages connected to a gray account! Might not work for everyone, but it solved it for me.

What are Gray accounts?

„A gray account is an account used to log into Facebook that is not associated with a personal profile or account. People used to be able to manage their Pages with gray accounts before we required individuals to have a personal Profile in order to create, manage, or run ads on a Page.“ – Facebook Help

The starting point and problems!

Normally it should be easy to transfer a page to a new administration account. Right? RIGHT!

My customers page was on the new profile page layout, that was introduced a while back. So normally you should go to the Page -> Professional Dashboard -> Settings -> Site Access. This would than allow you to assign a new page admin.

This just straight fails for me! I can easily choose a new person , select person and allow full access, confirm with password and than nothing happens. When checking the console, i see a couple of random errors …

Tried with different accounts, different browsers, different OS. Always the same …

The solution

After trying everything and almost giving up. I though, well you can still switch back to the old page layout, maybe that works!

And that is what finally worked for me. I was able to assign my customer as a new admin, within Settings -> Site Roles and than switch back to the new page layout!

Again … Facebook sucks! Who is testdriving updates and checking for incoming errors … seems that noone cares. Just leave it to the user, to solve their own problems. Not a single resource, that actually helps. I am sure that there are many, that already lost their pages! Just unbelievable !!!

Happy coding!

readmore

THE QUESTION

A while back a potential customer asked me, if it is possible to restructure a WordPress Multisite setup and WPML with a more simplified and custom url structure?


THE ROUGH IDEA

1 . BASE.website web.site (with possibly different languages)

web.site/de/
web.site/en/

2. SUB.website web.site/nl-nl/

Languages would normally be added like this:

web.site/nl-nl/de/
web.site/nl-nl/en/

The customer wanted it to be restructured / simplified like this:

web.site/de-nl/
web.site/en-nl/

This basically mimics the structure of a single WPML website with custom languages, but with all the benefits of a multisite.

THE SOLUTION

This is nothing that WPML or WordPress Multisite provides out of the box.
I built a prototype setup to make it work.

Not something that I would propose for anyone, as it requires a lot of tweaks for anything that handles dynamic links (plugins, hooks, core systems, page.builder …)

Its doable :)

BASIC URL HANDLING

One thing that needs to be tweaked globally, is the mapping of the new url structure.

So web.site/nl-nl/en/ needs to become web.site/en-nl/

This needs to be handled on the server side, by proxying the original to the new structure.
This can be easily done using Apache or NGINX.

With that web.site/nl-nl/en/ will be proxied to web.site/en-nl/, but any core navigation will not work yet.

This is the fastest solution that I came up with, within the hour I gave myself ;)

There surely are other options, like the core rewrites / restructuring of the core shorturl handling. But these approaches might break things in far more areas.

Using the proxy approach, keeps the core as it is. The solution needs to be as simple as possible, allowing to maintain it in the future :)

HOOKS TO THE RESCUE

Just for the basic setup a couple of hooks are required to make this work, more might be needed depending on the plugins in use.

Here a couple of examples ….
WordPress site_url

WordPress Nav Links

WPML

Rankmath

This will not cover every angle, but will give you a starting point! I love my puzzles and there always is a viable solution :)

Need something similar … get in touch!

Happy coding …

readmore

When you look at Youtube, Twitter, certain Facebook groups and even some software companies, they are all building up fear for the upcoming / in-progress Google „Helpful Content“ algorithm update.

WHAT IS IT?

– Our “helpful content update” launching next week will better surface original, helpful content made by people, for people, rather than content made primarily to gain search traffic. It’s part of a broad effort to show more unique, authentic info in results – Google SearchLiaison@Twitter

WHEN IS IT HAPPENING?

Its happening as I write this and its about time!

The goal of this update is to rank websites that publish original and unique content. Content written by real writers and not AIs.

This also downgrades websites, that write about content that is not relevant to their core expertise. So no more content domain dominance, by posting about every possible content angle to lure visitors in.

Also old content, when not updated regularly, will loose prominence.

This all is a plus for the enduser and knowledge seeker. Google has been preparing for this for years now and its not happening suddenly.

Structured data gained more and more importance over the past few years. Google is finally using it to cleanup search!

HOW GOOD WILL IT BE?

Hard to tell. But change was needed! There are so many underrated websites out there, that deliver quality content, but never got a chance to bubble up or shine :) This will hopefully get us better search results and better quality control.

LOOKING FORWARD TO THE RESULTS!
Keep on breathing …. ALEX

readmore