Blog

  • October 14, 2023 · android

    Android Compose - Manage UI state based on screen rotation

    Even if you use rememberSaveable in Android development, you should use movableContentOf if the UI has different layouts depending on the screen rotation.

  • September 14, 2023 · openai

    Using the OpenAI API Library 3 - Embeddings-based Search

    In order to query a large amount of data that the model does not know, it is possible to provide all of that data and make relevant queries, but the size of the data that can be queried to the model is very limited, so we describe how to extract the data that is primarily relevant to the query through embedding and provide that data to the model to elicit the model's answer to the query.

  • September 13, 2023 · javascript

    Adding multilingual(i18n) support in Next.js

    Learn how to set up multilingual (internationalization, i18n) support in Next.js and how to use the next-i18next library.

  • August 28, 2023 · java

    Java/Kotlin Backend Server Logging

    Let's see how to develop a Springboot-based backend server with Java/Kotlin, how to do logging, and what to pay attention to when outputting the logs. Set up Slf4j and Logback for logging, and be careful not to perform any computation when calling the logging method. Do not log when throwing an error. Use toString() to put the object's information in the log message. In Springboot, logging can be set via application properties.

  • August 24, 2023 · javascript

    Using variables in Javascript - a very brief explanation

    Be sure to declare and use variables with let and const, which were added in ES6. When reading code that uses var, be aware of variable hoisting and variable scoping.

  • August 17, 2023 · openai

    Using the OpenAI API Library 1 - Installing JupyterLab

    To prepare and learn how to use the openai API, install the Miniconda and JupyterLab tools and run a simple openai-cookbook notebook.

  • August 17, 2023 · openai

    Using the OpenAI API Library 2 - Token, Embedding

    We'll introduce tokens and embeddings, which are the basics of using the OpenAI API. Tokens are units for dividing text into smaller units to be used as input in ML. An embedding is a vector (list) of floating point numbers. The distance between two vectors indicates their relevance.

  • August 7, 2023 · railway-oriented-programming

    Railway Oriented Programming

    Railway Oriented Programming 에 대한 소개와 예제

  • August 2, 2023 · virtual camera

    Using video files as input to an Android emulator camera

    Learn how to output a video file to the camera input of an Android emulator. Create a virtual camera using OBS Studio and enable it in the Android emulator.

  • July 22, 2023 · chatgpt

    OpenAI's Chat Completion API adds function call functionality

    Describes how to leverage the function call feature of the OpenAI ChatAPI to allow an AI model to call a function and utilise the function's response to generate a final response.

  • July 4, 2023 · nginx

    Discard requests with certain characters in the request body

    Describes how to use the lua module in Nginx to drop requests if certain characters are present in the request body.

  • July 1, 2023 · nginx

    Enforcing HTTPS on a local development environment with a self-signed certificate

    This document describes how to build an Nginx Reverse Proxy server with a self-signed certificate to connect to a local server via https.

  • June 22, 2023 · chatgpt

    ChatGPT's near-term loadmap in 2023

    Unofficial OpenAI roadmap for 2023-2024. Includes cheaper and faster GPT-4, longer context windows, fine-tuning API, Stateful API, multimodality, etc.

  • June 22, 2023 · hello

    Hello Blog