english_question stringlengths 12 7.84k | english_answer stringlengths 15 17.7k | korean_question stringlengths 1 2.27k | korean_answer stringlengths 8 8.33k |
|---|---|---|---|
Can brain cells move? By movement I mean long distance migration (preferably within the brain only). | 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 ... | ๋ ์ธํฌ๋ ์ด๋ํ ์ ์์๊น์? ์ฌ๊ธฐ์ ์ด๋์ด๋ ๊ธด ๊ฑฐ๋ฆฌ ์ด์ฃผ๋ฅผ ์๋ฏธํฉ๋๋ค (๊ฐ๋ฅํ๋ค๋ฉด ๋ ๋ด๋ถ์์๋ง). | ์ง๋ฌธ์ ์๋์ ์ผ๋ก ๊ด๋ฒ์ํ๋ฉฐ, ๋๋ ๋ด๋ฐ๋ฟ๋ง ์๋๋ผ ์ ๊ฒฝ๊ต์ธํฌ(์ง์ง ์ธํฌ)์ ์ ์ ์ฌ ๋ด๋ฐ ์ค๊ธฐ์ธํฌ๋ก ๊ตฌ์ฑ๋์ด ์๋ค๋ ์ ์ ๊ณ ๋ คํด์ผ ํฉ๋๋ค. ๊ฒ๋ค๊ฐ, ๋นํ์ ์ธ ๋๋ฃ ๊ณผํ์๋ค์ด ์ง์ ํ๋ฏ์ด ๋ฐ๋ฌ ๋จ๊ณ๋ ๋งค์ฐ ์ค์ํฉ๋๋ค. ๋ฐ๋ฌ ์ค์ธ ๋ฐฐ์ ๋๋ ์ฑ์ฒด ๋์ ๋งค์ฐ ๋ค๋ฆ
๋๋ค. ๊ทธ๋ฌ๋ ๋ค์ํ ์ถ์ฒ๋ฅผ ๊ฒํ ํ ๊ฒฐ๊ณผ, ์ง๋ฌธ์ ๋ํ ๋ต์ ์ฌ์ค ๋๋๋๋ก ๊ฐ๋จํฉ๋๋ค: ๋ค, ๋ ์ธํฌ๋ ์ด๋ํฉ๋๋ค. ์ฑ์ฒด ๋์์๋ ์ ๊ฒฝ๊ต์ธํฌ๊ฐ ๋ ๋ด์์ ์ด๋ํฉ๋๋ค(Klรคmbt, 2009). ์ ๊ฒฝ๊ต์ธํฌ๋ ์๋ง์ ๊ธฐ๋ฅ์ ๊ด์ฌํ์ง๋ง, ์ด๋ํ๋ ์ ๊ฒฝ๊ต์ธํฌ์ ์ฃผ๋ชฉํ ๋งํ ์๋ ์ฌ๋ฆฌ๊ณ ๋ด๋๋ก์ฌ์ดํธ๋ก, ์ด๋ค์ ์์ ์ด ๊ฐ์ธ์ผ ํ ... |
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 ... | 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... | ์ฐ๋ฆฌ ์ปดํจํฐ ์์คํ
๊ฐ์์์ MIPS ํ๋ก์ธ์์ ๋ํด ์๊ฐ๋ฐ์์ต๋๋ค. ํ๊ธฐ ๋์ (์ฌ)๊ฐ๋ฐ๋์๊ณ , ์ฌ์ค ์ดํดํ๊ธฐ๊ฐ ๊ฝค ์ฌ์ ์ต๋๋ค. ์ด ํ๋ก์ธ์๋ RISC ์ค๊ณ๋ฅผ ์ฌ์ฉํ๋ฉฐ, ์ฆ ๊ธฐ๋ณธ ๋ช
๋ น์ด๊ฐ ๊ท์น์ ์ผ๋ก ์ธ์ฝ๋ฉ๋๊ณ ๊ทธ ์๊ฐ ์ ์ด ์ ์ ์ด ๋จ์ํ๊ฒ ์ ์ง๋ฉ๋๋ค. CISC๋ ๋ค๋ฅธ ์ฒ ํ์ ๋ฐ๋ฅธ๋ค๊ณ ์ธ๊ธ๋์์ต๋๋ค. x86 ๋ช
๋ น์ด ์งํฉ์ ์ ๊น ์ดํด๋ดค๋๋ฐ, ๋๋ฌด ๋ณต์กํ ๋ช
๋ น์ด ์งํฉ์ ์ฌ์ฉํ๋ ํ๋ก์ธ์๋ฅผ ๋๊ฐ ๋ง๋ค๊ณ ์ถ์ดํ ์ง ์์์ด ๋์ง ์์์ต๋๋ค! ๊ทธ๋์ ํ๋ก์ธ์ ์์ฅ์ ํฐ ๋ถ๋ถ์ด CISC ์ํคํ
์ฒ๋ฅผ ์ฌ์ฉํ๋ ์ด์ ์ ๋ํ ์ข์ ๋
ผ๊ฑฐ๊ฐ ์์ด์ผ ํ๋ค๊ณ ์๊ฐํฉ๋๋ค. ๊ทธ ์ด์ ๋ ๋ฌด์์ธ๊ฐ์? | ์ผ๋ฐ์ ์ธ ์ญ์ฌ์ ๊ฒฝํฅ์ด ์์ต๋๋ค. ์์ ์๋ ๋ฉ๋ชจ๋ฆฌ๊ฐ ์์๊ณ , ๋ฐ๋ผ์ ํ๋ก๊ทธ๋จ๋ ์ด์ฉ ์ ์์ด ์์์ต๋๋ค. ๋ํ ์ปดํ์ผ๋ฌ๋ ๊ทธ๋ฆฌ ๋๋ํ์ง ์์๊ณ , ๋ง์ ํ๋ก๊ทธ๋จ์ด ์ด์
๋ธ๋ฌ๋ก ์์ฑ๋์๊ธฐ ๋๋ฌธ์ ๋ช ๊ฐ์ ๋ช
๋ น์ด๋ก ํ๋ก๊ทธ๋จ์ ์์ฑํ ์ ์๋ ๊ฒ์ ์ข์ ๊ฒ์ผ๋ก ์ฌ๊ฒจ์ก์ต๋๋ค. ๋ช
๋ น์ด ํ์ดํ๋ผ์ธ์ ๊ฐ๋จํ๊ณ , ํ๋ก์ธ์๋ ํ ๋ฒ์ ํ๋์ ๋ช
๋ น์ด๋ฅผ ๊ฐ์ ธ์ ์คํํ์ต๋๋ค. ํ๋ก์ธ์ ๋ด๋ถ์ ๊ธฐ๊ณ ๊ตฌ์กฐ๋ ๊ฝค ๋ณต์กํ์ง๋ง, ๋ช
๋ น์ด๋ฅผ ํด๋
ํ๋ ๊ฒ์ ํฐ ๋ถ๋ด์ผ๋ก ๋๊ปด์ง์ง ์์์ต๋๋ค.
1970๋
๋์ CPU์ ์ปดํ์ผ๋ฌ ์ค๊ณ์๋ค์ ์ด๋ฌํ ๋ณต์กํ ๋ช
๋ น์ด๊ฐ ๊ทธ๋ ๊ฒ ์ ์ฉํ์ง ์๋ค๋ ๊ฒ์ ๊นจ๋ฌ์์ต๋๋ค. ์ด๋ฌํ... |
View tabular file such as CSV from command line, having horizontal and vertical scrolling would be great. | 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... | ๋ช
๋ น์ค์์ CSV์ ๊ฐ์ ํ ํ์์ ํ์ผ์ ๋ณด๊ธฐ ์ํด ์ํ ๋ฐ ์์ง ์คํฌ๋กค์ด ๊ฐ๋ฅํ๋ฉด ์ข๊ฒ ์ต๋๋ค. | ๋ฌผ๋ก ์
๋๋ค. csvkit์ ์ดํด๋ณด์ธ์. ์ด ๋๊ตฌ๋ UNIX ์ฒ ํ์ ๋ฐ๋ฅด๋ ๋๊ตฌ ๋ชจ์์ ์ ๊ณตํฉ๋๋ค(์ฆ, ์๊ณ ๋จ์ํ๋ฉฐ ๋จ์ผ ๋ชฉ์ ์ ๊ฐ์ง๊ณ ๊ฒฐํฉํ ์ ์์ต๋๋ค).
๋ค์์ Maxmind ์ธ๊ณ ๋์ ๋ฐ์ดํฐ๋ฒ ์ด์ค์์ ๋
์ผ์์ ์ธ๊ตฌ๊ฐ ๊ฐ์ฅ ๋ง์ 10๊ฐ ๋์๋ฅผ ์ถ์ถํ๊ณ ๊ฒฐ๊ณผ๋ฅผ ์ฝ์์์ ์ฝ์ ์ ์๋ ํ์์ผ๋ก ํ์ํ๋ ์์
๋๋ค:
```$ csvgrep -e iso-8859-1 -c 1 -m "de" worldcitiespop | csvgrep -c 5 -r "\d+"
| csvsort -r -c 5 -l | csvcut -c 1,2,4,6 | head -n 11 | csvlo... |
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... | 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 ... | ์ฌ๋ ์ดํฐํ ์ค๋ฅด๋นํ(STO)์ ์์ ๋ฐ ๋ถ์ ์์์ญํ ๊ณ์ฐ์์ ๊ฐ์ฐ์์ํ ์ค๋ฅด๋นํ(GTO)๋ณด๋ค ๋ ์ ํํ ๊ฒ์ผ๋ก ๊ฐ์ฃผ๋ฉ๋๋ค. ๊ทธ ์ด์ ์ค ํ๋๋ STO๊ฐ $r \to \infty$์ผ ๋ $e^{-\alpha r}$๋ก ๊ฐ์ํ๊ธฐ ๋๋ฌธ์
๋๋ค. ๊ทธ๋ฌ๋ GTO๋ ๊ณ์ฐํ๊ธฐ๊ฐ ๋ ์ฝ๊ธฐ ๋๋ฌธ์ ๋ ์ธ๊ธฐ๊ฐ ์์ต๋๋ค. GTO๋ $e^{-\alpha r^2}$๋ก ๊ฐ์ํ๋ฏ๋ก, ๊ฐ์ฐ์์ ๊ฐ์ ํ๋์ ๋ณด์ํ๊ธฐ ์ํด GTO ๊ธฐ์ ์งํฉ์ ํ์ฐ ํจ์๋ฅผ ์ถ๊ฐํ๋ ๊ฒ์ด ์ ์ ํ ๋๋ ์์ต๋๋ค. ๋ํ, ์ ํํ ์์ ํ๋ ํจ์๋ ์ง์์ ์ผ๋ก ๊ฐ์ํ๋ฏ๋ก STO์ ๋๊ธฐ๊ฐ ๋ฉ๋๋ค. ์ ๋ ์์ ๊ณต๊ฐ์์ ์์์ ๋ถ์... | ์ด ์ง๋ฌธ์ ๋ํด ์ด๋ก ์ ์ธ ์ธก๋ฉด์์ ๋ต๋ณํ๊ฒ ์ต๋๋ค. ์ง์์ ์ธ ํ๋์ ์๋ขฐ๋ฉ๊ฑฐ ๋ฐฉ์ ์์์ ๊ฐ๋จํ ์ ๋๋ฉ๋๋ค. ๋จ์ผ ์ ์์ ์๋ขฐ๋ฉ๊ฑฐ ๋ฐฉ์ ์์ ๊ณ ๋ คํด๋ณด์ธ์:
$$
(-\frac{1}{2}\nabla^2 + V(\mathbf{r}))\psi(\mathbf{r}) = \epsilon\psi(\mathbf{r}), \epsilon < 0
$$
ํต์์ ๋งค์ฐ ๋ฉ๋ฆฌ ๋จ์ด์ง ๊ณต๊ฐ ์ ์์๋ $V(\mathbf{r})\approx 0$์ด๋ฏ๋ก ๋น๋์นญ ํด๋ ๋ค์๊ณผ ๊ฐ์ด ์ฃผ์ด์ง๋๋ค:
$$
-\frac{1}{2}\nabla^2\psi(\mathbf{r}) = \epsilon\psi(\mathbf{... |
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... | 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 reset"์ด ๋ฌด์์ ํ๋์ง ์ค๋ช
ํด ์ฃผ์ธ์. ์ ๋ SVN ๋ฐฐ๊ฒฝ์ ๊ฐ์ง๊ณ ์๊ณ Git์ ์์ ํ ์๋ก์ด ํจ๋ฌ๋ค์์
๋๋ค. Mercurial์ ์ฝ๊ฒ ์ดํดํ์ง๋ง Git์ ํจ์ฌ ๋ ๊ธฐ์ ์ ์
๋๋ค. ์ ๋ ```git reset```์ด ```hg revert```์ ๋น์ทํ๋ค๊ณ ์๊ฐํ์ง๋ง, ์ฐจ์ด์ ์ด ์๋ ๊ฒ ๊ฐ์ต๋๋ค. ๋ค์์ ๋ํ ์์ธํ ์ค๋ช
์ ํฌํจํด ์ฃผ์ธ์:
* ์ต์
์ธ ```--hard```, ```--soft``` ๋ฐ ```--merge```์ ๋ํด;
* ```HEAD```์ ํจ๊ป ์ฌ์ฉํ๋ ์ด์ํ ํ๊ธฐ๋ฒ์ธ ```HEAD^``` ๋ฐ ```HEAD~1```์ ๋ํด;
* ๊ตฌ์ฒด... | ```git```์์๋ ๋ค์๊ณผ ๊ฐ์ ์์๋ค์ด ์์ต๋๋ค:
* ```HEAD``` ํฌ์ธํฐ: ํ์ฌ ์์
์ค์ธ ์ปค๋ฐ์ ์๋ ค์ค๋๋ค.
* ์์
ํธ๋ฆฌ: ์์คํ
์ ํ์ผ ์ํ๋ฅผ ๋ํ๋
๋๋ค.
* ์คํ
์ด์ง ์์ญ(์ธ๋ฑ์ค๋ผ๊ณ ๋ ํจ): ๋์ค์ ํจ๊ป ์ปค๋ฐํ ์ ์๋๋ก ๋ณ๊ฒฝ ์ฌํญ์ "์คํ
์ด์ง"ํฉ๋๋ค.
> ๋ค์์ ๋ํ ์์ธํ ์ค๋ช
์ ํฌํจํด ์ฃผ์ธ์:
```--hard```, ```--soft``` ๋ฐ ```--merge```;
์ํ๋์ ๋ฐ๋ผ ์์๋๋ก:
* ```--soft```๋ ```HEAD```๋ฅผ ์ด๋ํ์ง๋ง ์คํ
์ด์ง ์์ญ์ด๋ ์์
ํธ๋ฆฌ์๋ ์ํฅ์ ์ฃผ์ง ์์ต๋๋ค.
* ```--mixed... |
I am looking to use Java to get the MD5 checksum of a file.
How is it done? | 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... | ํ์ผ์ MD5 ์ฒดํฌ์ฌ์ ์ป๊ธฐ ์ํด Java๋ฅผ ์ฌ์ฉํ๊ณ ์ถ์ต๋๋ค. ์ด๋ป๊ฒ ํด์ผ ํ๋์? | com.google.common.hash API๋ ๋ค์๊ณผ ๊ฐ์ ๊ธฐ๋ฅ์ ์ ๊ณตํฉ๋๋ค:
* ๋ชจ๋ ํด์ ํจ์์ ๋ํ ํตํฉ๋ ์ฌ์ฉ์ ์นํ์ ์ธ API
* murmur3์ ์๋ ๊ฐ๋ฅ 32๋นํธ ๋ฐ 128๋นํธ ๊ตฌํ
* md5(), sha1(), sha256(), sha512() ์ด๋ํฐ, ์ด๋ค ์ฌ์ด๋ฅผ ์ ํํ๋ ค๋ฉด ์ฝ๋ ํ ์ค๋ง ๋ณ๊ฒฝํ๋ฉด ๋ฉ๋๋ค.
* ์๊ณ ๋ฆฌ์ฆ์ ์๊ด์์ด ์ฌ์ฉํ ์ ์๋ goodFastHash(int bits)
* HashCode ์ธ์คํด์ค๋ฅผ ์ํ ์ผ๋ฐ ์ ํธ๋ฆฌํฐ, ์๋ฅผ ๋ค์ด combineOrdered / combineUnordered
์ฌ์ฉ์ ๊ฐ์ด๋๋ฅผ ์ฝ์ด๋ณด์ธ์ (IO ์ค๋ช
... |
What are the primary objections Democrats have to a border wall? | 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... | ๋ฏผ์ฃผ๋น์๋ค์ด ๊ตญ๊ฒฝ ์ฅ๋ฒฝ์ ๋ํด ๊ฐ์ฅ ๋ฐ๋ํ๋ ์ด์ ๋ ๋ฌด์์ธ๊ฐ์? | ๋ฏผ์ฃผ๋น์ด ๊ตญ๊ฒฝ ์ฅ๋ฒฝ ๊ฑด์ค์ ๋ฐ๋ํ๊ณ ์๋ค๋ ์ ์ด ๋ช
ํํ์ง ์์ต๋๋ค(๊ทํ์ ํ ์ถ์ฒ๋ ๊ทธ๋ค์ด ํ์ํ ๊ฒฝ์ฐ ๊ตญ๊ฒฝ ์ฅ๋ฒฝ/ํ์ค์๋ ๊ด์ฐฎ๋ค๊ณ ์ ์ํ๊ณ ์์ต๋๋ค), ๊ทธ๋ณด๋ค๋ ์ง๊ธ๊น์ง ์ ์๋ ์ ๋ฉด ๊ตญ๊ฒฝ ์ฅ๋ฒฝ ๊ณํ๋ค์ ๋ฐ๋ํ๊ณ ์๋ ๊ฒ ๊ฐ๋ค๋ ์๊ฐ์ด ๋ญ๋๋ค. ์ต๊ทผ ๊ตญ๊ฒฝ ์ฅ๋ฒฝ์ ๋ํ ์๊ธ ์ง์์ด ํฌํจ๋ ๊ฒ์ด๋ผ๋ ๋ณด๋์ ๋์ํ์ฌ, 5๋ช
์ ๋ฏผ์ฃผ๋น ์์์์์ด ๋น์ฉ, ํจ์จ์ฑ ๋ฐ ๋ฒ์ ๋ฌธ์ ์ ๋ํ ์ฐ๋ ค๋ฅผ ํ๋ช
ํ๋ ์ํ์ ๋ฐํํ์ต๋๋ค.
์ฐ๋ฆฌ๋ ๋ํ ๋ฉ์์ฝ์์ ๋จ๋ถ ๊ตญ๊ฒฝ์ ๋ฐ๋ผ ๋งค์ฐ ๋น์ผ ์๋ก์ด ์ฅ๋ฒฝ๊ณผ โ์ถ๋ฐฉ๊ตฐโ์ ๋ํ ์๊ธ ์ง์์ ํฌํจ์ํค๋ ค๋ ๋
ธ๋ ฅ์ด ์์ ์ ์๋ค๋ ๋ณด๋์ ์ฐ๋ คํ๊ณ ์์ต๋๋ค.... |
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? | 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
`... | ๋น๋์ค๋ฅผ GIF ํ์ผ๋ก ๋ณํํ๊ณ ์์ต๋๋ค ```ffmpeg```๋ฅผ ์ฌ์ฉํด์:
```ffmpeg \
-i input.flv \
-ss 00:00:00.000 \
-pix_fmt rgb24 \
-r 10 \
-s 320x240 \
-t 00:00:10.000 \
output.gif
```
์ ์๋ํ์ง๋ง, ์ถ๋ ฅ๋ GIF ํ์ผ์ ํ์ง์ด ๋งค์ฐ ๋ฎ์ต๋๋ค.
๋ณํ๋ GIF์ ํ์ง์ ์ด๋ป๊ฒ ๊ฐ์ ํ ์ ์์๊น์? | ์ค๊ฐ ์ด๋ฏธ์ง ํ์ผ์ ํผํ๊ณ ์ถ๋ค๋ฉด, LordNeckBeard๊ฐ ์ ๊ณตํ ๋ช
๋ น์ด๋ฅผ ```ffmpeg```์ ImageMagick์ ```convert``` ์ฌ์ด์ ํ์ดํํ์ฌ ์ค๊ฐ ํ์ผ์ด ํ์ ์๋๋ก ํ ์ ์์ต๋๋ค:
```ffmpeg -i input.flv -vf scale=320:-1 -r 10 -f image2pipe -vcodec ppm - | convert -delay 10 -loop 0 - output.gif
```
```-f image2pipe```๋ ffmpeg์๊ฒ ๋น๋์ค๋ฅผ ์ด๋ฏธ์ง๋ก ๋ถํ ํ๊ณ ํ์ดํ ์์์ ์ ํฉํ๋๋ก ์ง์ํ๋ฉฐ, ```-vcodec ppm```... |
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 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๋ TCP ์ฐ๊ฒฐ๋ง ์ฒ๋ฆฌํ ์ ์์ง๋ง, DNS๋ UDP ํ๋กํ ์ฝ์
๋๋ค. Tor๋ TCP ๊ธฐ๋ฐ ๋คํธ์ํฌ๋ฅผ ํตํด DNS ์์ฒญ์ ์ด๋ป๊ฒ ๋ผ์ฐํ
ํ๋์? ์ ๊ฐ์ ๋ฐฉ์์ผ๋ก ๋ชจ๋ UDP ํธ๋ํฝ์ Tor๋ฅผ ํตํด ๋ผ์ฐํ
ํ ์ ์๋ ๊ฑด๊ฐ์? | ํ ๋ฅด ํด๋ผ์ด์ธํธ๋ ์ผ๋ฐ์ ์ผ๋ก DNS ์์ฒญ์ ์ง์ ์ํํ์ง ์์ต๋๋ค. ํ ๋ฅด ๋คํธ์ํฌ๋ฅผ ํตํด ์ฐ๊ฒฐ์ ์ด ๋, ๋ณดํต ํด๋ผ์ด์ธํธ์๊ฒ (์์ผ ํฌํธ๋ฅผ ํตํด) ํธ์คํธ ์ด๋ฆ๊ณผ ํฌํธ, ์๋ฅผ ๋ค์ด www.example.com:80์ ์ฐ๊ฒฐํด ๋ฌ๋ผ๊ณ ์์ฒญํฉ๋๋ค. ํด๋ผ์ด์ธํธ๊ฐ ํ๋ก๋ฅผ ์์ฑํ ํ, ํด๋น ํธ์คํธ ์ด๋ฆ๊ณผ ํฌํธ๋ฅผ EXIT ๋
ธ๋์ RELAY_BEGIN ์
์ ์ ์กํฉ๋๋ค. EXIT ๋
ธ๋๋ ์ดํ DNS ํด์์ ์ํํ๊ณ ๋์์ TCP ์ฐ๊ฒฐ์ ์ฝ๋๋ค. ์ฐ๊ฒฐ์ด ์ค์ ๋๋ฉด ํด๋ผ์ด์ธํธ์๊ฒ ์ฐ๊ฒฐ์ด ์ด๋ ธ๋ค๊ณ ์๋ฆฌ๊ณ , ์ฐธ๊ณ ์ฉ์ผ๋ก ํด๋น ํธ์คํธ ์ด๋ฆ์ด ํด์๋ ์ฃผ์๋ ํด๋ผ์ด์ธํธ์๊ฒ ์๋ ค์ค๋๋ค. ํ ๋ฅด๋ ์ด์ ๋... |
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[] ... | 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... | ์ ์ด ์ฝ๋๋ ```NullPointerException```์ ๋ฐ์์ํค๊ณ
```public static void main(String[] args) throws Exception {
Boolean b = true ? returnsNull() : false; // ์ด ์ค์์ NPE ๋ฐ์.
System.out.println(b);
}
public static Boolean returnsNull() {
return null;
}
```
์ด ์ฝ๋๋ ๋ฐ์์ํค์ง ์๋์?
```public static void main(String[] args) thr... | ์ฐจ์ด์ ์ `returnsNull()` ๋ฉ์๋์ ๋ช
์์ ํ์
์ด ์ปดํ์ผ ์ ํํ์์ ์ ์ ํ์
์ ์ํฅ์ ๋ฏธ์น๋ค๋ ๊ฒ์
๋๋ค:
```E1: `true ? returnsNull() : false` - boolean (๋ ๋ฒ์งธ ํผ์ฐ์ฐ์๋ฅผ boolean์ผ๋ก ์๋ ์ธ๋ฐ์ฑ)
E2: `true ? null : false` - Boolean (์ธ ๋ฒ์งธ ํผ์ฐ์ฐ์๋ฅผ Boolean์ผ๋ก ๋ฐ์ฑ)
```
Java ์ธ์ด ๋ช
์ธ, ์น์
15.25 ์กฐ๊ฑด ์ฐ์ฐ์ ? ์ฐธ์กฐ:
* E1์ ๊ฒฝ์ฐ, ๋ ๋ฒ์งธ ๋ฐ ์ธ ๋ฒ์งธ ํผ์ฐ์ฐ์์ ํ์
์ ๊ฐ๊ฐ ```Boolean```๊ณผ ```boolean```์ด๋ฏ๋ก, ๋ค์ ์กฐ๊ฑด์ด... |
How do DOS games like DOOM benefit from a PCI graphics card? | 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... | DOS ๊ฒ์์ธ DOOM์ PCI ๊ทธ๋ํฝ ์นด๋๋ก๋ถํฐ ์ด๋ป๊ฒ ํํ์ ๋ฐ์๊น์? | DOOM ์์ฒด๋ PCI ๊ทธ๋ํฝ ์นด๋์ ์ด์ ์ ๋๋ฆฌ๊ธฐ ์ํด ํน๋ณํ ์์
์ ํ์ง ์์ต๋๋ค. PCI ๊ทธ๋ํฝ ์นด๋(๊ทธ๋ฆฌ๊ณ VLB, AGP ๋ฐ PCI Express ์นด๋)๋ฅผ ์ฌ์ฉํ ๋ ISA ๊ทธ๋ํฝ ์นด๋๋ณด๋ค ๋ ๋น ๋ฅด๊ฒ ์คํ๋๋๋ฐ, ์ด๋ ์ง์ ๋ฒ์ค๊ฐ ๋ ๋น ๋ฅด๊ธฐ ๋๋ฌธ์ ๋น๋์ค ๋ฉ๋ชจ๋ฆฌ์์์ ์ฝ๊ธฐ ๋ฐ ์ฐ๊ธฐ ์๊ฐ์ด ์ค์ด๋ค๊ธฐ ๋๋ฌธ์
๋๋ค. PCI๋ ISA ๊ธฐ๋ฐ VGA์์ ํ์ ํธํ์ฑ์ ์ ์งํ๊ธฐ ์ํด ๋ง์ ๋
ธ๋ ฅ์ ๊ธฐ์ธ์ด๋ฉฐ, "VGA ํธํ" ์ด๋ํฐ๋ฅผ ์ง์ํ์ฌ ์ด๋ค์ด ๋ฉ๋ชจ๋ฆฌ์์ ๋์ผํ ์์น์ ๋ํ๋๊ณ ISA VGA ์นด๋์ ๋์ผํ I/O ํฌํธ๋ฅผ ์ฌ์ฉํ ์ ์๋๋ก ํฉ๋๋ค. ๋ฐ๋ผ์ VGA ๋ ์ง์คํฐ์... |
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? | ```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... | ๋ฌธ์๋ฅผ Windows์ Mac OS์์ ๊ธฐ๋ณธ ์ ํ๋ฆฌ์ผ์ด์
์ผ๋ก ์ด ์ ์์ด์ผ ํฉ๋๋ค. ๊ธฐ๋ณธ์ ์ผ๋ก, Explorer๋ Finder์์ ๋ฌธ์ ์์ด์ฝ์ ๋๋ธ ํด๋ฆญํ ๋ ์ผ์ด๋๋ ๊ฒ๊ณผ ๊ฐ์ ์์
์ ํ๊ณ ์ถ์ต๋๋ค. Python์์ ์ด๋ฅผ ์ํํ๋ ๊ฐ์ฅ ์ข์ ๋ฐฉ๋ฒ์ ๋ฌด์์ธ๊ฐ์? | ```open```๊ณผ ```start```๋ ๊ฐ๊ฐ Mac OS/X์ Windows์ ๋ช
๋ น ํด์๊ธฐ์์ ์ฌ์ฉํ๋ ๋ช
๋ น์ด์
๋๋ค. Python์์ ์ด๋ฅผ ํธ์ถํ๋ ค๋ฉด ```subprocess``` ๋ชจ๋์ด๋ ```os.system()```์ ์ฌ์ฉํ ์ ์์ต๋๋ค. ์ด๋ค ํจํค์ง๋ฅผ ์ฌ์ฉํ ์ง์ ๋ํ ๊ณ ๋ ค ์ฌํญ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค:
* ```os.system```์ ํตํด ํธ์ถํ ์ ์์ง๋ง, ์๋ํ๋ ๊ฒ์...
์ด์ค์ผ์ดํ: ```os.system```์ ๊ฒฝ๋ก๋ช
์ ๊ณต๋ฐฑ์ด๋ ๋ค๋ฅธ ์
ธ ๋ฉํ๋ฌธ์๊ฐ ์๋ ํ์ผ ์ด๋ฆ์์๋ง ์๋ํฉ๋๋ค (์: ```A:\abc\def\a.txt```), ๊ทธ๋ ์ง ์์ผ๋ฉด ์ด... |
Why does PRC devalue its currency on purpose, but Turkey is worried about the devaluation of its currency? | 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... | ์ ์ค๊ตญ์ ์๋์ ์ผ๋ก ์๊ตญ ํตํ๋ฅผ ํ๊ฐ์ ํํ๋๋ฐ, ํฐํค๋ ์๊ตญ ํตํ์ ํ๊ฐ์ ํ๋ฅผ ๊ฑฑ์ ํ ๊น์? | ๋ฌด์ญ ํ์/์ ์
์๊ตญ ํตํ๋ฅผ ํ๊ฐ์ ํํ๋ ๊ฒ์ ์ฃผ๋ก ํ ๊ฐ์ง๋ฅผ ์๋ฏธํฉ๋๋ค: ํด์ธ์์ ์ ํ์ ์์
ํ๋ ๋น์ฉ์ด ๋ ๋น์ธ์ง๊ณ , ๋ฐ๋ฉด ์๊ตญ์ ์ ํ์ ์ธ๊ณ ์์ฅ์์ ๋น๊ต์ ์ผ๋ก ๋ ์ ๋ ดํด์ง๋ค๋ ๊ฒ์
๋๋ค. ์ด๋ ๋ง์ ์ํ์ ์์ถํ๋ ๋๋ผ๊ฐ ์๊ตญ ํตํ๋ฅผ ํ๊ฐ์ ํํ๊ณ ์ถ์ดํ๊ณ , ๋ง์ ์ํ์ ์์
ํ๋ ๋๋ผ๋ ๊ทธ๋ ์ง ์๋ค๋ ๊ฒ์ ์๋ฏธํฉ๋๋ค.
2016๋
, ํฐํค๋ 1,860์ต ๋ฌ๋ฌ์ ์ํ์ ์์
ํ๊ณ 1,560์ต ๋ฌ๋ฌ์ ์ํ์ ์์ถํ์ต๋๋ค. ์ด๋ ๊ทธ๋ค์ด 19%์ ๋ฌด์ญ ์ ์๋ฅผ ๊ฐ์ง๊ณ ์์๋ค๋ ๊ฒ์ ์๋ฏธํฉ๋๋ค.
๊ทธ๋ฌ๋ ์ค๊ตญ์ 2016๋
์ 1.23์กฐ ๋ฌ๋ฌ์ ์ํ์ ์์
ํ๊ณ 2.27์กฐ ๋ฌ... |
Is it worth patenting an algorithm if I don't have the money to defend against infringements? | 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... | ์๊ณ ๋ฆฌ์ฆ์ ํนํ๋ฅผ ๋ฐ๋ ๊ฒ์ด ๊ฐ์น๊ฐ ์์๊น์, ๋ง์ฝ ์นจํด์ ๋ํด ๋ฐฉ์ดํ ๋์ด ์๋ค๋ฉด? | ์ด๊ฒ์ ํ๋ฅญํ ์ง๋ฌธ์ด๋ฉฐ ์ ๋ต์ ํ๋๊ฐ ์๋๋๋ค. ํนํ์ ๊ฐ์ ์ ๊ทธ๊ฒ์ ์งํํ ์ ์๋ ๋ฅ๋ ฅ์์ ๋์ต๋๋ค. ๋ง์ฝ ํนํ ์์ ์๊ฐ ์ด๋ค ์ด์ ๋ก๋ (์๋ฅผ ๋ค์ด ์๊ธ ๋ถ์กฑ) ์ด๋ฅผ ์งํํ ์ ์๋ค๋ฉด, ํนํ๋ ์ฌ์ค์ ๋ฌด๋ ฅํด์ง๋๋ค. ๊ทธ๋ฌ๋ ๊ฒฝ์์๋ค์ ์ด๋ฅผ ์์ง ๋ชปํ ๊ฐ๋ฅ์ฑ์ด ํฝ๋๋ค. ๋ฐ๋ผ์ ํนํ์ ์กด์ฌ์ ๋น์ ์ด ์์ก์ ์ ๊ธฐํ ๊ฒ์ด๋ผ๋ ๊ฐ์ ๋ง์ผ๋ก๋ ๊ทธ๋ค์ ์นจํด๋ฅผ ์์ ํ ์ ์์ต๋๋ค. ์ด๋ฌํ ๊ฒฝ์์ ๋ํ ์์ถ ํจ๊ณผ๋ ๋น์ ์๊ฒ ๊ฐ์น๊ฐ ์์ ์ ์์ต๋๋ค.
๋ํ ์นจํด๊ฐ ๋ฐ์ํ ๊ฒฝ์ฐ, ์์ก ์์ด ๋ผ์ด์ผ์ค ๊ณ์ฝ์ ์ฒด๊ฒฐํ ์ ์์์ง๋ ๋ชจ๋ฆ
๋๋ค. ์ด๋ ๋งค์ฐ ์์ต์ฑ ๋์ ๋น์ฆ๋์ค ๋ชจ๋ธ์ด ๋ ์ ์... |
"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? | 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... | ```๋๋ ๋ค์๊ณผ ๊ฐ์ ๊ฐ์ด ์๋ ```String[]```๋ฅผ ๊ฐ์ง๊ณ ์์ต๋๋ค:
```public static final String[] VALUES = new String[] {""AB"",""BC"",""CD"",""AE""};
```
```String s```๊ฐ ์ฃผ์ด์ก์ ๋, ```VALUES```๊ฐ ```s```๋ฅผ ํฌํจํ๋์ง ํ
์คํธํ ์ข์ ๋ฐฉ๋ฒ์ด ์์๊น์? ์๋ฐ์์ ๋ฐฐ์ด์ด ํน์ ๊ฐ์ ํฌํจํ๋์ง ์ด๋ป๊ฒ ํ์ธํ๋์?``` | ๋ฐฐ์ด์ ๊ฐ์ด ํฌํจ๋์ด ์๋์ง ํ์ธํ๋ ๋ค ๊ฐ์ง ๋ฐฉ๋ฒ:
* ```List``` ์ฌ์ฉ:
```public static boolean useList(String[] arr, String targetValue) {
return Arrays.asList(arr).contains(targetValue);
}
```
* ```Set``` ์ฌ์ฉ:
```public static boolean useSet(String[] arr, String targetValue) {
Set set = new HashSet(Arrays.asList(arr));
return se... |
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? | 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... | ์๋ฐ ์บ์คํ
์ด ์ค๋ฒํค๋๋ฅผ ๋ฐ์์ํค๋์? ์๋๋ฉด ์ปดํ์ผ๋ฌ๊ฐ ๋ชจ๋ ๊ฒ์ ํด๊ฒฐํ๊ณ ๋ฐํ์์๋ ๋น์ฉ์ด ์ ํ ์๋ ๊ฑด๊ฐ์? ์ด๊ฒ์ ์ผ๋ฐ์ ์ธ ์ฌํญ์ธ๊ฐ์, ์๋๋ฉด ๋ค๋ฅธ ๊ฒฝ์ฐ๋ค์ด ์๋์? | ์๋ฐ์๋ ๋ ๊ฐ์ง ์ ํ์ ํ ๋ณํ์ด ์์ต๋๋ค:
์์์ ๋ณํ(Implicit casting)์ ๋ ๋์ ์ ํ์ผ๋ก ๋ณํํ ๋ ์๋์ผ๋ก ์ด๋ฃจ์ด์ง๋ฉฐ ์ค๋ฒํค๋๊ฐ ์์ต๋๋ค:
```java
String s = "Cast";
Object o = s; // ์์์ ๋ณํ
```
๋ช
์์ ๋ณํ(Explicit casting)์ ๋ ๋์ ์ ํ์์ ๋ ์ข์ ์ ํ์ผ๋ก ๋ณํํ ๋ ๋ฐ์ํฉ๋๋ค. ์ด ๊ฒฝ์ฐ์๋ ๋ค์๊ณผ ๊ฐ์ด ๋ช
์์ ์ผ๋ก ํ ๋ณํ์ ์ฌ์ฉํด์ผ ํฉ๋๋ค:
```java
Object o = someObject;
String s = (String) o; // ๋ช
์์ ๋ณํ
```
๋ ๋ฒ์งธ ๊ฒฝ์ฐ์๋ ... |
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"? | 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 ... | C#์์ ๋ฌธ์์ด(์: "hello")์ ์์คํ
ํด๋ฆฝ๋ณด๋์ ๋ณต์ฌํ๋ ค๋ฉด ์ด๋ป๊ฒ ํด์ผ ํ๋์? ๋ค์์ CTRL+V๋ฅผ ๋๋ฅด๋ฉด "hello"๊ฐ ๋ํ๋๊ฒ ํ๋ ค๋ฉด์? | ๋ค๋ฅธ ์ด์
๋ธ๋ฆฌ์ ๋ค๋ฅธ ๋ค์์คํ์ด์ค์ ์๋ ๋ ๊ฐ์ ํด๋์ค๊ฐ ์์ต๋๋ค.
* WinForms: ๋ค์ ๋ค์์คํ์ด์ค ์ ์ธ์ ์ฌ์ฉํ๊ณ , ```Main```์ด ```[STAThread]``` ์์ฑ์ผ๋ก ํ์๋์ด ์๋์ง ํ์ธํ์ธ์:
```using System.Windows.Forms;
```
* WPF: ๋ค์ ๋ค์์คํ์ด์ค ์ ์ธ์ ์ฌ์ฉํ์ธ์
```using System.Windows;
```
* ์ฝ์: ```System.Windows.Forms```์ ๋ํ ์ฐธ์กฐ๋ฅผ ์ถ๊ฐํ๊ณ ๋ค์ ๋ค์์คํ์ด์ค ์ ์ธ์ ์ฌ์ฉํ๋ฉฐ, ```Main```์ด ```[STAThread]``` ์์ฑ์ผ๋ก ํ์๋์ด ... |
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}
``` | 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... | ์๋ ์คํฌ๋ฆฝํธ๋ฅผ ์ฌ์ฉํ์ฌ ์ด์ ์ํฐ๋งํฌ๋ฅผ ๋ฃ๊ณ ์ถ์ง๋ง, ๋ฌธ์ ๋ ์ํฐ๋งํฌ๊ฐ ์ด๋ฏธ์ง ์์ ๋ํ๋์ง ์๋๋ค๋ ๊ฒ์
๋๋ค. ์ํฐ๋งํฌ๊ฐ ์ด๋ฏธ์ง ์์ ์ค๋๋ก ํ๊ณ ์ถ์ต๋๋ค.
```\usepackage{draftwatermark}
\SetWatermarkText{DRAFT}
\SetWatermarkScale{1}
``` | ๋ฌธ์ ๋ ```draftwatermark```๊ฐ ์๋ฃ๋ฅผ ๋ฐฐ๊ฒฝ์ ๋ฐฐ์นํ๊ธฐ ๋๋ฌธ์ ๋ค๋ฅธ ์์๋ค(์: ๋ํ ๋ฐ ๋ชฉ๋ก)์ด ํฌํจ๋ ์๋ฃ๋ฅผ ๊ฐ๋ฆด ์ ์๋ค๋ ๊ฒ์
๋๋ค. ์ด๋ฅผ ๋ฐฉ์งํ๊ธฐ ์ํด ```draftwatermark``` ํจํค์ง ๋์ ```xwatermark``` ํจํค์ง๋ฅผ ์ฌ์ฉํ ์ ์์ต๋๋ค. ```\newwatermark```์ ๋ณํ๊ฐ ์๋ ๋ณํ์ ์๋ฃ๋ฅผ ์ ๊ฒฝ์ ๋ฐฐ์นํ๋ฉฐ, ์ด๋ ๋น์ ์ด ํ์ํ ๊ฒ์ฒ๋ผ ๋ณด์
๋๋ค. ๊ฐ๋จํ ์์๋ฅผ ๋ค์ด๋ณด๊ฒ ์ต๋๋ค:
๋จผ์ , ๋ณํ๊ฐ ์๋ ๋ณํ(๋ฐฐ๊ฒฝ์ ์๋ ์๋ฃ๋ก, ๋ํ์ด ๊ทธ ์์ ๋ฐฐ์น๋จ):
```\documentclass{article}
\usepacka... |
Understanding the Rails Authenticity Token | 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๋ ๋ฌด์์ธ๊ฐ์?
์ธ์ฆ ํ ํฐ์ ํฌ๋ก์ค ์ฌ์ดํธ ์์ฒญ ์์กฐ(CSRF)์ ๋ํ ๋์์ฑ
์
๋๋ค. CSRF๊ฐ ๋ฌด์์ธ์ง ๊ถ๊ธํ์์ฃ ?
๊ณต๊ฒฉ์๊ฐ ์ธ์
ํ ํฐ์ ์์ง ๋ชปํ ์ฑ๋ก ์ธ์
์ ํ์ทจํ ์ ์๋ ๋ฐฉ๋ฒ์
๋๋ค.
์๋๋ฆฌ์ค:
* ์ํ ์ฌ์ดํธ์ ๋ฐฉ๋ฌธํ์ฌ ๋ก๊ทธ์ธํฉ๋๋ค.
* ๊ทธ๋ฐ ๋ค์ ๊ณต๊ฒฉ์์ ์ฌ์ดํธ(์: ์ ๋ขฐํ ์ ์๋ ์กฐ์ง์ ๊ด๊ณ )๋ฅผ ๋ฐฉ๋ฌธํฉ๋๋ค.
* ๊ณต๊ฒฉ์์ ํ์ด์ง์๋ ์ํ์ "์๊ธ ์ด์ฒด" ์์๊ณผ ๊ฐ์ ํ๋๊ฐ ํฌํจ๋ ์์์ด ์์ต๋๋ค.
* ๊ณต๊ฒฉ์๋ ๊ทํ์ ๊ณ์ข ์ ๋ณด๋ฅผ ์๊ณ ์์ผ๋ฉฐ, ๊ทํ์ ๊ณ์ข์์ ๊ณต๊ฒฉ์์ ๊ณ์ข๋ก ๋์ ์ด์ฒดํ๊ธฐ ์ํด ์์ ํ๋๋ฅผ ๋ฏธ๋ฆฌ ์ฑ์ ๋์ต๋๋ค.
* ๊ณต๊ฒฉ... |
Why is FIFA against adding instant replay to the game? | 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 ... | FIFA๊ฐ ๊ฒฝ๊ธฐ์์ ์ฆ๊ฐ์ ์ธ replay ์ถ๊ฐ์ ๋ฐ๋ํ๋ ์ด์ ๋ ๋ฌด์์ธ๊ฐ์? | ๋ช ๊ฐ์ง ๊ธฐ๋ณธ์ ์ธ ๊ณ ๋ ค ์ฌํญ์ด ์์ต๋๋ค:
* ๋ถํ์ค์ฑ์ ๊ฒฝ๊ธฐ์ ์ผ๋ถ์
๋๋ค. ์ฌํ๊ณผ ๋ผ์ธ๋งจ์ด ๊ฒฝ๊ธฐ์ ํ๋ณ์์
๋๋ค. ์ฆ๊ฐ์ ์ธ ์ฌ์์ ๊ทธ๋ค์ ๊ถํ์ ์ ํํ ๊ฒ์
๋๋ค.
* ์ถ๊ตฌ๋ ๊ธ๋ก๋ฒํ ์คํฌ์ธ ์
๋๋ค. ๋ง์ ์ง์ญ์์๋ ์ฆ๊ฐ์ ์ธ ์ฌ์์ ๊ตฌํํ๋ ๋ฐ ํ์ํ ๊ธฐ์ ์ ์ ๊ทผํ ์ ์์ต๋๋ค.
* ์ถ๊ตฌ๋ ๋น ๋ฅธ ํ
ํฌ์ ๊ฒฝ๊ธฐ๋ก, ์ค๋จํ ๊ธฐํ๊ฐ ๊ฑฐ์ ์์ต๋๋ค. ์ฆ๊ฐ์ ์ธ ์ฌ์์ ๋ถํ์ํ๊ฒ ๊ฒฝ๊ธฐ๋ฅผ ๋๋ฆฌ๊ฒ ๋ง๋ค ๊ฒ์
๋๋ค.
2008๋
, FIFA ํ์ฅ์ธ ์ ํ ๋ธ๋ํฐ๋ ๋ค์๊ณผ ๊ฐ์ด ๋งํ์ต๋๋ค:
"์๋ ๊ทธ๋๋ก ๋๊ณ [์ถ๊ตฌ]๋ฅผ ์ค๋ฅ์ ํจ๊ป ๋์. ๋ฐฉ์ก์ฌ๋ค์ [์ฌํ์ด] ๋ง์๋์ง ํ๋ ธ๋์ง๋ฅผ ๋งํ ๊ถ๋ฆฌ๊ฐ ... |
If we should encrypt the message rather than the method of transfer, why do we care about wifi security? Is this just security theatre? | 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... | ๋ฉ์์ง๋ฅผ ์ ์ก ๋ฐฉ๋ฒ์ด ์๋ ์ํธํํด์ผ ํ๋ค๋ฉด, ์ ์ฐ๋ฆฌ๋ ์์ดํ์ด ๋ณด์์ ์ ๊ฒฝ์ ์จ์ผ ํ ๊น์? ์ด๊ฒ์ ๋จ์ํ ๋ณด์ ์ผ์ ๋ถ๊ณผํ๊ฐ์? | ๋คํธ์ํฌ ์ํธํ๋ TLS์ ๊ฐ์ ์ ํ๋ฆฌ์ผ์ด์
๊ณ์ธต ์ํธํ์๋ ๋ค๋ฅธ ์ข
๋ฅ์ ์ํ์ผ๋ก๋ถํฐ ๋ณดํธํฉ๋๋ค. ํนํ, Wi-Fi ์ํธํ์ ๊ฐ์ ๋คํธ์ํฌ ์ํธํ๋ ์ฃผ๋ก ๋ก์ปฌ ๊ณต๊ฒฉ์๊ฐ ๋คํธ์ํฌ ํจํด์ ๊ฐ์(์ฐ๊ฒฐํ๋ ์ฌ๋์ ๊ธฐ๋กํ๊ณ ๋ก์ปฌ ๋คํธ์ํฌ์ ์๋ ์ฅ์น๋ฅผ ๋ฐ๊ฒฌํ๋ ๋ฐฉ์)ํ๊ฑฐ๋ ARP/DNS์ ๊ฐ์ ์ ์์ค ๋ฉ์์ง๋ฅผ ๊ด์ฐฐํ๊ฑฐ๋ ๋ณ์กฐํ๋ ๊ฒ์ ๋ฐฉ์งํ๊ณ , ๋คํธ์ํฌ์ ์์ด์๋ ์ ๋๋ ์ฅ์น๋ก๋ถํฐ์ ๋คํธ์ํฌ ๋ฐฉ์ก์ ๋ณดํธํ๋ฉฐ ๋ณ์กฐ๋ ์ ํ์ ์ธ ๊ฐ์ญ์ผ๋ก๋ถํฐ ๋ฐฉ์ดํ๊ธฐ ์ํด ์ค๊ณ๋์์ต๋๋ค.
TLS๋ ์ ์์ค TCP/IP ํจํท์ ๋ณดํธํ์ง ์๊ธฐ ๋๋ฌธ์ ์ฐ๊ฒฐํ๋ ๊ธฐ๊ธฐ์ IP ์ฃผ์์ ๊ฐ์ ์ ๋ณด๋ฅผ ์ ์ถ์ํค... |
Applying filter in scipy.signal: Use lfilter or filtfilt? |
* ```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... | scipy.signal์์ ํํฐ ์ ์ฉํ๊ธฐ: lfilter๋ฅผ ์ฌ์ฉํ ๊น์, filtfilt๋ฅผ ์ฌ์ฉํ ๊น์? | * ```filtfilt```๋ ์ ๋ก ์์ ํํฐ๋ง์ผ๋ก, ํํฐ๋งํ ๋ ์ ํธ๋ฅผ ์ด๋์ํค์ง ์์ต๋๋ค. ๋ชจ๋ ์ฃผํ์์์ ์์์ด ์ ๋ก์ด๋ฏ๋ก ์ ํ ์์์ด๊ธฐ๋ ํฉ๋๋ค. ์๊ฐ์ ์ญ๋ฐฉํฅ์ผ๋ก ํํฐ๋งํ๋ ๊ฒ์ ๋ฏธ๋๋ฅผ ์์ธกํด์ผ ํ๋ฏ๋ก "์จ๋ผ์ธ" ์ค์ ์์ฉ ํ๋ก๊ทธ๋จ์์๋ ์ฌ์ฉํ ์ ์๊ณ , ์ ํธ ๋
น์์ ์คํ๋ผ์ธ ์ฒ๋ฆฌ์๋ง ์ฌ์ฉ๋ฉ๋๋ค.
* ```lfilter```๋ ์ธ๊ณผ์ ์ ๋ฐฉ ํํฐ๋ง๋ง์ ์ํํ๋ฉฐ, ์ค์ ์ ์ ํํฐ์ ์ ์ฌํฉ๋๋ค. ์ ๋ก ์์์ผ ์ ์์ต๋๋ค. ์ ํ ์์(๋์นญ FIR)์ด ๋ ์๋ ์์ง๋ง, ๋ณดํต ๊ทธ๋ ์ง ์์ต๋๋ค. ์ผ๋ฐ์ ์ผ๋ก ์๋ก ๋ค๋ฅธ ์ฃผํ์์์ ์๋ก ๋ค๋ฅธ ์์ ์ง์ฐ์ ์ถ๊ฐํฉ๋๋ค.
์์ ... |
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... | 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... | ๊ฐ ๋ถ์์ ๋ค์ํ ์ฌ๋๋ค์ด ํฌ๋ฅ์๊ฒ ๋ฌด์์ ๊ธฐ๋ํ๋๊ฐ? ์ฌ๊ธฐ์ ๋ค์ํ ์ฌ๋๋ค์ ์ง๋๊ต์, ๋ํ์์, ๋ฐ์ฌ ๊ณผ์ ํ์๋ค์ ์๋ฏธํ๋ค. ์ฃผ๋ก ์ง๋ฌด ์ค๋ช
์ ๋ฐ๋ผ ๋ฌ๋ผ์ง๊ฒ ์ง๋ง, ํฌ๋ฅ์ด ๋ฐ๋์ ์ํํด์ผ ํ ๋ช ๊ฐ์ง ๊ธฐ๋ณธ์ ์ธ ์ฌํญ์ด ์๋ค. ์ผ๋ง๋ ์ ๊ทน์ ์ด์ด์ผ ํ ๊น? ์ด ์ง๋ฌธ์ ํฌ๋ฅ์ด ์ง๋๊ต์์ ์ง์๋ฅผ ๊ธฐ๋ค๋ฆด ์ ์๊ธฐ ๋๋ฌธ์ ์ค์ํ๋ค. ์คํ๋ ค ํฌ๋ฅ์ ํ๋ก์ ํธ๋ฅผ ์์ ์ ๋ ๋ค๋ฅธ ๋ฐ์ฌ ์ฐ๊ตฌ๋ก ์ผ์์ผ ํ๋ฉฐ, ์์ ์ด ๋ฌด์์ ํ๊ณ ์ด๋ป๊ฒ ์งํํ๊ณ ์๋์ง์ ๋ํด ์ง๋๊ต์์๊ฒ ์์ ํ ์ฑ
์์ ์ ธ์ผ ํ๋ค. ์์ ๋ด์ฉ์ ์ ์๊ฐ์ด๋ค. ์ ์ง๋ฌธ์ ๋ค์๊ณผ ๊ฐ์ ํ์ ์ง๋ฌธ์ผ๋ก ๋๋ ์ ์๋ค:
* ๊ต์๋... | ํ์๋ก์์ ์ถ์ ๋จ์ํ ์ฐ๊ตฌ ๋
ผ๋ฌธ์ ์ฐ๋ ๊ฒ ์ด์์ด๋ผ๋ ๊ฒ์ ๋น์ ์ ๋งค์ฐ ๋น ๋ฅด๊ฒ ๊นจ๋ซ๊ฒ ๋ ๊ฒ์
๋๋ค. ํฌ์คํธ๋ฅ์ผ๋ก์์ ์๊ฐ์ ์ด๋ฌํ ๋ค๋ฅธ ์ธก๋ฉด์ ๋ฐฐ์ฐ๊ณ ์์ ์ ํ๋กํ์ ๊ตฌ์ถํ ์ ์๋ ๊ธฐํ์
๋๋ค. ํฌ์คํธ๋ฅ์ ๋ค์๊ณผ ๊ฐ์ ์ผ์ ํด์ผ ํฉ๋๋ค:
* ์ถํ ๊ธฐ๋ก์ ์์์ผ ํฉ๋๋ค. ์ด๋ ๋น์ ์ด ๊ธ์ฌ๋ฅผ ๋ฐ๋ ์ผ๊ณผ ๋น์ ์ ์ฐ๊ตฌ ๋ถ์ผ ๋ชจ๋๋ฅผ ํฌํจํฉ๋๋ค.
* ํ์ ์ง๋์ ์ฐธ์ฌํด์ผ ํฉ๋๋ค. ์คํ์ค์ ๋ฐ์ฌ ๊ณผ์ ํ์๋ค์ ๋์์ฃผ๊ณ , ์์ฌ ํ์๋ค์ ์ง๋ํ๋ ๋ฐ ์ฐธ์ฌํ์ธ์.
* ์๊ธ ์กฐ๋ฌ์ ์ฐธ์ฌํด์ผ ํฉ๋๋ค. ์ด๋ ๊ณ ์ฉ์ฃผ๋ฅผ ๋๊ฑฐ๋ (์ด์์ ์ผ๋ก๋) ์์ ์ ์๊ธ์ ํ๋ณดํ๋ ๋ฐฉ์์ผ ์ ์์ต๋๋ค.
*... |
Can someone explain to me what the ```contentInset``` property in a ```UIScrollView``` instance is used for? And maybe provide an example? | 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| โ
---------------
... | ```UIScrollView``` ์ธ์คํด์ค์์ ```contentInset``` ์์ฑ์ด ๋ฌด์์ ์ฌ์ฉ๋๋์ง ์ค๋ช
ํด ์ฃผ์ค ์ ์๋์? ๊ทธ๋ฆฌ๊ณ ์์ ๋ฅผ ์ ๊ณตํด ์ฃผ์๋ฉด ์ข๊ฒ ์ต๋๋ค. | jball์ ๋ต๋ณ์ ์ฝํ
์ธ ์ธ์
์ ๋ํ ํ๋ฅญํ ์ค๋ช
์ด์ง๋ง, ์ธ์ ์ฌ์ฉํด์ผ ํ๋์ง์ ๋ํ ์ง๋ฌธ์๋ ๋ตํ์ง ์์ต๋๋ค. ๊ทธ์ ๋ํ๋ฅผ ๋น๋ฆฌ๊ฒ ์ต๋๋ค:
``` _|โ_cW_โ_|_โ_
| |
---------------
|content| โ
โ |content| contentInset.top
cH |content|
โ |content| contentInset.bottom
|content| โ
---------------
|content|
-------------โ-
```
์ด๋ ๊ฒ ํ๋ฉด ์ป๋ ๊ฒ์ด์ง๋ง, ์คํฌ๋กคํ ๋๋ง ์ ์ฉ์ฑ์ด ๋๋ฌ๋ฉ๋๋ค:
``... |
How is arc defined in TikZ? | ```\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... | TikZ์์ ํธ๋ ์ด๋ป๊ฒ ์ ์๋๋์? | ```(x,y)์์ ๋ฐ์ง๋ฆ์ด ```radius```์ธ ํธ๋ฅผ ๊ทธ๋ฆฝ๋๋ค.
* ํธ์ ๋ฐ์ง๋ฆ์ ```radius```
* ์์์ ์ ```(x,y)```
* ์ค์ฌ์ ```(x-r*cos(start), y-r*sin(start))```์ด๊ณ
* ๋์ ์ ```(x-r*cos(start)+r*cos(stop), y-r*sin(start)+r*sin(stop))```์
๋๋ค.
์๋ฅผ ๋ค์ด,
``` \draw[red] (0,0) arc (30:60:3);
```
๋ ๋ค์๊ณผ ๊ฐ์ ํธ๋ฅผ ๊ทธ๋ฆฝ๋๋ค.
* ๋ฐ์ง๋ฆ์ ```3```
* ์์์ ์ ```(0,0)```
* ์ค์ฌ์ ```(0-3*cos... |
How to connect mysql workbench to running mysql inside docker? | 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์ MySQL ์ํฌ๋ฒค์น๋ฅผ ์ฐ๊ฒฐํ๋ ๋ฐฉ๋ฒ์ ๋ฌด์์ธ๊ฐ์? | ๋ฐฐํฌ ํ ๊ธฐ๋ณธ์ ์ผ๋ก MySQL์๋ ๋ค์๊ณผ ๊ฐ์ ์ฐ๊ฒฐ ์ ํ์ด ์์ต๋๋ค:
```mysql> select host, user from mysql.user;
+-----------+---------------+
| host | user |
+-----------+---------------+
| localhost | healthchecker |
| localhost | mysql.session |
| localhost | mysql.sys |
| localhost | root |
+-----------+-------------... |
Can meat spoil outside the fridge if it's baked into bread as a filling? | 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... | ๋นต ์์ ์์ฌ๋ฃ๋ก ๋ฃ์ด์ ๊ตฌ์ด ๊ณ ๊ธฐ๋ ๋์ฅ๊ณ ๋ฐ์์ ์ํ ์ ์๋์? | ๋น์ ์ ๋นต๊ณผ ์ฒ ์บ ์ฌ์ด์๋ ๋ ๊ฐ์ง ์ฐจ์ด๊ฐ ์์ต๋๋ค. ์ฒซ์งธ, ๋น์ ์ ๋นต์ ์ค์ฌ ์จ๋๊ฐ 100ยฐC ์ดํ๋ก ๊ฐ์ด๋์์ต๋๋ค. ๋ง์์, ์๋ง๋ ์ค๋ธ ์จ๋๊ฐ ํจ์ฌ ๋ ๋๊ฒ ์ค์ ๋์๊ฒ ์ง๋ง, ์์ฌ๋ฃ์ ์๋ถ ํจ๋ ๋๋ฌธ์ ๋๋ ๋ฌผ๋ณด๋ค ๋ ๋จ๊ฑฐ์์ง์ง ์์ต๋๋ค. ์์
์ ์ธ ํต์กฐ๋ฆผ์ 120-130ยฐC ๊ทผ์ฒ์์ ์ด๋ฃจ์ด์ง๋๋ฐ, ์ด๋ ํต์ด ์๋ ฅ ์๋์์ ์กฐ๋ฆฌ๋๊ธฐ ๋๋ฌธ์
๋๋ค. ๊ทธ๋์ ํต์กฐ๋ฆผ๊ณผ ๋ฌ๋ฆฌ ๋๋ถ๋ถ์ ๋ณ์๊ท ์ ํ๊ดด๋์์ง๋ง, ๋ฐ๋์ ๋ชจ๋ ๊ฒ์ด ์ ๊ฑฐ๋ ๊ฒ์ ์๋๋๋ค. ์ธ์ฒด ์๋น๋ฅผ ์ํด์๋ ๋จ์ ์๋ ๋ณ์๊ท ์ด ๋ค์ ์๋ ์ ์๋ ์๊ฐ-์จ๋ ์กฐํฉ์ ๋ฐ์ง ์๋ ํ ๊ด์ฐฎ์ต๋๋ค. ๋์งธ, ๋นต ๋ฐ์ฃฝ์ ๋ฐ๋๊ฐ... |
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? | 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... | XML ์คํค๋ง ์ฌ์์ด ์ด๋ฌํ ๊ฒฝ์ฐ๋ฅผ ์ด๋ป๊ฒ ์ฒ๋ฆฌํ๋์ง ๊ถ๊ธํฉ๋๋ค:
```
```
์ต๋ ๋ฐ์ ์๊ฐ ์ฃผ์ด์ง์ง ์์ผ๋ฉด -> ์ด๋ ๊ธฐ์ [1..1]์ธ๊ฐ์?
```
```
์ด๊ฒ์ ๋จ์ํ ์ ํจํ์ง ์๋ค๊ณ ์๊ฐํ๋์?
```
```
์ด๋ ๊ธฐ์ [0..2]์ธ๊ฐ์, ์๋๋ฉด [1..2]์ธ๊ฐ์?
XML ์คํค๋ง ์ฌ์์ด ์ด๋ฌํ ๊ฒฝ์ฐ๋ฅผ ์ฒ๋ฆฌํ๋ ๋ฐฉ๋ฒ์ ๋ํ "๊ณต์์ ์ธ" ์ ์๊ฐ ์๋์? | ์๋กญ๊ณ ํ์ฅ๋ ๋ต๋ณ, ์ค๋ ์ ๋ถํฐ ์์ฃผ ๋ฌป๋ ์ง๋ฌธ์ ๋ํ...
๊ธฐ๋ณธ๊ฐ
* ๋ฐ์ ์ ์ฝ ์กฐ๊ฑด ```minOccurs```์ ```maxOccurs```๋ ๊ธฐ๋ณธ์ ์ผ๋ก ```1```๋ก ์ค์ ๋ฉ๋๋ค.
์ผ๋ฐ์ ์ธ ๊ฒฝ์ฐ ์ค๋ช
```
```
๋ ```A```๊ฐ ํ์์ด๋ฉฐ ์ ํํ ํ ๋ฒ ๋ํ๋์ผ ํจ์ ์๋ฏธํฉ๋๋ค.
```
```
๋ ```A```๊ฐ ์ ํ ์ฌํญ์ด๋ฉฐ ์ต๋ ํ ๋ฒ ๋ํ๋ ์ ์์์ ์๋ฏธํฉ๋๋ค.
```
```
๋ ```A```๊ฐ ํ์์ด๋ฉฐ ๋ฌด์ ํ์ผ๋ก ๋ฐ๋ณต๋ ์ ์์์ ์๋ฏธํฉ๋๋ค.
```
```
๋ ```A```๊ฐ ์ ํ ์ฌํญ์ด๋ฉฐ ๋ฌด์ ํ์ผ๋ก ๋ฐ๋ณต๋ ์ ์์์ ์๋ฏธํฉ๋๋ค.
... |
Were there any flying dinosaurs? | 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... | ๋ ์๋ค๋๋ ๊ณต๋ฃก์ด ์์๋์? | ์๋ ๋นํ ๊ณต๋ฃก์ด์ ๋นํ ํ์ถฉ๋ฅ์
๋๋ค. ๋ค, ๊ทธ๊ฑด ํผ๋์ค๋ฌ์ธ ์ ์์ต๋๋ค.
์ด๋ฌํ ๊ฒ์ผ๋ก ๋ณด์ด๋ ๋ชจ์์ ์ดํดํ๋ ค๋ฉด ํ๋์ ์๋ฌผ ๋ถ๋ฅ ์ฒด๊ณ(๊ณํต ๋ฐ์ ๋ถ๋ฅํ)๊ฐ ์ด๋ป๊ฒ ์๋ํ๋์ง ์ดํดํด์ผ ํฉ๋๋ค. ์(๋ฆฐ๋ค์) ๋ถ๋ฅ ์ฒด๊ณ์์๋ ํ์ถฉ๋ฅ(Reptilia)๋ ํ ๋ถ๋ฅ๊ตฐ์ด์๊ณ , ์(Aves)๋ ๋ณ๋์ ๋ถ๋ฅ๊ตฐ์ด์์ต๋๋ค. ๋ฆฐ๋ค์ ์์คํ
์ ์์ ํ ๋์ฒดํ ๊ณํต ๋ฐ์ ๋ถ๋ฅํ์ ๋ชจ๋ ์๋ฌผ์ ๋จ์ผ ๊ณํต๊ตฐ(ํด๋ ์ด๋)์ ์ค์ฒฉ๋ ์งํฉ์ผ๋ก ์ํธ ์ฐ๊ด๋ ๊ฒ์ผ๋ก ๋ด
๋๋ค. ์ด๋ ๋ชจ๋ ์๋ฌผ์ด ๊ฑฐ๋ํ ์ ์์ ์ํ๊ณ , ๊ทธ ์์์ ์ ์ ๋ ์์ ์๋ค์ด ๋ ๊ตฌ์ฒด์ ์ธ ๊ทธ๋ฃน์ผ๋ก ๋ถ๋ฅ๋๋ ๋ฒ ์ธ ๋ค์ด์ด๊ทธ๋จ ์ธํธ์ ... |
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... | 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... | ํ
์ด๋ธ ```car```๋ ํ
์ด๋ธ ```electric_car```, ```gas_car```, ```hybrid_car```์ ์ผ๋์ผ ๊ด๊ณ๋ฅผ ๊ฐ์ง๊ณ ์์ต๋๋ค. ๋ง์ฝ ```car```๊ฐ ```electric_car```๋ผ๋ฉด, ๊ทธ๊ฒ์ ๋ ์ด์ ```gas_car```๋ ```hybrid_car``` ๋ฑ์์ ๋ํ๋ ์ ์์ต๋๋ค. ๋ฐ์ดํฐ๋ฒ ์ด์ค ์ค๊ณ์์ ์ฌ๋ฌ ์ํธ ๋ฐฐํ์ ์ธ ์ผ๋์ผ ๊ด๊ณ๋ฅผ ๊ฐ๋ ๊ฒ์ด ๋์ ๊ดํ์ธ๊ฐ์? | ์ฐจ์ ๋ค์ํ ์ ํ์ ๋ฐ์ดํฐ ๋ชจ๋ธ๋ง์์ ๋ฐ๋ณต์ ์ผ๋ก ๋ํ๋๋ ์ผ๋ฐ์ ์ธ ๋ฌธ์ ์ ์ฌ๋ก์
๋๋ค. ER ๋ชจ๋ธ๋ง์์๋ "์ผ๋ฐํ/ํน์ํ"๋ผ๊ณ ๋ถ๋ฆฌ๋ฉฐ, ๊ฐ์ฒด ๋ชจ๋ธ๋ง์์๋ "์ํผํด๋์ค/์๋ธํด๋์ค"๋ผ๊ณ ํฉ๋๋ค. ๊ฐ์ฒด ๋ชจ๋ธ๋ฌ๋ ๊ฐ์ฒด ๋ชจ๋ธ์ ๋ด์ฅ๋ ์์ ๊ธฐ๋ฅ์ ์ฌ์ฉํ์ฌ ์ด ๋ฌธ์ ๋ฅผ ์ฝ๊ฒ ํด๊ฒฐํฉ๋๋ค. ์๋ธํด๋์ค๋ ๋จ์ํ ์ํผํด๋์ค๋ฅผ ํ์ฅํฉ๋๋ค.
๊ด๊ณํ ๋ชจ๋ธ๋ฌ๋ ํ
์ด๋ธ์ ์ด๋ป๊ฒ ์ค๊ณํด์ผ ์์์ผ๋ก ์ป์ ์ ์๋ ์ด์ ์ ๋ชจ๋ฐฉํ ์ ์์์ง๋ฅผ ๊ณ ๋ฏผํ๊ฒ ๋ฉ๋๋ค. ๊ฐ์ฅ ๊ฐ๋จํ ๊ธฐ๋ฒ์ ๋จ์ผ ํ
์ด๋ธ ์์์
๋๋ค. ๋ชจ๋ ์ ํ์ ์๋์ฐจ์ ๋ํ ๋ฐ์ดํฐ๊ฐ ์๋์ฐจ๋ฅผ ์ํ ๋จ์ผ ํ
์ด๋ธ๋ก ๊ทธ๋ฃนํ๋ฉ๋๋ค. car_type์ด๋ผ๋... |
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? | 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... | Kaggle ๋ํ์์ Mathematica์ ์ฌ์ฉ์ด ์ ์ ๊ฒ์ ๋ณด์์ต๋๋ค. ๋จธ์ ๋ฌ๋์ ์ํด Wolfram Language๋ฅผ R, Python ๋๋ Julia ๋์ ์ฌ์ฉํ๋ ์ด์ ๋ ๋ฌด์์ธ๊ฐ์? ๋ ์์ ๊ทธ๋ํ์ Manipulate ํจ์ ์ธ์, ๋ค๋ฅธ ์ธ์ด๋ค์ด ๋ถ์กฑํ ๋จธ์ ๋ฌ๋์ ์ ์ฉํ ๊ธฐ๋ฅ์ด ์์๊น์? | Mathematica๋ R์ด๋ Python์์ ์ ๊ณต๋๋ ๊น์ด ์๋ ์๊ณ ๋ฆฌ์ฆ ์ง์์ด ๋ถ์กฑํฉ๋๋ค. Julia๋ ์๊ณ ๋ฆฌ์ฆ ์ง์์ด ํจ์ฌ ์ ํ์ ์ด์ง๋ง ์๋ ๋ฉด์์ ์ข์ ์ฑ๋ฅ์ ๋ณด์
๋๋ค. Mathematica๊ฐ ์ง์ํ๋ ๋ช ๊ฐ์ง ์๊ณ ๋ฆฌ์ฆ์ Kaggle ๋ํ์์ ์น๋ฆฌํ๊ธฐ ์ํด ํ์ํ ์กฐ์ ์ ๋ํด ํน๋ณํ ์ ๋
ธ์ถ๋์ด ์์ง ์์ต๋๋ค. Mathematica ๋ฒ์ 10 ๊ธฐ์ค์ผ๋ก ์ง์ํ๋ ๋ถ๋ฅ๊ธฐ๋ "๋ก์ง์คํฑ ํ๊ท", "๋ง๋ฅด์ฝํ", "๋์ด๋ธ ๋ฒ ์ด์ฆ", "์ต๊ทผ์ ์ด์", "์ ๊ฒฝ๋ง", "๋๋ค ํฌ๋ ์คํธ", "์ํฌํธ ๋ฒกํฐ ๋จธ์ "์
๋๋ค. ํ๋์ ์์๋ธ ๋ฐฉ๋ฒ์ธ ๋๋ค ํฌ๋ ์คํธ๋ฅผ ์ ๊ณตํ์ง๋ง, ๋ฐฐ๊น
์ด๋ ์... |
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... | 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๋ฅผ ์ฌ์ฉํ๊ณ ์์ผ๋ฉฐ ํ์ ๋๋กญ๋ค์ด์ ๋ํ ์ฌ์ฉ์ ์ ์ ์ถ๋ ฅ์ ๋ง๋ค๋ ค๊ณ ํ๊ณ ์์ต๋๋ค. "items_wrap" ์ธ์๋ฅผ ๋ฐ๊ฒฌํ์ง๋ง ๊ทธ๊ฒ์ด ๋ฌด์์ธ์ง, ์ด๋ป๊ฒ ์๋ํ๋์ง, ์ด๋ค ์์
์ ํ ์ ์๋์ง์ ๋ํ ์ ๋ณด๊ฐ ๋ณ๋ก ์์ต๋๋ค.
"%1$s"์ "%2$s"๋ ์ ํํ ๋ฌด์์ธ๊ฐ์? (๋๊ตฌ๋ ์ง ์ฝ๊ฒ ์ค๋ช
ํด ์ค ์ ์๋์?) | ```wp_nav_menu()```์ ํ๋ผ๋ฏธํฐ ```'items_wrap'```์ ๊ธฐ๋ณธ๊ฐ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค:
```'%3$s'
```
์ด๊ฒ์ ```sprintf()```๋ก ํ์ฑ๋๋ ํ
ํ๋ฆฟ์
๋๋ค:
```$nav_menu .= sprintf(
$args->items_wrap
, esc_attr( $wrap_id ) // %1$s
, esc_attr( $wrap_class ) // %2$s
, $items // %3$s
);
```
๋ฒํธ๊ฐ ๋งค๊ฒจ์ง ํ๋ ์ด์คํ๋์ธ ```%1$s```, ```%2$s```, ```%3$s`... |
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... | 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... | ์ฌ๋๋ค์ด ์ ํ๋ธ๋ TV์์ "๋ช ๋
์ ์๋ ์ฝ์นด์ธ์ ๋ง์ด ํ์ด์" ๋๋ "์ด๋ฐ์ ๋ฐ ์ด์ ๋ก ๋งค์ผ ๋๋ง์ด๋ฅผ ํผ์ ์ด์" ๋๋ "๊ฐ๋ ๋๋ง์ด๋ฅผ ํผ์์" ๋๋ "์ด๋ ธ์ ๋ ๊ฒ์์ ๋ง์ด ํด์ ํ์ผ๋ก ํ์ด์" ๋๋ "์ง์ฅ์ ๊ตฌํ ๋๊น์ง ํด์ ํ ์๋์ฐ์ ํฌํ ์ต์ ์ผ์ด์" ๊ฐ์ ๋ง์ ํ๋ ๊ฑธ ๋ดค์ด์. ๊ธฐ๋ณธ์ ์ผ๋ก ๊ทธ๋ค์ ๋ฒ์ฃ๋ฅผ ๊ณต์ ์ผ๋ก ๊ณ ๋ฐฑํ๊ณ ์๋๋ฐ, ์๋ฌด๋ ๊ทธ๋ค์ ์ถ์ ํ์ง ์์๊น์? ๊ทธ๋ค์ ์ด๋ฏธ ๊ณ ๋ฐฑํ์ผ๋, ๊ธฐ์ ์ ์ผ๋ก๋ ์ฌํ๋ง ํ๋ฉด ๋๋ ๊ฑฐ์์์. ์ฌ๋๋ค์ด ์ด๋ป๊ฒ ๋ฒ์ฃ ํ๋์ ๊ณต๊ฐ์ ์ผ๋ก ์ธ์ ํ๊ณ ๋ ๋ณดํต ์ฒดํฌ๋์ง ์์ ์ ์๋ ๊ฑธ๊น์? | ์ ํ๋ธ ์์์ด ๊ทธ๋ค์ด ๋ฒ์ฃ๋ฅผ ์ ์ง๋ฅด๋ ๋ชจ์ต์ ๋ณด์ฌ์ฃผ์ง ์๋๋ค๋ฉด, ๊ทธ๋ค์ ๋ฒ์ฃ๋ก ์ฒดํฌ๋๊ฑฐ๋ ๊ธฐ์๋ ์ ์์ต๋๋ค. ๊ทธ๋ค์ด ๋งน์ธํ์ง ์๊ณ ๋งํ๋ ๊ฒ์ ๊ทธ์ ์ฆ๊ฑฐ ๊ฐ์น๊ฐ ์๋ ์ ์ธ์ผ ๋ฟ์ด๋ฉฐ, ๊ทธ๋ค์ด ๋ฒ์ฃ๋ฅผ ์ ์ง๋ ๋ค๋ ๋ค๋ฅธ ์ฆ๊ฑฐ๊ฐ ์์ด์ผ๋ง ์๋ฏธ๊ฐ ์์ต๋๋ค. ๊ทธ๋ฐ ๊ฒฝ์ฐ์๋ ์๋ฐฑ์ด ๋ฉ๋๋ค. ๊ทธ๋ฌ๋ ๋ฒ์ฃ์ ๋ํ ๋ค๋ฅธ ๊ฐ์ ์ ์ด๊ฑฐ๋ ์ค์ ๋ฌผ๋ฆฌ์ ์ฆ๊ฑฐ๊ฐ ์์ด์ผ ํฉ๋๋ค.
๊ณผ๊ฑฐ์ ์์ฃผ๋ ๋ฒ์ฃ๊ฐ ์๋๋๋ค. ๋ง์ฝ ์์ง๋, ๋ง์ฝ ์์งํ๊ณ ์๋ค๊ฐ ์ ๋ฐ๋๋ค๋ฉด ๋ฒ์ฃ์
๋๋ค. ๊ทธ๋ฌ๋ "๋ด๊ฐ ์ทจํ์๋ค"๋ผ๊ณ ๋งํ๋ ๊ฒ์ ๋ฒ์ฃ๊ฐ ์๋๋๋ค.
์ฌ๋๋ค์ ๊ฒฝ์ฐฐ์์ ๋ค์ด๊ฐ์ ์ด์ธ์ ์๋ฐฑํ๊ธฐ๋ ํฉ๋๋ค. ๊ทธ๋ฌ๋ ์ฆ๊ฑฐ๊ฐ... |
Did two dissenting Supreme Court justices agree that Trump was "absolutely immune" to the Manhattan DA's subpoena? | 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... | ๋ ๋ช
์ ๋ฐ๋ ์๊ฒฌ์ ๊ฐ์ง ๋๋ฒ๊ด๋ค์ด ํธ๋ผํ๊ฐ ๋งจํดํผ ์ง๋ฐฉ๊ฒ์ฌ์ ์ํ์ฅ์ ๋ํด "์ ๋ ๋ฉด์ฑ
"์ด๋ผ๋ ๋ฐ ๋์ํ๋์? | ์์ธํ ์ธ๋ถ ์ฌํญ์ ๊ด์ฌ์ด ์์ผ์๋ค๋ฉด, ํธ๋ผํ ๋ ๋ฐด์ค ์ฌ๊ฑด์ ์ ์ฒด ํ๊ฒฐ์ ์ฐธ์กฐํ์๊ธฐ ๋ฐ๋๋๋ค. ๋งํฌ๋ ๋ฌธ์์ ์ ๋ฐ๋ถ์๋ ๋ฒ์์ ๋ค์ ์๊ฒฌ๊ณผ ์นด๋ฐ๋
ธ ๋ฐ ๊ณ ์์น ๋๋ฒ๊ด์ ๋์ ์๊ฒฌ์ด ํฌํจ๋์ด ์์ผ๋ฉฐ, ์ด์ด์ ํ ๋ง์ค ๋ฐ ์๋ฆฌํ ๋๋ฒ๊ด์ ๋ณ๋์ ๋ฐ๋ ์๊ฒฌ์ด ๋์ต๋๋ค.
๋น ๋ฅด๊ฒ ์ฝ์ด๋ณธ ๊ฒฐ๊ณผ, ํ ๋ง์ค ๋๋ฒ๊ด์ ํ์ง ๋ํต๋ น์ด "์ํ์ฅ ๋ฐ๋ถ์ ๋ํ ์ ๋ ๋ฉด์ฑ
๊ถ์ ๊ฐ์ง์ง ์๋๋ค"๋ ์ผ๋ฐ ๋ฒ์์ ์๊ฒฌ์ ๋์ํ๋ ๊ฒ์ผ๋ก ๋ณด์
๋๋ค. ํ ๋ง์ค๋ ๋ํต๋ น์ด "์ํ์ฅ์ ์งํ์ ๋ํด ๊ตฌ์ ๋ฅผ ๋ฐ์ ์๊ฒฉ์ด ์์ ์ ์๋ค"๊ณ ์ฃผ์ฅํ๋ฉฐ ๋ฐ๋ํฉ๋๋ค. ๊ทธ๋ (๋ํต๋ น๊ณผ ๋์ํ์ฌ) ์ด ์ฌ๊ฑด์ด ๋ฌดํจํ๋์ด ํ๊ธ ... |
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? | 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... | ๊ทธ๋ฅ ๊ถ๊ธํ๋ฐ, D&D๊ฐ ํจํจ์๊ฒ์ ์ผ๋ง๋ ๋ง์ ์ํฅ์ ๋ฐ์๋์ง์ ์์๋๋ฆฌ ๊ฐ์ ๊ฒ์์ด ํธ๋น์ ์ฌ์ฉํ๋ ์ฌ์ค์ ๊ณ ๋ คํ ๋, ๊ฐ์ด์ ์ค์ ๊ทธ์ ๋๋ฃ๋ค์ด ์ฐ๋ฆฌ ์์ ์น๊ตฌ๋ค์ ์ํด 'ํธ๋น' ๋์ 'ํํ๋ง'์ด๋ผ๋ ์ฉ์ด๋ฅผ ์ฌ์ฉํ ์ข์ ๋์์ธ ์ด์ ๊ฐ ์์๊น์? | ํํ๋ง์ ์๋ ๋ฒ์ ๋์ ์ด์ ์ ํธ๋น์ด๋ผ๊ณ ๋ถ๋ ธ์ต๋๋ค. ๊ฐ๋น ๊ฐ์ด์์ค ์์ ์ ๋ฐ๋ฅด๋ฉด, ์ด๋ 1976๋
์ ํจํจ์ ์ํ์ ๋ํ ๋จธ์ฒ๋ค์ด์ง ๊ถ๋ฆฌ๋ฅผ ๊ตฌ๋งคํ ํ์ฌ๊ฐ "ํธ๋น"์ ๋ํ ๋ฒ์ ์ฃผ์ฅ ๋๋ฌธ์ด์์ต๋๋ค.
TSR์ ํจํจ ์ฌ๋จ์ ๋์ ํ์ฌ ์๋ ๋จธ์ฒ๋ค์ด์ง์ ์ฌ์ธ ์์ธ (Saul Zantes) ๋ถ์๋ก๋ถํฐ 50๋ง ๋ฌ๋ฌ์ ๋ฌํ๋ ์ํด๋ฐฐ์์ ์ํํ๋ ์์ก ์๋ฅ๋ฅผ ๋ฐ์์ต๋๋ค. ์ฃผ์ ๋ฐ๋ ์ด์ ๋ ์ฐ๋ฆฌ๊ฐ ์ถํ ์ค์ด๋ ๋ณด๋ ๊ฒ์ '๋ค์ฏ ๊ตฐ๋์ ์ ํฌ' ๋๋ฌธ์ด์์ต๋๋ค. ๊ทธ ๊ฒ์์ ์ ์๋ ์ ์๊ถ์ด ๋ง๋ฃ๋ ํ ์ถํ๋์๊ณ ๊ฐฑ์ ์ด ์ด๋ฃจ์ด์ง๊ธฐ ์ ์ ์ถํ๋์๊ธฐ ๋๋ฌธ์ ์ด ์ํ์ด ํ ๋น๋๋ค๊ณ ์ฃผ์ฅํ๋ ๋ณํธ์ฌ์... |
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... | 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... | ๋ด USB ๋๋ผ์ด๋ธ๋ ์ ๊ฐ ์์ ๋ ์๋ 8GB์์ต๋๋ค. ์ง๊ธ Windows 7์์ ๋๋ผ์ด๋ธ๋ฅผ ์ค๋ฅธ์ชฝ ํด๋ฆญํ๊ณ ```ํฌ๋งท...```์ ์ ํํ์ฌ ํฌ๋งทํ๋ ค๊ณ ํ๋๋ฐ, ์ฉ๋์ด 250MB๋ฐ์ ํ์๋์ง ์์ต๋๋ค. ์๋ ํฌ๊ธฐ๋ก ๋๋๋ฆฌ๋ ๋ฐฉ๋ฒ์ด ์์๊น์? ํน์ ์ด์ํ๊ฒ ํํฐ์
์ด ๋๋์์๊น์? ์ด ํ๋์ ๋๋ผ์ด๋ธ๋ SanDisk Cruzer Micro 8GB์
๋๋ค. | ๋ช
๋ น์ค ์ ์ฐจ๋ ๊ฐ๋จํ์ง ์์ง๋ง, ๊ฐ์ฅ ํจ๊ณผ์ ์ผ ๊ฐ๋ฅ์ฑ์ด ๋์ต๋๋ค. "๋๋ผ์ด๋ธ"๋ฅผ ์ฌํฌ๋งทํ ๋, ์ค์ ๋ก๋ ๋๋ผ์ด๋ธ์ ํํฐ์
๋ง ํฌ๋งทํ๋ ๊ฒ์
๋๋ค. diskpart ์ ํธ๋ฆฌํฐ๋ฅผ ์ฌ์ฉํ์ฌ ํํฐ์
์ ์ ๊ฑฐํ๊ณ ์ ์ฒด ๋ณผ๋ฅจ์ ํฌํจํ๋ ํ๋์ ๋จ์ผ ํํฐ์
์ ์์ฑํด์ผ ํฉ๋๋ค. ```diskpart```๋ ์ฝ๊ฐ ์ํํ ์ ์์ต๋๋ค. ์๋ชป๋ ๋๋ผ์ด๋ธ๋ ํํฐ์
์ ์ ํํ๋ฉด ๋งค์ฐ, ๋งค์ฐ ์ค์ํ ๋ฐ์ดํฐ๋ ํํฐ์
์ ์ ๊ฑฐํ ์ ์๊ณ , ์ด๋ก ์ธํด ๊ธฐ๊ธฐ์ ๋ชจ๋ ๋ฐ์ดํฐ๋ฅผ ์์ ์ ์์ต๋๋ค. ๊ทน๋๋ก ์กฐ์ฌํด์ ์งํํ์ธ์! ๊ด๋ฆฌ์๋ก ๋ช
๋ น ํ๋กฌํํธ๋ฅผ ์ฝ๋๋ค (์์ ๋ฉ๋ด๋ฅผ ์ด๊ณ ```cmd```๋ฅผ ์
๋ ฅํ ํ Ent... |
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... | 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 ... | ์ ๋ Tor ๊ฐ๋ฐ์์
๋๋ค. .onion ์ฃผ์๊ฐ ์ผ์ข
์ ๊ณต๊ฐ ํค๋ผ๋ ๊ฒ์ ์ดํดํ์ง๋ง ๊ทธ ์ด์์ ์ ๋ชจ๋ฅด๊ฒ ์ต๋๋ค(์ด๋ ดํ์ด ์ถ์ธกํ ์๋ ์์ง๋ง์). ์๋ฌด๋ .onion ์ฃผ์์ IP๋ฅผ ๋ชจ๋ฅผ ๋, ์์ฒญ์ ์ด๋ป๊ฒ ๊ทธ ์ฃผ์์ ๋๋ฌํ๋์? P2P ๋คํธ์ํฌ์ ๋
ธ๋ ์ฌ์ด์์ ์ ๋ฌ๋๋ค๊ฐ ๋๊ตฐ๊ฐ ํด๋น ๊ฐ์ธ ํค๋ก ๋ณตํธํํ ๋๊น์ง ๊ณ์ ์ด๋ํ๋์? | ์ต์ํ 2013๋
10์๊น์ง ์จ๊ฒจ์ง ์๋น์ค๋ ๋ค์๊ณผ ๊ฐ์ด ์๋ํฉ๋๋ค:
* ์จ๊ฒจ์ง ์๋น์ค๋ ํค ์(๊ฐ์ธ ํค์ ๊ณต๊ฐ ํค, ๋น๋์นญ ์ํธํ)์ ๊ณ์ฐํฉ๋๋ค.
* ๊ทธ๋ฐ ๋ค์ ์จ๊ฒจ์ง ์๋น์ค๋ ๋ช ๊ฐ์ ์ค๊ณ ์๋ฒ๋ฅผ ์๊ฐ ์ง์ ์ผ๋ก ์ ํํฉ๋๋ค.
* Tor ํ๋ก๋ฅผ ํตํด ์๊ฐ ์ง์ ์ ๊ณต๊ฐ ํค๋ฅผ ์ ๋ฌํฉ๋๋ค.
* ๊ทธ ํ ์จ๊ฒจ์ง ์๋น์ค๋ ๊ณต๊ฐ ํค์ ์๊ฐ ์ง์ ์ ๋ณด๋ฅผ ํฌํจํ๋ ์จ๊ฒจ์ง ์๋น์ค ์ค๋ช
์๋ฅผ ์์ฑํฉ๋๋ค.
* ์จ๊ฒจ์ง ์๋น์ค๋ ๊ฐ์ธ ํค๋ก ์จ๊ฒจ์ง ์๋น์ค ์ค๋ช
์์ ์๋ช
ํฉ๋๋ค.
* ๊ทธ๋ฐ ๋ค์ ์จ๊ฒจ์ง ์๋น์ค ์ค๋ช
์๋ฅผ ๋ถ์ฐ ํด์ ํ
์ด๋ธ(DHT)์ ์
๋ก๋ํฉ๋๋ค.
* ํด๋ผ์ด์ธํธ๋ ์จ๊ฒจ์ง ์๋น์ค์ .on... |
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... | 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... | ์ ๋ฝ์ ํ๋ฅญํ ๊ธฐ๊ด์์ ๊ฒฝํ์ด ๋ถ์กฑํ ๊ต์์๊ฒ ๋ฐ์ฌ ๊ณผ์ ์ ์์ ๋ฐ์์ต๋๋ค. ๊ทธ ๊ธฐ๊ด์ด ์ ๋ถ์ผ์์ ๋งค์ฐ ๊ฐ๋ ฅํ๊ธด ํ์ง๋ง, ์ด ํน์ ๊ต์์๊ฒ ์ ์๋ฐ์๊ธฐ ๋๋ฌธ์ ์ ๋ ๊ทธ์ ์ง๋ ์๋์์ ์ ๋
ผ๋ฌธ์ ์ํด ์ผํด์ผ ํฉ๋๋ค. ์ด ๊ต์๋ ์ ๊ณ ์๋์ ์ผ๋ก ๊ฒฝํ์ด ๋ถ์กฑํ์ง๋ง, ๊ทธ๊ฐ ํ๋ ์ผ์ ํฅ๋ฏธ๋ฅผ ๋๋ผ๋ฉฐ, ์ฐ๋ฆฌ๋ ์ ์ด์ธ๋ฆฌ๋ ๊ฒ ๊ฐ์ต๋๋ค.
์ ์ง๋ฌธ์, ๊ฒฝํ์ด ๋ถ์กฑํ ์ง๋๊ต์๊ฐ ์ ๊ณผํ์๋ก์์ ์ฑ์ฅ์ด๋ ๊ฒฝ๋ ฅ ์ ๋ฐ์ ๋ถ์ ์ ์ธ ์ํฅ์ ๋ฏธ์น ๊น์? ๋ฐ์ฌ ๊ณผ์ ๋์ ๋ค๋ฅธ ๋ ์ ๋ช
ํ ๊ต์๋๋ค๊ณผ ๋ถ๊ฐ์ ์ธ ์ฐ๊ตฌ๋ฅผ ํ ์๊ฐ์ด ์์๊น์, ์๋๋ฉด ๋ณดํต ํ ๊ฐ์ง ์ฐ๊ตฌ ํ๋ก์ ํธ์ ์ง์คํ๊ฒ ๋๋์? | ๊ฒฝํ์ด ๋ถ์กฑํ ์ง๋๊ต์๋ ์๋์ ์ผ๋ก ์๋ ค์ง์ง ์์๊ธฐ ๋๋ฌธ์ ๋น์ ์ ๊ฒฝ๋ ฅ์ ํด๋ฅผ ๋ผ์น ์ ์์ต๋๋ค. ์ด๋ ๊ทธ๋ค์ด ๋์ผํ ๋คํธ์ํฌ์ ์ ๊ทผํ์ง ๋ชปํ ์๋ ์๊ณ , ๊ทธ๋ค์ ์ถ์ฒ์๊ฐ ๊ฐ์ ๋ฌด๊ฒ๋ฅผ ๊ฐ์ง ์์ ์ ์์์ ์๋ฏธํฉ๋๋ค. ๊ฐ๋
๊ฒฝํ ๋ถ์กฑ์ ์๋ฅผ ๋ค์ด ๋นํ์ค์ ์ธ ๊ธฐ๋๋ฅผ ์ด๋ํ ์ ์์ต๋๋ค. ๋๋ ๊ฒฝํ์ด ๋ถ์กฑํ ์ง๋๊ต์๊ฐ ๋น์ ์ ๊ฒฝ๋ ฅ์ ๋งค์ฐ ๊ธ์ ์ ์ผ ์๋ ์์ต๋๋ค. ํจ๊ป ์์ฑํ ๋ฉ์ง ๋
ผ๋ฌธ์ผ๋ก ๋น ๋ฅด๊ฒ ์ด๋ฆ์ ์๋ฆฌ๋ฉฐ, ์ถ์ฒ์๋ฅผ ์ธ ๋ ๋ง์ ์ฌ๋๋ค์ ๊ธฐ์ต์ ์ ์ ํ๊ฒ ๋จ์ ์ ์์ต๋๋ค. ๊ทธ๋ค์ ๋น์ ๊ณผ ํจ๊ป ์์
ํ๋ ๋ฐ ๋ง์ ์๊ฐ์ ํ ์ ํ ์๋ ์์ต๋๋ค.
๊ฒฝํ์ด ํ๋ถํ ์ง๋๊ต์๋ ... |
Is there a phrase that means "too important" and "attracting too much attention"? | 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 ... | "๋๋ฌด ์ค์ํ๋ค"์ "๋๋ฌด ๋ง์ ๊ด์ฌ์ ๋๋ค"๋ฅผ ์๋ฏธํ๋ ๊ตฌ์ ์ด ์๋์? | "๊ณผ๋ํ๊ฒ ์ฐ์ธํ"์ด๋ผ๋ ์ฉ์ด๊ฐ ์์ต๋๋ค:
์ฝ๋ฆฐ์ค ์ฌ์ ์์:
>๊ณผ๋ํ๊ฒ ์ฐ์ธํ [ํ์ฉ์ฌ]
์ง๋์น๊ฒ ์ง๋ฐฐ์ ์ธ
์ฐ์ , ๋์์ธ ์ธก๋ฉด์ด ๊ฐ์ฅ ๋์ ๋๋ฉฐ ๋
ผ๋์ ์ฌ์ง๊ฐ ์์ง๋ง ์ฌ์ ํ ๊ณผ๋ํ๊ฒ ์ฐ์ธํ ๊ฒ์ผ๋ก ๋จ์ ์์ต๋๋ค. [ํ์์ค, ์ ๋ฐ์ด ํ์์ค (2010)]
๋ค์์ ์์์
๋๋ค:
> [์ด๋ ํ] ์ข
๊ต์ ๋๋ ๋ฏผ์กฑ ์ง๋จ์ด ๊ณผ๋ํ๊ฒ ์ฐ์ธํด์ง๋ ๊ฒ์ ๋ฐฉ์งํ๊ธฐ ์ํ ์กฐ์น๊ฐ ํ์ํฉ๋๋ค. ๊ทธ๋ ์ง ์์ผ๋ฉด ์ฐ๋ฆฌ๋ 20์ธ๊ธฐ ๋ง์ ๋ถ๋ถ์ ๋ถํํ ์ญ์ฌ๊ฐ ๋ฐ๋ณต๋๋ ๊ฒ์ ๋ณด๊ฒ ๋ ๊ฒ์
๋๋ค...
์ ์ฌํ ์๋ฏธ๋ฅผ ๊ฐ์ง ๋ค๋ฅธ ๊ฐ๋ฅํ ์ฉ์ด๋ก๋ "์๋์ ์ธ", "๋์ ๋๋" ๋ฐ "์ฐ์ธํ"์ด ... |
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 ... | 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... | ์ด ์ฌ๋์ 1-6 ๋ฐ๋ณต ๋ฒ์์์ ํ๋ จํ๋ ์ฌ๋ฆผํฝ ์ญ๋ ์ ์๋ค์ด ๊ทผ์ก ํฌ๊ธฐ๋ฅผ ๋๋ฆฌ์ง ์๊ณ ๋ ํ์ ์ฆ๊ฐ์ํฌ ์ ์๋ค๊ณ ์ฃผ์ฅํฉ๋๋ค.
์๋ฅผ ๋ค์ด, ํ๋ จ๋ ์ฌ๋ฆผํฝ ์ ์๋ค์ 2๋
๋์ ๊ทผ์ก๋์ด ๊ฑฐ์ ๋์ ๋์ง ์๊ฒ ์ฆ๊ฐํ๋ ๋์ ์๋นํ ํ ์ฆ๊ฐ๋ฅผ ๋ณด์์ต๋๋ค (Hakkinen ์ธ, 1988). ์ ๋ AST์ Max-OT ์์น์ ์ฌ์ฉํ ๋ ์ ์ฌํ ๊ฒฝํ์ ํ์ต๋๋ค. ์ ํ์ ๋ฏธ์น ๋ฏ์ด ์ฆ๊ฐํ์ง๋ง ํฌ๊ธฐ๋ ๊ฑฐ์ ๋์ง ์์์ต๋๋ค. ๋ถ๋ช
ํ ๋ฎ์ ๋ณผ๋ฅจ๊ณผ ๋ฎ์ ์ธํธ(1-6 ๋ฐ๋ณต, 3์ธํธ ์ดํ)์ ์ ํต์ ์ธ ํ ํ๋ จ์ ์ต์ ์ ์ ๊ทผ ๋ฐฉ์์ด ์๋๋๋ค. ํ ํ๋ จ์ ๋น๋(hypertrophy)๋ฅผ ์ ๋ฐํ... | ํ์คํ ๊ทผ์ก๋๊ณผ ํ ์ฌ์ด์๋ ์๊ด๊ด๊ณ๊ฐ ์์ง๋ง, ์ด์ผ๊ธฐ์ ์ ๋ถ๋ ์๋๋๋ค. ๊ทผ์ก๋๊ณผ ํ์ด ์์ ํ ์ผ์นํ์ง ์์ ์ ์๋ ๋ ๊ฐ์ง ์ด์ ๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค:
* ๊ทผ์ก ์ฌ์ ๋ฐ๋
* ๊ทผ์ก ํ์ฉ
๋ฐ๋:
๋น์ ์ ๊ทผ์ก์ ๋ค ๊ฐ์ง ๋ค๋ฅธ ์ ํ์ ์ฌ์ (๋๋ฆฐ ์์ถ ์ฌ์ ์ ์ธ ๊ฐ์ง ํํ์ ๋น ๋ฅธ ์์ถ ์ฌ์ )๋ก ๊ตฌ์ฑ๋์ด ์์ต๋๋ค. ์ด ์ฌ์ ๋ค์ ์ ์ฉ๋๋ ํ๊ณผ ํ๋ณต ์๊ฐ ๋ฉด์์ ์๋ก ๋ค๋ฅธ ํน์ฑ์ ๊ฐ์ง๊ณ ์์ต๋๋ค. ์๋ฅผ ๋ค์ด, ๋๋ฆฐ ์์ถ ์ฌ์ ๋ ๋น ๋ฅด๊ฒ ํ๋ณต๋์ง๋ง, ๋น ๋ฅธ ์์ถ ์ฌ์ ์ ๋นํด ๋ฌถ์๋น ๊ทผ์ก ์ฌ์ ์๊ฐ ์ ์ด ํ์ด ๋ํฉ๋๋ค.
๊ธ๋ฆฌ์ฝ๊ฒ ํํ์ ์ถ๊ฐ์ ์ธ ๋ฌผ์ ๊ฐ์ ์์ ์ค์ ๊ทผ์ก์ผ๋ก๋ ๊ทผ... |
What are the major concerns about planting trees to create carbon offsets? | 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... | ๋๋ฌด๋ฅผ ์ฌ์ด ํ์ ์์๋ฅผ ๋ง๋๋ ๊ฒ์ ๋ํ ์ฃผ์ ์ฐ๋ ค ์ฌํญ์ ๋ฌด์์ธ๊ฐ์? | ๋ค์์ ํ์ ์์๋ฅผ ์ํด ๋๋ฌด ์ฌ๊ธฐ ํ๋ก์ ํธ๋ฅผ ์ฌ์ฉํ๋ ๊ฒ์ ๋ํ ์ผ๋ฐ์ ์ธ ์ฐ๋ ค ์ฌํญ์
๋๋ค:
* ์ด ๊ณํ์ ๋จ๊ธฐ ๋ฐ ์ฅ๊ธฐ์ ์ผ๋ก ์ค์ ๋ก ์ ๊ธ์ ์ ์ธ ํจ๊ณผ๋ฅผ ๊ฐ์ง๊ณ ์์ต๋๋ค.
๋๋ฌด ์ฌ๊ธฐ ๊ณํ์ด ์ด์ฐํํ์๋ฅผ ํฌ์งํ๊ณ ์ ์ฅํ๋ ๋ฐ ์ผ๋ง๋ ํจ๊ณผ์ ์ธ์ง๋ ๋๋ฌด๊ฐ ์ฌ์ด์ง ํ์ ์ด๋ป๊ฒ ๋๋์ง์ ํฌ๊ฒ ์ข์ฐ๋ฉ๋๋ค. ๋๋ฌด๊ฐ ์๋ผ๊ณ ๊ฑด์ถ์ ์ฌ์ฉ๋ ๋ชฉ์ฌ๋ก ์ํ๋ ๋, ํฌ์ง๋ ์ด์ฐํํ์๋ ์ค๋ซ๋์ ์ ์ฅ๋ฉ๋๋ค(๋ชฉ์ฌ๊ฐ ๋ถํด๋๊ฑฐ๋ ํ์์ง ๋๊น์ง). ๊ทธ๋ฌ๋ ์ํ ํ ์ฌ์๋ฆผ์ด ์ด๋ฃจ์ด์ง์ง ์์ผ๋ฉด ์ด๋ ์ผํ์ฑ ํจ๊ณผ์ ๊ทธ์นฉ๋๋ค. ๋ํ ๋ชฉ์ฌ๊ฐ ํ์์ง๊ฑฐ๋(์๋์ง๋ก ์ฌ์ฉ๋๊ฑฐ๋ ์ฐ๋ถ๋ก ์ธํ ๊ฒฝ์ฐ), ๋๋ฌด๊ฐ ๋น ๋ฅด๊ฒ... |
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$? | 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... | 3์ฐจ์ ๋จ์ ๊ตฌ์ ํ๋ฉด์ ๊ท ์ผํ๊ฒ ๋ถํฌ๋ ์ ์ ์์ฑํ๋ ๋ฐฉ๋ฒ์ด ๊ถ๊ธํฉ๋๋ค. ๋ํ ์ด๋ฌํ ์ ๋ค์ ์์ฑํ ํ, ๊ทธ๊ฒ๋ค์ด ์ค์ ๋ก $x^2+y^2+z^2=1$์ ํ๋ฉด์์ ์ง์ ์ผ๋ก ๊ท ์ผํ์ง ์๊ฐํํ๊ณ ํ์ธํ๋ ๊ฐ์ฅ ์ข์ ๋ฐฉ๋ฒ์ ๋ฌด์์ธ๊ฐ์? | ํ์ค ๋ฐฉ๋ฒ์ ์ธ ๊ฐ์ ํ์ค ์ ๊ท๋ถํฌ๋ฅผ ์์ฑํ๊ณ ์ด๋ค๋ก๋ถํฐ ๋จ์ ๋ฒกํฐ๋ฅผ ๊ตฌ์ฑํ๋ ๊ฒ์
๋๋ค. ์ฆ, $X_i \sim N(0,1)$์ด๊ณ $\lambda^2 = X_1^2 + X_2^2 + X_3^2$์ผ ๋, $(X_1/\lambda, X_2/\lambda, X_3/\lambda)$๋ ๊ตฌ์์ ๊ท ์ผํ๊ฒ ๋ถํฌํฉ๋๋ค. ์ด ๋ฐฉ๋ฒ์ $d$ ์ฐจ์ ๊ตฌ์๋ ์ ์๋ํฉ๋๋ค. 3D์์๋ ๊ฑฐ๋ถ ์ํ๋ง์ ์ฌ์ฉํ ์ ์์ต๋๋ค: $(X_1, X_2, X_3)$์ ๊ธธ์ด๊ฐ 1 ์ดํ๊ฐ ๋ ๋๊น์ง ๊ท ์ผ ๋ถํฌ $[-1,1]$์์ $X_i$๋ฅผ ๋ฝ๊ณ , ์ดํ ์์ ์ธ๊ธํ ๋ฐฉ๋ฒ์ฒ๋ผ ๋ฒกํฐ๋ฅผ ๋จ์ ๊ธธ์ด๋ก ์ ๊ทํํฉ๋๋ค.... |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 13