Some gibberish

I'm pretty much torn between deciding to spend time on drawing and exercise coding these days. I'd love to advance my career and expand my knowledge base but at the same time, I also want to improve my art skill. I ended up doing nothing, jokes on me, I guess 🤡.  There's a lot of thing I've been wanting to learn like low level programming (C) and other in-depth stuff like sql architecture, db optimization and indexing strategy. Aaaaahhh, there's so many things to learn. I'm also not happy with my current job (not salary wise, I think it's decent) and planning on taking a new position somewhere else.   Not to mention I have a lot of illnesses these days, damn you aging.

Leetcode problems

 An archive for my Leetcode problems I've solved. 1578. Minimum Time to Make Rope Colorful Elixir defmodule Solution do   @spec min_cost(colors :: String .t, needed_time :: [integer]) :: integer   def min_cost (colors, needed_time) do     color_graph = colors |> String .graphemes()     Enum .zip(color_graph, needed_time)     |> traverse( 0 )   end   defp traverse ([], accumulator), do: accumulator   defp traverse ([{char, time_a} | [{char, time_b} | tail]], accumulator) when time_a > time_b,     do: traverse([{char, time_a} | tail], accumulator + time_b)   defp traverse ([{char, time_a} | [{char, time_b} | tail]], accumulator) when time_a <= time_b,     do: traverse([{char, time_b} | tail], accumulator + time_a)   defp traverse ([ _ | tail], accumulator), do: traverse(tail, accumulator) end 125. Valid Palindrome Elixir defmodule Solution do   @spec is_palindrome(s :: String .t) :: boolean   def is_palindrome (s) do     regex = ~r/[ \!\@\#\%\^\&\

Things I usually have in my backpack and crossbody bag

As much as I would like to reduce my backpack's weight, it is impossible due to my current situation. First, the computer provided for my work is too underperforming, it's equipped with an intel core i5 ivy bridge, a 12-yo processor. Everytime I want to open my c# solution, it's a pain just to wait for visual studio to load all the projects within. Second, for some reason, the monitor never works for me, I try to power it up just for it to stay on for a few minutes before shutting down completely. And lastly, I have a lot of personal applications that I usually leave it open for the entire day so installing those on a work hardware just doesn't sit very well with me. So, I have to carry a lot of personal devices back and forth every day. Prescribed pills Huawei bluetooth mouse. This one is battery-powered. Highly recommended. I even use it while playing some games like Fallout new vegas, Minecraft and Identity V. Logitech MX Keys Mini. Actually, I mostly leave this at m

Simulating, configuring and uploading to S3 locally using LocalStack and Elixir

Long story short, I have been trying to find an alternative to AWS S3 to develop my WorldLink's features locally without having to pay anything and today, I stumbled upon some interesting topics on setting up S3 locally: I'll focus only on S3 and aws-cli so if you want to have more details, you can visit the links above. Table of content: Setting up Setting up Docker Setting up AWS cli Setting up LocalStack Configuring AWS cli, LocalStack and Elixir project Uploading files to LocalStack in Elixir 1. Setting up 1.1 Setting up Docker I'm currently using WSL2 Ubuntu 22.04 and native Linux Mint 21.3 . For the complete isolation of development environment, I do NOT install Docker Desktop on my Windows partition. Yes, you can install docker locally under WSL2. Since Linux Mint and Ub

Asus Zenbook 14 OLED 2022 (UX3402) - 3 months later

So I ditched the Huawei Matebook 14 after 3 months and I haven't looked back once. Also, I'm quite lazy so I'll keep it short. Pros: - 2 thunderbolt ports + 1 HDMI port, that means I can output 3 external displays, excluding the laptop's display. So 4 displays, plenty rooms for multitasking. - Also with thunderbolt, I can buy a docking station to plug my peripheral devices while charging using only 1 usb-c port. - OLED display, it's superb in everyway. Nothing much to say about how great OLED is. I usually put the brightness up to 75-80 max. That helps prevent burn-in and it's bright enough to do anything I want. - Decent performance, I bought the i5 model. It's not too bad, I can play a few games decently with it (identity v, gta 4, fnv, skyrim, etc). Not for playing AAA games tho. - Quite light, only 1.4kg - The keyboard is pretty much on par with Thinkpad's - Sleek design and a good big touchpad with gesture support - Decent internal microphone with a

I should update this blog more often

 The initial purpose of this blog is to archive my knowledge about whatever I learned during my work and my OC lores as well as worldbuilding. But it's been a while and I haven't actually updated anything.
 So I've only been focusing on drawing the past one and a half year. I've made progress but I still need and rely on references heavily. Alas, I wish that I spent more time drawing back in the day. But oh well.

Popular posts from this blog

Simulating, configuring and uploading to S3 locally using LocalStack and Elixir

Asus Zenbook 14 OLED 2022 (UX3402) - 3 months later