10 private links
Learnt about this while researching good'ol binary search
TL;DR
int mid = low + ((high - low) / 2);
or
int mid = (low + high) >>> 1;
Randomly stumbled upon this website from an article on hacker news.
https://degica.com/ looks like an interesting company.
Original article https://www.tokyodev.com/2020/10/01/recruiting-in-japan/
The new thing won’t be better, you just aren’t aware of all of the ways it will be terrible yet.
Definitely a great read
Interesting shares on µservices
Yet another day, another issue compiling software under macOS
gem install thin -v '1.6.4' -- --with-cflags="-Wno-error=implicit-function-declaration"
Credits: Mike Szyndel
A great article (spoiler alert: did not finish it yet) about backpressure
Might be interesting to look into that for the book club
One day, to play with Istio locally and learn more about it
how to fix the bundle install, quote:
It seems that the latest version of XCode tools (12 Beta 3) installs a version of Clang (the C compiler used by default on MacOS) that throws an error on implicit functions used on the native extension code of Puma.
Running the following:
bundle config build.puma --with-cflags="-Wno-error=implicit-function-declaration"
bundle install
Fixed the issue
Story shared about the difference in management between US and Japanese culture
An article about DNS that was shared by Jon Moter at Zendesk. Mentioned by Vincente de Luca as well.
some good read about literal programming that I didn't know about
tons of interesting recipes, shared by Rob
Must learn Java framework
Great data structures in Java
Learn and improve my knowledge of testing
Java checkstyle from Spring framework
In Go
package main
import (
"fmt"
"math"
"math/rand"
"time"
)
func main() {
n := 10_000_000
r := rand.New(rand.NewSource(time.Now().UnixNano()))
count := 0
for i := 0; i < n; i++ {
x := r.Float64()
y := r.Float64()
pytha := math.Sqrt(x*x + y*y)
if pytha <= 1 {
count++
}
}
fmt.Println("Pi = ", float64(count)/float64(n)*4)
}
It's beautiful
Microsoft has deemed C++ no longer acceptable for writing mission-critical software. The industry sorely needs to move to a performant, memory-safe language for its low-low system work. And the best choice on the market today is Rust, Levick said.
I can't believe how complicated it is to create a bootable USB for Windows 10. Thank you Alex!