'잡동사니'에 해당되는 글 13315건

  1. 2024.08.22 개피곤 개더워
  2. 2024.08.21 gqrx, gnu radio, rfcat
  3. 2024.08.21 js DataView()
  4. 2024.08.20 NPN TR.... 2?
  5. 2024.08.20 blender 4.x 구동 실패
  6. 2024.08.19 개피곤 개더움
  7. 2024.08.18 libfreenect2 on 2760p 성공
  8. 2024.08.18 tv 파괴 2차
  9. 2024.08.18 24.04 설치 성공
  10. 2024.08.17 우분투.. 버전 업그레이드 버근가?

개 산책 나갔다가 비와서 돌아오고

하루종일 먼가 피곤한데다가

처서 매직도 크지 않아서 그나마 30도 까진 안가는걸 위안 삼아야 하나?

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

잠 좀 자자 ㅠㅠ  (0) 2024.08.27
영풍문고 다녀옴  (0) 2024.08.24
개피곤 개더움  (0) 2024.08.19
tv 파괴 2차  (0) 2024.08.18
다이소 구리스  (0) 2024.08.17
Posted by 구차니
프로그램 사용/rtl-sdr2024. 8. 21. 21:19

자동차 RF 키가 발생시키는 rf 주파수를 녹음하고, 분석하고, 송신하는 예제

[링크 : https://leonjza.github.io/blog/2016/10/02/reverse-engineering-static-key-remotes-with-gnuradio-and-rfcat/]

Posted by 구차니

웹 소켓으로 float 형을 보내고 받는 예제를 만들어 달라고 gpt에 요청했더니

처음보는 객체...? 메소드가 보여서 검색

 

그런데 push 하면 안느리려나? 조금 걱정되네

Int32Array나 Float32Array로 좀더 해보고 안되면 DataView로 해봐야겠다.

        socket.onmessage = function(event) {
            const data = event.data;
            const floatData = [];
            const intData = [];

            const floatSize = 4; // float32는 4바이트
            const intSize = 4;   // int32는 4바이트

            const floatArrayLength = 4;
            const intArrayLength = 4;

            const view = new DataView(data);

            // float32 배열 추출
            for (let i = 0; i < floatArrayLength; i++) {
                floatData.push(view.getFloat32(i * floatSize, true));
            }

            // int32 배열 추출
            for (let i = 0; i < intArrayLength; i++) {
                intData.push(view.getInt32(floatArrayLength * floatSize + i * intSize, true));
            }

            document.getElementById("floatData").textContent = JSON.stringify(floatData);
            document.getElementById("intData").textContent = JSON.stringify(intData);
        };

[링크 : https://chatgpt.com/share/fb063d40-1441-457c-a209-0f594d2c482d]

 

[링크 : https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/DataView/DataView]

[링크 : https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/DataView/getFloat32]

'Programming > javascript & HTML' 카테고리의 다른 글

Uncaught TypeError: object.at is not a function  (0) 2025.03.04
javascript ... (rest parameter)  (0) 2024.08.12
qr decoder  (0) 2024.04.19
QR decoder로 로또 추첨하기  (0) 2024.04.16
javascript 집합(set) 내용 출력하기  (0) 2024.04.16
Posted by 구차니
이론 관련/전기 전자2024. 8. 20. 12:01

이전에 2N3904로는 꿈적도 안하더니 KRC107S를 사용하니 한번에 된다.

역시 일이 잘 안되면 돈이 부족하지 않나 생각을 해봐야.. (먼산)

 

아무튼 동일한 회로로는 R1/R2를 적절히 배치해서 하면 되긴되었을 듯 한데

저 R1과 R2의 역할이 어떻게 되는지 모르겠네..

 

R2로 인한 feedback이 핵심인가?

[링크 : https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2304140030_KEC-Semicon-KRC107S-RTK-P_C8559.pdf]

'이론 관련 > 전기 전자' 카테고리의 다른 글

택 스위치(TACTILE SWITCH)  (0) 2024.09.03
spi 통신 cpol cpha  (0) 2024.08.28
BJT - bipolar junction transistor  (0) 2024.08.13
clock is gated  (0) 2024.07.19
싱크 인터페이스, 소스 인터페이스  (0) 2024.07.11
Posted by 구차니
프로그램 사용/Blender2024. 8. 20. 00:37

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

blender shader editor (4.2 bloom)  (0) 2024.08.29
blender set origin  (0) 2024.08.23
blender snap(붙이기)  (0) 2024.08.16
블렌더 축이동 제한하기  (0) 2024.08.14
blender cloth simulation  (0) 2024.08.08
Posted by 구차니

어우.. 날씨가 무슨..

어제는 비가 좀 와서 아침에 27도 정도길래

이제 좀 시원해지나 싶었더니 낮에는 37도.. 너무한거 아니냐고 -_-

 

전기는 이제 곧 300kw

이번달 400kw는 우습겠구만 ㅠㅠ

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

영풍문고 다녀옴  (0) 2024.08.24
개피곤 개더워  (0) 2024.08.22
tv 파괴 2차  (0) 2024.08.18
다이소 구리스  (0) 2024.08.17
공기 청정기 분해/개조  (2) 2024.08.11
Posted by 구차니
프로그램 사용/kinect2024. 8. 18. 23:39

오늘 우분트 24.04 설치하려고 쑈하다가

bios 설정에서 Express Card Link Speed를 발견

어...라.. Gen1과 Gen2.. 설마...

 

후다닥 다시 빌드

$ git clone https://github.com/OpenKinect/libfreenect2.git
$ cd libfreenect2/
$ mkdir build
$ cd build/
$ cmake .. -DENABLE_CUDA=OFF
$ make -j4
$ cd bin
$ sudo ./Protonect

 

실행... 성공!

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

libfreenect2 성공  (0) 2024.07.17
libfreenect2 실행 성공..  (0) 2024.07.15
libfreenect2 실행 실패  (0) 2024.07.14
libfreenect2 CUDA 끄고 빌드 성공  (0) 2024.07.13
kinect v2 / freenect 실패  (0) 2024.07.09
Posted by 구차니

후.. 이번에도(?) 애들이 둘다 아니라고 하는데

왼쪽 하단이라.. 새가 쪼았나 싶기도 하고.. (높이가 되나?)

이걸 핑계로 티비 치우고 수신료 빼버릴까 싶다.

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

개피곤 개더워  (0) 2024.08.22
개피곤 개더움  (0) 2024.08.19
다이소 구리스  (0) 2024.08.17
공기 청정기 분해/개조  (2) 2024.08.11
물놀이  (0) 2024.08.04
Posted by 구차니
Linux/Ubuntu2024. 8. 18. 16:19

어찌어찌 겨우겨우 설치 성공

rufus 에서 GPT 파티션으로 설치하게 한다음

부트 옵션에서 EFI 로 선택해 /boot/efi/ubunut.efi 였나/ 그걸 선택해서 겨우 설치완료

elitebook 2760p의 UEFI 지원이 미흡해서 그런진 모르겠지만

22.10 이후 부터 UEFI로 강제되면서 설치가 좀 어려워진 감이 있나 보다.. 정도로 요약

[링크 : https://askubuntu.com/questions/1406886/does-ubuntu-22-04-require-a-uefi-instead-of-a-bios]

Posted by 구차니
Linux/Ubuntu2024. 8. 17. 22:38

22.04 사용중이고

24.04가 나온지 오래되었는데 왜 do-relase-upgrade를 하면 없다고 나올까?

-d 옵션은 개발 릴리즈인데 왜 이걸로 해야 24.04가 나올까?

  -d, --devel-release   지원되는 최신 릴리스를 사용하는 경우, 개발 릴리스로 업그레이드하십시오

 

do-release-upgrade -c
새 우분투 배포판 확인
사용 가능한 LTS의 개발 버전이 없습니다.
최신 non-LTS 개발 릴리스로 업그레이드 하려면 
/etc/update-manager/release-upgrades 에서 Prompt=normal 을 설정합니다.

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"
minimonk@mini2760p:~$ 

cat /etc/update-manager/release-upgrades
# Default behavior for the release upgrader.

[DEFAULT]
# Default prompting and upgrade behavior, valid options:
#
#  never  - Never check for, or allow upgrading to, a new release.
#  normal - Check to see if a new release is available.  If more than one new
#           release is found, the release upgrader will attempt to upgrade to
#           the supported release that immediately succeeds the
#           currently-running release.
#  lts    - Check to see if a new LTS release is available.  The upgrader
#           will attempt to upgrade to the first LTS release available after
#           the currently-running one.  Note that if this option is used and
#           the currently-running release is not itself an LTS release the
#           upgrader will assume prompt was meant to be normal.
Prompt=lts

$ do-release-upgrade -d
새 우분투 배포판 확인

= Welcome to Ubuntu 24.04 LTS 'Noble Numbat' =

The Ubuntu team is proud to announce Ubuntu 24.04 LTS 'Noble Numbat'.

To see what's new in this release, visit:
  https://wiki.ubuntu.com/NobleNumbat/ReleaseNotes

Ubuntu is a Linux distribution for your desktop or server, with a fast
and easy install, regular releases, a tight selection of excellent
applications installed by default, and almost any other software you
can imagine available through the network.

We hope you enjoy Ubuntu.

== Feedback and Helping ==

If you would like to help shape Ubuntu, take a look at the list of
ways you can participate at

  http://www.ubuntu.com/community/participate/

Your comments, bug reports, patches and suggestions will help ensure
that our next release is the best release of Ubuntu ever.  If you feel
that you have found a bug please read:

  http://help.ubuntu.com/community/ReportingBugs

Then report bugs using apport in Ubuntu.  For example:

  ubuntu-bug linux

will open a bug report in Launchpad regarding the linux package.

If you have a question, or if you think you may have found a bug but
aren't sure, first try asking on the #ubuntu or #ubuntu-bugs IRC
channels on Libera.Chat, on the Ubuntu Users mailing list, or on the
Ubuntu forums:

  http://help.ubuntu.com/community/InternetRelayChat
  http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
  http://www.ubuntuforums.org/


== More Information ==

You can find out more about Ubuntu on our website, IRC channel and wiki.
If you're new to Ubuntu, please visit:

  http://www.ubuntu.com/


To sign up for future Ubuntu announcements, please subscribe to Ubuntu's
very low volume announcement list at:

  http://lists.ubuntu.com/mailman/listinfo/ubuntu-announce


계속 [yN]

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

dpkg로 설치한 패키지 삭제하기  (0) 2024.09.06
24.04 설치 성공  (0) 2024.08.18
/dev/tty에서 한글 출력하기 fbterm  (0) 2024.08.16
gpm - general purpose mouse  (0) 2024.08.16
ubuntu wake up  (0) 2024.08.12
Posted by 구차니