CBP is monitoring US drivers and detaining those with suspicious travel patterns
<a href="https://news.ycombinator.com/item?id=45996860">Comments</a>
<a href="https://news.ycombinator.com/item?id=45996860">Comments</a>
DepShield: Cut Your Node.js Bundle Size by 30-40% in 5 Seconds The Problem We All FaceYour Node.js projects accumulate unused dependencies like technical debt. A typical codebase with 145+ files? You probably have 3-5 packages sitting there doing nothing.What this costs you:đŚ 30-40% bloated bundle sizesđ Slower CI/CD pipelines & Lambda cold startsđ More security vulnerabilities to patchđ° Wasted disk space and bandwidthLast week, I built DepShield to solve this problem once and for
<a href="https://news.ycombinator.com/item?id=45996585">Comments</a>
<a href="https://news.ycombinator.com/item?id=45995834">Comments</a>
<a href="https://news.ycombinator.com/item?id=45995816">Comments</a>
<a href="https://news.ycombinator.com/item?id=45995740">Comments</a>
<a href="https://news.ycombinator.com/item?id=45995394">Comments</a>
Over the last few weeks, something clicked for me:Tech doesnât reward learners. Tech rewards solvers.For a long time, I used to build full-stack projects just to âproveâ my skills â something to put on GitHub or show during an interview.But recently, while working on a new productivity app, I approached it differently:đ I wasnât building a project.đ I was building a product that solves a real problem I face every day.And honestly?The difference is massive.Planning > Writing Code (Even Though
<a href="https://news.ycombinator.com/item?id=45994895">Comments</a>
What is a closure?In Javascript, a closure is created anytime a function is created. When a function is created, it captures the references (memory address) to the variables available in its surrounding environment (its lexical scope). If this outer function returns an inner function, and the inner function uses some of those captured variables, those variables are kept alive (they don't get cleared from memory) and are bundled with the returned inner function.This means the returned inner
I built a Chrome extension to shorten URLs instantly â UrlShoter đI needed a clean and fast way to shorten URLs without leaving the browser.Most existing tools were slow, full of ads or too bloated.So I built UrlShoter. đĽ FeaturesOne-click URL shorteningRight-click â ShortenMinimalistic UIDeveloper API supportPrivacy-friendly đĽ InstallChrome Web Store âhttps://chromewebstore.google.com/detail/manknmnkmhlegkjafdpceifhlllekckk đ§Š Tech stackManifest V3Native Fetch APIClean vanil
<a href="https://news.ycombinator.com/item?id=45994854">Comments</a>
Hey friends! đLetâs talk about something every beginner struggles with:Why you should stop writing long functions and how to break them into smaller onesLong functions feel "easy" when you're starting out.You want the code to work, and you don't understand how to break them into smaller functions, or in what order to call these small functions, so everything goes into one place.But over time, those bulky functions turn into:untraceable bugscode thatâs hard to readfeatures that are difficult to u
đĽ You think you can handle AI roasting your web dev portfolio? Give it a shot while also getting lighthouse performance metrics and design feedback based on your actual site design.As a AI engineer and web developer, I wanted to build a product that would be both technically challenging and fun. So I built Roast My Portfolio â an AI-powered web app that analyzes developer portfolio websites and (depending on the mode) either gives professional, actionable UX feedback, or completely roasts it wit
Playwright has a convenient feature for waiting on responses from requests - waitForResponse.waitForResponse â playwright.devThis is helpful when there are no visual changes on the web UI, but you need to verify that a request was actually sent and an entity was successfully created. Instead of:Opening the page with that entity and writing checks to verify all data is correctOr directly "poking" a specific endpoint to check its fieldsYou can implement response waiting. Here's an example from the
IntroductionWhen I first started using APIs on the frontend, things felt simple. I fetch some data, display it nicely, and done. That worked perfectly until I needed to use an API key. I tried everything to hide it like environment variables, build tools, and even hosting tricks. But no matter what I did, the key still showed up somewhere in the browser. Thatâs when I learned a hard truth, if the browser can access it, the user can too.The only way to really protect your API keys is to han
Choosing the right UI framework can literally decide how fast you ship,how clean your code stays, and how smooth your UX feels.In 2025, these three UI frameworks stand out from the crowd --- eachwith its own vibe, strengths, and ideal use case. shadcn/ui --- The Developer's Favorite (for customization)If you love full control, design freedom, and TailwindCSS,shadcn/ui is unbeatable. â Best Features Copy--paste components you own (not a library dependency) Infinitely customizable with
Quick Summary: đThe autocomplete library is a JavaScript library designed to enable developers to quickly build autocomplete experiences in their applications. It provides the core functionality for handling user input, fetching suggestions from various data sources, and rendering the autocomplete UI, while giving developers full control over the DOM elements used for output. Key Takeaways: đĄâ The Algolia Autocomplete library simplifies building robust and accessible search input expe
<p>Released a global state auth toolkit with ready-made login, signup and reset pages. Install, add your backend URL and get instant global auth + protected routes. Great for testing or production. npm: @kendevelops/auth-flow-kit</p>
PlatformPriceTestsReact ChallengesOther ChallengesTechnologyEditorTSVim ModeRun on Ctrl+SPre-StyledExtrasprofrontend.devâ ď¸Â Partialâ47âSandpackCodeMirrorâââââgreatfrontend.comâ ď¸Â Partialâ 141ManySandpackMonacoâ âââQuizzes, katas, blog, other librariesreactpractice.devâ ď¸Â Partialâ ď¸Â Partial20âNoNoââââBlog, feedbackreacterry.comâ  Freeâ 2995SandpackMonacoââââJS challenges, quizzes, theoryreactchallenges.liveâ  Freeâ6âSandboxExternalâââââhackerrank.com/domains/reactâ ď¸Â Partialâ 10â CodePairMonacoââââ Other libr