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

  1. 2014.03.20 java 8을 윈XP에 설치하자? 2
  2. 2014.03.20 java 8 released!!
  3. 2014.03.20 java assert
  4. 2014.03.19 java thread
  5. 2014.03.19 java 날짜 관련 패키지
  6. 2014.03.19 뭘 보냐 닝겐 2
  7. 2014.03.19 umid mbook m1 배터리 교체 2
  8. 2014.03.19 2중 포인터 사용이유
  9. 2014.03.19 python이 인기라는데..
  10. 2014.03.19 MDK 할인!
Programming/Java2014. 3. 20. 17:14
한줄요약 : 7zip으로 압축풀고 수동설치 하면 됨(인스톨러 문제)



이제 윈 xp도 공식수명이 한달이 채 남지 않았는데
있는 노트북이 xp라 ㅠㅠ 사형선고 하기 싫어서 깔아보려는데
RegDeleteKeyExA() 라는 프로시저를 advapi32.dll 에서 찾을 수 없다고 에러가 발생한다.



그래서 스택느님의 검색결과에 따라
7zip을 설치하고 exe 파일에 대해 arhive open을 하니 ㄷㄷㄷ


tools.zip이 또 있으니 그거 풀어서 알아서 설치? ㅋㅋ


[링크 : http://stackoverflow.com/questions/20965564/installing-jdk8-on-windows-xp-advapi32-dll-error
[링크 : http://msdn.microsoft.com/en-us/library/ms724847%28VS.85%29.aspx]

'Programming > Java' 카테고리의 다른 글

java object serializable / ObjectInputStream + ObjectOutputStream  (0) 2014.03.24
Java Input/OutputStream 관련  (0) 2014.03.21
java 8 released!!  (0) 2014.03.20
java assert  (0) 2014.03.20
java thread  (0) 2014.03.19
Posted by 구차니
Programming/Java2014. 3. 20. 16:28
여전히 감이 안오는 람다이긴 하지만.
JDK1.8 부터 지원을 한다는데..

1.5 처럼의 대격변은 아니라서 다행인지도?

Java Programming Language

Lambda Expressions, a new language feature, has been introduced in this release. They enable you to treat functionality as a method argument, or code as data. Lambda expressions let you express instances of single-method interfaces (referred to as functional interfaces) more compactly.

Method references provide easy-to-read lambda expressions for methods that already have a name.

Default methods enable new functionality to be added to the interfaces of libraries and ensure binary compatibility with code written for older versions of those interfaces.

Repeating Annotations provide the ability to apply the same annotation type more than once to the same declaration or type use.

Type Annotations provide the ability to apply an annotation anywhere a type is used, not just on a declaration. Used with a pluggable type system, this feature enables improved type checking of your code.

Improved type inference.

Method parameter reflection.

Collections

Classes in the new java.util.stream package provide a Stream API to support functional-style operations on streams of elements. The Stream API is integrated into the Collections API, which enables bulk operations on collections, such as sequential or parallel map-reduce transformations.

Performance Improvement for HashMaps with Key Collisions


[링크 : http://www.oracle.com/technetwork/java/javase/8-whats-new-2157071.html] 

'Programming > Java' 카테고리의 다른 글

Java Input/OutputStream 관련  (0) 2014.03.21
java 8을 윈XP에 설치하자?  (2) 2014.03.20
java assert  (0) 2014.03.20
java thread  (0) 2014.03.19
java 날짜 관련 패키지  (0) 2014.03.19
Posted by 구차니
Programming/Java2014. 3. 20. 13:40
c에서의 assert 문 처럼
특정 조건에 대해서 참/거짓 시에 강제로 종료하는 역활을 한다.

[링크 : http://docs.oracle.com/javase/7/docs/technotes/guides/language/assert.html]

assert는 디버깅 용도이기 때문에
assertion mode가 꺼져있어
-ea 옵션(Enable Assertion)을 통해 디버깅 모드로 작동하도록 설정해야 한다.


[링크 : http://javacan.tistory.com/70]
[링크 : http://stackoverflow.com/questions/5509082/eclipse-enable-assertions]

'Programming > Java' 카테고리의 다른 글

java 8을 윈XP에 설치하자?  (2) 2014.03.20
java 8 released!!  (0) 2014.03.20
java thread  (0) 2014.03.19
java 날짜 관련 패키지  (0) 2014.03.19
java collection  (0) 2014.03.18
Posted by 구차니
Programming/Java2014. 3. 19. 21:09
Thread는 Runnable interface를 구현한 클래스이다.
Runnable에는 run() 메소드 하나가 있으며
thread에서 오버라이딩한 run() 을 통해 쓰레드를 실행하게 된다.

 public class Thread extends Object implements Runnable 

[링크 : http://docs.oracle.com/javase/7/docs/api/java/lang/Runnable.html]
[링크 : http://docs.oracle.com/javase/7/docs/api/java/lang/Thread.html]
 
Thread에는 쓰레드 제어관련 명령어들이 있으나
thread-safe 하지 않아서 인지 deprecated method가 많이 있다.
(이것들이 모두 deprecated되면 쓰레드는 실행하고 양보하는 것 외에는 제어가능한 게 없다?)

run() - 태스크에서 실행할 내용 구현
join() - 호출한 태스크만 실행함(해당 태스크 종료시 까지 싱글 태스크로 전환, 나머지는 sleep)
sleep() - 지정한 시간 만큼 태스크를 실행하지 않음
start() - 멀티태스크를 시작함
yield() - ?

'Programming > Java' 카테고리의 다른 글

java 8 released!!  (0) 2014.03.20
java assert  (0) 2014.03.20
java 날짜 관련 패키지  (0) 2014.03.19
java collection  (0) 2014.03.18
java generic  (0) 2014.03.18
Posted by 구차니
Programming/Java2014. 3. 19. 20:21
Date는 1.0부터
Calendar는 1.1부터 JDK에 추가되었으나
하위호환성으로 인해 Date를 주로 사용한다.

import java.util.Calendar; // 1.1 이후
import java.util.Date; // 1.0  + 호환성으로 인해 주로 사용

[링크 : http://docs.oracle.com/javase/7/docs/api/java/util/Date.html]
[링크 : http://docs.oracle.com/javase/7/docs/api/java/util/Calendar.html]

'Programming > Java' 카테고리의 다른 글

java assert  (0) 2014.03.20
java thread  (0) 2014.03.19
java collection  (0) 2014.03.18
java generic  (0) 2014.03.18
java static import  (0) 2014.03.17
Posted by 구차니
동네 놀이터에 고양이 두마리가 있어서 미친듯이 대놓고 촬영 ㅋㅋ
철망이 있어서 그런지 1m 가까이 가도 도망가지 않는 패기




냥이 : 솔로 닝겐 주제에 멀 보냐
닝겐 : 나 커플인데?
냥이 : ...


Posted by 구차니
개소리 왈왈/컴퓨터2014. 3. 19. 14:45
배터리 셀이 파괴되어 구매!
운좋게도 옥션에서 2만원에 판매중!! (개인 판매자로 추측)


유래없는 투톤 엠북 ㅋㅋㅋㅋ


원래 배터리


나쁘지 않은거 같은 투톤 ㅋㅋㅋ


그래도 흰색으로만 있는게 더 나은거 같기도 하고 ㅋㅋ


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

umid mbook m1 랜카드(marvell sd868)  (0) 2014.03.28
엠북 180도 펼치기 개조  (0) 2014.03.26
umid mbook 관련 파일방  (2) 2014.03.14
umid mbook m1 lcd 구매 + 분해기  (0) 2014.03.12
생일선물? ㅋㅋ  (2) 2014.02.01
Posted by 구차니
Programming/C Win32 MFC2014. 3. 19. 14:15
2중 포인터는 포인터에 대한 포인터 이다.
라고 하면 먼가 중의적인 설명인데...

간단하게
포인터 변수를 다른 함수에게 포인터로 넘겨주어
포인터 변수의 값(다르게 말하면 malloc()한 주소)을
변경(용량 부족으로 realloc() 하거나 새롭게 malloc() 하거나) 하는데 사용한다.

예전에 linked list를 하면서 알았던거 같은데 왜 까먹었을까 ㅠㅠ

[링크 : http://eirenehue.egloos.com/1000688]
[링크 : http://debugjung.tistory.com/258]
[링크 : http://www.devpia.com/Maeul/Contents/Detail.aspx?BoardID=50&MaeulNo=20&no=794484&ref=794461

'Programming > C Win32 MFC' 카테고리의 다른 글

vc++ vector와 Vector 차이점?  (0) 2014.07.03
순열생성관련  (0) 2014.06.27
typeof  (0) 2014.03.11
const / pointer  (0) 2014.02.25
assert()  (0) 2013.12.18
Posted by 구차니
한동안 죽어있다가 이제야 조금 살아나는 기미가 보이긴 한데
학원이나 아는 사람들에게 이야기를 들으면
요즘 각광받는 언어라고 해서 참으로 의아한..

python2 2.7.x 에서 한동안 3.x 대로의 이전이 쉽지 않았는지 거의 3년 가량을 죽어 있다가
2014년 3월 16일 3.4.0이 릴리즈 된 걸 봐서는 이제 이 언어도 살아 날지도 모르겠다.

[링크 : https://www.python.org/download/releases/]

'Programming > python(파이썬)' 카테고리의 다른 글

python sqlite3  (0) 2017.03.30
python smtplib의 신비..?  (0) 2016.12.30
python2 vs python3  (0) 2013.01.02
PyOpenGL  (0) 2011.10.04
python 3.2.2 64bit 버전 설치  (4) 2011.09.13
Posted by 구차니
중학교 때였나 고등학교 때였나
꽤나 즐겼던 게임인데 불법복제로 했었으니
이것도 질러야... 겠지? ㅋㅋㅋㅋ


Posted by 구차니