Building a 32-Core Raspberry Pi Cluster From Scratch

Featured Imgs 23

A Raspberry Pi is a mini-computer board to which you can connect a monitor, mouse, and keyboard, and install a Linux-based operating system with a GUI. Or you can use it in “headless” mode with no GUI and run, for example, a database server. There are many usages you can give a Raspberry Pi—from building a Minecraft server to smart mirrors, the possibilities are endless.

Since I started to discover MariaDB and learned about database clusters, Distributed SQL, and Xpand, the idea of building a Raspberry Pi cluster has been in the back of my head. A cluster like this is a great way to experiment with distributed systems.

When Disaster Strikes: Production Troubleshooting

Featured Imgs 23

Tom Granot and I have had the privilege of Vlad Mihalcea’s online company for a while now. As a result,  we decided to do a workshop together talking about a lot of the things we learned in the process. This workshop would be pretty informal ad-hoc, just a bunch of guys chatting and showing off what we can do with tooling. 

In celebration of that, I thought I’d write about some of the tricks we discussed amongst ourselves in the past to give you a sense of what to expect when joining us for the workshop but also a useful tool in its own right.

Adobe Dreamweaver Free Trial

Featured Image 01

Adobe Dreamweaver CC is a website builder and content management system for designing, developing, and deploying websites on the web. You can use it to build, connect and manage your sites. It gives you the power to design and publish websites that look great on any device. Adobe Dreamweaver CC allows web designers to edit...

The post Adobe Dreamweaver Free Trial appeared first on DesignrFix.

The Most Useful Twitter Bots

Featured Imgs 23

Useful Twitter Bots

Set reminders with @RemindMe_OfThis

An open-source Twitter bot that lets you easily set reminders for public tweets. Mention @RemindMe_OfThis in the reply of any tweet and specify the time in natural English when you would like to reminded of that tweet.

You could say things like in 2 days or in 12 hours or next week or even in 5 years. Check out the source on Github.

Save Twitter Threads with @ThreadReaderApp

The gurus on Twitter have figured out that threads are the best way to extend the reach of their tweets and @ThreadReaderApp makes is really easy for you read and save these threads.

To get started, reply to any tweet of a thread and mention @threadreaderapp with the “unroll” keyword. and they create a single page with all the tweets arranged in chronologicusefual order. Blog posts anyone?

Also see: Search Twitter Like a Pro

Capture Screenshots with @pikaso_me

Reply to a tweet with the word “screenshot this” and mention @pikaso_me in the reply. You’ll receive a reply tweet with a screenshot image of the original tweet.

The twitter bot capture images in tweets but you can also use Screenshot Guru for that.

Download Videos with @DownloaderBot

You can easily download any video or GIF image from tweets with the help of this Twitter bot.

Mention @DownloaderBot in a reply to any tweet that contains either a video or a gif image, and you will receive a reply with the direct link to download the media.

Twitter, like YouTube, may have a love-hate relationship with bots that allow downloading videos off their platform so it is always a good idea to bookmarks some alternatives. There’s @GetVideoBot, @SendVidBot and @Get_This_V.

Also see: Create your own Twitter Bots

Current Launches Financial Technology API platform

Featured Imgs 23

Current, a financial technology platform serving Americans working to create a better future for themselves, today announced the launch of its platform API, built to facilitate seamless integrations and embedded banking experiences.

Plaid is the first-ever partner and will provide Current members access to a credential-less open finance experience.

How to Secure Webhook Endpoints With HMAC

Featured Imgs 23

Webhooks are ubiquitous in SaaS integrations, and there’s a good reason for that. They are a simple and speedy way to transfer data via HTTP callbacks between systems based on changes to data in those systems. 

In this post, we’ll describe the recommended approach. But first, let’s lay some groundwork.

User Premissions

558fe5180e0e8fc922d31c23ef84d240

Hello
I create project based on c# , and i make roles like admin and users , so that i want to give special premission to users to perfom tasks .

if anyone know how i can make or write this code , please help me .

and in advance THANKYOU.

Websites Tags appearing in search result – Good or Bad?

Featured Imgs 11

Hi, I came across a situation with one of my website that is built with wordpress. I recently checked that many tags in the website are in ranking. Many tags have been ranked more and high than then posts and pages. While it is a good thing but I was told by some fellow seo professional that having more tags and not the posts in ranking, is not ideal for a website.

Do you also believe so? If yes then why? Please share your insights on this.

Gutenberg 13.3 Introduces Experimental Table of Contents Block

Category Image 091

Gutenberg 13.3 was released this week with support for an experimental new Table of Contents block. It is perfect for longform content that is organized by multiple headings within the document. The block automatically detects Heading blocks within the content and will display them with anchor links that jump to each section.

Table of Contents block – video credit: Gutenberg 13.3 release post

Users may select the block without knowing how it works with headings. If the post or page doesn’t contain any headings, the block inserts a message prompting users to start adding Heading blocks in order to display a Table of Contents.

For sites that have registered custom taxonomies, Gutenberg’s Post Terms Block now automatically generates a block variation for each term. That means users can select a block to display all the terms associated with that custom taxonomy.

Other notable additions in 13.3 include the following:

  • Query block now supports a “parent” filter that will display content of children from the defined parent
  • Heading block now supports Font Family controls
  • Save Block List default view preference – allowes users to set a preference for having the Blost Lick view open or closed by default
  • New transforms between the Cover and Media & Text blocks

The latest release also brings dozens of enhancements and bug fixes to preferences, border controls, error messages, tooling, accessiblity, and performance. Check out the release post for the full list of changes.

Oculus Highlights Improvements to Its Hand Tracking API

Featured Imgs 23

Oculus has announced what the company is describing as “major improvements” to the Hand Tracking API and is encouraging developers to take the enhanced implementation for a spin. Hand tracking in virtual reality has been a priority for Oculus since the introduction of this API in 2019. 

How to Add a Blank Directory to Your Git Repository

Featured Imgs 23

Sometimes in Git, we want to preserve a directory for use within a repository, but keep it empty of files. There are many reasons why you'd want to do this, but perhaps either the folder is used to store files the person cloning the repository needs to create, or a script creates custom files to put into that folder.

If we want to create a blank directory, we can do that easily, but it won't be pushed when we use git push to push it to our remote. As such we need to do something slightly different.

Core Web Vitals only shows a sampling of URLs?

Featured Imgs 11

The Coverage section of Google Search Console shows 206K valid URLs, of which 174K are submitted and indexed, nearly all of which are Q&A pages. The remaining 32K are indexed, but not submitted in sitemap.

However, the Core Web Vitals section only shows data on 28K URLs. In the Enhancements section, it says there are only 27K valid Q&A items.

What happened to the other 150K URLs?

Need help counting occurences of a letter from a file

558fe5180e0e8fc922d31c23ef84d240

Need help, been stuck on this the past couple days i dont really understand how to get my code to read from my file and count each occurence of a letter wheter they are uppr or lower case and output them to a file, just need help with the counting part, have to do it all through a function.

Here is my source code:

#include <iostream>
#include <fstream>
#include <iomanip>
using namespace std;
void getData(ifstream& inPara, ofstream& outChara, char texT[], int numLet[]);

int main()
{
    ifstream inFile;
    ofstream outFile;
    char ch[26] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};
    int numofCharacters[26] = {0};
    char target;

    inFile.open("Lab7.txt");//opens input file

    if (!inFile)//runs error if inFile could not be opened
    {
        cout << "Error unable to open Input File" << endl;
        cout << "Program Terminated!" << endl;
        return 1;
    }

    outFile.open("Output.txt");//opens Output File

    if (!outFile)//runs error if Output File could not be opened
    {
        cout << "Error unable to open Output File" << endl;
        cout << "Program Terminated!" << endl;
        return 1;
    }
    while (!inFile.eof())//runs program untile end of file
    {
        inFile >> target
    }

    inFile.close();
    outFile.close();

    return 0;
}

void getData(ifstream& inPara, ofstream& outChara, char texT[], int numLet[])
{

    for (int i = 0; i < 26; i++) {
    if (texT[i]) {
        numLet[i]++;
        }
    }
    for (int i = 0; i < 26; i++) {
        cout << numLet[i] << " " << endl;
    }
}

Customizing Color Fonts on the Web

Category Image 052

Myles C. Maxfield on the WebKit Blog published a nifty how-to for color fonts. It comes on the heels of what Ollie wrote up here on CSS-Tricks the other day, and while they cover a lot of common ground, there’s some nice nuggets in the WebKit post that make them both worth reading.

Case in point: there’s a little progressive enhancement in there using @supports for older browsers lacking support the font-palette property. Then the post gets into a strategy that shows the property’s light and dark values at play to make the font more legible in certain contexts. There’s also a clever idea about how creating multiple @font-palette-values blocks with the same name can be used for fallbacks.

To Shared LinkPermalink on CSS-Tricks


Customizing Color Fonts on the Web originally published on CSS-Tricks. You should get the newsletter.