index int64 0 1.03k | original stringlengths 12 7.84k | translated stringlengths 11 7.53k | original_reply stringlengths 15 17.7k | translated_reply stringlengths 12 11k |
|---|---|---|---|---|
0 | Can brain cells move? By movement I mean long distance migration (preferably within the brain only). | Beyin hücreleri hareket edebilir mi? Hareketten kastım uzun mesafeli göç (tercihen sadece beyin içinde). | The question is relatively broad and one should take into account that the brain not only consists of neurons, but also glial cells (supportive cells) and pre-mitotic neuronal stem cells. Furthermore, as critical fellow-scientists have indicated, developmental stage is very important, as the developing embryonic brain ... | Soru nispeten geniş ve beynin sadece nöronlardan değil, aynı zamanda glia hücrelerinden (destekleyici hücreler) ve mitoz öncesi nöronal kök hücrelerden oluştuğu dikkate alınmalıdır. Ayrıca, eleştirel meslektaş bilim insanlarının belirttiği gibi, gelişmekte olan embriyonik beyin yetişkin beyinden çok farklı olduğu için ... |
1 | In our computer systems lecture we were introduced to the MIPS processor. It was (re)developed over the course of the term and has in fact been quite easy to understand. It uses a RISC design, that is its elementary commands are regularly encoded and there are only few of them in order to keep the wires simple.
It was ... | Bilgisayar sistemleri dersimizde MIPS işlemcisine giriş yaptık. Dönem boyunca (yeniden) geliştirildi ve aslında anlaşılması oldukça kolaydı. Basit komutlarının düzenli olarak kodlandığı ve kabloları basit tutmak için yalnızca birkaç tane olan bir RISC tasarımı kullanır.
CISC'in farklı bir felsefe izlediği belirtildi. x... | There is a general historical trend.
In the olden days, memories were small, and so programs were perforce small. Also, compilers were not very smart, and many programs were written in assembler, so it was considered a good thing to be able to write a program using few instructions. Instruction pipelines were simple, a... | Genel bir tarihsel eğilim vardır.
Eskiden bellekler küçüktü ve bu nedenle programlar da küçük olmak zorundaydı. Ayrıca derleyiciler çok akıllı değildi ve birçok program derleyici dilinde yazılmıştı, bu nedenle birkaç komut kullanarak bir program yazabilmek iyi bir şey olarak kabul ediliyordu. Komut hatları basitti ve i... |
2 | View tabular file such as CSV from command line, having horizontal and vertical scrolling would be great. | CSV gibi tablolu dosyaları komut satırından görüntülemek, yatay ve dikey kaydırma özelliği harika olurdu. | Sure, please take a look at csvkit. It provides a set of tools that adhere to the UNIX philosophy (meaning they are small, simple, single-purposed and can be combined).
Here is an example that extracts the ten most populated cities in Germany from the free Maxmind World Cities database and displays the result in a co... | Elbette, lütfen csvkit'e göz atın. UNIX felsefesine uyan bir dizi araç sağlar (yani küçük, basit, tek amaçlıdır ve birleştirilebilirler).
İşte Almanya'daki en kalabalık on şehri ücretsiz Maxmind Dünya Şehirleri veritabanından çıkaran ve sonucu konsolda okunabilir bir biçimde görüntüleyen bir örnek:
```$ csvgrep -e iso... |
3 | Slater type orbitals (STO) are considered to be more accurate than gaussian type orbitals (GTO) for atomic and molecular QM calculations because - among other reasons - they decay with $e^{-\alpha r}$ as $r \to \infty$. But GTOs are more popular because they are easier to calculate with. GTOs decay with $e^{-\alpha r^2... | Slater tipi orbitallerinin (STO), atomik ve moleküler QM hesaplamaları için Gauss tipi orbitallerden (GTO) daha doğru olduğu düşünülür çünkü -diğer nedenlerin yanı sıra- $r \to \infty$ iken $e^{-\alpha r}$ ile azalırlar. Ancak GTO'lar hesaplanması daha kolay olduğu için daha popülerdir. GTO'lar $e^{-\alpha r^2}$ ile az... | I'll answer this question from the theoretical side. The exponential behavior follows simply from the Schrödinger equation. Consider the one-electron Schrödinger equation:
$$
(-\frac{1}{2}\nabla^2 + V(\mathbf{r}))\psi(\mathbf{r}) = \epsilon\psi(\mathbf{r}), \epsilon < 0
$$
At spatial points that are very far away from ... | Bu soruyu teorik açıdan cevaplayacağım. Üstel davranış Schrödinger denkleminin basit bir sonucudur. Tek elektronlu Schrödinger denklemini ele alalım:
$$
(-\frac{1}{2}\nabla^2 + V(\mathbf{r}))\psi(\mathbf{r}) = \epsilon\psi(\mathbf{r}), \epsilon < 0
$$
Çekirdekten çok uzaktaki uzaysal noktalarda, $V(\mathbf{r})\approx 0... |
4 | Explain what "git reset" does. I come from a SVN background and Git is a whole new paradigm. I got mercurial easily, but Git is much more technical.
I think ```git reset``` is close to ```hg revert```, but it seems there are differences. Please include detailed explanations about:
* the options ```--hard```, ```--soft... | "git reset"in ne yaptığını açıklayın. SVN geçmişinden geliyorum ve Git tamamen yeni bir paradigmadır. Mercurial'ı kolayca anladım ancak Git çok daha teknik.
```git reset```in ```hg revert```e yakın olduğunu düşünüyorum ancak aralarında farklar varmış gibi görünüyor. Lütfen aşağıdakiler hakkında ayrıntılı açıklamalar ek... | Remember that in ```git``` you have:
* the ```HEAD``` pointer, which tells you what commit you're working on
* the working tree, which represents the state of the files on your system
* the staging area (also called the index), which "stages" changes so that they can later be committed together
> Please include det... | ```git```'te şunlara sahip olduğunuzu unutmayın:
* Hangi komit üzerinde çalıştığınızı söyleyen ```HEAD``` işaretçisi
* Sisteminizdeki dosyaların durumunu temsil eden çalışma ağacı
* Değişiklikleri daha sonra birlikte komitlenebilmeleri için "hazırlayan" hazırlama alanı (aynı zamanda dizin olarak da adlandırılır)
> L... |
5 | I am looking to use Java to get the MD5 checksum of a file.
How is it done? | Bir dosyanın MD5 kontrol toplamını almak için Java kullanmak istiyorum.
Bu nasıl yapılır? | The com.google.common.hash API offers:
* A unified user-friendly API for all hash functions
* Seedable 32- and 128-bit implementations of murmur3
* md5(), sha1(), sha256(), sha512() adapters, change only one line of code to switch between these, and murmur.
* goodFastHash(int bits), for when you don't care what algori... | com.google.common.hash API'si şunları sunar:
* Tüm karma işlevleri için birleştirilmiş kullanıcı dostu bir API
* murmur3'ün 32 ve 128 bitlik ekilebilir uygulamaları
* md5(), sha1(), sha256(), sha512() bağdaştırıcıları, bunlar arasında geçiş yapmak için yalnızca bir kod satırını değiştirin ve murmur.
* hangi algoritmay... |
6 | What are the primary objections Democrats have to a border wall? | Demokratların sınır duvarına yönelik temel itirazları nelerdir? | It's not clear to me that Democrats are opposed to border-wall construction (your one source suggests they are fine with border walls/fences where necessary), so much as they opposed to some of the plans for full-border walls that have been put forth so far.
Recently, in response to reports that the spending bill would... | Demokratların sınır duvarı inşasına karşı oldukları bana açık değil (tek kaynağınız, gerektiğinde sınır duvarları/çitleri konusunda sorunları olmadığını öne sürüyor), şimdiye kadar ortaya atılan tam sınır duvarı planlarından bazılarını karşı çıkıyorlar.
Yakın zamanda, harcama tasarısının bir sınır duvarı için finansman... |
7 | I'm converting a video to GIF file with ```ffmpeg```:
```ffmpeg \
-i input.flv \
-ss 00:00:00.000 \
-pix_fmt rgb24 \
-r 10 \
-s 320x240 \
-t 00:00:10.000 \
output.gif
```
It works great, but output gif file has a very low quality.
Any ideas how can I improve quality of converted gif? | Bir videoyu ```ffmpeg``` ile GIF dosyasına dönüştürüyorum:
```ffmpeg \
-i input.flv \
-ss 00:00:00.000 \
-pix_fmt rgb24 \
-r 10 \
-s 320x240 \
-t 00:00:10.000 \
output.gif
```
Harika çalışıyor, ancak çıktı gif dosyasının kalitesi çok düşük.
Dönüştürülen gif'in kalitesini nasıl iyileştirebileceğime dair he... | If you would prefer to avoid intermediate image files, the commands provided by LordNeckBeard can be piped between ```ffmpeg``` and ImageMagick's ```convert``` so that no intermediate files are required:
```ffmpeg -i input.flv -vf scale=320:-1 -r 10 -f image2pipe -vcodec ppm - | convert -delay 10 -loop 0 - output.gif
`... | Ara görüntü dosyalarından kaçınmayı tercih ederseniz, LordNeckBeard tarafından sağlanan komutlar, ara dosyalara gerek kalmayacak şekilde ```ffmpeg``` ve ImageMagick'in ```convert``` komutları arasında yönlendirilebilir:
```ffmpeg -i input.flv -vf scale=320:-1 -r 10 -f image2pipe -vcodec ppm - | convert -delay 10 -loop ... |
8 | Tor can only handle TCP connections, but DNS is a UDP protocol. How does Tor route DNS requests over its TCP based network? Why can the same approach not be used to route all UDP traffic over Tor? | Tor yalnızca TCP bağlantılarını işleyebilir, ancak DNS bir UDP protokolüdür. Tor, DNS isteklerini TCP tabanlı ağı üzerinden nasıl yönlendirir? Aynı yaklaşım neden tüm UDP trafiğini Tor üzerinden yönlendirmek için kullanılamaz? | Tor clients do not, in general, directly do DNS requests. When you open a connection through the tor network you usually ask your client (on its socks ports) to connect you to a hostname and port, say www.example.com:80.
Your tor client, once it has created a circuit, will send that hostname and port to the exit node ... | Tor istemcileri genel olarak doğrudan DNS istekleri yapmaz. Tor ağı üzerinden bir bağlantı açtığınızda genellikle istemcinizden (socks portlarında) sizi bir ana makine adına ve porta bağlamasını istersiniz, örneğin www.example.com:80.
Tor istemciniz bir devre oluşturduktan sonra bu ana makine adını ve portu çıkış düğüm... |
9 | Why does this throw ```NullPointerException```
```public static void main(String[] args) throws Exception {
Boolean b = true ? returnsNull() : false; // NPE on this line.
System.out.println(b);
}
public static Boolean returnsNull() {
return null;
}
```
while this doesn't
```public static void main(String[] ... | Bu neden ```NullPointerException``` fırlatıyor?
```public static void main(String[] args) throws Exception {
Boolean b = true ? returnsNull() : false; // Bu satırda NPE.
System.out.println(b);
}
public static Boolean returnsNull() {
return null;
}
```
bu yapmazken
```public static void main(String[] args) t... | The difference is that the explicit type of the ```returnsNull()``` method affects the static typing of the expressions at compile time:
```E1: `true ? returnsNull() : false` - boolean (auto-unboxing 2nd operand to boolean)
E2: `true ? null : false` - Boolean (autoboxing of 3rd operand to Boolean)
```
See Java Language... | Fark, ```returnsNull()``` yönteminin açık türünün derleme zamanında ifadelerin statik yazımını etkilemesidir:
```E1: `true ? returnsNull() : false` - boolean (2. işlenen otomatik olarak boolean'a dönüştürülür)
E2: `true ? null : false` - Boolean (3. işlenen otomatik olarak Boolean'a dönüştürülür)
```
Java Dil Spesifika... |
10 | How do DOS games like DOOM benefit from a PCI graphics card? | DOOM gibi DOS oyunları bir PCI grafik kartından nasıl faydalanır? | DOOM itself doesn’t do anything special to benefit from PCI graphics cards. It runs faster with PCI graphics cards (and VLB, AGP, and PCI Express cards) than with ISA graphics cards because the supporting bus is faster, so reads from and writes to video memory take less time.
PCI goes to great lengths to preserve backw... | DOOM'un kendisi PCI grafik kartlarından faydalanmak için özel bir şey yapmaz. ISA grafik kartlarına göre PCI grafik kartlarıyla (ve VLB, AGP ve PCI Express kartlarıyla) daha hızlı çalışır çünkü destekleyen veri yolu daha hızlıdır, bu nedenle video belleğinden okuma ve yazma işlemleri daha az zaman alır.
PCI, ISA tabanl... |
11 | I need to be able to open a document using its default application in Windows and Mac OS. Basically, I want to do the same thing that happens when you double-click on the document icon in Explorer or Finder. What is the best way to do this in Python? | Windows ve Mac OS'ta varsayılan uygulamasını kullanarak bir belgeyi açabilmem gerekiyor. Temel olarak, Explorer veya Finder'da belge simgesine çift tıkladığınızda olan şeyi yapmak istiyorum. Bunu Python'da yapmanın en iyi yolu nedir? | ```open``` and ```start``` are command-interpreter things for Mac OS/X and Windows respectively, to do this.
To call them from Python, you can either use ```subprocess``` module or ```os.system()```.
Here are considerations on which package to use:
* You can call them via ```os.system```, which works, but...
Escaping... | ```open``` ve ```start``` sırasıyla Mac OS/X ve Windows için komut yorumlayıcı öğeleridir.
Bunları Python'dan çağırmak için ```subprocess``` modülünü veya ```os.system()``` kullanabilirsiniz.
Hangi paketi kullanacağınıza dair hususlar şunlardır:
* ```os.system``` ile çağırabilirsiniz, bu işe yarar ancak...
Kaçış: ```o... |
12 | Why does PRC devalue its currency on purpose, but Turkey is worried about the devaluation of its currency? | Çin neden kasten para birimini devalüe ediyor ama Türkiye para biriminin devalüasyonundan endişe ediyor? | Trade surplus/deficit
Devaluing one's currency means mostly one thing: It becomes more expensive to import products from abroad, while one's own products become comparably cheaper to buy on the world market. That means a country which exports lots of goods wants to devalue their currency while a country which imports l... | Ticaret fazlası/açığı
Bir ülkenin para birimini devalüe etmesi genellikle tek bir anlama gelir: Yurtdışından ürün ithal etmek daha pahalı hale gelirken, kendi ürünlerinin dünya pazarında satın alınması nispeten daha ucuz hale gelir. Bu, çok fazla mal ihraç eden bir ülkenin para birimini devalüe etmek isterken, çok fazl... |
13 | Is it worth patenting an algorithm if I don't have the money to defend against infringements? | İhlallere karşı savunmak için param yoksa bir algoritmayı patent almaya değer mi? | This is a great question, with no one right answer.
The strength of a patent comes from the ability to enforce it. If the patent owner cannot enforce it for whatever reason (such as a lack of funding), the patent is effectively toothless.
But your competitors will likely not know that. They may therefore be dissuaded f... | Bu harika bir soru ve tek bir doğru cevabı yok.
Bir patentin gücü, onu uygulama yeteneğinden gelir. Patent sahibi, ne sebeple olursa olsun (örneğin fon eksikliği gibi) patenti uygulayamıyorsa, patent fiilen etkisizdir.
Ancak rakipleriniz muhtemelen bunu bilmeyecektir. Bu nedenle, yalnızca bir patent varlığı ve dava aça... |
14 | "I have a ```String[]``` with values like so:
```public static final String[] VALUES = new String[] {""AB"",""BC"",""CD"",""AE""};
```
Given ```String s```, is there a good way of testing whether ```VALUES``` contains ```s```?" How do I determine whether an array contains a particular value in Java? | "Şu şekilde değerleri olan bir ```String[]```'im var:
```public static final String[] VALUES = new String[] {""AB"",""BC"",""CD"",""AE""};
```
Verilen ```String s``` için, ```VALUES```'in ```s```'yi içerip içermediğini test etmenin iyi bir yolu var mı?" Java'da bir dizinin belirli bir değeri içerip içermediğini nasıl b... | Four Different Ways to Check If an Array Contains a Value:
* Using ```List```:
```public static boolean useList(String[] arr, String targetValue) {
return Arrays.asList(arr).contains(targetValue);
}
```
* Using ```Set```:
```public static boolean useSet(String[] arr, String targetValue) {
Set set = new HashSet... | Bir Dizinin Bir Değer İçerip İçermediğini Kontrol Etmenin Dört Farklı Yolu:
* ```List``` Kullanarak:
```public static boolean useList(String[] arr, String targetValue) {
return Arrays.asList(arr).contains(targetValue);
}
```
* ```Set``` Kullanarak:
```public static boolean useSet(String[] arr, String targetValue) ... |
15 | Does Java casting introduce overhead? Or the compiler just resolves everything and there is no cost at run time?
Is this a general things, or there are different cases? | Java dökümü ek yük getirir mi? Yoksa derleyici her şeyi çözer ve çalışma zamanında maliyet olmaz mı?
Bu genel bir şey mi, yoksa farklı durumlar mı var? | There are 2 types of casting in Java:
Implicit casting, when you cast from a type to a wider type, which is done automatically and there is no overhead:
```String s = "Cast";
Object o = s; // implicit casting
```
Explicit casting, when you go from a wider type to a more narrow one. For this case, you must explicitly u... | Java'da 2 tür döküm vardır:
Türden daha geniş bir türe döküm yaptığınızda otomatik olarak yapılan ve ek yükü olmayan örtük döküm:
```String s = "Cast";
Object o = s; // örtük döküm
```
Daha geniş bir türden daha dar bir türe geçtiğinizde açık döküm. Bu durumda, dökümü şu şekilde açıkça kullanmanız gerekir:
```Object o... |
16 | How can I copy a string (e.g "hello") to the System Clipboard in C#, so next time I press CTRL+V I'll get "hello"? | C# dilinde bir dizeyi (örneğin "merhaba") Sistem Panosuna nasıl kopyalayabilirim, böylece bir sonraki CTRL+V tuşuna bastığımda "merhaba"yı alabilirim? | There are two classes that lives in different assemblies and different namespaces.
* WinForms: use following namespace declaration, make sure ```Main``` is marked with ```[STAThread]``` attribute:
```using System.Windows.Forms;
```
* WPF: use following namespace declaration
```using System.Windows;
```
* console: add ... | Farklı derlemelerde ve farklı ad alanlarında yaşayan iki sınıf vardır.
* WinForms: aşağıdaki ad alanı bildirimini kullanın, ```Main```'in ```[STAThread]``` özniteliğiyle işaretlendiğinden emin olun:
```using System.Windows.Forms;
```
* WPF: aşağıdaki ad alanı bildirimini kullanın
```using System.Windows;
```
* konsol:... |
17 | I want to put a draft watermark using the below script but the problem is that the watermark don't come over the images and I want it to come over it.
```\usepackage{draftwatermark}
\SetWatermarkText{DRAFT}
\SetWatermarkScale{1}
``` | Aşağıdaki betiği kullanarak bir taslak filigranı koymak istiyorum ancak sorun şu ki filigran görüntülerin üzerine gelmiyor ve üzerine gelmesini istiyorum.
```\usepackage{draftwatermark}
\SetWatermarkText{DRAFT}
\SetWatermarkScale{1}
``` | The problem is that the ```draftwatermark``` places the material in the background, so other elements (for example, figures and listings) might cover the included material; to prevent this, instead of using the ```draftwatermark``` package, you can use the ```xwatermark``` package; the starred variant of ```\newwaterma... | Sorun, ```draftwatermark```'ın materyali arka plana yerleştirmesi, bu nedenle diğer öğeler (örneğin, şekiller ve listeler) eklenen materyali kapatabilir; bunu önlemek için ```draftwatermark``` paketini kullanmak yerine ```xwatermark``` paketini kullanabilirsiniz; ```\newwatermark```'ın yıldızlı değişkeni materyali ön p... |
18 | Understanding the Rails Authenticity Token | Rails Orijinallik Jetonunu Anlamak | What is CSRF?
The Authenticity Token is a countermeasure to Cross-Site Request Forgery (CSRF). What is CSRF, you ask?
It's a way that an attacker can potentially hijack sessions without even knowing session tokens.
Scenario:
* Visit your bank's site, log in.
* Then visit the attacker's site (e.g. sponsored ad from an... | CSRF Nedir?
Orijinallik Belirteci, Siteler Arası İstek Sahteciliği'ne (CSRF) karşı bir önlemdir. CSRF nedir diye sorabilirsiniz?
Bir saldırganın oturum belirteçlerini bilmeden bile oturumları ele geçirebileceği bir yoldur.
Senaryo:
* Bankanızın sitesini ziyaret edin, oturum açın.
* Ardından saldırganın sitesini ziyare... |
19 | Why is FIFA against adding instant replay to the game? | FIFA neden oyuna anında tekrar eklemeye karşı? | There are a few fundamental considerations:
* Uncertainty is a part of the game. The referee and linesmen are the arbiters of the action. Instant replay would limit their authority.
* Football is global. Many places do not have access to the technology necessary to implement instant replay.
* Football is a fast-paced ... | Birkaç temel husus vardır:
* Belirsizlik oyunun bir parçasıdır. Hakem ve çizgi hakemleri, eylemin hakemleridir. Anında tekrar oynatma yetkilerini sınırlayacaktır.
* Futbol küreseldir. Birçok yerde anında tekrar oynatmayı uygulamak için gerekli teknolojiye erişim yoktur.
* Futbol, durma fırsatlarının az olduğu hızlı te... |
20 | If we should encrypt the message rather than the method of transfer, why do we care about wifi security? Is this just security theatre? | Mesajı aktarım yönteminden ziyade şifrelersek, neden wifi güvenliğiyle ilgileniyoruz? Bu sadece güvenlik tiyatrosu mu? | Network encryption protects against different set of threats than application layer encryption like TLS.
In particular, network encryption like Wifi encryption are primarily designed to protect from a local attacker from being able to watch network patterns (by recording who you're making connections with, and discover... | Ağ şifrelemesi, TLS gibi uygulama katmanı şifrelemesinden farklı bir tehdit kümesine karşı koruma sağlar.
Özellikle Wifi şifrelemesi gibi ağ şifrelemesi, öncelikle yerel bir saldırganın ağ modellerini izlemesini (kiminle bağlantı kurduğunuzu kaydederek ve yerel ağdaki hangi cihazları keşfederek), ARP/DNS gibi düşük sev... |
21 | Applying filter in scipy.signal: Use lfilter or filtfilt? | Scipy.signal'de filtre uygulama: lfilter mı yoksa filtfilt mi kullanılmalı? |
* ```filtfilt``` is zero-phase filtering, which doesn't shift the signal as it filters. Since the phase is zero at all frequencies, it is also linear-phase. Filtering backwards in time requires you to predict the future, so it can't be used in "online" real-life applications, only for offline processing of recording... | * ```filtfilt``` sıfır fazlı filtrelemedir, filtreleme sırasında sinyali kaydırmaz. Faz tüm frekanslarda sıfır olduğundan, aynı zamanda doğrusal fazlıdır. Zamanda geriye doğru filtreleme, geleceği tahmin etmenizi gerektirir, bu nedenle "çevrimiçi" gerçek yaşam uygulamalarında kullanılamaz, yalnızca sinyal kayıtlarının ... |
22 | What do different people in the department expect from a postdoc?
By different people I mean the advisor, graduate students and PhD students.
I know it mainly depends on the job description but there are few basic things that a postdoc must be expected to do. How aggressive (proactive) must one be? This question is imp... | Bölümdeki farklı kişiler bir postdoktordan ne bekler?
Farklı kişiler derken danışman, lisansüstü öğrenciler ve doktora öğrencilerini kastediyorum.
Bunun esas olarak iş tanımına bağlı olduğunu biliyorum ancak bir postdoktorun yapması beklenen birkaç temel şey var. Ne kadar agresif (proaktif) olunmalı? Bu soru önemlidir ... | You'll very quickly learn that being an academic involves more than just writing research papers. Your time as a postdoc is when you can start learning about these other aspects, while building your own profile.
A postdoc needs to do the following:
* Build a publication record. This will involve both what you are paid... | Akademik olmanın sadece araştırma makaleleri yazmaktan daha fazlasını içerdiğini çok çabuk öğreneceksiniz. Doktora sonrası dönem, kendi profilinizi oluştururken bu diğer yönleri öğrenmeye başlayabileceğiniz zamandır.
Bir doktora sonrası şunları yapmalıdır:
* Bir yayın kaydı oluşturun. Bu, hem yapmak için para aldığını... |
23 | Can someone explain to me what the ```contentInset``` property in a ```UIScrollView``` instance is used for? And maybe provide an example? | Birisi bana ```UIScrollView``` örneğinde ```contentInset``` özelliğinin ne için kullanıldığını açıklayabilir mi? Ve belki bir örnek verebilir mi? | While jball's answer is an excellent description of content insets, it doesn't answer the question of when to use it. I'll borrow from his diagrams:
``` _|←_cW_→_|_↓_
| |
---------------
|content| ↑
↑ |content| contentInset.top
cH |content|
↓ |content| contentInset.bottom
|content| ↓
---------------
... | jball'un cevabı içerik girintileri hakkında mükemmel bir açıklama olsa da, ne zaman kullanılacağı sorusunu cevaplamıyor. Onun diyagramlarından ödünç alacağım:
``` _|←_cW_→_|_↓_
| |
---------------
|içerik| ↑
↑ |içerik| contentInset.top
cH |içerik|
↓ |içerik| contentInset.bottom
|içerik| ↓
------------... |
24 | How is arc defined in TikZ? | TikZ'de yay nasıl tanımlanır? | ```\draw (x,y) arc (start:stop:radius);``` draws an arc
* with radius ```radius```
* starts from ```(x,y)```
* with center ```(x-r*cos(start), y-r*sin(start))``` and
* ends at ```(x-r*cos(start)+r*cos(stop), y-r*sin(start)+r*sin(stop))```.
For example,
``` \draw[red] (0,0) arc (30:60:3);
```
draws an arc
* of radius... | ```\draw (x,y) arc (start:stop:radius);``` bir yay çizer
* ```radius``` yarıçapıyla
* ```(x,y)``` noktasından başlar
* ```(x-r*cos(start), y-r*sin(start))``` merkezlidir ve
* ```(x-r*cos(start)+r*cos(stop), y-r*sin(start)+r*sin(stop))``` noktasında biter.
Örneğin,
``` \draw[red] (0,0) arc (30:60:3);
```
bir yay çizer... |
25 | How to connect mysql workbench to running mysql inside docker? | Mysql workbench'ü docker içinde çalışan mysql'e nasıl bağlayabilirim? | By default after deployment MySQL has following connection restrictions:
```mysql> select host, user from mysql.user;
+-----------+---------------+
| host | user |
+-----------+---------------+
| localhost | healthchecker |
| localhost | mysql.session |
| localhost | mysql.sys |
| localhost | root ... | MySQL'in varsayılan olarak dağıtımdan sonra aşağıdaki bağlantı kısıtlamaları vardır:
```mysql> select host, user from mysql.user;
+-----------+---------------+
| host | user |
+-----------+---------------+
| localhost | healthchecker |
| localhost | mysql.session |
| localhost | mysql.sys |
| localhos... |
26 | Can meat spoil outside the fridge if it's baked into bread as a filling? | Et, ekmeğin içine dolgu olarak konulursa buzdolabının dışında bozulur mu? | There are two differences between your buns and a tin can.
First, your buns were heated to a core temperature of under 100°C. Yes, your oven was probably set way higher, but the water content in your filling prevents it from getting hotter than boiling water. Commercial canning is done in the vicinity of 120-130°C, whi... | Çöreklerinizle bir teneke kutu arasında iki fark vardır.
Birincisi, çörekleriniz 100°C'nin altındaki bir çekirdek sıcaklığına kadar ısıtıldı. Evet, fırınınız muhtemelen çok daha yükseğe ayarlanmıştı, ancak dolgunuzdaki su içeriği kaynar sudan daha sıcak olmasını engeller. Ticari konserveleme, kutuların basınç altında p... |
27 | I'm wondering how the XML Schema specification handles these cases:
```
```
No maxOccurs given -> Is this the cardinality [1..1]?
```
```
I suppose this is simply invalid?
```
```
Is this the cardinality [0..2] or [1..2]?
Is there an "official" definition on how the XML Schema spec handles these cases? | XML Şeması spesifikasyonunun bu durumları nasıl işlediğini merak ediyorum:
```
```
maxOccurs verilmemiş -> Bu [1..1] kardinalitesi midir?
```
```
Sanırım bu sadece geçersiz?
```
```
Bu [0..2] mi yoksa [1..2] kardinalitesi midir?
XML Şeması spesifikasyonunun bu durumları nasıl işlediğine dair "resmi" bir tanım var mı? | New, expanded answer to an old, commonly asked question...
Default Values
* Occurrence constraints ```minOccurs``` and ```maxOccurs``` default to ```1```.
Common Cases Explained
```
```
means ```A``` is required and must appear exactly once.
```
```
means ```A``` is optional and may appear at most once.
```
```
m... | Eski, sıkça sorulan bir soruya yeni, genişletilmiş cevap...
Varsayılan Değerler
* Oluşum kısıtlamaları ```minOccurs``` ve ```maxOccurs``` varsayılan olarak ```1```'dir.
Ortak Durumlar Açıklandı
```
```
```A```'nın gerekli olduğu ve tam olarak bir kez görünmesi gerektiği anlamına gelir.
```
```
```A```'nın isteğe ba... |
28 | Were there any flying dinosaurs? | Uçan dinozorlar var mıydı? | Birds are both flying dinosaurs and flying reptiles. Yes, that's potentially confusing.
To understand the apparent contradiction, you have to understand how modern classification of organisms works (phylogenetic systematics). Under the old (Linnean) classification system, Reptilia (reptiles) was an order and Aves (bir... | Kuşlar hem uçan dinozorlar hem de uçan sürüngenlerdir. Evet, bu kafa karıştırıcı olabilir.
Görünürdeki çelişkiyi anlamak için organizmaların modern sınıflandırmasının nasıl çalıştığını (filogenetik sistematik) anlamanız gerekir. Eski (Linne) sınıflandırma sisteminde, Reptilia (sürüngenler) bir takımdı ve Aves (kuşlar)... |
29 | Say, a table ```car``` has one-to-one relationship to tables ```electric_car```, ```gas_car```, and ```hybrid_car```. If a ```car``` is ```electric_car```, it can no longer appear in ```gas_car``` or a ```hybrid_car```, etc.
Is it a bad practice to have several mutually exclusive one-to-one relationships in database d... | Diyelim ki ```car``` tablosu ```electric_car```, ```gas_car``` ve ```hybrid_car``` tablolarıyla bire bir ilişkiye sahip. Bir ```car``` ```electric_car``` ise, artık ```gas_car``` veya ```hybrid_car``` içinde görünemez, vb.
Veritabanı tasarımında karşılıklı olarak birbirini dışlayan birden fazla bire bir ilişkiye sahip ... | The different types of cars are an instance of a general problem that surfaces over and over again in data modeling. It is called "generalization/specialization" in ER modeling, and "superclass/subclass" in object modeling.
An object modeler uses the inheritance features built into the object model to solve the prob... | Farklı araba türleri, veri modellemede tekrar tekrar ortaya çıkan genel bir sorunun bir örneğidir. ER modellemede "genelleme/uzmanlaşma" ve nesne modellemede "üst sınıf/alt sınıf" olarak adlandırılır.
Bir nesne modelleyicisi, sorunu çözmek için nesne modeline yerleştirilmiş kalıtım özelliklerini oldukça kolay bir şeki... |
30 | I see a low use of Mathematica in Kaggle competitions. Why would one use the Wolfram Language versus R, Python, or Julia for machine learning? Besides prettier plots and the Manipulate function, do we have something that is useful for ML that other languages are lacking? | Kaggle yarışmalarında Mathematica'nın düşük kullanımını görüyorum. Makine öğrenimi için Wolfram Dili yerine R, Python veya Julia'yı kullanmanın nedeni ne olabilir? Daha güzel grafikler ve Manipulate fonksiyonunun yanı sıra, diğer dillerde olmayan ve ML için yararlı bir şeyimiz var mı? | Mathematica doesn't have the depth of algorithm support that is present in R or Python. Julia has much more limited algorithm support but does exhibit a good turn of speed.
The few algorithms that Mathematica does support are not particularly well exposed for the type of tweaking needed to win Kaggle competitions.
Math... | Mathematica, R veya Python'da bulunan algoritma desteğinin derinliğine sahip değildir. Julia'nın algoritma desteği çok daha sınırlıdır ancak iyi bir hız sergiler.
Mathematica'nın desteklediği birkaç algoritma, Kaggle yarışmalarını kazanmak için gereken ince ayar türü için özellikle iyi bir şekilde ortaya konmamıştır.
M... |
31 | I'm using wp_nav_menu and am trying to create custom output for the sub-level drop downs. I came across the "items_wrap" argument but there's really not much information as to what it is, how it works, and what kind of things can be done with it.
What exactly is "%1$s" and "%2$s"? (Can anyone explain it in layman's... | wp_nav_menu kullanıyorum ve alt seviye açılır menüler için özel çıktı oluşturmaya çalışıyorum. "items_wrap" argümanına rastladım ancak ne olduğu, nasıl çalıştığı ve onunla ne gibi şeyler yapılabileceği konusunda pek fazla bilgi yok.
"%1$s" ve "%2$s" tam olarak nedir? (Bunu herkes basit bir şekilde açıklayabilir mi?) | The parameter ```'items_wrap'``` for ```wp_nav_menu()``` defaults to:
```'%3$s'
```
This a a template that is parsed with ```sprintf()```:
```$nav_menu .= sprintf(
$args->items_wrap
, esc_attr( $wrap_id ) // %1$s
, esc_attr( $wrap_class ) // %2$s
, $items // %3$s
);
```
The numbered place... | ```'wp_nav_menu()'``` için ```'items_wrap'``` parametresi varsayılan olarak şu şekildedir:
```'%3$s'
```
Bu, ```sprintf()``` ile ayrıştırılan bir şablondur:
```$nav_menu .= sprintf(
$args->items_wrap
, esc_attr( $wrap_id ) // %1$s
, esc_attr( $wrap_class ) // %2$s
, $items // %3$s
);
```
N... |
32 | I've noticed that people on YouTube and even on TV would sometimes say things like "I used to take lots of coke a few years ago" or "I used to smoke weed daily until this and that" or "Yea, I smoke weed every once in a while," or "I used to pirate games a lot when I was a bit younger" or "I used pirated Windows and Pho... | YouTube'da ve hatta televizyonda insanların bazen "Birkaç yıl önce çok fazla kokain alıyordum" veya "Şu zamana kadar her gün ot içiyordum" veya "Evet, ara sıra ot içiyorum" veya "Biraz daha gençken çok fazla korsan oyun oynuyordum" veya "İş bulana kadar korsan Windows ve Photoshop kullandım" gibi şeyler söylediklerini ... | Unless the Youtube Video shows them committing a crime, then no, they couldn't be arrested and tried for a crime. Them saying it, not under oath, is just hearsay that has no evidentiary value unless there is already other evidence they have committed a crime. In that case, its an admission. But there must be other, ei... | Youtube Videosu onları suç işlerken göstermiyorsa, hayır, tutuklanamaz ve suçtan yargılanamazlar. Yemin etmeden söyledikleri, zaten bir suç işlediklerine dair başka kanıtlar olmadığı sürece delil değeri olmayan sadece duyumdan ibarettir. Bu durumda, bir itiraftır. Ancak suçun başka dolaylı veya fiili fiziksel kanıtları... |
33 | Did two dissenting Supreme Court justices agree that Trump was "absolutely immune" to the Manhattan DA's subpoena? | İki muhalif Yüksek Mahkeme yargıcı, Trump'ın Manhattan Bölge Savcısı'nın celbine "kesinlikle dokunulmaz" olduğu konusunda hemfikir miydi? | If you are interested in the gory details, please see the full decision in Trump v. Vance. The first half of the linked document contains the Court's majority opinion and the concurring opinion of Justices Kavanaugh and Gorsuch, followed by the separate dissenting opinions of Justices Thomas and Alito.
Based on a quick... | Kanlı ayrıntılarla ilgileniyorsanız lütfen Trump v. Vance'deki tam karara bakın. Bağlantılı belgenin ilk yarısı Mahkemenin çoğunluk görüşünü ve Yargıçlar Kavanaugh ve Gorsuch'un katılımcı görüşünü içerir, ardından Yargıçlar Thomas ve Alito'nun ayrı muhalif görüşleri gelir.
Hızlı bir okumaya dayanarak, Yargıç Thomas'ın ... |
34 | Just curious, given how heavily from Tolkien D&D drew, and the fact that games like Wizardry used Hobbits, is there a good design reason why Gygax and company used Halflings (a term that also appears in Tolkien) vice Hobbits as the term for our little friends? | Sadece meraktan, D&D'nin Tolkien'den ne kadar çok şey aldığını ve Wizardry gibi oyunların Hobbitleri kullandığını göz önünde bulundurarak, Gygax ve ekibinin küçük dostlarımız için Hobbitler yerine Yarımlar (Tolkien'de de geçen bir terim) terimini kullanmasının iyi bir tasarım nedeni var mı? | Halflings were originally called hobbits prior to a legal challenge.
According to Gary Gygax himself, it was due to a legal claim on "hobbit" by a company who purchased the merchandising rights on Tolkien's works in 1976:
TSR was served with papers threatening damages to the tune of half a mil by the Saul Za... | Hobbitler, yasal bir itirazdan önce başlangıçta hobbit olarak adlandırılıyordu.
Gary Gygax'in kendisine göre, bunun nedeni 1976'da Tolkien'in eserlerinin ticari haklarını satın alan bir şirketin "hobbit" kelimesi üzerinde yasal hak iddia etmesiydi:
TSR'ye, Elan Merchandising'in Saul Zantes (sp?) bölümü tarafından Tolk... |
35 | My USB drive used to be originally 8GB when I bought it.
I'm trying to reformatted in Windows 7 by right clicking on the drive and selecting ```Format...```. But the capacity only shows 250MB.
Is there something I can do to get the original size back? Maybe it got partitioned in a weird way?
The flash drive is a SanD... | USB sürücüm ilk aldığımda 8 GB idi.
Windows 7'de sürücüye sağ tıklayıp ```Biçimlendir...``` seçeneğini seçerek yeniden biçimlendirmeye çalışıyorum. Ancak kapasite yalnızca 250 MB olarak görünüyor.
Orijinal boyutu geri almak için yapabileceğim bir şey var mı? Belki de garip bir şekilde bölümlenmiştir?
Flash sürücü bir S... | The command line procedure is not simple, but it is the most likely thing to work.
When re-formatting the "drive" you're actually only formatting a partition on the drive. You need to use the diskpart utility to remove the partitions and create 1 single partition covering the full volume.
```diskpart``` can be a bit d... | Komut satırı prosedürü basit değildir ancak işe yarama olasılığı en yüksek olanıdır. "Sürücüyü" yeniden biçimlendirirken aslında sürücüdeki yalnızca bir bölümü biçimlendirirsiniz. Bölümleri kaldırmak ve tüm birimi kapsayan tek bir bölüm oluşturmak için diskpart yardımcı programını kullanmanız gerekir.
```diskpart``` bi... |
36 | I am a Tor developer. I understand that the .onion address is a public key of sorts, but not much more than that (I can vaguely guess, though). When nobody knows the IP of the .onion address, how do requests reach it? Are they bounced between nodes in the P2P network till someone decrypts it with the corresponding priv... | Ben bir Tor geliştiricisiyim. .onion adresinin bir tür açık anahtar olduğunu anlıyorum, ancak bundan fazlasını değil (tahmin edebiliyorum). Kimse .onion adresinin IP'sini bilmiyorsa, istekler ona nasıl ulaşıyor? Karşılık gelen özel anahtarla biri şifresini çözene kadar P2P ağındaki düğümler arasında sıçrıyorlar mı? | Up to at least October 2013 the hidden services work like this:
* A hidden service calculates its key pair (private and public key, asymmetric encryption).
* Then the hidden service picks some relays as its introduction points.
* It tells its public key to those introduction points over Tor circuits.
* After that the ... | En azından Ekim 2013'e kadar gizli hizmetler şu şekilde çalıştı:
* Gizli bir hizmet anahtar çiftini (özel ve genel anahtar, asimetrik şifreleme) hesaplar.
* Ardından gizli hizmet, giriş noktaları olarak bazı röleleri seçer.
* Genel anahtarını bu giriş noktalarına Tor devreleri üzerinden söyler.
* Bundan sonra gizli hi... |
37 | I have been offered a PhD position by an inexperienced professor in a great institution in Europe. Despite the fact that the institution is very strong in my area, since the position was offered by this particular professor, I would have to commit myself to working with him for my thesis. This professor is young, and r... | Avrupa'da harika bir kurumda deneyimsiz bir profesör tarafından bana doktora pozisyonu teklif edildi. Kurumun benim alanımda çok güçlü olmasına rağmen, pozisyon bu profesör tarafından teklif edildiğinden, tezim için onunla çalışmaya kendimi adamam gerekecek. Bu profesör genç ve nispeten deneyimsiz, ancak üzerinde çalış... | An inexperienced advisor can hurt your career by being relatively unknown. This means they may not have access to the same network and that their recommendation letters do not carry the same weight. Inexperience in supervision may, for example, lead to unrealistic expectations. Or an inexperienced advisor can be very g... | Deneyimsiz bir danışman, nispeten bilinmediği için kariyerinize zarar verebilir. Bu, aynı ağa erişimlerinin olmayabileceği ve tavsiye mektuplarının aynı ağırlığı taşımayacağı anlamına gelir. Örneğin, denetim konusunda deneyimsizlik gerçekçi olmayan beklentilere yol açabilir. Ya da deneyimsiz bir danışman, ikinizin birl... |
38 | Is there a phrase that means "too important" and "attracting too much attention"? | "Çok önemli" ve "çok fazla dikkat çeken" anlamına gelen bir deyim var mı? | There is the term "overdominant":
From Collins dictionary:
>overdominant [adjective]
excessively dominant
To begin with, the design aspect is the most striking and arguably remains overdominant. [Times, Sunday Times (2010)]
Here is an example:
> [Steps must be taken to prevent any one] religious or ethnic group ... | "Aşırı baskın" terimi vardır:
Collins sözlüğünden:
>aşırı baskın [sıfat]
aşırı derecede baskın
Başlangıçta, tasarım yönü en çarpıcı olanıdır ve tartışmasız bir şekilde aşırı baskın olmaya devam etmektedir. [Times, Sunday Times (2010)]
İşte bir örnek:
>[Herhangi bir] dini veya etnik grubun aşırı baskın olmasını önl... |
39 | This guy claims that Olympic powerlifters working in the 1-6 rep range can increase strength without increasing muscle size.
> Trained Olympic lifters, for example, were shown over a two-year period to have significant strength increases with barely noticeable increases in muscle mass (Hakkinen et al, 1988). I had a ... | Bu adam, 1-6 tekrar aralığında çalışan Olimpik güç kaldırıcıların kas kütlesini artırmadan güçlerini artırabileceğini iddia ediyor.
> Örneğin, eğitimli Olimpik haltercilerin iki yıllık bir süre boyunca kas kütlesinde neredeyse fark edilebilir artışlar olmaksızın önemli güç artışları gösterdiği gösterildi (Hakkinen ve ... | Certainly there is a correlation between muscle mass and strength, but there is more to the story. Two reasons why muscle mass and strength may not be completely congruous are:
* Muscle fiber density
* Muscle utilization
Density:
Your muscles are composed of four different types of fibers (slow-twitch, and three form... | Elbette kas kütlesi ve güç arasında bir korelasyon vardır, ancak hikaye bundan ibaret değildir. Kas kütlesi ve gücün tamamen örtüşmemesinin iki nedeni şunlardır:
* Kas lifi yoğunluğu
* Kas kullanımı
Yoğunluk:
Kaslarınız dört farklı lif türünden oluşur (yavaş kasılan ve üç hızlı kasılan form). Bu lifler, uygulanan kuv... |
40 | What are the major concerns about planting trees to create carbon offsets? | Karbon dengelemesi oluşturmak için ağaç dikmeyle ilgili temel endişeler nelerdir? | Here are some common concerns about using tree planting projects to create carbon offsets:
* The scheme actually has a net positive effect, both in the short and long-term/
How effective a tree planting scheme is in capturing and storing carbon dioxide, is for a large part determined by what happens to the trees after... | İşte ağaç dikme projelerini karbon dengelemesi oluşturmak için kullanma konusunda bazı yaygın endişeler:
* Planın kısa ve uzun vadede net bir olumlu etkisi var.
Bir ağaç dikme planının karbondioksiti yakalama ve depolamada ne kadar etkili olduğu, büyük ölçüde ağaçların dikildikten sonra ne olduğuna bağlıdır. Ağaçlar o... |
41 | I am wondering how to generate uniformly distributed points on the surface of the 3-d unit sphere? Also after generating those points, what is the best way to visualize and check whether they are truly uniform on the surface $x^2+y^2+z^2=1$? | 3 boyutlu birim kürenin yüzeyinde düzgün dağılmış noktaların nasıl oluşturulacağını merak ediyorum. Ayrıca bu noktaları oluşturduktan sonra, $x^2+y^2+z^2=1$ yüzeyinde gerçekten düzgün olup olmadıklarını görselleştirmenin ve kontrol etmenin en iyi yolu nedir? | A standard method is to generate three standard normals and construct a unit vector from them. That is, when $X_i \sim N(0,1)$ and $\lambda^2 = X_1^2 + X_2^2 + X_3^2$, then $(X_1/\lambda, X_2/\lambda, X_3/\lambda)$ is uniformly distributed on the sphere. This method works well for $d$-dimensional spheres, too.
In 3D y... | Standart bir yöntem üç standart normal üretmek ve bunlardan bir birim vektör oluşturmaktır. Yani, $X_i \sim N(0,1)$ ve $\lambda^2 = X_1^2 + X_2^2 + X_3^2$ olduğunda, $(X_1/\lambda, X_2/\lambda, X_3/\lambda)$ küre üzerinde düzgün olarak dağıtılır. Bu yöntem $d$ boyutlu küreler için de iyi çalışır.
3B'de reddetme örnekle... |
42 | In Shutter Island, at the end of the movie Teddy had a chat with Chuck, in that scene Teddy told to Chuck as,
Which would be worse: To live as a monster, or to die as a good man?
What's the implicit meaning of this dialogue? Who's the monster as Teddy mentioned?
And, who's a good man? | Shutter Island filminde filmin sonunda Teddy, Chuck ile bir sohbet eder ve o sahnede Teddy, Chuck'a şöyle der:
Hangisi daha kötü olurdu: Canavar olarak yaşamak mı yoksa iyi bir adam olarak ölmek mi?
Bu diyaloğun örtük anlamı nedir? Teddy'nin bahsettiği canavar kimdir?
Ve iyi adam kimdir? | To Live as a Monster
If he accepts his guilt and becomes sane he will become the Monster. His delusions are his brains way of removing this guilt and hiding the fact that he ignored his family, did not act on his wife's mental illness, allowed her to murder their children and then murdered her. By accepting what the do... | Canavar Olarak Yaşamak
Suçunu kabul eder ve aklı başına gelirse Canavar olacaktır. Yanılsamaları, beyninin bu suçluluk duygusunu ortadan kaldırma ve ailesini görmezden geldiği, eşinin akıl hastalığına müdahale etmediği, çocuklarını öldürmesine izin verdiği ve sonra da onu öldürdüğü gerçeğini gizleme yoludur. Doktorları... |
43 | To set the minimal distance between flexbox items I'm using ```margin: 0 5px``` on ```.item``` and ```margin: 0 -5px``` on container. For me it seems like a hack, but I can't find any better way to do this.
```#box {
display: flex;
width: 100px;
margin: 0 -5px;
}
.item {
background: gray;
width: 50px;
hei... | Flexbox öğeleri arasındaki minimum mesafeyi ayarlamak için ```.item``` üzerinde ```margin: 0 5px``` ve kapsayıcı üzerinde ```margin: 0 -5px``` kullanıyorum. Bana bir hile gibi görünüyor, ancak bunu yapmanın daha iyi bir yolunu bulamıyorum.
```#box {
display: flex;
width: 100px;
margin: 0 -5px;
}
.item {
backg... | This solution will work for all cases even if there are multiple rows or any number of elements. But the count of the section should be same you want 4 in first row and 3 is second row it won't work that way the space for the 4th content will be blank the container won't fill.
We are using ```display: grid;``` and its ... | Bu çözüm, birden fazla satır veya herhangi bir sayıda öğe olsa bile tüm durumlar için çalışır. Ancak bölüm sayısı aynı olmalıdır, ilk satırda 4 ve ikinci satırda 3 istiyorsanız bu şekilde çalışmaz, 4. içerik için boşluk boş kalır ve kapsayıcı dolmaz.
```display: grid;``` ve özelliklerini kullanıyoruz.
```#box {
dis... |
44 | Is there a Git for data? The key improvement I'd want is to Diff/Merge more intelligently. e.g. in CSV rather than line vs line comparison, it would do cell vs cell.
And ordering is usually not significant, e.g. rows in a CSV, whereas Git does care and presents the user with 'conflicts'. | Veriler için bir Git var mı? İstediğim en önemli geliştirme, daha akıllıca Farklılaştırma/Birleştirme yapmaktır. Örneğin, satır satır karşılaştırma yerine CSV'de hücre hücre karşılaştırma yapar.
Ve sıralama genellikle önemli değildir, örneğin bir CSV'deki satırlar, Git ise önem verir ve kullanıcıya 'çatışmalar' sunar. | Please note that ```git``` has two configuration commands:
```git config filter..clean
git config filter..smudge
```
The ```clean``` filter can be used e.g. to sort all records in a CSV file except the top row, thus making re-ordering irrelevant.
Quoting ```gitattributes(5)``` :
A filter driver consists of a clean com... | Lütfen ```git```'in iki yapılandırma komutu olduğunu unutmayın:
```git config filter..clean
git config filter..smudge
```
```clean``` filtresi, örneğin bir CSV dosyasındaki tüm kayıtları en üst satır hariç sıralamak için kullanılabilir, böylece yeniden sıralama önemsiz hale gelir. ```gitattributes(5)```'ten alıntı:
Bi... |
45 | I have been puzzling over where to put the submit button, on the left or the right. In researching, I noticed that many sites put buttons on the bottom right in dialogue boxes, and on the bottom left in forms.
It makes sense: in a dialogue box it seems to denote finality, being in the endpoint of the window for left–ri... | Gönder düğmesinin nereye konulacağı konusunda, sola mı yoksa sağa mı, kafam karıştı. Araştırma yaparken, birçok sitenin iletişim kutularında düğmeleri sağ alta, formlarda ise sol alta koyduğunu fark ettim.
Bu mantıklı: Bir iletişim kutusunda, sol-sağ okuyucular için pencerenin bitiş noktasında olduğu için kesinliği ifa... | Where to put the submit button should be decided in order to meet user expectations, it was best to put the button in the place that users expect to find it in the context of the form or dialogue they are using and with regard to the window size.
Forms tend to be left justified while the browser window can leave a ton ... | Gönder düğmesinin nereye konulacağına, kullanıcı beklentilerini karşılamak için karar verilmelidir, düğmeyi kullanıcıların form veya kullandıkları diyalog bağlamında bulmayı bekledikleri yere ve pencere boyutuna göre koymak en iyisidir.
Formlar genellikle sola yaslı olma eğilimindeyken, tarayıcı penceresi büyük bir mon... |
46 | Is it at all possible to update object's properties with ```setState```?
Something like:
```this.state = {
jasper: { name: 'jasper', age: 28 },
}
```
I have tried:
```this.setState({jasper.name: 'someOtherName'});
```
and this:
```this.setState({jasper: {name: 'someothername'}})
```
The first results in a syntax er... | Bir nesnenin özelliklerini ```setState``` ile güncellemek mümkün mü?
Şuna benzer bir şey:
```this.state = {
jasper: { name: 'jasper', age: 28 },
}
```
Şunları denedim:
```this.setState({jasper.name: 'someOtherName'});
```
ve bunu:
```this.setState({jasper: {name: 'someothername'}})
```
İlk deneme söz dizimi hatasıyl... | There are multiple ways of doing this, since state update is a async operation, so to update the state object, we need to use updater function with ```setState```.
1- Simplest one:
First create a copy of ```jasper``` then do the changes in that:
```this.setState(prevState => {
let jasper = Object.assign({}, prevState... | Bunu yapmanın birden fazla yolu vardır, çünkü durum güncellemesi bir async işlemdir, bu nedenle durum nesnesini güncellemek için ```setState``` ile güncelleyici işlevini kullanmamız gerekir.
1- En basit olanı:
Önce ```jasper```'ın bir kopyasını oluşturun, ardından değişiklikleri orada yapın:
```this.setState(prevState ... |
47 | What is the difference between Non-Player Characters (NPCs) and bots in video games? | Video oyunlarındaki Oyuncu Olmayan Karakterler (NPC'ler) ile botlar arasındaki fark nedir? | The key distinction is that a Bot represents an automated player; an NPC, by contrast, isn't playing the game at all.
In general, an NPC is a part of the game; a placed object which is designed by the creator and exists to interact with the player. Examples would include vendors, quest givers, or enemies. In some game... | Temel ayrım, bir Bot'un otomatik bir oyuncuyu temsil etmesidir; bir NPC ise oyunun hiçbir yerinde oynamaz.
Genel olarak, bir NPC oyunun bir parçasıdır; yaratıcı tarafından tasarlanmış ve oyuncuyla etkileşime girmek için var olan yerleştirilmiş bir nesnedir. Örnekler arasında satıcılar, görev verenler veya düşmanlar sa... |
48 | Is there anything like ```static class``` in java? What is the meaning of such a class. Do all the methods of the static class need to be ```static``` too? Is it required the other way round, that if a class contains all the static methods, shall the class be static too? What are static classes good for? | Java'da ```static class``` gibi bir şey var mı? Böyle bir sınıfın anlamı nedir? Statik sınıfın tüm yöntemlerinin de ```static``` olması gerekir mi? Bunun tersi de geçerli midir, yani bir sınıf tüm statik yöntemleri içeriyorsa, sınıf da statik olmalıdır? Statik sınıflar ne işe yarar? | Java has static nested classes but it sounds like you're looking for a top-level static class. Java has no way of making a top-level class static but you can simulate a static class like this:
* Declare your class ```final``` - Prevents extension of the class since extending a static class makes no sense
* Make the co... | Java'da statik iç içe geçmiş sınıflar vardır ancak en üst düzey statik bir sınıf arıyormuşsunuz gibi görünüyor. Java'da en üst düzey bir sınıfı statik yapmanın bir yolu yoktur ancak statik bir sınıfı şu şekilde simüle edebilirsiniz:
* Sınıfınızı ```final``` olarak bildirin - Statik bir sınıfı genişletmek mantıklı olma... |
49 | The Episode IV-VI movies never mention the Emperor's name. In Episodes I-III, we can guess that Darth Sidious will be the emperor, but what about Chancellor Palpatine? If the audience didn't know that he was Sidious, the impact of the reveal would be far different than if they did.
But I did. In all the novels and comi... | IV-VI Bölümleri İmparator'un adından hiç bahsetmez. I-III Bölümlerinde Darth Sidious'un imparator olacağını tahmin edebiliriz, peki ya Şansölye Palpatine? İzleyiciler onun Sidious olduğunu bilmeseydi, ortaya çıkmasının etkisi bilselerdikinden çok daha farklı olurdu.
Ama ben biliyordum. "Jedi'ın Dönüşü"nden sonra çıkan ... | Palpatine's name was first given in the prologue to Alan Dean Foster's novelization of Star Wars (it was credited to Lucas, but he didn't write it), which came out in November 1976, six months before the May 25, 1977 release of the actual film.
So Palpatine being the Emperor was literally known before the public ever s... | Palpatine'in adı ilk olarak Alan Dean Foster'ın Star Wars romanının önsözünde verilmiştir (Lucas'a atfedilmiştir ancak o yazmamıştır) ve 25 Mayıs 1977'de filmin gerçek çıkışından altı ay önce, Kasım 1976'da yayınlanmıştır.
Yani Palpatine'in İmparator olduğu, halk bir Star Wars filmi görmeden önce biliniyordu. Aslında, ... |
50 | So, students in Gryffindor are supposed to represent bravery. How does Neville represent bravery, to the point in being accepted into the house. I've always thought of his strongest traits being things like loyalty, willingness to work hard, etc, and these things would tend to put him in Hufflepuff. | Yani, Gryffindor'daki öğrencilerin cesareti temsil etmesi gerekiyor. Neville, eve kabul edilecek kadar cesareti nasıl temsil ediyor? Onun en güçlü özelliklerinin sadakat, sıkı çalışma isteği gibi şeyler olduğunu ve bu şeylerin onu Hufflepuff'a koyma eğiliminde olacağını her zaman düşünmüşümdür. | First of all, in the first 4 years, it isn't really shown that Neville is NOT brave - the only thing he's really afraid of is his Grandmother and maybe Snape during Potions. With good reason. :)
You may be confusing a lack of confidence/assertiveness with not being brave, but they are not the same (for a good in-univer... | Her şeyden önce, ilk 4 yılda Neville'in cesur OLMADIĞI gerçekten gösterilmiyor - gerçekten korktuğu tek şey büyükannesi ve belki de İksir dersinde Snape. İyi bir sebeple. :)
Kendine güven eksikliğini/iddialı olmamayı cesur olmamakla karıştırıyor olabilirsiniz, ancak bunlar aynı şey değildir (evrende bunun tam tersine i... |
51 | This claim was made popular by being said in the movie The Social Network. It exactly says:
> Did you know there are more people with genius IQs living in China than there are people of any kind living in the United States?
| Bu iddia, Sosyal Ağ filminde söylenerek popüler hale getirildi. Tam olarak şöyle diyor:
> Amerika Birleşik Devletleri'nde yaşayan her türden insandan daha fazla dahi IQ'lu insanın Çin'de yaşadığını biliyor muydunuz? | This claim can actually be tested very easily. Others have done it, e.g. Brian Dickerson: The perils of repeating political nonsense and came to the conclusion that the claim was wrong.
You just need the chance a random person from a large group has a genius level IQ, then multiply it with the number of people in Chin... | Bu iddia aslında çok kolay bir şekilde test edilebilir. Başkaları bunu yaptı, örneğin Brian Dickerson: Siyasi saçmalıkları tekrarlamanın tehlikeleri ve iddianın yanlış olduğu sonucuna vardı.
Sadece büyük bir gruptan rastgele bir kişinin dahi seviyesinde bir IQ'ya sahip olma şansına ihtiyacınız var, ardından bunu Çin'd... |
52 | I am trying to get my program to print out ```"banana"``` from the dictionary. What would be the simplest way to do this?
This is my dictionary:
```prices = {
"banana" : 4,
"apple" : 2,
"orange" : 1.5,
"pear" : 3
}
``` | Programımın sözlükten ```"banana"``` yazdırmasını sağlamaya çalışıyorum. Bunu yapmanın en basit yolu nedir?
İşte sözlüğüm:
```prices = {
"banana" : 4,
"apple" : 2,
"orange" : 1.5,
"pear" : 3
}
``` | As of Python 3.7, insertion order is maintained, so you don't need an ```OrderedDict``` here. You can use the below approaches with a normal ```dict```
Changed in version 3.7: Dictionary order is guaranteed to be insertion order. This behavior was an implementation detail of CPython from 3.6.
source
Python 3.6 and e... | Python 3.7'den itibaren ekleme sırası korunur, bu nedenle burada bir ```OrderedDict```'e ihtiyacınız yoktur. Normal bir ```dict``` ile aşağıdaki yaklaşımları kullanabilirsiniz
Sürüm 3.7'de değişti: Sözlük sırasının ekleme sırası olması garanti edilir. Bu davranış, 3.6'dan itibaren CPython'un bir uygulama ayrıntısıydı.... |
53 | Different coffee packets advertise different amounts of 'Robusta' and 'Arabica'? What do these terms refer to, and how does it affect the taste of the coffee? | Farklı kahve paketleri farklı miktarlarda 'Robusta' ve 'Arabica' ilan ediyor? Bu terimler neyi ifade ediyor ve kahvenin tadını nasıl etkiliyor? |
* One reason that the taste isn't as good for Robusta is that it has more caffeine compared to Arabica. Which may sound like a positive thing but caffeine carries a bitter taste which makes it an unpleasant drink. In fact the Robusta bean has 2.7% caffeine content, almost double the 1.5% of Arabica.
* Arabica contain... | * Robusta'nın tadının Arabica kadar iyi olmamasının bir nedeni, Arabica'ya kıyasla daha fazla kafein içermesidir. Bu olumlu bir şey gibi gelebilir ancak kafein acı bir tada sahiptir ve bu da onu hoş olmayan bir içecek haline getirir. Aslında Robusta çekirdeği %2,7 kafein içeriğine sahiptir ve bu, Arabica'nın %1,5'inin ... |
54 | So whenever we want to shoot our flash before taking a photo. we have to charge it first.
What is the point of the charging our flashes? Aren't their power directly supplied by the battery of our camera?
Please answer for the built in flash on the 2000D and the traditional hot shoe Xenon flashes.
Perhaps these hot shoe... | Bu yüzden bir fotoğraf çekmeden önce flaşımızı ateşlemek istediğimizde, önce onu şarj etmemiz gerekir.
Flaşlarımızı şarj etmenin amacı nedir? Güçleri doğrudan kameramızın pilinden sağlanmıyor mu?
Lütfen 2000D'deki dahili flaş ve geleneksel kızaklı Xenon flaşlar için cevap verin.
Belki de bu kızaklı xenon flaşların, yav... | The peak power at work when a flash is being discharged is extreme.
Example: a classic Metz 45CT (a large but still handheld unit) on full manual power delivers around 90 watt-seconds of electrical output to the flash tube in 1/300s. That means there are 27000 watts at work for a short time.
A 27000 watt lightbulb (BTW... | Bir flaş boşaltılırken işlenen tepe güç aşırıdır.
Örnek: tam manuel güçte klasik bir Metz 45CT (büyük ama yine de elde taşınabilir bir ünite), 1/300sn'de flaş tüpüne yaklaşık 90 watt-saniye elektriksel çıkış sağlar. Bu, kısa bir süre için 27000 watt'ın çalıştığı anlamına gelir.
27000 watt'lık bir ampul (BTW, flaşınız b... |
55 | What are some strategies to maintain morale and productivity after massive layoffs? I am not in a managerial role, just a lead role, and am asking for myself and my fellow employees. | Toplu işten çıkarmaların ardından moral ve verimliliği korumak için bazı stratejiler nelerdir? Yönetici bir rolde değilim, sadece bir lider rolündeyim ve kendim ve meslektaşlarım için soruyorum. | The situation you're describing is tough. Layoffs have a very real impact on both the individuals that are let go and those that remain. I'm sorry you're experiencing this.
Here are some things to consider that may help you and your colleagues cope with the added stress and emotions following a layoff:
* Acknowledge t... | Anlattığınız durum zor. İşten çıkarmalar hem işten çıkarılanlar hem de kalanlar üzerinde çok gerçek bir etkiye sahip. Bunu yaşadığınız için üzgünüm.
Bir işten çıkarmanın ardından ek stres ve duygularla başa çıkmanıza ve iş arkadaşlarınıza yardımcı olabilecek bazı hususlar şunlardır:
* İşten çıkarmaları ve iş arkadaşla... |
56 | Could you please clearly explain what is the difference between correlation and convolution that is done by a filter on an image?
I mean in terms of signal processing definition I know that convolution describes the output of an LTI system, that is if an LTI system produces an output due to convolution with an input s... | Bir görüntü üzerinde bir filtre tarafından yapılan korelasyon ve evrişim arasındaki farkın ne olduğunu açıklayabilir misiniz? Sinyal işleme tanımı açısından evrişimin LTI sisteminin çıktısını tanımladığını biliyorum, yani bir LTI sistemi bir giriş sistemiyle evrişim nedeniyle bir çıktı üretirse, çıkış sinyali giriş sin... | Convolution is correlation with the filter rotated 180 degrees. This makes no difference, if the filter is symmetric, like a Gaussian, or a Laplacian. But it makes a whole lot of difference, when the filter is not symmetric, like a derivative.
The reason we need convolution is that it is associative, while correlati... | Konvolüsyon, 180 derece döndürülmüş filtreyle korelasyondur. Filtre, bir Gauss veya bir Laplasyen gibi simetrikse bu bir fark yaratmaz. Ancak filtre simetrik değilse, bir türev gibi, büyük bir fark yaratır.
Konvolüsyona ihtiyaç duymamızın nedeni, onun birleştirici olmasıdır, oysa korelasyon genel olarak birleştirici d... |
57 | 24601 has developed into being an iconic part of both the Les Miserables book and musical. Was that number special to him, or was it simply a random number he chose (I doubt it)? | 24601 hem Sefiller kitabının hem de müzikalinin ikonik bir parçası haline geldi. Bu sayı onun için özel miydi yoksa sadece rastgele seçtiği bir sayı mıydı (bundan şüpheliyim)? | Yes: it corresponds to the date of Hugo's conception.
This is part of a pattern of similarities between the character of Jean Valjean and the author himself: both are of similar age, have similar habits and similarly austere lifestyles, and even share the same dreams. This is according to David Bellos's The Novel of th... | Evet: Hugo'nun gebe kalma tarihine denk geliyor.
Bu, Jean Valjean karakteri ile yazarın kendisi arasındaki benzerliklerin bir parçası: ikisi de benzer yaşta, benzer alışkanlıklara ve benzer şekilde sade yaşam tarzlarına sahip ve hatta aynı hayalleri paylaşıyorlar. Bu, David Bellos'un Yüzyılın Romanı: Sefillerin Olağanü... |
58 | Why does Michael Crichton use US Customary measurements in hard sci-fi? | Michael Crichton neden sert bilim kurguda ABD'nin geleneksel ölçü birimlerini kullanıyor? | Crichton used both imperial and metric, depending on the context.
In the course of one paragraph in The Sphere, he managed to use both!
> "Pacific coral grows two-and-a-half centimeters a year, and the object-- whatever it is-- is covered in about five meters of coral. That's a lot of coral. Of course, coral doesn't g... | Crichton, bağlama göre hem emperyal hem de metrik birimleri kullanmıştır.
The Sphere'deki bir paragrafta ikisini de kullanmayı başarmıştır!
> "Pasifik mercanı yılda iki buçuk santimetre büyür ve nesne -her neyse- yaklaşık beş metre mercanla kaplıdır. Bu çok fazla mercan. Elbette mercan bin fit derinlikte büyümez, bu d... |
59 | How can horns, most of which have only three buttons, play all their notes? | Çoğu sadece üç düğmeye sahip olan kornalar, tüm notalarını nasıl çalabilir? | Put as simply as possible, horns are tubes. Blowing in special ways makes certain notes sound from those tubes. By changing one's embouchure, those notes start at a fundamental, then gradually go up in harmonics. The first notes (in key C) would be C, G, C, E, G.Those notes are the ones we hear when a bugle is played -... | Mümkün olduğunca basit bir şekilde ifade etmek gerekirse, borular tüplerdir. Özel şekillerde üflemek, bu tüplerden belirli notaların çıkmasını sağlar. Embüşür değiştirilerek bu notalar temel bir notadan başlar ve kademeli olarak armonik olarak yükselir. İlk notalar (C anahtarında) C, G, C, E, G olur. Bu notalar, bir bo... |
60 | I am a big fan of worldbuilding. A common sight in science fiction is that aliens pretend to be human (For example in Third Rock from the Sun). Obviously if the aliens are advanced enough to disguise themselves as another species, there are much easier, simpler and less expensive methods to destroy humanity, so why els... | Dünya inşasının büyük bir hayranıyım. Bilim kurgu da sıkça görülen bir şey uzaylıların insan gibi davranmasıdır (Örneğin Third Rock from the Sun). Uzaylılar kendilerini başka bir tür olarak gizleyecek kadar gelişmişlerse, insanlığı yok etmenin çok daha kolay, basit ve ucuz yolları varken, neden gelişmiş bir uzaylı mede... | Aliens are alien, without a common background their motives may be incomprehensible.
If we assume that these aliens are Hollywood aliens (ie humans with odd-looking rubber bits stuck on their faces) then there are all of the reasons that humans from one culture spend time in another culture and try and learn to fit in:... | Uzaylılar uzaylıdır, ortak bir geçmişleri olmadığından amaçları anlaşılmaz olabilir.
Bu uzaylıların Hollywood uzaylıları olduğunu varsayarsak (yani yüzlerine yapışmış garip görünümlü kauçuk parçaları olan insanlar), o zaman bir kültürden gelen insanların başka bir kültürde zaman geçirmesinin ve uyum sağlamaya çalışması... |
61 | I've taken a look at the list of surveys taken on scala-lang.org and noticed a curious question: "Can you name all the uses of “_”?". Can you? If yes, please do so here. Explanatory examples are appreciated. | scala-lang.org'da yapılan anketlerin listesine göz attım ve ilginç bir soru fark ettim: ""_"'nin tüm kullanımlarını sayabilir misiniz?". Siz sayabilir misiniz? Evet ise, lütfen burada yapın. Açıklayıcı örnekler takdir edilir. | The following is an explanation of the uses of the underscore is Scala _ [underscore] magic.
Examples:
``` def matchTest(x: Int): String = x match {
case 1 => "one"
case 2 => "two"
case _ => "anything other than one and two"
}
expr match {
case List(1,_,_) => " a list with three element and the fi... | Aşağıda Scala'daki alt çizginin kullanımlarının açıklaması yer almaktadır _ [alt çizgi] büyüsü.
Örnekler:
``` def matchTest(x: Int): String = x match {
case 1 => "one"
case 2 => "two"
case _ => "anything other than one and two"
}
expr match {
case List(1,_,_) => " a list with three element and the... |
62 | My university usually asks that we book a flight via a travel agent, but the prices he gives me are about $50 higher than the prices I can get by online booking in the flight company's website. Why would a company want me to book a flight via a travel agent if it is more expensive? | Üniversitem genellikle bir seyahat acentesi aracılığıyla uçuş rezervasyonu yapmamızı ister, ancak bana verdiği fiyatlar, uçuş şirketinin web sitesinden çevrimiçi rezervasyon yaparak alabileceğim fiyatlardan yaklaşık 50 dolar daha yüksek. Bir şirket, daha pahalıysa neden bir seyahat acentesi aracılığıyla uçuş rezervasyo... | There are several reasons why such internal policies exist:
* Your institution may get a discount on certain services of the travel agent if it buys enough from the agent
* By having a contract with a reasonably-priced travel agent, they make sure that no employee books the flight with a very pricey agent or with a tr... | Bu tür iç politikaların var olmasının birkaç nedeni vardır:
* Kurumunuz, seyahat acentesinden yeterince satın alırsa, seyahat acentesinin belirli hizmetlerinde indirim alabilir
* Uygun fiyatlı bir seyahat acentesiyle sözleşme yaparak, hiçbir çalışanın uçuşu çok pahalı bir acenteden veya tesadüfen yolcunun akrabası ola... |
63 | Layman's explanation of encryption backdoors | Şifreleme arka kapılarının amatörce açıklaması | There are two somewhat orthogonal concepts in backdooring encryption algorithms:
* The backdoor can be explicit or implicit. An explicit backdoor is one that everybody knows it is there. An implicit backdoor strives at remaining undetected by the algorithm owners. Of course, when there is an explicit backdoor, people ... | Arka kapı şifreleme algoritmalarında birbirine dik iki kavram vardır:
* Arka kapı açık veya örtük olabilir. Açık arka kapı, herkesin varlığını bildiği arka kapıdır. Örtük arka kapı, algoritma sahipleri tarafından tespit edilmemeye çalışır. Elbette açık bir arka kapı olduğunda, insanlar algoritmadan tamamen kaçınma eği... |
64 | I have a page where a scroll bar containing table rows with divs in them is dynamically generated from the database. Each table row acts like a link, sort of like you'd see on a YouTube playlist next to the video player.
When a user visits the page, the option they are on is supposed to go to the top of the scrolling d... | Veritabanından dinamik olarak divler içeren tablo satırlarını içeren bir kaydırma çubuğunun bulunduğu bir sayfam var. Her tablo satırı, video oynatıcının yanında bir YouTube oynatma listesinde göreceğiniz gibi bir bağlantı gibi davranır.
Bir kullanıcı sayfayı ziyaret ettiğinde, üzerinde bulundukları seçenek kayan div'i... | CSS ```scroll-margin``` and ```scroll-padding```
You might want to have a look at new CSS properties ```scroll-padding``` and ```scroll-margin```. You can use ```scroll-padding``` for the scrolling container (```html``` in this case), and ```scroll-margin``` for the element within the container.
For your example, you w... | CSS ```scroll-margin``` ve ```scroll-padding```
Yeni CSS özellikleri ```scroll-padding``` ve ```scroll-margin```'e göz atmak isteyebilirsiniz. ```scroll-padding```'i kaydırma kabı (bu durumda ```html```) için ve ```scroll-margin```'i kaptaki öğe için kullanabilirsiniz.
Örneğiniz için, görünümde kaydırmak istediğiniz ... |
65 | Suppose I have the geographic coordinates of "Saratoga, California, USA" as
```Latitude: 37°15.8298′ N
Longitude: 122° 1.3806′ W
```
I know from here that in the case of latitude ```1° ≈ 69 miles``` and that longitude varies:
```1° longitude = cosine (latitude) * length of degree (miles) at Equator.
```
How... | Diyelim ki "Saratoga, Kaliforniya, ABD"nin coğrafi koordinatları şu şekilde:
```Enlem: 37°15.8298′ K
Boylam: 122° 1.3806′ B
```
Buradan enlem durumunda ```1° ≈ 69 mil``` olduğunu ve boylamın değiştiğini biliyorum:
```1° boylam = kosinüs (enlem) * Ekvator'daki derece uzunluğu (mil).
```
```boylam: 122°1.3806′ B``` nok... | It doesn't matter at what longitude you are. What matters is what latitude you are.
Length of ```1 degree of Longitude``` = ```cosine (latitude in radians) * length of degree (miles) at equator```.
Convert your latitude into decimal degrees ~ 37.26383
Convert your decimal degrees into radians ~ 0.65038
Take the cosine ... | Hangi boylamda olduğunuzun bir önemi yok. Önemli olan hangi enlemde olduğunuzdur. ```1 boylam derecesinin uzunluğu``` = ```(radyan cinsinden enlem) * ekvatordaki derece uzunluğu (mil)```. Enleminizi ondalık dereceye dönüştürün ~ 37.26383 Ondalık derecenizi radyana dönüştürün ~ 0.65038 Radyandaki değerin kosinüsünü alın... |
66 | I have read numerous times that some Norse warriors, upon death, would go in Fólkvangr, while some others would go to Valhalla. How was it decided which warrior would go to which place? Why did the need to have many "paradises" (whatever you many call it) exist?
Citing Wikipedia:
> In Norse mythology, Fólkvangr (Old ... | Bazı İskandinav savaşçılarının ölümden sonra Fólkvangr'a giderken bazılarının da Valhalla'ya gideceğini defalarca okudum. Hangi savaşçının hangi yere gideceğine nasıl karar veriliyordu? Neden birçok "cennet"e (her ne adlandırıyorsanız) ihtiyaç duyuluyordu?
Wikipedia'dan alıntı:
> İskandinav mitolojisinde Fólkvangr (Es... | The Norse mythological texts record three primary places where the dead were perceived to go: Helheim (Old Norse Helheimr, “the home of the goddess Hel“), Valhalla (Old Norse Valhöll, “the hall of the fallen”), and Folkvang (Old Norse Fólkvangr, “the field of the people” or “the field of warriors”).
But they're indisti... | İskandinav mitolojik metinleri, ölülerin gidebileceği üç ana yeri kaydeder: Helheim (Eski İskandinavca Helheimr, "Hel tanrıçasının evi"), Valhalla (Eski İskandinavca Valhöll, "düşmüşlerin salonu") ve Folkvang (Eski İskandinavca Fólkvangr, "halkın tarlası" veya "savaşçıların tarlası").
Ancak bunlar ayırt edilemez ve ara... |
67 | I noticed that there is a binary executable ```/bin/echo``` on my Ubuntu MATE 17.04 system.
I thought, that's odd, because
```$ type echo
echo is a shell builtin```
Cursory testing suggests that ```/bin/echo``` does the same sort of thing as the Bash builtin ```echo```:
```$ /bin/echo foo
foo
$ /bin/echo $USER
zanna
``... | Ubuntu MATE 17.04 sistemimde ```/bin/echo``` adında ikili bir yürütülebilir dosya olduğunu fark ettim.
Bu tuhaf diye düşündüm, çünkü
```$ type echo
echo bir kabuk yerleşiktir```
Geçici testler, ```/bin/echo```'nun Bash yerleşik ```echo```'suyla aynı türden şeyleri yaptığını gösteriyor:
```$ /bin/echo foo
foo
$ /bin/ech... | If you open up a ```bash``` prompt and type in an ```echo``` command, that uses a shell builtin rather than running ```/bin/echo```. The reasons it is still important for ```/bin/echo``` to exist are:
* You're not always using a shell. Under a variety of circumstances, you run an executable directly and not through a ... | Bir ```bash``` komut istemini açıp bir ```echo``` komutu yazarsanız, bu ```/bin/echo``` çalıştırmak yerine bir kabuk yerleşik birimini kullanır. ```/bin/echo```'nun var olmasının hâlâ önemli olmasının nedenleri şunlardır:
* Her zaman bir kabuk kullanmazsınız. Çeşitli koşullar altında, bir yürütülebilir dosyayı doğruda... |
68 | what's the difference between JavaScript objects, classes and functions? | JavaScript nesneleri, sınıfları ve fonksiyonları arasındaki fark nedir? | As you must already be aware by now there are no classes in JavaScript. Instead functions in JavaScript may be made to behave like constructors by preceding a function call with the ```new``` keyword. This is known as the constructor pattern.
In JavaScript everything is an object except for the primitive data types (bo... | Şu ana kadar farkında olduğunuz gibi JavaScript'te sınıflar yoktur. Bunun yerine JavaScript'teki fonksiyonlar, bir fonksiyon çağrısına ```new``` anahtar kelimesi eklenerek yapıcı gibi davranmaya zorlanabilir. Bu, yapıcı kalıbı olarak bilinir.
JavaScript'te ilkel veri türleri (boolean, sayı ve dize) ve ```undefined``` h... |
69 | In most introductory algorithm classes, notations like $O$ (Big O) and $\Theta$ are introduced, and a student would typically learn to use one of these to find the time complexity.
However, there are other notations, such as $o$, $\Omega$ and $\omega$. Are there any specific scenarios where one notation would be prefer... | Çoğu giriş algoritması dersinde, $O$ (Büyük O) ve $\Theta$ gibi gösterimler tanıtılır ve bir öğrenci tipik olarak zaman karmaşıklığını bulmak için bunlardan birini kullanmayı öğrenir.
Ancak, $o$, $\Omega$ ve $\omega$ gibi başka gösterimler de vardır. Bir gösterimin diğerine tercih edileceği belirli senaryolar var mıdır... | You are referring to the Landau notation. They are not different symbols for the same thing but have entirely different meanings. Which one is "preferable" depends entirely on the desired statement.
$f \in \cal{O}(g)$ means that $f$ grows at most as fast as $g$, asymptotically and up to a constant factor; think of it a... | Landau gösterimine atıfta bulunuyorsunuz. Bunlar aynı şey için farklı semboller değil, tamamen farklı anlamlara sahiptir. Hangisinin "tercih edilebilir" olduğu tamamen istenen ifadeye bağlıdır.
$f \in \cal{O}(g)$, $f$'nin asimptotik olarak ve sabit bir faktöre kadar en fazla $g$ kadar büyüdüğü anlamına gelir; bunu bir ... |
70 | Why is Gaia operating around Earth orbit? Why not send it to Neptune's orbit? | Gaia neden Dünya yörüngesinde çalışıyor? Neden Neptün yörüngesine gönderilmiyor? | Well, you thought about the spatial aspect of a parallax measurement, but not about the temporal one.
Gaia's intention is to measure 3D positions as well as 3D velocities. For the distance, you need accurate parallactic measurement, which come in with your orbital period.
For a typical Gaia-star with several measuremen... | Uzayda paralaks ölçümünün yönünü düşündünüz ama zamansal yönünü düşünmediniz.
Gaia'nın amacı 3 boyutlu konumları ve 3 boyutlu hızları ölçmektir. Mesafe için yörünge periyodunuzla gelen doğru paralaks ölçümüne ihtiyacınız vardır.
Yılda birkaç ölçüm yapılan tipik bir Gaia yıldızı için, 5 yıllık bir süreden sonra paralaks... |
71 | I have a string representing a unix timestamp (i.e. "1284101485") in Python, and I'd like to convert it to a readable date. When I use ```time.strftime```, I get a ```TypeError```:
```>>>import time
>>>print time.strftime("%B %d %Y", "1284101485")
Traceback (most recent call last):
File ... | Python'da bir unix zaman damgasını (ör. "1284101485") temsil eden bir dizim var ve bunu okunabilir bir tarihe dönüştürmek istiyorum. ```time.strftime``` kullandığımda bir ```TypeError``` alıyorum:
```>>>import time
>>>print time.strftime("%B %d %Y", "1284101485")
Traceback (most recent call last):
File "", line 1, in... | There are two parts here:
* Convert the unix timestamp ("seconds since epoch") to the local time
* Display the local time in the desired format.
A portable way to get the local time that works even if the local time zone had a different utc offset in the past and python has no access to the tz database is to use a ``... | Burada iki kısım var:
* Unix zaman damgasını ("epoch'ten bu yana geçen saniyeler") yerel zamana dönüştürün
* Yerel zamanı istenen biçimde görüntüleyin.
Yerel saat diliminin geçmişte farklı bir utc ofseti olması ve python'un tz veritabanına erişimi olmaması durumunda bile çalışan yerel saati almanın taşınabilir bir yo... |
72 | In Django, the convention is to put all of your static files (i.e css, js) specific to your app into a folder called static. So the structure would look like this:
```mysite/
manage.py
mysite/ --> (settings.py, etc)
myapp/ --> (models.py, views.py, etc)
static/
```
In ```mysite/settings.py``` I have... | Django'da, uygulamanıza özel tüm statik dosyalarınızı (yani css, js) static adlı bir klasöre koyma geleneği vardır. Bu nedenle yapı şu şekilde görünür:
```mysite/
manage.py
mysite/ --> (settings.py, vb.)
myapp/ --> (models.py, views.py, vb.)
static/
```
```mysite/settings.py``` dosyasında şunlar var... | ## Collect static files from multiple apps into a single path
A single Django project may use several apps, so while there you only have one ```myapp```, it may actually be ```myapp1```, ```myapp2```, etc
By copying them from inside the individual apps into a single folder, you can point your frontend web server (e.g.... | ## Statik dosyaları birden fazla uygulamadan tek bir yola toplayın
Tek bir Django projesi birden fazla uygulama kullanabilir, bu nedenle orada yalnızca bir ```myapp```'ınız olsa da aslında ```myapp1```, ```myapp2``` vb. olabilir. Bunları tek tek uygulamaların içinden tek bir klasöre kopyalayarak, ön uç web sunucunuzu ... |
73 | I am used to thinking of finite-differences as a special case of finite-elements, on a very constrained grid. What are criteria to choose between finite-differences and finite-elements | Sonlu farkları, çok kısıtlı bir ızgara üzerinde sonlu elemanların özel bir durumu olarak düşünmeye alışkınım. Sonlu farklar ve sonlu elemanlar arasında seçim yapmak için kriterler nelerdir? | It is possible to write most specific finite difference methods as Petrov-Galerkin finite element methods with some choice of local reconstruction and quadrature, and most finite element methods can also be shown to be algebraically equivalent to some finite difference method. Therefore, we should choose a method based... | Çoğu özel sonlu fark yöntemini, bazı yerel yeniden yapılandırma ve kareleme seçimleriyle Petrov-Galerkin sonlu eleman yöntemleri olarak yazmak mümkündür ve çoğu sonlu eleman yöntemi de cebirsel olarak bazı sonlu fark yöntemlerine eşdeğer olduğu gösterilebilir. Bu nedenle, hangi analiz çerçevesini kullanmak istediğimize... |
74 | How important is multithreading in the current software industry? | Mevcut yazılım endüstrisinde çoklu iş parçacığı ne kadar önemlidir? | It is extremely important.
What is more important though is to understand that multithreading is just one way to solve the asynchrony problem. The technical environment in which many people are now writing software differs from the historical software development environment (of monolithic applications performing batch... | Bu son derece önemlidir.
Ancak daha da önemlisi, çoklu iş parçacığının eşzamanlılık sorununu çözmenin sadece bir yolu olduğunu anlamaktır. Günümüzde birçok kişinin yazılım yazdığı teknik ortam, geçmişteki yazılım geliştirme ortamından (toplu hesaplamalar yapan yekpare uygulamalar) iki temel şekilde farklılık göstermekt... |
75 | Is it true that the price of diamonds is based on a monopoly? And who actually runs/owns this supposed monopoly? Is this likely to affect diamond prices if I am interested in purchasing? | Elmasların fiyatının bir tekele dayandığı doğru mu? Ve bu sözde tekeli kim yönetiyor/sahip oluyor? Satın almakla ilgileniyorsam bunun elmas fiyatlarını etkilemesi muhtemel mi? | Yes, the De Beers Group of Companies is a diamond cartel that had complete control of the diamond market for most of the 20th century. They still control a sizable portion of the market and their effort at marketing (particularly with the slogan "A Diamond is Forever") has done much to inflate the market for diamonds i... | Evet, De Beers Şirketler Grubu, 20. yüzyılın büyük bir bölümünde elmas piyasasına tam kontrol sağlamış bir elmas kartelidir. Hâlâ piyasanın önemli bir kısmını kontrol etmektedirler ve pazarlama çabaları (özellikle "Bir Elmas Sonsuza Kadardır" sloganıyla) toplumumuzda elmas piyasasını şişirmek için çok şey yapmıştır.
El... |
76 | Normal filesystem images can be easily mounted:
```mount system.img /mnt
```
Examined, and modified. But when I try this with a Raspberry Pi system image (e.g. raspbian), I get:
```mount: unknown filesystem type '(null)'
```
And no matter what I try with ```-t```, it won't work. How can I mount this image? | Normal dosya sistemi imajları kolayca bağlanabilir:
```mount system.img /mnt
```
İncelendi ve değiştirildi. Ancak bunu bir Raspberry Pi sistem imajıyla (ör. raspbian) denediğimde şu hatayı alıyorum:
```mount: bilinmeyen dosya sistemi türü '(null)'
```
Ve ```-t``` ile ne denersem deneyeyim çalışmıyor. Bu imajı nasıl bağ... | You can't mount the image as a whole because it actually contains two partitions and a boot sector. However, you can mount the individual partitions in the image if you know their offset inside the file. To find them, examine the image as a block device with ```fdisk -l whatever.img```. The output should include a t... | Görüntüyü bir bütün olarak bağlayamazsınız çünkü aslında iki bölüm ve bir önyükleme sektörü içerir. Ancak, dosyadaki ofsetlerini biliyorsanız görüntüdeki tek tek bölümleri bağlayabilirsiniz. Bunları bulmak için görüntüyü ```fdisk -l whatever.img``` ile bir blok aygıtı olarak inceleyin. Çıktı şu şekilde bir tablo içerme... |
77 | How does immersion passively help with learning a language? | Daldırma, bir dili öğrenmeye pasif olarak nasıl yardımcı olur? | There are a few reasons why immersion helps you learn a language without you actively trying:
* You encounter the language more often. When you are immersed in a language, you don't go to class and do homework for a few hours a week, but rather use the language the entire day. You depend on the language to survive—to... | Daldırmanın aktif olarak çaba göstermeden bir dili öğrenmenize yardımcı olmasının birkaç nedeni vardır:
* Dille daha sık karşılaşırsınız. Bir dile daldığınızda, haftada birkaç saat derse gidip ödev yapmazsınız, bunun yerine dili tüm gün kullanırsınız. Hayatta kalmak için dile bağımlısınızdır; market alışverişi yapmak, ... |
78 | I have a script, that does not exit when I want it to.
An example script with the same error is:
```#!/bin/bash
function bla() {
return 1
}
bla || ( echo '1' ; exit 1 )
echo '2'
```
I would assume to see the output:
```:~$ ./test.sh
1
:~$
```
But I actually see:
```:~$ ./test.sh
1
2
:~$
```
Does the ```()``` comman... | Çıkmasını istediğimde çıkmayan bir betiğim var.
Aynı hataya sahip örnek bir betik:
```#!/bin/bash
function bla() {
return 1
}
bla || ( echo '1' ; exit 1 )
echo '2'
```
Çıktının şu şekilde olmasını beklerdim:
```:~$ ./test.sh
1
:~$
```
Ama aslında şu şekilde görüyorum:
```:~$ ./test.sh
1
2
:~$
```
```()``` komut zin... | ```()``` runs commands in the subshell, so by ```exit``` you are exiting from subshell and returning to the parent shell. Use braces ```{}``` if you want to run commands in the current shell.
From bash manual:
(list) list is executed in a subshell environment. Variable assignments and builtin commands that affect t... | ```()``` alt kabukta komutları çalıştırır, bu nedenle ```exit``` ile alt kabuktan çıkıp ana kabuğa dönersiniz. Komutları geçerli kabukta çalıştırmak istiyorsanız süslü parantez ```{}``` kullanın.
Bash kılavuzundan:
(liste) liste bir alt kabuk ortamında yürütülür. Kabuğun ortamını etkileyen değişken atamaları ve yer... |
79 | Adding a new swap file. How to edit fstab to enable swap after reboot? | Yeni bir takas dosyası ekleme. Yeniden başlatma sonrasında takası etkinleştirmek için fstab nasıl düzenlenir? | These ares the steps to create a swap on a file:
1. Create a large file e.g. with
```sudo mkdir -p /var/cache/swap/ # create a directory that holds the swap file
sudo dd if=/dev/zero of=/var/cache/swap/myswap bs=1M count=4096 # for 4 GByte
```
Of course any other method of creating a file of defined size would do.
... | Bir dosyada takas alanı oluşturma adımları şunlardır:
1. Büyük bir dosya oluşturun, örneğin
```sudo mkdir -p /var/cache/swap/ # takas dosyasını tutacak bir dizin oluşturun
sudo dd if=/dev/zero of=/var/cache/swap/myswap bs=1M count=4096 # 4 GB için
```
Elbette tanımlanmış boyutta bir dosya oluşturmanın başka yöntemle... |
80 |
How do I add a validation to make sure the date string being passed to the method is in the ffg. format:
```'YYYY-MM-DD'
```
if it's not, method should raise some sort of error | Yönteme geçirilen tarih dizesinin ffg. biçiminde olduğundan emin olmak için nasıl doğrulama eklerim:
```'YYYY-MM-DD'
```
değilse, yöntem bir tür hata vermelidir | The Python ```dateutil``` library is designed for this (and more). It will automatically convert this to a ```datetime``` object for you and raise a ```ValueError``` if it can't.
As an example:
```>>> from dateutil.parser import parse
>>> parse("2003-09-25")
datetime.datetime(2003, 9, 25, 0, 0)
```
This raises a ```Val... | Python ```dateutil``` kütüphanesi bunun (ve daha fazlası) için tasarlanmıştır. Bunu sizin için otomatik olarak bir ```datetime``` nesnesine dönüştürecek ve dönüştüremezse bir ```ValueError``` oluşturacaktır.
Örnek olarak:
```>>> from dateutil.parser import parse
>>> parse("2003-09-25")
datetime.datetime(2003, 9, 25, 0,... |
81 | When to use UICollectionView instead of UITableView? | UICollectionView yerine UITableView ne zaman kullanılmalıdır? | That depends on the requirements. How the application flows determines which type of UI to integrate into the application.
People mainly use the ```UICollectionview``` for creating types of UIs with multiple images shown in a grid. This would have complex logic using ```UITableView```, but with ```UICollectionview```, ... | Bu, gereksinimlere bağlıdır. Uygulamanın akışı, uygulamaya entegre edilecek kullanıcı arayüzü türünü belirler.
İnsanlar çoğunlukla bir ızgarada gösterilen birden fazla resimle kullanıcı arayüzü türleri oluşturmak için ```UICollectionview``` kullanır. Bu, ```UITableView``` kullanarak karmaşık bir mantığa sahip olurdu an... |
82 | On my branch I had some files in .gitignore
On a different branch those files are not.
I want to merge the different branch into mine, and I don't care if those files are no longer ignored or not.
Unfortunately I get this:
The following untracked working tree files would be overwritten by merge
How would I modify ... | Dalımda .gitignore içinde bazı dosyalar vardı
Farklı bir dalda bu dosyalar yok.
Farklı dalı benim dalımla birleştirmek istiyorum ve bu dosyaların artık göz ardı edilip edilmediğini umursamıyorum.
Ne yazık ki şunu alıyorum:
Birleştirmeyle aşağıdaki izlenmeyen çalışma ağacı dosyaları üzerine yazılacak
Bu dosyaları kend... | Safely remove/overwrite only bothersome files
When you want to ```merge```:
```git checkout -f donor-branch # replace bothersome files with tracked versions
git checkout receiving-branch # tracked bothersome files disappear
git merge donor-branch # merge works
```
When you want to ```pull```:
```git fetch
gi... | Sadece rahatsız edici dosyaları güvenli bir şekilde kaldırın/üzerine yazın
```merge``` işlemi yapmak istediğinizde:
```git checkout -f donor-branch # rahatsız edici dosyaları izlenen sürümlerle değiştirin
git checkout receiving-branch # izlenen rahatsız edici dosyalar kaybolur
git merge donor-branch # birleş... |
83 | Since long time ago I have been thinking in two problems that I have not been able to solve. It seems that one of them was recently solved. I have been thinking a lot about the motivation and its consequences. Mostly because people used to motivate one of them with some very interesting implications. My conclusion howe... | Uzun zamandır çözemediğim iki problem üzerinde düşünüyorum. Görünüşe göre bunlardan biri yakın zamanda çözüldü. Motivasyon ve sonuçları hakkında çok düşündüm. Çoğunlukla insanlar bunlardan birini çok ilginç çıkarımlarla motive ettikleri için. Ancak benim sonucum, problemin motivasyonunda bir hata olduğu ve gerçekten il... | The three-body problem is one of the most famous problems in the history of mathematics, which also has an important application in science: it was supposed to explain the Moon's motion, among other things. Enormous effort was spent on this problem by many famous mathematicians of the 18th and 19th centuries. Since New... | Üç cisim problemi, matematik tarihindeki en ünlü problemlerden biridir ve bilimde de önemli bir uygulama alanı vardır: Ay'ın hareketini açıklaması bekleniyordu. 18. ve 19. yüzyılın birçok ünlü matematikçisi bu problem üzerinde çok çalıştı. Newton'dan beri basit bir kapalı form çözümünün olmadığı açıktı. (Problem aynı z... |
84 | How do GPS receivers communicate with satellites? | GPS alıcıları uydularla nasıl iletişim kurar? | The first thing to know is the communication is one-way. There's a satellite-to-receiver transmission, nothing going in the opposite direction. So your cell phone doesn't have to find the radio power to send a signal all the way to space!
(exceptions: The decommissioned Chinese BeiDou-1 system - and any products where ... | Bilinmesi gereken ilk şey, iletişimin tek yönlü olduğudur. Uydudan alıcıya bir iletim vardır, ters yönde hiçbir şey gitmez. Yani cep telefonunuzun bir sinyal göndermek için uzaya kadar tüm yolu bulacak radyo gücüne sahip olması gerekmez!
(istisnalar: Kullanımdan kaldırılmış Çin BeiDou-1 sistemi - ve GPS alıcı çipinin b... |
85 | Why is iceberg lettuce bad for rabbits? | Buzdağı marulu tavşanlar için neden kötüdür? | In short, iceberg lettuce is mostly water with little to no nutrient value. A rabbit can fill up on it (because of the bulk), but still need food because they didn't get enough calories, vitamins, minerals, etc.
If you look at the USDA's webpage on iceberg lettuce. You'll notice that water makes up just about 95% of th... | Kısacası, buzdağı marulu çoğunlukla çok az besin değeri olan sudur. Bir tavşan (hacim nedeniyle) onunla dolabilir, ancak yine de yeterli kalori, vitamin, mineral vb. almadıkları için yiyeceğe ihtiyaç duyarlar.
USDA'nın buzdağı marulu hakkındaki web sayfasına bakarsanız. Suyun besinlerin yaklaşık %95'ini oluşturduğunu, ... |
86 | How do I open the JavaScript console in different browsers? | Farklı tarayıcılarda JavaScript konsolunu nasıl açarım? | Chrome
Opening the “Console” panel of Chrome’s DevTools:
* Windows and Linux: Ctrl + Shift + J
* Mac OS: Cmd + Opt + J
Note: In addition to the “Console” panel, there also exists a smaller slide-up console which can be toggled via Esc while any of the other panels is active.
Firefox
Opening the “Console” panel in F... | Chrome
Chrome'un DevTools'unun "Konsol" panelini açma:
* Windows ve Linux: Ctrl + Shift + J
* Mac OS: Cmd + Opt + J
Not: "Konsol" paneline ek olarak, diğer panellerden herhangi biri etkin durumdayken Esc tuşuyla açılıp kapatılabilen daha küçük bir kayar konsol da vardır.
Firefox
Firefox'un Geliştirici Araçları'nda "... |
87 | I have Ubuntu 10 as the guest OS on a Windows 7 machine. I have been trying to setup shares through VirtualBox, but nothing is working. First, I create the share in VirtualBox and point it to a Windows folder. Then I try to mount the drive in Linux, but I keep getting
```/sbin/mount.vboxsf: mounting failed with the ... | Windows 7 makinesinde konuk işletim sistemi olarak Ubuntu 10 kullanıyorum. VirtualBox üzerinden paylaşım ayarlamaya çalışıyorum ancak hiçbir şey çalışmıyor. Öncelikle VirtualBox'ta paylaşım oluşturup bir Windows klasörüne yönlendiriyorum. Ardından Linux'ta sürücüyü bağlamaya çalışıyorum ancak sürekli şu hatayı alıyorum... | In order to use shared folder functionality few prerequisites need to be met:
* Make sure that Guest Additions are properly installed on the guest OS.
* Users in a guest Ubuntu must be in the group ```vboxsf``` to be able to access shares.
* Define a directory on the host that will be used in the virtual machine using... | Paylaşılan klasör işlevini kullanmak için birkaç ön koşulun karşılanması gerekir:
* Konuk işletim sistemine Guest Additions'ın düzgün bir şekilde yüklendiğinden emin olun.
* Konuk Ubuntu'daki kullanıcıların paylaşımlara erişebilmek için ```vboxsf``` grubunda olması gerekir.
* Virtual Box'ın ayarlar iletişim kutusunu k... |
88 | What does %~dp0 mean, and how does it work?
I'd also like to know if it is a documented feature, or something prone to be deprecated. | %~dp0 ne anlama gelir ve nasıl çalışır?
Ayrıca bunun belgelenmiş bir özellik mi yoksa kullanımdan kaldırılabilecek bir şey mi olduğunu da bilmek istiyorum. | Calling `for /?` in the command-line gives help about this syntax (which can be used outside FOR, too, this is just the place where help can be found).
> In addition, substitution of FOR variable references has been enhanced. You can now use the following optional
syntax:
```%~I - expands %I removing any sur... | Komut satırında `for /?` çağrısı yapmak bu söz dizimi hakkında yardım sağlar (bu, FOR dışında da kullanılabilir, yardımın bulunabileceği yer burasıdır).
> Ayrıca, FOR değişken referanslarının ikamesi geliştirildi. Artık aşağıdaki isteğe bağlı söz dizimini kullanabilirsiniz:
```%~I - %I'ı çevreleyen tırnak işar... |
89 | Should a tester feel bad about finding too many defects/bugs in the product? | Bir testçi, üründe çok fazla hata/böcek bulduğu için kendini kötü hissetmeli mi? | If this is a medical application you are talking about it is serious stuff. What if the bugs affected real users? Developers would be much less happy if they put in life threat someone or if management has to retire a product or make public excuses. Nowadays it is pretty standard for software having minor bugs, but a m... | Eğer bahsettiğiniz şey tıbbi bir uygulamaysa bu ciddi bir şeydir. Ya hatalar gerçek kullanıcıları etkilerse? Geliştiriciler, birinin hayatını tehlikeye atacak bir şey yaparlarsa veya yönetim bir ürünü geri çekmek veya kamuoyuna özür dilemek zorunda kalırsa çok daha az mutlu olurlar. Günümüzde yazılımlarda küçük hatalar... |
90 | Millions of colors in the visible spectrum can be generated by mixing red, green and blue - the RGB color system. Is there a basic set of smells that, when mixed, can yield all, or nearly all detectable smells ? | Görünür spektrumdaki milyonlarca renk, kırmızı, yeşil ve mavinin karıştırılmasıyla oluşturulabilir - RGB renk sistemi. Karıştırıldığında tüm veya neredeyse tüm algılanabilir kokuları verebilecek temel bir koku seti var mı? | There are about 100 (Purves, 2001) to 400 (Zozulya et al., 2001) functional olfactory receptors in man. While the total tally of olfactory receptor genes exceeds 1000, more than half of them are inactive pseudogenes. The combined activity of the expressed functional receptors accounts for the number of distinct odors t... | İnsanda yaklaşık 100 (Purves, 2001) ila 400 (Zozulya ve ark., 2001) işlevsel koku alıcı reseptörü vardır. Toplam koku alıcı geni sayısı 1000'i aşarken, bunların yarısından fazlası aktif olmayan psödogenlerdir. İfade edilen işlevsel reseptörlerin birleşik aktivitesi, insan koku alma sistemi tarafından ayırt edilebilen v... |
91 | Do you bleed to death after your penis is cut off? | Penisin kesildikten sonra kan kaybından ölür müsün? | Assuming the person is not taking anticoagulants, it's actually quite difficult to bleed to death from dismemberment of small members (hands, feet, penis, ears, nose, etc). Even large members such as arms and legs are often survivable because the body is very good at protecting itself from blood loss. For example, tran... | Kişinin antikoagülan almadığını varsayarsak, küçük uzuvların (eller, ayaklar, penis, kulaklar, burun vb.) parçalanmasından ölmek aslında oldukça zordur. Kollar ve bacaklar gibi büyük uzuvlar bile genellikle hayatta kalınabilir çünkü vücut kendini kan kaybından korumakta çok iyidir. Örneğin, kesilen atardamarlar spazm y... |
92 | In Swift, is there a clever way of using the higher order methods on Array to return the 5 first objects?
The obj-c way of doing it was saving an index, and for-loop through the array incrementing index until it was 5 and returning the new array. Is there a way to do this with ```filter```, ```map``` or ```reduce```? | Swift'te, Array'deki yüksek mertebeden yöntemleri kullanarak ilk 5 nesneyi döndürmenin akıllıca bir yolu var mı?
Obj-c'de bunu yapmanın yolu bir indeks kaydetmek ve indeks 5 olana kadar diziyi for döngüsüyle yineleyerek yeni diziyi döndürmekti. Bunu ```filter```, ```map``` veya ```reduce``` ile yapmanın bir yolu var mı... | With Swift 5, according to your needs, you may choose one of the 6 following Playground codes in order to solve your problem.
#1. Using ```subscript(_:)``` subscript
```let array = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L"]
let arraySlice = array[..<5]
//let arraySlice = array[0..<5] // also works
//... | Swift 5 ile, ihtiyaçlarınıza göre, probleminizi çözmek için aşağıdaki 6 Playground kodundan birini seçebilirsiniz.
#1. ```subscript(_:)``` dizinini kullanma
```let array = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L"]
let arraySlice = array[..<5]
//let arraySlice = array[0..<5] // ayrıca çalışır
//let a... |
93 | What's the simplest way to get an environment variable from a docker container that has not been declared in the Dockerfile?
For instance, an environment variable that has been set through some ```docker exec container /bin/bash``` session?
I can do ```docker exec container env | grep ENV_VAR```, but I would prefer som... | Dockerfile'da bildirilmemiş bir docker kabından bir ortam değişkeni almanın en basit yolu nedir?
Örneğin, ```docker exec container /bin/bash``` oturumu aracılığıyla ayarlanmış bir ortam değişkeni?
```docker exec container env | grep ENV_VAR``` yapabilirim, ancak yalnızca değeri döndüren bir şey tercih ederim.
```docker... | The downside of using ```docker exec``` is that it requires a running container, so ```docker inspect -f``` might be handy if you're unsure a container is running.
Example #1. Output a list of space-separated environment variables in the specified container:
```docker inspect -f \
'{{range $index, $value := .Config.... | ```docker exec``` kullanmanın dezavantajı, çalışan bir kapsayıcı gerektirmesidir, bu nedenle bir kapsayıcının çalışıp çalışmadığından emin değilseniz ```docker inspect -f``` kullanışlı olabilir.
Örnek #1. Belirtilen kapsayıcıdaki boşlukla ayrılmış ortam değişkenlerinin bir listesini çıktı olarak verin:
```docker inspec... |
94 | I am confused about the use cases for both ```InputStream``` and ```OutputStream```.
Please include a snippet of code to go along with your explanation. | Hem ```InputStream``` hem de ```OutputStream``` için kullanım durumları konusunda kafam karıştı.
Açıklamanızla birlikte bir kod parçası ekleyin. | InputStream is used for reading, OutputStream for writing. They are connected as decorators to one another such that you can read/write all different types of data from all different types of sources.
For example, you can write primitive data to a file:
```File file = new File("C:/text.bin");
file.createNewFile();
Data... | InputStream okuma için, OutputStream yazma için kullanılır. Birbirlerine dekoratör olarak bağlanırlar, böylece her türlü kaynaktan her türlü veriyi okuyabilir/yazabilirsiniz.
Örneğin, ilkel verileri bir dosyaya yazabilirsiniz:
```File file = new File("C:/text.bin");
file.createNewFile();
DataOutputStream stream = new D... |
95 | What is the difference between:
```npm install [package_name]
```
and:
```npm install [package_name] --save
```
and:
```npm install [package_name] --save-dev
```
What does this mean? And what is really the effect of ```--save``` and ```-dev``` keywords? | Aşağıdakiler arasındaki fark nedir:
```npm install [paket_adı]
```
ve:
```npm install [paket_adı] --save
```
ve:
```npm install [paket_adı] --save-dev
```
Bunun anlamı nedir? Ve ```--save``` ve ```-dev``` anahtar kelimelerinin gerçek etkisi nedir? | The difference between ```--save``` and ```--save-dev``` may not be immediately noticeable if you have tried them both on your own projects. So here are a few examples...
Let's say you were building an app that used the moment package to parse and display dates. Your app is a scheduler so it really needs this package t... | ```--save``` ve ```--save-dev``` arasındaki fark, ikisini de kendi projelerinizde denediyseniz hemen fark edilmeyebilir. İşte birkaç örnek...
Moment paketini tarihleri ayrıştırmak ve görüntülemek için kullanan bir uygulama oluşturduğunuzu varsayalım. Uygulamanız bir zamanlayıcıdır, bu nedenle bu paketin çalışması için ... |
96 | pod install -bash: pod: command not found |
pod install -bash: pod: komut bulunamadı | Please follow the following steps to install Pod:
1. Open terminal and type:
```sudo gem install cocoapods
```
Gem will get installed in Ruby inside the System library. Or try on 10.11 Mac OSX El Capitan, type:
```sudo gem install -n /usr/local/bin cocoapods
```
If there is an error "activesupport requires Ruby v... | Pod'u yüklemek için lütfen aşağıdaki adımları izleyin:
1. Terminali açın ve yazın:
```sudo gem install cocoapods
```
Gem, Sistem kitaplığı içindeki Ruby'ye yüklenecektir. Veya 10.11 Mac OSX El Capitan'da deneyin, yazın:
```sudo gem install -n /usr/local/bin cocoapods
```
"activesupport Ruby sürümü >= 2.xx gerektirir" ... |
97 | I read in the Essential C# 3.0 and .NET 3.5 book that:
GetHashCode()’s returns over the life of a particular object should be
constant (the same value), even if the object’s data changes. In many
cases, you should cache the method return to enforce this.
Is this a valid guideline?
I have tried a couple built-in... | Essential C# 3.0 ve .NET 3.5 kitabında şunu okudum:
GetHashCode()'in belirli bir nesnenin ömrü boyunca döndürdüğü değer, nesnenin verileri değişse bile sabit (aynı değer) olmalıdır. Birçok durumda, bunu uygulamak için yöntem dönüşünü önbelleğe almalısınız.
Bu geçerli bir kılavuz mu?
.NET'te birkaç yerleşik tür denedi... | The answer is mostly, it is a valid guideline, but perhaps not a valid rule. It also doesn't tell the whole story.
The point being made is that for mutable types, you cannot base the hash code on the mutable data because two equal objects must return the same hash code and the hash code has to be valid for the lifetim... | Cevap çoğunlukla geçerli bir kılavuzdur, ancak belki de geçerli bir kural değildir. Ayrıca tüm hikayeyi anlatmaz.
Vurgulanan nokta, değişken türler için, karma kodunu değişken verilere dayandıramayacağınızdır çünkü iki eşit nesne aynı karma kodunu döndürmelidir ve karma kodu nesnenin ömrü boyunca geçerli olmalıdır. Ka... |
98 | Especially in blitz or bullet games, it is possible that a player makes an illegal move, for example castles through check.
* If the opponent does notice the illegal move, then as far as I know the first player is obliged to make a legal move with the same piece, if one exists. What if there are no legal moves?
* Wh... | Özellikle yıldırım veya mermi oyunlarında, bir oyuncunun yasa dışı bir hamle yapması mümkündür, örneğin şah çekerek kale yapmak.
* Rakip yasa dışı hamleyi fark ederse, bildiğim kadarıyla ilk oyuncu aynı taşla yasal bir hamle yapmak zorundadır, eğer varsa. Ya yasal hamle yoksa?
* Ya rakip, zaman baskısı altında olduğu ... | This only really applies to over the board games (since online chess servers prevent illegal moves).
In a standard time control game, under USCF rules, when the illegal move is noticed by one of the players, a few things happen. First, the illegal move must have been made within the last 10 moves. If not, then the cu... | Bu durum yalnızca masa oyunları için geçerlidir (çünkü çevrimiçi satranç sunucuları yasa dışı hamleleri engeller).
Standart bir zaman kontrolü oyununda, USCF kurallarına göre, yasa dışı hamle oyunculardan biri tarafından fark edildiğinde birkaç şey olur. İlk olarak, yasa dışı hamle son 10 hamle içinde yapılmış olmalıdı... |
99 | How to set button click effect in Android? | Android'de düğme tıklama efekti nasıl ayarlanır? | It is simpler when you have a lot of image buttons, and you don't want to write xml-s for every button.
Kotlin Version:
```fun buttonEffect(button: View) {
button.setOnTouchListener { v, event ->
when (event.action) {
MotionEvent.ACTION_DOWN -> {
v.background.setColorFilter(-0x1f... | Bir sürü resim düğmeniz olduğunda ve her düğme için xml yazmak istemediğinizde daha basittir.
Kotlin Sürümü:
```fun buttonEffect(button: View) {
button.setOnTouchListener { v, event ->
when (event.action) {
MotionEvent.ACTION_DOWN -> {
v.background.setColorFilter(-0x1f0b8adf, Por... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.