Bu Blogda Ara

16.06.2014

Kendi işinin sahibi olmak çok mu zor

Radikalde okuduğum bir derleme bunun aslında zor olmadını gösterdi bana. Belki sizlere de ilham verir.

CEO olmanın yaşı yok!

(CNN) Dünya'nın en genç CEO'larının 20'li yaşlarda olduğunu düşünüyorsanız yanılıyorsunuz! Henüz ilkokul çağında kendi şirketlerinin başına geçen bu genç girişimciler sizi hayallerinizin gerçek olabileceğine inandıracak...
  • Lilly Warrren kendi işini kurmaya karar verdiğinde 8 yaşındaydı. Şimdi 13 yaşında olan Lilly, kız kardeşleri Chloe ve Sophie ile birlikte 2009 yılından beri balmumu işinde. Ailelerin sahip olduğu arı kovanlarından artan balmumunu dudak nemlendiricisi ve losyon üretmek için kullanıyorlar.
  • 9 yaşındaki Leila Kaufman ise kendi web sitesi RethinkToys ve YouTube üzerinden videolar yayınlıyor. Sahip olmak istediği oyuncaklar ile ilgili YouTube'da sadece yetişkinlerin video yayınlamasına üzülen Kaufman, kendi oluşturduğu platformdan çocuklara sunulan oyuncaklar hakkındaki görüşlerini dile getiriyor.
  • 7 yaşındaki Scout Kinsley, annesi ile birlikte Happy Wear'in sahibi. 2013'ten beri internet sitesi Etsy üzerinden satış yapan şirketin bu güne kadar elde ettiği kar 15000 doların üstünde.
  • De Amas kardeşler ise 2012 yılından beri cupcake yapıp satıyorlar. Babalarının kurabiyelerinden esinlenerek yola çıkan Leila 13, Julia 12, Sophia ise 3 yaşında. Tarifleri üzerinde 11 ay çalışan De Amas kardeşler TresMarias Cupcakes'i bu yıl kurdu.

13.06.2014

Etki Faktörü (Impact Factor) ve ISI indexleri


Akademisyenliğe yeni adım atmış her öğrencinin dergiler ve indexler hakkında bilmesi gereken kavramlar vardır. Özellikle bir çalışmanın yayınlanması aşamasında dergi seçimi önemli bir noktadır. Seçerken nelere dikkat edeceğiz sorusunun önemli bir karşılığı ise derginin indexlenip indexlenmemesi ve etki faktörüdür.

Dergiler için çok önemli olan indexlenme ve etki faktörü kavramları için yeterli düzeyde bir çalışma buldum.
Genç akademisyenlerin okumasını tavsiye ederim. Verilen sayısal bilgilier eski tarihlere ait olsa da, böyle bilgilerin varlığı ve elde edilebileceğini göstermesi açısından önemli.

SCI-EXPANDED, SSCI, AHCI ve ETKİ FAKTÖRÜ (= Impact Factor)
Ahmet ASAN
Özet
Bu çalışmada, Institute for Scientific Information (ISI)'nin tarihsel gelişimi, bugünkü durumu, dergi seçim kriterleri ve etki faktörü (= Impact Factor) hakkında bilgi verilmiştir. Ayrıca, Türkiye ve bazı ülkelerin dünya bilimine katkı oranları, rakamsal olarak tablolar halinde sunulmuþtur. Türkiye'nin dünya  bilimine olan katkı oranı, 2003 yılında, ilk defa % 1'in üzerine çıkmıştır.

devamı için: http://www.ulakbim.gov.tr/dokumanlar/sempozyum3/017_ahmet.pdf

19.02.2014

Dosyanın isminin bir bölümününde değişiklik yapma-rename

Herzaman ihtiyac olan bir şeydir bu. Aynı kalıbı taşıyan dosya isimlerinden  bir parçayı kaldırıp yerine yenisini koymak isteriz.

örneğin ali adlı müşterinin dosyasından herdosya adında "ali" kalıbı ile tutulmuş olsun. Öğrendik ki müşterinin adı ayşe :D. değiştirmek şart.

var olan dosya adları:
ali.doc
alinin kitabı.txt
aliden gelenler.ppt

yeni halleri:
ayşe.doc
ayşenin kitabı.txt
ayşeden gelenler.ppt

linux ortamında komotumuz şu:

rename eskikalip yeniKalip dosyalar
rename ali ayşe /musteriler/*.*

kaynak: http://stackoverflow.com/questions/1392768/rename-part-of-filename

There are a couple of variants of a rename command, in your case, it may be as simple as
rename ABC XYZ *.dat
You may have a version which takes a Perl regex;
rename 's/ABC/XYZ/' *.dat

15.01.2014

satır sonu karekteri -CR silmek

Linux ve dos satır sonu farklılığı her zaman problem oluşturur. Dosta hazırlanan bir dosyanın sonunda CRLF birlikte bulunur. Linux bunu kabul etmez. Dosya sonundan CR nin silinmesi gerekir.

Düzeltmek için linux ortamında bazı çözümler mevcut. Aşağıdaki kaynakta ayrıntılı çözümler bulunabilir.

ben fromdos komutunu kullandım ve çalışıyor. Komut input dosyasını güncelliyor. ama büyük dosya ise rastgele isimli başka bir dosya oluşturuyor.

ilk önce paketi kuralım:
$ sudo apt-get install tofrodos

şimdi kullanalım:
$ fromdos input.txt


http://linuxcommando.blogspot.com/2008/05/delete-windowsdos-carriage-return.html

7.01.2014

MySQL sorgu sonucunun bir dosyaya yazılması

Mesela sonucumuzu bir .csv dosyası olarak yazdırmak istersek

SELECT * INTO OUTFILE 'dosyaYolu/dosyaAdi.csv'
  FIELDS TERMINATED BY ','
  LINES TERMINATED BY '\n'
  FROM table


Herbir kolon ayracımız ',' ve herbir satır ayracımız '\n'
Burada kolon ayracı olarak \t kullanılırsa, tab ile ayrılmış dosyalar elde edilir.

kaynak: http://dev.mysql.com/doc/refman/5.0/en/select-into.html

Error Code: 2013. Lost connection to MySQL server during query

Mysql de uzun sürecek bir sorgu çalıştırdınız. Ve sorgunuz 600 saniyeden fazla sürünce "Error Code: 2013. Lost connection to MySQL server during query" hatası aldınız.

Mysql time out varsayalın 600 değerini artırarak sorun çözülebilir.

Edit → Preferences → SQL Editor → DBMS connection read time out (in seconds): 600



Buradaki 600 değerini 6000 olmadı 60000  olmadı 100000  yapın :)

13.12.2013

nCopies Array List,zeros,ones- Java

Java da n tane aynı bilgiyi içeren bir liste yapmak istersek, (Matlab daki zeros, ones örneklerinin gelişmişi) şu kodu kullanabiliriz.


zeros(1,00):

ArrayList list= new ArrayList(Collections.nCopies(100, 0)); 

ones(1,100):

ArrayList list= new ArrayList(Collections.nCopies(100, 1)); 

100 elemanlı bir String dizisi:
 
ArrayList list= new ArrayList(Collections.nCopies(100, "0/0")); 

9.12.2013

To save this variable, use the -v7.3 - Matlab

"Warning: Variable 'go_selected_label_info' cannot be saved to a MAT-file whose version is older than 7.3.
To save this variable, use the -v7.3 switch.
Skipping..."

Kaydedilecek verinin boyutu 2GB'dan fazla ise böyle bir uyarı geliyor.

Çözüm:

File>Preferences> General > MAT-Files > MATLAB Version 7.3 or later seçilir.


5.12.2013

ranking in matlab

Amacım bir dizi elamanı sıralamaktan ziyade herkese bir sıra numarası vermek. Aynı değere sahip kişilere de aynı sıra numarası vermek.

>> A=[4 7 9 1 3 7]

A =

     4     7     9     1     3     7

>> [~,~,rankA]=unique(A)

rankA =

     3     4     5     1     2     4

Burada 7 değerine sahip 2. ve 6. elemanın sıra numarasının 4 olduğunu görüyoruz. Ve maksimum sıra numarası elaman sayısına eşit değil. Çünkü aynı sıraya sahip elemanlar var.

büyükten küçüğe sıralama için ise şunu da eklemek gerekecek:

>> revRankA = max(rankA) - rankA  + 1

revRankA =

     3     2     1     5     4     2



Sıralama işlemi ile karıştırmayalım. O şöyle bir şey dönerdi.

>> [sortA indA]=sort(A)

sortA =

     1     3     4     7     7     9

indA =

     4     5     1     2     6     3

ve indAyı tekrar sort etsem, aynı değere sahip 2. ve 6. elemanlar da kendi içinde sort edilecek, biri 4. sırada diğeri 5.sırada yer alacaktı.
>> [sortsortA indindA]=sort(indA)

sortsortA =

     1     2     3     4     5     6

indindA =

     3     4     6     1     2     5

kaynak: http://stackoverflow.com/questions/14448759/sort-in-matlab-and-assign-ranking

9.09.2013

How to Reset a Windows 7 Password

kaynak1: http://pcsupport.about.com/od/windows7/ht/reset-password-windows-7.htm
kaynak2: http://www.yazilimdevi.com/Makaleler-556-utilman-exe-ile-administrator-kullanici-hesabi-sifresinin-degistirilmesi.aspx

Virtual box ta kurulu bir windows için de geçerli :) Yazanların eline sağlık.

If you need to reset the password to Windows 7 on your computer, likely because you've forgotten it, let me first assure you that not only is this very possible, it's not even that difficult.
Unfortunately, aside from a password reset disk (discussed in Step 14 below) there is no Windows-provided way to reset a Windows 7 password. Luckily, there is the clever password reset trick I've outlined below that's easy enough for anyone to try.
Prefer screen shots? Try my Step by Step Guide to Resetting a Windows 7 Password for an easy walk-through!
Note: There are several additional ways to reset or recover a forgotten Windows 7 password, including password recovery software. For a full list of options, see my Help! I Forgot My Windows 7 Password!.
If you do know your password and just want to change it, see How To Change Your Windows 7 Password for help with that.
Follow these easy steps to reset your Windows 7 password:
Difficulty: Average
Time Required: Due to the several steps involved, it could take 30 to 60 minutes to reset your Windows 7 password

Here's How:

  1. Insert either your Windows 7 installation DVD, or a Windows 7 System Repair disc, into your optical drive and then restart your computer. If you have either on a flash drive, that'll work too.
    Tip: See How to Boot From a CD, DVD, or BD Disc or How to Boot From a USB Device if you've never booted from portable media before or if you're having trouble doing so.
    Note: If you don't have original Windows 7 media and never got around to making a system repair disc, don't worry. As long as you have access to any other Windows 7 computer (another in your home or a friend's will work fine), you can burn a system repair disc for free. See How to Create a Windows 7 System Repair Disc for a tutorial.
  2. After your computer boots from the disc or flash drive, click Next on the screen with your language and keyboard choices.
    Tip: Don't see this screen or do you see your typical Windows 7 logon screen? Chances are good that your computer booted from your hard drive (like it normally does) instead of from the disc or flash drive you inserted, which is what you want. See the appropriate link in the tip from Step 1 above for help.
  3. Click on the Repair your computer link.
    Note: If you booted with a system repair disc instead of a Windows 7 installation disc or flash drive, you won't see this link. Just move on to Step 4 below.
  4. Wait while your Windows 7 installation is located on your computer.
  5. Once your installation is found, take note of the drive letter found in the Location column. Most Windows 7 installations will show D: but yours may be different.
    Note: While in Windows, the drive that Windows 7 is installed on is probably labeled as the C: drive. However, when booting from Windows 7 install or repair media, a hidden drive is available that usually isn't. This drive is given the first available drive letter, probably C:, leaving the next available drive letter, probably D:, for the next drive - the one with Windows 7 installed on it.
  6. Select Windows 7 from the Operating System list and then click the Next button.
  7. From System Recovery Options, choose Command Prompt.
  8. With Command Prompt now open, execute the following two commands, in this order:
    copy d:\windows\system32\utilman.exe d:\
    
    copy d:\windows\system32\cmd.exe d:\windows\system32\utilman.exe
    
    To the Overwrite question after executing the second command, answer with Yes.
    Important: If the drive that Windows 7 is installed on in your computer is not D: (Step 5), be sure to change all instances of d: in the commands above with the correct drive letter.
  9. Remove the disc or flash drive and then restart your computer.
    You can close the Command Prompt window and click Restart but it's also okay in this situation to restart using your computer's restart button.
  10. Once the Windows 7 logon screen appears, locate the little icon on the bottom-left of the screen that looks like a pie with a square around it and then click it!
    Tip: If your normal Windows 7 logon screen did not show up, check to see that you removed the disc or flash drive you inserted in Step 1. Your computer may continue to boot from this device instead of your hard drive if you don't remove it.
  11. Now that Command Prompt is open, execute the net user command as shown, replacing myusername with whatever your user name is and mypassword with whatever new password you'd like to use:
    net user myusername mypassword
    
    So, for example, I would do something like this:
    net user Tim 1lov3blueberrie$
    
    Tip: If your username has spaces, put double quotes around it when executing net user, as in net user "Tim Fisher" 1lov3blueberrie$.
  12. Close the Command Prompt window.
  13. Login with your new password!
  14. Create a Windows 7 Password Reset Disk! This is the Microsoft-approved, proactive step you should have done a long time ago. All you need is a blank flash drive or floppy disk and you'll never need to worry about forgetting your Windows 7 password again.
  15. While not required, it would probably be wise to undo the hack that makes this work. If you don't, you won't have access to accessibiily features from the Windows 7 login screen.
    To reverse the changes you've made, repeat Steps 1 through 7 above. When you have access to Command Prompt again, execute the following:
    copy d:\utilman.exe d:\windows\system32\utilman.exe
    
    Confirm the overwrite and then restart your computer.
    Important: Undoing this hack will have no impact on your new password. Whatever password you set in Step 11 is still valid.

Tips:

  1. Having trouble resetting your Windows 7 password? See Get More Help for information about contacting me on social networks or via email, posting on tech support forums, and more.