Better HN
topnewbestaskshowjobs
Log inSign up

quan

1,052 karma · joined Apr 14, 2008 (18y ago) · 129 submissions

ndmquan at g-m-a-i-1 github.com/mquan
Submissions

1.

Show HN: Type prompts directly in terminal shell to kickoff Claude and codex(github.com ↗)

1 points · by quan · 2d ago · discuss

comment 2w ago · link · parent

https://github.com/mquan/netflix_challenge

I'm revisiting the Netflix Prize challenge with LLM. So far I've hit the 9% improvement mark within a couple weeks. I seem to have hit a wall in the last week or so with no further progress. I'm hopeful to hit the 10% goal with one of the many experimentations though.

3.

Show HN: Visualize Repetitive Lyrics(mquan.github.io ↗)

2 points · by quan · 10mo ago · discuss

4.

Show HN: Proxy MCP server that lazy loads tools to save tokens(github.com ↗)

1 points · by quan · 10mo ago · discuss

comment 10mo ago · link · parent

I’m working on a proxy MCP server that lazy loads tools to save tokens https://github.com/mquan/nimble. It includes a dashboard for connecting and configuring MCP servers.

6.

Why is there a tiny hole in the airplane window? (2023)(afar.com ↗)

84 points · by quan · 10mo ago · 44 comments

comment 2y ago · link · parent

Reminds me of this old clip https://m.youtube.com/watch?v=3Lyex2tSUyA

comment 2y ago · link · parent

During the holiday season in December, I got my 9yr old son into programming by making games with LLM. We made a few browser games, and by the end of it he could write the prompt himself, copy the code to the right places, understand what a function does and add objects to the game by modifying an array.

What I learned is llm gives you the activation energy, you just type a few sentences to get the momentum going. To get the reward feedback cycle going you’ll want to add graphics as early as possible.

The most difficult part is to be by his side and ready to jump in whenever a missing coma breaks the entire game. You’ll also need to keep scope under control, I’d alway steer him away from doing any complicated animation. There’re plenty of opportunity to teach but be realistic that it’s not real programming

Here’s an example that I put online so he can share with friends: https://mquan.github.io/k.ai/coin-collector/

9.

Introduction to htmx(refine.dev ↗)

22 points · by quan · 2y ago · 3 comments

comment 3y ago · link · parent

afaik, the langchain solution loads entire openAPI spec which consumes a lot of token and won't work for many large API. For efficient token usage, api2ai divides the task into two steps: api planning and params parsing. First step takes a summarization of all the endpoints. Once the endpoint is known, we parse params using the schema of the selected endpoint.

comment 3y ago · link · parent

I open sourced this tool that takes OpenAPI spec and let you control API using natural language https://github.com/mquan/api2ai

Let me know if you have any questions or feature request

comment 3y ago · link · parent

I created api2ai (https://github.com/mquan/api2ai) to solve this. You provide an OpenAPI spec and auth data to spin up an agent for your API. It’s still low level and requires dev work. But I’m working on building tools to bring it to end users

comment 3y ago · link · parent

I created api2ai, I agree that we want to get consistent result, but that can be solved by looking up cached AI results. If the input is user driven then you’ll need AI to decipher the natural language.

comment 3y ago · link · parent

It’s done in two steps: 1. Create an array of every endpoint’s summary text and ask AI to select one based on the user prompt 2. Use function calling with parameters of the selected operation in step 1

15.

Show HN: Api2ai – create an API agent from any OpenAPI Spec(github.com ↗)

23 points · by quan · 3y ago · 5 comments

comment 8y ago · link · parent

Same as your dad, five of my uncles fought in the war on the U.S. side, my grandfather and granduncle served in the South Vietnamese government in high positions. My family was persecuted after the war, many fled, the ones that stayed spent time in prison and fled after.

In college, I read a lot on the Vietnam war and learned about the Tet Offensive with the Hue massacre by the Vietcong, the Land Reform prior to that. But I don't see how the photos at My Lai is "pure propaganda." If you spend some time to learn about the tragic event you will find that there were a big cover up and for over 500 human lives lost, only one man was charged and subsequently pardoned.

The U.S. committed to a war when it didn't understand the people or history of Vietnam. Vietnam has a long history of fighting foreign invaders, and most people perceive the U.S. as such as they are just replacing the French when they withdrew after Dien Bien Phu in 1954. Till this day, most Vietnamese people consider China to be their biggest enemy even though the two countries share the same political ideology.

17.

How Facebook's Instagram Acquisition Led to the Open Sourcing of React.js(stackshare.io ↗)

4 points · by quan · 9y ago · discuss

comment 9y ago · link · parent

Yes absolutely, I'm only curious because his essays inspire me to think differently about work and attracted me to this community. Thanks for your answer

comment 9y ago · link · parent

What happened to pg, is he still involved in YC day to day operation or the application process?

comment 10y ago · link · parent

If you google "nine-dash line", which violates UNCLOS, you'll understand why the ASEAN countries are upset and rightly so. China has visibly flexed their muscle in the region in recent years with building military bases, adding land to underwater islands so they can claim sea territory around them, and attacking fishing boats in disputed region. Some of this happen to dispute with Japan as well. With the economy not going well, I'm afraid this may be the Communist Party's strategy to diffuse tensions at home in order to hold on to power.

comment 10y ago · link · parent

In addition, I find the claim crediting the Communist government for adopting Latin character to be bogus. If this is true, then south Vietnam would be a lot more illiterate than the north and not the thriving commercial and research center it is today, simply because these government-sponsored programs would be most effective in the northern part where the central government is. In fact, the Communist government was driven out into hiding in rural area as soon as they declared independence. So they wouldn't have the time or mean to implement country-wide education reforms. As one data point, my grandma, who did not come from privileged background and was born in 1920 and like most of her peers spoke and wrote French and Vietnamese fluently, received all her education prior to 1945. I'm pretty sure the Latin writing adoption was started much earlier and it was more natural simply because it's closest to French, which was the official language at the time

22.

Speaking piano – generating speech with a piano [video](youtube.com ↗)

1 points · by quan · 11y ago · discuss

23.

All about Nikola Tesla(tesla.aziznatour.com ↗)

2 points · by quan · 11y ago · discuss

24.

Feeling like you're an expert can make you closed-minded(digest.bps.org.uk ↗)

1 points · by quan · 11y ago · discuss

comment 11y ago · link · parent

Is there any inflationary effect to the $1.25/day figure that has been used since the 1980s? It's not clear from the article whether it's adjusted for inflation.

26.

Dmail – self-destructing email chrome extension(mail.delicious.com ↗)

3 points · by quan · 11y ago · 2 comments

comment 11y ago · link · parent

My experience with Robinhood has been completely negative. I recently worked on a loan and needed to show the Robinhood transfer to my bank. Since there's no web interface you can't get the current month printout. There's no phone number to call, and it took them 3 days to reply to the zendesk ticket only to say they can't do anything and I have to wait til end of the month. The actual statement is only available a week after beginning of the month. Never again. I closed out my account and deleted the app.

comment 13y ago · link · parent

I'd love to see this used on Fox News to fact check everything they say in real time.

comment 13y ago · link · parent

I found this screencast by Tom Dale very comprehensive and extremely easy to follow http://www.youtube.com/watch?v=Ga99hMi7wfY

30.

Lactate - a featureful static file server for Node.js(weltschmerz.github.com ↗)

1 points · by quan · 14y ago · discuss

12345