ABCD * D = DCBA (Puzzle+Solution)

April 7, 2017 § Leave a comment

The Puzzle

“ABCD * D = DCBA”, Replace every character with a number to make the equation mathematically right.

The Solution using brute-force algorithm

#include<bits/stdc++.h>
using namespace std;
int main(){
    for(int a=0;a<=9;a++){
        for(int b=0;b<=9;b++)if(a!=b){
            for(int c=0;c<=9;c++)if(a!=c && b!=c){
                for(int d=0;d<=9;d++)if(a!=d && b!=d && c!=d){
                        if((a*1000+b*100+c*10+d)*d == (d*1000+c*100+b*10+a))
                            return cout<<"abcd\n"<<a<<b<<c<<d,0;
                }
            }
        }
    }

    return 0;
}

The final answer is 1089.

Advertisements

The 6th number is both square and triangular [Puzzle]

March 28, 2017 § Leave a comment

 

My Review > Grokking Algorithms An illustrated guide for programmers and other curious people

March 23, 2017 § Leave a comment

Grokking Algorithms An illustrated guide for programmers and other curious peopleGrokking Algorithms An illustrated guide for programmers and other curious people by Aditya Y. Bhargava

My rating: 4 of 5 stars

To me, This book have two sections first from chapter 1 to chapter 10,and the second and i mostly liked is the chapter 11 “Where to go next” but the book in general very useful for beginners.

minn

View all my reviews

Map of Mathematics By Dominic Walliman

March 18, 2017 § Leave a comment

Map of Mathematics Poster Wide

March 9, 2017 § Leave a comment

Imagine that you wake up tomorrow in a parallel universe. Everything in this universe is the same, except for one big difference: money has been replaced by attention. All citizens have little meters attached to their heads, right between the eyes, that show where they’ve been spending their limited daily supply of attention. Let’s say, in this universe, a minute of your attention is worth a dollar. This means when you sit down and enjoy a couple of hours of TV, you’re paying $120 for the privilege. Spending a few minutes (and you really are “spending” a few minutes) catching up with friends will cost you $10. When you drive down the interstate, you’re leaking pennies and nickels whenever a billboard catches your eye.
….. You happily spend thousands of dollars watching advertisements on TV. Your attention is constantly being depleted, without your knowledge.

 

mind hacking book

Install atom packages on windows

February 16, 2017 § Leave a comment

Assalamu Alaikum everyone 😀 ,
If you’re using atom this article will help you install its packages on windows.First things first, go to https://atom.io/packages and search for the package you want to install, in this article i want to install “turbo-javascript” package.

Install packages using GUI:

Open atom -> Packages -> settings view -> install packages/themes
in the search box write “turbo-javascript” without double quotes (or any package you want) then click install. DONE

This slideshow requires JavaScript.

Install packages using CMD:

Open cmd then write:

cd c:\users\pcName\.atom

then

apm //stands for Atom Package Manager
//&lt; and &gt; stands for less than and greater
apm install &lt;turbo-javascript&gt; //replace turbo-javascript with your package's name

you’ll see script like this (without the last line)

atom3

Goodbye Triangular year 2016

December 31, 2016 § Leave a comment

Goodbye Triangular year 2016

Let’s say goodbye to the first and special triangular year in 2000’s, in language of numbers the triangular number is the number of points that can draw a triangle of points.

Audio Steganography

December 26, 2016 § Leave a comment

Audio Steganography, how does it work?

In Abstract: The process of hiding file (audio, text, picture, ….) into an audio file. The Stego application hides the file you want to encrypt in the audio file you want to encrypted into it. And if you want to decrypt that file and returned it the Stego App will reverse the process and return it.

How can one create hidden text messages in audio files? How can one remove them?

To encrypt text file you have some options, i recommend the first one (The easiest and efficient one):

  1. LSB Coding: just convert your audio file into binary numbers and replace its least significant bits with the bits of the text file (in binary format).
  2. Spread Spectrum.
  3. Echo Hiding: add echo to the audio.
  4. Parity Coding: deals with bits like the first but it’s more complex.
  5. Phase Coding: works by replacing the reference phase of an audio segment with a reference phase of the text and make some operations.

What are some working examples that show this process on the Internet?

kushalpandya/WavStagno

Who uses this application?

In fact i don’t know, but what i’m sure of it the developers

used it someday 😀

The original answer on Quora

#3

November 28, 2016 § Leave a comment

سوف أضع أجابة الذكاء الاصطناعي (الألة) في مسلسل Person of Interest الذي أنتهى هذا العام.

شخصاً ما سألني، إن كنت تعلمتُ شيء من هذه الحياة، لذا دعني أقول لك ماذا تعلمت…

تعلمت أن الناس يموتون وحيدين…

ولكن…!

إن أحببت شخصًا ما…

إن أهتممت في شخصًا ما…

أو إن ساعدت شخصًا ما…

ربما لن تموت على الأطلاق…

وربما وربما هذه ليست النهاية…!

source 🙂

PC Magazine November 2016

November 9, 2016 § Leave a comment

Download here

  • Click to view my Personality Profile page

  • Follow Me

  • الحاجات اللى بتكلم فيها

  • Archives – التاريخ

  • Follow Orange Notes on WordPress.com
  • Enter your email address to follow this blog and receive notifications of new posts by email.

    Join 1,157 other followers

  • me on Twitter

  • Zeyad’s bookshelf: currently-reading

  • People loved the blog

  • Translate this blog

  • Blog Stats

    • 35,207 hits
  • Recent Posts: Orange Notes

    Top 12 Repositories on github ‘to me’ (september 2017)

    ncase / trust An interactive guide to the game theory of cooperation jeromeetienne / AR.js Efficient Augmented Reality for the Web – 60fps on mobile! iliakan / javascript-tutorial-en Modern JavaScript Tutorial toddmotto / public-apis A collective list of public JSON APIs for use in web development. EbookFoundation / free-programming-books 📚 Freely available programming books sdmg15 / Best-websites-a-programmer-should-visit 🔗 Some useful websites for programmers. […]

    Intermediate Front End Development Projects on freecodecamp in two days

    Assalamu Alaikum everyone 😀 I just finished my fourth and last project on Intermediate Front End Development Projects on freecodecamp and in this post i’ll describe these hours, tools, maybe mention some lines of code and BUGS. For the first Project Build a Random Quote Machine: I used API to generate movies quotes from https://www.mashape.com/ and using Postman the easiest […]

    Don’t leave your projects die. Let others contribute.

    Have you ever had a project started and couldn’t complete because of a shortage of time, lost of your passion or unresolved bugs led to leave the project totally. 😔 Do you ever thought to expand your project, add some new cool features, but unfortunately you hadn’t the time for that. 🤔 In #counteributors, we share these projects […]

    لا تترك مشاريعك تموت ، دع الآخرين يساهمون فيها.

    اذا كان لديك مشروع بدأته منذ فترة وانشغلت عنه او قابلت فيه اخطاء برمجية لم تستطع حلها فادى بك الحال الى تركه كليًا ، او بدأته وانتهيت منه ولكنك ترغب فى اضافة بعض المميزات الجديدة ولكنك لم تجد الفرصة لفعل هذا. Counteributors مشروع جديد يساهم فى نشر مثل تلك المشاريع وعرضها كى يتمكن الآخرين من […]

    Install Python3 on linux

  • Support Palestine and Al-Aqsa

  • Member of The Internet Defense League

%d bloggers like this: