alexkras.com

  • Archive
  • Top Posts
  • GitHub
  • LinkedIn
  • Contact

Top 28 Programming Books Recommended by Hacker News Users (Analyzed with ChatGPT)

January 19, 2025 by admin

This blog post is a collections of programming books that comes up most often in various discussion on this subject. The data was Scrapped/Polished with LLMs so take it with a grain of salt. Rank Book Title Authors Mentions 1 The Pragmatic Programmer Andrew Hunt, David Thomas 7 2 Designing Data-Intensive Applications Martin Kleppmann 6 […]

Filed Under: Software Engineering

Transcribing Speech to Text with Python and OpenAI API (Whisper)

March 1, 2023 by admin

Implementation 1. Getting OpenAI API Key 2. Install OpenAI module In your command line run 3. Generating the Transcript Modify and run the following Python script Example Back Story from 2018 In 2018 I wrote a blog post titled Transcribing Speech to Text with Python and Google Cloud Speech API. Back then, the task was […]

Filed Under: Machine Learning, Software Engineering

Load Testing Google Cloud PubSub

February 26, 2021 by admin

I wrote the following tool to do load test on Google Cloud PubSub. It’s a pretty simple but effective tool to generate a lot of data. This assumes user is using gcloud auth application-default login for credentials. In this particular examples: Every third request is adding a different attribute. Python dict as a payload that […]

Filed Under: Software Engineering

How to Manually Add Phrases to Localize.js

October 23, 2019 by admin

Localize.js is a great service. Gone are the days of having to internationalize your websites by hand. That being said, existing UI has a pretty annoying in my opinion limitation – there is no way to add phrases manually. 99% of the time, Localize.js is able to automatically pick up all of the phrases on […]

Filed Under: Tools

Golang “Set” Data Structure Example

July 8, 2019 by admin

Golang does not have built it sets. Basic functionality can be mimicked using maps with empty struct{}. Another option is to use a Boolean value, but empty struct does not use any space and therefore more efficient. Another benefit of empty struct is that Boolean value can be set to true or false, which could […]

Filed Under: Golang

Work Hard and Advertise

July 3, 2019 by admin

I recently watched the following speech by Arnold Schwarzenegger: It had a lot of good points, but one quote by Ted Turner really stood out for me: Early to bed, early to rise, work like hell, and advertise Mr. Schwarzenegger then went on to explain the meaning of the second half of this quote. It’s […]

Filed Under: Random Thoughts

Git – Merge Two or More Repositories Together and Keep History

April 7, 2019 by admin

Here are the steps that I too to merge multiple GitHub repos into one, while preserving all commit history. The process took about 30 minutes for 5 repos. As a result, I feel like my GitHub page is cleaner and code is actually better organized and easier to find. TLDR: Create new repo (or use […]

Filed Under: Git

One Year Without Self-Promotion

January 8, 2019 by admin

One year ago I decided to stop self-promoting this blog. Previously I would spend a lot of time submitting my links to Social Media sites such as Hacker News and Reddit. It was taking up a lot of my time and attention. I even got a warning from Hacker News admin for repeatedly submitting links […]

Filed Under: Business, SEO

Group Log Data by Timestamp in Python with Pandas

December 23, 2018 by admin

I often find myself with logs in the following format, exported in CSV. First column is timestamp in milliseconds, second column is timing for some request, also in milliseconds. Often I’d like to see the min, max and average request time, group by day and hour. Here is how to get this insight using Pandas […]

Filed Under: data, Python

Attach Remote Debugger to Jar File and Scala REPL

December 15, 2018 by admin

I was investigating a bug that would only happen in production and wanted to attach a debugger to a particular workflow. I could have run the entire application and attached remotely, via: In my case, I wanted to invoke a specific method and see what happens via Scala REPL. Turns out it’s pretty easy to […]

Filed Under: Scala

  • 1
  • 2
  • 3
  • …
  • 13
  • Next Page »

Copyright © 2025 · eleven40 Pro Theme on Genesis Framework · WordPress · Log in