Happy Birthday KDE: Difference between revisions

From WIKI FOSSCELL NITC
(Fixed title)
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(3 intermediate revisions by one other user not shown)
Line 2: Line 2:


To celebrate the [https://community.kde.org/28th_birthday#Kozhikode 28th birthday] of KDE, we're hosting a fun coding sprint where students can explore different programming languages.
To celebrate the [https://community.kde.org/28th_birthday#Kozhikode 28th birthday] of KDE, we're hosting a fun coding sprint where students can explore different programming languages.
 
[[File:Happy Birthday KDE .jpg|thumb|304x304px|Participants of Happy Birthday KDE event]]
At the **Happy Birthday KDE Sprint**, the goal is simple: write code that prints "Happy Birthday KDE" in as many languages as possible. It’s a great chance to try out new languages and share what you learn by documenting the setup process in the community wiki.
At the **Happy Birthday KDE Sprint**, the goal is simple: write code that prints "Happy Birthday KDE" in as many languages as possible. It’s a great chance to try out new languages and share what you learn by documenting the setup process in the community wiki.


Line 40: Line 40:
# open terminal
# open terminal
# Use cd command to navigate to the folder where the HBD-KDE.c file is saved
# Use cd command to navigate to the folder where the HBD-KDE.c file is saved
# Run gcc HBD-KDE.py to compile the program
# Run gcc HBD-KDE.c to compile the program
# You would get a file named a.out , which is the binary output file
# You would get a file named a.out , which is the binary output file
# You can run this file by running ``./a.out``  
# You can run this file by running ``./a.out``  


=== C++ ===
=== C++ ===
-- [[User:Saliaku|saliaku]] ([[User talk:Saliaku|talk]])
# Choose a text editor of your choice
# Type codes snippet mentioned here and save it as HBD-KDE.cpp
# g++ and other required packages can be easily installed by running ``sudo apt install build-essentials``
# open terminal
# Use cd command to navigate to the folder where the HBD-KDE.cpp file is saved
# Run g++ HBD-KDE.cpp to compile the program (alternatively you can make use of the make command )
# You would get a file named a.out , which is the binary output file
# You can run this file by running ``./a.out``


=== Python ===
=== Python ===
Line 61: Line 71:


=== JavaScript ===
=== JavaScript ===
-- [[User:Saliaku|saliaku]] ([[User talk:Saliaku|talk]])
# Go to the [https://nodejs.org/en nodejs.org] website and install the latest version of node
# Create a file named HBD-KDE.js and write the code .
# run "node HBD-KDE.js" to get the output in the terminal


=== TypeScript ===
=== TypeScript ===
-- [[User:Saliaku|saliaku]] ([[User talk:Saliaku|talk]])
# Install deno-2 from this [https://docs.deno.com/runtime/ link] (Deno supports typescript natively , saving you the extra step of compiling it to javascript)
# Create a file named HBD-KDE.ts and write the code.
# run deno HBD-KDE.ts to get the output in the terminal


=== Ruby ===
=== Ruby ===

Latest revision as of 21:15, 17 October 2024

KDE 28th Birthday Celebration: Happy Birthday KDE Sprint

To celebrate the 28th birthday of KDE, we're hosting a fun coding sprint where students can explore different programming languages.

Participants of Happy Birthday KDE event

At the **Happy Birthday KDE Sprint**, the goal is simple: write code that prints "Happy Birthday KDE" in as many languages as possible. It’s a great chance to try out new languages and share what you learn by documenting the setup process in the community wiki.

Event Details

What We'll Be Doing

  • Play around with different programming languages.
  • Write a quick "Happy Birthday KDE" in each one.
  • Share how to set up each language’s development environment in the wiki.

How to Join

  • Bring your laptop with any tools you like to code with.
  • Try new languages, work together, and have some fun.
  • Submit your code and setup instructions to be added to the wiki.

This is a laid-back event where you can explore new languages, meet other coders, and join in the KDE birthday fun!

You can login to your wiki account and then use

2 hiphens annd 4 tildas to add your name to any of the language you are interested in. refer to the source below for reference.


Git Repo : HBD-KDE

-- Vysakh Premkumar (talk) 23:01, 16 October 2024 (IST)

C

-- saliaku (talk) 20:13, 17 October 2024 (IST)

GNU Linux

  1. Choose a text editor of your choice
  2. Type codes snippet mentioned here and save it as HBD-KDE.c
  3. gcc and other required packages can be easily installed by running ``sudo apt install build-essentials``
  4. open terminal
  5. Use cd command to navigate to the folder where the HBD-KDE.c file is saved
  6. Run gcc HBD-KDE.c to compile the program
  7. You would get a file named a.out , which is the binary output file
  8. You can run this file by running ``./a.out``

C++

-- saliaku (talk)

  1. Choose a text editor of your choice
  2. Type codes snippet mentioned here and save it as HBD-KDE.cpp
  3. g++ and other required packages can be easily installed by running ``sudo apt install build-essentials``
  4. open terminal
  5. Use cd command to navigate to the folder where the HBD-KDE.cpp file is saved
  6. Run g++ HBD-KDE.cpp to compile the program (alternatively you can make use of the make command )
  7. You would get a file named a.out , which is the binary output file
  8. You can run this file by running ``./a.out``

Python

--Bheem (talk) 19:23, 17 October 2024 (IST)

GNU LINUX

  1. Choose a text editor of your choice
  2. Type codes snippet mentioned here and save it as HBD-KDE.py
  3. python3 comes preinstalled by default on almost all GNU-Linux distributions
  4. open terminal
  5. Use cd command to navigate to the folder where the python file is saved
  6. Run python3 HBD-KDE.py to run the python program

Java

JavaScript

-- saliaku (talk)

  1. Go to the nodejs.org website and install the latest version of node
  2. Create a file named HBD-KDE.js and write the code .
  3. run "node HBD-KDE.js" to get the output in the terminal

TypeScript

-- saliaku (talk)

  1. Install deno-2 from this link (Deno supports typescript natively , saving you the extra step of compiling it to javascript)
  2. Create a file named HBD-KDE.ts and write the code.
  3. run deno HBD-KDE.ts to get the output in the terminal

Ruby

PHP

Go

Rust

Swift

Kotlin

Dart

R

Perl

Shell

Scala

Haskell

Lua

Julia

Objective-C

Elixir

F#

Assembly

Groovy

D

V

Nim