굳이 로컬스토어를 만드는 것보다 어차피 해당 컴포넌트에서만 사용할 상태라면 useState를 사용해도 무방한것 아닌지 궁금합니다. 영상을 쭉 봤는데 실제로 누군가 질문을 해주셨는데 못보시고서 답변을 안하신것 같아서요. useState를 사용할 경우, 추후 상태 변경을 할 때 불변성을 유지해야하는 것, mobx의 LocalStore를 이용할 경우 불변성을 고려하지 않아도 된다는 것이 예상이 되긴하는데 아닌가요?
[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part1: C# 기초 프로그래밍 입문
강의는 잘 보고있습니다 ㅜㅜ 이걸 여기다 물어봐도 되는진 모르겠는데.. 요 몇일새 비주얼 스튜디오를 종료하면 ScriptedSandbox64 라고 버퍼 오버런? 에러가 뜨는데요. 이게 뜰때도 있고 안뜰때도 있어요 느낌상 비주얼 스튜디오로 장기간 작업하다보면 자주 뜨는 기분인데. 무슨 에러인지 아무리 찾아봐도 정확히 관련된 글을 찾아보기가 힘드네요.. 얼추 알아본바로는 메모리가 딸려서 그렇다는 말도 있고 몇년째 이어져오는 비주얼 스튜디오의 버그중 하나라는 말도있고, 악성코드가 감염되서 그렇다는 말도 있는데. 혹시 아시는바가 있으신지요 ㅠㅠ
어제 질문이 포괄적이라 생각해서 삭제하고 다시 올렸습니다. 하나의 workspace에 여러개의 프로젝트를 저장했습니다. 아래와같이 프로젝트를 생성한 후 설정까지 완료했습니다. 그리고 같은 workspace에 있는 프로젝트에 pom.xml에 dependecy를 추가했습니다. 이후 메이븐을 받은 후 메이븐을 살펴보는데 아래와같이 jar파일이 안받아지고 폴더가 들어가있는 겁니다.. 혹시 몰라서 workspace를 다른 폴더에 만들고 위와같은 방법으로 만드니 제대로 들어갔습니다... 왜 폴더가 받아지는지 궁금합니다.. 어제 두리뭉실하게 질문해서 죄송합니다...
∙ Session token prefix: bc407630ca ∙ In the legacy mode, all cases will run serially! ✘ BackendAPIError: 400 Bad Request Missing or invalid API parameters. (lang is missing or empty!)
[리뉴얼] 파이썬입문과 크롤링기초 부트캠프 [파이썬, 웹, 데이터 이해 기본까지] (업데이트)
데이터를 추출해서 print 할때 여러값이 아래로 쭉 나오는데, 예를 들면 아래와 같이 나옵니다. 저기서 2번째라인 기업정보만 추출하고 싶은데요. (html을 봤을 때 나열된 클래스가 동일하게 작성이 되어 있다보니 아무리 업체정보만 뽑으려고 해도 안됩니다 ㅠㅠ 혹시 저렇게 추출하고 난 후에 2번째 추출된 정보만 별도로 다시 추출하는 방법이 있을까요? 농.임산물 (주)피에스케이인터내셔널 오렌지 ORANGE SUN PACIFIC 2020-04-06 미국 미국
네 active했고요. 여기저기 검색하다가 anaconda/script/activete base로 하니깐 장고가 설치되더라고요 (venv)가 아니고 (base)로 표시됨 그래서 설치를 했습니다. 기본페이지(?)도 표시되고요. 그래서 블로그강의를 보면서 진행하다가 import가 안되네요. 장고를 인식을 또 못하는것 같네요. 파일 -> 세팅 -> 패키지설치에 장고 설치 누르니깐 에러가 나오네요.
안녕하세요. 고객 테이블을 상속관계를 이용하여 아래와 같이 설계를 하였습니다.(개인고객, 법인고객) @Entity @Getter @Setter @Inheritance ( strategy = InheritanceType. SINGLE_TABLE ) @DiscriminatorColumn ( name = "CUSTOMER_TYPE" ) public abstract class Customer extends BaseEntity { @Id @GeneratedValue @Column ( name = "CUSTOMER_ID" ) private Long id ; private String name ; @Embedded private Address address ; private int lineCount ; @Column ( name = "CUSTOMER_TYPE" , insertable = false, updatable = false ) private String customerType ; } @Entity @Getter @Setter @DiscriminatorValue ( "COMPANY" ) public class CompanyCustomer extends Customer{ private String vatCode ; private String owner ; private String companyPhone ; } @Entity @Getter @Setter @DiscriminatorValue ( "PERSON" ) public class PersonalCustomer extends Customer { private String jumin ; private String handPhone ; } 그리고 고객을 위한 DTO도 생성을 했습니다. @Data public class CustomerDto { @QueryProjection public CustomerDto (Long id , String name , int lineCount , Address address , String customerType , String jumin , String handPhone , String vatCode , String owner , String companyPhone) { this . id = id ; this . name = name ; this . lineCount = lineCount ; this . address = address ; this . customerType = customerType ; this . jumin = jumin ; this . handPhone = handPhone ; this . vatCode = vatCode ; this . owner = owner ; this . companyPhone = companyPhone ; } private Long id ; private String name ; private int lineCount ; private Address address ; private String customerType ; private String jumin ; private String handPhone ; private String vatCode ; private String owner ; private String companyPhone ; } 위 상태에서 querydsl를 이용해서 DTO에 Data를 넣기 위해서는 querydsl을 어떻게 생성해야 할꺄요? 실제로 sql query는 select customer0_.customer_id as customer2_2_, customer0_.crt_dt as crt_dt3_2_, customer0_.updt_dt as updt_dt4_2_, customer0_.city as city5_2_, customer0_.street as street6_2_, customer0_.zipcode as zipcode7_2_, customer0_.customer_type as customer1_2_, customer0_.line_count as line_cou8_2_, customer0_.name as name9_2_, customer0_.company_phone as company10_2_, customer0_.owner as owner11_2_, customer0_.vat_code as vat_cod12_2_, customer0_.hand_phone as hand_ph13_2_, customer0_.jumin as jumin14_2_ from customer customer0_ 위와 같이 발생하는 방법으로 알고 싶습니다. 감사합니다.
model.add(tf.keras.layers.Dense(1, input_shape=(3,))) 이부분에서 아웃풋은 완주기록 하나만 필요하기 때문에 1을 넣는다고하셨는데요 아웃풋값은 "완주기록"이라 정의하는 부분은 소스중 어디에 있는건가요? 다시말해 무었을 예측하는지에 대한 정의를 어디서 한건지 궁금합니다. 감사합니다.
안녕하세요. 장고설치가 안되서요. python이라고 입력하니깐 아래처럼 나오네요 Python 3.7.6 (default, Jan 8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32 Warning: This Python interpreter is in a conda environment, but the environment has not been activated. Libraries may fail to load. To activate this environment please see https://conda.io/activation