기타
-
뚜껑 개방 귀이개 같은 것으로 틈을 비집고 들어가면 용이함 열리는 곳 부터 천천히 하다보면 열림 안에 팬 커버 부터 분리 팬 커버 후 나오는 중간 결합 나사 분리 내부 모습 물 담는 통 쪽에 나사도 풀어줘야 됨. 그럼 이렇게 열림 뒤쪽을 열어보면 곰팡이가 없네...? 잘은 모르지만 분해 후 접촉 면에 열 전달 잘 되라고 서멀그리스 도포 후 재조립
보아 m1000 분해 일지뚜껑 개방 귀이개 같은 것으로 틈을 비집고 들어가면 용이함 열리는 곳 부터 천천히 하다보면 열림 안에 팬 커버 부터 분리 팬 커버 후 나오는 중간 결합 나사 분리 내부 모습 물 담는 통 쪽에 나사도 풀어줘야 됨. 그럼 이렇게 열림 뒤쪽을 열어보면 곰팡이가 없네...? 잘은 모르지만 분해 후 접촉 면에 열 전달 잘 되라고 서멀그리스 도포 후 재조립
2024.06.24 -
Vp 문제에서 '[' 가 추가된 버전([)]은 고려하지 않고 바로 다음 짝 지음만을 판단 using System;using System.Collections.Generic;using System.Text;namespace ConsoleApp1{ internal class Program { static void Main(string[] args) { string str = Console.ReadLine(); Stack sta = new Stack(); bool flag = false; while (str[0] != '.') { foreach (in..
백준 c# 4949 균형잡힌 세상Vp 문제에서 '[' 가 추가된 버전([)]은 고려하지 않고 바로 다음 짝 지음만을 판단 using System;using System.Collections.Generic;using System.Text;namespace ConsoleApp1{ internal class Program { static void Main(string[] args) { string str = Console.ReadLine(); Stack sta = new Stack(); bool flag = false; while (str[0] != '.') { foreach (in..
2024.06.09 -
괄호의 짝을 판단하는 문제using System;using System.Collections.Generic;using System.Text;namespace ConsoleApp1{ internal class Program { static void Main(string[] args) { int iter = int.Parse(Console.ReadLine().Trim()); Stack stack = new Stack(); StringBuilder stringBuilder = new StringBuilder(); for (int i = 0; i 0) isValid = false; ..
백준 C# 9012 괄호괄호의 짝을 판단하는 문제using System;using System.Collections.Generic;using System.Text;namespace ConsoleApp1{ internal class Program { static void Main(string[] args) { int iter = int.Parse(Console.ReadLine().Trim()); Stack stack = new Stack(); StringBuilder stringBuilder = new StringBuilder(); for (int i = 0; i 0) isValid = false; ..
2024.06.09 -
스택 문제using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApp1{ internal class Program { static void Main(string[] args) { int iter = int.Parse(Console.ReadLine()); Stack stack = new Stack(); int sum =0; for(int i = 0; i 0) { sum -= stack.Pop();..
백준 C# 10773 제로스택 문제using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApp1{ internal class Program { static void Main(string[] args) { int iter = int.Parse(Console.ReadLine()); Stack stack = new Stack(); int sum =0; for(int i = 0; i 0) { sum -= stack.Pop();..
2024.06.06 -
구현하라길래 스택을 만들었는데 시간 초과using System;using System.Linq;namespace ConsoleApp1{ internal class Program { static void Main(string[] args) { int iter = int.Parse(Console.ReadLine()); Stack stack = new Stack(iter); for (int i = 0; i int.Parse(x)).ToArray(); switch (numbers[0]) { case 1://스택에 넣기 ..
백준 C# 28278 스택 2구현하라길래 스택을 만들었는데 시간 초과using System;using System.Linq;namespace ConsoleApp1{ internal class Program { static void Main(string[] args) { int iter = int.Parse(Console.ReadLine()); Stack stack = new Stack(iter); for (int i = 0; i int.Parse(x)).ToArray(); switch (numbers[0]) { case 1://스택에 넣기 ..
2024.06.06 -
SaaS PaaS RPC
단어SaaS PaaS RPC
2024.05.31 -
[출처] https://unity.com/kr/resources/level-up-your-code-with-game-programming-patterns Level up your programming with game programming patternsOur new e-book explains well-known design patterns and shares practical examples for using them in your Unity project.unity.com M(Model) : 데이터 값을 보유하는 컨테이너 역할. 로직, 계산을 수행하지 않음V(View) : 인터페이스에 해당하며, 데이터를 화면에 표시하는 역할C(Controller) : 런타임 시 게임 데이터 처리와 값의 변경을 ..
[디자인 패턴]MVP[출처] https://unity.com/kr/resources/level-up-your-code-with-game-programming-patterns Level up your programming with game programming patternsOur new e-book explains well-known design patterns and shares practical examples for using them in your Unity project.unity.com M(Model) : 데이터 값을 보유하는 컨테이너 역할. 로직, 계산을 수행하지 않음V(View) : 인터페이스에 해당하며, 데이터를 화면에 표시하는 역할C(Controller) : 런타임 시 게임 데이터 처리와 값의 변경을 ..
2024.05.21 -
[출처]https://unity.com/kr/resources/level-up-your-code-with-game-programming-patterns Level up your programming with game programming patternsOur new e-book explains well-known design patterns and shares practical examples for using them in your Unity project.unity.com 어떠한 주체(Subject)의 상태가 변경될 때 그것을 다른 관찰자(Observer)에게 알리는 것"일대 다" 의 느슨한 결합 상태 ButtonSubject각 Observer에게서 Action을 통한 이벤트를 저장받는..
[디자인 패턴]Observe[출처]https://unity.com/kr/resources/level-up-your-code-with-game-programming-patterns Level up your programming with game programming patternsOur new e-book explains well-known design patterns and shares practical examples for using them in your Unity project.unity.com 어떠한 주체(Subject)의 상태가 변경될 때 그것을 다른 관찰자(Observer)에게 알리는 것"일대 다" 의 느슨한 결합 상태 ButtonSubject각 Observer에게서 Action을 통한 이벤트를 저장받는..
2024.05.21 -
[출처]https://unity.com/kr/resources/level-up-your-code-with-game-programming-patterns Level up your programming with game programming patternsOur new e-book explains well-known design patterns and shares practical examples for using them in your Unity project.unity.com 객체 내부 상태의 변경될 때 객체가 동작을 변경할 수 있도록 함각 상태에 대해 정의된 인터페이스를 활용하여 유지보수가 용이각 상태를 변경할 수 있는 중간자인 Handles이 존재IState각 상태에 따른 동작을 위한 함수가 정의..
[디자인 패턴] State[출처]https://unity.com/kr/resources/level-up-your-code-with-game-programming-patterns Level up your programming with game programming patternsOur new e-book explains well-known design patterns and shares practical examples for using them in your Unity project.unity.com 객체 내부 상태의 변경될 때 객체가 동작을 변경할 수 있도록 함각 상태에 대해 정의된 인터페이스를 활용하여 유지보수가 용이각 상태를 변경할 수 있는 중간자인 Handles이 존재IState각 상태에 따른 동작을 위한 함수가 정의..
2024.05.21 -
[!!출처!!]https://unity.com/kr/resources/level-up-your-code-with-game-programming-patterns Level up your programming with game programming patternsOur new e-book explains well-known design patterns and shares practical examples for using them in your Unity project.unity.com 하나 이상의 명령 개체를 캡슐화하여 저장일련의 작업을 지연하거나 실행, 취소가 가능해짐입력기록을 유지하는 것 ICommand 캡슐화된 동작을 실제 구현하기 위해 사용MoveCommand ICommand를 상속받아 실..
[디자인 패턴] Command[!!출처!!]https://unity.com/kr/resources/level-up-your-code-with-game-programming-patterns Level up your programming with game programming patternsOur new e-book explains well-known design patterns and shares practical examples for using them in your Unity project.unity.com 하나 이상의 명령 개체를 캡슐화하여 저장일련의 작업을 지연하거나 실행, 취소가 가능해짐입력기록을 유지하는 것 ICommand 캡슐화된 동작을 실제 구현하기 위해 사용MoveCommand ICommand를 상속받아 실..
2024.05.21 -
[!! 출처 !!]https://www.youtube.com/live/iyeRmq24HVk?si=v1Sqb4xk_Q-uIdOT 클래스가 자신의 인스턴스 하나만 인스턴스화할 수 있도록 보장단일 인스턴스 손쉬운 전역 액세스[주로 매니저 객체에 적용]안티패턴으로 취급되기도함[매우 공감]커플링 발생이 쉽고, 디버깅 및 테스트 불편 자기 자신의 인스턴스를 static으로 가지고 있음.쓰레드에서 호출이 되는게 아니라면, 클래스 자체에서 생성 후 반환하면 된다. Mono에서 구동되는 기본적인 싱글톤 구현 Generic 을 활용한 싱글톤 생성방오른쪽 상단 내용 GameManager에서 Singleton을 상속받아 전역으로 사용하는 방법 Mono 없이 싱글톤 사용법Mono 환경이 아니라면 멀티쓰레드 환경에서 문제..
[디자인 패턴] Singleton[!! 출처 !!]https://www.youtube.com/live/iyeRmq24HVk?si=v1Sqb4xk_Q-uIdOT 클래스가 자신의 인스턴스 하나만 인스턴스화할 수 있도록 보장단일 인스턴스 손쉬운 전역 액세스[주로 매니저 객체에 적용]안티패턴으로 취급되기도함[매우 공감]커플링 발생이 쉽고, 디버깅 및 테스트 불편 자기 자신의 인스턴스를 static으로 가지고 있음.쓰레드에서 호출이 되는게 아니라면, 클래스 자체에서 생성 후 반환하면 된다. Mono에서 구동되는 기본적인 싱글톤 구현 Generic 을 활용한 싱글톤 생성방오른쪽 상단 내용 GameManager에서 Singleton을 상속받아 전역으로 사용하는 방법 Mono 없이 싱글톤 사용법Mono 환경이 아니라면 멀티쓰레드 환경에서 문제..
2024.05.19 -
[출처] https://www.youtube.com/live/iyeRmq24HVk?si=OOcdDITtnTun-6vi 미리 초기화되어 준비된 상태인 오브젝트 세트를 사용한다.오브젝트 필요 시 새로 인스턴스화하는 대신 오브젝트를 활성화하여 사용사용 종료 시 해당 오브젝트를 비활성화하며 반환Hiccup, GC Spike 예방[유니티 API로 지원] 가져올 때는 Active, 반환할 때는 비활성화를 한다. PooledObject를 상속받은 오브젝트를 생성하고, 사용한다.PooledObject를 Stack에서 꺼내 사용하고, 넣어서 보관한다.
[디자인 패턴] ObjectPool[출처] https://www.youtube.com/live/iyeRmq24HVk?si=OOcdDITtnTun-6vi 미리 초기화되어 준비된 상태인 오브젝트 세트를 사용한다.오브젝트 필요 시 새로 인스턴스화하는 대신 오브젝트를 활성화하여 사용사용 종료 시 해당 오브젝트를 비활성화하며 반환Hiccup, GC Spike 예방[유니티 API로 지원] 가져올 때는 Active, 반환할 때는 비활성화를 한다. PooledObject를 상속받은 오브젝트를 생성하고, 사용한다.PooledObject를 Stack에서 꺼내 사용하고, 넣어서 보관한다.
2024.05.19