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: 22,013
» Forum posts: 22,980

Full Statistics

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

Latest Threads
When does Godzilla releas...
Forum: PC Discussion
Last Post: xSicKxBot

» Replies: 0
» Views: 12
[WoW Retail News] Ula'tek...
Forum: World of Warcraft
Last Post: xSicKxBot

» Replies: 0
» Views: 14
[DevBlog MS] Microsoft is...
Forum: C#, Visual Basic, & .Net Frameworks
Last Post: xSicKxBot

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

» Replies: 0
» Views: 18
What is Celestial Codex i...
Forum: PC Discussion
Last Post: xSicKxBot

» Replies: 0
» Views: 23
[Ubuntu News] Fine tune y...
Forum: Linux, FreeBSD, and Unix types
Last Post: xSicKxBot

» Replies: 0
» Views: 16
[WoW Retail News] Xal'ata...
Forum: World of Warcraft
Last Post: xSicKxBot

» Replies: 0
» Views: 34
[Ubuntu News] Scaling And...
Forum: Linux, FreeBSD, and Unix types
Last Post: xSicKxBot

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

» Replies: 0
» Views: 25
How to unlock Maya Aguina...
Forum: PC Discussion
Last Post: xSicKxBot

» Replies: 0
» Views: 34

 
  Microsoft - Get into the holiday spirit on Skype
Posted by: xSicKxBot - 12-24-2020, 12:26 PM - Forum: Windows - No Replies

Get into the holiday spirit on Skype

24/12/2020 | Skype Blogs | Holidays on Skype

The holidays are upon us! Skype has traditionally played a key role keeping people connected during the holiday season, and this year that’s more important than ever. To that end, Skype has gotten all dressed up with your favorite holiday emojis, expressions and new background designs to help make it a magical, memorable season. We like to call it the “Holidification” of Skype!

Express yourself in the spirit of the season with friends and family


There’s so much more to a conversation than speaking. A smile, a wink, a hand signal, the nod of the head, or even a quiet little chuckle: it deepens, enriches, and engages. Did the story your Uncle John just told make you sentimental? Pop a holiday tree emoji in the chat window. Talking with your cousin in London about whether reindeers really know how to fly? Give her Rudolph the Red-nosed Reindeer emoji with a blinking red nose! Get a sweet message from your Mom in the chat window? Respond to her comment with a holiday-themed reaction. Skype puts seasonal-themed emojis at your fingertips as you type!

“It’s all about creating more authentic connections,” says Sam Cundall, Animator and Principal Designer for Skype, Seattle, USA. “People should be able say something like, ‘wow, that sounds exactly like my friend Sam, he’s expressing himself the same way he would if he were in front of me.’ That’s the legacy of Skype’s quirkiness and humor: our emojis and expressions help make it as authentic as possible.”

Feel like you’re in a favorite holiday spot with Background Replace


Try one of our colorful holiday-themed backgrounds to set the mood. Or upload a moonscape for an out-of-this-world holiday. With Background Replace, your imagination rules. And you know how you usually have to deep-clean your place before a social get together? Not this year. One nice thing about celebrating remotely is you can use Background Replace to hide that messy living room! 

Did you know, Skype’s new ‘Together Mode’ feature brings even more fun to the festivities and makes you feel that you are in the same room when on a video chat with your friends and family; this way you can feel closer together even when apart.

“These are the latest of a multitude of beautiful rich backgrounds and themes we created this year in partnership with myriad talented artists and designers,” says Nando Costa, Microsoft Partner Director of Design, XC Storytelling. “As customers from around the globe depend on Skype for their communication needs in life, we are committed to bringing delightful and expressive moments to their everyday interactions.”

Spend as much time as you want together, now and throughout the year


Holiday celebrations tend to be filled with fun and festivities that can go on for hours, even days. That makes it kind of hard to fit everything into 40 minutes. With Skype, you can get together – free – with up to 100 people for up to 24 hours a day every day of the year. Your friends don’t need to have a Skype account either: With the Meet Now feature, it’s even easier to create video calls with just one click. No passwords. No sign-ups. Not even a download is needed! So go wild: enjoy as much time as you want sharing stories, showing off your favorite “ugly” holiday sweaters, playing games, and more. While you’re online, make some plans not just for the holidays but for birthdays, anniversaries, and other big events in the coming year. Because the time you spend together should be more than just for the holidays!

So, make this a season to remember, not because it’s the one where we all had to stay home – but the one where we still came together in the spirit of the holidays despite it all! We wish you a season filled with family, friends, and much cheer.

Happy Holidays!

We asked our teammates here at Skype about what the holidays means to them and here’s what some of them told us:

“Holidays are my favorite time of the year, especially when it comes to making memories! I love being able to connect with friends and family, whether close or far away. It’s also the time of year where I feel the most thankful the people who make life wonderful.”

–Luis Carrasco, Skype Global Product Director, San Cristobal, Venezuela

“Holidays are always a magical time for me. It’s a chance to make wonderful memories with friends and loved ones, even from a distance. Of course, I also find time to make ALL my favorite foods and play video games. Like I said: it’s a magical time!”

–Jane Gordina, Skype Software Engineer, Prague, Czech Republic

“For me, the holidays are a wonderful time of year where we can slow down and be with those we care about. I think it’s also about enjoying lots of great food, sharing, and giving. But most of all, it’s about being together even when apart.”

–Katerina Karellas, Skype Global Product Marketing Director, London, UK

“Holidays have been my favorite time of the year since I was a kid. That magical feeling of hearing holiday music, watching the lights shimmer throughout the neighborhood, and being surrounded by family and friends, is something I’ll never forget. Now that I have a family of my own, I am even more grateful for the time we spend together. The best part, though, is the spirit of giving.”

Adam Czeisler, Skype Engineering Director, Seattle, USA

“Holidays are one of the few times in the year when I can slow down and enjoy some truly unhurried time with my friends and family, near and far. This year, it’ll have to be mostly online, but I’m still eager and thankful to reconnect and just… chat!”

–Rohit Wad, Corporate Vice President, Issaquah, USA



https://www.sickgaming.net/blog/2020/12/...-on-skype/

Print this item

  News - Capcom Shows Off More Footage Of Ghosts ‘N Goblins Resurrection
Posted by: xSicKxBot - 12-24-2020, 12:26 PM - Forum: Nintendo Discussion - No Replies

Capcom Shows Off More Footage Of Ghosts ‘N Goblins Resurrection


Switch GnG Resurrection© Capcom

The announcement of Ghosts ‘N Goblins Resurrection certainly came out of the blue. While the franchise was once one of Capcom’s most famous efforts, it has fallen by the wayside in recent years, so it was a nice surprise to see the Japanese veteran dust this one off for another adventure.

The hosts of the Japanese Capcom TV channel got chance to see the game in motion recently, and while we’re still not 100% comfortable with the new visual style, it would seem that Ghosts ‘N Goblins Resurrection has lost none of the series’ penchant for challenging gameplay.

Sure, Arthur can take three hits now before he dies, but the level designs appear to be as demanding as ever. calling for pixel-perfect jumps and precision attacks. Expect to hurl a few controllers at the wall if you’re planning on picking this one up early next year.

You can watch the footage below, and the segment in question starts from around 1 hour, 17 minutes in. Prior to that, footage of Capcom Arcade Stadium is also shown.




https://www.sickgaming.net/blog/2020/12/...urrection/

Print this item

  News - Our Number One Movie Of 2020: Birds Of Prey
Posted by: xSicKxBot - 12-24-2020, 12:26 PM - Forum: Lounge - No Replies

Our Number One Movie Of 2020: Birds Of Prey

2020 was unsurprisingly light on superhero movies, and, in fact, this was the first year since 2009 that no Marvel movie hit the big screen. But that doesn't mean we were completely lacking in quality cape-and-cowl content--far from it. While the MCU may have been MIA through 2020, the vacuum was filled by an unexpected bright spot by the name of Birds of Prey--or, perhaps more accurately, called Birds of Prey and the Fantabulous Emancipation of One Harley Quinn, the title it held onto for about a week or so after it hit theaters. But it's just Birds of Prey now, and that's what really matters.

Birds of Prey was a movie that nobody saw coming, especially given Margot Robbie's introduction to the role of Harley Quinn back in 2016's Suicide Squad. The movie really had no right to shape up the way it did, not with so much stacked against it. Sitting down in a theater to finally see it at release--just a month or so before the pandemic really took hold in early February--there was an overwhelming sense of both trepidation and curiosity from the crowd. Everything about this could so easily go south, or just become a Suicide Squad Part 2. It could have brought the DCEU's winning streak to a crashing halt and regressed all the progress made right back to the rain-slicked, grey-toned monotony of days gone by.

Continue Reading at GameSpot

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

Print this item

  [Tut] Python compile()
Posted by: xSicKxBot - 12-24-2020, 05:00 AM - Forum: Python - No Replies

Python compile()

If you’re like me, you love those TLDR; overviews to grasp the big picture quickly. Here is mine about Python’s compile() function:

Python’s built-in compile() method returns an executable code object as an “Abstract Syntax Tree” represented as an ast object. By passing this code object into the exec() or eval() functions, you can run it dynamically in your Python code. This way, you can programmatically create source code and execute it at runtime. To use the function, pass the string code to be executed, the filename, and the execution mode. For example compile('print("hi")', '<string>', 'exec') creates a code object consisting of one line print("hi").

This article shows you how to use Python’s built-in compile() method.

Python compile() built-in function -- Illustrated Explanation

Usage compile()


Learn by example! Let’s say, you have a code file with the following content:

# some_code.py file
customers = {"Alice": 40000, "Bob": 33000}
print(f"Bob: {customers['Bob']}")

Here’s an example on how to use the compile() built-in function.

# Read the code from the file or define it explicitly:
code = 'customers = {"Alice": 40000, "Bob": 33000}\nprint(f"Bob: {customers[\'Bob\']}")' # Create the ast code object
code_obj = compile(code, '<string>', 'exec') # Execute the ast code object
exec(code_obj) # Result:
# Bob: 33000

First, you create the code as a string. Second, you pass the string into the compile() function to create an ast object. You can then pass this object into the exec() function and run it dynamically.

Video compile()




Why Using compile() Instead of exec() With a String?


Before you dive into the syntax, you may not be motivated to use the compile() function in the first place. Why? Because you can also use the exec() function on a string instead of a code object.

Python’s exec() function executes the Python code you pass as a string or executable object argument. This is called dynamic execution because, in contrast to normal static Python code, you can generate code and execute it at runtime. This way, you can run programmatically-created Python code.

Here’s the same code without compile():

code = 'customers = {"Alice": 40000, "Bob": 33000}\nprint(f"Bob: {customers[\'Bob\']}")'
exec(code)
# Bob: 33000

The output is the same. However, there are two advantages of using a code object:

  • You make it explicit. Without compiling the string explicitly, the exec() method would do the same work implicitly. Thus, if you need to run the same code multiple times, you can save significant compilation overhead by just compiling it once in advance.
  • You can use the powerful ast object otherwise. This gives you access to some helper methods and additional information about the code such as the names defined in the code:
>>> code_obj.co_names
('customers', 'print')

You obtain this information from a compiled string which is very convenient!

Syntax compile()


You can use the compile() method with a number of different arguments.

Syntax: 
compile(source, filename, mode, flags=0, dont_inherit=False, optimize=-1)

Arguments source A string to be compiled into a code object.
filename The file from which the code given in source was read. If this was a string, use '<string>'.
mode The execution mode—must be one of the following:
'exec' — If source is a sequence of statements
'eval' — If source is a single expression
'single' —If source is a single interactive statement
Optional: flags=0 Controls which compiler options should be activated and which future features should be allowed.
Optional: dont_inherit=False Do you want to avoid inheritance of the compiler options and future features?
Optional: optimize=-1 Optimization level of the compiler:
-1 selects the optimization level of the interpreter as given by -O options.
0 selects no optimization and __debug__ to True.
1 specifies that asserts are removed and sets __debug__ to False.
2 additionally removes docstrings.
Return Value ast Returns an AST object that represents the code as an abstract syntax tree.

Interactive Shell Exercise: Understanding compile()


Consider the following interactive code:


Exercise: Print the number associated to Alice in the dictionary!


But before we move on, I’m excited to present you my brand-new Python book Python One-Liners (Amazon Link).

If you like one-liners, you’ll LOVE the book. It’ll teach you everything there is to know about a single line of Python code. But it’s also an introduction to computer science, data science, machine learning, and algorithms. The universe in a single line of Python!


The book is released in 2020 with the world-class programming book publisher NoStarch Press (San Francisco).

Link: https://nostarch.com/pythononeliners


How to Read and Compile Code from a File


Say, you have the following code in a code file:

# filename.py file
customers = {"Alice": 40000, "Bob": 33000}
print("Bob: " + str(customers['Bob']))

How to read the code from a file, compile it, and execute it at runtime?

Here’s the code:

# 1. Read code from file
f = open('filename.py', 'r')
code = f.read()
f.close() # 2. Compile code string
code_obj = compile(code, 'filename.py', 'exec') # 3. Run the code object (ast)
exec(code_obj)

Alternatively, you can also use the following one-liner to read the code from a file:

code = open('filename.py').read()

Frankly, I don’t see a huge problem with not closing the file if you have a small script and you don’t access the file anywhere else. Python will close it automatically after the code terminates.

Summary


The Python compile() method returns an executable code object as an “Abstract Syntax Tree” that is represented as an ast object.

There are many applications of an ast such as the following: You can pass this code object into the exec() or eval() functions and run it dynamically in your Python code.

This way, you can programmatically create source code and execute it at runtime.

To use the function, you must pass the string code to be executed, the filename, and the execution mode.

For example compile('print("hi")', '<string>', 'exec') would be a valid call that creates a code object consisting of one line print("hi").


I hope you enjoyed the article! To improve your Python education, you may want to join the popular free Finxter Email Academy:

Do you want to boost your Python skills in a fun and easy-to-consume way? Consider the following resources and become a master coder!

Where to Go From Here?


Enough theory, let’s get some practice!

To become successful in coding, you need to get out there and solve real problems for real people. That’s how you can become a six-figure earner easily. And that’s how you polish the skills you really need in practice. After all, what’s the use of learning theory that nobody ever needs?

Practice projects is how you sharpen your saw in coding!

Do you want to become a code master by focusing on practical code projects that actually earn you money and solve problems for people?

Then become a Python freelance developer! It’s the best way of approaching the task of improving your Python skills—even if you are a complete beginner.

Join my free webinar “How to Build Your High-Income Skill Python” and watch how I grew my coding business online and how you can, too—from the comfort of your own home.

Join the free webinar now!

The post Python compile() first appeared on Finxter.



https://www.sickgaming.net/blog/2020/12/...n-compile/

Print this item

  Waterways & Terrain Add-Ons For Godot
Posted by: xSicKxBot - 12-24-2020, 05:00 AM - Forum: Game Development - No Replies

Waterways & Terrain Add-Ons For Godot

Today we are going hands on with two powerful Godot plugins, Waterways and Heightmap Terrain for Godot. Both are open source add-ons that work in Godot 3.2.x and both are hosted on GitHub. In the video below we showcase using easy add-on and show how they work well together.

Waterways

Formally known as WaterGenGodot on GitHub, Waterways enables you to quickly create rivers using spline controls. You have full control over the path the river follows, the look of the water and even have fine tuned control over the foam generated by collisions with other objects in the scene.

Heightmap Terrain

This add-on adds terrain creation tools to Godot. Either import and existing heightmap or create your own from scratch. You get full sculpting tools for raising and lower terrain, simulating erosion, etc. You also get tools for painting the texture layer on your newly created terrain. You also get the ability to export as a mesh or heightmap for use in other applications or engines.

Getting Started Tutorial


Installing the plugins is a straight forward exercise. Clone each project from GitHub to a directory of choice. You can get the git url on GitHub here:

Get GitHub URL for Godot Addon

Assuming you have a git client installed, from a command line run the command git clone then the copied url. For example:

git clone https://github.com/Arnklit/WaterGenGodot.git

Now in your Godot project (or create one if you dont have one already), create a folder called addons then copy the addons directory from the two just cloned projects. In your project you now simply need to enable each addon. In Godot go to Project->Project Settings menu. Now switch to the Plugins tab and make sure both are enabled:

Enabling Godot Waterways & Heightmap Terrain Plugins

Now you’re ready to go! Be sure to check the video below to see both Water Ways & Heightmap Terrain for Godot add-ons in action.






https://www.sickgaming.net/blog/2020/12/...for-godot/

Print this item

  (Free Game Key) Steam Winter Sale 2020 Guide
Posted by: xSicKxBot - 12-24-2020, 05:00 AM - Forum: Deals or Specials - No Replies

Steam Winter Sale 2020 Guide

Hello!

For the members aware of the usual procedure of the steam sale and its included features, you can view a summary of the guide at the bottom, which showcases all its features we could find and how to acquire any rewards you can get. I will of course update it with time if i find anything else.

Note that due to the high traffic of users navigating the site, the steam servers have been unresponsive during the launch. It might have calmed down a bit for now, but if there are any issues or problems loading a page, please wait a bit and try later.

Introduction
The Steam Winter Sale is one of the two biggest sale events on steam, causing your wallet to relive the 2020 experience, by undergoing a crippling economic collapse caused by a massive spreading wave of discounts as their possessor will try to minimize their wallet's financial downfall by exploring the most affordable products they could find.

Here's a list of every single sale event that happened on Steam https://steamdb.info/sales/history/

We would be remiss in not mentioning again that steam's sales don't always contain the cheapest discounts, as 3rd party sites have a chance of issuing higher discounts for steam games. Sites like:
And many more.

Likewise grey market sites such as G2A and Kinguin are also often selling very cheap games, many times the cheapest in the market. Due to their name however, grey markets are key resellers, and they had a history of people selling keys acquired via fraudulent credit card purchases, or even stolen and resold. While many never had a negative experience with these sites, there have been numerous examples of people experiencing these issues, as there will always be an innate risk associated with third party key resellers.

To check the discount history of a game, visit https://isthereanydeal.com/ and search any game of your interest and check their history of discounts on the steam platform, or from third party sites.

To check the current discounts, visit https://steamdb.info/sales/ and search with any filter you want on this sale's prices. Likewise subreddits such as GamesDeals are always helpful informing everyone of new discounts.

If you're using the steam browser, extensions such as Augmented Steam[chrome.google.com] (also on
Firefox[addons.mozilla.org]) changes the informational interface of your steam store to contain more useful info about a game, their regional pricing, and history of discounts.

Steam Awards Trading Cards
You need 10 of them to craft a Steam Awards badge:

You can also get these cards by:
  • Trading with friends.
  • Drops from purchasing on the Steam Store. (Approximately 1 card every $10 spent on the Store)
  • Crafting badges from other games. 1 badge crafted will give you 1 steam awards card.
  • Purchasing them directly from the Community Market https://steamcommunity.com/market/

Points
Ever since the Lunar Sale, you have received points for every steam store purchase you have done, approximately 100 points per 1$ that you can spend on the point shop. You can purchase various amounts of backgrounds, animated avatars, emoticons and the sorts. Keep in mind, all items bought from the shop are untradable and unmarketable.

There are 2 badges that can still be acquired ever since the summer sale. You can go on any reviews, mods or other content people made, and award them. You spend 300 points or more, giving them an award, and they get 100 points for being awarded. If you give them an award, you get a badge and 10 xp per award, meaning 300 points = 10xp. The person getting awarded also gets 10xp and another badge for BEING awarded by people.

Here are the two badges:

https://i.imgur.com/rZbSJYy.png
https://i.imgur.com/vY4RHRv.png

There is also a new seasonal badge you can buy, alongside new upgrades for your profile showcase, 3k points each upgrade.

Summary
  • Crafting any badges grants you a winter sale card and you can use the exploration queue to get 1 free card per day. You can craft a Steam Awards badge for 10 cards.

  • Visiting the steam awards will contain 10 categories you can vote, each category will drop you a free card, giving you 10 total cards.

  • On the point shop, you can claim 1 free bird sticker upon visiting it. Points can be acquired by spending money on the steam store, approximately 100 points per 1$.

  • You can spend 300 or more of those points by awarding people's contents, such as reviews, workshop mods, screenshots and the sorts, earning you a badge[i.imgur.com] upon giving the first award, with 10xp for every award you give. People who receive awards get a different badge[i.imgur.com] and 10xp, alongside 100 points.

  • You can buy the seasonal badge with your points. Likewise you can upgrade your profile showcases here for 3k points each, alongside new showcases you can purchase.

  • All prices will remain the same throughout the entire sale.

  • Be sure to consult 3rd party stores for steam keys, as Steam itself might not always have the cheapest prices.

As a reminder, please be wary of any scams or any stranger adding you as a friend that could exploit your lack of knowledge on the market or the steam platform. Use sites like https://rep.tf/, https://www.steamtrades.com/, https://steamrep.com/ to do a background check on any person you trade with. Many scammers do not necessarily have negative reputation accumulated, as many use alt accounts to take advantage of people. Low level often private accounts with no inventory value are a good start to remain wary.

Check https://www.reddit.com/r/Steam/wiki/scamtypes for a list of known methods people use to scam users.

We will answer here or in our discord[discord.gg] on any help you require.

Comment below if you find something that we've missed or anything new that we haven't added, and i will update it accordingly.

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


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

Print this item

  (Indie Deal) Christmas Tales Bundle, Mando & Konami Sale
Posted by: xSicKxBot - 12-24-2020, 05:00 AM - Forum: Deals or Specials - No Replies

Christmas Tales Bundle, Mando & Konami Sale

Christmas Tales Bundle | 8 eBooks | 93% OFF
[www.indiegala.com]
Celebrate the holidays with some festive literature from the Christmas Tales Bundle. Save an extra 30% when using any of the supported cryptocurrency options. Be fast and make sure you do not miss the special launch price.

Crypto Sale Day 12: Konami Winter Sale ,up to -92%
[www.indiegala.com]
Join our Crypto Sale, and get an EXTRA 15% OFF on all store deals when paying with a supported cryptocurrency. Get a FREE Space Rangers HD Steam Key for any store cart of $8/€7/£6 or more, while stocks last.

Mando Weekend Sale, all titles -75%
[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...6684379082

Print this item

  Microsoft - 2020 in review: 6 most-read posts from Microsoft on the Issues
Posted by: xSicKxBot - 12-24-2020, 05:00 AM - Forum: Windows - No Replies

2020 in review: 6 most-read posts from Microsoft on the Issues

As Covid-19 affected our personal and working lives, 2020 was a year of unimaginable change. Microsoft on the Issues covered topics including cybersecurity, digital skills accessibility and more, and the pandemic influenced many of the stories we brought you.

As we say goodbye to 2020, here’s a look at some of this year’s most read stories, from the Puget Sound region and beyond.

Data, supplies, community: How Microsoft is supporting efforts to combat Covid-19

Family, friends and co-workers around the world are facing the effects of the Covid-19 pandemic. Managing response efforts requires the cooperation of every sector of society. Back in March, we offered this resource to communities, non-profits and government officials.

Everyone should have access to digital skills. New grants aim to help

Microsoft’s skills initiative hopes to help 25 million people around the world secure digital skills. In June, Microsoft made a public commitment to be more inclusive as an employer and to extend Microsoft’s support and outreach programs in Black and African American communities. As part of this, Microsoft’s community skills program will provide financial grants and tech enablement to community-based non-profits reaching 5 million unemployed workers who need it most.

This is a look at i.c.stars, a rigorous, tech-focused program that provides young adults from low-income communities with the tools to develop the technical and leadership skills needed for a career in technology, a field that continues to lack diversity and be in high demand.

What is ElectionGuard?

Every election year, millions of Americans are eligible to cast their ballots to elect officials ranging from members of school boards to the President of the United States. Those millions of voters need to be confident that the democratic process is carried out without interference.

However, in recent years, technology designed to help elections run smoothly has been targeted by those seeking to influence, subvert or sabotage democracy. Microsoft has been working with governments, NGOs, academics and industry on the Defending Democracy Program. One of the components is ElectionGuard, explored in this article.

An inside look at the global battle with botnets

In March, a small team at Microsoft dismantled Necurs, one of the world’s largest botnets. It was a project that was eight years in the making, and involved coordinated legal and technical action from 35 countries. Botnets are highly sophisticated, acting as a unified threat and often run by well-resourced operators. Tracking them down and preventing them from carrying out further infections and attacks is a complex task that takes coordination across geographies and organizations. This article explored the battle with botnets around the world.

Understanding accessibility through ABCs

At Microsoft, we focus on the maxim of “nothing about us, without us” in order to create technology for people with and without disabilities. Creating and developing technologies for everybody to use involves embracing diversity and an inclusive culture in Microsoft’s own workforce.

The main obstacle to inclusion and diversity is the lack of awareness. As a starting point to educate and share, we shared our ABCs of Accessibility, from A to Z.

How AI is helping map the world’s most vulnerable places

There are places in the world that have not been mapped in detail. In the event of a natural disaster that can be a problem, as rescue teams try to understand where their help might be needed. The Humanitarian OpenStreetMap Team, or HOT, is working with Microsoft’s AI for Humanitarian Action program and Bing to combine satellite mapping, machine learning and an army of volunteers to create detailed and potentially life-saving maps. This story looks at the work HOT is doing, particularly across Africa, and explains how these maps are part of the effort to contain Ebola.



https://www.sickgaming.net/blog/2020/12/...he-issues/

Print this item

  Fedora - Deploy Fedora CoreOS servers with Terraform
Posted by: xSicKxBot - 12-24-2020, 05:00 AM - Forum: Linux, FreeBSD, and Unix types - No Replies

Deploy Fedora CoreOS servers with Terraform

Fedora CoreOS is a lightweight, secure operating system optimized for running containerized workloads. A YAML document is all you need to describe the workload you’d like to run on a Fedora CoreOS server.

This is wonderful for a single server, but how would you describe a fleet of cooperating Fedora CoreOS servers? For example, what if you wanted a set of servers running load balancers, others running a database cluster and others running a web application? How can you get them all configured and provisioned? How can you configure them to communicate with each other? This article looks at how Terraform solves this problem.

Getting started


Before you start, decide whether you need to review the basics of Fedora CoreOS. Check out this previous article on the Fedora Magazine:



Terraform is an open source tool for defining and provisioning infrastructure. Terraform defines infrastructure as code in files. It provisions infrastructure by calculating the difference between the desired state in code and observed state and applying changes to remove the difference.

HashiCorp, the company that created and maintains Terraform, offers an RPM repository to install Terraform.

sudo dnf config-manager --add-repo \ https://rpm.releases.hashicorp.com/fedor...icorp.repo
sudo dnf install terraform

To get yourself familiar with the tools, start with a simple example. You’re going to create a single Fedora CoreOS server in AWS. To follow along, you need to install awscli and have an AWS account. awscli can be installed from the Fedora repositories and configured using the aws configure command

sudo dnf install -y awscli
aws configure

Please note, AWS is a paid service. If executed correctly, participants should expect less than $1 USD in charges, but mistakes may lead to unexpected charges.

Configuring Terraform


In a new directory, create a file named config.yaml. This file will hold the contents of your Fedore CoreOS configuration. The configuration simply adds an SSH key for the core user. Modify the authorized_ssh_key section to use your own.

variant: fcos
version: 1.2.0
passwd: users: - name: core authorized_ssh_keys: - "ssh-ed25519 AAAAC3....... user@hostname"

Next, create a file main.tf to contain your Terraform specification. Take a look at the contents section by section. It begins with a block to specify the versions of your providers.

terraform { required_providers { ct = { source = "poseidon/ct" version = "0.7.1" } aws = { source = "hashicorp/aws" version = "~> 3.0" } }
}

Terraform uses providers to control infrastructure. Here it uses the AWS provider to provision EC2 servers, but it can provision any kind of AWS infrastructure. The ct provider from Poseidon Labs stands for config transpiler. This provider will transpile Fedora CoreOS configurations into Ignition configurations. As a result, you do not need to use fcct to transpile your configurations. Now that your provider versions are specified, initialize them.

provider "aws" { region = "us-west-2"
} provider "ct" {}

The AWS region is set to us-west-2 and the ct provider requires no configuration. With the providers configured, you’re ready to define some infrastructure. Use a data source block to read the configuration.

data "ct_config" "config" { content = file("config.yaml") strict = true
}

With this data block defined, you can now access the transpiled Ignition output as data.ct_config.config.rendered. To create an EC2 server, use a resource block, and pass the Ignition output as the user_data attribute.

resource "aws_instance" "server" { ami = "ami-0699a4456969d8650" instance_type = "t3.micro" user_data = data.ct_config.config.rendered
}

This configuration hard-codes the virtual machine image (AMI) to the latest stable image of Fedora CoreOS in the us-west-2 region at time of writing. If you would like to use a different region or stream, you can discover the correct AMI on the Fedora CoreOS downloads page.

Finally, you’d like to know the public IP address of the server once it’s created. Use an output block to define the outputs to be displayed once Terraform completes its provisioning.

output "instance_ip_addr" { value = aws_instance.server.public_ip
}

Alright! You’re ready to create some infrastructure. To deploy the server simply run:

terraform init # Installs the provider dependencies
terraform apply # Displays the proposed changes and applies them

Once completed, Terraform prints the public IP address of the server, and you can SSH to the server by running ssh core@{public ip here}. Congratulations — you’ve provisioned your first Fedora CoreOS server using Terraform!

Updates and immutability


At this point you can modify the configuration in config.yaml however you like. To deploy your change simply run terraform apply again. Notice that each time you change the configuration, when you run terraform apply it destroys the server and creates a new one. This aligns well with the Fedora CoreOS philosophy: Configuration can only happen once. Want to change that configuration? Create a new server. This can feel pretty alien if you’re accustomed to provisioning your servers once and continuously re-configuring them with tools like Ansible, Puppet or Chef.

The benefit of always creating new servers is that it is significantly easier to test that newly provisioned servers will act as expected. It can be much more difficult to account for all of the possible ways in which updating a system in place may break. Tooling that adheres to this philosophy typically falls under the heading of Immutable Infrastructure. This approach to infrastructure has some of the same benefits seen in functional programming techniques, namely that mutable state is often a source of error.

Using variables


You can use Terraform input variables to parameterize your infrastructure. In the previous example, you might like to parameterize the AWS region or instance type. This would let you deploy several instances of the same configuration with differing parameters. What if you want to parameterize the Fedora CoreOS configuration? Do so using the templatefile function.

As an example, try parameterizing the username of your user. To do this, add a username variable to the main.tf file:

variable "username" { type = string description = "Fedora CoreOS user" default = "core"
}

Next, modify the config.yaml file to turn it into a template. When rendered, the ${username} will be replaced.

variant: fcos
version: 1.2.0
passwd: users: - name: ${username} authorized_ssh_keys: - "ssh-ed25519 AAAAC3....... user@hostname"

Finally, modify the data block to render the template using the templatefile function.

data "ct_config" "config" { content = templatefile( "config.yaml", { username = var.username } ) strict = true
}

To deploy with username set to jane, run terraform apply -var=”username=jane”. To verify, try to SSH into the server with ssh jane@{public ip address}.

Leveraging the dependency graph


Passing variables from Terraform into Fedora CoreOS configuration is quite useful. But you can go one step further and pass infrastructure data into the server configuration. This is where Terraform and Fedora CoreOS start to really shine.

Terraform creates a dependency graph to model the state of infrastructure and to plan updates. If the output of one resource (e.g the public IP address of a server) is passed as the input of another service (e.g the destination in a firewall rule), Terraform understands that changes in the former require recreating or modifying the later. If you pass infrastructure data into a Fedora CoreOS configuration, it will participate in the dependency graph. Updates to the inputs will trigger creation of a new server with the new configuration.

Consider a system of one load balancer and three web servers as an example.


The goal is to configure the load balancer with the IP address of each web server so that it can forward traffic to them.

Web server configuration


First, create a file web.yaml and add a simple Nginx configuration with a templated message.

variant: fcos
version: 1.2.0
systemd: units: - name: nginx.service enabled: true contents: | [Unit] Description=Nginx Web Server After=network-online.target Wants=network-online.target [Service] ExecStartPre=-/bin/podman kill nginx ExecStartPre=-/bin/podman rm nginx ExecStartPre=/bin/podman pull nginx ExecStart=/bin/podman run --name nginx -p 80:80 -v /etc/nginx/index.html:/usr/share/nginx/html/index.html:z nginx [Install] WantedBy=multi-user.target
storage: directories: - path: /etc/nginx files: - path: /etc/nginx/index.html mode: 0444 contents: inline: | <html> <h1>Hello from Server ${count}</h1> </html>

In main.tf, you can create three web servers using this template with the following blocks:

data "ct_config" "web" { count = 3 content = templatefile( "web.yaml", { count = count.index } ) strict = true
} resource "aws_instance" "web" { count = 3 ami = "ami-0699a4456969d8650" instance_type = "t3.micro" user_data = data.ct_config.web[count.index].rendered
}

Notice the use of count = 3 and the count.index variable. You can use count to make many copies of a resource. Here, it creates three configurations and three web servers. The count.index variable is used to pass the first configuration to the first web server and so on.

Load balancer configuration


The load balancer will be a basic HAProxy load balancer that forwards to each server. Place the configuration in a file named lb.yaml:

variant: fcos
version: 1.2.0
systemd: units: - name: haproxy.service enabled: true contents: | [Unit] Description=Haproxy Load Balancer After=network-online.target Wants=network-online.target [Service] ExecStartPre=-/bin/podman kill haproxy ExecStartPre=-/bin/podman rm haproxy ExecStartPre=/bin/podman pull haproxy ExecStart=/bin/podman run --name haproxy -p 80:8080 -v /etc/haproxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro haproxy [Install] WantedBy=multi-user.target
storage: directories: - path: /etc/haproxy files: - path: /etc/haproxy/haproxy.cfg mode: 0444 contents: inline: | global log stdout format raw local0 defaults mode tcp log global option tcplog frontend http bind *:8080 default_backend http backend http balance roundrobin
%{ for name, addr in servers ~} server ${name} ${addr}:80 check
%{ endfor ~}

The template expects a map with server names as keys and IP addresses as values. You can create that using the zipmap function. Use the ID of the web servers as keys and the public IP addresses as values.

data "ct_config" "lb" { content = templatefile( "lb.yaml", { servers = zipmap( aws_instance.web.*.id, aws_instance.web.*.public_ip ) } ) strict = true
} resource "aws_instance" "lb" { ami = "ami-0699a4456969d8650" instance_type = "t3.micro user_data = data.ct_config.lb.rendered
}

Finally, add an output block to display the IP address of the load balancer.

output "load_balancer_ip" { value = aws_instance.lb.public_ip
}

All right! Run terraform apply and the IP address of the load balancer displays on completion. You should be able to make requests to the load balancer and get responses from each web server.

$ export LB={{load balancer IP here}}
$ curl $LB
<html> <h1>Hello from Server 0</h1>
</html>
$ curl $LB
<html> <h1>Hello from Server 1</h1>
</html>
$ curl $LB
<html> <h1>Hello from Server 2</h1>
</html>

Now you can modify the configuration of the web servers or load balancer. Any changes can be realized by running terraform apply once again. Note in particular that any change to the web server IP addresses will cause Terraform to recreate the load balancer (changing the count from 3 to 4 is a simple test). Hopefully this emphasizes that the load balancer configuration is indeed a part of the Terraform dependency graph.

Clean up


You can destroy all the infrastructure using the terraform destroy command. Simply navigate to the folder where you created main.tf and run terraform destroy.

Where next?


Code for this tutorial can be found at this GitHub repository. Feel free to play with examples and contribute more if you find something you’d love to share with the world. To learn more about all the amazing things Fedora CoreOS can do, dive into the docs or come chat with the community. To learn more about Terraform, you can rummage through the docs, checkout #terraform on freenode, or contribute on GitHub.



https://www.sickgaming.net/blog/2020/12/...terraform/

Print this item

  News - Celebrated Shmup Raiden IV Is Coming To Switch In Remixed Form
Posted by: xSicKxBot - 12-24-2020, 05:00 AM - Forum: Nintendo Discussion - No Replies

Celebrated Shmup Raiden IV Is Coming To Switch In Remixed Form

Raiden IV X Mikado

Developer Moss has revealed that it is bringing its 2007 shooter Raiden IV to Switch next year.

Raiden IV x Mikado Remix will arrive on April 22nd, 2021 in Japan, and will showcase new background music from various artists. These include “stages and boss tracks” which are “reborn through live performances and new arrangements.”

The artists involved include the likes of Go Sato Band, Heavy Metal Raiden, Fantom Iris, O.T.K., Soshi Hosoi, Daisuke Matsumoto (Cave), Hirokazu Koshio and Keishi Yonao. You’ll be able to switch to the original music, if you so wish.

A limited-edition version is being released in Japan which will include a soundtrack CD and a reprint of the original soundtrack CD. This will retail for 7,480 yen. The standard release will be 4,180 yen.

Here’s some PR:

New Elements for Switch – With the ability to switch between the “Mikado Remix” background music set and the “Original” background music set, as well as the “Sound Mode” and “Stage Background Music Select” functions, you can enjoy the new sounds of Raiden to your heart’s content. Additionally, the game supports vertical screen play in both table and TV modes, recreating the full arcade experience.

A Full Suite of Game Modes – “Arcade Mode,” which is a complete port of the arcade game, as well as “Additional Mode” and “Overkill Mode,” which include the stages added for console, have been perfectly reproduced. Various other game modes are also available, including “Boss Rush Mode,” a series of battles against boss weapons, and “Score Attack Mode,” where you compete for the high score on a single stage.

Online Functionality – Compete against other players on the worldwide leaderboards in “World Ranking Mode.” You can also upload your gameplay online via “Replay Publish,” allowing you to show your recorded gameplay to the world and study the gameplay of your rivals. Use the online functionality to discover a strategy all your own.

Raiden IV was first released in arcades back in June 2007, and was ported to the Xbox 360 in October the following year. A PlayStation 3 release – entitled Raiden IV: OverKill – came in May 2014. You can view the trailer for that release below.




https://www.sickgaming.net/blog/2020/12/...ixed-form/

Print this item