'프로그램 사용'에 해당되는 글 2606건

  1. 2021.11.25 수신강도가 너무 약한건가?
  2. 2021.11.24 rtp sdr noaa
  3. 2021.11.24 wayland weston 구조
  4. 2021.11.22 wayland weston flow
  5. 2021.11.19 nc -k 옵션
  6. 2021.11.18 wayland / weston
  7. 2021.11.18 구조체 타입과 변수명은 구분된다?
  8. 2021.11.17 wayland weston
  9. 2021.10.22 mariadb c# connector
  10. 2021.10.19 bazel clean
프로그램 사용/rtl-sdr2021. 11. 25. 10:15

바로 코앞에 관악산이 보여서 관악산 송신소 주파수로 듣는데도

지직지직 거리는걸 보면(물론 실내긴 하지만) 수신 감도가 좋지 않은 것 같은데..

새로 사야하나?!

 

hardware AGC를 켜면 3dBFS 정도 올라가는데도 지직거리네..

그래서 유튜버는 용인에서도 들린다고 하는데 난 안들리던건가?

[링크 : https://ko.wikipedia.org/wiki/대한민국_수도권의_방송_송신소·중계소_목록#관악산_송신소]

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

rtl-sdr 지름  (0) 2021.11.25
rtl-sdr gqrx direct sampling  (0) 2021.11.25
rtp sdr noaa  (0) 2021.11.24
Blaze Video / FM 듣기  (0) 2021.01.16
rtl sdr driver libusb  (0) 2021.01.05
Posted by 구차니
프로그램 사용/rtl-sdr2021. 11. 24. 22:21

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

rtl-sdr gqrx direct sampling  (0) 2021.11.25
수신강도가 너무 약한건가?  (0) 2021.11.25
Blaze Video / FM 듣기  (0) 2021.01.16
rtl sdr driver libusb  (0) 2021.01.05
sdr# PAL tv plugin  (0) 2021.01.05
Posted by 구차니
프로그램 사용/wayland2021. 11. 24. 15:17

레이어 / 뷰

[링크 : https://www.kernelpanic.kr/10]

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

weston shell  (0) 2021.11.26
weston_log()  (0) 2021.11.25
wayland weston flow  (0) 2021.11.22
wayland / weston  (0) 2021.11.18
wayland weston  (0) 2021.11.17
Posted by 구차니
프로그램 사용/wayland2021. 11. 22. 18:02

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

weston shell  (0) 2021.11.26
weston_log()  (0) 2021.11.25
wayland weston 구조  (0) 2021.11.24
wayland / weston  (0) 2021.11.18
wayland weston  (0) 2021.11.17
Posted by 구차니
프로그램 사용/nc2021. 11. 19. 11:24

nc를 이용해 udp 소켓을 테스트 하고 있는데

UDP 서버(?)

$ nc -ul 0.0.0.0 6000

 

UDP 클라이언트

$ nc -u 0.0.0.0 6000

 

로 설정하고 클라이언트에서 1번 메시지를 보낸 후, ctrl-c를 눌러 종료하고

다시 전송하려고 nc -u 옵션을 통해 실행하면 전송되지 않고 종료된다.

 

혹시나 해서 옵션을 찾아보니 forces nc to stay listening for another connection 이라는게 보이네..

아무튼 udp 커넥션(?)이 이뤄지면 netstat -unl 에서도 사라지는데 멀까...?

 

-k' Forces nc to stay listening for another connection after its current connection is completed. It is an error to use this option without the -l option.

-l' Used to specify that nc should listen for an incoming connection rather than initiate a connection to a remote host. It is an error to use this option in conjunction with the -p, -s, or -z options. Additionally, any timeouts specified with the -w option are ignored.

[링크 : https://linux.die.net/man/1/nc]

Posted by 구차니
프로그램 사용/wayland2021. 11. 18. 13:48

 

static const struct android_wlegl_handle_interface server_handle_impl = {
add_fd,
destroy
};

server_wlegl_handle *
server_wlegl_handle_create(uint32_t id)
{
server_wlegl_handle *handle = new server_wlegl_handle;

memset(handle, 0, sizeof(*handle));

handle->resource.object.id = id;
handle->resource.object.interface = &android_wlegl_handle_interface;
handle->resource.object.implementation =
(void (**)(void))&server_handle_impl;

handle->resource.destroy = server_wlegl_handle_dtor;
handle->resource.data = handle;

wl_array_init(&handle->ints);
wl_array_init(&handle->fds);

return handle;
}

[링크 : https://github.com/libhybris/libhybris/blob/master/hybris/egl/platforms/common/server_wlegl_handle.cpp]

 

extern const struct wl_interface android_wlegl_handle_interface;

[링크 : https://github.com/groleo/simple-yuv/blob/master/wayland-android-client-protocol.h]

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

weston shell  (0) 2021.11.26
weston_log()  (0) 2021.11.25
wayland weston 구조  (0) 2021.11.24
wayland weston flow  (0) 2021.11.22
wayland weston  (0) 2021.11.17
Posted by 구차니
프로그램 사용/gcc2021. 11. 18. 12:46

gcc에서 해보는데 헐.. 이게 되네?

변수명과 구조체 타입명은 다른 영역으로 구분되나?

identifier로 동일하게 취급될줄 알았는데 아니라니?

 

$ cat t.c
#include <stdio.h>

struct help { int a; int b; int c;};

struct help a;
int help = 1;

void main()
{
        a.a = 5;
        a.b = 7;
        a.c = 9;
        printf("%d %d %d %d\n",help, a.a, a.b, a.c);
}

 

$ gcc t.c
$ ./a.out
1 5 7 9

 

[링크 : https://cpp.hotexamples.com/site/file?hash=0x3b8107de9c96fe7f1b348af2ed3b6ff15fb2cb740a65ea0a91d33bcab75b25ae&fullName=wheatley-master/wlegl_handle.c&project=jekstrand/wheatley]

 

다만, 함수와 변수명의 식별자 영역은 동일한지 에러가 발생한다.

$ cat t.c
#include <stdio.h>

void help()
{
        printf("%s\n",__func__);
}

struct help { int a; int b; int c;};

struct help a;
int help = 1;

void main()
{
        a.a = 5;
        a.b = 7;
        a.c = 9;
        printf("%d %d %d %d\n",help, a.a, a.b, a.c);
        help();
}

 

$ gcc t.c
t.c:11:5: error: ‘help’ redeclared as different kind of symbol
 int help = 1;
     ^~~~
t.c:3:6: note: previous definition of ‘help’ was here
 void help()
      ^~~~
t.c: In function ‘main’:
t.c:19:2: error: called object ‘help’ is not a function or function pointer
  help();
  ^~~~
t.c:11:5: note: declared here
 int help = 1;
     ^~~~

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

gcc / 문자열 선언  (0) 2022.03.17
static link  (0) 2022.02.07
gcc unsigned to signed upcast 테스트  (0) 2021.07.08
gcc vectorized loop  (0) 2021.06.30
gcc unsigned to signed cast  (0) 2021.06.22
Posted by 구차니
프로그램 사용/wayland2021. 11. 17. 18:21

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

weston shell  (0) 2021.11.26
weston_log()  (0) 2021.11.25
wayland weston 구조  (0) 2021.11.24
wayland weston flow  (0) 2021.11.22
wayland / weston  (0) 2021.11.18
Posted by 구차니

mysql, mariadb, amazon aurora, azure database for mysql을 지원하는 connector

MIT 라이선스를 적용하고 있고 다운로드 24.8M에 빛나는 패키지

[링크 : https://www.nuget.org/packages/MySqlConnector/1.3.14?_src=template]

 

mysql connector

[링크 : https://dev.mysql.com/downloads/connector/net/]

 

mariadb foundation의 connector는 소스로 제공되네..

[링크 : https://mariadb.org/download/?rel=3.1.13&prod=connector-c&tab=connector&os=source&pkg=source-zip&mirror=yongbok]

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

mariadb msec 단위 시간 얻기  (0) 2022.08.31
mariadb 초기설정  (0) 2022.08.30
HeidiSQL  (2) 2021.08.18
sql zerofill  (0) 2019.11.25
mysql-dump compatible 함정 -_-  (0) 2019.09.04
Posted by 구차니

리눅스 홈 디렉토리 용량 검사하다 보니 이상하게 많이 먹어 추적해보니

~/.cache/bazel 이 7기가 정도?

bazel clean 을 통해서 용량을 감소시킬수 있다고 하는데 문제는 워크스페이스 날렸으면 무리

그냥 쿨(?) 하게 ~/.cache/bazel 을 날리니 용량이 훅 줄어든다.

$ bazel clean
Extracting Bazel installation...
ERROR: The 'clean' command is only supported from within a workspace (below a directory having a WORKSPACE file).
See documentation at https://docs.bazel.build/versions/master/build-ref.html#workspace

[링크 : https://github.com/Tencent/PhoenixGo/issues/76]

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

tflite bazel rpi3b+  (0) 2022.01.27
bazel cross compile  (0) 2022.01.27
2.7.0-rc with opencl  (0) 2021.10.13
tf release 2.7.0-rc  (0) 2021.10.12
tflite delegate  (0) 2021.10.11
Posted by 구차니