Total Pageviews

Monday, May 13, 2019

Privacy and policy about আপনার রাশিফল

Privacy Policy

built the আপনার রাশিফল app as an Ad Supported app. This SERVICE is provided by at no cost and is intended for use as is.
This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.
If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at আপনার রাশিফল unless otherwise defined in this Privacy Policy.
Information Collection and Use
For a better experience, while using our Service, I may require you to provide us with certain personally identifiable information, including but not limited to Android advertising ID. The information that I request will be retained on your device and is not collected by me in any way.
The app does use third party services that may collect information used to identify you.
Link to privacy policy of third party service providers used by the app
Log Data
I want to inform you that whenever you use my Service, in a case of an error in the app I collect data and information (through third party products) on your phone called Log Data. This Log Data may include information such as your device Internet Protocol (“IP”) address, device name, operating system version, the configuration of the app when utilizing my Service, the time and date of your use of the Service, and other statistics.
Cookies
Cookies are files with a small amount of data that are commonly used as anonymous unique identifiers. These are sent to your browser from the websites that you visit and are stored on your device's internal memory.
This Service does not use these “cookies” explicitly. However, the app may use third party code and libraries that use “cookies” to collect information and improve their services. You have the option to either accept or refuse these cookies and know when a cookie is being sent to your device. If you choose to refuse our cookies, you may not be able to use some portions of this Service.
Service Providers
I may employ third-party companies and individuals due to the following reasons:
  • To facilitate our Service;
  • To provide the Service on our behalf;
  • To perform Service-related services; or
  • To assist us in analyzing how our Service is used.
I want to inform users of this Service that these third parties have access to your Personal Information. The reason is to perform the tasks assigned to them on our behalf. However, they are obligated not to disclose or use the information for any other purpose.
Security
I value your trust in providing us your Personal Information, thus we are striving to use commercially acceptable means of protecting it. But remember that no method of transmission over the internet, or method of electronic storage is 100% secure and reliable, and I cannot guarantee its absolute security.
Links to Other Sites
This Service may contain links to other sites. If you click on a third-party link, you will be directed to that site. Note that these external sites are not operated by me. Therefore, I strongly advise you to review the Privacy Policy of these websites. I have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services.
Children’s Privacy
These Services do not address anyone under the age of 13. I do not knowingly collect personally identifiable information from children under 13. In the case I discover that a child under 13 has provided me with personal information, I immediately delete this from our servers. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact me so that I will be able to do necessary actions.
Changes to This Privacy Policy
I may update our Privacy Policy from time to time. Thus, you are advised to review this page periodically for any changes. I will notify you of any changes by posting the new Privacy Policy on this page. These changes are effective immediately after they are posted on this page.
Contact Us
If you have any questions or suggestions about my Privacy Policy, do not hesitate to contact me at saddanfah@gmail.com.

Tuesday, June 12, 2018

Programing with Fortran

History  of FORTRAN    

 FORTRAN was developed by IBM in 1950s for scientific and research purpose .The developer name is John Backus.It  is greatly used in numerical weather prediction,crystallography,computational physics and chemistry also in fluid dynamics.Its paradigm is  multi-paradigm,structured and generic.The name FORTRAN is an acronym for Formula Translation,Because it was designed to allow easy translation of math formula into code.
 Some significant features of the FORTRAN Language

*Simple to learn: When FORTRAN was design one of the objective was to write a language that was easy to learn and understand.

*Machine independent: Allows for easy transportation of a program from one machine to another machine.

*More natural ways to express mathematical function: FORTRAN permits even severely complex mathematical function to be expressed similarly to regular algebraic notation.

How to install a FORTRAN compiler and run a program
To compile a FORTRAN program first of all you have to download an IDE.For this we will use code blocks here.Code blocks is a open source cross platform IDE .You can download code blocks from here.

Download the yellow marked source file then install it.
After install the program open the code blocks and a screen will appear like this

OK!now you have to select the compiler,for set the compiler go to the setting option

The compiler must set as "GNU fortran Compiler".If it is set as default then ok.If not,Then you have to set it as default compiler.

Then set it default!!!

Now the final steps!Go to the tool chain executable option in the appeared menu.

Now set the compiler's installation directory---->If your computer is 32 bit it must be set as "C:\Program Files\CodeBlocks\MinGW" and for 64 bit windows it must be set as "C:\Program Files (x86)\CodeBlocks\MinGW"

Finally you are done!now write a program and compile.Choose the option create a new project

Now select files


Now choose fortran source then click the option go
click the yellow marked sign
then there is a option will be appeared where you want to save the file .Give your file a name is I give it mine test1
then save it!Again the previous windows will appear,you just need to set the file type f95 as it given below

Now click finish.Finally you are done!now I share with you a simple code with you which will compute the square of the integers from 1 to 15 and print them out
After  you write the code click the yellow marked sign!which is the option build and run.So now the program will started to compile.welldoneeeeee!!!!the out put will appeared like this
So this is all about compile a fortran program.Now started to solve your problem.Fell free to let me know at www.facebook.com/uomex

Sunday, November 6, 2016

Recursion and Recursive function

What is recursion!

Hi! Guys,how are you all? Today's post I'm gonna tell you what is recursion and also recursive function.So if you just completed your begginer level and starting to solve mid-level programming it might be useful and better understandable  for you.When I was new to the word recursion or recursive function I just google it.What I see in my search list I was surprised! See the image below

Is it a mistake! Nope,you will understand it after reading this post.
According to wikipedia  "Recursion is the process by which something is defined in terms of itself or its type"
Check the below images.

Now you may find some clue what I'm talking about! Recursion!
Better if I gave you some realistic example of recursion.Have you ever been a saloon or a parlor.I'm saying you this because they had mirrored room with opposite stand.So one mirror reflects to another mirror.If you look at any of this mirror you will visualize a wonderfull recursion.


Recursive Function

In terms of computer languages recursion means that a function can call itself.
Normally main function can call another function or a function but in terms of recursion a function call itself.

Before start explaining I would like to share with you something that is similar  to recursive function.Did you guys  watched 2010 released Christopher Nolan's movie inception? Where casted Leo DiCaprio as Dom Cob who is a thief can extract information from people mind using dreams.Cob and his associates architects dream into dream.
So how they came into reality! well, using kick.
Kick means something destructive happening in a dream or in their mind to wake up.
All I'm saying you to you this because recursive function has similar functionalities like inception.It can call itself like dreams in a dream,in dream, And what is the kick of recursive function? Well it has base case or halting case or you can say arguments which terminate the loop avoid becoming an infinite loop.Without base case your function will be a paradox recursion.

Again Function

Before starting coding let's do some math.Let's define function of a real number 
If the input of the function is x=5 the output will be 
Similarly we can find  any value of this function just putting the value of x=6,7,8,9....
Although the input of a function can't always be a number .It can be anything like imagine a function where we input a city name the output will be the country
ex.(Dhaka)=Bangladesh
     g(Paris)=France
That means for any function first of all we have to declare what will be the input, Like f's input was a number and g's input was a city and according to the input we have to describe what will be the output like it's a  number or a city.
We can describe it as a mathematical formula or may be writing a program or may be a algorithm.
A function can have many inputs.A function h is defined by two real numbers x and y
So folk if you're familiar with Pythagoras theorem you already known that x is the adjacent and y is the opposite of a right angle  where h represent the hypotenuse 
So guys if we want we can represent h using f
ex.

If you're smart enough you already known that 3 and 2 both equations are doing same things using 1 we find 
So we find
which is similar to the equation (2).In equation (3) the function h defined by function f.
So we are clear that to find one function value we can use another function.But the interesting thing a function can defined itself.This kind of function we called recursive function.
Look at the sequence below
0,1,1,1,3,8,13,21........
Is it familiar to you!Yup this is our favourite fibonacci sequence.Fibonacci was a mathematician who describe the series the next number is found by adding up the two numbers before it.
We find the third number of the Fibonacci sequence 0+1=1
and like all the Fibonacci number we find the 9th Fibonacci number is 21=8+31
so we can find the nth position Fibonacci number is
F(n)=F(n-1)+F(n-2)
If you're clever enough you will see we already made a recursive function.So here F(n) is a recursive function because it is defined by its own.
Lets print 5th position Fibonacci number using recursive function
  1.  
  2. #include <iostream>

  3. using namespace std;

  4. int fibonacci(int n)
  5. {
  6.     if(n==0)
  7.     {
  8.         return 0;
  9.     }
  10.     else if(n==1)
  11.     {
  12.         return 1;
  13.     }
  14.     else
  15.     {
  16.         return (fibonacci(n-1)+fibonacci(n-2));
  17.     }
  18. }
  19. int main ()
  20. {
  21.     cout<<fibonacci(5);
  22.     return 0;
  23. }

Output:5
If you're not clear how this recursive function work you can see the below recursion tree.



I will give you another example.Your task is find out how it work.
  1. #include <iostream>

  2. using namespace std;

  3. int fib(int m);

  4. int main()
  5. {
  6.     int i,n;
  7.     cout<<"Enter the value of n: ";
  8.     cin>>n;
  9.     for(i=1;i<=n;i++)
  10.     {
  11.         cout<<fib(i)<<" ";
  12.     }
  13. }
  14. int fib(int m)
  15. {
  16.     if(m<=2)
  17.     {
  18.     return 1;
  19.     }

  20.     else
  21.     {
  22.         return fib(m-1)+fib(m-2);
  23.     }
  24. }
Some programming languages have no loop ex. for loop,while loop, they use pure recursion.
Lisp,Eel,OCaml etc.Which don't have iterative or looping,So they represent iteration using recursive function.

Wednesday, October 26, 2016

Goooooo!With 'GO'

               Goooooo!With 'GO'

Did you hear about google's latest trending topic!Well its their latest ammo in their armour track!Sound destructive huuuuuh!Well all I'm talking about google's latest launched programming language "Go" (Don't get confused with their another AI project AlphaGo).Well! not so latest because 


So now Go has a version 1.7.3 a stable release is running from october 19,2016.Huuuh! not so latest right!


Before starting discussion about Go,I would like to do some chit chat about Ken Thompson.Though I didn't start using Go in my projects but I believe it will achieve a high dependencies and easy going approach to the programmer because of Ken Thompson.Ken Thompson is a God to a programmer.He jointly work with Dennis Ritchie for developing UNIX, created "B" a programming language.The direct predecessor to the C programming language.Belle (chess machine),UTF-8,Endgame tablebase and the latest Go!

   


 So this guy is the genious to make Go more compatible with the latest devices.


Why google develop Go!

Apple  has their very own programming language called  "swift",Microsoft have their "C#" known as C sharp.So why not google have one.Go is  designed to take advantage of modern multi-core processor without too much tinkering.This make Go run faster than any programming language.It also can meet the demand of networked systems,compute clusters and web applications.GO's built in concurrency gives an advantage to networking,distributed function.It can run Windows,Linux,Mac and even on a small devices like Raspberry pi.

Gooo!With Go!

OK! Here some demonstration  of Go's codeing.Let print " Hello world" program

package main
import "fm"
func main ()
{
   fmt.println("Hello,world")
}

NOw let's find sum and product of an array with Go programming

package main
import "fmt"
func main ()
{
     total,product:=0,1
for:_,y:=range [ ] int {1,2,5}
      total+=y
       product*=y
}
fmt.println(total,product)
}

 So the first impression for me it is not that much difficult to understand.Kinda look like C's type face.As for my personal opinion I feel Go is strong as python and safe and dependable like C/C++.It have another advantage and it is speed.It run faster than python vanila.You will be happy to know Go programms can talk to external C libraries or make native system call.

Is Java threaten by Go!

Well! Time  will say this but for now we can predict that Go can be rival to java enterprise.As far we see before launching Swift, IOS devloper using objective C for its devlopment  but still now they can use objective C though having Swift.So I guess it depends to the developer side if they are compfortable they will adopt it faster.
Faster adoption of this language make it furiously popular,Then it can be threaten to any language.
Good luck Go!

Companies which are already using Go!

 UK's startup bank Mondo  
  • BBc world wide
  • New york times
  • Booking.com
  • AeroFS 
  • Chango
  • Dropbox
  • Netflix
  • Novartis
  • Uber 
and more approximately 20 other company.

Projects which are already using Go!

  • Docker
  • Doozer
  • Ethereium
  • Juju
  • Snappy
  • Syncthing