teleren/devto huggingface dataset:
If I update to the latest PHP version, will it have any impact on my existing databases?
Tags: php, webdev, beginners, programming
Published: 2024-01-18 14:03:51

Updating PHP to a newer version should not directly affect your existing databases. PHP and databases are separate components, and upgrading PHP usually focuses on improvements and changes in the PHP language itself rather than the underlying databases.

**[I'm currently using PHP version 7.3 on my local system, and I want to upgrade to the latest version of PHP. How can I do this?](https://dgihost.com/index.php/2024/01/18/update-latest-php-version/)**


**[I am currently using PHP version 7.3 on my local system and would like to update to the latest version of PHP. Is it possible to maintain both PHP versions simultaneously? That is, can I easily switch between PHP version 7.3 when needed and the latest version when required?](https://dgihost.com/index.php/2024/01/18/multiple-php-versions/)**


However, there are a few things you should consider before upgrading:

**Compatibility:** Make sure that the PHP version you are upgrading to is compatible with your existing codebase. Check the PHP release notes and documentation for any backward-incompatible changes. Most PHP upgrades are designed to be backward compatible, but it's always a good idea to check.

**Extension Compatibility:** Some PHP extensions might be deprecated or replaced in newer versions. Check if any extensions you are using have been deprecated or if there are new recommended alternatives.

**Third-Party Libraries:** If your code relies on third-party libraries or frameworks, ensure that they are compatible with the new PHP version.

**Configuration Changes:** Review your PHP configuration files (php.ini) after the upgrade. Newer PHP versions may introduce new configuration options or changes to existing ones. Ensure that your settings align with the new version.

**Database Drivers:** PHP interacts with databases using various drivers (e.g., MySQL, PostgreSQL, SQLite). Ensure that the database drivers are compatible with the new PHP version. In most cases, these drivers are separate from the PHP installation and are updated independently.

**Backup:** Regardless of the upgrade process, it's always a good practice to back up your databases before making any significant changes. This ensures that you can restore your data if any unexpected issues arise.

Before performing the upgrade, consider testing it in a development or staging environment that mimics your production setup. This allows you to identify and address any issues before applying the changes to your live system.

Remember that while upgrading PHP itself should not directly affect your databases, it's crucial to be thorough in checking for compatibility issues with your codebase, extensions, and any other dependencies.
My first project (Fighters)
Tags: codenewbie
Published: 2024-01-18 13:39:47

Created my first project for my codecademy course:

The project is a small terminal based game introducing to fighters into an arena to compete against each other. 

Players choose their weapons and armors to determine their attack and health values and then engage in combat.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g40snmd4196tzx9b240i.png)

https://github.com/PiercingCloud/Fighters.py

This was a great learning curve for me and has helped me in combining everything i have learnt so far. It tested me in alot of areas and took quite some time to get over certain hurdles but i finally got there its working as it should and has been a fun learning experience
CCNA AHMEDNAGAR
Tags: beginners, productivity, opensource, career
Published: 2024-01-18 13:25:32

CCNA stands for Cisco Certified Network Associate, and it's a certification for IT professionals who want to specialize in network engineering and administration. It covers topics like network protocols, routing, switching, and troubleshooting. It's a great certification to have if you're interested in working with computer networking CCNA is a certification offered by Cisco, a leading networking solutions provider. It's a great way to start your career in networking. The CCNA certification covers topics such as network fundamentals, routing and switching, network security, and more. By earning this certification, you'll gain the knowledge and skills needed to design, build, and manage networks. It's a valuable credential for IT professionals. [BEST CCNA COURSE IN AHMEDNAGAR](https://www.sevenmentor.com/ccna-classes-in-ahmednagar)
Don't feed async functions to express handlers
Tags: webdev, javascript, beginners, programming
Published: 2024-01-18 13:20:01

Express does not support async handlers. I have witnessed an application who restarted every time the async function threw an error. This was on Node 16.

When we updated to Node 20, the whole application froze instead. After too many hours with debugging, I uncovered that the issue was async functions in express.


Running express on node 20, we weren't able to even see anyhing in the log. With node 16, the application crashed, with this error message:

```
node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "AxiosError: Request failed with status code 400".] {
code: 'ERR_UNHANDLED_REJECTION'
}
```

So what happened was that inside an express route async function, we did a subsequent call to another API with Axios, that failed with a status code 400. But since express doesn't support async functions, it couldn't catch the error and handle it.

## How to fix it? Call your async function as a promise!

Let's say you have the following route defined:

```
app.get('/api/some/endpoint', someAsyncHandler);
```

You can here write an inplace wrapper for the async handler:

```
app.get('/api/some/endpoint', function someAsyncHandlerWrapper(req, res) {
  someAsyncHandler(req, res).catch(function errorHandler(error) {
    logger('Failed to handle this API endpoint.', e.message);
    res.sendStatus(500);
  }
});
```

So, use the async function as a promise (since async/await is just syntactic sugar for promises either way), and send a response code of 500 back to the client!
TheJam.dev 2024 - A Free, 2-day Virtual WebDev Conference
Tags: webdev, javascript, serverless, jamstack
Published: 2024-01-18 13:09:43

---
title: TheJam.dev 2024 - A Free, 2-day Virtual WebDev Conference
published: true
description: We're less than a week away from the best event of the year. Ok, I'm biased, but take a look.
tags: webdev, javascript, serverless, jamstack
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f0m980cy8zilbt1pdf7y.jpg
canonical_url: https://remotesynthesis.com/blog/thejamdev-2024/
---

The web development, JavaScript and serverless tools and technologies move incredibly fast. It can be hard to keep up. Events have always played a role, not just in keeping me up-to-date and informed, but also getting me excited about what I can build. Those of you that know me know that I run a ton of events, and my biggest one each year since 2021 is [TheJam.dev](https://thejam.dev). This year's event is happening on January 24-25 from 11am-5pm ET (UTC -5). I know I'm biased but I think this is one of the best (if not the best) web development focused events of the year. Why?

* **Best Speakers** – Every event is only as good as it's speakers, and this year we've got an incredible lineup featuring Cassidy Williams, James Q Quick, Matt Biilmann, Alex Russell, Salma Alam-Naylor and so many more. Honestly, I feel like we have an entire lineup of keynote-worthy speakers.
* **It's completely free** – Yep, no cost. Nada. Come join us live and be part of the conversation and even ask the speakers your questions live or watch the recording as soon as the event is done. You don't need to pay for flights, hotels, conference tickets and yet you still get to see some of the best speakers giving important talks.

So I hope you'll join me there next week!

[![TheJam.dev 2024](https://cfe.dev/img/banners/The-Jam-Dev-2024.jpg)](https://thejam.dev)
Navigating 2024 with Insights, Collaboration, and DevOps Achievements
Published: 2024-01-18 13:06:38

Happy New Year, beautiful people! 🎉 As we step into 2024, I can't help but reflect on the incredible journey we've had together. Writing articles and sharing insights with you has been a privilege, and your support has made it an unforgettable experience.

In 2023, I embarked on the adventure of crafting articles, and it turned out to be a year filled with growth, learning, and meaningful connections. Your comments and likes, especially on the article about DevOps, warmed my heart, and I want to express my deepest gratitude for your engagement.

As we dive into this new year, let's continue this journey of learning and exploration together. There's so much more to discover, and I'm excited to share it with each one of you. Your support means the world to me.

Don't forget to follow, like, and share my posts as we navigate through the exciting realms of technology, development, and DevOps. Let's make 2024 a year of even more collaboration, insights, and shared accomplishments.

Wishing you all an amazing year ahead filled with success, joy, and continuous learning. Here's to the adventures that await us!

Cheers,
Arby
Best SEO Company We Position Your Website In Front Of Your Ideal Customers
Tags: devops, python, productivity, css
Published: 2024-01-18 13:00:20

Climb Rankings and Capture Audiences! We are the [Best SEO Company](https://www.oragetechnologies.com/best-seo-company/) that can help you achieve your dream ranking in the fastest possible time frame that your business deserves and bring your keywords to the first SERP. We can help you beat the competition with better online visibility and greater website traffic and navigate algorithms to nurture success through SEO strategies.
Which Institute provides Free UPSC Mock Interview Program?
Published: 2024-01-18 12:46:09

**[99Notes- Best IAS Institute in Delhi](https://99notes.in/)** is Providing **[Free UPSC Mock Interview Program](https://99notes.in/upsc-mock-interview-questions-fees-strategy/)** to UPSC Aspirants for better Results under the visionary leadership of our founder, Mr. Anmol Goel. We supplied top-tier content and technology solutions to major IAS institutes in Delhi, establishing ourselves as a trusted partner in the academic realm. However, our ambition wasn't confined to the backstage.
Coinbase VS SEC
Tags: discuss, news, security, blockchain
Published: 2024-01-18 12:42:00

Details from the Coinbase vs SEC court case:

The SEC cannot present clear arguments, while Coinbase's lawyers provide strong evidence.
The SEC argues that Bitcoin, the only asset traded on Coinbase, is not a security.
The judge remarked, "I can already see a future where simple collectibles are regulated by the SEC."
The SEC's theory that they could have authority over anything with market value is seen by some as absurd.

The initial court proceedings seem to be favoring Coinbase, but the legal battle is ongoing. Drawing from the SEC vs Ripple case, Coinbase has a chance based on past legal experiences.
A Standalone .Net Desktop Application in less than 1M !!!
Tags: photino
Published: 2024-01-18 12:36:57

If you ever wanted a tiny sized .Net desktop application, then you are in luck.
Look at this project : [Photino.AOT](https://github.com/lixinyang123/PhotinoAOT), you will be very amazed :-)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zr5r2gfmevjl4sgxts7j.png)
"Day 13: Excel Essentials Unveiled - Sharing Today's Insights on My Learning Adventure! 📊🚀 #ExcelSkills #LearningJourney"
Published: 2024-01-18 12:34:01

EXCEL - 12



Data Cleaning formula :- 


TRIM
PROPER
LOWER and UPPER
CLEAN
SUBSTITUTE
LEFT, RIGHT, MID
LEN
CLEAN and TRIM Combination
IF and ISNUMBER
IF and ISTEXT
IF and ISBLANK
TEXT and DATEVALUE

TRIM:
Removes extra spaces from text, leaving only single spaces between words.=TRIM(text)

PROPER:
Capitalises the first letter of each word in a text string.
=PROPER(text)



LOWER and UPPER:
Converts text to lowercase or uppercase, respectively.
=LOWER(text)
=UPPER(text)



CLEAN:
Removes non-printable characters from text.
=CLEAN(text)




SUBSTITUTE:
Replaces occurrences of a specified substring with another substring.
=SUBSTITUTE(text, old_text, new_text, [instance_num])




LEFT, RIGHT, MID:
Extracts a specified number of characters from the left, right, or middle of a text string.
=LEFT(text, num_chars)
=RIGHT(text, num_chars)
=MID(text, start_num, num_chars)




LEN:
Returns the number of characters in a text string.
=LEN(text)



CLEAN and TRIM Combination:
Combines the CLEAN and TRIM functions to remove non-printable characters and extra spaces from text.
=TRIM(CLEAN(text))



IF and ISNUMBER:
Checks if a value is a number and returns a specified result based on the condition.
=IF(ISNUMBER(value), result_if_true, result_if_false)



IF and ISTEXT:
Checks if a value is text and returns a specified result based on the condition.
=IF(ISTEXT(value), result_if_true, result_if_false)



IF and ISBLANK:
Checks if a cell is blank and returns a specified result based on the condition.
=IF(ISBLANK(cell), result_if_true, result_if_false)


TEXT and DATEVALUE:
Converts a text representation of a date to a serial number.
=DATEVALUE(TEXT(date_text, "mm/dd/yyyy"))









Best option after all the data is clean for data separation 

Text to Column option is the best for data cleaning after we remove all the unwanted details in the datasets.

Flash fill ( Ctrl + E ) = In this you have to give an example and then just press flash fill.

These text functions in Excel are valuable for cleaning, formatting, and manipulating text data, providing flexibility and control over the presentation of text in your worksheets.
In summary, data validation is a powerful tool in Excel that enhances data accuracy and efficiency.
Follow me on this where every day will be added if i learn something new about it  :- https://dev.to/nitinbhatt46



Thank you for your time.
Getting Started with the .NET MAUI Date Picker Control
Tags: webdev, dotnet, csharp, dotnetmaui
Published: 2024-01-18 12:24:44

Learn how to create and configure the Syncfusion .NET MAUI Date Picker control in a .NET MAUI project using Visual Studio 2022. 

In this video, I will demonstrate how to integrate the Date Picker control into a .NET MAUI project. I'll show you how to customize the Date Picker's size, programmatically select a date, add a header and footer, customize the text on the validation buttons, and adjust the date format. 

The Syncfusion .NET MAUI Date Picker is a fully customizable control for selecting a date, allowing users to add and customize header text. It offers eight predefined formats for displaying date values. It supports a customizable column header view, enabling the separation of headings for each column. Additionally, the .NET MAUI Date Picker provides validation buttons (OK and Cancel) in the footer view, and you can customize both the validation buttons' text and background colors.

 You can display the Date Picker as a pop-up using the dialog mode. The relative dialog mode aligns the picker at a specific position, enhancing the app's visual appeal in the UI. You can also populate date values individually with intervals for days, months, and years. 

The .NET MAUI Date Picker enables date selection through tap and scroll interactions. You can restrict the selection of date items to within specified minimum and maximum dates. 

**Tutorial videos:** https://www.syncfusion.com/tutorial-videos

**Download the getting started example from GitHub: **https://github.com/syncfusion/maui-demos/tree/master/MAUI/Picker/SampleBrowser.Maui.Picker/Samples/DatePicker/GettingStarted

{% youtube PeQf-5pPCWo %}
PKWIN
Published: 2024-01-18 12:20:49

Đăng ký PKWIN được thực hiện như thế nào? Quy trình này cần lưu ý những vấn đề gì để mang lại thành công nhanh nhất
Tên doanh nghiệp: PKWIN
Website: https://pkwin.ink/
Địa chỉ: 54 Trần Bình Trọng, Phường 5, Thành phố Cà Mau, Cà Mau, Việt Nam
Email: pkwin@gamil.com
Phone: 0839032400
Code: 98100
#pkwin #pkwinink #nhacaipkwin #pkwincasino
https://pkwin.ink/dang-ky-pkwin/
https://pkwin.ink/dang-nhap-pkwin/
https://pkwin.ink/tai-app-pkwin/
https://pkwin.ink/nap-tien-pkwin/
https://pkwin.ink/rut-tien-pkwin/
https://pkwin.ink/khuyen-mai-pkwin/
https://pkwin.ink/gioi-thieu-pkwin/
https://pkwin.ink/cham-soc-khach-hang-pkwin/
Maximizing cloud efficiency: how AWS Instance Scheduler slashes costs and optimizes resources
Tags: aws, ec2, scheduler, devops
Published: 2024-01-18 12:19:58

Tech companies are reported to waste up to 35% of their cloud budgets, especially in environments like development, staging, or QA, which don't need 24/7 operation. To tackle this, implementing cost-effective strategies such as AWS Instance Scheduler is vital. This tool optimizes cloud expenses by aligning server operations with actual usage needs.

A case study from the retail industry demonstrates the impact of AWS Instance Scheduler. A team comprising developers, QA engineers, DevOps, and cloud engineers, among others, managed to cut their AWS bill by up to 70% for development and staging resources. This was achieved by automating and scheduling the operation of 13 testing environments and the staging environment based on actual usage, reducing annual expenses by $40,000.

AWS Instance Scheduler allows automatic starting and stopping of EC2 and RDS instances, offering benefits like operational efficiency, cost reduction, and scalability. It's effective in various scenarios, including optimizing development, QA, test environments, and staging environments.

To illustrate potential savings, consider a Dev environment using EC2 instances for 40 hours a week. By switching off these instances outside of working hours, savings of $12.8 per week per instance can be achieved.

While AWS Instance Scheduler incurs some costs (about $2 per month), the overall savings substantially outweigh these expenses, making it a strategic investment.

Setting up AWS Instance Scheduler involves steps like IAM role setup, Lambda code preparation, EventBridge rules creation, and regular maintenance. At ITSyndicate, we use Terraform to automate this setup process, available at [ITSyndicate Terraform GitHub](https://github.com/itsyndicate/terraform-aws-instance-scheduler).

In conclusion, AWS Instance Scheduler is a crucial tool for cost optimization in cloud infrastructure. It's important to plan, adhere to the principle of least privilege, regularly update and test configurations, align with business policies, and use metrics for efficiency evaluation. For more detailed information and insights, visit the complete article at [ITsyndicate](https://itsyndicate.org/blog/cutting-cloud-costs-how-to-use-aws-instance-scheduler-effectively/).
Day 2: Microsoft Cost Management + Billing
Tags: 100daysofcloud, adcstreak, microsoftazure
Published: 2024-01-18 12:17:07

## What is Microsoft Cost Management and Billing?

- **Microsoft Cost Management:** 
It is a set of tools that help an organization manage their cost and they can also optimize their workload using cost management and related tools.

- **Billing:**
 It is where you manage your accounts, invoices, and payments.

Together, Cost Management and Billing are your gateway to the Microsoft Commerce system.

Cost Management is available from within the Billing experience. It's also available from every subscription, resource group, and management group in the Azure portal.


![](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gmpywp00ybcvi24ktb5j.png)

A few examples of what you can do in Cost Management and Billing include:

- Report on and analyze costs in the Azure portal, Microsoft 365 admin center, or externally by exporting data.

- Monitor costs proactively with budget, anomaly, and scheduled alerts.

- Split shared costs with cost allocation rules.

- Create and organize subscriptions to customize invoices.

- Configure payment options and pay invoices.

- Manage your billing information, such as legal entity, tax information, and agreements.

---

## Ways to Optimize Costs in Azure 

Microsoft offers a wide range of tools for optimizing your costs. Some of these tools are available outside the Cost Management and Billing experience but are included for completeness.

A. Some services are always free on Microsoft Azure following are 
   some of the services listed which are always free :

- Azure SQL database: 100k vCore [unit for virtual CPU] seconds 
     of db serverless usage with 32 GB of storage.
- Azure Cosmos DB: 1,000 requests units per second provisioned 
    [throughput](https://www.google.com/url? 
sa=i&url=https%3A%2F%2Fwww.investopedia.com%2Fterms%2Ft%2Fthroughput.asp&psig=AOvVaw3iwB6zqmA33OFriqRQGAdV&ust=1705663757198000&source=images&cd=vfe&opi=89978449&ved=0CBMQjRxqFwoTCKCAxeXq5oMDFQAAAAAdAAAAABAQ) with 25 GB storage.
- Azure App Services: 10 web, mobile, or API apps with 1 GB 
  storage 1 hour per day
- Azure Functions: 1 million requests.
- Azure Event Grid: 100k operations.
 
B. You can use Azure Pricing Calculator to calculate the cost of 
   overall services that may be used when deploying your 
   architecture for your project.
Also see : [Visit here for Azure Calculator](https://azure.microsoft.com/en-us/pricing/calculator/)

C. You can use Azure Advisor which provides you recommendations on 
   which services are been underutilized, based on it you can 
   decide to dismiss it or not.
Don't forget to check out the video to understand [Azure Advisor](https://youtu.be/cSNPoAb-TNc). 

D. Use reservations to advance book your virtual machine for your businesses and save money.
월드 카지노 사기 검증: 온라인 도박 경험 보호
Published: 2024-01-18 12:15:41


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qn4qz8vb38qvied98nj6.png)

온라인 도박의 광대한 영역에서 사기와 사기 활동의 숨어 있는 존재로 인해 행운을 시험해 보는 즐거움이 때때로 가려질 수 있습니다. 더 많은 플레이어가 온라인 카지노에 몰려들면서 신뢰할 수 있는 월드 카지노 사기 검증 사이트의 필요성이 가장 중요해졌습니다. [먹튀검증사이트](https://oncamarket.com)

검증의 중요성

온라인 카지노 확인이 중요한 이유

온라인 카지노 사기는 점점 더 정교해지고 있으며, 따라서 플레이어는 가상 도박 세계에 뛰어들기 전에 플랫폼의 적법성을 확인하는 것의 중요성을 이해하는 것이 필수적입니다.

일반적인 사기 전술

사기꾼이 사용하는 일반적인 전술 식별

가짜 보너스부터 조작된 게임까지, 사기꾼은 의심하지 않는 플레이어를 속이기 위해 다양한 전술을 사용합니다. 안전한 도박 경험을 위해서는 이러한 위험 신호를 인식하는 것이 중요합니다.

세계 카지노 사기 검증 사이트

검증 사이트는 온라인 도박 업계의 사기 행위에 대한 보호자 역할을 합니다. 카지노의 진정성을 보장하는 역할은 아무리 강조해도 지나치지 않습니다.

카지노를 확인하는 방법

온라인 카지노 확인을 위한 단계별 가이드

확인 프로세스를 탐색하는 것이 어렵게 보일 수 있지만 단계별 가이드를 통해 플레이어는 정보에 입각한 결정을 내리고 잠재적인 사기로부터 자신을 보호할 수 있습니다.

검증 사이트 이용의 이점

안전한 도박 경험을 보장하는 것이 검증 사이트의 주요 목표입니다. 이러한 플랫폼을 활용하여 얻을 수 있는 다양한 이점을 알아보세요.

인기 검증 플랫폼

평판이 좋은 검증 플랫폼 강조

모든 검증 사이트가 동일하게 생성되는 것은 아닙니다. 온라인 도박 커뮤니티 내에서 신뢰를 얻은 가장 평판이 좋은 플랫폼을 살펴보세요.

사용자 평가

검증을 통해 혜택을 받은 사용자의 실제 경험

다른 사용자의 긍정적인 경험에 대해 읽는 것은 강력한 동기 부여가 될 수 있습니다. 검증 사이트를 통해 플레이어가 사기 피해를 입지 않도록 어떻게 구했는지 실제 사례를 통해 알아보세요.

사례 연구

온라인 카지노 사기의 특정 사례 조사

자세한 사례 연구를 통해 온라인 카지노 사기의 복잡성과 검증 사이트가 이를 방지하는 데 어떻게 중추적인 역할을 했는지 이해하세요.

규제 조치

사기 예방을 위한 규제 조치에 대한 논의

정부와 규제 기관은 온라인 카지노 사기를 억제하기 위한 조치를 취하고 있습니다. 플레이어를 보호하기 위해 마련된 조치에 대해 계속해서 알아보세요.

책임 있는 도박 관행

책임감 있는 도박 행위를 장려하는 것은 공동의 책임입니다. 플레이어가 보다 안전한 온라인 도박 환경에 어떻게 기여할 수 있는지 알아보세요.

지속적인 모니터링

지속적인 검증 및 모니터링의 중요성

사기는 진화하고 있으며 우리의 방어 수단도 진화해야 합니다. 지속적인 모니터링의 중요성을 살펴보고 최신 사기 동향에 대한 최신 정보를 받아보세요.

사기의 새로운 추세

새로운 사기 전술에 대한 최신 정보를 받아보세요

기술이 발전함에 따라 사기 전술도 발전하고 있습니다. 온라인 카지노 사기의 새로운 동향을 파악하여 앞서 나가십시오.

온라인 카지노가 끝없는 엔터테인먼트 가능성을 제공하는 세상에서 검증을 통해 귀하의 경험을 보호하는 것은 타협할 수 없습니다. 적극적으로 정보를 얻고 걱정 없는 도박 여행을 즐겨보세요.

 

 

여기를 방문하세요: https://oncamarket.com
13 Ways To Speedup Python Loops
Tags: python, programming, beginners, tutorial
Published: 2024-01-18 12:14:22

The right tool for the right job always helps you a lot and speeds up things. We can use the right tool if we know if that exists and where to use it. Nirmalya Ghosh covered [here](https://www.nirmalya.net/posts/2023/12/speed-up-python-loop/) some ways like where to use map & etc to speed up Python loops.