Create an account


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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,111
» Latest member: KALYANI1x
» Forum threads: 21,791
» Forum posts: 22,656

Full Statistics

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

 
  (Indie Deal) FREE SKI..ID, Let's Go Bundle, Konami & Ubisoft Deals
Posted by: xSicKxBot - 03-06-2023, 04:40 AM - Forum: Deals or Specials - No Replies

FREE SKI..ID, Let's Go Bundle, Konami & Ubisoft Deals

SKIID Freebie
[freebies.indiegala.com]

Let's Go Bundle | 8 Steam Games | 91% OFF
[www.indiegala.com]
New month, new bundle, new games..., the weekend's here, let's goooooooo! Grab the newest selection of indie Steam games brought by the Let's Go Bundle.
Konami Sale, up to 92% OFF
[www.indiegala.com]

Aces & Adventures
[www.indiegala.com]
https://www.youtube.com/watch?v=pS51VX9pjXM&ab_channel=YogscastGames
v=pS51VX9pjXM&ab_channel=YogscastGames
Ubisoft Sale, up to 80% OFF
[www.indiegala.com]

Elderand
[www.indiegala.com]
https://www.youtube.com/watch?v=Zk1xCC9p7NA&ab_channel=GraffitiGames


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

Print this item

  PC - Wo Long: Fallen Dynasty
Posted by: xSicKxBot - 03-06-2023, 04:40 AM - Forum: New Game Releases - No Replies

Wo Long: Fallen Dynasty



Wo Long: Fallen Dynasty follows the dramatic, action-packed story of a nameless militia soldier fighting for survival in a dark fantasy version of the Later Han Dynasty where demons plague the Three Kingdoms. Players fight off deadly creatures and enemy soldiers using swordplay based on the Chinese martial arts, attempting to overcome the odds by awakening the true power from within.

Publisher: Koei Tecmo Games

Release Date: Mar 03, 2023




https://www.metacritic.com/game/pc/wo-lo...en-dynasty

Print this item

  [Oracle Blog] TruffleRuby on OCI Container Instances
Posted by: xSicKxBot - 03-05-2023, 08:32 AM - Forum: Java Language, JVM, and the JRE - No Replies

TruffleRuby on OCI Container Instances

A quick introduction to Ruby on GraalVM and how to run it on OCI Container Instances.


https://blogs.oracle.com/java/post/truff...-instances

Print this item

  [Tut] 5 Easy Ways to Edit a Text File From Command Line (Windows)
Posted by: xSicKxBot - 03-05-2023, 08:32 AM - Forum: Python - No Replies

5 Easy Ways to Edit a Text File From Command Line (Windows)

5/5 – (1 vote)

Problem Formulation



Given is a text file, say my_file.txt. How to modify its content in your Windows command line working directory?

I’ll start with the most direct method to solve this problem in 90% of cases and give a more “pure” in-terminal method afterward.

Method 1: Using Notepad


The easiest way to edit a text file in the command line (CMD) on your Windows machine is to run the command notepad.exe my_text_file.txt, or simply notepad my_text_file.txt, in your cmd to open the text file with the visual editor Notepad.

notepad.exe my_file.txt

You can also skip the .exe prefix in most cases:

notepad my_text_file.txt

Now, you may ask:

? Is Notepad preinstalled in any Windows installation? The answer is: yes! Notepad is a generic text editor to create, open, and read plaintext files and it’s included with all Windows versions.

Here’s how that looks on my Win 10 machine:


When I type in the command notepad.exe my_text_file.txt, CMD starts the Notepad visual editor in a new window.

I can then edit the file and hit CTRL + S to save the new contents.

But what if you cannot open a text editor—e.g. if you’re logged into a remote server via SSH?

Method 2: Pure CMD Approach



If you cannot open Notepad or other visual editors for some reason, a simple way to overwrite a text file with built-in Windows command line tools is the following:

  • Run the command echo 'your new content' > my_file.txt to print the new content using echo and pipe the output into the text file my_text_file.txt using >.
  • Check the new content using the command type my_text_file.txt.
C:\Users\xcent\Desktop>echo 'hello world' > my_file.txt
C:\Users\xcent\Desktop>type my_file.txt 'hello world'

Here’s what this looks like on my Windows machine, where I changed my_file.txt to contain the text 'hello world!':


This is a simple and straightforward approach to small changes. However, if you have a large file and you just want to edit some minor details, this is not the best way.

Method 3: Change File Purely In CMD (Copy Con)


If you need a full-fledged solution to edit potentially large files in your Windows CMD, use this method! ?

To create a new file in Windows command prompt, enter copy con followed by the target file name (copy con my_file.txt). Then enter the text you want to put in the file. To end and save the file, press Ctrl+Z then Enter or F6 then Enter.

copy con my_file.txt

How this looks on my Win machine:


A couple of notes:

? Info: To edit an existing file, display the text by using the type command followed by the file name. Then copy and paste the text into the copy con command to make changes. Be careful not to make any typos, or you’ll have to start over again. Backspace works if you catch the mistake before pressing Enter. Note that this method may not work in PowerShell or other command line interfaces that don’t support this feature.

Method 4: If you SSH’d to a Unix Machine


Of course, if you have logged in a Unix-based machine, you don’t need to install any editor because it comes with powerful integrated editors such as vim or emacs.

One of the following three commands should open your file in a terminal-based editing mode:

vim my_text_file.txt
vi my_text_file.txt
emacs my_text_file.txt

You can learn more about Vim here.

Summary



To edit a file.txt in the command line, use the command notepad file.txt to open a graphical editor on Windows.

If you need a simple file edit in your terminal without a graphical editor and without installation, you can use the command echo 'new content' > file.txt that overwrites the old content in file.txt with new content.

If you need a more direct in-CMD text editor run copy con file.txt to open the file in editing mode.

If you’re SSH’d into a Unix machine, running the Vim console-based editor may be the best idea. Use vim file.txt or vi file.txt to open it.

Feel free to join our email coding academy (it’s free):

? Recommended: How to Edit a Text File in PowerShell (Windows)



https://www.sickgaming.net/blog/2023/03/...e-windows/

Print this item

  (Indie Deal) Cashback, Vorax AMA Stream, Yugi, Red Diamond Bundle
Posted by: xSicKxBot - 03-05-2023, 08:31 AM - Forum: Deals or Specials - No Replies

Cashback, Vorax AMA Stream, Yugi, Red Diamond Bundle

Romantic Cashback Sale
[www.indiegala.com]
Share your love & hugs with your significant other. Even if you do not have one yet, please remember that you are significant to us, that's why we like giving back...cashback for every purchase for a limited time. You are all adorable, that's why we brought to you a FREEbie with your name on it.

[discord.gg]
If you join the Vorax Discord Channel you may also join us for a Q&A at February 17, 2023 8:00 PM Rome Time in #ask-me-anything. ( on Saturday and Sunday same time)

Red Diamond Bundle | 12 Adult Steam Games | 91% OFF
[www.indiegala.com]
Shining bright like a diamond, this adult 18+ collection filled with some hot indie gems are ready to be discovered.

https://www.youtube.com/watch?v=0iNGNYuR5_8
New Sales ending in a few days
[www.indiegala.com]
https://www.youtube.com/watch?v=POMAhPnXEXU



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

Print this item

  PC - Scars Above
Posted by: xSicKxBot - 03-05-2023, 08:31 AM - Forum: New Game Releases - No Replies

Scars Above



Something strange has entered Earth's orbit; an object alien and unknowable, made out of matter that seems not to obey the laws of physics - the Metahedron. As a part of a hastily gathered group of astronauts and scientists sent off to explore it, your fate takes a jarring turn as you awaken in another world - dazed, alone on an alien planet... but determined to stay alive. Scars Above is a challenging, immersive third-person shooter inspired by modern type action-adventure games. It takes the genre staples, such as the rewarding feeling of overcoming difficulty, and combines it with a compelling and intricate story, meticulous and lavish world design, and a living, breathing ecosystem to explore and endure.

This is a game of mystery and discovery.

Publisher: Prime Matter

Release Date: Feb 28, 2023




https://www.metacritic.com/game/pc/scars-above

Print this item

  [Oracle Blog] JDK 11.0.18, 17.0.6, 8u361, 19.0.2 and 7u371 Have Been Released!
Posted by: xSicKxBot - 03-04-2023, 01:47 PM - Forum: Java Language, JVM, and the JRE - No Replies

JDK 11.0.18, 17.0.6, 8u361, 19.0.2 and 7u371 Have Been Released!

JDK 11.0.18, 17.0.6, 8u361, 19.0.2 and 7u371 Have Been Released!


https://blogs.oracle.com/java/post/jdk-1...n-released

Print this item

  [Tut] How I Built a Virtual Assistant like Siri using ChatGPT Prompting (No Code!)
Posted by: xSicKxBot - 03-04-2023, 01:47 PM - Forum: Python - No Replies

How I Built a Virtual Assistant like Siri using ChatGPT Prompting (No Code!)

5/5 – (2 votes)

Siri sucks. ?

I am a Siri user, and Siri fails me more than it performs for me. It doesn’t understand the chain of commands.

Project Idea: Recreate Siri Using ChatGPT



This got me thinking, “What if I can repurpose ChatGPT to work like Siri?”. So before I tell you how the prompt looks like this is what the chatbot can recognise in the most natural form:

  • Increase volume
  • Decrease volume
  • Play movie
  • Pause or stop the movie
  • Open an app
  • Book a movie or movie ticket
  • Play song
  • Book a cab
  • Call someone
  • Set a reminder
  • Send a message
  • Set an alarm
  • Open a website
  • Get directions
  • Check the weather

To trigger these commands, the user needed to begin the instruction with "Hey Nik".

Let me begin by showing you the most complicated instruction it can handle

Prompt First Trial – Not Perfect Yet



Nik: Assume it's sunny. Hey Nik check the weather for me and if it's sunny book a cab to go to the beach, play song california love by 2Pac ChatGPT: Hey there! The weather today is sunny. Sure, I can check the weather for you and book a cab to the beach if it's sunny. Here are the commands: [WEATHER] [OPENAPP UBER] [PLAYSONG CALIFORNIA LOVE BY 2PAC]

Nik: Assume it’s sunny. Hey Nik check the weather for me and if it’s sunny book a cab to go to the beach, play song california love by 2Pac

ChatGPT: Hey there! The weather today is sunny. Sure, I can check the weather for you and book a cab to the beach if it’s sunny. Here are the commands:

[WEATHER] [OPENAPP UBER] [PLAYSONG CALIFORNIA LOVE BY 2PAC]

Please note that the cab booking will not be completed as this is a simulated environment.

ChatGPT is not aware of my environment hence I had to tell them that it’s sunny. And then I start with "Hey Nik...". In contrast, Google & Siri cannot handle this.

After a good deal of prompt engineering, I came up with the following prompt that could be used by an app to not only detect user meaning but also respond accordingly — without needing to create a single line of code to accomplish this magic!

ChatGPT truly can be used as the heart of many applications — not just to create them!

Final Prompt



You can copy and paste this prompt in case you want to reuse it to build your own Siri replacement:

Nik: I want you to be an interactive chatbot that responds to predefined instructions. The instructions and their respective commands are: Increase volume: [INCREASEVOLUME] Decrease volume: [DECREASEVOLUME] Play movie [MOVIE NAME]: [PLAYMOVIE [MOVIE NAME]] Pause or stop the movie: [STOPMOVIE] Open an app [APP NAME]: [OPENAPP [APP NAME]] Book a movie or movie ticket: [OPENAPP BOOKMYSHOW] Play song [song or artist name]: [PLAYSONG [song or artist name]] Book a cab: [OPENAPP UBER] Call someone [NAME]: [CALL [NAME]] Set a reminder [TIME] [REMINDER]: [SETREMINDER [TIME] [REMINDER]] Send a message [NAME] [MESSAGE]: [SENDMESSAGE [NAME] [MESSAGE]] Set an alarm - [SETALARM [time]] Open a website - [OPEN [website name]] Get directions - [DIRECTIONTO [location]] Check the weather - [WEATHER] Here are some conditions to consider: If the instruction includes a number or percentage when using INCREASEVOLUME or DECREASEVOLUME, append it to the command. If the instruction includes the name of an app when using OPENAPP, append it to the command. To trigger these commands, begin the instruction with "Hey Nik". Please note that commands will be in square brackets, with spaces removed except for messages or names. Your response should contain an acknowledgement in English and below it should be the sequence of commands. After you display the commands do not print anything else.

I came up with the following commands on the first attempt

  • Increase volume: [INCREASE VOLUME]
  • Decrease volume: [DECREASEVOLUME]
  • Play movie [MOVIE NAME]: [PLAYMOVIE [MOVIE NAME]]
  • Pause or stop the movie: [STOPMOVIE]
  • Open an app [APP NAME]: [OPENAPP [APP NAME]]
  • Book a movie or movie ticket: [OPENAPP BOOKMYSHOW]
  • Play song [song or artist name]: [PLAYSONG [song or artist name]]
  • Book a cab: [OPENAPP UBER]

After I perfected the results, I wanted to see if ChatGPT could add more commands, so I tried the following prompt

Refinement Prompt


Nik: Can you add more commands in the style given to the prompt. Take inspiration from "ok google" and "hey siri" Please write in English language. ChatGPT: Sure, I can add more commands in the style given to the prompt! Here are some additional commands you can use: To set a reminder, say "Hey Nik, set a reminder for [time] to [task]". For example, "Hey Nik, set a reminder for 2pm to attend a meeting". To check the weather, say "Hey Nik, what's the weather like today?". To get directions, say "Hey Nik, how do I get to [location]?". For example, "Hey Nik, how do I get to Central Park?". To set an alarm, say "Hey Nik, set an alarm for [time]". For example, "Hey Nik, set an alarm for 7am". To send a message, say "Hey Nik, send a message to [contact name]". You will then be prompted to dictate the message and confirm before sending. To open a website, say "Hey Nik, open [website name]". For example, "Hey Nik, open Google". Remember to begin each command with "Hey Nik" for the chatbot to respond. I hope these additional commands are helpful! Nik:Ok now generate the original prompt with the newly added commands Please write in English language.

My Personal Considerations and Findings Using This Prompt



I am impressed with ChatGPT’s ability to generate a more user-friendly and straightforward set of commands. And it also kept modifying my original prompt to include these commands. 

But, I realized that there were some conditions that I needed to consider, such as:

  • If the instruction includes a number or percentage when using INCREASEVOLUME or DECREASEVOLUME, append it to the command.
  • If the instruction includes the name of an app when using OPENAPP, append it to the command.

With these conditions in mind, I combined the original set of commands with the new commands generated by ChatGPT and added the necessary conditions to create a more comprehensive and user-friendly prompt.

As I developed the chatbot, I discovered that one of its most significant advantages over Siri was its ability to handle an unlimited set of inputs. Siri, on the other hand, works with one command at a time, which can be limiting for users who want to execute multiple tasks in one go.

Here are some examples of user inputs and their respective responses:

User Input: Hey Nik, play movie The Shawshank Redemption Response: [PLAYMOVIE The Shawshank Redemption] User Input: Hey Nik, increase volume by 50 percent Response: [INCREASEVOLUME 50 percent]
User Input: Hey Nik, send a message to John saying I will be there in 10 minutes Response: [SENDMESSAGE John I will be there in 10 minutes] User Input: Hey Nik, what is the weather like in New York? Response: [WEATHER New York]

Here is an example of the user input and response for the “play song” command:

User input: Hey Nik, play song Shape of You by Ed Sheeran Response: Playing Shape of You by Ed Sheeran Command: [PLAYSONG Shape of You by Ed Sheeran]

And here is an example of the user input and response for the "open an app" command:

User input: Hey Nik, open app Netflix Response: Opening Netflix Command: [OPEN APP NETFLIX]

How to Deploy This


To deploy it as an app, you can use the ChatGPT API + Promptable + Any No Code App Builder, the app can be deployed on iPhone, but there are many permissions that need to be worked out.

A similar version of this may work on Android as it is more open.

? Recommended: ChatGPT at the Heart – Building a Movie Recommendation Python Web App



https://www.sickgaming.net/blog/2023/03/...g-no-code/

Print this item

  (Indie Deal) Blockstorm is now FREE on Steam
Posted by: xSicKxBot - 03-04-2023, 01:47 PM - Forum: Deals or Specials - No Replies

Blockstorm is now FREE on Steam

We are excited to announce that Blockstorm, the voxel first-person shooter game, our first passion project (but not our last), is now free to play on Steam, forever and for everyone!
https://store.steampowered.com/app/263060/Blockstorm/

What's Blockstorm again?
For the newcomers, Blockstorm is a fast-paced game that combines the classic elements of first-person shooters with the endless creativity of sandbox games. With an extensive collection of customizable weapons, maps, and game modes, Blockstorm offers endless hours of fun and excitement for both you and your friends.

From today onwards, players can download and play Blockstorm for free on Steam. This means that everyone can now experience the adrenaline rush of shooting and building their way through the game's dynamic levels without having to pay a penny.

Why go free to play?
We want to thank our dedicated community of players for their support and feedback over the years. We hope that going free-to-play, our gift to all of our loyal fans and involved community, will encourage even more players to join the Blockstorm community and enjoy the game.

So, what are you waiting for? Download Blockstorm for free on Steam today and start building, fighting, and creating your own adventure. We can't wait to see you on the battlefield!
https://store.steampowered.com/app/1874190/Vorax/
And since we are on the topic of passion projects, our latest one is called Vorax. It’s an Open World Survival Horror game. Feel free to check it out, try it and even maybe wishlist it to stay updated on its release.

We look forward to seeing you in the game!

Best regards,
The IndieGala Team[www.indiegala.com]



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

Print this item

  (Free Game Key) Figment - Free Steam Game
Posted by: xSicKxBot - 03-04-2023, 01:47 PM - Forum: Deals or Specials - No Replies

Figment - Free Steam Game

Grab Figment a Free Steam Game

Figment Store Page

?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...2466220961

Print this item

 
Latest Threads
Secure Your First Apollo ...
Last Post: KALYANI1x
16 minutes ago
Save Big During Apollo Ne...
Last Post: KALYANI1x
17 minutes ago
Apollo Neuro Coupon Code ...
Last Post: jax9090mm
18 minutes ago
[Latest] Temu Coupon Code...
Last Post: codestar99
20 minutes ago
Apollo Neuro Discount Cod...
Last Post: jax9090mm
20 minutes ago
Experience Better Tech Ap...
Last Post: KALYANI1x
20 minutes ago
Temu Deutschland Gutschei...
Last Post: Benbeckman5
20 minutes ago
Apollo Neuro Coupon Code ...
Last Post: jax9090mm
21 minutes ago
Temu Coupon Code 30% Off ...
Last Post: codestar99
21 minutes ago
Temu Deutschland Gutschei...
Last Post: Benbeckman5
22 minutes ago

Forum software by © MyBB Theme © iAndrew 2016