Skip to content

Instantly share code, notes, and snippets.

View rkttu's full-sized avatar

Jung Hyun Nam rkttu

View GitHub Profile
@rkttu
rkttu / article.md
Created March 26, 2026 04:42
Reconsidered RAG Introduction

RAG를 다시 생각하다: "검색"이 아니라 "지식을 만드는 일"이었다

Reconsidered RAG(RRAG)라는 오픈소스 프로젝트가 어떤 질문에서 시작해서, 어떤 답에 도달했는지를 이야기합니다.


AI에게 질문하면 무슨 일이 벌어지는가

요즘 ChatGPT, Claude 같은 AI에게 질문하면 꽤 그럴듯한 답이 돌아옵니다. 하지만 이 AI들이 가진 근본적인 한계가 하나 있습니다. 학습이 끝난 시점 이후의 정보를 모른다는 것입니다. 어제 발표된 회사 내부 보고서, 지난달에 바뀐 사내 규정—이런 것은 아무리 똑똑한 AI라도 알 수 없습니다.

@rkttu
rkttu / Caddyfile
Last active March 22, 2026 14:14
핸즈온랩: 100줄로 만드는 MCP 서버 - .NET 10 파일 기반 앱 + SQLite + MCP + Azure Foundry
{$MCP_DOMAIN} {
reverse_proxy mcp-server:8080
}
@rkttu
rkttu / README.md
Last active March 22, 2026 14:13
핸즈온랩: 100줄로 만드는 MCP 서버 - .NET 10 파일 기반 앱 + SQLite + MCP — 빈 폴더에서 AI 도구 서버까지

핸즈온랩: 100줄로 만드는 MCP 서버

.NET 10 파일 기반 앱 + SQLite + MCP — 빈 폴더에서 AI 도구 서버까지

Azure Foundry에 MCP 서버를 연동하는 에이전트를 만드는 핸즈온랩은 https://gist.github.com/rkttu/96b976f747bf7e5afa48ebf7a18fb796 에서 확인하실 수 있습니다.


모듈 개요

@rkttu
rkttu / ussf.cs
Created December 29, 2025 14:45
Modernizing the AutoIt-based USSF script to C# File-based App
#!/usr/bin/env dotnet
// Copyright 2025 Alexandru Avadanii
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
@rkttu
rkttu / ImportNpkiToWinCertStore.cs
Created December 28, 2025 11:37
PoC of a program to migrate NPKI certificates to the Windows certificate store.
#:package BouncyCastle.Cryptography@2.6.2
using Org.BouncyCastle.Cryptography;
using Org.BouncyCastle.Asn1;
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.OpenSsl;
using Org.BouncyCastle.Pkcs;
using Org.BouncyCastle.Security;
using Org.BouncyCastle.X509;
@rkttu
rkttu / nativeapp.cs
Created December 8, 2025 15:46
NativeSdk Tech Demo
#:sdk NativeSdk@0.5.1
unsafe
{
const int ArraySize = 10;
// stackalloc으로 스택에 메모리 할당
int* arr = stackalloc int[ArraySize];
// 랜덤 값으로 배열 초기화
@rkttu
rkttu / apphost.cs
Last active November 18, 2025 06:23
A lightweight Aspire orchestration sample based on a .NET 10 file-based app.
#!/usr/bin/env dotnet
#:sdk Aspire.AppHost.Sdk@13.0.0
#:property PublishAot=false
#:package Aspire.Hosting.Garnet@13.0.0
#pragma warning disable ASPIRECSHARPAPPS001
using Microsoft.Extensions.Configuration;
// To specify password/secrets:
@rkttu
rkttu / Directory.Build.props
Last active November 17, 2025 03:57
A lightweight library for generating AI image prompts
<Project>
<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="\"/>
</ItemGroup>
</Project>
@rkttu
rkttu / multihost.cs
Last active November 6, 2025 04:36
Multi-host File-based App
#!/usr/bin/env dotnet
#:sdk Microsoft.NET.Sdk.Web
var builder = WebApplication.CreateBuilder(args);
using var app = builder.Build();
app.UseHttpsRedirection();
app.MapGet("/", () => "Hello from A").RequireHost("a.dev.localhost");
app.MapGet("/", () => "Hello from B").RequireHost("b.dev.localhost");
app.MapGet("/", () => "Hello from Prod");
app.Run();
@rkttu
rkttu / Program.cs
Created October 14, 2025 13:46
File-based App Sample
#!/usr/bin/env dotnet
Console.WriteLine("Hello, World!");