Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,946
» Latest member: blackopsdlc
» Forum threads: 21,999
» Forum posts: 22,966

Full Statistics

Online Users
There are currently 1139 online users.
» 0 Member(s) | 1134 Guest(s)
Applebot, Baidu, Bing, Facebook, Google

Latest Threads
[Steam Release] The Unive...
Forum: New Game Releases
Last Post: xSicKxBot

» Replies: 0
» Views: 8
[DevBlog MS] Creating a m...
Forum: C#, Visual Basic, & .Net Frameworks
Last Post: xSicKxBot

» Replies: 0
» Views: 9
[WoW Retail News] Fixed C...
Forum: World of Warcraft
Last Post: xSicKxBot

» Replies: 0
» Views: 12
[PS.Blog] Fading Echo mak...
Forum: Sony Discussion
Last Post: xSicKxBot

» Replies: 0
» Views: 11
[Steam Release] Cowbots a...
Forum: New Game Releases
Last Post: xSicKxBot

» Replies: 0
» Views: 16
[Dev News] September Free...
Forum: Game Development
Last Post: xSicKxBot

» Replies: 0
» Views: 12
Marvel Rivals Venom guide...
Forum: PC Discussion
Last Post: xSicKxBot

» Replies: 0
» Views: 18
[WoW Retail News] Midnigh...
Forum: World of Warcraft
Last Post: xSicKxBot

» Replies: 0
» Views: 22
[Steam Release] Kodon
Forum: New Game Releases
Last Post: xSicKxBot

» Replies: 0
» Views: 22
[WoW Retail News] Downloa...
Forum: World of Warcraft
Last Post: xSicKxBot

» Replies: 0
» Views: 18

 
  News - Amazon Prime Members Can Stream 6 Games For Free This Month
Posted by: xSicKxBot - 09-02-2022, 03:20 PM - Forum: Lounge - No Replies

Amazon Prime Members Can Stream 6 Games For Free This Month

The Prime Gaming Channel's September game-streaming lineup is live now. Amazon Prime subscribers can stream six games at no additional cost this month. This month’s lineup includes platformers new and old, a few racing games, and a massive action RPG for Prime members to check out on its cloud streaming service. You can stream these games on PC, Mac, iOS, Android, Amazon Fire devices, and even some Samsung TVs.

Amazon Luna Prime Gaming Channel games for September 2022

Available until September 30

  • Earthworm Jim
  • EVERSPACE
  • Hot Wheels Unleashed
  • Riptide GP: Renegade
  • Yooka-Laylee & The Impossible Lair
  • Ys IX: Monstrum Nox

Amazon Luna and the Prime Gaming channel are included with Amazon Prime memberships. You can sign up for a 30-day free trial of Amazon Prime and enjoy all these games, plus all the other perks the service includes.

Continue Reading at GameSpot

https://www.gamespot.com/articles/amazon...01-10abi2f

Print this item

  PC - I Was a Teenage Exocolonist
Posted by: xSicKxBot - 09-02-2022, 03:20 PM - Forum: New Game Releases - No Replies

I Was a Teenage Exocolonist



Spend your teenage years on an alien planet in this narrative RPG with card-based battles. Explore, grow up, and fall in love. The choices you make and skills you master over ten years will determine the course of your life and the survival of your colony.

Publisher: Northway Games

Release Date: Aug 25, 2022




https://www.metacritic.com/game/pc/i-was...xocolonist

Print this item

  [Tut] JavaScript Validate Email using Regular Expression (regex)
Posted by: xSicKxBot - 09-01-2022, 09:47 PM - Forum: PHP Development - No Replies

JavaScript Validate Email using Regular Expression (regex)

by Vincy. Last modified on September 1st, 2022.

This tutorial helps to learn how to validate email using regular expression (regex) in JavaScript. It has more than one example of how to do email validation.

Those examples differ in the regex patterns used and in the handling of input email.

The below quick example uses a regex pattern with a JavaScript match() function to validate email. Before finding the match, it converts the input email to lowercase.

Quick example


const validateEmail = (email) => { return String(email) .toLowerCase() .match( /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-z\-0-9]+\.)+[a-z]{2,}))$/ );
};

Test results


When receiving an invalid email format, it returns null. Otherwise, it returns an array of content matched with the regex.

Input: vincy#example
Output: null. Input: vincy@example.com
Output: vincy@example.co,vincy,vincy,,,example.co,,example.co,example.

Simple Email Validation in JavaScript using regex


This simple email validation script does a basic check with the input email string.

It validates the input email if it has the expected format regardless of the length and the data type.

I have added this example just to understand how to do pattern-based validation with regex in JavaScript.

I prefer to use the quick example and the strict validation example follows.

simple-validation.html

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JavaScript Simple Email Validation using Regular Expression (regex)</title>
<link rel='stylesheet' href='style.css' type='text/css' />
<link rel='stylesheet' href='form.css' type='text/css' />
</head>
<body> <div class="phppot-container"> <h1>JavaScript Simple Email Validation using Regular Expression (regex)</h1> <div class="tile-container"> <form name="form"> <div class="row"> <label for="email">Email address: </label> <input id="email" name="email" /> </div> <div class="row"> <input type="submit" name="submit" value="Submit" on‌click="validateEmail(document.form.email)" /> </div> </form> </div> </div> <script> function matchEmailRegex(emailStr) { var emailRegex = /\S+@\S+\.\S+/; return emailStr.match(emailRegex); }; // validates in the form anystring@anystring.anystring // no more fancy validations function validateEmail(emailField) { var emailStr = emailField.value; if (matchEmailRegex(emailStr)) { alert("Entered value is a valid email."); } else { alert("Entered value is not an email."); } return false; } </script>
</body>
</html>

Test results


Input: vincy
Output: Entered value is not an email. Input: vincy@example.c
Output: Entered value is a valid email.

How to do strict email validation in JavaScript


This example uses an almost similar regex pattern that is used in the quick example. But, it handles the return value of the JavaScript match to output the validation message.

It gives a code to directly include in an application validation script to validate a form email input.

The alert() can be replaced with any form of letting the end user know about the validation status.

strict-validation.html

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JavaScript Validate Email using Regular Expression (regex)</title>
<link rel='stylesheet' href='style.css' type='text/css' />
<link rel='stylesheet' href='form.css' type='text/css' />
</head>
<body> <div class="phppot-container"> <h1>JavaScript Validate Email using Regular Expression (regex)</h1> <div class="tile-container"> <form name="form"> <div class="row"> <label for="email">Email address: </label> <input id="email" name="email" /> </div> <div class="row"> <input type="submit" name="submit" value="Submit" on‌click="validateEmail(document.form.email)" /> </div> </form> </div> </div> <script> function matchEmailRegex(emailStr) { var emailRegex = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; return emailStr.match(emailRegex); }; function validateEmail(emailField) { var emailStr = emailField.value; if (matchEmailRegex(emailStr)) { alert("Entered value is a valid email."); } else { alert("Entered value is not an email."); } return false; } </script>
</body>
</html>

Test results


Unlike the simple example, it strictly validates the email prefix with the allowed special characters.

It also checks the domain name format to validate the email. The following results show the test cases and respective outputs of the JavaScript email validation.

Input: vincy
Output: Entered value is not an email. Input: vincy@example.c
Output: Entered value is not an email. Input: vincy@example.com
Output: Entered value is a valid email.

Download

↑ Back to Top



https://www.sickgaming.net/blog/2022/09/...ion-regex/

Print this item

  (Free Game Key) Shadow of the Tomb Raider Def. Ed. and Submerged: Hidden Depths
Posted by: xSicKxBot - 09-01-2022, 09:47 PM - Forum: Deals or Specials - No Replies

Shadow of the Tomb Raider Def. Ed. and Submerged: Hidden Depths

Grab these games on the Epic Games Store

❤️ Shadow of the Tomb Raider: Definitive Edition
https://store.epicgames.com/p/shadow-of-the-tomb-raider

❤️ Submerged: Hidden Depths
https://store.epicgames.com/p/submerged-hidden-depths-6065a1

Knockout city has some items that are free too

The games is free to keep until Thursday, September 8, 2022 5:00 PM.

Next week's freebies:
Hundred Days - Winemaking Simulator
Realm Royale Reforged Epic Launch Bundle

Store Page[www.gog.com]
Free to claim for less than 48 hours

We are welcoming everyone to join our discord[discord.gg]. We are more active there on finding giveaways, small or large, and there are daily raffles you can participate.

?GrabFreeGames.com ?Twitter ?Steam Curator ?Facebook[fb.me]?Discord[discord.gg]
❤️Support us: HumbleBundle Partner[www.humblebundle.com] Fanatical Affiliate[www.fanatical.com]


https://steamcommunity.com/groups/GrabFr...5115666075

Print this item

  (Indie Deal) Vorax on Steam, 30MTD Alpha, Sales ending soon
Posted by: xSicKxBot - 09-01-2022, 09:47 PM - Forum: Deals or Specials - No Replies

Vorax on Steam, 30MTD Alpha, Sales ending soon

30 Minutes to Die ALPHA FREEbie
[freebies.indiegala.com]
Grab the Alpha and try it for free. You may even wishlist on Steam too:
https://store.steampowered.com/app/2118580/30_minutes_to_die/
https://www.youtube.com/watch?v=284Qpkv5n3Y
Play the Vorax Alpha on Steam!
https://store.steampowered.com/app/1874190/Vorax/
Happy Hour: The GameCreators 2 Bundle
[www.indiegala.com]
https://www.youtube.com/watch?v=2L-1x9u4cTs
Stay Inside, Stay Safe and Enjoy Good Games.
Check out IndieGala on Twitter, YouTube & Facebook[www.facebook.com]


https://steamcommunity.com/groups/indieg...7425009139

Print this item

  PC - Islets
Posted by: xSicKxBot - 09-01-2022, 09:47 PM - Forum: New Game Releases - No Replies

Islets



Iko is an aspiring yet hopeful warrior exploring the land and sky to reunite a series of floating islands. With his rickety airship, he must travel from island to island in order to reignite each one's magnetic core while fighting off the many adversaries standing in his way.

Islets is a surprisingly wholesome metroidvania about making connections with the people around you. By reuniting the islands and befriending a cast of charming characters, the world expands and reveals new parts of each area for Iko to explore. Scour every nook and cranny in order to collect the many upgrades hidden around this world and face its numerous hidden challenges!

There's also a tour guide to show you around, but you should be careful. The guy's got some really weird vibes...

Publisher: Armor Games

Release Date: Aug 24, 2022




https://www.metacritic.com/game/pc/islets

Print this item

  News - Crisis Core: Final Fantasy 7 Reunion - Everything We Know
Posted by: xSicKxBot - 09-01-2022, 09:47 PM - Forum: Lounge - No Replies

Crisis Core: Final Fantasy 7 Reunion - Everything We Know

Square Enix isn't stopping with merely bringing Cloud Strife's journey to a new generation of players--a remake of Crisis Core: Final Fantasy 7 is coming and with it, the story of the legendary hero Zack Fair. Revealed during 2022's Final Fantasy 7 25th Anniversary Celebration, Crisis Core: Final Fantasy 7 Reunion is a faithful remake of 2007's Crisis Core. The game delves deep into what happened leading up to the events of Final Fantasy 7, as well as how Zack is an incredibly important part of Cloud, Aerith, Tifa, and Sephiroth's history. Here is everything you need to know about the game before it hits shelves later this Winter.

Release date

When Crisis Core Reunion was announced earlier this year, it came with a pretty exciting release window: Winter 2022. However, despite the holiday season rapidly approaching, Square Enix has not yet confirmed exactly what day Crisis Core Reunion is scheduled to release. With Final Fantasy 16 and Final Fantasy 7 Rebirth scheduled to hit shelves in 2023, we can safely assume the team is gunning to hit their intended release date, so hopefully we won't bump into any dreaded delays.

Platforms

Though Final Fantasy 7 Remake is only available on PlayStation and PC, Crisis Core Reunion will be significantly more accessible. Crisis Core Reunion is slated to release on PlayStation 5, PlayStation 4, Xbox Series X|S, Xbox One, Nintendo Switch, and PC via Steam. In an interview with Gamespot, producer Yoshinori Kitase said this was to make up for the fact that the game's original PSP release was so limited. Kitase also noted that the original Final Fantasy 7 is now available on all of these platforms, so they thought it would be best to make sure fans of the 1997 version could also experience Zack's story.

Continue Reading at GameSpot

https://www.gamespot.com/articles/crisis...01-10abi2f

Print this item

  [Tut] Python Convert Markdown Table to CSV
Posted by: xSicKxBot - 09-01-2022, 01:21 AM - Forum: Python - No Replies

Python Convert Markdown Table to CSV

5/5 – (1 vote)

Problem


Given the following Markdown table stored in 'my_file.md':

| 1 | 2 | 3 | 4 | 5 |
|-------|-----|------|------|------|
| 0 | 0 | 0 | 0 | 0 |
| 5 | 4 | 3 | 2 | 1 |
| alice | bob | carl | dave | emil |

? Python Challenge: How to convert the Markdown table to a CSV file 'my_file.csv'?


Solution


To convert a Markdown table .md file to a CSV file in Python, first read the Markdown table file by using the f.readlines() method on the opened file object f, by splitting along the markdown table separator symbol '|'. Clean up the resulting list (row-wise) and add all rows to a single list of lists. Then create a DataFrame from the list of lists and use the DataFrame.to_csv() method to write it to a CSV file.

An example is shown in the following script that you can use for your own conversion exercise by replacing only the in-file and out-file names highlighted below:

import pandas as pd # Convert the Markdown table to a list of lists
with open('my_file.md') as f: rows = [] for row in f.readlines(): # Get rid of leading and trailing '|' tmp = row[1:-2] # Split line and ignore column whitespace clean_line = [col.strip() for col in tmp.split('|')] # Append clean row data to rows variable rows.append(clean_line) # Get rid of syntactical sugar to indicate header (2nd row) rows = rows[:1] + rows[2:] print(rows)
df = pd.DataFrame(rows)
df.to_csv('my_file.csv', index=False, header=False)

The resulting CSV file 'my_file.csv':

1,2,3,4,5
0,0,0,0,0
5,4,3,2,1
alice,bob,carl,dave,emil

Learn More


? Background Tutorials: The code uses a multitude of Python features. Check out these articles to learn more about them:



https://www.sickgaming.net/blog/2022/08/...le-to-csv/

Print this item

  (Indie Deal) Night Light Bundle & Super Robot Wars 30 Ultimate Deal
Posted by: xSicKxBot - 09-01-2022, 01:21 AM - Forum: Deals or Specials - No Replies

Night Light Bundle & Super Robot Wars 30 Ultimate Deal

Night Light Bundle | 6 Steam Games | 95% OFF
[www.indiegala.com]
?Drive, drift, drag, fast cars, fast life, from morning until night, but racing has no stop light, speed will keep you awake until sunrise, with racing video games like: Strange Night, iREC, CrashMetal Cyberpunk, Drift Horizon Online, Drive for Your Life & JetX VR

https://www.youtube.com/watch?v=XhoFlz_NLsc
Super Robot Wars 30 Ultimate Edition Historical Deal
[www.indiegala.com]
The Digital Ultimate Edition includes the Super Robot Wars 30 full game, Season Pass, Bonus Mission Pack, and Premium Sound & Data Pack. Includes 31 anime themes and soundtracks, 15 original songs, and 51 reference images


Sales, sales and more sales
Pre-Order Keys now available for Spider-Man![www.indiegala.com]
https://www.youtube.com/watch?v=1E051WtpyWg
[www.indiegala.com]
Stay Inside, Stay Safe and Enjoy Good Games.
Check out IndieGala on Twitter, YouTube & Facebook[www.facebook.com]


https://steamcommunity.com/groups/indieg...4759739904

Print this item

  News - Best PS5 Controllers Available Now
Posted by: xSicKxBot - 09-01-2022, 01:21 AM - Forum: Lounge - No Replies

Best PS5 Controllers Available Now

The DualSense is undoubtedly the best PS5 controller and arguably Sony's coolest controller to date. So right out of the box, you already have the best controller for PlayStation 5. It's not a bad idea to have an extra DualSense or two around, especially since it's now available in six different color schemes. That said, there are other controller options beyond the DualSense that you should consider. Third-party PS5 controller options are slim when it comes to actually playing PS5 games, but third-party retailer Scuf Gaming has released a really nice premium option, the Scuf Reflex. Also, some of the best PS4 controllers are directly compatible with Sony's next-gen console, while others can be used with backwards compatible PS4 games on PS5. We've rounded up the best PS5 controllers right now. And with Sony reportedly set to reveal its own Pro-style controller, it's certainly possible that this list will change in the future.

Whether you're looking for the best PS5 controller for general use (spoiler: It's the DualSense) or options for fighting games, racing games, and streaming Netflix, there are a handful of great controllers we recommend using with the PS5 from reliable brands like Logitech, Razer, and Trustmaster. Though this list will most certainly continue to grow and evolve as we get further into the PS5's lifespan, here are the best PlayStation 5 controller options to consider so far. And for more great gamepads, see the best Switch controllers and best Xbox controllers for 2022.

Continue Reading at GameSpot

https://www.gamespot.com/articles/best-p...01-10abi2f

Print this item