News

Space Defender – part 4 – Adding a HUD

Space Defender – part 4 – Adding a HUD

In the previous part we created the enemies and shot them down. In this part we'll add a HUD (Heads Up Display) to show the player's lives, level, and score. Adding a HUD We're going to add a HUD to the game. This will show the player's lives, level, and score. We'll use a simple HTML structure for this, and some CSS to make it look nice.In bigger games the HUD is usually part of the game canvas, but for this tutorial we'll keep it separate to keep things simple. In part 1 we already added all the HTML and…
Read More
What to read this week: The Light Eaters, Paranoid Gardens and I Was a Teenage Slasher

What to read this week: The Light Eaters, Paranoid Gardens and I Was a Teenage Slasher

Recent releases in fiction, nonfiction and comics that caught our attention.I Was a Teenage Slasher by Stephen Graham JonesStephen Graham Jones is something of an expert on slashers. The author has tackled the genre in a slew of his novels (most notably in the Indian Lake Trilogy, with its slasher-movie-obsessed main character) and has an ongoing column in Fangoria dedicated to its impact, so it’s not really a surprise to see he’s churned out another entry for the canon. But this time around, we’re getting a different perspective: the slasher’s point of view.I Was a Teenage Slasher is the fictional memoir…
Read More
Getting the Actual Client IP When Using Application Load Balancer (ALB) in AWS Lambda

Getting the Actual Client IP When Using Application Load Balancer (ALB) in AWS Lambda

When I was new to AWS, I faced an interesting challenge while working on a task to digitally sign a document, which required the client's IP as part of the e-signature. Initially, I was thrilled when the implementation seemed to work perfectly the first time. However, my excitement was short-lived. During testing, I noticed that the same IP address was being returned, even when I accessed the application from different machines. It was then that I realized the IP address I was receiving was not the actual client IP but the IP of the load balancer. This discovery led me…
Read More
Another ‘missing link’ black hole discovered near the center of the galaxy

Another ‘missing link’ black hole discovered near the center of the galaxy

A group of international researchers at the in Germany recently discovered one of the rarest types of black holes in the universe. The researchers were observing a cluster of stars in the vicinity of a supermassive black hole named Sagittarius A (Sgr A) at the center of the Milky Way galaxy. They then discovered signs of an intermediate-mass black hole, a type of black hole that’s sometimes referred to as the “missing link” of black holes, according to .Black holes range in size from supermassive to primordial and the intermediate sits above primordial in size. They are believed to have…
Read More
[Roast: Day 5] – Creating flow using useState

[Roast: Day 5] – Creating flow using useState

Today it seemed that I’m not moving as quickly as I have the past few days. I started work today on the card that most of the user interaction happens with. And since this is the part I care the most about, this is also taking the most time! I spent a good couple of hours fighting with the form, trying to implement an animation for the form labels. I did eventually get it, but after working on it for so long, I feel like I need a bit of a break. Either way, I found a solution for the…
Read More
2.7 billion people don’t use the internet. What’s stopping them?

2.7 billion people don’t use the internet. What’s stopping them?

Sign up for the Freethink Weekly newsletter! A collection of our favorite stories straight to your inbox Notice: JavaScript is required for this content. This article is an installment of Future Explored, a weekly guide to world-changing technology. You can get stories like this one straight to your inbox every Saturday morning by subscribing here.It’s 2035, and the entire world has access to the internet. This means everyone, finally, is able to further their education, access a huge range of jobs, easily start their own business, and find health information that could literally save lives. Here’s how we’ll do it.The digital…
Read More
X is working on a way to block links in replies

X is working on a way to block links in replies

X is developing a new feature that could help address spam posts on its website. According to Nima Owji, an independent app researcher who's unearthed several unreleased X features in the past, the platform formerly known as Twitter is working on the ability to disable links in replies. Based on the image Owji posted, users will be able to tick a box for the option if they don't want people to be able to respond with a link to their posts.Christopher Stanley, the Senior Director for Security Engineering at X, confirmed the feature's existence in a response to a post…
Read More
9 Software Architecture Patterns for Distributed Systems

9 Software Architecture Patterns for Distributed Systems

Disclosure: This post includes affiliate links; I may receive compensation if you purchase products or services from the different links provided in this article. image_credit - ByteByteGo Hello friends, in modern software development, distributed systems are very popular but architects and developers face the challenge of designing systems that efficiently manage data and facilitate seamless communication between various components. Architectural patterns provide proven solutions to common problems encountered in distributed systems, ensuring reliability, scalability, and maintainability. Among these patterns, some patterns stand out as fundamental for managing data and communication flow effectively, which we will see in this article. These…
Read More
Twitch restores former President Trump’s Twitch account

Twitch restores former President Trump’s Twitch account

Twitch has confirmed that former president and current Republican presidential nominee Donald Trump’s three-year ban on the gaming stream platform has been reversed. A statement from Twitch confirmed the news about the status of Trump’s ban from the platform.“We reinstated former President Trump’s Twitch channel,” the statement read. “We believe there is value in hearing from Presidential nominees directly, when possible. Trump is now the official Republican nominee for US President.”The Amazon-owned platform first issued on President Trump's account in 2020 for violating its hateful conduct and harassment policies and two weeks later. Twitch following the Jan. 6 riot on…
Read More
Fine-tuning LLAMA 3 for Text Classification with Limited Resources

Fine-tuning LLAMA 3 for Text Classification with Limited Resources

I recently needed to classify sentences for a particular use case at work. Remembering Jeremy Howard's Lesson 4: Getting started with NLP for absolute beginners, I first adapted his notebook to fine-tune DEBERTA. It worked, but not to my satisfaction, so I was curious what would happen if I used a LLM like LLAMA 3. The problem? Limited GPU resources. I only had access to a Tesla/Nvidia T4 instance. Research led me to QLORA. This tutorial on Fine tuning LLama 3 LLM for Text Classification of Stock Sentiment using QLoRA was particularly useful. To better understand the tutorial, I adapted…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.