머 애들이랑 놀아주는게 한가로울리가 없지만

그래도 마음 편하게 가족이랑 있으니 좋긴하네

'Programming > python(파이썬)' 카테고리의 다른 글

python 반복문 for in range()  (0) 2020.01.11
python print 와 while 문  (0) 2020.01.11
python split  (0) 2020.01.10
python 겅부  (0) 2020.01.09
python 관련 문서들  (0) 2020.01.09
Posted by 구차니
개소리 왈왈/컴퓨터2020. 1. 10. 23:29

벤치마크 보면 560Ti가 높은 것도 있고 650이 높은것도 있는데

걍.. 속 편하게 gpu-z 통해서 확인해보니..

음.. 650이 560ti 보다 Pixel Fillrate나 Texture Fillrate가 둘다 높으니

일단 게임성능 자체는 560Ti 보다 650이 나을 것으로 예상된다.

그나저나 픽셀 레이트는 왜 이렇게 차이가 나지?

 

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

UEFI / BIOS(legacy)  (0) 2020.02.29
HD7950 플루이드 모션 설정  (2) 2020.02.28
ADATA / 코잇 SSD 교환  (2) 2020.01.08
으헝 SSD 날림  (0) 2020.01.07
오랫만에(?) 볼륨 폭발  (0) 2020.01.07
Posted by 구차니

row 수는 pages에 영향을 받지만 실질적으로 무제한에 가까울듯 하고

column 수도 single page에 영향을 받아서 1600 이라고는 하지만 그것보다 적을수 있다고 하니

은근히 계산이 까다로울 듯.. 한 페이지가 얼마냐.. -_-

 

Table K.1. PostgreSQL Limitations

ItemUpper LimitComment

database size unlimited  
number of databases 4,294,950,911  
relations per database 1,431,650,303  
relation size 32 TB with the default BLCKSZ of 8192 bytes
rows per table limited by the number of tuples that can fit onto 4,294,967,295 pages  
columns per table 1600 further limited by tuple size fitting on a single page; see note below
field size 1 GB  
identifier length 63 bytes can be increased by recompiling PostgreSQL
indexes per table unlimited constrained by maximum relations per database
columns per index 32 can be increased by recompiling PostgreSQL
partition keys 32 can be increased by recompiling PostgreSQL

The maximum number of columns for a table is further reduced as the tuple being stored must fit in a single 8192-byte heap page. For example, excluding the tuple header, a tuple made up of 1600 int columns would consume 6400 bytes and could be stored in a heap page, but a tuple of 1600 bigint columns would consume 12800 bytes and would therefore not fit inside a heap page. Variable-length fields of types such as text, varchar, and char can have their values stored out of line in the table's TOAST table when the values are large enough to require it. Only an 18-byte pointer must remain inside the tuple in the table's heap. For shorter length variable-length fields, either a 4-byte or 1-byte field header is used and the value is stored inside the heap tuple.

Columns that have been dropped from the table also contribute to the maximum column limit. Moreover, although the dropped column values for newly created tuples are internally marked as null in the tuple's null bitmap, the null bitmap also occupies space.

[링크 : https://www.postgresql.org/docs/12/limits.html]

 

[링크 : https://link.springer.com/content/pdf/bbm%3A978-1-4302-0018-5%2F1.pdf]

[링크 : https://soapware.screenstepslive.com/.../22071-q-what-is-the-postgresql-database-top-capacity]

'프로그램 사용 > postgreSQL' 카테고리의 다른 글

postgres table의 물리적 용량 확인하기  (0) 2020.01.13
sql combination 생성하기  (0) 2020.01.13
pgmodeler  (0) 2020.01.05
스칼라 서브쿼리(scalar subquery)  (0) 2020.01.04
array_cat()  (0) 2019.12.30
Posted by 구차니

파싱을 위해 split 함수 혹은 tokenizer를 찾고 있는 중.

(regexp_split 같은 것도 있으려나?)

 

[링크 : https://wayhome25.github.io/python/2017/02/26/py-14-list/]

[링크 : https://wikidocs.net/13]

[링크 : https://www.w3schools.com/python/ref_string_split.asp]

[링크 : https://mainia.tistory.com/5624]

 

+

[링크 : https://stackoverflow.com/questions/13209288/python-split-string-based-on-regex]

'Programming > python(파이썬)' 카테고리의 다른 글

python print 와 while 문  (0) 2020.01.11
오랫만에 한가로움?  (0) 2020.01.11
python 겅부  (0) 2020.01.09
python 관련 문서들  (0) 2020.01.09
python exception  (0) 2020.01.02
Posted by 구차니

 

$ python3
Python 3.6.9 (default, Nov  7 2019, 10:44:02)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

5.4.5. 문자열 포맷팅
>>> age = 20
>>> name = 'Swaroop'
>>> print ("{0} was {1} years old".format(name, age))
Swaroop was 20 years old
>>> print ("{1} was {0} years old".format(name, age))
20 was Swaroop years old
>>> print ("{1:.3f} was {0} years old".format(name, age))
20.000 was Swaroop years old

5.4.7 순 문자열
>>> print(r"\a")
\a
>>> print("\a")

'Programming > python(파이썬)' 카테고리의 다른 글

오랫만에 한가로움?  (0) 2020.01.11
python split  (0) 2020.01.10
python 관련 문서들  (0) 2020.01.09
python exception  (0) 2020.01.02
python 컴파일하기 및 디컴파일?  (0) 2019.12.14
Posted by 구차니

이제 다시 한번 마스터 해봐야지..

node.js 해서 문법적으로 유사성을 찾으면 좀 쉬우려나?

 

[링크 : https://docs.python.org/3.8/download.html]

[링크 : http://byteofpython-korean.sourceforge.net/byte_of_python.pdf] 2.7 기준

'Programming > python(파이썬)' 카테고리의 다른 글

python split  (0) 2020.01.10
python 겅부  (0) 2020.01.09
python exception  (0) 2020.01.02
python 컴파일하기 및 디컴파일?  (0) 2019.12.14
python indent  (0) 2019.12.13
Posted by 구차니
Linux/Ubuntu2020. 1. 8. 19:24

아래 한줄 넣어주고 리부팅 하니 뚜껑 닫아도 절전모드로 들어가지 않는다.

pm-utils는 cpufreq 확장 설치하면서 끌려온거 같은데 안되면 해당 패키지 설치해야 한다고 한다.

 

$ sudo vi /etc/systemd/logind.conf

#HandleLidSwitch=suspend
HandleLidSwitch=ignore

 

[링크 : http://tipsonubuntu.com/2018/04/28/change-lid-close-action-ubuntu-18-04-lts/]

Posted by 구차니

출근하는 길에 용산에 들렀는데 가장 끝쪽에 있어서 좀 헤맸고

가서 어떤 장비에 물려서 확인하더니 바로 새걸로 교환하고 끝

일단은 어영부영 노트북에 달고 셋팅은 했는데 또 써봐야 아는거라.. 일단은 기다려 보는수 밖에

 

ECC 기능과 Wear-Leveling 기술이 도입된 표준 2.5" SSD/SATA 규격과 호환가능 이라..

내부적으로 ECC를 지원하도록 칩 하나 더 쓰면 되니까 머.. 그렇다고 해서 셀이 나가는걸 막을순 없을테고

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

HD7950 플루이드 모션 설정  (2) 2020.02.28
집에 굴러다니는 560Ti vs 650  (2) 2020.01.10
으헝 SSD 날림  (0) 2020.01.07
오랫만에(?) 볼륨 폭발  (0) 2020.01.07
리눅스와 SSD가 문제인가 SSD가 문제인가..  (2) 2020.01.07
Posted by 구차니

ADATA SSD Tools box가 USB로 붙은 녀석은 인식을 못해서

로컬에 바로 붙여서 돌리다가.. Firmware 문제일까? 하고 업데이트 하는데

웬 꽃게?

 

완료되었다는데 드라이브 어디갔니..

 

헐.. ADATA SU650 에서 뜬금없이 REALTEK_RL6468???!?

헐.. 망했어 ㅠㅠ 내일 AS 센터 가야지 머 ㅠㅠ

 

 

coit 센터 전화해보니 수요일은 9시까지 한다고(점심시간 12~1시)

Posted by 구차니

노트북의 SSD를 애지중지(?)해가며 썼는데

얼마만인지 모르겠지만 또 rootfs 깨진것으로 보인다.

적당히 심할때(?)는 시스템 종료할 수 없는 정도(sudo 명령 못 찾아 init 명령 못찾아 정도로 맛이 감)

아주 심할때는 COMRESET failed만 뜨면서 아무것도 되지 않는다.

 

배드섹터라고 의심이 되긴 한데..

이 노트북에다가 다른 SSD로 작업해서 이렇게 된 적이 있었나? 싶기도 하고 기억이 잘 안난다.

처음 살때 받은 킹스톤 128GB도 이런 증상이 있었던가..

아니면 쿠버네티스 교육 받으러 간다고 256GB 바꾸고 나서 부터 그런건가..

 

아무튼 fsck 돌려보고

그래도 안되면 걍 포맷하고 adata SSD ToolBox에서 점검 돌려보고

그래도 안되면 교환요청해야지 머 ㅠㅠ

 

저 섹터면 앞이냐 뒤냐...

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

ADATA / 코잇 SSD 교환  (2) 2020.01.08
으헝 SSD 날림  (0) 2020.01.07
리눅스와 SSD가 문제인가 SSD가 문제인가..  (2) 2020.01.07
2760p wacom 화면 멀티터치 살리기  (0) 2019.12.28
TC1100 살릴까?  (0) 2019.12.28
Posted by 구차니