Unit
타입에 반환하는 함수의 반환값을 확인하지 않으면 컴파일러 워닝이 발생함-Xfatal-warnings
옵션이 활성화 되면 컴파일도 실패됨- http4s-armeria/ArmeriaHttp4sHandler.scala at 39e3ae4847e071a80da3a8250ff6e405e58d55c6 · http4s/http4s-armeria · GitHub
Function<? super HttpService, ? HttpService>
형태의 일 경우에 Scala Function에서 바로 형변환이 되지 않기 때문에delegate => new MyHttpService(delegate)
를 해줘야 함- Decorator를 편하게 쓸수 있게 Scala Function용으로 하나 제공해주면 좋을것 같음
- sttp/AbstractArmeriaBackend.scala at d556bfacf3ed587c6622d6a362aaa1cd81911030 · softwaremill/sttp · GitHub
- [http4s-armeria/ArmeriaClientBuilder.scala at cc1ee774bedfa38387ce3eadfb002b719fbdcb6a · http4s/http4s-armeria · GitHub](https:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Windows | |
Location: C:\Users\<YourUsername>\AppData\Roaming\Mozilla\Firefox\Profiles\<YourFirefoxProfile>\chrome | |
Notes: | |
If minimize, maximize, and close buttons are no longer visible, enable the Title Bar or Menu Bar in Firefox Customize. | |
macOS | |
Location: /Users/<YourUsername>/Library/Application Support/Firefox/Profiles/<YourFirefoxProfile>/chrome | |
Notes: | |
If minimize, maximize, and close buttons overlap other controls, add the Flexible Space in Firefox Customize. |
List of oldest supported version of top 10 Linux Distros and their glibc version according to distrowatch.com.
Out of all versions with published EOLs, 2.12 is the oldest glibc still active, found in CentOS 6.8.
If CentOS 6 and 7 are eliminated, the oldest glibc is 2.23 in Ubuntu and Slackware.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |