Better HN
topnewbestaskshowjobs
Log inSign up

ibowankenobi

4 karma · joined Sep 12, 2017 (9y ago) · 38 submissions

{ interest: "Science&Art", misc: "admin @MutaFrame", strive: "Experiment&Learn", loves: "ES5", hates: "bandwagon", language: "Javascript", workson: "Dataviz", git: "https://github.com/IbrahimTanyalcin"}
Submissions

comment 1y ago · link · parent

People have trransformed their brain because of using frameworks and do not understand how DOM works.

I pasted A LIVE example to prove you wrong and you will still attach me whatwg link. YES , when you append it is emptied! Keep a reference to the same fragment and REAPPEND to it! REUSE it. If you want to empty without appending, call replaceChildren() since it inherits from Node.

Why are people stubborn on things they dont know????

comment 1y ago · link · parent

You can absolutely reuse a document fragment

https://ibrahimtanyalcin.github.io/Cahir/

the whole rendering uses a single fragment.

comment 1y ago · link · parent

For bioinformaticians who like to combine realtime data feed via websockets + server-sent events with LLMs. Comes with samtools, htslib, bcftools and blast.

You can remove/change the files under routes folder to actually use it as a batteries included, no-build webserver that quite capable. Routes take the form

async function({express, app, info, files, serverSent, ws, memcache: cache}){ ...... })

ws => websockets serverSent => server-sent cache => key/value storage on ram

etc.

comment 1y ago · link · parent

The API design could be better. Document fragments are designed to be reused. It should accept an optional fragment key which accepts a document fragment.If not a fragment, throw, if has children, empty contents first.

comment 1y ago · link · parent

A framework agnostic component that gives granular control for uploading files, can be paired with a chat component. Supports drag and drop, conversion of large bodies of text to file, setting correct mime types and user initatated abort. Theming can be done via changing single `--bg-color` attribute. Uses Streams API for conversion of large text. Example: https://codepen.io/IbrahimTanyalcin/pen/bNNxyLo

comment 1y ago · link · parent

You can use this webcomponent to simulate LLM agent streaming response to client or hook your own logic to really receive chunked data and render it for the client. Supports multi-chat mode and custom parser logic. Includes a rudimentary diffing to make sure only the last node is re-renderend.

7.

VanillaJS LLM response streaming animation(codepen.io ↗)

1 points · by ibowankenobi · 1y ago · 1 comment

8.

Drop in Chat UI in native web component for your LLM apps(github.com ↗)

1 points · by ibowankenobi · 1y ago · discuss

9.

Native Web Component Logo Generator with Animated SVG Filter(codepen.io ↗)

1 points · by ibowankenobi · 1y ago · discuss

10.

Test-blog: GitHub Pages Blog Template with hash based routing(ibrahimtanyalcin.github.io ↗)

2 points · by ibowankenobi · 2y ago · discuss

comment 2y ago · link · parent

Uses E6 Proxy of a function that can be used both as a tagged template and an instance. Renders DOM elements both imperatively and declaratively.

12.

Cahir(github.com ↗)

3 points · by ibowankenobi · 2y ago · 1 comment

13.

JavaScript Proxies, Templates Literals and Web Components, Side by Side(npmjs.com ↗)

1 points · by ibowankenobi · 3y ago · discuss

comment 3y ago · link · parent

I wrote this bash script for converting recordings from a cheap security camera to a final .mkv file. It deals with multiple folders, sorting order, bulk processing and uses ffmpeg and mkvmerge under the hood.

15.

Merge Sort algorithm implementation without recursion, using cached binary trees(github.com ↗)

3 points · by ibowankenobi · 5y ago · discuss

16.

RafX, requestAnimationFrame based `thenable` for animations and task management(github.com ↗)

1 points · by ibowankenobi · 6y ago · discuss

17.

Lexicon-Mono-Seq, DOM Text Based Async MSA Viewer(joss.theoj.org ↗)

1 points · by ibowankenobi · 7y ago · discuss

18.

ASCII Art and Bioinformatics === LexiconMonoSeq(github.com ↗)

2 points · by ibowankenobi · 7y ago · discuss

19.

ES6 Modules and Declarative Dependencies in HTML(medium.com ↗)

1 points · by ibowankenobi · 8y ago · discuss

20.

Alternative JavaScript Module Pattern(taskq.ibrahimtanyalcin.com ↗)

1 points · by ibowankenobi · 8y ago · 1 comment

21.

Pausing/resuming browser and app logic using Taskq.js(medium.com ↗)

1 points · by ibowankenobi · 8y ago · discuss

12