'2020/10'에 해당되는 글 91건

  1. 2020.10.11 어쩌다 보니 득템?
  2. 2020.10.10 오늘은 운전을 하면 안되는 날이구만
  3. 2020.10.09 분노분노분노
  4. 2020.10.08 c# strong type langugae
  5. 2020.10.08 c# delagate 대리자
  6. 2020.10.07 c# out
  7. 2020.10.06 rancher
  8. 2020.10.06 우분투에서 부팅 USB 만들기(iso)
  9. 2020.10.06 google coral
  10. 2020.10.06 yolo on rpi?
개소리 왈왈/컴퓨터2020. 10. 11. 20:32

득템이라 할 수 있을지 모르겠지만

HPE 서버에 다른 벤더의 부품은 문제가 되어도

HPE의 부품을 다른 PC에 연결하는건 문제가 안될지 모르겠네?

 

HPE NC364T PCI-Ex Quad Port GbE Server Adapter

dual intel 82571EB

[링크 : https://support.hpe.com/hpesc/public/docDisplay?docId=c00885057&docLocale=en_US]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

해외 배송은 갑작스럽다  (0) 2020.10.17
컴퓨터 득템?  (0) 2020.10.14
stormbook 14 pro 64GB 모델  (0) 2020.10.05
G840에 이어 G860..  (0) 2020.09.22
다이소 유선 마우스 뽑기 실패인가..  (6) 2020.09.14
Posted by 구차니

희한하게 오늘따라 앞에 있는 차들이 좌우로 오락가락에

예측 불가능하게 이상하게 움직이는 애들로 잔뜩 -_-

 

어딜 가던 먹히고

어딜 가던 이상한 차가 내 앞을 가로막고

운전할 날이 아니었나?

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

귀찮아!!!  (0) 2020.10.18
평온한.. 하루?  (0) 2020.10.16
분노분노분노  (0) 2020.10.09
애완조(?) 윙 트리밍!  (0) 2020.10.04
다 귀찮아  (0) 2020.10.03
Posted by 구차니

애들이 아주 난리를 피워서 분노가 만렙 -_-

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

평온한.. 하루?  (0) 2020.10.16
오늘은 운전을 하면 안되는 날이구만  (0) 2020.10.10
애완조(?) 윙 트리밍!  (0) 2020.10.04
다 귀찮아  (0) 2020.10.03
집에만 있으니 우울해서  (0) 2020.10.02
Posted by 구차니
Programming/c# & winform2020. 10. 8. 08:14

 

c#을 강형 언어라고 봐야 할진 모르겠지만

최소한 strongly typed language 라고 해놨으니.. 그리고 문법적으로도 상당 부분이 c에 비해서

explicit 하지 않고 implcit 하게 변형을 하도록 강제하고 있어 최대한

컴파일 타임에 잡아내도록 해놨으니 같은거라고 봐야 하나 아닌가 조금 고민되네?

 

 

C#은 강력한 형식의 언어입니다.

[링크 : http://docs.microsoft.com/ko-kr/dotnet/csharp/programming-guide/types/]

 

C# is a strongly typed language.

[링크 : https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/types/]

 

[링크 : https://ahnheejong.name/articles/types-basic-concepts/]

'Programming > c# & winform' 카테고리의 다른 글

.net core와 .net framework 차이 - winform menustrip  (0) 2020.10.13
winform 에서 이미지 넣기  (0) 2020.10.12
c# delagate 대리자  (0) 2020.10.08
c# out  (0) 2020.10.07
c# 타입? 변수명;  (0) 2020.10.05
Posted by 구차니
Programming/c# & winform2020. 10. 8. 08:13

함수포인터의 문법화라는 느낌

node.js에서 흔하게 사용하던 그 문법

 

그런데 람다가 있는데 굳이 delegate 라는걸 또 표현하는 이유는 좀 모르겠다.

두개가 용도가 다른가?

 

[링크 : http://docs.microsoft.com/ko-kr/dotnet/csharp/programming-guide/delegates/]

[링크 : https://docs.microsoft.com/ko-kr/dotnet/standard/delegates-lambdas]

 

반대로.. delegate에 대응되는 다른 언어의 용어를 찾아봐야겠다.

'Programming > c# & winform' 카테고리의 다른 글

winform 에서 이미지 넣기  (0) 2020.10.12
c# strong type langugae  (0) 2020.10.08
c# out  (0) 2020.10.07
c# 타입? 변수명;  (0) 2020.10.05
c# using 키워드, 예외처리  (0) 2020.10.05
Posted by 구차니
Programming/c# & winform2020. 10. 7. 17:05

함수 인자로 out을 사용하면 기존의 c 언어에서 포인터로 값을 빼내오듯 사용이 가능하다.

 

OutArgExample() 함수에서도 out 을 이용하여 number 인자는 입력이 아닌 출력으로 사용한다고 명시하고

해당 함수를 호출 할때도 out initializeInMethod 라는 변수가 출력용 변수임을 명시한다.

 

 

int initializeInMethod;
OutArgExample(out initializeInMethod);
Console.WriteLine(initializeInMethod);     // value is now 44

void OutArgExample(out int number)
{
    number = 44;
}

 

[링크 : https://docs.microsoft.com/ko-kr/dotnet/csharp/language-reference/keywords/out-parameter-modifier]

 

기존의 C로 보면 이걸 문법적으로 표현해주는 느낌이다.

int initializeInMethod;
OutArgExample(&initializeInMethod);
Console.WriteLine(initializeInMethod);     // value is now 44

void OutArgExample(int *number)
{
    *number = 44;
}

[링크 : https://dojang.io/mod/page/view.php?id=550]

 

+

[링크 : https://docs.microsoft.com/ko-kr/dotnet/csharp/language-reference/keywords/in-parameter-modifier] in

[링크 : https://docs.microsoft.com/ko-kr/dotnet/csharp/language-reference/keywords/ref] ref

 

+

2020.10.14

unsafe 옵션과 키워드를 사용해서 사용은 가능하다

using System;

class Touttest
{
	static void Main()
	{
		unsafe{
		int initializeInMethod;
		OutArgExample(&initializeInMethod);
		Console.WriteLine(initializeInMethod);     // value is now 44

		void OutArgExample(int *number)
		{
			*number = 44;
		}
		}
	}
}
$ csc /unsafe out2.cs

unsafe 옵션과 키워드를 사용해서 사용은 가능하다

 

 

+

포인터는 기본적으로 막히고..

out2.cs(8,17): error CS0214: Pointers and fixed size buffers may only be used in an unsafe context
out2.cs(8,3): error CS0214: Pointers and fixed size buffers may only be used in an unsafe context
out2.cs(13,4): error CS0214: Pointers and fixed size buffers may only be used in an unsafe context
out2.cs(13,13): error CS0266: Cannot implicitly convert type 'int' to 'int*'. An explicit conversion exists (are you missing a cast?)
out2.cs(13,4): error CS0214: Pointers and fixed size buffers may only be used in an unsafe context
out2.cs(11,22): error CS0214: Pointers and fixed size buffers may only be used in an unsafe context

 

/unsafe 옵션을 주지 않고 빌드하면 경고가 아닌 에러가 발생한다 ㄷㄷ

out2.cs(7,3): error CS0227: Unsafe code may only appear if compiling with /unsafe

'Programming > c# & winform' 카테고리의 다른 글

c# strong type langugae  (0) 2020.10.08
c# delagate 대리자  (0) 2020.10.08
c# 타입? 변수명;  (0) 2020.10.05
c# using 키워드, 예외처리  (0) 2020.10.05
c# @문자열  (0) 2020.10.05
Posted by 구차니

쿠버네티스 관리 도구

 

[링크 : http://rancher.com/]

'프로그램 사용 > kubernetes' 카테고리의 다른 글

kubernetes selector  (0) 2019.07.16
kubernetes delete pods with namespace  (0) 2019.07.16
kubernetes ImagePullBackOff 에러  (0) 2019.07.16
yaml  (0) 2019.07.16
kubectl  (0) 2019.07.16
Posted by 구차니
Linux/Ubuntu2020. 10. 6. 15:43

USB sd 리더에서 해보긴 했는데

fat32 였던지라 넣으면 바로 인식해서 마운트 되는 바람에

수동으로 umount를 해주어야 했지만 그래도 꽤 편하게 쓸 수 있는 툴

 

woeusbgui로 실행하면 된다.

 

[링크 : https://ncube.net/우분투에서-윈도우-10-설치-부팅-usb-만들기/]

[링크 : https://shiinachianti.tistory.com/32]

 

+

ntpasswd를 만들어봤는데 부팅이 안된다?

'Linux > Ubuntu' 카테고리의 다른 글

ubuntu 20.04 한글입력기  (2) 2020.12.07
/dev/ipmi를 보고 싶다!!!  (0) 2020.11.07
jaaa - JACK and ALSA Audio Analyser  (0) 2020.10.05
ipmitool  (0) 2020.09.24
rsync with ssh  (0) 2020.09.23
Posted by 구차니

구글의 텐서플로우 가속기 라고 해야하려나?

아무튼 TPU accelerator인데 회사에 USB 버전이 있어서 한번 만져 볼까 싶네

 

[링크 : https://coral.ai/]

[링크 : https://coral.ai/products/accelerator/...E]

[링크 : https://coral.ai/docs/accelerator/get-started/#requirements]

'프로그램 사용 > google coral' 카테고리의 다른 글

edgetpu_c.h 파일 내용 분석  (0) 2022.02.07
tensorflow brace-enclosed initializer list  (4) 2022.02.07
google coral, tpu yolo  (0) 2022.01.27
coral tpu delegate example  (0) 2022.01.25
google coral, ubuntu 18.04  (0) 2020.10.20
Posted by 구차니

 

[링크 : https://j-remind.tistory.com/53]

[링크 : https://www.pyimagesearch.com/2020/01/27/yolo-and-tiny-yolo-object-detection-on-the-raspberry-pi-and-movidius-ncs/] tiny yolo

'프로그램 사용 > yolo_tensorflow' 카테고리의 다른 글

yolo lite  (0) 2021.01.08
SSDnnn (Single Shot Detector)  (0) 2021.01.08
CNN - YOLO  (0) 2021.01.07
yolo BFLOPs  (0) 2020.10.21
yolo3 on ubuntu 18.04  (0) 2020.10.20
Posted by 구차니