본문 바로가기
  • AI (Artificial Intelligence)

All633

JHipster란? Ref. kji6252.github.io/2018/07/29/JHipster%EB%9E%80/ JHipster란? 간단히 정의 하면 자바 기반 생성(generate) 개발 플랫폼 이라고 말씀 드릴 수 있습니다. 기존 뛰어난 생산성으로 흥한 개발 플랫폼인 Ruby의 Ruby on Ralse나 Node.js의 Meteor.js등 애플리케이션 개발을 생성 도구 활용으로 인기를 었습니다. 그동안 Spring 진영에서도 생성 도구를 활용한 개발이 없어 생산성에서 뒤쳐졌지만, JHipster에서 만들게 되어 Spring에서도 빠른 생산성을 확보하게 되었습니다. 생성 도구는 Yeoman이라는 기존 웹 보일러플레이트 프로젝트 생성 도구인데 JHipster에서 Yeoman기반으로 만들어 활용 하였습니다. Yeoman이란.. 2020. 10. 19.
메시지큐(Message Queue) 알아보기 Ref. https://12bme.tistory.com/176 메시지 큐 개념을 다시 잡아보고자 학습용도로 작성한 포스팅입니다. 출처는 http://zzong.net/post/3 입니다. 메시지 지향 미들웨어(Meesage Oriented Middleware: MOM)은 비동기 메시지를 사용하는 다른 응용 프로그램 사이에서 데이터 송수신을 의미합니다. MOM을 구현한 시스템을 메시지 큐(MessageQueue: MQ)라 합니다. 메시지 큐는 별도의 공정 작업을 연기할 수 있는 유연성을 제공하여 SOA(Service-Oriendted Architecture)의 개발에 도움을 줄 수 있습니다. 프로그래밍에서 MQ는 프로세스 또는 프로그램 인스턴스가 데이터를 서로 교환할때 사용하는 방법입니다. 이때 데이터를 .. 2020. 10. 19.
[Java] 예외처리 - try~catch 문, throws문, 예외의 종류 Ref. butter-shower.tistory.com/87 오류의 종류 에러 (Error) 개발자가 해결할 수 없는 치명적인 오류 하드웨어의 잘못된 동작 또는 고장으로 인한 오류 에러가 발생되면 프로그램 종료 정상 실행 상태로 돌아갈 수 없음 예외 (Exception) 개발자가 해결할 수 있는 오류 사용자의 잘못된 조작 또는 개발자의 잘못된 코딩으로 인한 오류 예외가 발생되면 프로그램 종료 예외 처리 추가하면 정상 실행 상태로 돌아갈 수 있읃ㅁ 예외가 발생하면 비정상적인 종료를 막고, 프로그램을 계속 진행할 수 있도록 우회 경로를 제공하는 것이 바람직 예외의 종류 일반(컴파일 체크) 예외 예외 처리를 하지 않으면 컴파일 오류가 발생하므로 꼭 처리해야하는 검사형 예외 실행 예외 (RuntimeExcept.. 2020. 10. 8.
[MQTT] MQTT의 개념 Ref. yhcting.tistory.com/entry/Essay-HDLHigh-Level-Design%EC%9D%80-%EC%96%B8%EC%A0%9C-%EC%99%84%EB%A3%8C%EB%90%98%EC%97%88%EB%8B%A4%EA%B3%A0-%EB%B3%BC-%EC%88%98-%EC%9E%88%EB%8A%94%EA%B0%80khj93.tistory.com/entry/MQTT-MQTT%EC%9D%98-%EA%B0%9C%EB%85%90 사물 통신(M2M: Machine to Machine), 사물 인터넷(IoT: Internet of Things)과 같이 대역폭이 제한된 통신 환경에 최적화하여 개발된 푸시 기술(push technology) 기반의 경량 메시지 전송 프로토콜이다. MQTT 프로토콜.. 2020. 10. 5.
HDL(HIGH LEVEL DESIGN)의 형식 Ref. yhcting.tistory.com/entry/Essay-HDLHigh-Level-Design%EC%9D%80-%EC%96%B8%EC%A0%9C-%EC%99%84%EB%A3%8C%EB%90%98%EC%97%88%EB%8B%A4%EA%B3%A0-%EB%B3%BC-%EC%88%98-%EC%9E%88%EB%8A%94%EA%B0%80 HLD이든 LLD(Low Level Design)이든 결국 block diagram의 형태 (Component 단위든, Class단위의 UML이든...)일 수 밖에 없고, 얼마나 작은 단위의 block까지 명세하느냐에 따라 구분되어 질 것이다. 그럼 이런 block diagram에서 가장 중요한 요소는 무엇인가? 결국 'Design'이라는 측면에서 본다면, 각 block의.. 2020. 10. 2.
Message flow between a service integration bus and an IBM MQ network Ref. www.ibm.com/support/knowledgecenter/SS7K4U_9.0.5/com.ibm.websphere.zseries.doc/ae/cjc0051_.html An application connects to a bus, which is its local bus, and can exchange messages with other applications that connect to the same bus. To exchange messages with applications that connect to an IBM MQ network, you need a WebSphere® MQ link that connects the local bus to a foreign bus that repre.. 2020. 9. 21.
PHP Composer 설치 및 사용법 Ref. www.lesstif.com/php-and-laravel/php-composer-23757293.html composer 는 ruby 의 bundle 처럼 패키지간의 의존성을 관리해 주는 유틸리티이다. 설치 PHP 5.3.2+ 이상이 필요하다. openssl extension 이 활성화되어야 한다. Linux/Unix/Mac OS X curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin/ Copy CODE 또는 curl 이 없을 경우 php 로 바로 설치. (https 관련 에러가 날 경우 php.ini 의 openssl extension 이 주석해제 되었는지 확인) php -r "readfile.. 2020. 9. 14.
데이터 사이언티스트가 되어보자 근데 그게 뭐예요? Ref. brunch.co.kr/@hero4earth/3 방향을 잡기 위해 좋은 글 같다. 나도 방향을 잡는데 도움이 된 듯 하다. Prologue 데이터 사이언티스트가 되기로 진로를 정하고 벌써 1년의 시간이 지났습니다. 원래 저는 공공기관에서 프로젝트 관리자였다가 스타트업의 사업개발 담당으로 일을 하고 있었습니다. 그런데 어떻게 데이터 사이언티스트가 되기로 했었을까요? 당시의 저를 한 마디로 이야기하면 '제너털리스트(Generalist)'라고 할 수 있었습니다. 모든 것을 할 줄 알아야 했지만 저의 스페셜리티(Speciality)가 뭐냐고 자문할 때 스스로 뭐 하나 자신 있게 대답할 수 있었던 것이 없었습니다. 그래서 항상 '전문성'에 대해 목마름이 있었던 시절이었습니다. 그리고 마침 개인적인 이유로.. 2020. 9. 14.
마이크로서비스 Microservices (3) 프로세스 간 통신 Ref. futurecreator.github.io/2018/10/04/inter-process-communication-in-microservices/ 프로세스 간 통신 모놀리식(monolithic) 애플리케이션에서는 단순하게 다른 메소드나 함수를 호출하면 됩니다. 하지만 마이크로서비스(Microservices)에서는 서비스 단위로 나뉘어져 있는 분산 시스템이기 때문에 서비스 간 통신이 필요합니다. 이러한 통신을 프로세스 간 통신(inter-process communication)이라고 합니다. 다음 그림에서 왼쪽이 모놀리스, 오른쪽이 마이크로서비스입니다. https://www.nginx.com/blog/building-microservices-inter-process-communication/ 통신 .. 2020. 9. 9.
How to create a Self-Signed SSL Certificate with OpenSSL Ref. https://www.learn2crack.com/2014/02/create-ssl-certificate-openssl.html OpenSSL is an open-source implementation of the SSL and TLS protocols. OpenSSL can be used to create your own Self Signed SSL certificates which can be used with your website. In this tutorial we are going to show you how to create a SSL certificate in Ubuntu. Here I am using Ubuntu Linux 13.10 distribution. Steps to cr.. 2020. 8. 11.
What is the .NPMRC file for? Ref. https://medium.com/@ngubanethabo.ambrose/what-is-the-npmrc-file-for-d19fe6d69c9a A quick look into what this file is used for in a NPM project. As you might know already, NPM is a powerful package manager for Node/JS applications. If you do not know what Node/JS/NPM is, check out these links NodeJS, NPM and JavaScript In this article, I assume you have knowledge of Node/JS/NPM, and that you.. 2020. 8. 11.
Request library, get the response time Ref. https://stackoverflow.com/questions/18106825/nodejs-request-library-get-the-response-time The request library can do timing for you (docs): request.get({ url : 'http://example.com', time : true },function(err, response){ console.log('Request time in ms', response.elapsedTime); }); As the question implies, you could get issues with the approach of starting a timer, calling request then stopp.. 2020. 8. 7.
Using variables - Postman Ref. https://learning.postman.com/docs/sending-requests/variables/ Variables allow you to store and reuse values in your requests and scripts. By storing a value in a variable, you can reference it throughout your collections, environments, and requests—and if you need to update the value, you only have to change it in one place. Using variables increases your ability to work efficiently and min.. 2020. 8. 7.
Send mail from linux command line Ref. https://www.lesstif.com/lpt/send-mail-from-linux-command-line-24445045.html https://tecadmin.net/ways-to-send-email-from-linux-command-line/ http://www.garron.me/en/go2linux/send-mail-gmail-mutt.html command line 에서 mail 보내기. 쉘 스크립트 등에서 유용 sendmail 사용 $ echo -e "Subject: Terminal Email Send\n\nEmail Content line 1\nEmail Content line 2" > content $ sendmail user@example.com < content Copy C.. 2020. 8. 7.
How To Send Mail From the MacOS Terminal Ref. https://medium.com/better-programming/how-to-send-mail-from-the-macos-terminal-dad1756b166f Automate email sending — no installation necessary Have you ever been writing a script and wanted to receive automated emails if the script fails? Or are you new to the command line, and looking for something more exciting to do than just changing directories and listing files? Well, if you’re workin.. 2020. 8. 7.
IPFS API wrapper library in PHP Ref. https://github.com/cloutier/php-ipfs-api A client library for the IPFS API. Good news everyone! S3r3nity is sponsoring the development of this library. They will be using it inside one of their (unannounced) projects and its maintainer is hired to implement all the missing api calls (including the new file api) before the end of September 2016. Warning: Changes will be made from user's sugg.. 2020. 8. 7.
Initialize your IPFS Repository Ref. https://github.com/ipfs-shipyard/ipfs-primer/blob/12d7298f436fa83e8395ade6969d2a4df298b334/install-ipfs/lessons/initialize-repository.md Goals After doing this Lesson you will be able to Initialize a local ipfs repository Locate where IPFS stores the contents of your local IPFS repository Open the IPFS Configuration file Steps Step 1: Initialize the Repository Use the ipfs init command to i.. 2020. 8. 7.
IPFS concepts Ref. https://docs.ipfs.io/concepts/ New to IPFS or the distributed web? Here's where to get started on understanding the key ingredients in what makes IPFS work. Because IPFS is a system that hopes to change how we use the Internet, it comes with many new concepts! This section aims to get you up to speed quickly. #Video overviews Want the basics, in theater mode? Check out these Core Courses fr.. 2020. 8. 7.