tag:blogger.com,1999:blog-179216412024-02-20T21:54:48.103+01:00ZentuxUNIX / Web / SecurityVahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.comBlogger111125tag:blogger.com,1999:blog-17921641.post-15385790694785914862014-02-08T11:17:00.002+01:002014-02-08T11:17:34.370+01:00I am still alive It's been almost two years since may last post.<br />
Blogs are good. They intended to be the source of sharing knowledge, and they truly are.<br />
I should overcome my laziness on writing the stuff that I know to public, though. That was the true spirit and should be remained among us as hard-core developers, geeks and hackers...<br />
<br />Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com0tag:blogger.com,1999:blog-17921641.post-32265108077804107102012-07-20T10:37:00.002+02:002014-06-09T13:53:58.170+02:00Cross-App model calling in Django<br />
Let's assume we have two apps in our Django's Root directory. Something like this:<br />
<br />
<blockquote class="tr_bq">
setting.py<br />
manager.pt<br />
courses/<br />
models.py<br />
views.py<br />
urls.py<br />
tests.py<br />
profiles/<br />
models.py<br />
views.py<br />
urls.py<br />
tests.py<br />
.<br />
.<br />
.<br />
.</blockquote>
<br />
Now, you want to connect the models in profiles and courses together. For instance you have a Course model in course-app and a Student model in profiles-app. <br />
The way you can design, will be something like this:<br />
<br />
<br />
<i><br /></i>
<pre class="python"></pre>
<br />
# <i>profiles/models.py</i><br />
<pre class="python" name="code">class Student(models):
first_name = .....
last_name = ....
course = models.ManyToManyField("courses.Course" , null = True , blank = True , related_name = "student")
</pre>
<br />
<br />
<i><br /></i>
<pre class="python"></pre>
<br />
# <i>courses/models.py</i><br />
<pre class="python" name="code">class Course(models.Model):
name = ....
date = ....
</pre>
<br />
<br />
<br />
Attention to "courses.Course" !! The pattern is : [app_name.model_name]<app_name .class_model=""> <app_name .model_class=""> . Do NOT use [app_name.models.model_name]<app_name .models.class_model=""><courses .models.course="">, or you will get some sort of nasty errors.. </courses></app_name></app_name></app_name><br />
That's it ..Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com0tag:blogger.com,1999:blog-17921641.post-77590181495131147652012-07-14T13:47:00.000+02:002012-07-14T13:47:41.599+02:00The MAIN difference between Hackers and AcademiciansFor The Record:<br />
<br />
I'm going to tell you about the MAIN difference between these two cults, after almost 10 years of being around both communities ..<br />
<br />
<b>Hackers</b> learn things when they <b>NEED</b> to, Academicians learn them in advance, so "maybe" they need those stuff later.<br />
So folks .. If you are following the Zen of Hack, don't be disappointed if you see some Academic addicts try to impress you by advanced algorithms,etc.<br />
Just relax, ask them for some tutorials and references, and <b>ACE</b> them ...Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com0tag:blogger.com,1999:blog-17921641.post-1821428419587136602011-08-17T00:11:00.000+02:002011-08-17T00:11:03.687+02:00Twitter IntegrationThe main reason that I blog scarcely is due to using Twitter a lot . I use it almost every day and I'm so addicted to it.<br />
I decided to integrate my <a href="http://twitter.com/#%21/vahid_r">Twitter account</a> with my blog. So everyone can see what I'm doing and what's my idea on everything ...<br />
You can check me out on the right side of the blog, whenever you check out this page or can <a href="http://twitter.com/#%21/vahid_r">follow me</a> on Twitter .Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com0tag:blogger.com,1999:blog-17921641.post-27048761219654035102011-07-28T16:13:00.000+02:002011-07-28T16:13:29.851+02:00why there are "few" females in startupsA very short and intuitive post:<br />
<br />
Do you wanna know what's working in a "world-class" startup look like? It a loop over ( Coding -> Beer -> Coding -> Beer -> Coding -> Beer) until you faint. Then you will deliver the demo, get some funding, grow, celebrate your success with Beer and writing some code again. That's why there are "few" females in startups and girls don't like Nerds. This a "Masculine" area, seriously !!Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com0tag:blogger.com,1999:blog-17921641.post-31728280372988234212011-06-06T18:34:00.000+02:002011-06-06T18:34:55.215+02:00Play Framework, an agile Java EE frameworkI've just discovered <a href="http://www.playframework.org/">Play Framework</a> , an Agile-style <a href="http://www.playframework.org/">web framework</a> for <b>Java EE</b> which reduces the amount of pain of developing to almost zero !! Just look at its functionalities and MVC patterns, specially View part :<br />
<br />
<iframe frameborder="0" height="300" src="http://player.vimeo.com/video/7087610?title=0&byline=0&portrait=0&color=ffffff" width="400"></iframe><br />
<a href="http://vimeo.com/7087610">A web app in 10 minutes using Play framework</a> from <a href="http://vimeo.com/user2463720">zenexity</a> on <a href="http://vimeo.com/">Vimeo</a>.Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com4tag:blogger.com,1999:blog-17921641.post-41362300109967348862011-05-10T09:53:00.003+02:002013-09-15T11:29:41.210+02:00Django VS Tomcat; A productivity perspective<div dir="ltr" style="text-align: left;" trbidi="on">
<b>Attention: This post is not accurate. I was just a Tomcat noob on those days...</b><br />
<br />
These days I'm fully obsessed with developing <a href="http://tomcat.apache.org/">Apache Tomcat</a> and <a href="http://www.djangoproject.com/">Django</a> at the same for two separate projects.<br />
It's provided me a comprehensive view over development life-cycle for both of these technologies. I'll explain pros and cons of them soon, but there are some prominent points which are undeniable. For an experienced programmer, the rate of productivity in Django is about 5-10 times more than Tomcat (If, for example, we consider the <i>development</i> <i>time</i> as a base ranking). Although Tomcat is not a complete web framework like Djnago and doesn't provide such functionalities (It's a so called Web Container), but the differences still matter, I guess.<br />
Now, I think I do know why <a href="http://www.paulgraham.com/">Paul Graham</a> told <i>great hackers</i> prefer to choose <a href="http://www.paulgraham.com/gh.html">Python over Java</a>, and why most recent startups choose python/ java/ Scala/ Erlang, etc. for their development. It is the first time that I have such a great practical experience and I highly recommend to try to develop two different technologies by comparing them from productivity perspective. It will be a mind blowing experience.<br />
I'll go into technical details soon ....<br />
<br />
<u><i><b>UPDATE: </b></i></u> Now, after a while, I can say that they are not comparable by any means. Comparing Django VS. Tomcat , from Productivity perspective, is like comparing <a href="http://en.wikipedia.org/wiki/F-22">F-22</a> VS. <a href="http://en.wikipedia.org/wiki/C-46_Commando">C-46</a> aircrafts !!</div>
Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com4tag:blogger.com,1999:blog-17921641.post-84391072784764908412011-02-18T16:23:00.001+01:002011-02-18T16:24:23.641+01:00Goodbye academia, I get a life.A <a href="http://blog.devicerandom.org/2011/02/18/getting-a-life/">visionary article</a> which tells the same thing that <a href="http://zentux.blogspot.com/2010/10/my-sight-into-cs-world-was-worng.html">I told before</a>.<br />
Now, I'm pretty sure that my previous thoughts on science was a raw illusion. Reality is much more different than story books.<br />
Now, I'm so glad that I know it with my body and soil. I do believe that startups world is more challenging and wild, but has more connection to the real-world. Nevertheless, I still love science as my main source of reason and cognition to universe. I BELIEVE in science, not because it's just science, but because I have no other source of trust ...Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com0tag:blogger.com,1999:blog-17921641.post-29482462852745648762010-12-27T20:20:00.000+01:002010-12-27T20:20:30.864+01:00a programming semesterNext semester is a semester, full of programming courses. Distributed Systems (Erlang), E-Commerce project (J2EE and Django), Software architecture with Java (J2EE), Operating Systems (C and Linux kernel's manipulation) and a project on Distributed Information Systems (CORBA,REST,RMI ).<br />
Honestly, this is the first time in my life that I have such an exciting semester. Let's face the real-world applications with academic approach . What are they supposed to teach that a typical-wanna be hacker doesn't know ??Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com0tag:blogger.com,1999:blog-17921641.post-86879821826423553692010-12-07T20:05:00.000+01:002010-12-07T20:05:50.115+01:00My presentation on DMMSHere is <a href="http://bit.ly/g6l3dw">my presentation</a> on distributed Multimedia systems . I didn't mention the references in my slides. So, if you need them please let me know :)Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com0tag:blogger.com,1999:blog-17921641.post-10200176159991670492010-11-05T23:59:00.000+01:002010-11-05T23:59:32.102+01:00my LinkedIn and Twitter accountI added my LinkedIn and Twitter account to the right side of the blog . I use these services a lot , so you can be connected with me more within this way ...Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com0tag:blogger.com,1999:blog-17921641.post-9288313191036879722010-10-31T20:26:00.000+01:002010-10-31T20:26:04.029+01:00my sight into CS world was worng ?I didn't blog recently . The main reason was due to the context switching from doing pure CS foundation to more real-world-based applications . If some of the best criteria (based on <a href="http://www.joelonsoftware.com/articles/GuerrillaInterviewing3.html">Joel Spolsky's essay</a> ) for being highly productive programmer (i.e. hacker in my term) are to be :<br />
<ol><li> Being Smart</li>
<li>Get things done.</li>
</ol>I definitely did wrong at the second part , and I don't like it .<br />
<br />
Something should change , not in word but in action ; Those changes has already begun ...Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com0tag:blogger.com,1999:blog-17921641.post-43765396402125865692010-06-10T19:22:00.000+02:002010-06-10T19:22:43.453+02:00What Uppsala taught meThe first year at Uppsala University has finished, and like always, I started to think what was the gain of this year .<br />
I think the most important aspect of studying in Uppsala was that they taught me <b>HOW TO PROGRAM MATHEMATICALLY</b> !! This is not a simple matter , specially to a student who had Electrical Engineering background and not Computer Science . Of course, they didn't teach me step by step on how to do it, but they provide some proper infrastructure to achieve this goal .<br />
Unfortunately , I learned it a bit late (mid of May was the "Aha" moment to understand the whole concept ), but when I look back , I'm satisfied with my progress . Besides of some difficulties that this major (Scientific Computing) has , it is very worthwhile for people who want to mix their science/engineering capabilities with high-level mathematical programming . I don't know how I wanted to learn these stuff if I didn't pursue this major , but I know that it changed my perceptive to <b>science</b> itself. For instance , I always wondered how I can implement a very long formula which expresses a physical rule ! Now , I not only know how to do that , but I can observe the most computationally consuming parts that affect the whole relation .<br />
If you are interested in these stuff , I can explain it in future posts ...Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com1tag:blogger.com,1999:blog-17921641.post-1016466645338962362010-05-21T12:25:00.000+02:002010-05-21T12:25:11.185+02:00Artificial LifeYES !!<br />
At last , <a href="http://en.wikipedia.org/wiki/Craig_Venter">Craig Venter</a> and his team <a href="http://www.timesonline.co.uk/tol/news/science/biology_evolution/article7132299.ece">made it </a>after 10 years .<br />
I am so so excited , I even can not type these words ! Craig had a lecture in my university (Uppsala Uni.) this winter and gave a long lecture about their discoveries .<br />
WOW ... this is amazing ; What other things creationists need to believe in evolution ?? <br />
I love science , I do love it . It moves humbly without any exaggeration ... Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com0tag:blogger.com,1999:blog-17921641.post-67486507265734210752010-05-09T19:07:00.000+02:002010-05-09T19:07:21.519+02:00Knowledge and Simplicity<blockquote>Everything should be made as simple as possible, but not simpler.<br />
Albert Einstein</blockquote><br />
The Most important thing , I've learned here is to simplify stuff as much as you can "<b>understand</b>" every <b>single detail</b> of it . That's it , no more ....<br />
<br />
My conclusion is so close to what Albert Einstein has told before !! But I didn't understand it till I figured out a concept in "Reinforcement Learning" during "Machine Learning" course . I'm used to give up or neglect very tricky and hard problems before , but for the first time in my life (yes,it's sad) , I decided to change my mind.<br />
And guess what ?? By only spending one hour on one page , the result was awesome and I did understand the whole chapter afterwards .<br />
<br />
<i>The moral result</i> : NOTHING is hard ; Some stuff just need more focus and dedication ...<br />
<br />
That's it friends :)Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com1tag:blogger.com,1999:blog-17921641.post-22841885259209539112010-03-20T16:27:00.001+01:002010-03-20T16:27:52.497+01:00Fuzzy image Dilation and ErosionOne of the generic approaches to <b>fuzzy Morphology</b> is the Fuzzy <b>Dilation</b> and Fuzzy <b>Erosion</b> . Based on an trouble that I faced with during the Fuzzy image Analysis course , I decided to publish the Matlab code , based on the paper by "Bloch and Maitre" on "<a href="http://www.sciencedirect.com/science?_ob=ArticleURL&_udi=B6V14-3YGTT6V-1X&_user=651519&_coverDate=09%2F30%2F1995&_rdoc=1&_fmt=high&_orig=search&_sort=d&_docanchor=&view=c&_searchStrId=1258840695&_rerunOrigin=google&_acct=C000035158&_version=1&_urlVersion=0&_userid=651519&md5=ad0cf1b6cd41b143b4a8d8efd9394039">Fuzzy mathematical morphologies: A comparative study</a>" . This is just the implementation of <b>Definition 1</b> (page 1344 ). Needless to say that next definition are the same to Def 1 . Just play with the parameters :)<br />
<br />
Here is the code :<br />
<br />
<pre name="code" class="python">%{
Fuzzy Dilation and Erosion
Copyright 2010 Vahid Rafiei .
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
%}
% Settings
len=512;
useNoise=0;
strel=1;
%% Define v
if strel==1
x=linspace(-10,10,len);
v=2-(x).^2;
v(v<0)=0;
end
v=v/max(v);
plot(v,'--');
%% define mu
x=linspace(-4,4,len);
mu=3-x.^4+4*x.^2;
mu(mu<0)=0;
mu=mu/max(mu);
if(useNoise)
mu=mu+0.1*(rand(size(mu))-0.5);
end
hold on
plot(mu,'-','Color','red')
legend({'V','mu'})
% mu and v is ready
%% Definition 1
% Dilation
nalpha=10;
alph=linspace(0.0001,1,nalpha);
deltaAlpha=1/nalpha;
Dmu=zeros(size(mu));
tic
for a = alph
valpha=v>=a;
for x=1:numel(mu)
mask=zeros(size(mu));
mask(x)=1;
mask=convn(mask,valpha,'same');
Dmu(x)=Dmu(x)+max(mask.*mu)*deltaAlpha;
end
end
toc
figure(2)
plot(mu,'Color', 'red');
hold on
plot(Dmu,'Color','blue');
legend({'\mu','D\mu'})
title('Dilation (Def. 1)');
% Erosion
Emu=zeros(size(mu));
tic
for a = alph
valpha=v>=a;
for x=1:numel(mu)
mask=zeros(size(mu));
mask(x)=1;
mask=convn(mask,valpha,'same');
mask(mask==0)=NaN;
Emu(x)=Emu(x)+min(mask.*mu)*deltaAlpha;
end
end
toc
figure(3)
plot(mu,'Color', 'red');
hold on
plot(Emu,'Color','blue');
legend({'\mu','E\mu'})
title('Erosion (Def. 1)');
</pre><br />
Cheers ,Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com0tag:blogger.com,1999:blog-17921641.post-18306716424767236112010-02-21T16:49:00.000+01:002010-02-21T16:49:31.375+01:00Meditate in ScienceAfter years of thinking about what's exactly the difference between super succeed persons (Science in my concern) and ordinary people , I've come up with this :<br />
"<i>You have to <b>Meditate</b> <b>in Science</b> .... There is no other way</i>".<br />
The set point was an article in <a href="http://www.nytimes.com/2009/05/01/opinion/01brooks.html">Newyork Times</a> ; This article is about the importance of Practise and hard working which is not new of course . The difference starts by this sentence :<br />
<blockquote>Mozart played a lot of piano at a very young age, so he got his <b>10,000 hours of practice</b> in early and then he built from there. </blockquote> This is exactly what I want to talk about : <b>10,000 hours</b> ! If you spend <b>3 hours a day</b> on an specific work , it takes about <b>10 years </b>and if you devote more ,say 6 hours per day , it takes 5 years to be master in your stuff .<br />
<br />
This kind of devotion needs a self-disciplined mind and a powerful motivation , and that's why I say you have to <b>meditate</b> in science . In meditation you almost cut your communications with around world and just concentrate on your breath, for example . But if you extend this mindset to your specific interest (any interest , from music to science ,etc.) and start to meditate on it , you'll get there so sooner as you imagine .<br />
Again , it needs hard self-discipline, but as soon as you start it, you will get used to it little by little . Inertia occurs when you want to <i>start</i> something, but after that stage, another inertia needs to stop you ; and in your situation you don't need second type of it anymore :)<br />
<br />
Good luck on your journey ...Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com0tag:blogger.com,1999:blog-17921641.post-26646295120831270982010-02-13T20:08:00.010+01:002010-02-14T14:47:01.698+01:00New mapping technology from Microsoft.<div style="text-align: left;"><object height="350" width="400"><param name="movie" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf"></param><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent"></param><param name="bgColor" value="#ffffff"></param><param name="flashvars" value="vu=http://video.ted.com/talks/dynamic/BlaiseAguerayArcas_2010-medium.mp4&su=http://images.ted.com/images/ted/tedindex/embed-posters/BlaiseAgueraYArcas-2010.embed_thumbnail.jpg&vw=432&vh=240&ap=0&ti=766&introDuration=16500&adDuration=4000&postAdDuration=2000&adKeys=talk=blaise_aguera;year=2010;theme=the_creative_spark;theme=a_taste_of_ted2010;theme=new_on_ted_com;event=TED2010;&preAdTag=tconf.ted/embed;tile=1;sz=512x288;" /><embed src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" pluginspace="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" bgColor="#ffffff" width="400" height="350" allowFullScreen="true" flashvars="vu=http://video.ted.com/talks/dynamic/BlaiseAguerayArcas_2010-medium.mp4&su=http://images.ted.com/images/ted/tedindex/embed-posters/BlaiseAgueraYArcas-2010.embed_thumbnail.jpg&vw=432&vh=240&ap=0&ti=766&introDuration=16500&adDuration=4000&postAdDuration=2000&adKeys=talk=blaise_aguera;year=2010;theme=the_creative_spark;theme=a_taste_of_ted2010;theme=new_on_ted_com;event=TED2010;"></embed></object></div><br />
This is what that changed my viewpoint to Microsoft Research for ever !!<br />
This fantastic brand-new technology from Microsoft is <b>exactly</b> what I though about in Visualization course . I wanted to mix the same idea with Google Map , but I didn't know how to start :)<br />
Anyway , Microsoft implemented it comprehensively , and I'm really excited about it . This is a glamorous technology that delighted me deeply .<br />
<br />
Well done :)<br />
<br />
<i><b></b></i>Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com0tag:blogger.com,1999:blog-17921641.post-33766980168511840862010-02-13T14:56:00.001+01:002010-02-14T14:46:39.134+01:00Where is the privacy Google BUZZ ?Lately , the Google company have presented their new brand product , Google Buzz . Though, it seems that Buzz is an interesting technology , the level of privacy is awful ! As soon as I award this problem, I turned it off . Mail address is a key in privacy and personal stuff and Google should think about it more conservative . I Hope they fix this problem soon .... <br />
<br />
<i><b>Update 1</b>:</i> <a href="http://gmailblog.blogspot.com/2010/02/new-buzz-start-up-experience-based-on.html">This is</a> the first attempt of Google to fix the problem .Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com1tag:blogger.com,1999:blog-17921641.post-36032121919535075412010-02-08T13:59:00.000+01:002010-02-08T13:59:47.673+01:00So long till nowOOPS ! It seems that I'm not an active blogger anymore !! I think it's because of social networks like Facebook and Twitter . They are really addictive .<br />
<br />
Not really important .... I'll be active more by the end of February and the nature of posts tends to be more technical and less personal . Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com0tag:blogger.com,1999:blog-17921641.post-22743447158523059072010-01-11T13:24:00.000+01:002010-01-11T13:24:20.246+01:00TODO list for 2010For coming year, I want to do some interesting works and I publish them here to reinforce my motivation !<br />
<br />
1- I've decided to open source some of my projects . I'll do it little-by-little . I think they are 7-8 projects . I want to actively contribute to open source world. I don't want to shame when I face the sentence "Speak is chip, Show me the code " anymore !!<br />
<br />
2- I've decided to switch to "Front-End" world (mostly JavaScript) for fun , beside of my main area of interest (Computer Vision).<br />
<br />
3- This year is a so critical year or me . Lots of works are waiting to get done. Fortunately , I've become more self-disciplined nowadays, and this rises my expectations ....<br />
<br />
<br />
<br />
** Any suggestion guys ??Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com0tag:blogger.com,1999:blog-17921641.post-77231652103556141912009-12-17T18:21:00.000+01:002009-12-17T18:21:53.112+01:00a one-day trip to MalmoHere is some pics of my one-day trip to Malmo city , south of Sweden .<br />
<br />
You can see the pics in <a href="http://www.flickr.com/photos/41462635@N06/sets/72157622894743315/">Flicker</a> .Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com0tag:blogger.com,1999:blog-17921641.post-47378908967364912052009-12-04T21:35:00.001+01:002009-12-04T21:35:27.721+01:00IEEE and LinkedIn activitiesI updated my<a href="http://www.ieee.org/portal/site"> IEEE</a> and <a href="http://www.linkedin.com/">LinkedIn</a> accounts !<br /><a href="http://www.ieee.org/portal/site">IEEE</a> has always been a must for me , and on the other hand , I've recently decided to involve in <a href="http://www.linkedin.com/">LinkedIn</a> activities more .<br />Honestly , I didn't know that <a href="http://www.linkedin.com/">LinkedIn</a> is social network (embarrassing , yes ) !!<br />If you are a "Techie" and you want to connect with me , please drop me a line .You can find me easily by googling me ...Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com2tag:blogger.com,1999:blog-17921641.post-73269840741339577832009-11-12T17:07:00.002+01:002009-11-12T17:35:42.544+01:00A seminar at Scientific computingToday , <a href="mailto:fham@stanford.edu">Dr. Frank Ham</a> from <a href="http://www.stanford.edu/group/ctr/">Center for Turbulence Research</a>, <a href="http://www.stanford.edu/">Stanford University </a> attended a seminar in Uppsala University and gave a lecture on "<i>Large Eddy Simulation on Unstructured Grids" .<span style="font-style: italic;"> </span></i>You can find the abstract of it <a href="http://user.it.uu.se/%7Eperl/seminar_abstracts/sem_fall09/fham.pdf">here</a> .<br /><br />There is no doubt at all, that Computational Fluid Dynamics (CFD) is one the most complicated science that we have ever made ! And maybe that's why many of the most brilliant minds are working in this or related fields .<br />I was interested in two aspect of this lecture : the Visualization stage and the backbone GRID infrastructure of the their project .<br />Surprisingly , they need the technology 100 times faster than what they have now (Nov 2009) by the end of 2017 !! It means an enormous progress in both hardware and software . Can they achieve this ?? I don't know , but I hope so ....Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com0tag:blogger.com,1999:blog-17921641.post-31360333985519120712009-11-09T01:08:00.002+01:002009-11-09T01:35:28.599+01:00The second periodFor the second period , I chose two courses :<br />"<a href="http://www.uu.se/en/node701?kpid=18983&type=1">Scientific Visualization</a>" and "<a href="http://www.uu.se/en/node701?kpid=18012&type=1">Computer-intensive Statistics and Data Mining</a>".<br /><br />In Scientific Visualization course, they focus on <a href="http://www.vtk.org/">VTK library</a> and consider this huge library as a high level abstract one . I mean they don't concentrate on "under the hood" computer graphics basis; instead, they train students how to think from a level upper to determine the problem specifications and apply visualization techniques to demonstrate the results.<br />Another point about the course is that the formal programming language for this course is Python !! Oh my goodness ! It was one of the best news I had ever heard :)<br /><br />But the second course is more interesting ; it's about "<a href="http://en.wikipedia.org/wiki/Pattern_recognition">Statistical Pattern Recognition</a>" ; thought, the primitive 8 lecture (out of 21 lectures) is about "<a href="http://en.wikipedia.org/wiki/Random_number_generation">random number generation</a>, <a href="http://en.wikipedia.org/wiki/Monte_Carlo_method">Monte Carlo</a> , and <a href="http://en.wikipedia.org/wiki/Bootstrapping_%28statistics%29">Bootstrap</a> techniques" . A nice point about this course is that We have to do our project in "<a href="http://en.wikipedia.org/wiki/R_%28programming_language%29">R programming language</a>" , which is an amazing language with exceptional capabilities for Statistical Programming .<br /><br />Nevertheless , I have to try hard to dominate all of them . It takes 99% perspiration :)Vahidhttp://www.blogger.com/profile/05141980443436956771noreply@blogger.com0