1
2
3
Engineering a Fast Logger (blog.coderspirit.xyz)
submitted 1 month ago by to c/javascript@lemmy.ml
 
 

Hi! :) .

I've recently developed a NodeJS+ESM-only highly efficient logger (Logtau), and I wanted to share some insights on the work done to achieve its performance properties.

I hope you'll like it.

4
5
6
 
 

Im investigating an idea i had about React-like syntax for webcomponents after some experience with Lit.

Lit is a nice lightweight UI framework, but i didnt like that it was using class-based components. It's an acquired taste I haven't acquired.

Vue has a nice approach but i prefer working with the syntax that React uses. I find it more intuitive for debugging and deterministic rendering. I wondered if with webcomponents, i could create a UI framework that didnt need to be transpiled.

(My intentions with this framework is to get to a reasonable level of stability, to then replace React on some of my existing projects.)

IMPORTANT: Dont be misled by it being open-source. Im not trying to promote "yet another ui framework", this is my own investigation to see what is possible. You should not use this framework in your own code. It is not production-ready. It is not on NPM. It is intended for myself on my own projects. This project is far from finished. I am sharing because it might be interesting/educational for someone. Feel free to reach out for clarity if you have any questions.

7
8
 
 

I’m not a kid, but was told this JS kids book could be a good even for adults new to coding.

9
10
11
12
13
14
15
 
 

**🎉 JavaScript Turns 30 Years Old

Back in May 1995, a 33 year old Brendan Eich built the first prototype of JavaScript in just ten days, originally codenamed Mocha (and then LiveScript). On December 4, 1995, Netscape and Sun Microsystems officially announced 'JavaScript' in a press release as "an easy-to-use object scripting language designed for creating live online applications that link together objects and resources on both clients and servers."

Over thirty years, JavaScript has cemented its place at the heart of the Web platform, and more broadly in desktop apps, operating systems (e.g. Windows' use of React Native), mobile apps, and even on microcontrollers.**

16
17
18
19
20
21
22
23
24
 
 

cross-posted from: https://lemmy.ml/post/35949063

In Lemmy, we've removed the TopSixHours / TopXTime in favor of a more fine grained time_range_seconds field. You can see it in action in this PR

The problem is, we need a good UI picker for a time interval: IE things like 5 seconds, 4 days, 7 months, etc.

I've found a million libraries for specific date and time pickers, but not a single one for time intervals.

Does anyone know of any?

Thanks in advance.

25
view more: next ›