wwoessi

Joined 9 years ago

Karma
64
Submissions
45
Member since
Jun 17
meet.hn/city/53.2190652,6.5680077/Groningen
View on Hacker News

Recent submissions

Comment · 1 year ago
This was my weekend project. Allows putting tiny react things in your HTML where ever you want. I'm going to use this because I like it more than react as it remains simple and I predominantly use HTML+JS-only now, but sometimes want a little react.

The LLMs pick it up very easily!

Comment · 1 year ago
Here's a list of tools that use the same URL structure as github enabling you to use it by just changing your url.

To navigate to your desired page more easily, go from any 'github.com/_' url to 'forgithub.com/_' and you'll get *quick links*! You can star your favorites, or after you remember them you can visit them directly.

Comment · 1 year ago
Traditional API integration workflows are cumbersome, requiring separate SDKs that bloat your project with hundreds of unnecessary files. I love the deno URL import functionality and decided to make this: https://oapis.org

As long as there's a openapi.json available at the domain, you can import a type safe fetch-function as follows:

```typescript

// Save this as test.ts and run it using `deno run --allow-net --allow-import test.ts`

// Import the chat completion function directly

import createChatCompletion from "https://oapis.org/ts/chatcompletions.com/createChatCompletio...";

// Use it without any SDK installation

const completion = await createChatCompletion({

  headers: {

    "X-LLM-API-Key": "YOUR_SECRET",

    "X-LLM-Base-Path": "https://api.deepseek.com/v1",

  },

  body: {

    messages: [

      { role: "system", content: "You are a helpful assistant." },

      { role: "user", content: "Hello!" },

    ],

    model: "deepseek-chat",

  },
});

if (completion.body) {

  console.log(completion.body.choices[0].message.content);

  //Hello! How can I assist you today? 
} else {

  console.log("ERROR", completion.status);
}

// This works like a charm!

```

Hope you like it. Feedback appreciated!

Comment · 1 year ago
bashmaps?
Comment · 1 year ago
I'd love that, but most of all I'd prefer to host things on my own servers.

Also I'd buy a pendant if I can send it to my own S3!!!!

Comment · 1 year ago
Open source makes it possible to host S3 yourself as well as any other data processing later down the line. doesn't need to be the same machine!
Comment · 1 year ago
Yesterday I made https://github.com/janwilmake/efficient-recorder and you liked it as it hit the front-page of HN.

I couldn't sleep tonight and decided to whip this up...

Comment · 1 year ago
I know right :') Not very efficient yet.

I've also explored Swift AVFoundation to drop frames and colours at the moment of recording, but won't be implementing it at this time.

This was just a POC, and couldn't hack it in a day.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton