UseCase는 애플리케이션 레이어에 포함된다 by 하원호
- and direct those entities to use their enterprise wide business rules to achieve the goals of the use case
- We also do not expect this layer to be affected by changes to externalities such as the database
- expect that changes to the operation of the application will affect the use-cases and therefore the software in this layer
[Data Science] Conda 환경을 만들고 기초 모듈 설치하기 by 민형기 about Python
- 윈도우 유저는 위 그림처럼 conda activate 명령으로 원하는 환경이름을 지정해서 들어가면 됩니다
- 만약 환경을 해제하고 싶다면 윈도우 유저는 위 그림처럼 conda deactivate 명령을
- conda를 최신으로 유지하고 패키지를 만들면 python의 패키지 설치 모듈인 pip는 최신버전으로 유지됩니다
[Java] Lambda - Foreach Iteration by 이민호
- 위의 foreach 메서드를 사용하면 iteration의 control을 더이상 개발자가 아닌 iterator 스스로가 가지게 됩니다
- 이후 Runtime 시점에 iterator가 해당 function을 해석해 작업을 수행하게 됩니다
- internal iterator를 사용하면 작업을 Runtime 시점에 iterator가 알아서 수행하기 때문에
NANO 33 BLE Sense - 3 기압 센서 사용해보기 by 김봉조
- 기압 센서인 LP22HB는 260 ~ 1260 hPa 범위의 절대압력을 측정할 수 있는 디지털 기압 센서다
- begin(9600); while (!Serial); // 시리얼 모니터가 켜져 있어야 코드가 작동합니다
- println("LPS22HB센서 오류!"); while (1); } } void loop() { float pressure1 = BARO
NANO 33 BLE Sense - 4. 온습도 센서 HTS221 실습 by 김봉조
- println("HTS2221센서 오류!"); while (1); } } void loop() { float TemperatureC = HTS
- print("온도 = "); Serial
- println("HTS2221센서 오류!"); while (1); } } void loop() { float TemperatureC = HTS
NANO 33 BLE Sense - 5 온보드 제스처 센싱 실습 by 김봉조
- Gesture Description UP A swipe from the bottom of the board to the top and out of range of the sensor
- LEFT A swipe from the right side of the board to the left and out of range of the sensor
- RIGHT A swipe from the left side of the board to the right and out of range of the sensor
NANO 33 BLE Sense - 6 온보드 컬러 인식 RGB센서 실습 by 김봉조
- int RGB[3] = {0}; // RGB색상 데이터를 저장할 변수입니다
- This function requires 3 or 4 integer variables as arguments where the read color will be stored
- g - is the green component of the read color
NANO 33 BLE Sense - 7 온보드 거리센서 실습 by 김봉조
- 이번 실습은 NANO 33 BLE Sense 보드의 온보드 센서인 apds-9960 센서의 거리측정 실습을 한다
- NANO 33 BLE Sense의 APDS9960센서는 적외선을 출력하여 반사되어 돌아오는 빛을 이용해 거리를 측정하는 방식을 사용한다
- println("APDS9960센서 오류!"); while (1); } } void loop() { if (APDS
NANO 33 BLE Sense - 8 더 살펴볼 것 by 김봉조
- ●AmbientLightInterrupt -- This example shows how you can generate an Arduino interrupt whenever the ambient light falls below a given level
- ●ProximityInterrupt -- The APDS-9960 can be used to detect when objects move within range of its sensor
- This example shows how to throw an interrupt whenever an object moves within a certain range of the sensor
NANO 33 BLE Sense - 1. 온보드 RGB LED 실습 by 김봉조
- fadeValue1); // wait for 30 milliseconds to see the dimming effect delay(50); } // fade out from max to min in increments of 5 points: for (int fadeValue1 = 255 ; fadeValue1 >= 0; fadeValue1 -= 5) { // sets the value (range from 0 to 255): analogWrite(ledPin1
- fadeValue2); // wait for 30 milliseconds to see the dimming effect delay(50); } // fade out from max to min in increments of 5 points: for (int fadeValue2 = 255 ; fadeValue2 >= 0; fadeValue2 -= 5) { // sets the value (range from 0 to 255): analogWrite(ledPin2
- fadeValue3); // wait for 30 milliseconds to see the dimming effect delay(50); } // fade out from max to min in increments of 5 points: for (int fadeValue3 = 255 ; fadeValue3 >= 0; fadeValue3 -= 5) { // sets the value (range from 0 to 255): analogWrite(ledPin3
Linux Pybind11 CMake by 홍정모 about Linux
[101가지 UX 원칙] #6~#9 버튼 UX의 기본 원칙 by 진희수
- '을 보면서 사용자들이 다음 단계가 있다고 추론할 수 있다고 하지만 나는 대다수의 사람들은 그저 자주 쓰는 버튼들에 한해서 다음에 어떤 단계가 있는지 무의식 적으로 학습하는 것이라고 생각한다
- 이렇게 개발이 되었을 경우 사용자는 당연히 버튼을 눌렀는데 작동이 되지 않는 것을 보고 '내가 버튼을 안 눌렀나?'라는 생각을 하게 되고 다시 눌러도 작동이 되지 않을 때 서비스에 대한 호감도가 하락하게 된다
- 버튼을 만들 때는 꼭 텍스트 영역이 아닌 버튼 영역 전체를 클릭 영역으로 두고 (앱 아이콘이 작을 경우는 주변까지 터치 영역을 늘려주곤 한다
[Java] Lambda - Stream by 이민호
- get(i)); } // tire for(int i=0; i
- Engine & Tire & Window 수리공들이 각자의 job을 수행하기위해 sequential하게 모든 collections을 iteration했으므로
- Cars Collections은 이제 conveyor belt(sequence of elements)에 올라와 있는 것처럼 Engine & Tire & Window 작업 line을 지나게되고