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

  1. 2015.11.05 공짜 matlab? octave
  2. 2015.11.04 mediawiki extension - deletehistory
  3. 2015.11.02 gstreamer pipeline
  4. 2015.10.21 gcc 초기화 관련
  5. 2015.10.20 gimp fisheye correction
  6. 2015.10.20 hugin fisheye correction
  7. 2015.09.24 ssh X11 forwarding 속도 향상
  8. 2015.09.16 modbus 프로토콜
  9. 2015.09.15 vlc 옵션 -vvv
  10. 2015.09.11 dash with VLC
프로그램 사용/octave2015. 11. 5. 12:38

나중에 봐야겠.....

(나중은 안본다는 의미..!)


octave - GNU Octave language for numerical computations


[링크 : https://www.gnu.org/software/octave/]



+

3.8 부터 GUI가 생긴것 같고..

라즈베리에 있는 3.6.2는 --force-gui 옵션이 안 먹는 버전인듯?

[링크 : http://ubuntuforums.org/showthread.php?t=2196608]


+

윈도우 포트도 존재하지만 native가 아닌 mingw나 cygwin 위에서 도는 듯

[링크 : http://wiki.octave.org/Octave_for_Microsoft_Windows]

[링크 : https://ftp.gnu.org/gnu/octave/windows/]


엌..

JRE와 QT 라던가.. 이 기묘한 조합은 머지?






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

octave audioread wav  (0) 2023.07.12
Posted by 구차니
프로그램 사용/wiki2015. 11. 4. 14:38

아직 실행은 누르기 겁나서..

백업해놓고 하던가 해야지.. 끄응


현재 사용중인 미디어 위키는.. 기사를 편집하는데

예전에 위키시스템을 모르고 그냥 막 편집해서..

우비 무료 호스팅 100MB를 훌쩍 넘은 DB용량으로 인해 1기가 호스팅으로 전환하게 되었다.


원인은.. 1년치 기사를 계속 편집했다는 것..

하루하루 용량이 늘어가는 페이지라

diff로 저장된게 아닌 오리지널 데이터가 계속 축적되다 보니

마지막 데이터는 700KB.. 이게 1년 365일 쌓이면 255,500KB = 255MB 인데

처음에는 이렇게 크지 않았으니 용량이 부족해 질거라고는 상상도 못했..


아무튼 찾다보니 이력을 삭제해주는 녀석이 있는데

sysop 권한이 없으면 아래와 같이 나오고


권한을 주게 되면


다른 특수 문서에 delete history라는 링크가 생성된다.


누르면 체크/삭제/삭제+최적화 라고 나오는데


특정 글에 대한것만 지우는게 아니라 전부 지우는건가 싶어서 겁나서 못 누르는중 ㅠㅠ


미친척 히스토리 삭제 + optimzie 하니..

모든 문서에 대한 히스토리/리비전 삭제 ㄷㄷㄷ

선택적으로는 불가능 한거니?!?!? ㅠㅠ





+

archive된 녀석들을 압축해주는 관리용 페이지가 존재하는 듯?

[링크 : https://www.mediawiki.org/wiki/Manual:Reduce_size_of_the_database]


용량이 부족해서 안된대잖아!!! ㅠㅠ

~/www/maintenance/storage$ php compressOld.php

PHP Warning:  PHP Startup: Suhosin Extension does not officially support PHP 5.2 and below anymore, because it is discontinued. Use it at your own risk. in Unknown on line 0

Compressing database minimonk

----------------------------------------------------------------------------


Starting from 0 of 59

1       대문 .x................../..................../..../

2       C_language ..................../..................../..................../..................../..................../..................../..................../..................../..................../..................../../

3       API_CUDA

4       LINUX:COMMAND .x....../

5       LINUX:STRUCT .x.........../

6       Linux_command

7       Linux_struct

8       HOBBY:BICYCLE ..................../.../

9       APP:MYSQL ............/

10      API:OPENMP ..................../............./

11      LANG:LISP ..../

12      CPP_language ......./

13      LANG:C

14      LANG:CPP

15      DEV_SUPPORT:SVN ......../

16      LINUX:DEVELOPEMENT .../

17      MICOM:AVR .../

18      기사모음 ............./

19      기사모음:2014 Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 688650 bytes) in .../www/includes/db/DatabaseMysql.php on line 195 


얘는 단순하게 숨기기 버튼이 나타나게 하는 것

[링크 : https://www.mediawiki.org/wiki/Manual:RevisionDelete]

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

mediawiki 다국어 확장 및 번역 확장  (0) 2017.01.10
mediawiki 1.28.0과 Xcache  (0) 2017.01.09
google Analystics extension  (0) 2015.06.25
mediawiki 위지윅 에디터  (0) 2015.04.16
mediawiki 무겁구나.. (1.23.9)  (0) 2015.04.14
Posted by 구차니

! 가 파이프라인 식별자 인데

아 파이프 라인 순서를 맞춰줘야 vlc에서 보일려나?


Network streaming

Stream video using RTP and network elements.


$ gst-launch   v4l2src ! video/x-raw,width=128,height=96,for‐mat=UYVY ! videoconvert ! ffenc_h263 ! video/x-h263 ! rtph263ppay pt=96 ! udpsink host=192.168.1.1 port=5000

This command would be run on the transmitter


$ gst-launch  udpsrc  port=5000 ! application/x-rtp, clock-rate=90000,payload=96  ! rtph263pdepay  queue-delay=0  !  ffdec_h263 xvimagesink

Use this command on the receiver 




[링크 : http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-helloworld.html]

[링크 : http://docs.gstreamer.com/display/GstSDK/gst-launch]

[링크 : http://processors.wiki.ti.com/index.php/Example_GStreamer_Pipelines]


+

vlc 와 gstreamer 연동?


[링크 : http://wiki.oz9aec.net/index.php/Raspberry_Pi_Camera]

[링크 : http://blog.pclewis.com/2010/02/streaming-nokia-n900-camera-to-vlc/]

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

gstreamer element 생성 gst_element_factory_make()  (0) 2021.07.13
gst fpsdisplaysink  (0) 2021.02.18
gst videorate  (0) 2021.02.09
gstreamer tee  (0) 2021.02.08
gstreamer  (0) 2015.08.05
Posted by 구차니
프로그램 사용/gcc2015. 10. 21. 11:33

C99 관련추가 내용인가?

일단은 GCC-2.5 이후 부터 지원하는 기능으로 보인다.

2009/05/28 - [Programming/C / Win32 / MFC] - C99 구조체 초기화 하기


5.22 Designated Initializers


Standard C89 requires the elements of an initializer to appear in a fixed order, the same as the order of the elements in the array or structure being initialized.


In ISO C99 you can give the elements in any order, specifying the array indices or structure field names they apply to, and GNU C allows this as an extension in C89 mode as well. This extension is not implemented in GNU C++.


To specify an array index, write `[index] =' before the element value. For example,


 

int a[6] = { [4] = 29, [2] = 15 };


is equivalent to


 

int a[6] = { 0, 0, 15, 0, 29, 0 };


The index values must be constant expressions, even if the array being initialized is automatic.


An alternative syntax for this which has been obsolete since GCC 2.5 but GCC still accepts is to write `[index]' before the element value, with no `='.


To initialize a range of elements to the same value, write `[first ... last] = value'. This is a GNU extension. For example,


 

int widths[] = { [0 ... 9] = 1, [10 ... 99] = 2, [100] = 3 };


If the value in it has side-effects, the side-effects will happen only once, not for each initialized field by the range initializer.


Note that the length of the array is the highest value specified plus one.


In a structure initializer, specify the name of a field to initialize with `.fieldname =' before the element value. For example, given the following structure,


 

struct point { int x, y; };


the following initialization


 

struct point p = { .y = yvalue, .x = xvalue };


is equivalent to


 

struct point p = { xvalue, yvalue };


Another syntax which has the same meaning, obsolete since GCC 2.5, is `fieldname:', as shown here:


 

struct point p = { y: yvalue, x: xvalue };


The `[index]' or `.fieldname' is known as a designator. You can also use a designator (or the obsolete colon syntax) when initializing a union, to specify which element of the union should be used. For example,


 

union foo { int i; double d; };


union foo f = { .d = 4 };


will convert 4 to a double to store it in the union using the second element. By contrast, casting 4 to type union foo would store it into the union as the integer i, since it is an integer. (See section 5.24 Cast to a Union Type.)


You can combine this technique of naming elements with ordinary C initialization of successive elements. Each initializer element that does not have a designator applies to the next consecutive element of the array or structure. For example,


 

int a[6] = { [1] = v1, v2, [4] = v4 };


is equivalent to


 

int a[6] = { 0, v1, v2, 0, v4, 0 };


Labeling the elements of an array initializer is especially useful when the indices are characters or belong to an enum type. For example:


 

int whitespace[256]

  = { [' '] = 1, ['\t'] = 1, ['\h'] = 1,

      ['\f'] = 1, ['\n'] = 1, ['\r'] = 1 };


You can also write a series of `.fieldname' and `[index]' designators before an `=' to specify a nested subobject to initialize; the list is taken relative to the subobject corresponding to the closest surrounding brace pair. For example, with the `struct point' declaration above:


 

struct point ptarray[10] = { [2].y = yv2, [2].x = xv2, [0].x = xv0 };


If the same field is initialized multiple times, it will have value from the last initialization. If any such overridden initialization has side-effect, it is unspecified whether the side-effect happens or not. Currently, gcc will discard them and issue a warning.


[링크 : https://gcc.gnu.org/onlinedocs/gcc-3.0.1/gcc_5.html]

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

gcc dependency .d 파일?  (0) 2016.03.28
gcc -M -MM  (0) 2015.12.17
precompiled header on GCC (라즈베리로 테스트)  (2) 2015.07.30
gcc에서 precompiled header 사용하기  (0) 2015.07.29
gcc 64bit 변수 선언하기  (0) 2015.07.14
Posted by 구차니
프로그램 사용/GIMP2015. 10. 20. 17:10

hugin 꺼 찾다 보니 gimp도 나오네


[링크 : http://docs.gimp.org/en/plug-in-lens-distortion.html]

Posted by 구차니
프로그램 사용/hugin2015. 10. 20. 17:10

뜬금없지만.. hugin에서 특징점 뽑는거.. 일종의 SIFT나 SURF 일려나?


[링크 : http://hugin.sourceforge.net/tutorials/perspective/en.shtml]

+ [링크 : http://docs.gimp.org/en/plug-in-lens-distortion.html]




+

Panomatic


From PanoTools.org Wiki

panomatic by Anael Orlinski is a tool for automatically creating control points for groups of overlapping photographs.


pan-o-matic is very similar in purpose to autopano-sift or autopano-sift-C and can be used from within hugin (and potentially other GUI front-ends[*]) as an optional control point generator.


pan-o-matic is Open Source and uses the SURF algorithm.

[링크 : http://hugin.sourceforge.net/docs/manual/Panomatic.html]

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

hugin 업그레이드~  (0) 2012.08.10
hugin - 2010.4.0 버전  (0) 2011.04.30
hugin - 광각 파노라마 합성  (4) 2010.08.20
hugin 방향이 다른 이미지 합성하기  (4) 2010.08.20
Hugin - Panorama photo stitcher  (4) 2010.08.19
Posted by 구차니



[링크 : http://xmodulo.com/how-to-speed-up-x11-forwarding-in-ssh.html]

 [링크 : http://blog.famzah.net/2010/06/11/openssh-ciphers-performance-benchmark/]

[링크 : http://www.cyberciti.biz/faq/speeding-up-ssh-x11-forwarding-with-unix-osx-linux-bsd/]

[링크 : http://ubuntuforums.org/showthread.php?t=1855933]


rpi2 + putty + xming 에서는

vlc 실행에 걸리는 시간이 차이가 거의 안나서.. 다른 좀 더 영상이 많다거나 하는 걸로 테스트 해봐야 할 듯..




Turn on compression to speed up your connection, and bring Blowfish to the top of the list. Blowfish is still relatively secure, but will be a heck of a lot quicker than AES at passing information as your computer doesn’t have to encrypt things so heavily.

[링크 : http://irrationale.com/2009/11/10/x11-over-ssh/]





Nagle 알고리즘은 패킷의 갯수를 줄이는 것

일단 적은 데이터(MTU 미만)에서는 응답속도와 tradeoff가 일어난다.

기본값은 off니까 빠릿빠릿하게 ssh 응답을 하는 듯?


4.12.4 "Disable Nagle's algorithm"


Nagle's algorithm is a detail of TCP/IP implementations that tries to minimise the number of small data packets sent down a network connection. With Nagle's algorithm enabled, PuTTY's bandwidth usage will be slightly more efficient; with it disabled, you may find you get a faster response to your keystrokes when connecting to some types of server.


The Nagle algorithm is disabled by default.

[링크 : http://the.earth.li/~sgtatham/putty/0.52/htmldoc/Chapter4.html]

Posted by 구차니

어쩌다 보니 듣게 된 프로토콜..

오토메이션 관련 de facto 프로토콜


[링크 : https://en.wikipedia.org/wiki/Modbus]

[링크 : http://irtfweb.ifa.hawaii.edu/~smokey/software/about/sixnet/modbus/modbus_protocol.pdf]

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

libmodbus 예제 프로그램  (0) 2022.05.04
libmodbus tcp 예제  (0) 2022.05.04
libmodbus  (0) 2022.05.03
modbus tcp 테스트 툴  (0) 2022.05.03
modbus tcp library  (0) 2022.04.25
Posted by 구차니
프로그램 사용/VLC2015. 9. 15. 12:00

너.. 정체가 모냐?

일단은... -vvv 옵션차이로 rtsp / http 스트리밍이 되기도 하고 안되기도 한다. -_-



      --v4l2-set-ctrls <문자열>

                                 v4l2 드라이버 제어

          Set the v4l2 driver controls to the values specified using a comma

          separated list optionally encapsulated by curly braces (e.g.:

          {video_bitrate=6000000,audio_crc=0,stream_type=3} ). To list

          available controls, increase verbosity (-vvv) or use the v4l2-ctl

          application.



      --verbose-objects <문자열>

                                 어떤 객체가 디버그 메시지를

                                 출력할지 선택

          This is a ',' separated string, each object should be prefixed by a

          '+' or a '-' to respectively enable or disable it. The keyword 'all'

          refers to all objects. Objects can be referred to by their type or

          module name. Rules applying to named objects take precedence over

          rules applying to object types. Note that you still need to use -vvv

          to actually display debug message.





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

http vlc protocol  (0) 2018.11.30
vlc for windows / ascii art ㅋㅋㅋ  (0) 2016.11.22
dash with VLC  (0) 2015.09.11
VLC dshow(캡쳐장비) 해상도 설정  (0) 2015.05.23
VLC로 multicast 테스트  (0) 2014.10.22
Posted by 구차니
프로그램 사용/VLC2015. 9. 11. 13:48

재생해보려니 안되는데?!?!?! ㅠㅠ




[링크 : https://www.youtube.com/watch?v=447-60cdu2s]

[링크 : http://www-itec.uni-klu.ac.at/dash/?page_id=6]

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

vlc for windows / ascii art ㅋㅋㅋ  (0) 2016.11.22
vlc 옵션 -vvv  (0) 2015.09.15
VLC dshow(캡쳐장비) 해상도 설정  (0) 2015.05.23
VLC로 multicast 테스트  (0) 2014.10.22
VLC에서 mms로 스트리밍 하기  (0) 2014.03.13
Posted by 구차니