Jump to content

Mad Programming Skills


Balait_da_Sher
 Share

Recommended Posts

Having trouble sleeping so I thought I would have some ego and show off my mad programming skills...

<?PHP
    function naam_simran()
    {
        $bhagti = array();
        for($x=0;$x<=infinity;$x++)
        {
             $bhagti[] = "Waheguroo\n";
        }
        return $bhagti;
    }
?>

#!/usr/bin/perl
sub naam_simran
{
   my @bhagti = ();
   for($i=0;$i<=infinity;$i++)
   {
         push(@bhagti,"Waheguroo\n");
   }
   bless @bhagti;
   return @bhagti;
}

#include
using namespace std;
#include
vector naam_simran()
{
   vector bhagti(infinity);


   for(y=0;y<=infinity;y++)
   {
         bhagti[y] = "Waheguroo\n";
   }
   return bhagti;
}

<script language="javascript">
function naam_simran()
{
   // bhagti =new Array(infinity);
   for(// i=0;i<=infinity;i++)
   {
         bhagti[y] = "Waheguroo\n";
   }
   return bhagti;
}
</script>

i dont suggest anyone actually try to run any of the above scripts as their computer will probably crash :)

:nihungsmile:

Link to comment
Share on other sites

//Programming Language c++

bool WantToBGurSikh()
{
 char bhagti[] []=new char[1][infinity];
 bool GurSikh = false;
  for(int i=0;i<=infinity;i++)
  {
	 bhagti[0][i] = "Waheguroo";
  if(!Kamm && !Karodh && !Lobh && !Mohh && !Hankar )
  {
 GurSikh = true;
 i = infinity;
  }
  }
  return GurSikh;
}

//Programming Language C#

public bool WantToBGurSikh()
{
bool GurSikh = true;
foreach(Human.5Vices MyVice in Me)
{
 if(MyVice)
 {
  GurSikh = false;   
 }
}
return GurSikh;
}

'Programming Language VB

Function WantToBGurSikh(Boolean Kaam,Boolean Karodh,Boolean Lobh,Boolean Mohh,Boolean Hankar) As Boolean
dim GurSikh as Boolean
GurSikh = true;

if(Kaam = true)then
GurSikh = false;
end if

if(Karodh = true)then
GurSikh 

= false;
end if

if(Lobh = true)then
GurSikh = false;
end if

if(Mohh = true)then
GurSikh = false;
end if

if(Hankar = true)then
GurSikh = false;
end if

Return  Gursikh
End Function

;Programming Language Assembly (16 bit  dos based )

Name WantToBGurSikh

.model small

.data

Kamm db   ?
Karodh db ?
Lobh db   ?
Mohh db   ?
Hankar db ?
GurSikh db ?

.code

Start:
mov ax, @data
mov ds,ax

mov al,0h
cmp al,Kaam
jnz Pappi

mov al,0h
cmp al,Karodh
jnz Pappi

mov al,0h
cmp al,Lobh
jnz Pappi

mov al,0h
cmp al,Mohh
jnz Pappi

mov al,0h
cmp al,Hankar
jnz Pappi

inc GurSikh
jmp EndProc

Pappi: 
  mov GurSikh,0

EndProc:
mov  ah,4Ch
int  21h	   

end Start

grin.gif Didn't do Javascript, php etc cos mkhalsa already done them :nihungsmile:

Warning the above code will require some Debugging worthy.gif: and how come no one has asked me what my Signature means? :)

Link to comment
Share on other sites

hey u all r techie guys...............u know programming.

Is anyone here a medical person ...... i mean studying medicine or a doctor..............??? I am stuck with studying medicine and it's toooooooooooo hard and boring........would love to be a techie guy.

oh no.. i hate programming :) im do not have creative mind at all...

Im still thinking of changing the major from CSE to biomedical eng. or something like biotech ... got to decide before nov 30th :T: . i guess i will keep cs as main major and bio something as minor ..

Link to comment
Share on other sites

oh no.. i hate programming  im do not have creative mind at all...

No vicky veer......... i think ur efforts in making sikhsangat.com and sikhpride reflect ur creative mind.

I used to love Physics in my high school. It was my love......and i like a lot of technical stuff....but got selected in medical college and i had to forget all that......i am and was never good at bio

And btw what is CS???

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • advertisement_alt
  • advertisement_alt
  • advertisement_alt


  • Topics

  • Posts

    • I agree we're not born with sin like the Christians think. Also I agree we have effects of karma. But Gurbani does state that the body contains both sin and charity (goodness): ਕਾਇਆ ਅੰਦਰਿ ਪਾਪੁ ਪੁੰਨੁ ਦੁਇ ਭਾਈ ॥ Within the body are the two brothers sin and virtue. p126 Actually, we do need to be saved. Gurbani calls this "udhaar" (uplift). Without Satguru, souls are liable to spiritual death: ਜਿਨਾ ਸਤਿਗੁਰੁ ਪੁਰਖੁ ਨ ਭੇਟਿਓ ਸੇ ਭਾਗਹੀਣ ਵਸਿ ਕਾਲ ॥ p40 Those who have not met Satguru Purakh are unfortunate and liable to death. So, yeah, we do need to be saved, and Guru ji does the saving. The reason Satguru is the one to save is because God has given Satguru the "key" (kunji): ਸਤਿਗੁਰ ਹਥਿ ਕੁੰਜੀ ਹੋਰਤੁ ਦਰੁ ਖੁਲੈ ਨਾਹੀ ਗੁਰੁ ਪੂਰੈ ਭਾਗਿ ਮਿਲਾਵਣਿਆ ॥੭॥ In the True Guru's hand is the key. None else can open the door. By perfect good fortune the Guru is met. p124
    • That's unfortunate to hear. Could you give any more information? Who was this "baba"? He just disappeared with people's money? Obviously, you should donate your money to known institutions or poor people that you can verify the need of through friends and family in Punjab.
    • Sangat ji,  I know a family who went Sevewal to do seva sometimes end of 2019. They returned last year in great dismay and heart broken.  To repent for their mistakes they approached panj pyaare. The Panj gave them their punishment / order to how t make it up which, with Kirpa, they fulfilled.  They were listening to a fake Baba who, in the end, took all the "Donations " and fled sometime over a year ago. For nearly 4 years this family (who are great Gursikhs once u get to know them) wasted time and effort for this fake Baba. NOT ONLY this one fam. But many, many did worldwide and they took their fam to do seva, in village Sevewal, city Jaitho in Punjab. In the end many families lost money in thousands being behind this Baba. The family, on return, had to get in touch with all the participants and told them to stop.  I am stating this here to create awareness and we need to learn from whom we follow and believe. It's no easy but if we follow the 3 S (Sangat, Simran and Seva) we will be shown the light. As I am writing this the family in question have been doing the same since 2008 onwards and they fell for this Baba... it is unbelievable and shocking.  This am writing in a nutshell as am at work on my break so not lengthy but it deserves a great length.  Especially the family in question, who shed light on youngsters about Sikhi 20 plus years!! 
    • Giani Kulwant Singh Jawaddi Kalan uses simple Punjabi.
    • Leaving aside Guru ji, the general question of taking afeem (opium) in limited quantities for war/medical wounds is simply unproblematic. When you go to the hospital, they give you morphine. What do you think morphine is? It's an opiate. Even codeine (cough syrup) is an opiate! Ever had a cough? Granted, it is against Gurmat to take opium or other drugs for the fun of it.
×
×
  • Create New...

Important Information

Terms of Use