단거리 착륙을 위해 엔진의 역분사가 이루어 지는데
이 역분사 시기에 엔진의 커버(?)가 아래와 같이 벌려진다.


아래는 이륙시의 사진인데, 엔진의 중앙에 은색 띠 처럼 벌려진 부분이 없음을 알 수 있다.



C-17 단거리 이륙


C-17 단거리 착륙 및 후진

Posted by 구차니
1분의 오차도 없는 작전을 보여드리겠습니다! 이러면서
B-52 폭격기도 역시나 지나가는 센스~
아무튼 드럽게 크긴 크고, 폭격기인지라 다른것들 보다는 훠~얼씬 높게 날아간다.






'개소리 왈왈 > 2011 에어쇼' 카테고리의 다른 글

2011 에어쇼 - AH-64D 택싱 + 이륙  (0) 2011.10.27
2011 에어쇼 - C-17 이착륙  (0) 2011.10.27
2011 에어쇼 - 지나가는 U-2  (0) 2011.10.27
2011 에어쇼 - 기타 사진들  (0) 2011.10.23
2011 에어쇼 - AH-1 cobra  (0) 2011.10.23
Posted by 구차니
동영상중 캡쳐한 사진

U-2는 성남공항에서 이륙하거나 착륙하지 않고
성남공항 상공을 지나쳐갔지만 그래도 눈으로 본게 어디야~
원래 눈에 보이지도 않게 다니는 넘인데 ㅋㅋㅋ





'개소리 왈왈 > 2011 에어쇼' 카테고리의 다른 글

2011 에어쇼 - C-17 이착륙  (0) 2011.10.27
2011 에어쇼 - 지나가는 B-52  (2) 2011.10.27
2011 에어쇼 - 기타 사진들  (0) 2011.10.23
2011 에어쇼 - AH-1 cobra  (0) 2011.10.23
2011 에어쇼 - F-15C/D & F-15K  (2) 2011.10.23
Posted by 구차니

몸도 피곤하고
마음도 지치고

취업을 한이래로 개운하다는 느낌이 든적이 없는듯 한데..
그렇다고 해서 쉰다고 마음이 정리될것 같지도 않고
대기업이나 공무원한다고 나아질것 같지도 않고

내 마음속 응어리는 꿈을 잃어간다는 신호일까?

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

시월의 끝자락  (0) 2011.10.31
25번 포트를 국가적으로 막는다고?  (0) 2011.10.31
오늘 업어온 LW25 Advanced  (0) 2011.10.25
이건머...  (2) 2011.10.13
저 차가 내쪽으로 왔더라면...  (0) 2011.09.30
Posted by 구차니
하드웨어/Network 장비2011. 10. 26. 23:09
Xnote LW20 / LW25를 사고 옆을 보니 눈에 띄는 1394 커넥터
오호라~ 예전에 질렀던(펜4 2기가 시절에 -_-) 1394 케이블을 다시 쓸날이 왔구나! 싶은데

아무튼 이녀석 링크를 하면 400Mbps로 뜨고,
예전 구형 시스템에서도 더욱 낮은 cpu 점유율과 더욱 빠른 전송속도를 보여주었던 기억이 난다.

리눅스쪽 설정
$ lspci
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 PCI-E Fast Ethernet Controller (rev 12)
06:00.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller

$ sudo modprobe eth1394

$ lsmod | grep 1394
eth1394                13318  0 
ohci1394               26950  0 
ieee1394               81181  2 eth1394,ohci1394

$ dmesg | grep 1394
[    0.281394] ACPI: Battery Slot [CMB0] (battery present)
[    2.498798] ohci1394 0000:06:00.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    2.552066] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[16]  MMIO=[bc006000-bc0067ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
[    3.824202] ieee1394: Host added: ID:BUS[0-00:1023]  GUID[5822274000e09104]
[    3.824759] ieee1394: Node added: ID:BUS[0-01:1023]  GUID[6c01156100e09104]
[  218.325001] eth1394: eth2: IPv4 over IEEE 1394 (fw-host0)
[  219.606023] ieee1394: Node changed: 0-01:1023 -> 0-00:1023
[  219.606157] ieee1394: Node changed: 0-00:1023 -> 0-01:1023

$ sudo ifconfig eth2 192.168.10.2 netmask 255.255.255.0
 
$ ifconfig
eth2      Link encap:UNSPEC  HWaddr 58-22-27-40-00-E0-91-04-00-00-00-00-00-00-00-00  
          inet addr:192.168.10.2  Bcast:192.168.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:502 errors:0 dropped:0 overruns:0 frame:0
          TX packets:384 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:34881 (34.8 KB)  TX bytes:36850 (36.8 KB)

$ vi /etc/network/interfaces 
auto lo
iface lo inet loopback

auto eth2
iface eth2 inet static
address 192.168.10.2
netmask 255.255.255.0 

$ vi /etc/modprobe.d/blacklist.conf 
# causes no end of confusion by creating unexpected network interfaces
#blacklist eth1394 

일단 eth1394의 경우에는 blacklist 처리가 되어 있어 풀어줘야 하고
ifup 스크립트 쪽에도 올려놔야 자동으로 올라올듯 하다.

[링크 : https://help.ubuntu.com/community/EthernetOverFirewire]
[링크 : http://stream-recorder.com/forum/connecting-two-ubuntu-9-10-computers-over-t5347.html]
[링크 : http://www.ubuntu.or.kr/viewtopic.php?f=21&t=19072]


윈도우쪽 설정


 TCP/IP에 대충 때려주고는 작업관리자에서 확인하면 400Mbps로 속도가 뜬다.


[링크 : http://dvvb-textcube.blogspot.com/2008/10/ubuntu-ieee1394firewire-networking.html]
Posted by 구차니
편광방식 3d를 대개 FPR이라고 하는데 retrarder는 지연/감속이라.. 도대체 어떤 의미일려나?

[링크 : http://en.wikipedia.org/wiki/Film-type_Patterned_Retarder]
Posted by 구차니
해상도 관련해서 보다가 나온 이상한 용어 -_-
간단하게 수직 해상도는 보기보다 해상도가 낮아질수 밖에 없다~ 이런걸려나?

 According to the Kell factor the reduction is to about 85%, so a 576 line PAL interlace display only has about 480 lines vertical resolution, and a 486 line NTSC interlace display has a resolution of approximately 410 lines vertical. 

[링크 : http://en.wikipedia.org/wiki/Display_resolution#Overview]

[링크 : http://en.wikipedia.org/wiki/Kell_factor]
[링크 : http://word.tta.or.kr/terms/termsView.jsp?gubun=1&terms_num=20455]
[링크 : http://vams.co.kr/bbs/...select_arrange=vote&desc=desc&no=429&cg=]

'이론 관련 > 사진 광학 관련' 카테고리의 다른 글

SPH / CYL - 안경용어  (2) 2012.01.25
FPR - Film-type patterned retarder  (0) 2011.10.26
난시 / astigmatism / 亂視  (0) 2011.10.12
양안부등 - Binocular Disparity  (0) 2011.08.25
플래시 모드(TTL / FEL Strobe)  (0) 2011.04.07
Posted by 구차니
왼쪽이 리눅스가 깔린 LW20 express
중앙이 윈도우가 깔릴 LW25 advanced 이다.

일단 모니터는 LW25에 D-SUB로 물려 놓고
간격으로 인해서 모니터 뒤에 짱박힌 스피커는 일단 잠시 보류 -_-

요녀석이 LW20


요녀석인 LW25 이다. 


LW20의 상판


LW25의 상판


확실히 동일 플랫폼에서 CPU만 변경한 모델이라 거의 동일한 디자인과 부품을 공유한다.
그래도 LW20의 파란색이 조금더 끌리는거 같은건 기분탓? ㅋ 


결론 : 직딩의 우울함은 지름신과 함께 3일간은 물러난다 ㅋㅋ 

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

25번 포트를 국가적으로 막는다고?  (0) 2011.10.31
  (0) 2011.10.27
이건머...  (2) 2011.10.13
저 차가 내쪽으로 왔더라면...  (0) 2011.09.30
월차내고 치료하러 갑니다~  (0) 2011.09.28
Posted by 구차니
개소리 왈왈/블로그2011. 10. 25. 17:58
"관리" 를 관리 페이지 메인으로 주로 써왔는데 너무 쥐콩만해져서 불편함 ㅠ.ㅠ
깔끔하긴 하지만 휑~하네 라는 느낌도 강하고...



저 쥐콩만한 "관리"를 조준해서 누르려다가 손가락에 쥐나는중 -_-


결론 :  머.. 딱히 초대장 안줘서 이러는건 아냐! 
Posted by 구차니
프로그램 사용/antlr2011. 10. 24. 22:35
우분투에서 antlr 실행 파일은 pccts 패키지에 존재한다.

$ antlr
'antlr' 프로그램은 현재 설치되어 있지 않습니다.  다음을 입력하여 이를 설치할 수 있습니다:
sudo apt-get install pccts 

$ antlr
Antlr parser generator   Version 1.33MR33   1989-2001
antlr [options] f1 f2 ... fn
    -CC            Generate C++ output (default=FALSE)
    -cr            Generate cross reference (default=FALSE)
    -ck      ___   Set compressed lookahead depth; fast approximate lookahead
    -e1            Ambiguities/errors shown in low detail (default)
    -e2            Ambiguities/errors shown in more detail
    -e3            Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)
    -f       ___   Read names of grammar files from specified file
    -fe      ___   Rename err.c
    -fh      ___   Rename stdpccts.h header (turns on -gh)
    -fl      ___   Rename lexical output--parser.dlg
    -fm      ___   Rename mode.h
    -fr      ___   Rename remap.h
    -ft      ___   Rename tokens.h
    -ga            Generate ANSI-compatible code (default=FALSE)
    -gc            Do not generate output parser code (default=FALSE)
    -gd            Generate code to trace rule invocation (default=FALSE)
    -ge            Generate an error class for each non-terminal (default=FALSE)
    -gh            Generate stdpccts.h for non-ANTLR-generated-files to include
    -gk            Generate parsers that delay lookahead fetches until needed
    -gl            Generate line info about grammar actions in C parser
    -glms          Like -gl but replace '\' with '/' in #line filenames for MS C/C++ systems
    -gp      ___   Prefix all generated rule functions with a string
    -gs            Do not generate sets for token expression lists (default=FALSE)
    -gt            Generate code for Abstract-Syntax-Trees (default=FALSE)
    -gx            Do not generate lexical (dlg-related) files (default=FALSE)
    -gxt           Do not generate tokens.h (default=FALSE)
    -k       ___   Set full LL(k) lookahead depth (default==1)
    -o       ___   Directory where all output files should go (default=".")
    -p             Print out the grammar w/o actions (default=no)
    -pa            Print out the grammar w/o actions & w/FIRST sets (default=no)
    -pr            no longer used; predicates employed if present
    -prc     ___   Turn on/off computation of context for hoisted predicates
    -rl      ___   Limit max # of tree nodes used by grammar analysis
    -stdout        Send grammar.c/grammar.cpp to stdout
    -tab     ___   Width of tabs (1 to 8) for grammar.c/grammar.cpp files
    -w1            Set the warning level to 1 (default)
    -w2            Ambiguities yield warnings even if predicates or (...)? block
    -mrhoist ___   Turn on/off k=1 Maintenance Release style hoisting
    -mrhoistk___   Turn on/off k>1 EXPERIMENTAL Maintenance Release style hoisting
    -aa      ___   Ambiguity aid for a rule (rule name or line number)
    -aam           Lookahead token may appear multiple times in -aa listing
    -aad     ___   Limits exp growth of -aa listing - default=1 (max=ck value)
    -info    ___   Extra info: p=pred t=tnodes f=first/follow m=monitor o=orphans 0=noop
    -treport ___   Report when tnode usage exceeds value during ambiguity resolution
    -newAST        In C++ mode use "newAST(...)" rather than "new AST(...)"
    -tmake         In C++ mode use parser's tmake method rather than "ASTBase::tmake(...)"
    -alpha         Provide additional information for "(alpha)? beta" error messages
    -mrblkerr      EXPERIMENTAL change to (...)* and (...)+ syntax error sets
    -nopurify      Don't use the notorious PURIFY macro (replaced by MR23 initial value syntax)
                   to zero return arguments of rules
    -              Read grammar from stdin 

[링크 : http://packages.ubuntu.com/oneiric/pccts]
[링크 : http://packages.ubuntu.com/hardy/antlr]

2011/04/23 - [Programming/언어론] - antlr - ANother Tool for Language Recognition

---
2011.11.06 추가
[링크 : http://www.antlr2.org/pccts133.html]
[링크 : http://www.antlr2.org/1.33/pccts_faq.html]
    [링크 : http://www.polhode.com/pccts.html]
    [링크 : http://www.antlr2.org/book/pcctsbk.pdf]
    [링크 : http://www.antlr2.org/1.33/tutorial.zip]

ubuntu에서 설치가능한 antlr은 PCCTS  버전으로
antlr 1.33MR33 이라고 표기되었듯이 아마도 antlr v1 으로 추정된다.
그런 이유로 이녀석으로 돌려봤자 요즘 문법은(antlr v2 / v3) 인식되지 않으며
기본적으로 생성될 경우 c언어로 출력이 나오게 된다.
$ cat poly.g
poly > [float r]
    :   <<float f;>>
        term>[$r] ( "\+" term>[f] <<$r += f;>> )*
    ;

$ antlr poly.g
Antlr parser generator   Version 1.33MR33   1989-2001
poly.g, line 3: warning: rule term not defined
poly.g, line 3: warning: rule term not defined
poly.g, line 3: warning: rule term not defined

$ cat poly.c 
/*
 * A n t l r  T r a n s l a t i o n  H e a d e r
 *
 * Terence Parr, Will Cohen, and Hank Dietz: 1989-2001
 * Purdue University Electrical Engineering
 * With AHPCRC, University of Minnesota
 * ANTLR Version 1.33MR33
 *
 *   antlr poly.g
 *
 */

#define ANTLR_VERSION	13333
#include "pcctscfg.h"
#include "pccts_stdio.h"
#define zzSET_SIZE 4
#include "antlr.h"
#include "tokens.h"
#include "dlgdef.h"
#include "mode.h"

/* MR23 In order to remove calls to PURIFY use the antlr -nopurify option */

#ifndef PCCTS_PURIFY
#define PCCTS_PURIFY(r,s) memset((char *) &(r),'\0',(s));
#endif

ANTLR_INFO

float
#ifdef __USE_PROTOS
poly(void)
#else
poly()
#endif
{
  float   _retv;
  zzRULE;
  zzBLOCK(zztasp1);
  PCCTS_PURIFY(_retv,sizeof(float  ))
  zzMake0;
  {
  float f;
  zzEXIT(zztasp1);
  return _retv;
fail:
  zzEXIT(zztasp1);
  zzsyn(zzMissText, zzBadTok, (ANTLRChar *)"", zzMissSet, zzMissTok, zzErrk, zzBadText);
  zzresynch(setwd1, 0x1);
  return _retv;
  }
}

$  cat tokens.h
#ifndef tokens_h
#define tokens_h
/* tokens.h -- List of labelled tokens and stuff
 *
 * Generated from: poly.g
 *
 * Terence Parr, Will Cohen, and Hank Dietz: 1989-2001
 * Purdue University Electrical Engineering
 * ANTLR Version 1.33MR33
 */
#define zzEOF_TOKEN 1

#ifdef __USE_PROTOS
extern float poly(void);
#else
extern float poly();
#endif

#endif
extern SetWordType setwd1[];


$  cat err.c
/*
 * A n t l r  S e t s / E r r o r  F i l e  H e a d e r
 *
 * Generated from: poly.g
 *
 * Terence Parr, Russell Quong, Will Cohen, and Hank Dietz: 1989-2001
 * Parr Research Corporation
 * with Purdue University Electrical Engineering
 * With AHPCRC, University of Minnesota
 * ANTLR Version 1.33MR33
 */

#define ANTLR_VERSION	13333
#include "pcctscfg.h"
#include "pccts_stdio.h"
#define zzSET_SIZE 4
#include "antlr.h"
#include "tokens.h"
#include "dlgdef.h"
#include "err.h"

ANTLRChar *zztokens[3]={
	/* 00 */	"Invalid",
	/* 01 */	"@",
	/* 02 */	"\\+"
};
SetWordType setwd1[3] = {0x0,0x1,0x0};

$  cat parser.dlg
<<
/* parser.dlg -- DLG Description of scanner
 *
 * Generated from: poly.g
 *
 * Terence Parr, Will Cohen, and Hank Dietz: 1989-2001
 * Purdue University Electrical Engineering
 * With AHPCRC, University of Minnesota
 * ANTLR Version 1.33MR33
 */

#define ANTLR_VERSION	13333
#include "pcctscfg.h"
#include "pccts_stdio.h"
#include "antlr.h"
#include "tokens.h"
#include "dlgdef.h"
LOOKAHEAD

void
#ifdef __USE_PROTOS
zzerraction(void)
#else
zzerraction()
#endif
{
	(*zzerr)("invalid token");
	zzadvance();
	zzskip();
}
>>


%%START

@
	<<
		NLA = 1;
	>>

\+
	<<
		NLA = 2;
	>>

%%
[링크 : http://www.rubyholic.com/Languages/PCCTS/Grammars.html

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

java를 이용한 antlr AST 탐색하기(AST navigation)  (0) 2011.11.02
ANTLR IDE 2.1.2 for ANTLR 3.0 above  (0) 2011.11.02
antlrworks  (0) 2011.11.02
antlr + eclipse & java  (0) 2011.10.30
antlr - ANother Tool for Language Recognition  (0) 2011.04.23
Posted by 구차니