fabiochiu/medium-articles huggingface dataset:
How .htaccess files work in the PHP CodeIgniter framework?
Tags: Web Development, Codeigniter, Web Design

Sometimes you’ll be surprised to see that the homepage is loading properly, and all other pages are showing 404, Not Found error. The most probable reason for this is your server does not support SEO friendly URL.

Please follow the steps to check with the issue.

Verify if a .htaccess file already exists. If there is no existing file, you will have to create a new dot .htaccess file. If you can’t find it, maybe the file is hidden. Click on the setting button, and check Show hidden files. Now, you can see the dot .htaccess file. Type the code snippet given below here. This will enable the SEO friendly URL. Access the page on your browser. It’s now loading.

So, you need a dot .htaccess file to run PHP CodeIgniter, with SEO friendly URL.

Code:

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php/$1 [L]
How to stop SQL injection through website URL?
Tags: Web Development, Codeigniter, Web Design

Please follow the steps below:

Access a webpage on the browser window. Type any special character after the link, and press enter. If the page loads as usual, then the page is not secured against SQL injection. Now open the file manager in cPanel, and go to the installation folder. Click open the config folder, located inside the application folder. Open the config.php file. Scroll down, and you can see all permitted characters. Allow only the alphabets, numeric, underscore and hyphen. View the web page again. The page does not load this time. This is the first line of defense for your website.
New Project Done.Using Elementor Pro.
By: Coder Mamun
Tags: WordPress, Elementor, Web Design, Website, Codermamun

Hi, I am Abdullah Al Mamun. I am working the web design and development sector for a few past yeaonrs
Web Desgin and Develop #BD_Ashik
By: Bd Ashik
Tags: Web Development, Elementor, Web Design, Divi, Gravity

Contact me if you need to create any type of website including e-commerce website, online magazine, online TV, educational institution website, restaurant website, shopping website, fashion house website.

Web Developer #BD_Ashik

Phone: + 88–01575–019269

Email: BDAshik7076@gmail.com

#BD_Ashik
Daily Web Design Inspirations | #8
By: Robin Saulet
Tags: Web Design, UI Design, Daily Inspiration, Daily Blog, UX Design

You’re looking around for Web design inspirations?

This article is a top 20 Of My favorite web design inspirations Of the day.

Discover new designers, new gradients or new original interactions.Enjoy 🖖
Material Icons vs Material Design Icons
By: Aydin Abbasov
Tags: Material Design, Web Design, UI Design, Icons, UX Design

There are some steps designers should take at the beginning of the design project. One of them is to set icon library to provide consistency across the design. It could be designed custom or chosen among libraries. Google’s “Material Design System” and its resources undoubtedly are one of the best and most-used ones.

While searching about Material Design icons we discover two different terms Material Icons and Material Design Icons. Some sources approach and identify these terms the same way. They are both called Material, so it’s confusing. They are different, but there are some relations between two.

Material Icons

Material Icons is the official repository for Material Design icons and it’s owned by Google. There are more or less 1500 icons divided into several categories such as Action, Alert, Av, Communication, Content, etc. All icons are available in 4 themes — Filled, Outlined, Rounded, Two-tone, Sharp.
Disabling Link Style Across CSS Pseudo Selector States
By: Ole Ersoy
Tags: Web Development, Software Development, UX, Web Design, Design

How To Remember The Order of Selectors: LOVE and HATE | CSS-Tricks

I read a comment the other day over on CSS Drive from someone named Slackerbabe that I thought was worth repeating…
How Search Engines Work: Crawling, Indexing, and Ranking
By: Webcloud It, Digital Marketing Consultant
Tags: SEO, Local Seo, Web Design

Today we are going to discuss about “How Search Engines Work” in other language we can say that how your website indexing and improving the ranking in search engines. There are three major search engines which are mostly used by public



In the other hand we can say that, Google is where the vast majority of people search the web. More than 90% of web searches happen on Google.



Search engines have three primary functions:



Crawl: Scour the Internet for content, looking over the code/content for each URL they find.



Index: Store & Analyze the content found during the crawling process from your website. Once a page is in the index, it’s in the running to be displayed as a result to relevant queries.



Rank: Provide the pieces of content that will best answer a searcher’s query, which means that results are ordered by most relevant to least relevant.



What we’re going to work through is a little about how web indexes or search engines work and a brief about keywords and keyword selection. To the extent the way search engines work, clearly we’re going to primarily discuss Google, Google being the most significant.



There are three, MSN, Yahoo and Google, yet MSN and Yahoo appear to take action accordingly with whatever Google does. On the off chance that you apply your systems into what you do with Google, it winds up working for the other search engines.



The manner in which the search engines work is fairly similar to a fame challenge.
Plan to help your business website succeed
Tags: Webdev, 2021, Christmas, Web Design, Website

At 3techagency Kenya we aim at helping your business grow hassle free.

Our plan to a successful website

Your website strategy is about being clear on what we need your website to do for each of your target audiences, and what user journey each segment of your target audience will need & want in order for them to engage and ultimately convert.

The website’s core message

Research shows that content “above the fold” attracts the most attention — your core messages should be given priority location on every page and sit above the fold. You want to make sure that your website homepage features all of your core messages in a simple and easy to digest format.

Value Proposition:This is about about what value you provide to your customer.

Sales Propositions: This is where you can demonstrate an understanding of the key challenges your audience face, and provide insights into the solutions you can provide

See our website for more details and example.

Website Appearance

Your website needs to be visually stunning but also practical. Consider using white space, bullet points, color/buttons/typography (to differentiate things like hyperlinks or calls to action) and images to break up the page and make it easy to read.

Website UX/Navigation

Google Analytics is going to reveal a lot about who your website visitors are and how they are interacting with your website. Think about how patient you are when you’re navigating the world wide web. If you can’t find what you’re looking for in a matter of seconds, bang — you’re out of there. With this in mind, you need to make accessing, navigating and interacting with your website as simple and easy as possible. Things to think about include:

Page speed — the quicker the better.

Contact us (phone, email, live chat/messenger) — think about how and when people may want to get in touch and give them options for any time of day.

Seamless checkout / enquiry process — where are the drop out points in your path to purchase and what is the cause? Using Google Analytics to find the answer to these questions can help uncover obstacles or issues that you may have otherwise been unaware of, such as issues with the website setup/structure, an over-complicated checkout process, or shipping cost.

Calls To Action (CTA) — Each page should deliberately lead the user to the next phase in the customer journey. Think about what action you want the user to take after visiting each page of your website, and ensure the CTA features throughout and again at the end of the page in a simple and clear format. See our example

Website Analytics

With any website project, it’s important to have the right tracking and reporting in place to record accurate data from all your digital assets. This allows us to start producing the reports we need to see what is working and isn’t working in your marketing. The main focus for us is using Google Analytics to track how people find your website, how engaged they are with your site from each digital channel, and what’s generating outcomes for your business.
That’s very useful, thank you very much.
By: Douglas Collar Da Cunha
Tags: Illustration, Design, CSS, Web Design

That’s very useful, thank you very much.
Why does almost every company need a website?
Tags: Web Development, Web Design

Your website is your main marketing asset as we live in the digital age. Right now, consumers expect businesses to have an online presence and will view a business that does NOT have one as less professional. If you are a business owner you need a website. A professionally designed website that attracts leads, increases sales and differentiates the brand.

Consumer behavior is changing over time to adapt to modern technology. In the 1930s, advertising in the Yellow Pages was standard operating procedure for most businesses. The majority of American households used the directory on a daily basis.

Then came the World Wide Web and a new disruption to the business status quo: digital transformation. As more and more consumers realized that they could find what they needed online faster and more efficiently than a phone book, the behavior shifted away from using the printed phone book. In 2011, 70% of all Americans rarely or never used printed phone books. Also in 2011, more than 59% of consumers were already going online to find local businesses. In 2019, and the number of consumers going online to find a local business has grown to 97%. If you want them to choose your business, you have to be found online, which means you need a website.

There’s a reason so many businesses invest in a search engine optimization (SEO) website: 97% of people go online to find local businesses, and 93% of online experiences start with search engines. Believe it or not, there are 3.5 billion searches on Google per day, and right now someone in your area is online looking for your exact service.

According to the April 2017 LSA (Local Search Association) report, “Digital Consumer Studies,” 63% of consumers primarily use the company’s website to find and connect with businesses. It is a very large segment of consumers.
Neden Özel Tasarım?
By: Sibel Yeğin
Tags: Design, UX, UI, Web Design

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
How to Build a User-Friendly Website?
Tags: Build Website, Web Design, Designer, Web Design Company, Design

Creating a website can be a troublesome task taking into account all the creative and other thoughts that goes into it. A website needs to have elements that would catch the eye of the viewer, gripping him onto the content the moment he sees it. But this is not enough, the moment the user starts scrolling through it and clicking on each tab, that’s when UI (User Interface) and UX (User Experience) matters.

If a website is all good to look at, and if its ranking is low, the reasons might be low attention given for the UI and UX part of it. A website creator should focus equally on both the sides, that is the aesthetics part and experience part of any website that he is developing. A User-friendly website focuses on giving a pleasant and smooth experience while searching for information for the user. There should not be any glitches for the end user, and that should be the end result for the website developer.

An easy navigation scheme: The purpose of any webpage should be to give the user the information they are looking for without any hectic process. The website designer should focus on this aim specifically and make everything simple in the website. The end user should be able to access any information -which includes buttons and links to take them to the desired information — effortlessly. If this isn’t the case with your website, consider restarting from the basics.

Readable information: Website builders normally tend to give too much attention on the font and other decorative elements, forgetting in the process the readability of the content. Never get it out of your mind that, the end result of your website is to give information to the user. And this is where the readability of the font comes into account.

The attention of users is most of the time really low that instead of reading through a webpage, they tend to scan the website templates. Hence, the information provided should be in a way that it will be effortlessly readable for the end-user.

Quick Loading should be made a must: If every section of your final webpage takes time to load, the end-user will be tired of your website and can easily switch to another. The success of your webpage is significantly depended on your loading time.

Make it a thing by the graphic designer to remove all additional elements that are not in use, this can significantly improve the loading time. Strictly stick to less than ten seconds as the loading time, the user will never be patient when there are thousands of webpages out there.

Mobile Friendly: Around sixty percent of the webpages are loaded from mobile devices, and that is the truth. The website maker should never forget the fact that mobile devices are extremely important and the designing should keep this factor in mind. Web development companies should make it a thing to make the design mobile friendly and responsive while getting started with the work.
Most Effective Tips to Follow While Creating a Website
By: Gaurav Kumar
Tags: Web Development, Web Design, Marketing, Website, Business

WEBSITE DESIGNING

Web designing has come a long way since the beginning of the Internet. Throughout the years, many studies have found a correlation between online consumer behavior and web design.

3 simple tips to make the perfect and effective website to grow your business

1. Minimalism is the key

The less you have on your home page, the better. One of the major reasons people prefer Google over other search engines is the fact that Google’s homepage is clean. When a page is overloaded with unnecessary color, photos, and large paragraphs of text, it becomes more difficult for users to understand the information.

Choose keywords wisely and keep paragraphs short. To avoid a crowded look, break up large subheadings from paragraphs with an appropriate amount of space.

2. Font

The essential rule to follow when it comes to choosing a font is not to use more than three different typefaces. If you require to explain sentences, balance them with a simple, easy-to-read font.

Many of us were taught that 12pt font is the standard size we should follow on the computer, as it is easy to read for the average person. However, devices and their resolution have changed when it comes to reading something on a high PPI computer screen that is typically 20 inches away from your eyes, use the font size 16pt and change it accordingly for your mobile version.

3. Mobile friendly

It is a smartphone world we all are living in. Just like it is important to make your website desktop friendly, ensuring your website design is mobile friendly is just as important. Sure, you want your site to be easily accessible for both desktop and phone users at any time.

As you can see, there is quite a bit that goes into creating a successful and compelling website design. You might consider taking professional help but don’t want to break your bank, many companies provide these services, CellCommNext is one reputable company providing these services at a very affordable price.
Your Website Needs a Facelift!!
By: Eron Keerthana
Tags: Web Development, Web Design, Digital Marketing, Website, Web

Keep your customers attracted to your picture. Here are the 7 signs that you should pay unique psyche to in your website, that will impact you to consider in case it is the ideal time for you to take an action to re-try your high-level closeness and consider web improvement!

Your Website Does Not Have a Responsive Design

In this computerized period, you can’t overlook the way that numerous individuals are visiting your site on their tablets and cell phones. On the off chance that your site isn’t responsive or portable neighbourly at this point, odds are you are losing an enormous number of guests. In this manner, it is consistently a smart thought to grasp a responsive plan.

read more…
Role of BigData in Digital Marketing Success
By: Eron Keerthana
Tags: Web Development, Big Data And Analytics, Big Data, Web Design

How huge information is being utilized to improve the consequences of advertising

Numerous associations are utilizing information from different sources to improve their computerized advertising efforts. These missions have demonstrated to be more powerful than the old type of mass publicizing. Taking the mystery out from the condition permits advertisers to have the option to identify changing patterns and subsequently use them for more focused on missions.

The sources and measure of information are overpowering, requiring interest in bigger and more unpredictable information bases and information investigation apparatuses to figure out all the data accessible.

Having the option to reveal these bits of knowledge brings the about better capacity to spot openings, right courses and draw in with clients. What follows are the key reasons you ought to consider utilizing enormous information to improve the aftereffects of your next computerized showcasing effort.

read more..
How to use Spread and Rest Operator in Javascript
By: Md Shahab Uddin
Tags: Web Development, Javascript Development, Website Designing, Web Design, JavaScript

Spread and rest operator is one of the coolest features of ECMA6. Using these operators makes our code easy to read and also they are easy to use.

Spread Operator

Spread operator allows iterables(arrays, objects, and strings) to be expanded into single arguments. It’s denoted by three dots(…) followed by the variables or the array/string/object we want to unpack/expand. Let’s see how it works

Write the above code and run it in the console. In the first console, you will get an array as output. But in the second console, you will get only values without an array. Three dots (…) you are watching there is called spread operator. It just unpacks a number of values into individual values.

Spread operator unpacks an array into individual elements.

Let’s see another example

we can see that spread operated expanded the string and array into individual elements.

We can concatenate two arrays with the spread operator

We can copy array using the spread operator in array literals

The good thing about this is that it doesn’t affect the first array.

Same as the above, we can copy objects using the spread operator

We can do array destructuring using the spread operator

spread operator in functions: Let’s see an example from the MDN docs

What happens here is that (…numbers) unpacks the array so that the console interprets it as :

consoel.log(sum(1,2,3))

Rest operator converts an array into parameters

Also, we can use the spread operator in arguments:

Let’s see an example. We will create a function to do addition. We declare a function with three parameters. But if we give it 4 arguments, it will still run but only the first three arguments will be used.

But we can solve this with the spread operator

now you can add unlimited numbers with spread operator. Another use of spread here. Let's look at the image below.

The spread operator also can be used with constructor

Rest Parameter:

Rest operator and Spread operator look the same But a little different.

Spread operators expand an array into parameters. But the Rest operator does the opposite, it collects the parameters and turns them into an array.

We can include in this in function definition just by using three dots(…) followed by the name of the array that will contain them. It means, brings those parameters here and make them an array.

Rest Parameter has to be the last argument.

In this code, we will receive the arguments through the rest parameter

Let’s do addition using the rest parameter

What happens here is that all the arguments we pass here are converted to an array. After that, we run for loop on the array and complete the addition.

Thanks for reading my article. Follow me if you like my articles.
Best Web Designing Company | Top SEO Services in UAE
By: Jyoti Ahuja
Tags: Web Development, Web Design, SEO, Seo Services, Web Design Company

Creative Web Designing Company & Top SEO Services In UAE

Infos Global has helped thousands of small businesses to achieve new heights!!!

Infos Global is having offices in multiple locations in India and Gulf countries with experience of more than a decade. We have a team of experts having good experience in Services Like Website Designing, E-commerce Website development, Content writing, Web Application, Digital Marketing like SEO, SMO, SEM, PPC, Onpage Offpage Optimization, etc. We provide the Best Web Designing, Mobile Apps, SEO Services in UAE

Our Top Class SEO (Search Engine Optimization) Services

Millions of searches are happening every second on Google. Get your Company or business found online, when people search for your products or services. Best and High traffic Keyword’s Stuffing in your website + off page SEO services to ensure your website ranking in top 10.

Does your website rank in the top 10, when people search for your products or services on Google? Get High traffic volume on your website through dedicated SEO services by InfosGlobal — Experts that ensure results. Seeing is believing so first see results achieved by our SEO team and then handover your project to generate similar results.
Best Logo Design and Web design services providers:
By: Yakduse Seo
Tags: Logo Design, Web Design

LOGO DESIGNING

The Logo is not just a symbol but an effective branding or marketing tool comprising of the two major elements, images and text that represent the brand’s message. It helps your target audience comprehend and perceive your brand’s mission, vision, and the brand strategy altogether.

Basically, your logo should be simple and impactful as it is the first impression that defines your brand’s credibility. An impressive and unforgettable logo contains a brand mark depending on the logotype with a punchy or noticeable tagline.

Uniqueness is key

A company should always seek out extraordinary and unique logo designs that help them stand out in the market. The detailed research about your competitor’s logo designs can be a basic step that leads to an innovative design.It needs to be comprehensive for the potential users otherwise it is not worth it if your customers misinterpret your company.

The logo provides some significant information about your company describing the brand value, service, demographics, and the industry type. For instance, an online pizza delivery company can show pizza slice with a rider to explain the purpose of their business to customers.

It is immensely important that the people can associate your company name with a specific logo that becomes brand recognition. Thus, the logo is an essential part of a brand that is imprinted on the customer’s mind in a way that they can identify the brand name by looking at its logo without manifesting its name.

The Fundamentals

Some fundamental elements are definitely used to create various type of logos. Typography, Imagery, color, dynamic look, and context are the major elements that are combined to design a perfect eye-catching logo. Typography is the arrangement of letters in the logo depending on two major styles that are monogram and abbreviation.

A combination of typography and icons or symbols represents the abstract of geometrical elements. To put a decorative element into the logo some line work or tiny visuals are created to highlight it more.

The color range of the logo is divided into two categories that are BLACK & WHITE and MONOCHROME. To develop multicolored logos two specific palettes are utilized for a monochromatic scheme that is Analogous and complementary.

The analogous represents the similar hue and complementary represents colors from the opposite hue of the color wheel. Usually, people fail to distinguish between the logos and branding. A brand is a big picture of your perception or services displayed in the market to seek customers. The logo is the part of the marketing procedure that spreads brand awareness to leave an impression on the customer’s mind.
Internship — Week 06. At Intrépide Studio
By: Pinho Daniel
Tags: Web Development, Dwm, Web Design, Heaj, Web

Internship — Week 06

Merry Christmas & Happy new year!

This week will be a lot short since I only work until the 23rd & my supervisor is on leave. However, he’ll be back for “Secret Santa” on the 23rd. It's likely to be the last day of work of this year since everyone is on leave from the 24 to 4.

Haven’t read the previous articles?

All articles, ← click here!

Redesigning web portfolio| 21/12

On Monday, I remembered that I had designed my portfolio on Figma. I used the previous design and rearranged them, and tied out new layouts. At the end of the day, I managed to finish a desktop version and mobile version to ask for feedback the next day.

Redesign & Symfony | 22/12 & 23/12

This morning I asked everyone at work for their opinion, and they said;

That leaving “hotmail” is less professional than, for instance, “gmail.”

That the design is very similar to the previous one

That portfolio is missing some personal touch.

From left to right, you can see the progression and the things I tried out on the picture beneath.
Do you like web development or software development?
Tags: Web Development, Software Development, Web Design

The main difference between web developers and software developers is with the programs they work on and what they try to create. Web developers are primarily concerned with websites and web applications that run on Internet browsers, while software developers are more focused on mobile and desktop software. Both professional fields require extensive programming experience, great attention to detail and problem solving skills, but have different workflows, maintenance requirements, and complexity levels.

Web developers are responsible for how a website or web application looks and functions, ranging from its user interface and page layout to back-end systems for collecting data. They work with organization leaders to design unique and attractive websites for businesses, nonprofits, government agencies, and anyone else and seek to communicate effectively online.

The core qualifications for most web developer jobs are experience in programming languages such as HTML / CSS, JavaScript, and PHP coding, and understanding of BLS web application workflow. Since web developers take care of everything from creating wireframe mockups to managing existing websites and new web applications, it is important to understand how online platforms are hosted, how users interact with different navigation frameworks and how essential content can improve the overall user experience.

Software developers, on the other hand, work extensively with other technology-oriented peers on software, operating systems, and mobile application projects that may not require the participation of other business units. Ultimately, students on the career path must align with their career goals and personal interests, so it is important to know each role in detail before devoting time and resources.

Software developers discover, manage, and optimize computer programs that run on desktops, laptops, smartphones, and other mobile devices. Using various programming languages, such as Java, Python, C # and SQL, these computer professionals write complex code that describes how the desktop works. Many software developers work for large technology companies, such as Microsoft and Oracle, designing new products or repairing existing applications. This includes fixing code bugs, updating the user interface, creating new in-app tools, and more.

Many of the skills and features required for web developers are equally important to software developers, particularly those related to coding, programming languages, and user interface design. This is because professionals in this field need to be able to create software solutions that solve very specific problems. Project developers will be involved, largely depending on the developers they work for, the clients they are tasked with, and the business challenges they are trying to overcome.
Frontend to Backend Communication Between Go and JavaScript
By: Petr Jahoda
Tags: JavaScript, Go, Golang, Tutorial, Programming

Prepare before coding

At first, update your homepage.css, so all buttons looks the same.

Then, update homepage.html. Add lines starting with those two lines <br> and ending with heading <h3> with id=“ask-time” . From the user point-of-view, we got three new things on the page: a label, an input field and a button. The user cannot see that fourth <h3> with id=”ask-time” as it has no text assigned yet.

You should see the look of the webpage on a screenshot below.

Adding the functionality to frontend

Now switch to homepage.js and start with adding three new constants. (Before it, get rid of that one-an-only console.log(time) we left here from before.)

One will access input element, second will access new button and third will acces for now invisible <h3> element, which will display data from backend.

Then add new event listener onto that askButton , that will update that invisible <h3> element, for now just to make sure that everything is working.

Please run the code, so we can see, that everything is working properly, as on an screenshot below. Click the button to check everything is working.
ISO 7064 in Go
By: Pavel Kosilo
Tags: Iban, Iso, Golang, Banking, Programming

ISO 7064 is a standard promulgated by the International Standards Organization that defines algorithms for calculating check digit characters. The checks should be applicable to alphanumeric strings and should be able to detect all single substitution errors, all or nearly all single local transposition errors, all or nearly all circular shift errors, a high proportion of double substitution errors, a high proportion of all other errors.

It is used in some other ISO standards like IBAN, ISTC, ISNI, LEI. In our everyday life we see it in IBAN, but also we can use it many other systems like identification systems (Croatia and China) and other.

So, I personally needed a library to verify and calculate those check digits in Go. After some research I’ve found out that there are a few libraries like digitorus/iso7064 and almerlucke/go-iban, but they are hardcoded for MOD97–10 (used in IBAN) and that is all. Other algorithms like MOD11–2, MOD37–2, MOD661–26 and MOD1271–36 are not implemented in them. So, I’ve decided to create a library which will fill my needs. First of all, implementation of all algorithms listed above.

Purpose

A library which will allow to calculate check digit characters according to ISO7064 using MOD11–2, MOD37–2, MOD97–10, MOD661–26, MOD1271–36 and also will allow to easily calculate and embed check digit characters for IBAN.

Implementation

Everything is based on interface called Calculator, which describes methods to verify, compute full string and compute check digit characters. You can see it’s code below:

Then there is a structure called BaseCalculator, which implements methods from Calculator interface implements ISO7064 base algorithm. It’s code is:

As you can see BaseCalculator structure has fields called Modulus, Radix, Charset and IsDouble. So, various combinations of these fields allow us to create different algorithms described in ISO7064 like MOD11–2, MOD37–2, MOD97–10, MOD661–26, MOD1271–36, but also use any other combination to create another nonstandard algorithm based on ISO7064 base algorithm. There is an example how to create BaseCalculator for ISO7064 MOD97–10:

So, by analogy, we can create BaseCalculators for other algorithms.

But also we should implement IBANCalculator which will do IBAN specific steps like rearranging and letter to integer conversion. There is it’s code:

It uses BaseController with MOD97–10 configuration to compute check digit characters and also rearranges and converts letter to integers in IBAN before the calculation.

Final

I’ve never written any articles on Medium or anywhere else, so thanks for until the end. The library itself is available on GitHub pkosilo/iso7064 under Apache License 2.0, so you can try it out, I wrote some tests, and it seems to work fine. If you have some ideas you can share them in Discussions or in comments and if you have spotted a bug, then file an issue on GitHub. Also, you create a pull request yourself and make the library better.
My DigitalOcean App Platform Hackathon entry: stock-checker
By: Jonathan Harrison
Tags: Docker, Digitalocean, Hackathons, Go, Golang

stock-checker running as a DigitalOcean App Platform work

Just a short cross-post to say I have entered the DigitalOcean App Platform Hackathon.

stock-checker is a golang app that spawns a task every hour to check whether any of the following UK retailers have an Xbox Series X console in stock:

This is done using a web automation library that navigates each site in a headless chromium browser.

If the app determines stock is available, a text message is sent using Twilio to the configured mobile number.

The full details can be found over on DEV.

The source can be found on GitHub.
Go Web Server With Vanilla Javascript Frontend Example
By: Petr Jahoda
Tags: JavaScript, Go, Golang, Tutorial, Programming

Dive right into updating the code

Open your homepage.html file and focus on those three lines, containing tag <h> . Update <h1> , <h2> and add new <h3> line. Those three lines will display three separate informations:

time, when page was generated

actual server — side time, using SSE

time, when button was pressed (new functionality)

Then switch to your homepage.js and change line, that updates actual-time object. We are adding just some text information, so we will immediately know, which time is which, and that it is working.

Adding new Javascript functionality

At this point of time, we updated text information on the web page and now we are adding that javascript functionality, as mentioned in the beginning of this article. Add new line, that will access <h3> element with id button-time .

And then update function, which — until now — displays alert message. After this change, it will display actual time.

Run the program and you will see something like the screenshot below.

Now we have three separate functionalities working on one simple web page:

page is updated with actual date-time, before it is generated and sent to user — this functionality is using Go templates

page is updated with “live” date-time from Go backend, using SSE functionality

functionality page is updated with time when button was clicked, using vanilla Javascript

And did you notice that the page is not refreshing at all? Just those times, either using SSE or via button?
Go concurrency pattern: Semaphore
By: Syafdia Okta
Tags: Concurrent Programming, Golang, Goroutines, Design Patterns

Implementing concurrent process on Go programming language is very easy, just run your function with go prefix, and boooom, your function will not blocking your main thread.

But, what if your awesome concurrent function have responsibility with machine’s I/O ? For example your function will do 100 parallel HTTP POST request to REST API from other service. Yeah, your network I/O will busy on handling 100 request concurrently and this can slow down your I/O performance.

Here come the rescue Semaphore, based on Wikipedia,

“Semaphore is a variable or abstract data type used to control access to a common resource by multiple processes in a concurrent system such as a multitasking operating system.”.

Based on our case, instead of doing 100 HTTP request concurrently, we can scale down the concurrent process to 20 and and we repeat the process 5 times. Yeah, it will take more time to process than doing 100 request concurrently, but this will giving a breath for your I/O network since your network only need to handle 20 request concurrently.

Request using 100 goroutines concurrently
Running Networking Go App In Alpine-based Container
By: Sergey Sustov
Tags: Golang, Docker, Go

Running Networking Go App In Alpine-based Container

Imagine you’ve been working on your app for quite a while now, and you’ve come to that glorious moment of publishing it. And you decide to keep your image small, so Alpine seems like a good choice. You build your image, run the container and get something like this:

standard_init_linux.go:211: exec user process caused "no such file or directory"

This message obviously leads us to investigating the image contents in search of what could have gone wrong. And you may spend hours without any result. Also googling this error leads nowhere. There are a lot of answers to this out there, but mostly unrelated. So I decided to write on this to explain what’s going on here.

This happens if you build your Go application on Linux and run it in the Alpine-based container. It happens if you use network, for example, for sending HTTP request. Simple program to reproduce:

package main



import "net/http"



func main() {

if _, err := http.Get("https://google.com"); err != nil {

panic(err)

}

}

But what is container complaining about? Basically if we check our file with the file command, we’ll get the following output:

$ file test

test: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, not stripped

This means that our binary is dynamically linked, and it is linked against libc . It happens because net package uses cgo bindings internally. And since Alpine uses musl , as opposed to libc on common Linux distributions, we get the above error.

If the error really comes from us using the net package, this may easily be fixed with the build tag netgo like this:

$ go build -tags netgo -o ./test

With this tag we tell the compile to use Go-native implementation of the networking stack, which results in the binary being statically linked:

test: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped

NOTE: all the above applies only to the projects which have net package as the only dependency using cgo . All other cases should be handled individually.

Even knowing about this behavior, I just forgot this build tag in one of recent projects. So, 3am and here I am trying to find out what is wrong with my binary. Hope this article will save you some time and allow you to sleep well.

Happy coding!
Using SSE in Go web server
By: Petr Jahoda
Tags: Go, Golang, Programming, Tutorial, Sse

Prepare the project

Start with adding the right module, that has this functionality already built-in on the server side of program.

We will use julienschmidt’s repository again, this time it is module from github.com/julienschmidt/sse . So add the new module and import it. Your import block of code should look like code below.

Adding SSE functionality

Then navigate to run() method and add a new line of code just under your router := httprouter.New() . This line of code will create a new streamer called timer. Ignore the red squiggly line as we will immediately use that streamer.

Implement SSE on server side

Add another two lines of code: router.Handler(“GET”, “/time”, timer) and go streamTime(timer) , so finally your run() method should look like the code below. The first new line will register a handle for this streamer and the second line will run new goroutine that will stream time, until the service is stopped.

Create that streamTime() function with ALT+ENTER and move it to your homepage.go file. Update this function with code below. This piece of code will stream actual time, every millisecond, for as long, as your service is running.

Implement SSE on client side

Now we will add a new element to your homepage.html file, that will display that streamed time. It is the element with id actual-time: <h2 id=”actual-time” ></h2>.

And finally add few new lines to your homepage.js file. Those few lines access that /time handle we defined in router.Handler(“GET”, “/time”, timer) . And every time — in this case every millisecond — it will update that html element with actual time.

Test, how fast can SSE work

Now you can test it, but don’t forget to remove that time.Sleep() method from your serveHomepage() function. You should see your SSE working like a charm. Time is refreshed every millisecond.

Now you see the power of SSE.

Attention!

But please, this is just as an example, how to send data from backend to frontend. Do not use SSE for sending time every millisecond. See screenshot below, how it looks like, when measuring transferred amount of data for this every millisecond streamed time.
Membuat Docker Container Pada Aplikasi REST API Golang — Belajar Golang
By: Izzat Arramsyah
Tags: Software Development, Golang Tutorial, Golang, Tutorial, Indonesia

Hi Everyone, I’m Izzat and welcome to my acrticle. I am not an expert but I love to share | See my profile here : linkedin.com/in/izzat-arramsyah/
GRPC Nullable Field
By: Ketut Ariasa
Tags: Grpc, Golang, Protobuf, Nullable Type

grpc nullable field

I’ve some problem in GRPC as we know that protocol schema very fast and i love to work on it.

In few years playing grpc and have a question about why grpc proto-gen generate a getter method like

type GetBlocksRequest struct {

Height int64 `protobuf:"varint,1,opt,name=Height,proto3" json:"Height,omitempty"`

} func (m *GetBlocksRequest) GetHeight() uint32 {

if m != nil {

return m.Height

}

return 0

}

I need to allow the Height field is nullable field, How ?

So i was digging deeply to how to nullable field on grpc and found the answer. We can use type of that field as a new type we create one which mean created by grpc-proto-gen :).
Protein Folding on Digital Ocean Infrastructure
By: Septimus Guyah
Tags: Digitalocean, Folding At Home, Golang, API, Kubernetes

Protein Folding on Digital Ocean Infrastructure

It’s actually, surprisingly easy. Using a small script, a Kubernetes cluster can be provisioned and tasked with running a folding@home image that runs 800 CPU cores to the max.

DO’s API is simple, lean, and straight forward. Simply generate an API key, and you’re off to the races.
7 Trends of 2021 and Some Blazing Numbers
By: Murat Yaya
Tags: Innovation, 2021, Trends, Remote Working, Change

Like every year Fjord published a brilliant report which requires 30 minutes of reading, “trends of 2021”. The link for detailed report, 7 trends and some blazing figures are below.

Trend 1 Collective displacement

Helping people find their place again with the right experiences.

52% of young American adults were living with their parents by September 2020.

Trend 2 Do it yourself innovation

Enabling people to get creative with the way they live.

50% more businesses were created in June 2020 compared with the same month in 2019.

Trend 3 Sweet teamsare made of this

Reshaping your employees’ experience for a post-pandemic world.

44M, the number of daily users of Microsoft Teams saw during the early weeks of the pandemic.

Trend 4 Interaction wanderlust

Bringing joy and serendipity from the real world to the screen.

US$31 M the number raised by Mmhmm, the next generation of videoconferencing, pre-launch.

Trend 5 Liquid infrastructure

Redesigning your infrastructure to deliver delight from the first moment to the last.

5G could play an important role in enabling deployment of immersive technologies to create a next generation of brand experiences.

Trend 6 Empathy challenge

Shaping the right narratives in a world of expectation and scrutiny.

80% of the 1.1 million workers who dropped out of the US workforce in September were women.

Trend 7 Rituals lost and found

Helping people create meaningful rituals in their new, unbidden circumstances.

75% of US customers tried different stores, websites or brands during the pandemic. 60% of those expect to integrate new brands or stores into their post-pandemic lives
A Hot Potent Brew: Gig Model is the New Normal
By: Nr Alekya
Tags: Work From Home, Gig Economy, Ecommerce, Remote Working, Gig Workers

The concept of gig model is not new anymore, since freelancers and contract workers have been around for years now. It is during COVID-19 the gig model gained traction and many businesses started transitioning to gig model ensuring continuity in their business operations, otherwise disrupted.

Hybrid Model is the New Normal Traditional Office Model is No More Practical

There has been a wide acceptance of gig model and technology played a bigger role throughout the current situation. Rise in unemployment due to layoffs has gushed many highly skilled professionals turn towards gig economy as an alternative market to keep themselves engaged and earn a handsome amount of income. Even employers are looking at gig workforce as an alternative asset-light model to meet their huge on-demand work completion and tap into new efficiency-driven resources, rather than investing in a full-time resource.

There has been an interesting rate of shift in 2020, thanks to COVID-19 for enhancing the traditional workforce model. Flexibility, knowledge expansion, hiring skilled talent-pool, and making global presence are the prime reasons behind this new paradigm shift. 85% of respondents reveal that flexibility is important factor and gig platforms provide freedom to choose their own projects and work schedule.

Trending GoBeyond.ai articles:

15 to 57% of firms serving in top industries such as FMCG, Pharma, BFSI, Manufacturing, Services and Technology are already embracing this mixture of gig culture and traditional-staffing office model. IT services, and BPM sectors are at a higher level of hiring gig workers for on-demand delivery services, sales, business operations and telecalling. In the next 2–5 years, 40 to 100% of firms will shift to gig workforce model, states a report by Nasscom and AON.

As the world is moving to a new normal, businesses are shifting towards the cutting-edge talent platform to downsize office space, cost optimization and reduce risk. Transitioning into a new era of fast, innovative and on-demand workforce, this hybrid model with the blend of part-time and full-time employment is sure to offer a rewarding future with sustainable employment opportunities.

Don’t forget to give us your 👏 !
チーム開発への挑戦
By: Misaki Ebata
Tags: Retrospectives, Development, Remote Working, Teamwork, Japanese

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
The Matrix-Q House Project
By: Luis Daniel Maldonado Fonken
Tags: Covid 19, Remote Working, Emotional Intelligence, Mental Health

How emotional intelligence and self-expression can help us cope with remote working stress and covid-19 social distancing?

The Matrix-Q House Project Story — PODCAST

https://soundcloud.com/gte-quantum/the-matrix-q-house-4-9