programming-languages

DEV Community

Have you ever wondered how websites, mobile apps, video games, or even calculators work? Behind all of these technologies is something called coding . If you are completely new to programming, terms like variables, functions, loops, and algorithms might sound confusing. The good news is that coding is not as complicated as it seems when you learn the fundamentals step by step. In this guide, you'…

computer-scienceprogramming-languages
DEV Community

Most developers generate images like this: const html = ` <div style="..."> <h1> ${ post . title } </h1> <p> ${ post . author } · ${ post . date } </p> </div> ` ; This works — until it doesn't. Special characters break the HTML ( & , < , > in titles) The template grows and the string becomes harder to maintain Reusing the same template across environments gets messy No clear separatio…

computer-scienceprogramming-languages
DEV Community

Tracking Google rankings sounds simple at first. You have a keyword. You search it on Google. You check where your website appears. That works if you only have one keyword. But once you need to track 50, 500, or 5,000 keywords across different countries, cities, languages, or devices, manual checking stops making sense. You need a repeatable workflow. A simple ranking tracker usually looks like t…

computer-scienceprogramming-languages
DEV Community

Python is known for being simple, readable, and developer-friendly. One of its biggest advantages is automatic memory management, which means developers usually do not need to manually allocate or release memory. However, this does not mean Python applications are completely safe from memory leaks. A memory leak happens when a program keeps holding memory that is no longer needed. Over time, this…

computer-scienceprogramming-languages
DEV Community

Ever wanted to turn a simple PHP host into a gateway for your local network? I built host2gateway to do exactly that. ProfiDE / host2gateway Uses a PHP host or web server to create a gateway that securely allows access to clients through it. host2gateway host2gateway is a tool designed to provide access from a web server (Gateway) to a client without requiring static IP addresses, port forwarding…

computer-scienceprogramming-languages
Hot Questions - Stack Exchange
DEV Community

Want an AI coding assistant that works on YOUR codebase, respects YOUR git history, and doesn't send your code to the cloud? Aider + Ollama gives you exactly that. Aider is an AI pair programming tool that works directly in your terminal. It sees your files, understands your git repo, and makes real edits to your code. Paired with Ollama running a local model, you get a fully private coding assis…

aimachine-learningprogramming-languages
Hacker News

about The kernel is written in (almost) 100% Rust and attempts to avoid unsafe code where possible. It implements a big range of POSIX APIs in system calls, but also exposes common extensions found in Linux and BSDs, like epoll and timerfd. This allows it to run a somewhat modern desktop using Wayland and X11 sessions. Most drivers are implemented as modules. These are Rust ELF dylibs which get l…

computer-scienceprogramming-languages
DEV Community

The Quest Begins (The "Why") Ever had one of those days where your API feels like it’s stuck in quicksand? I was building a simple rate‑limiter for a microservice that throttles requests per IP address. The idea was straightforward: every incoming hit checks a counter stored in Postgres, increments it, and if the counter exceeds the limit we return 429. At first it worked like a charm on my lapto…

algorithmscomputer-scienceprogramming-languages
DEV Community

A few years ago, choosing an ID format was easy. Most of us generated a UUID, stored it in the database, and moved on. Today things are different. Modern applications care about: Database performance URL friendliness Sortability Distributed systems Storage efficiency That's why developers are increasingly looking at alternatives like ULID and NanoID. If you're building APIs, SaaS products, mobile…

computer-scienceprogramming-languages
DEV Community
Willyams Yujra
10h ago

react-slotx — Step-by-Step Tutorial This guide will walk you through using react-slotx from scratch. No prior knowledge of slots or portals is required — just basic React. What is react-slotx? react-slotx lets you declare content in one place and render it somewhere else in your React tree. The two key building blocks are: <Slot name="…"> — registers content into a named bucket. <Outlet name="…">…

computer-scienceprogramming-languages
DEV Community

A Python package and library often seem interchangeable and we hardly pay attention to them in our daily use. But indeed they are very different in technical practice. We will look at the inherent differences between them in this post. But first, let us look at what a Python module is. Modules A Python module, in the simplest terms, is a python file. For example, cleaning.py . While they are most…

computer-scienceprogramming-languages
DEV Community

hey dev.to, so I am Mathéo, a 2nd year CS student at EPITECH Nancy (France). I want to share a project I have been building for the last few months: ZamSync . Basically, it is a lightweight synchronization engine written in Rust. It is made for places where the internet is either extremely slow, drops every five minutes, or does not exist at all (think remote areas, Raspberry Pi nodes, offline-fi…

computer-scienceprogramming-languages
Hacker News
13h ago

1. One man's constant is another man's variable. 2. Functions delay binding; data structures induce binding. Moral: Structure data late in the programming process. 3. Syntactic sugar causes cancer of the semicolon. 4. Every program is a part of some other program and rarely fits. 5. If a program manipulates a large amount of data, it does so in a small number of ways. 6. Symmetry is a complexity-…

computer-scienceprogramming-languages
DEV Community

How to Use Python's logging Module Like a Pro — From Beginner to Production Setup Python's built-in logging module is one of those tools every developer knows about, but few use well. When I started, I used print() everywhere. When I moved to production apps, that approach didn't scale. Here's what I learned about logging in Python, from basic setup to production-ready patterns. The Minimum Viabl…

computer-scienceprogramming-languages
DEV Community

Two n8n issues that look harmless but silently break your workflows: The HTTP Request node shows a green ✅ but returns empty output Your workflow times out before finishing — and you're not sure where to change the limit Both are quick fixes once you know where to look. Why "Check URL" Returns Success With No Data n8n marks an HTTP Request as successful based on the HTTP status code only . A 200 …

computer-scienceprogramming-languages
DEV Community

A major runtime just got machine-translated to a completely different language and merged in under two weeks. Let me say that again slowly. Bun, the JavaScript runtime that the community keeps considering for a serious relationship, finished a rewrite of itself, from Zig to Rust. The rewrite was composed in its majority by the LLM model. The process lasted around 9 days. The Pull Request containe…

aicomputer-sciencemachine-learningprogramming-languages
DEV Community
Simon Green
15h ago

Weekly Challenge 377 Each week Mohammad S. Anwar sends out The Weekly Challenge , a chance for all of us to come up with solutions to two weekly tasks. My solutions are written in Python first, and then converted to Perl. Unless otherwise stated, Copilot (and other AI tools) have NOT been used to generate the solution. It's a great way for us all to practice some coding. Challenge , My solutions …

algorithmscomputer-scienceprogramming-languages
DEV Community

Over the last few weeks, I’ve open-sourced a suite of high-performance, zero-dependency C# engines. This includes a native DataFrame library ( Glacier.Polaris ), a blistering fast text searcher ( Glacier.Grep ), and a semantic Markdown parser for RAG contexts ( Glacier.DocTree ). You can find the source code for all of these on my GitHub . A recurring question I’m getting from other devs looking …

computer-scienceprogramming-languages
DEV Community

Verbose is a small experimental language I'm building. Its compiler proves properties about your code — like termination — and emits tiny, readable x86-64 machine code: no runtime, no GC, no libc. This post stands on its own (you don't need the rest of the series). What it's about: I'm now writing a Verbose compiler in Verbose itself , and this is the foundation brick — how you represent a progra…

computer-scienceprogramming-languagessoftware-engineering
research.ioresearch.io

Sign up to keep scrolling

Create your feed subscriptions, save articles, keep scrolling.

Already have an account?