artydev

artydev @artydev

Joined:
Jul 17, 2019

artydev
articles - 250 total

Satefull components with UMAI

Demo Look Ma, no tricky hooks, nice. import { m, mount} from "umai"; let counters = []; const...

Learn More 0 0Mar 19

Create WebComponents in declarative way

Many backend developpers are reluctant at using Javascript. Needless to say, don't try to convince...

Learn More 1 0Mar 10

PopOver API

From MDN site PopOver API: The Popover API provides developers with a standard, consistent,...

Learn More 1 0Mar 2

Tau-Prolog : enhancing sample

Tau-Prolog is an implementation of Prolog in pure Javascript. Here is a basic example : // Create...

Learn More 0 0Feb 13

Simple Tau-Prolog program

Simple Tau-Prolog let session = pl.create(1000); let program = ` parent(john, mary). ...

Learn More 1 0Feb 10

Swiper JS - Slideshow made easy

What a nice library. Here is a playlist showing many use cases : SwiperJS - Ecem Gokdogan And...

Learn More 1 2Jan 22

Bridging Python and .NET: Hello CSnakes

Awesome project, look by yourself here : CSnakes

Learn More 1 0Jan 11

Communicating Sequential Processes in Javascript

Very nice intro to CSP : CSP Here is my score on quizz :-)

Learn More 1 0Dec 19 '24

nexa

A post by artydev

Learn More 0 0Dec 16 '24

Vanilla JS Signal implementation

This is a pure signal implementation in Javascript, an improved version by ChatGPT and Blackbox from...

Learn More 0 0Dec 15 '24

Plain Vanilla Web / App sites

A very interesting site for minimalists :-) https://plainvanillaweb.com

Learn More 1 0Dec 10 '24

Before opting for NextJS give a look to Jeasx

I am envolved in project which use NextJS, I really don't apprehend it's complexity. If I was asked...

Learn More 1 0Oct 23 '24

Loading pdf.js in node projects

I have struggled to import pdf.js in my project. Here is what I have done to make it work : npm...

Learn More 1 0Oct 22 '24

Showcase of a site I am creating for my familiars

<!DOCTYPE html> <html lang="it"> <head> <meta charset="UTF-8"> ...

Learn More 1 0Oct 20 '24

Simple Autocomplete

Here is a simple autocomplete using The French Government Design system. You can see a demo here...

Learn More 0 0Oct 11 '24

AJAX Request Interceptor

Somtimes you need to trace Ajax call for debugging purpose. Steve Fenton expose a nice trick to do so...

Learn More 0 2Oct 8 '24

Simple SSE Server in .Net Core

Here is a simple example: using System.Collections.Concurrent; namespace SillageLogTracer { ...

Learn More 0 0Oct 7 '24

Fetching Data with UmaiJS

/** @jsx m */ import { m, mount, redraw } from "umai"; // Utility function to debounce...

Learn More 0 0Oct 5 '24

How to Create & Deploy a Python Web Application FAST (fastHTML Tutorial)

A very nice tutorial

Learn More 0 0Sep 6 '24

FastHTML : dealing with Modals with the help of Hyperscript

Here is a nice way to open a modal in FastHTML and Hyperscript There is absolutely no...

Learn More 0 0Sep 5 '24

Format summary text with Spacy

Here is the solution proposed by Groq : import spacy from spacy import displacy from spacy.util...

Learn More 1 0Aug 30 '24

FastHTML : View PDF in browser

from fasthtml.common import * import base64 app =...

Learn More 2 0Aug 27 '24

Extractive summarization in Python wit Sumy

# %% # %pip install pymupdf # %pip install frontend # %pip install tools # %% import pymupdf #...

Learn More 0 0Aug 26 '24

Extractive summarization of PDF files with Spacy

Here is a simple script to accomplish this task : In your vitual environment run : pip install...

Learn More 1 0Aug 23 '24

FastHTML : View PDF in browser

For reasonable size pdf files, this script can suffice: from fasthtml.common import * import...

Learn More 0 0Aug 19 '24

HTML to FastHTML

Convert HTML to FT Here is the code from the example : from fasthtml.common import * app,rt =...

Learn More 1 0Aug 19 '24

FastHTML Examples

fasthtml-example

Learn More 0 0Aug 19 '24

FastHTML: Everything you need to know about this modern web framework in pure Python

FastHTML: Everything you need to know about this modern web framework in pure Python

Learn More 0 0Aug 19 '24

5 Levels Of Summarization: Novice to Expert

What a great video : 5 Levels Of Summarization: Novice to Expert

Learn More 0 0Aug 19 '24

FastHTML : Some links

Here are some interesting sites about FastHTML : Coding Crash Course

Learn More 0 0Aug 18 '24