6월, 2022의 게시물 표시

[3d] z fighting

스티칭(stitching) 또는 플레인파이팅(planefighting)이라고도 하는 Z-파이팅은 2개 이상의 프리미티브가 카메라와 매우 유사한 거리를 가질 때 발생하는 3D 렌더링 현상입니다.

[flutter]No MediaQuery widget ancestor found

 [flutter]No MediaQuery widget ancestor found return scaffold로 해놨었는데 scaffold를 materialapp로 감싸주니 해결됨

early return 패턴

 대충 설명: if ~~ else if ~~elseif ~~else 같이 분기처리 없이 if return if return 으로 하는 방식. 상황에 따라 가독성이 좋아질 수 있다. 순서를 고려해야.. 근데 잘 안쓴다고 한다(?) 읽은 링크 https://jheloper.github.io/2019/06/write-early-return-code/

[django] maximum recursion depth exceeded while calling a Python object

 url.py에서 다른 urls.py include로 연결하는데 경로를 자기 경로로 해서 무한반복하고 있었다.