Linux(ubuntu) üzerinde 32 bit sistemde ram arttırımı

başlık biraz devrik oldu ama kusura bakmayın. malum 32bit sistemlerin adresleyebildiği max ram gözesi teorik olarak 2^32 yani 4.3 GB tabi diğer bazı kısıtlardan dolayı görebileceğiniz max ram değeri 3.2Gb i geçmeyecektir.

elbette buna da bir çözüm bulunmuş durumda. kernel’de physical adres extension (pae)kullanılarak arttırılabilir. sözü uzatmadan kodları verelim:

öncelikle işlemcinizin pae destekli olup olmadığına bakalım:

$ grep --color=always -i PAE /proc/cpuinfo

işlemci “flag”larında pae kırmızı olarak görünüyorsa işlemcinizin pae desteği vardır. pae desteği ile adresleme için 4 bit daha kazanmış oluyorsunuz. kaba bir hesapla bu normal 32 bit sistemin 2^4=16 katı fazla yani 2^36 bellek gözünü adresleyebileceğiniz anlamına geliyor. zaten günümüzde max 4 ram slotuyla 4x8GB=32GB ram sahibi olabiliyorsunuz. pae desteğiniz varsa devam edelim:

#sudo apt-get install linux-generic-pae linux-headers-generic-pae

ve yeniden başladıp default olarak da seçili olan bu kernel ile oturum açıldığında artık tüm ram’inizi adresliyebiliyor olmanız gerekir ;)

kaldırmak için:

#sudo apt-get remove linux-generic-pae linux-headers-generic-pae

ubuntu üzerinde matlab 2011 b mex ayarları

matlab 2011b için mex düzenlemeleri:

öncelikle ubuntu için matlab kurulumundaki adımları biraz kendimize yontarak gerçekleştiriyoruz. Dökümanda bahsedildiği gibi gcc-4.3.4 kullanmak şart değil. Sadece adamlar testlerini o sürümde yapmışlar, başımız ağrımasın diyorlar ;)

2. MATLAB a özel bir bin klasörü oluşturalım:

mkdir ~/.matlab/bin

3. gcc ile sistemimizde kurulu(bende 4.5) gcc-4.5 ile via MATLAB a özel bin klasörü arasında sembolik link oluşturalım.

ln -s /usr/bin/gcc-4.3 ~/.matlab/bin/gcc

4.local startup.m dosyası oluşturup, bin dosyasını $PATH değişkenine ekleyelim. böylece her çalışma öncesi bin yolu PATH a yazılmış olur:

printf “setenv(‘PATH’,sprintf(‘/home/%%s/.matlab/bin:%%s’,getenv(‘USER’),getenv(‘PATH’)));\n” >> ~/Documents/MATLAB/startup.m

/usr/local/MATLAB/R2011b/bin klasörüne gidip “mexopts.sh” dosyasını düzenleyelim:

sudo gedit /usr/local/MATLAB/R2011b/bin/mexopts.sh

bu dosyada CC=’gcc’ yi CC=’gcc-4.5′ e, CXX=’g++‘ yi CXX=’g++-4.5′, ve FC=’gfortran’ ı FC=’gfortran-4.5′ olacak şekilde değişikliklerini yapalım. Elbette bunlar bende kurulu olanlar, siz kendinizde olan derleyicilere göre değiştirebilirsiniz.

bu işlemi yaptıktan sonra kaydedip kapatalım. Ardından

sudo /usr/local/MATLAB/R2011b/bin/mex -setup

komutunu çalıştırıp bu ayarları /home klasörü altındaki ayar dosysına yazmasını sağlayalım

derleme sonrası mex şöyle bir sorunla(kısaltılmış) karşılaştı:

libstdc++.so.6: version `GLIBCXX_3.4.14′ not found (required by /usr/lib/libppl_c.so.2)
libstdc++.so.6: version `GLIBCXX_3.4.11′ not found (required by /usr/lib/libppl_c.so.2)
libstdc++.so.6: version `GLIBCXX_3.4.14′ not found (required by /usr/lib/libppl.so.7)
libstdc++.so.6: version `GLIBCXX_3.4.11′ not found (required by /usr/lib/libppl.so.7)
libstdc++.so.6: version `GLIBCXX_3.4.11′ not found (required by /usr/lib/libgmpxx.so.4)

çözümü mevcut libcstd++ kütüphanesine sembolik link oluşturmaktan geçiyor

sudo ln -s /usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/libstdc++.so /usr/local/MATLAB/R2011b/sys/os/glnx86/libstdc++.so.6

ve finito

MATLAB ‘da Latex(TeX) scriptleri kullanmak

Bilen bilir, bir figürün sağına soluna matematiksel bir ifade koymak
istersiniz olmaz. Matlab'da bununla ilgili bir düzenleme varmış.

figure,

text('Interpreter','latex',... % text interp olarak latex kullaniyoruz

      'String','$$\int_0^x\!\int_y dF(u,v)$$',...%Latex string'i

      'Position',[.5 .5],... %koordinatlar(iceren kutunun sol orta noktasi)

      'FontSize',16) % font buyuklugu
Görsel

Matlab üzerine Tex yerleştirme/Insert TeX on Matlab



			

Ubuntu Klavye Düzenini (Keyboard Layout) Değiştirme

Ubuntu Klavye Düzenini (Keyboard Layout) Değiştirme

 

Her zaman canımı sıkan ve bin takla attıran bir nitelik de türkçe klavyelerdeki nümerik klavyedeki virgülü nokta olarak atamaktır. Özellikle İngilizce tabanlı programlara nümerik ifadeler girdiğimizde epey sıkıntı yaratır bu durum. Ubuntu Keyboard Layout diye aradığımızda da genelde OS düzeyinde müdahalelerde bulunmak gerekir(di). Ancak şimdi çok basit bir özellikle bu sorunu halledebiliriz:

 

  1. Setings>Keyboard dan Layout sekmesini açıyoruz 
  2. burada Options butonuna tıklıyoruz.
  3. Gelen menüden envai çeşit ayarı değiştirebilme seçeneğine sahibiz artık
  4. Numeric keypad delete key behaviour ‘dan
  5. Four-level key with dot butonuna tıklıyoruz
 

 

bitti gitti.  

Türkiye ile Vize Muafiyeti olan Ülkeler

Antigua-Barbuda, Arjantin, Arnavutluk, Bahamalar, Barbados, Belize, Bolivya, Bosna-Hersek, Brezilya, Ekvador, El Salvador, Fas, Fiji, Filipinler, Guatemala, Güney Afrika Cumhuriyeti, Gürcistan, Haiti, Hırvatistan, Honduras, Hong Kong, İran, Jamaika, Japonya, Karadağ, Kazakistan, Kırgızistan, Kuzey Kıbrıs Türk Cumhuriyeti, Kolombiya, Kore Cumhuriyeti (Güney Kore), Kosova, Kosta Rika, Libya, Lübnan, Makau Özel İdare Bölgesi, Makedonya, Maldivler, Malezya, Mauritus, Nikaragua, Pakistan, Palau Cumhuriyeti, Paraguay, Rusya, St. Vincent-Grenadines, Singapur, Solomon Adaları, Sri Lanka, Suriye, Svaziland, Şili, Tanzanya, Tayland, Trinidad-Tobago, Tunus, Tuvalu, Uruguay, Ürdün, Venezuela, Vatikan, Katar, Kamerun, Yemen, Ukrayna.

Ayrıca, Belarus ve Nijerya ile da yapılacak anlaşmalarla çok yakında vizelerin kalkacağı belirtilmiştir.

ubuntu’da facebook video görüntüleyememe probleminin çözümü

ubuntu da facebook vb. sitelerde görülen “video unavailable” yani videonun görüntülenememesi ile ilgili sorunun çözümüne ilişkin önerilen yöntemler içinde işe yaramış olan, şu sitede bulduğum çözümü aşağıda yayınlıyorum:

Ubuntu 10.10 Flash Player | Facebook Video Unavailable Solved | Even 64 bit Flash Player Installation Guide | Firefox Chrome Opera Flash Player in Ubuntu 64 bit

After all those Video and Flash player issues in Ubuntu whether Firefox or Google Chrome, I finally got a solution to all of those. The 64 bit Flash Player issue also has the same solution. So let’s get started.

STEP 1 :

64 bit Users

go to Link : http://labs.adobe.com/downloads/flashplayer10_square.html

fron the release list download the one for 64 bit linux extract it get the ‘libflashplayer.so’ file.

32 bit users

go to http://get.adobe.com/flashplayer/ from the ‘select version to download’ drop down menu download the ‘.tar.gz’ file for linux extract it get the ‘libflashplayer.so’ file

STEP 2:

FIREFOX –

a. Open terminal go into the folder/directory where ‘libflashplayer.so’ file is using ‘cd’ (eg. cd Downloads or cd Desktop )command or any other way you like.

After that …..

b. In Terminal type

sudo cp libflashplayer.so /usr/lib/firefox-4.0-4.0b13pre/plugins

Note: Look carefully at bold folder ‘firefox-4.0-4.0b13pre’, this is my installation you can change this to your installation like ‘/usr/lib/firefox-3.6.15pre/plugins’ etc. rest remains same.

GOOGLE CHROME –

a. same as for firefox.

b. In Terminal type

sudo cp libflashplayer.so /opt/google/chrome

OPERA –

a. same as for firefox.

b. sudo cp libflashplayer.so /usr/lib/opera

That’s it Enjoy every video in Firefox, Opera, Chrome in Ubuntu

Robotics Education Centers Throughout the USA

Getting started with robotics can be difficult. Having a support group for guidance and support is extremely helpful. Many support groups have developed around the country to help schools and teachers get on their feet. Here are a few:

Alabama:
George Blanks runs the BEST competition for the whole southern region. You can contact him at blankgw@auburn.edu.

Alaska:
AREA, Alaska Robotics Education Association, manages FIRST LEGO League tournaments statewide, supports Alaska FIRST Robotics Competition teams and will hold its first Alaska Open this Spring. AREA also works in or with several Alaska school districts and the Alaska university system. Specific contact information for AREA can be found at http://www.akrobotics.org, information on AREA managed, funded or supported events can be found at http://www.eteamz.com/AREA or you can send any initial queries to info@akrobotics.org.

Arizona:
Pima Community College and NASA’s Phoenix Program Office are putting together an organization to support robotics in this state. Please contact Doug Lombardi for information, Lombardi@lpl.arizona.edu.

California:
Northern California has the Western Regional Robotics Forum (WRRF). You can get in touch with them through Eric Reed, eric@mrreed.com and Tom Murphy, TMurphy@contracosta.edu, at Contra Costa Community College.

Los Angeles has the Southern California Regional Robotics Forum (SCRRF), http://www.scrrf.org. You can get in touch with this organization through Chris Husmann chusmann@earthlink.net, or Dr. Ken Berry, ksberry@csun.edu.

San Diego has the San Diego Science Alliance http://www.sdsa.org/robotics/, contact there is Pat Winter, pat.winter@gat.com, and Team San Diego FIRST Robotics Coalition, contact is Robert Mainieri, rmainier@ucsd.edu.

Colorado:
Jason Marcks (jmarcks@spaceed.org)

Three robotics groups are working in Colorado around Artificial Intelligence robotics. They can be contacted at their email lists pyro-outreach@emergent.brynmawr.edu, DenverRoboticsClub@yahoogroups.com, FrontRangeRobotics@yahoogroups.com

Florida:
The University of Central Florida is developing a group with Devry University to have Robot Bootcamps, events and competitions. Contact Cynthia Andrews at andrewc@ocps.k12.fl.us.

In the Miami area Nola Garcia, nola@battlebots.com, Runs the Starbots Robotics Center and runs the BattleBot IQ Competition.

In the Tampa Bay area try First Step Robotics. J. Paul Wahnish, barefo6529@aol.com,
is the contact. You may have seen him on Extreme Makeover, Home Addition. He puts on summer robotic workshops and is supporting curriculum efforts in Florida.

Hawaii:
There seem to be several developing groups on the islands. Art Kimura from Future Flight Hawaii knows most of them, art@higp.hawaii.edu.

Indiana:
The 26 compuses of Ivy Tech Community College are supporting robotics teams through a new initiative that is supporting competitions, conferences and support meetings. Contact Indiana FIRST and the robotics network through Daniel Ward II, dward@ivytech.edu.

Kansas:
The College of Education at Wichita State University (WSU) has a Mindstorms program for middle school students and a Roamer program for early childhood. (http://education.wichita.edu/mindstorms) WSU and Butler Community College have also started a robotics program that directly impacts high school students. Contacts are Karen Reynolds, karen.reynolds@wichita.edu; Tonya Witherspoon, tonya.witherspoon@wichita.edu; and Mel Whiteside, mwhiteside@butlercc.edu

Wichita State University (WSU) Engineering Department runs the Regional BEST Robotics competition as well. Contact Brenda Gile-Laflin, brenda.gile-laflin@wichita.edu.

Massachusetts:
Worchester Polytechnic Institute (WPI) supports several competitions and summer camp programs. Contact Col. Ken Stafford, stafford@WPI.EDU or Brad Miller, brad@bradhouse.com.

Near Boston and Plymouth contact Mike Bastoni, mbastoni@pnta.org and Mark Newby, mnewby@gearseds.com.

For LEGO, contact Lisbeth Ohse. She is our product specialist here at LEGO Education. Her contact info is lohse@LEGOeducation.com.

Tufts University, contact Chris Rogers, crogers@tufts.edu or Merredith Portsmore merredith.portsmore@tufts.edu. They run camps, teacher training, and competitions.

Michigan:
Washtenaw Community College (WCC) located in Ann Arbor, MI offers LEGO robotics camps to prepare students to compete in FIRST LEGO League and Robofest competitions. WCC also offers an industrial robotics program and students can earn college credit by taking our FIRST Robotics Competition course. Contact Maurice Tedder, mtedder@wccnet.edu, or, Gary Schultz, GSchultz@wccnet.edu.

Lawrence Technological University in Southfield host Robofest, http://www.robofest.net and Robofest Academy, http://www.robofest.net/academy.

Oakland County Competitive Robotics Association (OCCRA) is the only Intramural Robotics League in the US. OCCRA serves the Detroit Michigan area. Contact is Mike McIntyre, mcmike51@aol.com.

Minnesota:
The Precision Manufactures Organization is supporting robotics competitions and events throughout the state. You can contact them through Charles Arnold, chaz@mpma.com, or Norm Domholt, Normd@npcinc.com.

Nevada:
University of Navada a Reno has Eric Wang, eric.wang@unr.edu. He wrote a book on LEGO Robotics, Engineering with LEGO Bricks and ROBOLAB.

North Carolina:
Kevin Barnard is leading an effort to support educators kbarnard@wsfcs.k12.nc.us.

New Hampshire:
FIRST Place in Manchester offers classes, camps, and educator workshops.

FIRST Place 200 Bedford Street Manchester, NH 03101
603-666-3906 x427 firstplace@usfirst.org

FIRST LEGO League – http://www.firstlegoleague.org and the FIRST
Robotics Competition – http://www.usfirst.org

Robo Tech Center in Nashua offers robotics courses and RoboFest competition. Contact them at 603-888-6102 or http://www.robotechcenter.com.

Ohio:
In Cleveland Ohio at Cuyahoga Community College Jerry Seppelt, Jerome.seppelt@tri-c.edu,
and George Bilokonsky, George.Bilokonsky@tri-c.edu have been supporting local educators with competitions and workshops.

Oklahoma:
The KISS institute for Practical Robotics puts on the Botball competitions conferences and workshops. You can find information about them at http://kipr.org.

Oregon:
Oregon Robotics Tournament and Outreach Program can be found at http://www.ortop.org/.

Pennsylvania:
Robin Shoop directs the Robotics Academy at Carnegie Mellon University. The Robotics Academy offers onsite and online professional development opportunities for teachers as well as a comprehensive robotic curriculum. The Robotics Academy hosts robotic camps and competitions for students. More can be found at http://www-education.rec.ri.cmu.edu/ or email roboed@rec.ri.cmu.edu.

Rhode Island:
Liana Ferreira Fenton is working with a consortium of Business and Education partners to support math, science, and technology in Rhode Island. She and her organization are connecting educational standards and state mandates for students with business and industries’ standards. Contact her at LianaFF@aol.com.

Janice C. Kowalczyk (kowalcjn@ride.ri.net) Director, Rhode Island School of the Future does Robotics Park – which is really cool. http://www.risf.net/RoboPark.htm

South Carolina:
Donn Griffith has worked for the FIRST organization to create a competition for the VEX robot. He is returning to teach at the University of South Carolina and develop a robotics educational organization there. You can reach him at dgriffith@usfirst.org.

Texas:
University of Houston, College of Technology’s Center for Technology Literacy (CTL).
Dr. Enrique Barbieri, EBarbieri@central.uh.edu
Taresa M. Mikle, TMMikle@central.uh.edu
In partnership with NASA, CTL is responsible for coordinating Texas regional robotics competitions and other STEM-based activities.

If you are in Austin or Central Texas contact the University of Texas through Kylee.Kesler@ni.com.

Virginia:
Richmond VA. Adria Hogan: Robotics instructor at Benedictine High School. FIRST team 1033. ahogan@benedictinehighschool.org.

West Virginia:
Marshall University supports several Remote sites to control LEGO Robots in SensorCity and Red Rover. Linda Hamilton is the brains behind this project, http://www.marshall.edu/LEGO/.

Wisconsin:
Space Education Initiatives / Wisconsin Institute for Robotics in Education
puts on competitions for VEX Robotics and LEGO Robotics for the state. Eric
Brunsell is the contact, eric@spaceed.org. http://www.wirobotics.org

Botball:

Arkansas:
Joe Swaty and Will Elliott at the University of Arkansas, Little Rock organize our Botball events in that region. Contact Will Elliott for more information: willelliott@yahoo.com

Florida:
Charles Winton, cwinton@unf.edu, organizes the local Botball events at the University of North Florida campus.

Georgia:
Contact Phil Olivier, olivier_pd@Mercer.edu, at Mercer University in Macon for information about the local Botball events.

Maryland and Virginia:
Contact Botball@kipr.org for information about our Greater DC regional events.

Indiana:
David Mutchler at Rose-Hulman Institute of Technology organizes the Midwest regional Botball events. You can contact him at: David.Mutchler@Rose-Hulman.edu

Massachusetts:
Contact Holly Yanco (holly@cs.uml.edu) at the University of Massachusetts, Lowell or Karl Wurst (kwurst@worcester.edu) at Worcester State College for information about Botball events in the New England region.

California:
Educators in the Northern California region can contact Terry Grant with NASA Ames at grant@ptolemy.arc.nasa.gov for information about Botball in that region. Teams in the San Diego area can contact Pat Winter at Pat.Winter@gat.com about Southern California regional Botball events. Other southern California area teams can contact botball@kipr.org for more information.

New York and New Jersey:
Contact the local organizers at Polytechnic University, Lamar McFarland at engineering@polynsbe.org or Beverly Johnson at bjohnson@poly.edu, for more information about Botball in this region.

Pennsylvania:
Contact Illah Nourbakhsh at illah@cs.cmu.edu or Rich Simpson (ris20+@pitt.edu) at the University of Pittsburgh for more information about Botball in the Pennsylvania region.

Source