전체 글
-
챗GPT(Chat GPT)를 이용한 SQL쿼리 작성!AI&ML 2023. 2. 1. 06:36
지난 시간에 챗GPT(Chat GPT)를 이용해서 블로그를 만들어 보았습니다. 블로그는 컨텐츠가 생명이라 글을 잘 작성하는게 어려운데 이런것들도 챗GPT(Chat GPT)가 우리의 비서처럼 잘 어시스트해 주었습니다. 불과 몇시간에 10개정도 컨텐츠를 뚝딱하고 만들었죠. 아직 못보신분은 아래 링크로 가보세요. https://jahvo.tistory.com/entry/%EC%B1%97GPTChat-GPT%EB%A5%BC-%EC%9D%B4%EC%9A%A9%ED%95%9C-%EB%B8%94%EB%A1%9C%EA%B7%B8-%EB%A7%8C%EB%93%A4%EA%B8%B0 챗GPT(Chat GPT)를 이용한 블로그 만들기 안녕하세요. 오늘은 장안에 화제 챗GPT(Chat GPT)를 이용하여 단 몇일만에 블로그를 ..
-
파이썬 Class,self,Class추가Data 2023. 1. 30. 14:06
파이썬에서 클래스는 객체(특정 데이터 구조)를 만들고, 상태(구성원 변수 또는 속성)에 대한 초기 값을 제공하며, 동작(구성원 함수 또는 메서드)을 구현하는 구조를 만듭니다. 아래는 간단한 예제입니다. class Dog: def __init__(self, name, breed): self.name = name self.breed = breed def bark(self): print("name:"+self.name) print("name:"+self.breed) __init__는 OOP 프로그래밍에서 생성자와 유사합니다. 객체를 생성하면서, 파라미터값으로 class scop 에서 사용할수 있는 변수들을 선언할수 있다. self 라는 것은 클래스 자신을 의미한다고 보면됩니다.. C#같은 프로그래밍에서 thi..
-
TypeError: req.session.regenerate is not a function using PassportReact 2023. 1. 29. 19:20
Passport는 React 응용 프로그램에서 사용할 수 있는 Node.js용으로 널리 사용되는 인증 미들웨어입니다. OAuth 비롯한 여러 인증 전략을 지원합니다. 사용자 인증 및 API 보안에 사용할 수 있습니다. React 응용 프로그램에 Passport를 통합하려면 Node.js 서버에서 Passport 미들웨어를 설정하고 인증 전략을 구성한 다음 React 구성 요소에서 인증 및 권한 부여 흐름을 처리해야 합니다. 아래는 구글 이메일을 통한 인증을 하는 방법입니다. Google Developer Console에서 새 프로젝트를 설정하고 Google Sign-In API를 구성합니다. Node.js 서버에 passport-google-oauth20 라이브러리를 설치합니다. npm install p..
-
챗GPT(Chat GPT)를 이용한 블로그 만들기AI&ML 2023. 1. 29. 10:34
안녕하세요. 오늘은 장안에 화제 챗GPT(Chat GPT)를 이용하여 단 몇일만에 블로그를 만드는 엄청난? 작업을 해보기로 하겠습니다. 아이디어는 챗GPT(Chat GPT)로 무엇을 해볼수 있을까? 간단한 검색으로 활용을 해볼까 하다가 좀더 Time-consuming 한 작업이고 예전부터 해보고 싶은 영문 블로그를 만들어 보기로 했습니다. 챗GPT(Chat GPT)가 영문에 좀더 최적화 되어 있다는 점도 있었고, 챗GPT(Chat GPT)가 2021년도 까지 트렌드를 반영한 모델이기에 아주 최신 컨텐츠는 제외 하였습니다. 컨텐츠 주제는 영문으로 우리나라를 알려보고 싶어서 우리나라의 먹을것과 관광지를 소개하는 컨셉으로 잡았구요. 그래서, 블로그 이름을 짓는 것부터 챗GPT(Chat GPT)에게 아이디어를 ..
-
You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0) 오류React 2023. 1. 28. 16:14
오랜만에 리액트 프로젝트폴더를 생성하려고 하니 이런 에러메시지가 발생하면서, 템플릿이 만들어지지 않는다. You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0) 주저리 주저리..... 급 뇌정지...왜그러지...왜그러.....지... 인생은 항상 예상했던데로 흘러가지 않는다. 구글링을 해보니 이미 나의 선배님들이 솔루션들을 적어놓으셨다. npm uninstall -g create-react-app npm add create-react-app 그리고 새로 만든 폴더로 간다음, 아래 명령을 실행 시킨다. npx create-react-app . We suggest that you begin by typing: c..
-
데이터브릭스(databricks)에 쓰이는 매직 명령어(magic command)Data 2023. 1. 27. 06:52
데이터브릭에서 매직 명령어(magic command)는 다른 언어로 코드를 실행하거나 특정 작업을 실행하는 데 사용된다. 매직 명령어(magic command)의 구문은 %[command](예: %python 또는 %sql)이다. Datbricks의 일반적인 매직 명령어(magic command)는 다음과 같다: %sh: 셸 명령을 실행하는 데 사용됨 %python: Python 코드를 실행하는 데 사용됨 %sql: SQL 쿼리를 실행하는 데 사용됨 %fs: Datbricks 파일 시스템과 관련된 명령을 실행하는 데 사용 %sva, %r: 해당 언어로 코드를 실행하는 데 사용 %run: 노트북 또는 스크립트를 실행하는 데 사용 %md: 마크다운 셀을 만드는 데 사용 %run 명령을 사용하여 사용자 지정 ..
-
Delta는 왜 빅 데이터 처리 분야에서 점점 더 인기를 끌고 있는가?Azure 2023. 1. 26. 22:09
데이터브릭스에서 Delta 는 무엇인가? Databricks의 Delta는 분산 컴퓨팅 환경에서 대량의 데이터를 효율적으로 저장하고 처리할 수 있는 구성 요소를 말한다. ACID 트랜잭션, 데이터 버전 관리, 최적화된 데이터 관리 등의 기능을 포함하고 있어 데이터브릭스에 데이터 레이크 및 데이터 파이프라인을 구축하는 데 강력한 도구이다. 델타 테이블은 클라우드 스토리지에 저장되며 일반 RDB의 테이블처럼 읽고 쓸 수 있다. 또한 데이터의 효율적인 증분 처리를 가능하게 하여 스트리밍 데이터 및 데이터 레이크와 같은 시나리오에 이상적이다. 왜 델타(delta)는 빅 데이터 처리 분야에서 점점 더 인기를 끌고 있는가? 성능: 델타는 빅데이터 처리 작업의 성능을 크게 향상시킬 수 있는 여러 최적화를 제공한다. ..
-
데이터브릭스 Unity Catalog 란?Azure 2023. 1. 26. 21:05
Unity Catalog는 데이터 Lakehouse의 모든 데이터 및 자산에 대한 통합 거버넌스를 제공합니다. Azure Managed ID를 사용하여 Unity 카탈로그 사용자를 대신하여 스토리지 컨테이너에 액세스하도록 Unity 카탈로그를 구성할 수 있습니다. Managed ID는 애플리케이션이 Azure AD(Active Directory) 인증을 지원하는 리소스에 연결할 때 사용할 ID를 제공합니다. Azure Managed ID란? Azure Managed ID 를 사용하여 Unity Catalog 사용자 대신 스토리지 컨테이너에 액세스 하도록 Unity Catalog 를 구성할 수 있습니다 . Unity Catalog에서 Mnaged ID를 사용하여 두 가지를 지원할 수 있습니다. metast..