Yoshi no Sekai

25 avr. 2017

Online experience - let's write

Hello dear readers,

cause if you're reading this, it means I am sharing with you something personal which makes us definitely closer than if we never shared anything at all... So what's the point of what I am writing, I am everyday discovering lot of stories, reading articles on the net, hearing things on podcasts, watching stuff on youtube and all, and this is some kind of massive information, most of it I will forget as soon as one or two days passes by, because there would be so much new other stories and there's simply not enough room to adsorb all of this... but what we do, is we keep relating and jumping from subject to subject, without ever stopping... our mind is like this little kid that you put in a toy supermarket and he just sees all this shiny toys and games everywhere all around him, and he starts trying each one for a very short amount of time before being attracted by a second one, then a third etc. so after a moment we can see that this kid (or that our brain if we want to cut the metaphor) isn't getting enough of anything, and isn't satisfied with anything. At the end, he wouldn't have played a single game from all of those, and he wouldn't have gotten any satisfaction at any level.

But in this generation of massive information, it's also the era of true dis-information. People suck whatever we give them, that's how we are wired. Always in need to discuss something, to discover every little story posted on our news feed, on our social media. Do you really care that a baby elephant was born in australia last week ? Do you really care that a guy was arrested last night for stealing a car in some place and he only got arrested because he went over speed limit ? I don't know... but those are just lot of things happening at the same time all over the world, and we can't possibly care about everything... What we need to do instead is refocus our minds on important things.. but what are important things ? This each one of us should take time to define it for himself.

What matters to you ? what doesn't ? So before reading something, ask yourself this question: Do i really care about this ? Does it make me any good to read this ? And if they answer is maybe or I don't know, then you probably do not care about it, and you probably could spend this time reading something more relevant to you or even not reading it and avoiding 'info-pollution' to your mind. Nowadays you can see so much Click-bait titles, like "Today, the CEO of X company share with us the secret of being successful" etc. kind of titles, that just draw your attention, into clicking on them, which means one more visitor to their site, which means more profit from adds depending on the time or the clicks or god knows what else, the end point : more money in their pocket more time wasted for you.

I'm not asking you not to read anything at all, but just take the time to think about what you will read, cause your spending time and energy on it...

Now on a personal note, I would love to find a news feed that is not "money oriented", that is provided by actual human beings who share the same interests as me and that really share for knowledge sake and intellectual growth ... Maybe, there are communities like that that exists and that i don't know about, maybe am being a little bit paranoiac about mass information, but I feel overwhelmed sometimes with this mass of useless information i keep feeding myself... Anyway this was just some reflections I've been doing and I felt like sharing...

Hope you guys have a great day, and I hope that reading this doesn't make you feel like wasted time...

peace to all !

PS: sorry for mistakes, am sure there are plenty, things are still messed up in my head and I haven't taken time to speelcheck it, so if you have any suggestions or corrections please contact me !

22 sept. 2016

Productivity - Google Apps

Recently I have been switching to English language in a majority of environments I use : my phone, my computer and my gmail account and so on. I just think that it would help me improve my communication skills if I enhance my surroundings this way.

But when I did that, I noticed that "google news" got greyed out like this when I click on "apps" from my gmail account :


And even if I am not a power user of this app, the fact that I wasn't able to use it anymore really bothered me (you can think of me as a perfectionist  in someway...)

Anyway, I looked into it and found out that some apps may be provided or removed depending on "your language and your location". So for example, since am in France, if I want it to work, all I have to do is turn my language to "French".

Finally, I decided to keep it greyed out because I clarified the mystery behind it and it doesn't bother me anymore. Also, despite of all configuration, you still can access Google News directly from the site.

I hope this helps anyone having the same issue.

11 oct. 2013

Technology presentation

Hello friends,

I decided to go back into writing in my blog, i guess it won't be something regular, and it won't treat only one subject, but i will do my best to provide some interesting (or not) content from time to time.

I will mostly write in english, but it can happen for me to write in french or arabic (depending on situation).

Anywa, so today i will start with sharing a little presentation i did on "technology" and how it affects our lifestyle in different levels. I hope you would like it.

23 oct. 2011

Computer Science - Data Structure - Sorting

Ehh.... weren't we talking about japanese ???
Yes, but as the title of my blog says this blog won't be only for learning japanese, it will handle many subjects at the same time. Each person consulting it can make personal use the informations provided. Please don't hesitate to coment, or even leave send me e-mails about your impressions or advices or critics or whatever you want :p but the most important thing to do is to enjoy reading xP


So in this post we're going to talk about sorting types just some types i ll try to summarize the main idea of two or three we use the most, i ll try to be as clear as possible, all of this using C-Language.

Bubble sort (Tri à bulles) :

Example : (from wikipedia)

How to remember :

  • go across the tab from the end to the beginning with a first selector i=n;
  • with a second selector j go from the beginning to i, go across the tab this time by swapping each two values that need to be.
  • repeat the process with i-- and so on..

Program :



void tri_a_bulle (int t[],int n)
{
int i,j;
for(i=n-1;i>1;i--)
{
for(j=0;j<i;j++)
{
if(t[j]>t[j+1])
{
echanger(t+j,t+j+1); //echanger is a function that swaps two variables !
}
}
}
}


of course it's not the best version of the bubble sort, it's just a version i made to do exactly as the example shows. If there's any mistake or something isn't clear enough feel free to correct it in a coment or contact me directly. For the main program you'll find the download link at the end of this post, build&run it on your IDE like Code::Blocks (for windows) or Geany (for linux users), those two are my favorites by the way.



Let's move to a second type of sorting.

Insertion sort :

Example : (from wikipedia)


How to remember : 

  • consider your tab sorted until the position i-1
  • grab the T[i] and put it in "mem"
  • seek in the previous sorted squares if mem is lower then T[i-1] then put T[i-1] in T[i], go on like this until you find the first value < mem, this time u stop and put the value mem in its right place
Program :


void tri_par_insertion (int t[], int n)
{
int i,j,mem;
for(i=1;i<n;i++)
{
mem=t[i];
j=i-1;
while(j>=0 && mem<t[j])
{
t[j+1]=t[j];
j--;
}
t[j+1]=mem;
}
}

Selection sort :



Example :
 (from wikipedia)


How to remember : 

  • consider your tab sorted until the position i-1
  • seek the minimum of the following squares
  • put it in the i place, and repeat the same process until the end of your table
Program :


void tri_selection (int t[],int n)
{
int i,j,min;
for(i=0;i<n-1;i++)
{
min=i;
for(j=i+1;j<n;j++)
{
if(t[j]<t[min]) min=j;
}
echanger(t+i,t+min);
}
}

by this i end my post, it's not the best course you can find in the net of course but it's only my way of seeing things. hope you liked. Oh by the way here's the main.c file ^^!


22 oct. 2011

Japanese - Lesson Three

This time we're going to learn a lot of new words and the good way of making "self-presentation" when we meet someone, how to introduce ourselves correctly and nicely ^^! so let's take a look at it.

Self presentation : (じこしょうかい)

はじめまして。
わたしは(Yoshi)です。(replace Yoshi by your name of course ^^ )
(Morocco)じん です。(replace it by your country )
にほんご の がくせい です。
(nihongo : japanese language)
しゅみはおんがくです。(shumi : hobby / ongaku : music)
どぞよろしく おねがいします。(dozo yoroshiku onegaishimasu : pleased to meet you)

(by that time you should be able to read so i will only write some words to help...)

The other person can ask for more details about your specialty like this :
せんもん わなんですか。(senmon : specialty)
here are some possible answers :
ぶんがく               :         Literature
ぶつりがく           :         Physique
かがく                   :         Science
けんちくがく       :         Architecture
いがく                   :         Medicine
てつがく               :         Philosophy
やくがく               :         Pharmacy
じょうほうがく   :         Information science (jouhougaku)
けいざいがく       :         Economics
つうしんがく       :         Communication science (tsuushingaku)
...

if you noticed in the self presentation we also talked about hobbies, here are some other hobbies :

in katakana:

サッカー               :         Soccer  (sakkaa)
テニス                   :         Tennis (tenisu)
ゴルフ                   :         Golf (gorufu)
ジョギング           :          Jogging (jogingu)
インタネット       :          Internet (intanetto)
ピヤノ                   :         Piano
ギター                   :         Guitar (gitaa)
カメラ                   :         Camera

in hiragana:

すいえい               :         Swiming
りょこう               :         Travelling
さんぽ                   :         Walking
りょうり               :         Cooking
どくしょ               :         Reading

(bonus : からて and あいきどう)

hmm, that's are lot of new words...i guess it's enough for the moment.

Asking questions and answering :

Let's see how we ask yes-no questions, how to answer them negatively or positively.

Q: ヨシさん  わ   にほんご   の   せんせい   です  。(: to ask)
(yoshi-san)
A: いいえ、ヨシさんわせんせいじゃありません。ヨシさんわにほんごのがくせいです
(じゃありません : to express negation. です : for affirmative sentence or answer.)

Q:ヨシさん   わ  モロッコじん   です  
A:はい、 わたしはモロッコじんです。

i think it's enough for this lesson, hope you enjoyed ^^!