Angreifer haben Schadcode in mehrere beliebte NPM-Pakete eingeschleust.| Linux-Magazin
The preface| Mikkel Høgh
When I was studying one of the hardest things in programming was memory management. In the vast majority of low-level languages (which you should at least briefly learn if you plan to boost your computer science understanding), memory is managed manu...| CodeSmash
Context: Trying to login, the request is working with success login. But for storing refreshToken, the cookie is not being set in Cookies section and not found. Backend sends set-cookie header with values but it doesn't store cookie in browser. Note: - I have mentioned below TECH STACK USED, CODE and REQUEST AND RESPONSE HEADER Backend Code: CORS: ` cors: { origin: 'https://dev.agent.example.in', methods: 'GET,HEAD,PUT,PATCH,POST,DELETE,HEAD,OPTIONS', preflightContinue: false, optionsSuccessS...| Recent Questions - Software Engineering Stack Exchange
It looks like Cloudflare is using TLS handshake fingerprinting to fight scrapers. Let's see how this can be investigated and mitigated...| Pixeljets
自作ライブラリを使ったBlueskyクライアントを実装していて遭遇したバグ。 ATriumからのfeed.getPostsでurisが21個までなら大丈夫だが22個以上だとエラーになることが発覚した。問題切り分け中… ここまで自作クライアント実装してようやく気付く問題があるんだから やっぱりドッグフーディング大事やな、、— すぎゃーん (@sugyan.com) Apr 21, 2024 at 10:21 AM 問題の詳細と対応は...| すぎゃーんメモ
Build powerful, scalable, and data-intensive apps in SQL database with NodeJS like PostgreSQL, MySQL, and SQL Server.| Tutorials
This is just a todo-list for me. It might not be completed, and of course is not production ready. You should have minikube and docker desktop installed. First of all, create a basic fastify microservice running in typescript using this tutorial. Let’s create our docker image Create a Dockerfile for your microservice like… Start minikube […]| On Coding
We’re often developing multiple Node packages at the same time, symlinking their trees around in order to test them in other projects prior to release. And sometimes we hit some pretty confusing behavior. Crazy caching issues, confounding crashes, and all manner of chaos. All resulting from one cause: Duplicate modules appearing in our Rollup.js-bundled JavaScript. […]| ChipLog — Christian Hammond
Guide to connecting your Nest app with Jagear via OpenTelemetry| Sagyam's Blog
In this article I will describe how to set a proxy in Playwright (Node.js version of Playwright). Playwright is obviously one of the best and most modern solutions to automate browsers in 2024. It uses the CDP protocol to send commands to browsers and supports Chromium, Chrome and Firefox| Pixeljets
In the ever-evolving world of web scraping, I often come across hurdles that require creative solutions and some quick code workarounds and hacks - and oh boy! this is especially true when I am working with programmatically driven browsers, which I happen to do a lot lately. Today, I'| Pixeljets
I thought I would try out ChatGPT's new API, so I decided to write a command line interface. My code is located here: I wanted it to be conversational, so it will remember your conversation history as you type. Similar to chatgpt-wrapper. https://gi...| Cognitive Computations
So I wanted to upload CSV to DynamoDB.Easy right?Not so fast. It turns out, you have to obey your provisioned write capacity. Unlike S3, "Simple Storage Service" where you simply upload a file, DynamoDB isn't "Simple". There's no "upload CSV" bu...| Cognitive Computations
Why splitting your codebase too early can quietly destroy your team’s velocity — and what to do instead. In a startup, your survival depends on how quickly you can iterate, ship features, and deliver value to end-users. This is where the foundational architecture of your startup plays a big role; additionally, things like your tech stack and choice of programming language directly affect your team’s velocity. The wrong architecture, especially premature microservices, can substantially ...| nexo blog
Social Login allows you to improve convenience for your customers and increase conversion rates for your signups and offerings. Instead of letting users fill in forms, they just need to click to sign in with LinkedIn. In the video, I| API-University
最近、オープンソースソフトウェアを利用したサプライチェイン攻撃が増加しています。そのため、プロジェクトの依存関係管理と脆弱性対策の重要性が高まっています。僕は開発プロジェクトで多くの依存パッケージを利用していますが、その依存関係の可視化と潜在的な脆弱性の検知が必要だと感じていました。 今回は、syftとgrypeという2つのツールを使って、Java...| 理系学生日記
In one of my previous blog posts, I wrote about how to Extend logs in Node.js with unique trace ID. It is a great starting point to improve logging and tracing of your application. But... can it be upgraded to somehow connect the trace IDs into a usable diagram?| juffalow.com
Recently Node.js started to support building with clang-cl on Windows. I happened to have the chance to try it out this week and while it still needs some fixups in my case, it’s mostly working very w| Joyee Cheung's Blog
Build microservices with Node.js for efficient, scalable apps. Follow our detailed guide and master communication, security, and architecture best practices.| Prismetric
Recently, I fixed a macOS-specific startup performance regression in Node.js after an extensive investigation. Along the way, I learned a lot about tools on macOS and Node| Joyee Cheung's Blog
Learn advanced error handling in Node.js applications with best practices, try-catch techniques, and exception management for robust code.| Tagline Infotech
In this article, we want to share our journey of searching for optimizations in one of Allegro’s main microservices: opbox-web. You’ll read about the issues we had to deal with and how we managed to overcome them — together with a few surprises along the way and even one golden rule broken.| blog.allegro.tech
Explore the key components and best practices of Node.js architecture to build scalable, high-performance, and efficient web applications effortlessly.| Prismetric
I extensively use AI tools for coding - primarily Claude Sonnet 3.5 in VS Code Copilot and the OpenAI ChatGPT macOS app (using the 01 and 40 models) as of December 2024. While these tools, which felt groundbreaking just months ago, have become an integral part of my daily| Pixeljets
Node.js 23 is here, and it's bringing some exciting changes and improvements to the runtime.| RisingStack Engineering
In the previous posts we looked into how the Node.js executable was made a bit more reproducible after the Node.js snapshot data and the V8 code cache were made reproducible, and did a bit of anatomy on the unreproducible V8 snapshot blobs| Joyee Cheung's Blog
In the previous post, we covered how the Node.js built-in snapshot is generated and embedded into the executable, and how I fixed the Node| Joyee Cheung's Blog
In a recent effort to make the Node.js builds reproducible again (at least on Linux), a big remaining piece was the built-in snapshot. I wrote some notes about the journey of making the Node| Joyee Cheung's Blog
Recently I landed experimental support for require()-ing synchronous ES modules in Node.js, a feature that has been long overdue| Joyee Cheung's Blog
In the previous blog post, I described the heap snapshot trick as an “abuse” of the heap snapshot API, because heap snapshots are not designed to interact with the finalizers run in the heap| Joyee Cheung's Blog
In the previous blog post, I talked about how Node.js used memory usage measurement to test against memory leaks. Sometimes that’s good enough to provide valid tests| Joyee Cheung's Blog
Like many other relatively big piece of software, Node.js is no stranger to memory leaks, and with them, fixes and regression tests| Joyee Cheung's Blog
In the last post I wrote about how I finally managed to fix the memory problems in the vm APIs, and it turned out that there was another issue blocking users from upgrading away from the End-of-Life Node| Joyee Cheung's Blog
In the last post I wrote about how a new memory management model in Node.js vm APIs was designed to fix the long-standing leaks and use-after-free issues, and we finally put together a PR that the Node| Joyee Cheung's Blog
In the last post, I wrote about how I came to work on a memory leak in the vm compilation APIs in Node| Joyee Cheung's Blog
This year I spent some time fixing a few long-standing issues in the Node.js vm APIs that had been blocking users from upgrading away from Node.js v16 (End-of-Life). It had been an interesting journey, so I decided to write a few blog posts about it. Hopefully they can be helpful for posterity| Joyee Cheung's Blog
Up until V8 10.0, the class field initializers had been broken in| Joyee Cheung's Blog
This post stems from a recent Twitter conversation and a bug I was trying to fix| Joyee Cheung's Blog
In this post, I’ll jot down some notes that I took when refactoring the uncaught exception handling routines in Node.js. Hopefully it could be useful for other people who are interested in this part of the code base, or for code archaeologists in the future| Joyee Cheung's Blog
I recently ran into a V8 test failure that only showed up in the V8 fork of Node.js but not in the upstream. Here I’ll write down my workflow used to debug the failure in case anyone (or myself) need to do this again and don’t know where to start| Joyee Cheung's Blog
I thought about writing some guides on this topic in the nodejs/node repo, but it’s easier to throw whatever tricks I personally use on the Internet first - I am also going to heavily use the pronouns “I”, “We” and “You” in this post, and talk about my personal preference here, both of which we a| Joyee Cheung's Blog
概要 2024-10-03時点のNode.jsの直近バージョンのEOL(End-of-Life, サポート期間終了)スケジュールを箇条書きにしておきます。 基本的には奇数バージョンが新機能が含まれ寿命が短いバージョンで、偶数バージョンがLTSです。 公式情報 github.com EOLスケジュール 18.x - 2025-04-30 19.x - 2023-06-01 (EOL) 20.x - 2026-04-30 21.x - 2024-06-01 (EOL) 22.x - 2027-04-30 23.x - 2025-06-01 (2024-10-15 Initial Release) …| 開発覚書はてな版
While creating Meta Preview Tool I had to build a way to grab a page’s metadata to improve the site’s experience. When users enter links into sites they expect a preview of the URL. Apps like Discord, iMessage, Messenger all show previews of URLs when they are entered. That’s why in this quick post I ... Read more The post Grab Meta Tags (Title/Description) from Sites with Node.js appeared first on Andy Feliciotti.| Andy Feliciotti
The Express.js team has released version 5.0.0, the first major version release since 2014, though it is not […]| DEVCLASS
The Node.js project has added TypeScript support – behind an “experimental” flag – with Technical Steering Committee member […]| DEVCLASS
A few years ago, I managed a team at DocuSign that was tasked with re-writing the main DocuSign web app which was used by tens of millions of users. The APIs didn’t exist yet to support our new shiny front-end app because since the beginning the web app was a .NET monolith. The API team in Seattle was taking the monolith apart and exposing RESTful APIs slowly. This API team consisted of just two engineers and had a release cycle of one month. Our front-end team in San Francisco released eve...| webapplog [tech blog]
In the fast-paced world of software development, the path to learning a new stack can feel overwhelming. With a vast array of programming languages, frameworks, and specialties, it's tough to know where to start and what skills to prioritize. Now ima...| Platformatic Blog
A look at a Node.js library called EmbedJS for RAG AI applications along with a repo to help you get started.| ashryan.io
I haven’t written much about the mechanics of my actual work in a while since many of the platforms and frameworks I used at Stripe are proprietary, making it difficult to write about them and share code in a useful manner. My new company, Vori, is a startup and we take heavy advantage of open source software, so I can more easily write about my work and share code.| Clinton Blackburn
Create an AI CLI with Pieces OS Client for efficient coding, Stack Overflow searches, and interactive sessions. Step-by-step guide included| Arindam Majumder
In this tutorial, we will learn how to handle file upload in a Node.js backend. We will cover both the front end and the back end. In the end, we will have an application that works like this. All the source code is hosted on GitHub. Key takeaways Creating| ImageKit.io Blog
In this blog I walk through the process of setting up the Intel Edison to run ubiLinux and Node.js 4.3.1 to send and receive messages with Azure IoT Hubs.| Doug Seven
Two years ago I created a small site to track what movies and shows I watch. I did it with Gatbsy because well, it was a new thing for me and I wanted to experiment with Jamstack. The idea is to create a new Markdown file for each movie or tv episode watched. A TV […] The post Migrating from Gatsby to custom Node.js script appeared first on Ricard Torres dev.| Ricard Torres dev
🚫 Problem Having to manually 😴 create unique images for Social Media (Open Graph) for your new blog posts. ✅ Solution Let's use Node.js to engineer a script to take care of this for us 😎 ❤️ Generated image This is the final result, a dynamically generated image: 🤔 How does this work? A part […] The post How to dynamically generate images with Node.js appeared first on Ricard Torres dev.| Ricard Torres dev
If you read books you have perhaps heard about Goodreads.com, the site has book reviews, season awards, and more. The most interesting part is that you can track you read, currently reading and want to read books. Yes, you could use a notepad or a spreadsheet 🤷♂️ but using the site is nice. You can […] The post Generating book lists from my Goodreads profile appeared first on Ricard Torres dev.| Ricard Torres dev
Intro: A sweet pattern that got lost in time| practica.dev
概要 Node.jsの直近バージョンのEOL(End-of-Life, サポート期間終了)スケジュールを箇条書きにしておきます。 基本的には奇数バージョンが新機能が含まれ寿命が短いバージョンで、偶数バージョンがLTSです。 公式情報 github.com EOLスケジュール 12.x - 2022-04-30 13.x - 2020-06-01(EOL) 14.x - 2023-04-30 15.x - 2021-06-01(EOL) 16.x - 2023-09-11 17.x - 2022-06-01 18.x - 2025-04-30 以前のEOL kakkoyakakko2.haten…| 開発覚書はてな版
概要 この記事では、Step Functions localとSAM LocalをDocker内で実行するサンプルを作成します。 注意点 github.com 上記のissueに記載がありますが、以下の不具合があります。 SAM CLIのバージョンが1.27.2時点で、Docker内でSAM CLI使用時に--docker-volume-basedir のパスが正しく反映されません。 Lambdaを sam local invoke で実行すると Runtime.HandlerNotFound: index.handler is undefined or not exported エラーが...| 開発覚書はてな版
概要 今回はNestJSでGraphQL を使用したサンプルです。 Code fristとSchema firstの2つのアプローチがあります。今回はCode fristのアプローチで実装していきたいと思います。 GraphQL については以下のページを参照 graphql.org NestJSのGraphQL の説明記事 docs.nestjs.com| 開発覚書はてな版
概要 今回はNestJS上でgRPCクライアントを作成したサンプルです。 gRPCについては以下のページを参照 grpc.io NestJSのgRPCの説明記事 docs.nestjs.com NestJSでgRPC Serverを作成した記事 kakkoyakakko2.hatenablog.com| 開発覚書はてな版
概要 今回はNestJS上でmonorepo機能を使用したサンプルです。 NestJSのmonorepoの説明記事は以下の通りです。 docs.nestjs.com| 開発覚書はてな版
Writing a tool at work to move our infrastructure setup to a more declarative approach. To do so, I run terraform inside AWS Lambda (will write about this some time), every time a configuration needs to be applied. I use the terraform import feature to copy configurations from test accounts, and need to do so| Nishu Goel - Product Engineer @Epilot, Web Google Developer Expert, Microsoft...
Recently I landed experimental support for require()-ing synchronous ES modules in Node.js, a feature that has been long overdue. In the pull request, I commented with my understanding about why it di| Joyee Cheung's Blog
Environment variables are declared with the ENV statement and are notated in the Dockerfile either with $VARIABLE_NAME or ${VARIABLE_NAME}. Passing variables at build-time The ENV instruction sets the environment variable to the value. The environment variables set using ENV will persist when a container is run from the resulting image. For example: The Dockerfile allows you to specify arguments […]| Federico Cargnelutti
Monitoring systems allow you to monitor changes to your front-end code base over time, catching any regression issues and monitoring the ongoing effects of any performance optimisation changes. Easy to use dashboards are a must when it comes to monitoring the state of your web apps. Companies like Calibre or SpeedCurve offer this as a […]| Federico Cargnelutti
The package mock-require is useful if you want to mock require statements in Node.js. It has a simple API that allows you to mock anything, from a single exported function to a standard library. Here’s an example: app/config.js app/services/content.js test/services/content_spec.js| Federico Cargnelutti
Angular 17 + Nodejs Express + MongoDB example - MEAN stack example - CRUD with Angular 17 connect to MongoDB, HttpClient, Router, Bootstrap 4| BezKoder
Build full stack example using Angular 17, Node.js Express, Sequelize, PostgreSQL - Angular & Nodejs CRUD example with PostgreSQL tutorial| BezKoder
Build full-stack (Angular 17 + Node.js + Express + MySQL) example: CRUD App. Node Express for REST API, Angular with HttpClient, Form Submit.| BezKoder
If you head over to Manning publishing you will find a very interesting book called Javascript on things, written by Lyza Danger Gardner. As mentioned both here as well as Jon’s developer personal developer blog (*) on numerous occasions – more and more hardware is capable of running JavaScript. Or to be more precise: they use JavaScript as their primary […]| Smart Mobile Studio
A visualization of the ethnicities of the directors and actors of the 1000 highest rated movies on IMDB (February 2016), in collaboration with Umi Syam. The idea originated from the debate of #OscarsSoWhite on social media. Thus, we made this as a contribution to the discussions about how white people are dominating the movie industry. We […]| 22.8miles
Make an entity resource file with Prisma that can be used with OAS Tools to generate an Open API document and a Node.js/Express server.| ashryan.io
Quick steps to create a Node.js, Express, and Postgres playground.| ashryan.io
Login & Registration Page with Node.js Express + Angular 17 - JWT Authentication, Role based Authorization with Node, Angular, MySQL example| BezKoder
What's special about this article?| practica.dev
🥳 We're thrilled to launch the very first version of Practica.js.| practica.dev
A journey to the world of Python packaging, a visit to the competition, a hopeful look at the future, and highlights from a disappointing discussion.| Chris Warrick
Organisations who are paying attention already know they need to have an open web API, and many already have under development or in the wild. Make sure you haven’t been caught by the pitfalls of m…| Federico Cargnelutti
Design, photography and code by Hang Do Thi Duc.| 22-8miles.com
Where the dead-bodies are covered| practica.dev
Where is our focus now?| practica.dev
Intro - Why discuss yet another ORM (or the man who had a stain on his fancy suite)?| practica.dev
Node.js is maturing. Many patterns and frameworks were embraced - it's my belief that developers' productivity dramatically increased in the past years. One downside of maturity is habits - we now reuse existing techniques more often. How is this a problem?| practica.dev
Feross Aboukhadijeh is a computer security researcher, teacher, web developer, designer, long distance runner, gamer, music lover, and builder of websites that (sometimes) go viral.| feross.org
Feross Aboukhadijeh is a computer security researcher, teacher, web developer, designer, long distance runner, gamer, music lover, and builder of websites that (sometimes) go viral.| feross.org
Listen to free MIDI songs, download the best MIDI files, and share the best MIDIs on the web.| feross.org
Give thanks to the open source maintainers you depend on| feross.org
Always using semicolons will not keep you safe from ASI| feross.org
I'm running for a seat on the Node.js Board of Directors| feross.org
Feross Aboukhadijeh is a computer security researcher, teacher, web developer, designer, long distance runner, gamer, music lover, and builder of websites that (sometimes) go viral.| feross.org
node-pg-migration is a useful library. You can add a constraint of a foreign key with a simple references property on the column. For example, you have table client_session with publishable_key column and you want to reference publishable_key column in workspace table where it is not a primary key (just a unique key). The following usage with object: schema, name, won’t work:| webapplog [tech blog]
I recently needed to update the check constraint on a Postgres table column. This check does format validation similar to regex. This check was part of the CREATE TABLE statement meaning it was created with the table. | webapplog [tech blog]
The Practical Node.js, 2nd Edition print book is finally ready. It turned out the biggest thickest book I ever wrote (500+ pages). Practical Node, 2nd Ed. is even thicker than React Quickly. My publisher Apress did a great job with design. They printed in color which means readers can see colored code, colored pictures and colored everything. This is never heard of in tech publishing (in my humble opinion). Practical Node is the same book that was the top seller on Amazon when you search for ...| webapplog.com