<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aman Malik</title>
    <description>The latest articles on DEV Community by Aman Malik (@aman_malik_23c4d655ceae92).</description>
    <link>https://dev.to/aman_malik_23c4d655ceae92</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4047709%2F0518f9d7-f03c-4ca2-af42-400fb5b53397.png</url>
      <title>DEV Community: Aman Malik</title>
      <link>https://dev.to/aman_malik_23c4d655ceae92</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aman_malik_23c4d655ceae92"/>
    <language>en</language>
    <item>
      <title>The Problem Isn’t That You Lack Discipline</title>
      <dc:creator>Aman Malik</dc:creator>
      <pubDate>Tue, 25 Aug 2026 15:33:44 +0000</pubDate>
      <link>https://dev.to/aman_malik_23c4d655ceae92/the-problem-isnt-that-you-lack-discipline-284p</link>
      <guid>https://dev.to/aman_malik_23c4d655ceae92/the-problem-isnt-that-you-lack-discipline-284p</guid>
      <description>&lt;p&gt;It’s that the thing you’re trying to avoid is still one tap away&lt;br&gt;
Most people treat self-control like a personality trait.&lt;br&gt;
If they keep opening the same sites, scrolling past midnight, or breaking a promise they made that morning, the story they tell themselves is simple:&lt;br&gt;
I just need more willpower.&lt;br&gt;
That story is incomplete.&lt;br&gt;
Willpower is real. It also fluctuates. It is strongest after a good night of sleep, a clear plan, and a sense of purpose. It is weakest when you are tired, alone, bored, ashamed, or staring at a difficult problem at 1am.&lt;br&gt;
Modern technology is not designed around that fact. It is designed around access.&lt;br&gt;
The result is a mismatch: you are trying to make a hard decision in the exact environment that makes the wrong decision effortless.&lt;/p&gt;

&lt;p&gt;The cycle almost everyone recognizes&lt;br&gt;
You decide to stop.&lt;br&gt;
You mean it. You feel clear. You may even feel a little proud of how serious you are this time.&lt;br&gt;
Then an urge arrives.&lt;br&gt;
For a few minutes, the earlier decision becomes distant. The plan becomes theoretical. The only thing that feels immediate is relief.&lt;br&gt;
Afterwards, the original values return. You feel worse than before. You promise again.&lt;br&gt;
If this sounds familiar, you are not uniquely broken. You are running a system that depends on being strong at the moment you are least likely to be strong.&lt;br&gt;
That is not a character diagnosis. It is a design problem.&lt;/p&gt;

&lt;p&gt;Why most blockers fail at the exact moment you need them&lt;br&gt;
People usually start in the same place.&lt;br&gt;
They install a browser extension.&lt;/p&gt;

&lt;p&gt;They turn on Screen Time.&lt;/p&gt;

&lt;p&gt;They download an app that says “Focus.”&lt;/p&gt;

&lt;p&gt;They add a blocklist.&lt;br&gt;
These tools can work — until they don’t.&lt;br&gt;
The failure is often not technical. The filter may be fine. The list may be large. The app may be well built.&lt;br&gt;
The failure is architectural.&lt;br&gt;
A lot of blockers live inside the same environment they are trying to control. When the urge is strong, the person still has the keys:&lt;/p&gt;

&lt;p&gt;switch browsers&lt;br&gt;
open incognito&lt;br&gt;
turn the extension off&lt;br&gt;
disable Screen Time&lt;br&gt;
switch from Wi-Fi to mobile data&lt;br&gt;
reinstall the app&lt;br&gt;
use another device&lt;/p&gt;

&lt;p&gt;So the blocker is “effective” during calm hours and fragile during the hours that matter.&lt;br&gt;
A tool that you can casually disable is not really a boundary. It is a suggestion.&lt;br&gt;
Suggestions are useful when motivation is high. They are weak when motivation disappears.&lt;/p&gt;

&lt;p&gt;A better question than “How do I resist this?”&lt;br&gt;
A more useful question is:&lt;br&gt;
How do I make the unwanted option harder to reach before the urge arrives?&lt;br&gt;
That shift sounds small. It changes the whole strategy.&lt;br&gt;
Instead of winning a debate with yourself twenty times a day, you move part of the decision to the setup stage.&lt;br&gt;
This is the difference between:&lt;/p&gt;

&lt;p&gt;“I will not look.”&lt;br&gt;
“Looking now requires extra steps I do not have the patience for.”&lt;/p&gt;

&lt;p&gt;The first depends on the mood of the moment.&lt;/p&gt;

&lt;p&gt;The second depends on the environment.&lt;br&gt;
Athletes do this. Writers do this. People who stop drinking often do this. They do not leave the temptation in arm’s reach and then praise themselves for being strong. They change the room.&lt;br&gt;
The internet is just another room. Most of us never redesigned it.&lt;/p&gt;

&lt;p&gt;Environment design beats moment-to-moment negotiation&lt;br&gt;
Think in layers, not in slogans.&lt;br&gt;
A single blocklist is one layer. One layer is easy to walk around. Several layers turn an impulse into a decision.&lt;br&gt;
Here is a practical stack that does not require a new personality.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Separate the phone from the weakest hours
The bedroom and the late-night couch are where a lot of systems collapse.
Charge the phone outside the room. Use a cheap alarm clock. This one change removes a huge number of “I was already in bed with the screen in my hand” failures.&lt;/li&gt;
&lt;li&gt;Reduce the number of doors
Delete extra browsers. Remove the apps that reliably lead to the same place, even if they are not the destination itself.
If five apps can get you there, you do not have a filter. You have a maze with five exits.&lt;/li&gt;
&lt;li&gt;Move filtering lower in the stack
Browser extensions filter at the edge. Network / DNS filtering happens earlier, when the device asks “where is this website?”
That does not make access impossible. It makes casual access less automatic. You are no longer relying on one app to police every other app.
Home Wi-Fi filtering alone is incomplete if the phone can simply switch to mobile data. The filter has to travel with the device, or the first bypass is already waiting.&lt;/li&gt;
&lt;li&gt;Add a second person to the keys
Self-control at 8am and self-control at 1am are not the same person.
If a trusted friend or partner holds the Screen Time PIN, router password, or admin account, you have converted a private negotiation into a slower decision. That delay is the point.
This is not punishment. It is admitting that you should not have to win the same argument every night.&lt;/li&gt;
&lt;li&gt;Treat the urge as a 10-minute problem
Most urges peak and fall if they are not fed.
Leave the room. Stand up. Walk. Do anything that is incompatible with staying in the same chair with the same screen. You do not need a perfect spiritual or psychological state. You need to survive the next ten minutes without opening the door.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Relapse is information, not an identity&lt;br&gt;
A broken streak does not prove that the previous decision was fake.&lt;br&gt;
It usually proves that one door was still too easy.&lt;br&gt;
After a slip, the useful move is not a three-hour speech to yourself. The useful move is:&lt;/p&gt;

&lt;p&gt;Reset the same day.&lt;br&gt;
Name the specific conditions: time, place, app, mood.&lt;br&gt;
Close that one door.&lt;br&gt;
Keep the rest of the system.&lt;/p&gt;

&lt;p&gt;Shame without a change in environment tends to recreate the same night.&lt;br&gt;
Hope without a change in environment tends to recreate the same week.&lt;br&gt;
The point is not to become someone who never feels an urge. The point is to stop giving the urge a frictionless path.&lt;/p&gt;

&lt;p&gt;What this is not&lt;br&gt;
This is not a claim that tools replace therapy, community, faith, or professional help.&lt;br&gt;
It is not a claim that any system is impossible to bypass.&lt;br&gt;
It is not a claim that technology is the whole solution.&lt;br&gt;
A filter cannot give you a life. It can remove some of the easiest ways to abandon the life you already said you wanted.&lt;br&gt;
That is a narrower promise. It is also a more honest one.&lt;/p&gt;

&lt;p&gt;The real upgrade&lt;br&gt;
The upgrade is not a better pep talk.&lt;br&gt;
The upgrade is this idea:&lt;br&gt;
Stop asking your future tired self to be the hero of the story.&lt;/p&gt;

&lt;p&gt;Build a room where the hero is needed less often.&lt;br&gt;
Willpower can still matter. It just should not be the only layer between you and a thing you have already decided you do not want.&lt;br&gt;
If you change nothing else, change this: stop leaving the door unlocked and then calling it a test of character.&lt;br&gt;
Change the door.&lt;/p&gt;

</description>
      <category>mentalhealth</category>
      <category>motivation</category>
      <category>productivity</category>
    </item>
    <item>
      <title>I built a content blocker because I understood the code too well to be fooled by weak ones</title>
      <dc:creator>Aman Malik</dc:creator>
      <pubDate>Sun, 09 Aug 2026 06:37:52 +0000</pubDate>
      <link>https://dev.to/aman_malik_23c4d655ceae92/i-built-a-content-blocker-because-i-understood-the-code-too-well-to-be-fooled-by-weak-ones-4f8d</link>
      <guid>https://dev.to/aman_malik_23c4d655ceae92/i-built-a-content-blocker-because-i-understood-the-code-too-well-to-be-fooled-by-weak-ones-4f8d</guid>
      <description>&lt;p&gt;Here's the uncomfortable thing about being a developer and trying to block your own internet access.&lt;/p&gt;

&lt;p&gt;You know exactly how every solution works. And therefore exactly how to break it.&lt;/p&gt;

&lt;p&gt;Browser extension? I know it's just a manifest.json with a declarativeNetRequest rule. I can disable it in the chrome://extensions page in 4 seconds.&lt;/p&gt;

&lt;p&gt;Hosts file blocker? I literally edit hosts files for local development. I can undo it in one terminal command.&lt;/p&gt;

&lt;p&gt;Screen Time? I know it only hooks into Safari's WKWebView. Chrome doesn't use WKWebView. It bypasses it completely.&lt;/p&gt;

&lt;p&gt;Router DNS? I know how to change my device's DNS settings. Takes 10 seconds on any OS.&lt;/p&gt;

&lt;p&gt;Every consumer-grade blocker I tried, I broke within 48 hours. Not because I was trying to — because understanding the implementation made bypassing it obvious.&lt;/p&gt;

&lt;p&gt;So I went to the one layer I couldn't easily circumvent myself.&lt;/p&gt;

&lt;p&gt;DNS filtering via a VPN tunnel&lt;/p&gt;

&lt;p&gt;The architecture that actually held:&lt;/p&gt;

&lt;p&gt;All DNS queries from the device route through a WireGuard-based VPN tunnel to a filtering gateway. The gateway (Cloudflare Zero Trust in my case) evaluates every query against a blocklist before resolving. Blocked domains return NXDOMAIN or a block page IP.&lt;/p&gt;

&lt;p&gt;The key properties that make this hard to bypass:&lt;/p&gt;

&lt;p&gt;The VPN tunnel overrides system DNS — changing DNS settings in network preferences does nothing because the tunnel intercepts before the OS resolver gets involved&lt;br&gt;
Works on every network — WiFi, cellular, hotspot. Not tied to home router&lt;br&gt;
Catches every app simultaneously — not just one browser, because every DNS query goes through the tunnel regardless of which process made it&lt;br&gt;
"Anonymizer/VPN" category blocks VPN apps — the bypass tool is itself blocked&lt;br&gt;
VPN lockdown mode on Android kills all internet if the tunnel is removed — no tunnel, no internet&lt;/p&gt;

&lt;p&gt;The part that required the most thought: removing my own admin access&lt;/p&gt;

&lt;p&gt;The technical layer was actually the easy part. The harder problem was that I still had the admin credentials. I could log into the dashboard and change rules anytime.&lt;/p&gt;

&lt;p&gt;The solution: Guardian Mode. A trusted person holds the dashboard credentials or must approve any rule changes. I can't modify my own filter without their explicit approval.&lt;/p&gt;

&lt;p&gt;This is a commitment device at the infrastructure level. You're not relying on willpower — you're architecturally removing the ability to make a bad decision in a weak moment.&lt;/p&gt;

&lt;p&gt;The stack if you want to replicate this&lt;/p&gt;

&lt;p&gt;Cloudflare Zero Trust Gateway (free tier covers this)&lt;br&gt;
Cloudflare WARP client on device&lt;br&gt;
Gateway policies using wirefilter expressions for category and domain blocking&lt;br&gt;
A second Cloudflare account or trusted person holding admin access&lt;br&gt;
Android VPN lockdown mode enabled (Settings → Network → VPN → lockdown)&lt;br&gt;
Screen Time on iOS to prevent WARP app deletion&lt;/p&gt;

&lt;p&gt;I eventually wrapped all of this into a product — noori.fun — because the raw Cloudflare setup takes 2-3 hours and requires understanding Zero Trust concepts that most people don't have. The product handles all the CF configuration automatically and adds the Guardian Mode, tamper alerts, and family management on top.&lt;/p&gt;

&lt;p&gt;But the architecture is fully replicable if you want to DIY it. Happy to answer questions on the Cloudflare Zero Trust setup specifically — wirefilter expression syntax, policy ordering, split tunnel config, any of it.&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>software</category>
      <category>tools</category>
    </item>
    <item>
      <title>Why Browser Blockers Fail Parents (And What I Learned Building a Better One)</title>
      <dc:creator>Aman Malik</dc:creator>
      <pubDate>Tue, 28 Jul 2026 08:12:26 +0000</pubDate>
      <link>https://dev.to/aman_malik_23c4d655ceae92/why-browser-blockers-fail-parents-and-what-i-learned-building-a-better-one-2df6</link>
      <guid>https://dev.to/aman_malik_23c4d655ceae92/why-browser-blockers-fail-parents-and-what-i-learned-building-a-better-one-2df6</guid>
      <description>&lt;p&gt;The Internet Isn't Raising Our Children. Its Algorithms Are.&lt;/p&gt;

&lt;p&gt;A child doesn't wake up one morning and decide to search for harmful&amp;nbsp;content.&lt;/p&gt;

&lt;p&gt;Most of the time, it starts with something completely innocent.&lt;br&gt;
A few YouTube Shorts. A funny Instagram Reel. A random recommendation. One click becomes another, and before long the algorithm is deciding what they see next.&lt;br&gt;
That's the part many parents underestimate.&lt;/p&gt;

&lt;p&gt;The internet today isn't just a collection of websites - it's a recommendation engine.&lt;br&gt;
Its goal is to keep us engaged for as long as possible, not to protect our values.&lt;br&gt;
As adults, many of us struggle with this ourselves.&lt;br&gt;
We open our phones to reply to a message and end up scrolling for an hour. We tell ourselves, "Just five minutes," and somehow it's midnight.&lt;br&gt;
If it's difficult for adults, imagine what it's like for a child.&lt;/p&gt;

&lt;p&gt;Technology Should Protect, Not&amp;nbsp;Tempt&lt;/p&gt;

&lt;p&gt;For years, online safety has mostly meant browser extensions or parental control apps that are easy to disable or bypass.&lt;br&gt;
The problem isn't that these tools are useless.&lt;br&gt;
The problem is that they're often too complicated for non-technical families, or too easy to turn off when temptation appears.&lt;br&gt;
Protection should be simple.&lt;br&gt;
It should work quietly in the background without requiring parents to constantly monitor every device.&lt;/p&gt;

&lt;p&gt;Why I Started Building NoorI&lt;/p&gt;

&lt;p&gt;I didn't start building NoorI because I wanted another startup.&lt;br&gt;
I built it because I experienced firsthand how difficult it is to stay focused and avoid harmful content in today's internet.&lt;br&gt;
I wanted something that would make the better choice the easier choice.&lt;br&gt;
Instead of relying on willpower every day, I wanted an environment that naturally reduced exposure to harmful content.&lt;/p&gt;

&lt;p&gt;That idea eventually became NoorI - a simple way to help individuals and families create a safer online environment using network-level filtering.&lt;/p&gt;

&lt;p&gt;A Better Digital Environment&lt;br&gt;
No technology can replace good parenting, strong values, or self-discipline.&lt;br&gt;
But good technology can support them.&lt;br&gt;
Just as we lock our front doors to reduce unnecessary risks, we should also think about creating healthier digital environments for ourselves and our families.&lt;br&gt;
The goal isn't to disconnect from the internet.&lt;br&gt;
The goal is to use it intentionally - without letting algorithms decide who we become.&lt;br&gt;
If we can make the online world a little safer for ourselves and the next generation, that's a step worth taking.&lt;/p&gt;

&lt;p&gt;Check Out: NoorI 's guide that can help you setup your&amp;nbsp;devices.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to block PORN in my all devices?</title>
      <dc:creator>Aman Malik</dc:creator>
      <pubDate>Tue, 28 Jul 2026 07:24:20 +0000</pubDate>
      <link>https://dev.to/aman_malik_23c4d655ceae92/how-to-block-porn-in-my-all-devices-365f</link>
      <guid>https://dev.to/aman_malik_23c4d655ceae92/how-to-block-porn-in-my-all-devices-365f</guid>
      <description>&lt;p&gt;🚀 Launch Day!&lt;/p&gt;

&lt;p&gt;Today I launched NoorI on Product Hunt.&lt;/p&gt;

&lt;p&gt;It started as a personal project after realizing that willpower alone wasn't enough to avoid endless distractions online.&lt;/p&gt;

&lt;p&gt;If you'd like to support an independent developer, I'd truly appreciate you checking it out and leaving your honest feedback.&lt;/p&gt;

&lt;p&gt;Product Hunt: &lt;a href="https://www.producthunt.com/products/noori?launch=noori" rel="noopener noreferrer"&gt;https://www.producthunt.com/products/noori?launch=noori&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>security</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
