New Date("wtf") – How well do you know JavaScript's Date class?
Link: https://jsdate.wtf
Discussion: https://news.ycombinator.com/item?id=44540241
New Date("wtf") – How well do you know JavaScript's Date class?
Link: https://jsdate.wtf
Discussion: https://news.ycombinator.com/item?id=44540241
Lee Dogeon @moreal@hackers.pub
이 글은 AI도 틀리는 JavaScript 퀴즈를 풀면서 발견한 JavaScript의 흥미로운 동작 방식에 대한 탐구 과정을 담고 있습니다. 퀴즈의 예제 코드를 실행했을 때 예상과 다른 결과가 나타난 이유를 분석하며, JavaScript에서 세미콜론 자동 삽입(Automatic Semicolon Insertion) 규칙과 쉼표 연산자의 동작 방식을 설명합니다. 특히 배열이 객체의 프로퍼티 키로 사용될 수 있는 이유를 파악하기 위해 ECMAScript 명세를 깊이 파고들어 `Symbol.toPrimitive`라는 개념을 소개합니다. 이를 통해 객체가 프로퍼티 키로 사용될 때 JavaScript 엔진이 어떻게 객체를 문자열로 변환하는지, 그리고 `Symbol.toPrimitive`를 사용하여 이 동작을 어떻게 커스터마이징할 수 있는지 보여줍니다. 비록 퀴즈의 정답과는 거리가 멀어졌지만, 이 과정에서 얻게 된 새로운 지식을 공유하며 JavaScript의 숨겨진 동작 원리를 이해하는 데 도움을 줍니다.
Read more →중고 자몽차(따뜻함) @dvbeetle@hackers.pub
이 JavaScript 퀴즈는 `age` 객체와 `preferences` 객체를 사용하여 각 이름에 대한 나이를 출력하는 문제입니다. `forEach` 메서드를 통해 배열의 각 요소(이름)를 `printAge` 함수에 전달하고, 이 함수는 템플릿 리터럴을 사용하여 "name is age" 형태의 문자열을 콘솔에 출력합니다. Claude Opus, GPT 4.5, Gemini 2.5 Pro와 같은 고급 AI 모델들도 이 문제에서 오답을 냈다는 점이 흥미롭습니다. 이 코드를 통해 JavaScript의 객체 접근과 배열 메서드 사용법을 다시 한번 상기할 수 있습니다.
Read more →Dew Drop Weekly Newsletter #440 - Week Ending July 11, 2025.
#dewdrop #newsletter #azure #cloud #aspnetcore #javascript #xaml #windev #csharp #dotnet #ai #mcp #devops #agile #IoT #mobiledev #gamedev #podcasts #m365 #sqlserver #database #data
Leanpub book LAUNCH 🚀 Unwrapping Monads & Friends: Shining Light on Functional Programming's Scariest Concepts by Kyle Simpson https://youtu.be/gcNHDun3Gg0X #books #leanpublishing #selfpublishing #booklaunch #haskell #programming #functionalprogramming #JavaScript
GitHub Copilot Vibe Coding Workshop - Free resources to build a social media website with GitHub Copilot.
#githubcopilot #vibecoding #ai #python #javascript #react #blazor #dotnet #springboot
Announcing TypeScript 5.9 Beta | by Daniel Rosenwasser.
https://devblogs.microsoft.com/typescript/announcing-typescript-5-9-beta/
A look at the state of #WebAssembly, as it turns 10. It’s getting traction in some areas (though notably game engines aren’t one of them), though a pain point is its low-level model and lack of any standard implementation of structured types or garbage collection making interfacing with dynamic languages, or indeed the web DOM, a pain. As with Java, though, the web may not be where it ends up.
I think the name has caused confusion and held it back.
I know I reflexively ignored and skipped over any mention of #WebAssembly until I realized very recently that it:
1) Is general purpose and not actually a "web" thing.
&
2) Isn't yet another name for #JavaScript.
자바스크립트에서 label for loops에서 label이 자주 사용되는 문법인가요? 어떤 의도로 만들어진거에요 #javascript
Henlo frens, i have completed my basic studies of HTML and CSS with the help of a local school, now i begin studying Javascript.
But between the JS studies, i want to practice my HTML and CSS skills, what would be the best way to do that?
I believe that trying to clone existing websites would be a cool way to upskill. Do you know of any particular website(s) that i should try and clone as a beginner? I have once worked with cloning amazon.com.
What else can i do as well? I want to focus on styling and structure as well.
Tags: #WebDevelopment #AskFedi #HTML #CSS #javascript #boost
I just updated #Anubis for the @FreeCAD infrastructure. There's now support for challenges without requiring client-side #JavaScript, and a "success... failure!"-type bug affecting #Chromium should now be fixed. Please let me know if you run into any issues! #FreeCAD
AI Repo of the Week: Generative AI for Beginners with JavaScript | by Dan Wahlin.
https://blog.codewithdan.com/ai-repo-of-the-week-generative-ai-for-beginners-with-javascript/
Prompt Coding Experiment: No code edits, only complete rewrites https://lobste.rs/s/vaiijh #ai #javascript #programming
https://www.gibney.org/prompt_coding
I'm a #programming dude who works in #javascript, #react, and #sql by day and #jellyfin and #roku by night.
I love #horror #movies, #punk #music, playing #bass #guitar and #drums, #reading #books, #skateboarding, #vinyl #records, and #opensource #software
I love #popculture and frequently speak in #movie quotes.
Time for a proper #introduction
Hi, the name's Sebin
I'm a dragon 🐲 from Germany 🇩🇪🍺🥨 working as a #webdev 👨🏻💻 making websites look pretty with #HTML, #CSS and #JavaScript with #VueJS as my forte
💻 I'm using #archlinux btw, trying very hard not to break it while tinkering with it. #selfhosting rookie
🎮 old and new, among others #MegaMan, #Minecraft, #SimCity and critically acclaimed MMORPG #FFXIV
🎧 game #soundtrack, #synthwave, #chiptune, #fmsynth
Avid #GameGrumps fan
One Billion Cells, Another Multiplayer Demo with Clojure https://lobste.rs/s/s3lg4g #clojure #databases #games #javascript #performance #web
https://cells.andersmurphy.com/
Dew Drop Weekly Newsletter #439 - Week Ending July 4, 2025.
#dewdrop #newsletter #aspnetcore #javascript #azure #xaml #windev #csharp #dotnet #ai #agile #devops #github #IoT #podcasts #m365 #sqlserver
I have to give credit to the @astro community. Any issue I enter into GitHub gets an almost immediate response that helps me solve my problems. #javascript #website #development
Reposting my #introduction after migrating. I’m 54 & live in southeastern Pennsylvania. Had 2 careers, now pondering a third. 12 years in IT then 16 years of tech blogging / podcasting & a 1.5 year stint at Google. Currently blogging about #chromebooks & #chromeOS on my own. Also covering #IoT on the side. Slowly learning #javascript through a formal program… just because! 12 years of battling #depression to make life more interesting. 😉 I enjoy #motorcycles, #LiverpoolFC & all things #Beatles ✌🏻
Fewer than 8 hours remain in our Early Bird registration. Check out this year's sessions and register today: https://techbash.com/sessions
Want to tell others about #techbash? Spread the word with flyers, banners, and more: https://techbash.com/spread-the-word
#developers #devconference #kalahari #poconos #nepa #dotnet #cloud #javascript #ai #devops #techevent
What’s coming to JavaScript: recently advanced ECMAScript proposals@lcasdevLuca Casonato 🏳️🌈
@deno_landDeno
https://deno.com/blog/updates-from-tc39
#JavaScript: Which web platform objects must be closed explicitly? I’m looking for good, commonly used examples.
Example—a Reader for a ReadableStream:
reader.releaseLock()
Reverse Engineering Vercel's BotID https://lobste.rs/s/vb1owz #javascript #reversing #web
https://www.nullpt.rs/reversing-botid
GenAIScript v2.0 - A Node.JS library.
It's been 30 years we have #Javascript. So much in technology has changed in that time. It's kind of amazing how much the language and the broader web helped shape the world.
#deno post on the history of Javascript really cements this. Can't believe it's been that long. 😅
Dew Drop Weekly Newsletter 438 - Week Ending June 27, 2025.
#dewdrop #newsletter #javascript #cloud #aspnetcore #xaml #csharp #dotnetmaui #dotnet #ai #devops #agile #IoT #mobiledev #podcasts #m365 #database #sqlserver #data #powershell
Some people still weren't born, or came of age recently and are building the future, but never before had the luxury afforded to them and they have never known a world without React, or a world with non-stupidly complex technology so they keep reinventing things like Mustache.
#mustachejs #mustache #javascript #compsci #programming #tech #technology
TechBash 2025 Early Bird Registration Ends on Monday, June 30th at 11:59pm EDT.
#techbash #developers #techevent #kalahari #poconos #devconference #nepa #dotnet #javascript #cloud #ai #devops
TechBash Early Bird discount ends at 11:59pm EDT on Monday, June 30th!
Register today and book your rooms at the Kalahari Resort with our group discount: https://zc.vg/BubFo?m=0
#techbash #devconference #developers #familyfun #nepa #poconos #kalahariresort #techevent #ai #devops #dotnet #javascript #cloud #programming
If you're building a JavaScript library and need logging, you would love LogTape
If you're building a JavaScript library and need logging, you'll probably love LogTape
LogTape offers a novel approach to logging in JavaScript libraries, designed to provide diagnostic capabilities without imposing choices on users. Unlike traditional methods such as using debug packages or custom logging systems, LogTape operates on a "library-first design" where logging is transparent and only activated when configured. This eliminates the fragmentation problem of managing multiple logging systems across different libraries. With zero dependencies and support for both ESM and CommonJS, LogTape ensures minimal impact on users' projects, avoiding dependency conflicts and enabling tree shaking. Its universal runtime support and efficient performance make it suitable for various environments. By using a hierarchical category system, LogTape prevents namespace collisions, offering a seamless developer experience with TypeScript support and structured logging patterns. LogTape provides adapters for popular logging libraries like Winston and Pino, bridging the transition for users invested in other systems. Ultimately, LogTape offers a way to enhance library capabilities while respecting users' preferences and existing choices, making it a valuable consideration for library authors.
hackers.pub · Hackers' Pub
Link author: 洪 民憙 (Hong Minhee)@hongminhee@hackers.pub
When I have some time to kill, I'll make a Desktop Environment Framework using #NuxtJS with #NuxtUI and #SQLite.
In my mind: apps would work seamlessly between desktop environment, no matter the flavor.
The idea: Apps are processes, Desktop Bus ties Window to App, multiple Desktops (screens).
#WebDev #NAS #JavaScript #Framework #DesktopEnvironment #Programming #HomeServer #Nuxt #Desktop #Browser #Web #HTML #Development #WebDevelopment #FOSS #OpenSource #OSS
Just shared my thoughts on #JavaScript library #logging on Hacker News. Explores the fragmentation problem and dependency dilemmas from a library author's perspective. Would love to hear feedback from the #winston/#Pino users.
洪 民憙 (Hong Minhee) @hongminhee@hackers.pub
LogTape offers a novel approach to logging in JavaScript libraries, designed to provide diagnostic capabilities without imposing choices on users. Unlike traditional methods such as using debug packages or custom logging systems, LogTape operates on a "library-first design" where logging is transparent and only activated when configured. This eliminates the fragmentation problem of managing multiple logging systems across different libraries. With zero dependencies and support for both ESM and CommonJS, LogTape ensures minimal impact on users' projects, avoiding dependency conflicts and enabling tree shaking. Its universal runtime support and efficient performance make it suitable for various environments. By using a hierarchical category system, LogTape prevents namespace collisions, offering a seamless developer experience with TypeScript support and structured logging patterns. LogTape provides adapters for popular logging libraries like Winston and Pino, bridging the transition for users invested in other systems. Ultimately, LogTape offers a way to enhance library capabilities while respecting users' preferences and existing choices, making it a valuable consideration for library authors.
Read more →Since I haven’t yet posted an #introduction…
Hi, Mastodon! I joined before the #twittermigration kicked off because I love exploring new apps and social media sites.
I’m a programmer by trade, usually working on web apps using #typescript and of course #javascript (we love it just the way it is lol )
I’m constantly #reading, especially #scifi, #clifi, and #solarpunk! I’m passionate about music, especially #technomusic and electronica. Catch me at #neotropolis… IYKYK 🙃
洪 民憙 (Hong Minhee) @hongminhee@hackers.pub
LogTape 1.0.0 has been released, marking a significant milestone for this zero-dependency logging library designed for the modern JavaScript ecosystem. This release emphasizes API stability and introduces high-performance features such as non-blocking sinks for console, stream, and file logging, along with the `fromAsyncSink()` function for integrating asynchronous logging operations. New sink integrations include packages for AWS CloudWatch Logs and Windows Event Log, enhancing LogTape's versatility. The update also brings a visually appealing console logging experience with the `@logtape/pretty` package, and seamless integration with existing Winston or Pino setups through adapter packages. Key developer experience enhancements include programmatic access to log levels and improved browser compatibility. LogTape 1.0.0 streamlines logging infrastructure with a comprehensive package ecosystem, offering specialized packages for various logging needs. This release provides a stable and mature logging solution, making it easier to manage and optimize logging in JavaScript applications.
Read more →I guess I should have an #introduction on here as well:
I'm a programmer and #FreeSoftware enthusiast. I've been using #Linux as my main desktop and #Emacs as my... everything... since 2008. I started off with a lot of distro hopping, my journey took me through #Ubuntu, #Fedora, #Zenwalk, #Gentoo, and #Exherbo before settling on #ArchLinux, now with #Guix on top.
I love writing software in #Lisp (either #CommonLisp or #Scheme or any other), but I don't get enough of a chance to. Except #EmacsLisp, basically all my personal projects end up being written in that. Other than that I've enjoyed writing things in #CSharp, #PHP, #Python, #JavaScript, #Ruby, #Groovy, and several other languages.
My main account is @ryuslashTom
, this is my account for experimenting with self-hosting.
Dew Drop Weekly Newsletter 437 - Week Ending June 20, 2025.
#dewdrop #newsletter #aspnetcore #javascript #cloud #xaml #windev #dotnet #cpp #csharp #ai #agile #devops #mobiledev #gamedev #podcasts #m365 #sqlserver #data #database
Chawanというターミナルウェブブラウザを知りました.
メモリセーフなNimで実?
されていてライセンスはパブリックドメインです.
同じようにターミナル上で動作するw3mやLynx系との大きな違いはJavaScriptやCSSに対応している辺りでしょうか.SixelやKittyのターミナル画像形式にも対応しています.
少し試してみました.
Chawan: TUI web browser
chawan: TUI Web Browser
chawan – A TUI web browser.
[…]
Shadow: A browser engine from scratch in Javascript https://lobste.rs/s/ydsjiy #browsers #javascript #web
https://shadow.goose.icu
Hi, sfba.social! Allow me to #introduction myself.
I just moved here from pdx.social. I can’t be summed up in a single toot, but… I love #design, #architecture, #photography, #redwoods, the #California coast, #neurodiversity, and #inclusive systems. Oh, and #parenting my three brilliantly unique kids (the hardest work I’ve ever done) and really bad puns.
My life’s work is building Oolie, our family business and Certified #BCorp helping families sleep better with #organic bedding and baby products. I hope you’ll check us out: https://oolie.com/signup
In my former career, I was into online learning, creative coding, and data visualization, even publishing a couple of books. I still love that stuff (#DataVis #Processing #p5js #d3js #JavaScript), but that feels like 1M years ago.
Expect to see posts about everything mentioned above!
Big thanks to the SFBA @moderatorsSFBA Moderators for having me.
♥️
I hate saying things which seem blindingly obvious, but when Famous People™ such as Theo on YouTube make these basic mistakes, I wonder. 🧐
So here you go:
`document.querySelector("# my-dumb-button").addEventListener(...)` is completely obsolete in the year 2025.
Never do that again please. You don't need to!
If you're wondering “well, what should I do instead?”, check the comments; we'll talk about what to do instead. Apparently it will BLOW YOUR MIND! 😂
Anime.js v4 is a lightweight JavaScript animation library with a simple, yet powerful API https://lobste.rs/s/pgusbz #browsers #design #javascript #visualization
https://animejs.com