전체 글(17)
-
Remix IDE를 사용해보자!(remixd, Ganache)3
Remix IDE를 사용해보자!(remixd, Ganache)1 : https://boong-bara.tistory.com/12 Remix IDE를 사용해보자!(remixd, Ganache)2 : https://boong-bara.tistory.com/13 이 전 글에서는 remixd에 대해 알아봤습니다. 이번에는 Ganache에 대해 알아보겠습니다. Ganache란? Ganache - Truffle Suite Features VISUAL MNEMONIC & ACCOUNT INFO Quickly see the current status of all accounts, including their addresses, private keys, transactions and balances. trufflesui..
2022.08.25 -
Remix IDE를 사용해보자!(remixd, Ganache)2
Remix IDE를 사용해보자!(remixd, Ganache)1 : https://boong-bara.tistory.com/12 이전 글에서는 Remix IDE에 대해 알아봤습니다. 이번에는 remixd에 대해 알아보겠습니다. remixd란? Remixd: Access your Local Filesystem — Remix - Ethereum IDE 1 documentation To give the Remix IDE (the web app) access to a folder on your computer, you need to use Remixd - the plugin along with remixd - the cli/npm module. The Remixd plugin can be activated fr..
2022.08.25 -
Remix IDE를 사용해보자!(remixd, Ganache)1
Remix란? Remix - Ethereum IDE & community DEPLOY & RUN TRANSACTIONS IN THE CLOUD remix-project.org Remix IDE allows developing, deploying and administering smart contracts for Ethereum like blockchains. It can also be used as a learning platform. Remix란 쉽게 말해 통해서 Ethereum과 같은 블록체인의 Smart Contract를 개발, 배포, 관리할 수 있게 도와주는 통합 개발 환경(Integrated Development Environment, IDE)입니다. 그럼 이 IDE를 통해서 어떻게 Smart ..
2022.08.25 -
OS - Process/Program/Thread 그리고 Context Switch와 Scheduler
Process/Program/Thread Program이란? 어떤 작업을 위해 실행할 수 있는 파일 Process란? 메모리에 올라와 CPU를 할당 받고 프로그램이 실행되고 있는 상태 Process = Program + Stack + Heap + PCB(Process Control Block) 즉, Program은 정적인 개념으로 컴퓨터에 저장된 실행 파일을 지칭하고 Process는 동적인 개념으로 실행된 프로그램을 얘기하는 것 Thread란 프로세스가 할당 받은 자원을 이용하는 실행의 단위 Process State란? 프로세스의 상태를 나타내며 new, ready, running, waiting, terminated가 있다. PCB Process Control Block 프로세스의 상태, 프로그램 진행..
2021.09.15 -
Design Patterns - Factory Method Pattern
이번에는 Factory Method Pattern에 대해 알아보겠습니다. 디자인 패턴을 아직 많이 공부하진 않았지만 개인적으로 여태까지 배운 것 중에 가장 흥미로운 디자인 패턴입니다. Factory Method Pattern Factory Method Pattern이란 이름에서도 알 수 있듯이 공장처럼 찍어내는 메쏘드를 이용한 디자인 패턴입니다. 공장에서 어떤 것을 찍어내냐면 객체 지향 프로그래밍을 위한 객체를 찍어내는 것이죠. 바로 코드부터 보시면 이해하기 훨씬 수월할 것입니다. ublic class FactoryPattern { public static void main(String[] args) { Transportation tp1 = Transportation.constructors('A'); T..
2021.02.04 -
Design Patterns - Method Chaining Pattern
이번에는 Method Chaining Pattern에 대해 알아보겠습니다. 정식(?) Design Pattern으로 인정되지 않는 경우도 있어 Method Cascading 혹은 Fluent Interface라고도 합니다. Method Chaining Pattern Method Chaining Pattern이란 이름에서 알 수 있듯이 메서드가 체인처럼 연결되어있는 경우입니다. 말로하는 설명보다 직접 예시를 보여드리면 이해가 훨씬 쉬울 것 같은데요. 가장 대표적인 예시인 Java의 StringBuilder를 이용해 알아보겠습니다. public class Test { public static void main(String[] args) { StringBuilder sb = new StringBuilder()..
2021.02.04