묻고 답해요
169만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결파이썬 사용자를 위한 웹개발 입문 A to Z Django + Bootstrap
Post 오류창
A server error occurred. Please contact the administrator. def __str__(self): return '{} :: {}'.format(self, self.title, self.author)이 줄들을 입력하고 cmder 열어서 python manage.py runserver 한 뒤,창을 열고 Post 를 열어보면흰 바탕화면에 A server error occurred. Please contact the administrator. 달랑 이 문구만 나옵니다....그리고 cmder을 확인해보면C:\github\django_my_website (master -> origin) (venv) λ python manage.py runserver Watching for file changes with StatReloader Performing system checks... System check identified no issues (0 silenced). March 19, 2020 - 15:01:28 Django version 2.2, using settings 'my_site_prj.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CTRL-BREAK. [19/Mar/2020 15:01:30] "GET /admin/blog/ HTTP/1.1" 200 2410 Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\db\models\options.py", line 565, in get_field return self.fields_map[field_name] KeyError: '__str__' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\contrib\admin\utils.py", line 262, in lookup_field f = _get_non_gfk_field(opts, name) File "C:\github\django_my_website\venv\lib\site-packages\django\contrib\admin\utils.py", line 293, in _get_non_gfk_field field = opts.get_field(name) File "C:\github\django_my_website\venv\lib\site-packages\django\db\models\options.py", line 567, in get_field raise FieldDoesNotExist("%s has no field named '%s'" % (self.object_name, field_name)) django.core.exceptions.FieldDoesNotExist: Post has no field named '__str__' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner response = get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\base.py", line 145, in _get_response response = self.process_exception_by_middleware(e, request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\base.py", line 143, in _get_response response = response.render() File "C:\github\django_my_website\venv\lib\site-packages\django\template\response.py", line 106, in render self.content = self.rendered_content File "C:\github\django_my_website\venv\lib\site-packages\django\template\response.py", line 83, in rendered_content content = template.render(context, self._request) File "C:\github\django_my_website\venv\lib\site-packages\django\template\backends\django.py", line 61, in render return self.template.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 171, in render return self._render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 163, in _render return self.nodelist.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 937, in render bit = node.render_annotated(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 904, in render_annotated return self.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\loader_tags.py", line 150, in render return compiled_parent._render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 163, in _render return self.nodelist.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 937, in render bit = node.render_annotated(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 904, in render_annotated return self.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\loader_tags.py", line 150, in render return compiled_parent._render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 163, in _render return self.nodelist.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 937, in render bit = node.render_annotated(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 904, in render_annotated return self.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\loader_tags.py", line 62, in render result = block.nodelist.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 937, in render bit = node.render_annotated(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 904, in render_annotated return self.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\loader_tags.py", line 62, in render result = block.nodelist.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 937, in render bit = node.render_annotated(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 904, in render_annotated return self.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\contrib\admin\templatetags\base.py", line 33, in render return super().render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\library.py", line 214, in render _dict = self.func(*resolved_args, **resolved_kwargs) File "C:\github\django_my_website\venv\lib\site-packages\django\contrib\admin\templatetags\admin_list.py", line 339, in result_list 'results': list(results(cl)), File "C:\github\django_my_website\venv\lib\site-packages\django\contrib\admin\templatetags\admin_list.py", line 315, in results yield ResultList(None, items_for_result(cl, res, None)) File "C:\github\django_my_website\venv\lib\site-packages\django\contrib\admin\templatetags\admin_list.py", line 306, in __init__ super().__init__(*items) File "C:\github\django_my_website\venv\lib\site-packages\django\contrib\admin\templatetags\admin_list.py", line 229, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) File "C:\github\django_my_website\venv\lib\site-packages\django\contrib\admin\utils.py", line 275, in lookup_field value = attr() File "C:\github\django_my_website\blog\models.py", line 14, in __str__ return '{} :: {}'.format(self, self.title, self.author) File "C:\github\django_my_website\blog\models.py", line 14, in __str__ return '{} :: {}'.format(self, self.title, self.author) File "C:\github\django_my_website\blog\models.py", line 14, in __str__ return '{} :: {}'.format(self, self.title, self.author) [Previous line repeated 230 more times] RecursionError: maximum recursion depth exceeded During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner response = get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\utils\deprecation.py", line 94, in __call__ response = response or self.get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 36, in inner response = response_for_exception(request, exc) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 90, in response_for_exception response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 125, in handle_uncaught_exception return debug.technical_500_response(request, *exc_info) File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 94, in technical_500_response html = reporter.get_traceback_html() File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 332, in get_traceback_html t = DEBUG_ENGINE.from_string(fh.read()) UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner response = get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\utils\deprecation.py", line 94, in __call__ response = response or self.get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 36, in inner response = response_for_exception(request, exc) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 90, in response_for_exception response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 125, in handle_uncaught_exception return debug.technical_500_response(request, *exc_info) File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 94, in technical_500_response html = reporter.get_traceback_html() File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 332, in get_traceback_html t = DEBUG_ENGINE.from_string(fh.read()) UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner response = get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\utils\deprecation.py", line 94, in __call__ response = response or self.get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 36, in inner response = response_for_exception(request, exc) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 90, in response_for_exception response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 125, in handle_uncaught_exception return debug.technical_500_response(request, *exc_info) File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 94, in technical_500_response html = reporter.get_traceback_html() File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 332, in get_traceback_html t = DEBUG_ENGINE.from_string(fh.read()) UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner response = get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\utils\deprecation.py", line 94, in __call__ response = response or self.get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 36, in inner response = response_for_exception(request, exc) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 90, in response_for_exception response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 125, in handle_uncaught_exception return debug.technical_500_response(request, *exc_info) File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 94, in technical_500_response html = reporter.get_traceback_html() File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 332, in get_traceback_html t = DEBUG_ENGINE.from_string(fh.read()) UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner response = get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\utils\deprecation.py", line 94, in __call__ response = response or self.get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 36, in inner response = response_for_exception(request, exc) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 90, in response_for_exception response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 125, in handle_uncaught_exception return debug.technical_500_response(request, *exc_info) File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 94, in technical_500_response html = reporter.get_traceback_html() File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 332, in get_traceback_html t = DEBUG_ENGINE.from_string(fh.read()) UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner response = get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\utils\deprecation.py", line 94, in __call__ response = response or self.get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 36, in inner response = response_for_exception(request, exc) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 90, in response_for_exception response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 125, in handle_uncaught_exception return debug.technical_500_response(request, *exc_info) File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 94, in technical_500_response html = reporter.get_traceback_html() File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 332, in get_traceback_html t = DEBUG_ENGINE.from_string(fh.read()) UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner response = get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\utils\deprecation.py", line 94, in __call__ response = response or self.get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 36, in inner response = response_for_exception(request, exc) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 90, in response_for_exception response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 125, in handle_uncaught_exception return debug.technical_500_response(request, *exc_info) File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 94, in technical_500_response html = reporter.get_traceback_html() File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 332, in get_traceback_html t = DEBUG_ENGINE.from_string(fh.read()) UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Lee Ji Hyun\anaconda3\lib\wsgiref\handlers.py", line 137, in run self.result = application(self.environ, self.start_response) File "C:\github\django_my_website\venv\lib\site-packages\django\contrib\staticfiles\handlers.py", line 65, in __call__ return self.application(environ, start_response) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\wsgi.py", line 141, in __call__ response = self.get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\base.py", line 75, in get_response response = self._middleware_chain(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 36, in inner response = response_for_exception(request, exc) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 90, in response_for_exception response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 125, in handle_uncaught_exception return debug.technical_500_response(request, *exc_info) File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 94, in technical_500_response html = reporter.get_traceback_html() File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 332, in get_traceback_html t = DEBUG_ENGINE.from_string(fh.read()) UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence [19/Mar/2020 15:01:33] "GET /admin/blog/post/ HTTP/1.1" 500 59너무 길어서 멘붕이 되는데 무슨 소린지 모르겠어서 끝 줄 오류부분 UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence 이것만 검색해서 찾아봤더니debug.py 에서 비어있던 open method에서 encoding = "utf-8" 도 기입했고 span 은 고칠게 따로 없었고 그랬습니다..뭐가 잘못된 것일까요,,,ㅕ
-
미해결DANO 영양교육 프로그램
그럼 아침을 꼭 먹을필요는 없나요?
입맛이 없거나 먹고나서 속이 별로라면 굳이 아침을 챙기지않아도 괜찮을까요? 강의 내용중에 체질에 따라서 아침이 필수는 아니라고한건지, 아침에 탄수화물이 필수가 아니라고한건지 헷깔려요 ㅠㅠ!
-
미해결파이썬 무료 강의 (기본편) - 6시간 뒤면 나도 개발자
configured debug type python is not supported
run 하면 이런에러가 뜨는데 어떻게해야하나요?
-
미해결워드프레스 기초부터 오픈마켓 구축하기
결제하기가 진행이 안됩니다.
청구상세내용에 내용 입력하고 주문확정을 하니까 죄송합니다. 고객님의 주에 가능한 지불 방법이 없는 것 같습니다. 도움이나 다른 조정이 필요하시면 저희에게 연락해주세요. 위와 같은 내용으로 다음으로 진행이 안돼는데요..우커머스에서 결제하려면 다른 무언가가 더 필요한거요?
-
미해결React로 NodeBird SNS 만들기
onsubmit, signup 페이지
onsubmit이 작동 안하길래 찾아보니 onFinish로 바뀐거 같습니다.
-
미해결오라클 데이터베이스 11g 프로그래밍 기초 (상)
oracle 11g 다운로드
다운로드가 너무 오래걸리는데 이게 정상인가요??
-
미해결홍정모의 따라하며 배우는 C언어
왜 함수에서 넣어야하는 변수가 2개인데 이중포인터가 아닌 그냥 포인터인지 모르겠습니다.
왜 함수에서 넣어야하는 변수가 2개인데 이중포인터가 아닌 그냥 포인터인지 모르겠습니다. int sum2d_3(int* ar, int row, int col) { int tot = 0; for (int r = 0; r < row; r++) for (int c = 0; c < col; c++) tot += *(ar + c + col * r); return tot; } 이 함수를 보면 row와 col 두개를 변수로 가지고있는데 이러면 2차원 배열이랑 비슷한 개념이므로 이중포인터로 해야하는거 아닌가요? 왜 단일 포인터로 하는지 모르겠습니다..
-
미해결홍정모의 따라하며 배우는 C언어
포인터의 기본주소가 이해가 되지 않습니다.
10-14강의해서 선생님꼐서 2차원에서 arr의 기본주소는 &arr[0][0]이 아닌 &arr[0]이라고 하셨는데 이번 강의에서는 int data[ROWS][COLS] = { {1,2,3,4}, {5,6,7,8}, {9,0,1,2} }; printf("%d\n", data[1][2]); int* ptr = &data[0][0]; 여기서 *ptr을 &data[0]이 아닌 왜 &data[0][0]이어야 하는지 모르겠습니다. ㅠ 둘다 주소를 출력했을 때 주소는 같은 주소인데 왜 다른지 이해가 되지 않습니다.
-
미해결웹 게임을 만들며 배우는 자바스크립트
별찍기 문의
별찍기 강의중 반목문 for 과 관련되어 질문 드립니다. for ( var star = 1; star <= 5; star++1){ console.log('*') } 반복문 끝을 star++1 로 변경해도 괜찮나요? star++1 과 star+=1 은 무슨 차이인가요? 반복문 끝을 지정하는게 아직 개념이 안잡혀 혼란스럽습니다ㅠㅠ
-
미해결실전 JSP (renew ver.) - 신입 프로그래머를 위한 강좌
예제랑 똑같이 입력을 했는데 실행이 이상하게 되네요.
출력은 Served at: /ServletMappingTest<p>Hello Servlet~</p> 이렇게 나와요.
-
미해결홍정모의 따라하며 배우는 C언어
반복문 6.1 강의 질문
6:08 쯤에 while (status==1)로 하는 반복문 질문입니다. status라는 변수가 scanf("%d",&num)이 되면서 정수형 변수인 num를 받아주는거까지는 이해가 가지만 왜 while(status==1)에서 숫자 '1'이 써진건지 이해가 가지않습니다. 혹시 True,False를 받아주는건가 싶어서 디버그를 할 때 q를 하면 종료가 되지만 다른 알파벳을 넣어도 종료가 되는건가 싶어서 다른 알파벳을 입력하니 반복문이 종료가 되더라고요. 만약 True, False가 맞는거라면 == 이 기호는 동등할 떄 쓰는걸로 알고있는데 status변수에 1을 입력해도 종료가 되지않는건 어떤 이유인지 궁금합니다. #include<stdio.h> int main() { int num, sum = 0; int status = 0; printf("Enter an interger (q to quit) : "); status = scanf("%d", &num); while (status == 1) { sum = sum + num; printf("Enter next integer (q to quit) : "); status = scanf("%d", &num); } printf("Sum=%d\n", sum); return 0; }
-
해결됨우리를 위한 프로그래밍 : 파이썬 중급 (Inflearn Original)
가상환경에서 패키지 설치 관련 질문입니다.
가상환경 처음 설정하고 pendulum이나 pytest를 설치하는데 자꾸 (p_study) D:\p_study\Scripts>pip install pendulum Traceback (most recent call last): File "D:\Python\lib\runpy.py", line 193, in _run_module_as_main return _run_code(code, main_globals, None, File "D:\Python\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "D:\p_study\Scripts\pip.exe\__main__.py", line 5, in <module> ModuleNotFoundError: No module named 'pip' (p_study) D:\p_study\Scripts>pip list Traceback (most recent call last): File "D:\Python\lib\runpy.py", line 193, in _run_module_as_main return _run_code(code, main_globals, None, File "D:\Python\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "D:\p_study\Scripts\pip.exe\__main__.py", line 5, in <module> ModuleNotFoundError: No module named 'pip' 같이 에러가 뜹니다. 혹시 어떻게 해결해야 할까요??
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
보일러 플레이트 강의 ppt 공유 가능한지 질문드립니다.
이전에 제가 오해할 수 있게 말씀드린것 같네요. ㅜㅜ 제가 요청드리고 싶은건 유튜브에 있는 보일러 플레이트 강의 ppt인데 가능할까요?
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
React Hook "useState" is called in function 에러가 뜹니다ㅠㅠ
여기 선언부 4줄 모두에서 아래 에러가 계속 뜹니다 ㅠ React Hook "useState" is called in function "videoUploadPage" which is neither a React function component or a custom React Hook function react-hooks/rules-of-hooks 구글링해서 찾아보는데 좀 어렵네요 ㅠㅠ
-
미해결Node.js - Express
host:3000에 들어가지지 않습니다 ㅠㅠ
(사진)
-
미해결자바 스프링 프레임워크(renew ver.) - 신입 프로그래머를 위한 강좌
동영상 안나옵니다.(냉무)
.
-
미해결대세는 쿠버네티스 (초급~중급편)
ingress 실습 에러 발생
ingress 실습 2-4) ingress 부분의 마지막 curl명령에 에러가 있습니다. curl 192.168.0.30:30431/ curl 192.168.0.30:30431/order curl 192.168.0.30:30431/customernginx 서비스를 확인해 보니, 아래와 같다."spec": { "ports": [ { "name": "http", "protocol": "TCP", "port": 80, "targetPort": 80, "nodePort": 30168 }, { "name": "https", "protocol": "TCP", "port": 443, "targetPort": 443, "nodePort": 31423 } ],이 명령에 변화가 있는 것인가요? kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.27.1/deploy/static/provider/baremetal/service-nodeport.yaml알려주세요.
-
미해결자바스크립트 비기너: 튼튼한 기본 만들기
논리연산자에서 값이 출력되는 이유가 궁금합니다.
or연산과 and연산에서 true / false를 출력할거같은 느낌인데 왜 변수의 값이 출력되도록 설계가 되어 있는지 궁금합니다.
-
미해결함수형 프로그래밍과 JavaScript ES6+ 응용편
FP의 단점(?)을 극복하기 위한 질문 드립니다.
FP를 보면 결국 기존의 데이터를 수정하지 않고 새로운 카피본을 만드는 것인데, 메모리의 낭비로 이어질 수 있어서 작은 데이터에서는 문제는 없으나 대용량 데이터에서는 문제가 될 것 같습니다. 강의를 들으면서 이 문제의 해결 방안에 대한 기대를했었는데 별다른 언급이 없었네요. 이제 실무에 적용하려고 검토 및 준비를 하다보니 대용량 데이터 핸들링에서 이슈가 분명히 나올것 같아서관련자료를 찾아보니 이러한 문제점을 해결하기 위해서 persistent data structure를 사용하는것 같은데, 알려주신 FP와는 어떻게 접목시켜야 하는지요...? (결국 immutable.js 와 같은 오픈소스를 사용해야 하는지요...) 그동안 강의를 들으며 공부한 내용을 실제로 활용하기 위해서(올려주신 3개의 강의 모두 듣고 현재도 계속 반복중입니다) persistent data structure 와 FP에 대한 활용, 또는 persistent data structure가 아니더라도 FP에서 대용량 데이터를 다루는 방법에 대한 강의 또는 설명이 반드시 있어야 될 것 같습니다. 이야기가 약간 벗어난것 같은데...질문의 요점은 - FP로 대용량 데이터 핸들링시에 어떻게 처리를 해야하는것이 효율적인지에 대한 질문입니다. 끝으로 좋은 강의 감사합니다
-
미해결프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)
format 구문 오류
계속 다음과 같이 오류가 뜹니다.