SShortSingh.

Programming

0
ProgrammingDEV Community ·

Can You Reverse-Engineer a Function From Its Inputs and Outputs?

You have a hidden function. You can't see the code. For example: f("hello") → "ohell" f("world") → "dworl" f("codeset") → "tcodese" This one is pretty easy, but now imagine the pattern isn't so obvious. That's the idea behind a little game we built called Mystery Function: 👉 https://codeset.ai/function Every day there's a new hidden function to figure out. You can test at most 6 inputs.

0
ProgrammingDEV Community ·

Trail Quest: Private, On-Device AI for Nature Walks

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass Trail Quest is a mobile-first web app that turns a little time outdoors into a nature-spotting quest. Choose a setting—such as a park, garden, neighborhood, trail, or balcony—and a time limit. Trail Quest gives you three observation challenges, then encourages you to put your phone away and explore. You can complete or skip challenges, keep private reflection notes, and save completed walks in a local nature journal. There’s also a high-contrast sunlight mode for using the app outdoors.

0
ProgrammingDEV Community ·

Nothing on our landing page talks to another domain, which is why there is no cookie banner

Open pub-trivia.app and no cookie consent dialog appears. That is not an outstanding task, and it is not a risk somebody decided to take. It is downstream of a loading decision, and you can verify the whole chain from your own machine in three commands. curl -s https://pub-trivia.app/ | grep -oE '(src|href)="https?://[^"]*"' | grep -v pub-trivia.app Nothing. Not one script, stylesheet, image or link in the document points at another origin.

0
ProgrammingDEV Community ·

Building Reliable Payment Systems: Key Architecture and Security Considerations

How to structure the payment layer of your product so it is dependable, auditable and hard to attack *Start with a clear boundary The first architectural decision is where payments live in your codebase. *Wrap the provider, do not leak it Your payment service will call your provider's APIs. Razorpay's API reference, for example, covers orders, payments, refunds, subscriptions and settlements through a RESTful interface. *Model money carefully A few data modelling rules prevent a surprising number of bugs: *Consider a ledger As your system grows, a simple payments table stops being enough. Fina

0
ProgrammingDEV Community ·

Protocol Upgrade Compatibility Review: Hyperliquid Bridge

Protocol Upgrade Compatibility Review: Hyperliquid Bridge Target Protocol: Hyperliquid Bridge (TVL: $7160.6M) TVL: ≈ $7.16 B (Ethereum + L2) Date of Review: 6 Oct 2026 Prepared by: Senior DeFi Security Researcher – Smart‑Contract Auditing Team The Hyperliquid Bridge is a high‑value cross‑chain liquidity conduit that enables users to transfer assets between Ethereum L1 and multiple L2 roll‑ups (Optimism, Arbitrum, zkSync, etc.). The bridge is built on a proxy‑based upgradeable architecture (UUPS pattern) with a message‑verification layer that relies on a Merkle‑Proof‑based state commitment from

0
ProgrammingDEV Community ·

Tag a Clothing Catalog in Python: From a Folder of Photos to a CSV

A clothing catalog is mostly photos, and the photos rarely come with good labels. A seller writes "nice outfit". A supplier sends a folder called new_final_2. Somebody then has to look at each picture and type "scarf". This walkthrough turns that folder into a CSV: one row for every garment and accessory found, with the item type, a confidence score and a bounding box.

0
ProgrammingDEV Community ·

Your NPM_TOKEN stops publishing in January 2027. Here's the one-command migration

If your GitHub Actions release publishes to npm with a NPM_TOKEN secret, it has an expiry date. From January 2027, a granular token that bypasses 2FA can no longer publish on its own (npm docs). Since August 2026 you've probably seen this warning in your release logs: npm notice npm tokens that bypass 2FA are being restricted for account changes and direct publishing. The replacement is trusted publishing. GitHub signs a short-lived OIDC token for your workflow run, npm exchanges it for a publish token, and nothing long-lived is stored anywhere.

0
ProgrammingDEV Community ·

Pandas, Matplotlib and Seaborn: A Beginner's Guide with Clinic Data

Introduction My data science learning has now moved on to working with data directly in Python. Raw data, whether from a clinic, a bank or a website, only becomes useful once it has been cleaned, explored and presented clearly. Three libraries do most of that work: Pandas for handling and analysing data, and Matplotlib and Seaborn for charts. This guide is for beginners, and I use a simulated clinic dataset for every example so the code runs as-is, with no files to download. Setting Up What Is Pandas, and Why Does It Matter?

0
ProgrammingDEV Community ·

Advanced LINQ in C# (GroupBy, Join, Aggregate)

Originally published at https://allcoderthings.com/en/article/csharp-advanced-linq-groupby-join-aggregate LINQ is not limited to basic filtering and sorting. For more complex data processing, it provides advanced operators such as GroupBy, Join, and Aggregate. In this article, we will explore how to use these operators with examples. GroupBy groups collection elements by a specified property. You can then run queries on groups to extract statistical insights.

0
ProgrammingDEV Community ·

The scarcest skill on my team has the lowest status: the 'no'

There's a person on my team everyone quietly files as "the negative one." He's the one who, when a PR is clean and green and everyone's ready to merge, says the thing nobody wants to hear. He's in fewer demos. He ships the least. In the hallway version of the org chart — the one that lives in people's heads, not in the HR system — he sits near the bottom. Not disliked.

0
ProgrammingDEV Community ·

เมื่อ Agent ทุกตัวมีคอมของตัวเอง: เราเห็นเศรษฐกิจใหม่ที่ยังไม่มีใครจ่ายบิล

เมื่อ Agent ทุกตัวมีคอมของตัวเอง: เราเห็นเศรษฐกิจใหม่ที่ยังไม่มีใครจ่ายบิล โดย Nokka (นก-กา) | 5 ตุลาคม 2026 บทความนี้เขียนโดย AI (deepseek-v4.1-flash) ผ่าน Hermes Agent ภายใต้การควบคุมและตรวจสอบคุณภาพโดยมนุษย์ - Nokka (นก-กา) ถ้าพรุ่งนี้คุณมีลูกน้อง AI หนึ่งคน ซึ่งมีคอมพิวเตอร์ของตัวเองบนคลาวด์ เปิดทำงาน 24 ชั่วโมง ไม่หยุดพัก และไม่ต้องรอให้คุณสั่งทุกขั้นตอน ใครเป็นคนจ่ายค่าเครื่องของมัน? คำถามนี้ไม่ใช่คำถามสมมติ มันกลายเป็นคำถามจริงเมื่อ OpenAI เปิดตัว Dots ที่งาน DevDay เมื่อ 29 กันยายน 2026 เพราะ Dots ไม่ใช่แชตบอตที่รอคำถาม แต่เป็น Agent ที่มีเครื่องของตัวเองในคลาวด์ มีเบราว์เซอร์ของตัวเอง

0
ProgrammingDEV Community ·

Our support form does not ask you to sign in, because the person who cannot sign in is the one we most need to hear from

Munchable is a gut-health app: scan a barcode, find out whether the product suits the conditions you manage. Like most products it has a support form, and unlike most it does not ask you to be signed in first. The reason is written at the top of the route, because it is the kind of decision somebody will otherwise "tidy up" six months from now: // Opening a ticket does NOT require an account. The people most in need of // support are often the ones who cannot sign in, or who are deciding whether to // subscribe at all, and turning them away at the door is how a support channel // stops hearing

0
ProgrammingDEV Community ·

Why Practical Workshops Are the Secret to Solving Real Startup Challenges

If you examine the wreckage of failed business ventures, you will rarely find a post-mortem stating that the founders lacked access to information. In the current corporate landscape, early-stage operators are arguably the most over-informed professionals in history. They consume endless streams of business podcasts, subscribe to dozens of thought-leadership newsletters, and can recite modern scaling frameworks verbatim. Yet, possessing the playbook is fundamentally different from executing the play under pressure. When a critical structural bottleneck hits, whether it is a sudden stagnation i

0
ProgrammingDEV Community ·

Seedance 2.0 API Rewards Need A Credit Ledger

A future credit reward sounds simple until finance has to reconcile it. The person using a Seedance 2.0 API thinks in shots and revisions; the account owner thinks in eligible spend, event timing, and a balance that may return later. If those views are not joined at the moment of use, the reward becomes a vague expectation that nobody can verify. The Reward Has Four Separate Accounting Events “Spend now, receive later” compresses several different moments into one sentence. The team uses credits on current work.

← NewerPage 621 of 3146Older →