Today a friend of mine checked in code that read: var stream = new fs.createReadStream(filename); The ‘new’ in the code was not intended. Our expansive auto tests passed without a glitch. In fact, the ‘stream’ variable was correctly set to the stream – exactly like if the ‘new’ keyword was not present. It turns out ...Continue reading ‘JavaScript misfeature’ »| Girish's Blog
I don’t get exceptions. There’s this theory that they should be raised for ‘exceptional’ cases. But in reality lots of API uses it as a way to just pass back the error code. Joel has already said whatever I want to say about exceptions over a decade ago, so I won’t repeat his article here. ...Continue reading ‘Introducing Safety Dance (node module)’ »| Girish's Blog
Ever since the introduction of Bun there are three runtimes to choose from when wanting to develop and run a JavaScript server. Node was the one that started it all and most applications are designed to run on that, but how would those applications fare running on the other runtimes, are they really a drop-in replacement?| iO tech_hub
Generate a sourcemap and add it to Eleventy's global data.| www.aleksandrhovhannisyan.com
Blockchain technology, rapidly evolving in 2024, serves as a foundation in various industries, including finance and healthcare. This guide aims to demystify blockchain, detailing its mechanisms, applications, and benefits. Find out what blockchain is and how new data blocks are added to the chain. We will explain the advantages and disadvantages of blockchain technology compared […]| K&C
Making it more interesting, useful and interactive.| Fight With Tools: A Dev Blog
yarn pnpm run thing npm run thing are types of run commands we run all the time when working in node.js. But, how does that actually all work? What about monorepos?| Jonathan Creamer
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
Multer makes file uploads via <form enctype="multipart/form-data"></form> really simple. If you’re looking to host user images on your filesystem and are wondering about the best practices involved, here’s what works for me.| N’s Blog
Node MySQL is a great traditional alternative to mongo and all the jazz youngins are using. One important advice – never use + to concatenate queries unless you know what you’re doing.| N’s Blog
Below is a list of tips to make writing nodejs scripts fun, fast, and easy using the frontend tools you already know like JavaScript and Typescript.| Jonathan Creamer
Quickly run typescript scripts in nodejs using esbuild via the esbuild-runner package on npmjs.| Jonathan Creamer
Working in a monorepo comes with a long list of pros, and a few cons. One of the most painful cons, when it comes to working in a specifically JavaScript based monorepo, is the pain that comes from hoisting.| Jonathan Creamer
A comprehensive methodology for conducting security reviews of blockchain infrastructure, using Reth as a practical example| Sigma Prime
Introducing an OpenFeature Multi-Provider for Node.js and JavaScript| OpenFeature Blog
Nearly a decade ago, I've written a blog on creating a debugging proxy server. Even though I could get away with a simple HTTP setup back in the day, web has changed a lot and almost every ...| alinacierdem.com
User management is part of nearly every application and it is not easy to do it in a proper secure way. One of the possibilities is to use an existing solution such as AWS Cognito.| Matej Jelluš Blog
If you are using Anthos GKE on-premise and need to determine which node of your Admin Cluster is the master, query for the master role. The label is ‘node-role.kubernetes.io/master’. $ kubectl get nodes -l node-role.kubernetes.io/master NAME STATUS ROLES AGE VERSION gke-admin-master-adfwa Ready control-plane,master 7d v1.24.9-gke.100 # using wide will also show External and Internal IP ... GKE: Determine Anthos on-prem GKE master node and IP address| Fabian Lee : Software Engineer
Container should be able to perform only a very limited set of operations and it is highly recommended to use different user from root. To achieve this both docker file and kubernetes config must be changed.| Matej Jelluš Blog
The following tutorial shows the easiest way I’ve found to deploy pretty much any application to another machine! Server Prerequisites: ☑ $ git pull the app from the server ☑ $ ssh user@server get into the server ☑ pm2 or apache2 or nginx … some kind of server is running| blog.benwinding
In this post, I will show you some Github examples that use Vue with Node.js backend. You will see Github links for making following projects: Vue + Node.js with MySQL Vue + Node.js with PostgreSQL Vue + Node.js with MongoDB Vue +... The post Vue + Node.js example appeared first on Github Code.| Github Code
In this post, I will show you some examples that use React App with Node backend. You will see Github links for making following projects: React + Node App with MySQL React + Node App with PostgreSQL React + Node App with... The post React + Node App appeared first on Github Code.| Github Code
Node.js is a javascript runtime based on Chromium's V8 javascript engine. It is really simple to create a basic HTTP server using the node.js API and a web based proxy is just an HTTP server that relays incoming requests back to the original recipient. So we will capture the requests and forward them using an...| Ali Naci Erdem Personal Blog RSS
If you’re a programmer, there’s a good chance you noticed the node.js left-pad fiasco of a few weeks back that temporarily broke most of the npm ecosystem. This blog doesn’t have an opinion on any of that. However, in the ensuing kerfluffle, severalpeopleobservedthat left-pad appears to be quadratic, and that is definitely this blog’s concern. If we look at the code, we see that the main loop looks like so: while (++i < len) { str = ch + str; } In most languages’ string implementati...| Accidentally Quadratic
Testing full validation sync performance of 7 Bitcoin node implementations.| Cypherpunk Cogitations
The problem| miklos-martin.github.io
When number of requests to an application grows, it might be hard to read logs and group them together to one single request. This can be solved with trace ID that is unique for each request.| juffalow.com
Short guide/exploration on making native node addons with rust| John's Codes
Trying some different nix builders for typescript node apps| John's Codes
Automatizamos la actualización de nuestro README personal para darle un toque extra gracias a las acciones de GitHub.| antonio.laguna.es
The era of custom elements SSR is upon us. Let’s take a look at how to spin up a simple Node server and use custom elements as templates in three popular formats, and what this means for the future of web components.| The Spicy Web
Learn about the low-level concepts for dealing with multipart/form-data in Node.js and how to save file uploads to disk with a high-level solution.| Austin Gil
Setting up a local global version of node in Ubuntu.| The Cloistered Monkey