Post

2022-12-21-TIL

2022-12-21-TIL

Today I Learned

Go Memory Stack

  • https://medium.com/eureka-engineering/understanding-allocations-in-go-stack-heap-memory-9a2631b5035d

Java String

자바에서 String은 Object를 상속하는 객체 타입이다. 따라서 타입으로 저장하면 객체로 생성되고 그 객체에 대한 레퍼런스값이 저장될 것이다. 이 값은 64비트 메모리인 경우네는 64비트 주소값을 가지게 될 것이다.

  • https://medium.com/omarelgabrys-blog/more-about-strings-in-java-fb2480af8a19
  • https://stackoverflow.com/questions/51466358/how-is-string-a-reference-type-in-java
  • https://dzone.com/articles/java-object-size-estimation-measuring-verifying
  • https://www.artima.com/insidejvm/ed2/jvm3.html
  • https://docs.oracle.com/javase/specs/jvms/se6/html/Overview.doc.html#7565
  • https://medium.com/@kavindaperera25/data-types-in-jvm-e45eedd00435

Java Equals and HashCode

자바에서 eaquals와 hashCode를 통해 동등 비교를 한다.

  • https://mangkyu.tistory.com/101

Java String Constant Pool

  • https://starkying.tistory.com/entry/what-is-java-string-pool

Strings in Golang

  • https://perennialsky.medium.com/how-string-works-in-golang-7ac4d797164b
  • https://www.geeksforgeeks.org/strings-in-golang/

Layred Architecture

  • https://www.youtube.com/watch?v=QYDHxlpr04U
  • https://www.baeldung.com/spring-boot-clean-architecture
  • https://medium.com/swlh/designing-a-multi-layered-architecture-for-building-restful-web-services-with-spring-boot-and-a12ef85b77c9
  • https://www.javaguides.net/2020/07/spring-boot-project-architecture.html

Permission Check

웹에서 클라이언트가 권한에 따라 특정 요청을 하려면 어떻게 해야할까?

방법1) 토큰에 권한 정보를 담아서 요청하면, 요청에 맞는 응답을 내려준다.

  • https://developer.atlassian.com/server/confluence/how-do-i-tell-if-a-user-has-permission-to/

Spring Blob Image Upload

  • https://medium.com/javarevisited/how-to-upload-file-to-azure-blob-using-spring-boot-8f0125b7f8af
  • https://www.appsloveworld.com/springmvc/100/76/when-saving-an-image-as-blob-how-to-display-it-in-jsp-with-text
  • https://www.baeldung.com/spring-controller-return-image-file
  • https://okky.kr/articles/568850
  • https://www.youtube.com/watch?v=TDa-if619FM
  • https://kkh0977.tistory.com/988
  • https://thisisspear.tistory.com/68
  • https://stackoverflow.com/questions/70389992/how-to-convert-blob-to-image-with-spring

Java Static Block vs Contructor

  • https://johngrib.github.io/wiki/java-inner-class-may-be-static/
  • https://study.com/academy/lesson/static-block-vs-constructor-in-java.html

Java HashMap Custom Key

  • http://www.gisdeveloper.co.kr/?p=5332

Java Logging with MDC

  • https://www.baeldung.com/mdc-in-log4j-2-logback

IOTA

  • https://www.iota.org/
  • https://www.forbes.com/advisor/investing/cryptocurrency/what-is-iota/
This post is licensed under CC BY 4.0 by the author.