<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Own It]]></title><description><![CDATA[Their trick is simple:
give people what they need —
then own them.
We come with a different light.]]></description><link>https://blog.jitpomi.com</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Nov 2026 21:46:02 GMT</lastBuildDate><atom:link href="https://blog.jitpomi.com/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[What Happens to a SEYFR File Transfer When Your Network Changes?]]></title><description><![CDATA[A 221 MB video from Uganda to Utah. Watch SEYFR switch between mobile data and Wi-Fi, then resume a file transfer after a disconnect.]]></description><link>https://blog.jitpomi.com/what-happens-to-a-seyfr-file-transfer-when-your-network-changes</link><guid isPermaLink="true">https://blog.jitpomi.com/what-happens-to-a-seyfr-file-transfer-when-your-network-changes</guid><category><![CDATA[networking]]></category><category><![CDATA[Android]]></category><dc:creator><![CDATA[JITPOMI]]></dc:creator><pubDate>Thu, 29 Oct 2026 23:43:27 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/62aa05342b2b09182b653c51/50246fcb-6c8e-4e1d-8e47-e6b778b9e5bd.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>My workmate in Uganda sent me a video while I was on the road in Utah, USA. It was <strong>221 MB</strong>, and I was receiving it on my Android phone using SEYFR and mobile data.</p>
<p>I was walking toward the office. That gave me a simple test: what would happen to the transfer when my phone picked up the office Wi-Fi? And what would happen if I walked away and lost that connection?</p>
<p>So I recorded it.</p>
<h2>Watch the test</h2>
<p><a class="embed-card" href="https://www.youtube.com/watch?v=Wf0IEV9Phvs">https://www.youtube.com/watch?v=Wf0IEV9Phvs</a></p>

<p><a href="https://www.youtube.com/watch?v=Wf0IEV9Phvs">Watch the test on YouTube</a>.</p>
<p>The video is 5 minutes and 29 seconds. Long waits and the store-search detour have been cut, and the retained footage plays at its original speed.</p>
<p><a href="https://seyfr.jitpomi.com/?utm_source=jitpomi_blog&amp;utm_medium=owned_content&amp;utm_campaign=network_conditions_file_transfer&amp;utm_content=dev_team_samson_uganda_utah_network_changes_blog_2026_10_29_v1&amp;utm_term=b30c82f8-49b7-4390-b053-f48743d6e35b">Get SEYFR for your devices</a>.</p>
<h2>From mobile data to office Wi-Fi</h2>
<p>At the start, the video was coming in over mobile data. My connection was slow. As I got closer to the office, the phone connected to its Wi-Fi, and the same transfer kept going.</p>
<p>I then turned off mobile data while the phone was on Wi-Fi. The download continued.</p>
<p>That was the first part of the test: changing the network connection during a transfer without starting the file again.</p>
<h2>Walking out of Wi-Fi range</h2>
<p>Next, I walked away from the office. I wanted to get out of Wi-Fi range before the download finished.</p>
<p>Eventually, the Wi-Fi connection dropped. With mobile data still off, the phone had no connection for the transfer to use.</p>
<p>I turned mobile data back on and returned to SEYFR. <strong>The transfer resumed from its previous progress.</strong> It did not make me start the 221 MB file from the beginning.</p>
<p>I then headed back toward the office. I also wanted to finish this test before I used up my prepaid data plan. 😄</p>
<p>The video shows the file being received successfully at the end.</p>
<h2>A workmate in Uganda. A phone in Utah.</h2>
<p>The sender was in Uganda throughout this test. I was receiving the file in the United States, moving between mobile data and office Wi-Fi.</p>
<p>We were not standing next to each other or sharing the same Wi-Fi network. The changing conditions were on my receiving phone as I walked.</p>
<p>That is the point of this recording: <strong>even when network conditions change, file transfer continues.</strong> When the connection was completely unavailable, the transfer had to wait. Once I restored a connection, it resumed.</p>
<h2>Why I wanted to show this</h2>
<p>People move around while they work. You leave home, reach the office, lose a signal, or switch to mobile data. Sending a file should fit around that ordinary day.</p>
<p>This recording shows how SEYFR handled those changes on my Android phone in this test. It is the kind of practical behavior I want us to keep testing and improving.</p>
<p>I’m Samson Ssali, the person behind SEYFR. We’re building this for you, and your real experiences help us decide what to improve next.</p>
<p><a href="https://seyfr.jitpomi.com/?utm_source=jitpomi_blog&amp;utm_medium=owned_content&amp;utm_campaign=network_conditions_file_transfer&amp;utm_content=dev_team_samson_uganda_utah_network_changes_blog_2026_10_29_v1&amp;utm_term=b30c82f8-49b7-4390-b053-f48743d6e35b">Download SEYFR and try it with your devices</a>.</p>
<p><strong>What usually happens when your connection drops during a file transfer?</strong> Leave a comment, or send your feedback and feature requests to <a href="mailto:dev@jitpomi.com">dev@jitpomi.com</a>.</p>
]]></content:encoded></item><item><title><![CDATA[Human first: SEYFR’s Nairobi outreach starts with listening]]></title><description><![CDATA[SEYFR’s Drop Campaign in Nairobi: meeting students, listening to file-sharing challenges, and introducing Send Your Files Right after SEYFR 2.0.]]></description><link>https://blog.jitpomi.com/seyfr-nairobi-drop-campaign-human-first</link><guid isPermaLink="true">https://blog.jitpomi.com/seyfr-nairobi-drop-campaign-human-first</guid><category><![CDATA[community]]></category><category><![CDATA[File sharing]]></category><dc:creator><![CDATA[JITPOMI]]></dc:creator><pubDate>Thu, 24 Sep 2026 03:27:34 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/62aa05342b2b09182b653c51/ddfe7443-0560-4af0-8992-5e90719318fe.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>As I write this, our team is in Nairobi, Kenya, meeting students through our SEYFR Drop Campaign following the launch of SEYFR 2.0. We started at the University of Nairobi, and the outreach is continuing.</p>
<p>We want to understand the real problems people face when transferring files from one device to another. We’re there to listen, learn what matters to them, and introduce SEYFR, which we believe is the right way to send files. That’s where the name comes from: <strong>Send Your Files Right — SEYFR</strong>.</p>
<p><a class="embed-card" href="https://www.youtube.com/watch?v=IlO7qwKH85k">https://www.youtube.com/watch?v=IlO7qwKH85k</a></p>

<p>We’re determined to take this outreach to more university communities across Kenya, Uganda, and Rwanda, meeting people and learning from them for as long as we can.</p>
<p>It’s easy to make assumptions from behind a screen. We want these visits to give us time to ask questions, listen, and learn where our understanding falls short. That’s what human first means to us.</p>
<p>Students have notes to share, group projects to finish, and videos to move between phones and laptops. One person has an Android phone, another has a Mac, and someone else uses Windows. Getting a file from one to the other can take more effort than it should, especially when data costs money and the connection is slow.</p>
<p>That’s the everyday problem we’re working on with SEYFR.</p>
<p>With 2.0, we’ve made a few things easier:</p>
<ul>
<li><p>Send several files or a whole folder together.</p>
</li>
<li><p>Scan a transfer QR code with your Mac or Windows camera, or read it from a saved image.</p>
</li>
<li><p>See the transfer progress and know when the files have arrived.</p>
</li>
<li><p>Find received files more easily, with browsing and filters on mobile and shortcuts to Finder or File Explorer on computers.</p>
</li>
<li><p>Send files into SEYFR from other apps on your phone, and share transfer codes through the system share menu on Mac and Windows.</p>
</li>
</ul>
<p>The recent updates also include clearer alerts when a transfer stops on mobile and Mac, simpler file selection on iPhone and Mac, and improvements to offline transfers over Wi-Fi and hotspots on Android.</p>
<p>We’re glad to have these improvements out. Now we want to understand how they fit into people’s lives, and what still needs work.</p>
<p>Being there gives the team a chance to introduce SEYFR, hear questions, and get to know the people we hope will find it useful. We want to learn how they already share files, what gives them trouble, and whether our app makes things easier for them.</p>
<p>We’re self-funded, and the brochures, shirts, travel, and time all take planning. Giving our team the opportunity to spend time with the community matters to us.</p>
<p>There are SEYFR shirts and other community gear with individual QR referral codes, too. Our Discord Drop Party is already live, with prizes as part of the activities. You’re welcome to <a href="https://discord.gg/tkpytVQzd">join us on Discord</a>, ask questions, share your experience, or tell us what we could do better.</p>
<p>At JITPOMI, we say <strong>human first, simple first, local first</strong>. Throughout this campaign, human first means making time for people and being willing to learn from them. We want that to remain part of how we work as SEYFR grows.</p>
<p>Thank you to everyone who took time to speak with the team in Nairobi. And thank you to the team for starting those conversations and helping us learn from the community.</p>
<p>You can find SEYFR at <a href="https://seyfr.jitpomi.com/?utm_source=jitpomi_blog&amp;utm_medium=owned_content&amp;utm_campaign=seyfr_drop_campaign_outreach&amp;utm_content=dev_team_hashnode_nairobi_human_first_story_v1&amp;utm_term=4f319e6b-4f63-4f7d-b0c3-1317188953ba">seyfr.jitpomi.com</a>.</p>
]]></content:encoded></item><item><title><![CDATA[The First Email Attachment Was a Barbershop Song. Why Are We Still Using Email to Send 4K Video?]]></title><description><![CDATA[Email solved the attachment problem of 1992. Your 4K video deserves a better way to travel.]]></description><link>https://blog.jitpomi.com/the-first-email-attachment-was-a-barbershop-song-why-are-we-still-using-email-to-send-4k-video</link><guid isPermaLink="true">https://blog.jitpomi.com/the-first-email-attachment-was-a-barbershop-song-why-are-we-still-using-email-to-send-4k-video</guid><category><![CDATA[file-transfer]]></category><category><![CDATA[email]]></category><dc:creator><![CDATA[JITPOMI]]></dc:creator><pubDate>Sun, 09 Aug 2026 14:01:50 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/62aa05342b2b09182b653c51/c2976710-9432-48d0-80e2-113406d3d7cc.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>The first widely interoperable Internet email attachment was not a contract, spreadsheet, or compressed folder.</p>
<p>It was a barbershop song.</p>
<p>On March 11, 1992, computer scientist Nathaniel Borenstein sent a MIME-formatted email containing a photograph of the Telephone Chords—his Bellcore quartet—and a recording of the group singing. Before MIME, one email system could attach a file that another could not reliably understand.</p>
<p>Borenstein and Ned Freed helped make attachments ordinary. That was a breakthrough.</p>
<p>But it did not make email the right delivery system for every file we would create next.</p>
<h2>The file is ready. Email is not.</h2>
<p>Imagine a real-estate agent leaving a newly staged property with a pristine 4K walkthrough. The lighting is perfect. The details are sharp. The video is ready for the laptop beside her.</p>
<p>She attaches it to an email.</p>
<p><strong>Attachment too large.</strong></p>
<p>Now the file that was perfect a moment ago is treated like the problem. Compress it. Reduce its resolution. Split it. Upload it somewhere else. Create a link. Check the permissions.</p>
<p>The receiving device is ready. The original file is ready. The wrong tool is standing between them.</p>
<p>A 4K video is not too large to send. It is too large to be an email attachment.</p>
<h2>Watch the paperclip meet a 4K listing</h2>
<p><em>Martillo de Maslow, Episode 1: The Listing</em> turns that exact mismatch into a short story: one original-quality property video and two different ideas about how it should travel.</p>
<p><a class="embed-card" href="https://www.youtube.com/watch?v=P8WUgmT7qSg">https://www.youtube.com/watch?v=P8WUgmT7qSg</a></p>

<p><a href="https://seyfr.jitpomi.com/how-to-send-large-video-files?utm_source=jitpomi_blog&amp;utm_medium=owned_content&amp;utm_campaign=original_quality_transfers&amp;utm_content=dev_team_first_email_attachment_barbershop_story_v1&amp;utm_term=73772ef7-0499-44b0-9add-388ea4d9639f"><strong>Send the original file with SEYFR.</strong></a></p>
<h2>Email solved a message problem</h2>
<p>Personal Gmail accounts document a 25 MB attachment limit. Larger files are replaced with a Google Drive link. Microsoft documents a 20 MB limit for common Internet email accounts and a 10 MB default for Exchange business email, including the message itself.</p>
<p>Those limits make sense for email. A message may pass through several systems, be scanned, copied, stored, and delivered to a server with an even smaller limit.</p>
<p>The mistake is treating that message limit as a file limit.</p>
<p>Your video does not need to be weakened to satisfy a paperclip.</p>
<h2>Send the file you actually made</h2>
<p>SEYFR separates the message from the transfer.</p>
<ol>
<li><p>Choose the original file or folder.</p>
</li>
<li><p>Share the QR code or text ticket.</p>
</li>
<li><p>Scan the QR code or paste the ticket on the receiving device.</p>
</li>
<li><p>Choose where to save it and receive it.</p>
</li>
</ol>
<p>SEYFR does not intentionally recompress the file. The photo, video, document, or folder arrives in its original format and quality.</p>
<p>It also does not impose a fixed in-app transfer-size cap. Device storage, filesystems, platforms, and network conditions still apply—but SEYFR does not invent an email-sized ceiling for a file that is not being sent as email.</p>
<p>That is the whole point: move the file that was selected, not a compromised copy created for the wrong container.</p>
<h2>The paperclip was a beginning</h2>
<p>The Telephone Chords attachment solved the interoperability problem of 1992. A photograph and a song could cross between different email systems and arrive intelligibly.</p>
<p>Our files changed. Our cameras changed. The transfer method should change too.</p>
<p>The next time email says your video is too large, interpret the warning correctly:</p>
<p><strong>The video is not too large. The paperclip is too small.</strong></p>
<p><a href="https://seyfr.jitpomi.com/how-to-send-large-video-files?utm_source=jitpomi_blog&amp;utm_medium=owned_content&amp;utm_campaign=original_quality_transfers&amp;utm_content=dev_team_first_email_attachment_barbershop_story_v1&amp;utm_term=73772ef7-0499-44b0-9add-388ea4d9639f"><strong>Get SEYFR and send the original file without intentionally recompressing it.</strong></a></p>
<hr />
<h3>Sources</h3>
<ul>
<li><p><a href="https://sas.rutgers.edu/about/news/faculty/faculty-news-detail/commemorating-20-years-of-email-attachments">Rutgers University: Commemorating 20 years of Email Attachments</a></p>
</li>
<li><p><a href="https://www.ietf.org/ietf-ftp/rfc/rfc1341.txt.pdf">IETF RFC 1341: MIME—Multipurpose Internet Mail Extensions</a></p>
</li>
<li><p><a href="https://support.google.com/mail/answer/6584?hl=en-uk">Gmail Help: Send attachments with your Gmail message</a></p>
</li>
<li><p><a href="https://support.microsoft.com/en-us/outlook/reduce-attachment-size-to-send-large-files-with-outlook">Microsoft Support: Reduce attachment size to send large files with Outlook</a></p>
</li>
</ul>
]]></content:encoded></item><item><title><![CDATA[Why Does Sending a File to the Laptop Next to Me Require a Password, an Email, and 2FA?]]></title><description><![CDATA[Why file transfers became account funnels—and how SEYFR sends files across devices and networks without email, passwords, or permanent profiles.]]></description><link>https://blog.jitpomi.com/why-does-sending-a-file-to-the-laptop-next-to-me-require-a-password-an-email-and-2fa</link><guid isPermaLink="true">https://blog.jitpomi.com/why-does-sending-a-file-to-the-laptop-next-to-me-require-a-password-an-email-and-2fa</guid><category><![CDATA[privacy]]></category><category><![CDATA[technology]]></category><category><![CDATA[Productivity]]></category><category><![CDATA[file-transfer]]></category><dc:creator><![CDATA[JITPOMI]]></dc:creator><pubDate>Sun, 09 Aug 2026 06:23:36 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/62aa05342b2b09182b653c51/a1eb0553-49d2-4e71-9e20-73eedb094cfd.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>The laptop is six feet away.</p>
<p>The file is already on your phone.</p>
<p>Yet the transfer begins by asking who you are.</p>
<p>Email address. Password. Verification code. Maybe a two-factor authentication prompt on another device. Then an upgrade screen—before a single byte has crossed the room.</p>
<p>Why should sending a file feel like opening a bank account?</p>
<h2>One small task, one completely unnecessary identity</h2>
<p>The pain is not that accounts are always bad. The pain is that <strong>this transfer does not need one</strong>.</p>
<p>You are not creating a team workspace. You are not opening a permanent cloud archive. You are not asking a company to remember your files for the next five years.</p>
<p>You are trying to move one file from here to there.</p>
<p>But many transfer products have turned that moment into an identity funnel. <a href="https://help.wetransfer.com/hc/en-us/articles/22325866917010-Why-do-I-need-to-create-an-account-to-send-a-transfer">WeTransfer says that, since November 2024, all senders must have an account</a>. When you are signed out, its documented flow asks for your email address, sends a verification code, and requires you to paste that code back before sending. Passwordless login means returning to the inbox for another code later.</p>
<p>The file may be six feet away. Your permission to send it is making a round trip through somebody else's servers.</p>
<p>Phone-migration workflows can add another layer. Samsung's own older Smart Switch documentation includes flows involving an <a href="https://image-us.samsung.com/SamsungUS/business/solutions/topics/device-switch/making_the_smart_switch_admin_guide_04062023.pdf">iCloud account and password</a>. Google's <a href="https://support.google.com/android/answer/13801258?hl=en">Quick Share documentation for Windows</a> says a Google Account is required to access all sharing options.</p>
<p>The names and exact steps change. The pattern does not: a simple utility becomes dependent on a permanent identity.</p>
<h2>The business wants an account. The file does not.</h2>
<p>The reason is straightforward.</p>
<p>An account gives a company a user it can recognize, measure, contact, retain, and eventually upsell. A transfer becomes the entrance to cloud storage, larger limits, team plans, history, subscriptions, and an ecosystem.</p>
<p>That may be good business.</p>
<p>It is not a technical requirement for handing a file to another device.</p>
<p>A file transfer needs <strong>authorization</strong>—a way to confirm that the correct receiver may join this transfer. It does not need a permanent profile that remembers who you are after the job is finished.</p>
<p>That distinction is the entire idea behind SEYFR.</p>
<p><strong>See account-free file transfer in action:</strong> <em>Martillo de Maslow, Episode 2</em> turns this exact email-password-2FA problem into a short story—and shows the simpler SEYFR path.</p>
<p><a class="embed-card" href="https://www.youtube.com/watch?v=543CGX-zdhM">https://www.youtube.com/watch?v=543CGX-zdhM</a></p>

<h2>The ticket is the permission</h2>
<p><a href="https://seyfr.jitpomi.com/?utm_source=jitpomi_blog&amp;utm_medium=owned_content&amp;utm_campaign=utility_without_accounts&amp;utm_content=dev_team_password_email_and_2fa_article_v1&amp;utm_term=9c6f0e34-38b1-4a5b-b323-678f49cde098">SEYFR</a> replaces permanent identity with a temporary transfer ticket.</p>
<p>The sender chooses a file. SEYFR creates a QR code and a text ticket. The receiver scans or pastes it. The two devices connect, confirm the transfer, and move the file.</p>
<p>That is the whole ceremony.</p>
<p>No SEYFR account.</p>
<p>No email signup.</p>
<p>No phone number.</p>
<p>No password.</p>
<p>No code delivered to an inbox.</p>
<p>The ticket contains the connection information needed for this transfer. It is not a user profile, a cloud folder, or a lifelong membership card. It exists to help the intended devices find and verify each other, then its job is over.</p>
<p>This is what security should feel like: specific to the action, understandable to the people involved, and temporary by design.</p>
<h2>Some excellent tools already proved people want this</h2>
<p>SEYFR is not alone in believing file transfer should become simple again.</p>
<p>LocalSend deserves credit for making local, cross-platform sharing private and account-free. Snapdrop showed how delightful it could feel to open a browser and see another nearby device. PairDrop has continued pushing that browser-based idea forward.</p>
<p>These projects are evidence that people do not want another login screen. They helped restore the idea of file transfer as a utility, and we are glad they exist.</p>
<p>SEYFR takes that movement one decisive step further:</p>
<blockquote>
<p><strong>Your devices do not have to share the same Wi-Fi network.</strong></p>
</blockquote>
<p>LocalSend is excellent when devices can discover each other on the same local network. Snapdrop's original magic was also built around nearby devices sharing a network. But “nearby” should describe the people—not the router.</p>
<p>The laptop beside you might be on Ethernet while your phone is using mobile data. Guest Wi-Fi may isolate devices from one another. A hotel or office network may block local discovery. The receiver may not be beside you at all; they may be across town or across the world.</p>
<p>SEYFR's ticket does not depend on both devices appearing in the same local discovery list.</p>
<p>Open SEYFR on both supported devices. On the sending device, select the file or folder and share the QR code or transfer ticket. On the receiving device, scan the QR code or paste the ticket, then choose where to save the file or folder.</p>
<h2>SEYFR's superpower is freedom from the network boundary</h2>
<p>This is where SEYFR stops being merely another account-free alternative.</p>
<p>It combines the simplicity people love in LocalSend and Snapdrop with a transfer path designed to work across local <strong>or different networks</strong>.</p>
<p>When a direct peer-to-peer path is available, the devices transfer directly. A relay helps them exchange connection information and steps back when that direct path works. If the network will not permit a direct path, the relay can forward the end-to-end encrypted transfer without reading the file or storing it as a cloud-drive object.</p>
<p>So the experience stays consistent:</p>
<ul>
<li><p>same room or different continents;</p>
</li>
<li><p>home Wi-Fi, office Ethernet, guest networks, or mobile data;</p>
</li>
<li><p>Android, iPhone, iPad, Mac, Windows, and Linux;</p>
</li>
<li><p>photos, videos, documents, or folders;</p>
</li>
<li><p>no SEYFR identity required.</p>
</li>
</ul>
<p>The network path can change, but SEYFR's demand on the people does not: neither person must become a registered user. Whether the devices connect directly or the encrypted transfer needs relay assistance, authorization still comes from the temporary ticket—not an email address, password, phone number, or permanent profile.</p>
<p>That is SEYFR's real advantage. It does not merely hide the account form or postpone registration until later. It removes the account from the transfer model.</p>
<h2>Try the six-foot test</h2>
<p>Put a phone and laptop beside each other, but place them on different networks. Keep the laptop on Ethernet or Wi-Fi. Turn off Wi-Fi on the phone and use mobile data.</p>
<p>Now send a large, original-quality file.</p>
<p>If a tool needs both devices on the same local network, it has reached its boundary.</p>
<p>If it asks you to create an account, it has introduced an identity that the transfer does not need.</p>
<p>With SEYFR, one device shows the ticket and the other scans or pastes it. The file moves between the intended devices without turning either person into an account.</p>
<p>And if the receiver is not six feet away but six thousand miles away, the steps remain the same.</p>
<h2>Software can be useful without trying to own the user</h2>
<p>The best utilities do not mistake access for ownership.</p>
<p>They do not treat every action as the beginning of a subscription. They do not require a permanent identity for a temporary exchange. They do not force your devices onto the same network simply because local discovery was easier to build.</p>
<p>LocalSend, Snapdrop, PairDrop, and other account-free projects helped prove that people are ready for simpler file transfer.</p>
<p>SEYFR carries that principle beyond the room.</p>
<p>Pick the file.</p>
<p>Show the ticket.</p>
<p>Send nearby—or across the world.</p>
<p><a href="https://seyfr.jitpomi.com/?utm_source=jitpomi_blog&amp;utm_medium=owned_content&amp;utm_campaign=utility_without_accounts&amp;utm_content=dev_team_password_email_and_2fa_article_v1&amp;utm_term=9c6f0e34-38b1-4a5b-b323-678f49cde098">Try SEYFR with no account, password, or shared Wi-Fi required.</a></p>
]]></content:encoded></item><item><title><![CDATA[SEYFR  "Jail Lock ":  Don't Trust Us. Trust the Math.]]></title><description><![CDATA[Most file transfer apps require access to your entire device, putting your privacy at risk. See how SEYFR's zero-trust Folder Jail protects your data.]]></description><link>https://blog.jitpomi.com/seyfr-jail-lock-don-t-trust-us-trust-the-math</link><guid isPermaLink="true">https://blog.jitpomi.com/seyfr-jail-lock-don-t-trust-us-trust-the-math</guid><category><![CDATA[File sharing]]></category><category><![CDATA[file-transfer]]></category><category><![CDATA[privacy]]></category><category><![CDATA[CybersecurityAwareness]]></category><dc:creator><![CDATA[JITPOMI]]></dc:creator><pubDate>Wed, 03 Jun 2026 05:08:33 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/62aa05342b2b09182b653c51/11ff0919-ae81-463d-96d9-d6a94d128453.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>File transfer software handles data people care about, so trust should come from specific, testable boundaries—not slogans.</p>
<p>A 2021 Trend Micro report described serious vulnerabilities in SHAREit. That history is worth learning from, but it does not prove that every peer-to-peer product is unsafe, and it does not make SEYFR automatically secure. The useful question is: <strong>what does SEYFR actually do?</strong></p>
<h2>What SEYFR asks you to share</h2>
<p>SEYFR works with the files or folders you select through the controls provided by the operating system. The exact permission model differs across Android, iOS, macOS, Windows and Linux. We should not claim that the app is “mathematically incapable” of accessing anything else; platform permissions and the released implementation are the evidence that matters.</p>
<p>Received data is written into the destination chosen or allowed by the receiving platform. SEYFR’s implementation validates destination paths so a name such as <code>../../other-file</code> cannot simply escape the intended receive directory. That is a concrete protection against directory-traversal writes—not a promise that no security bug can ever exist.</p>
<h2>What the QR code contains</h2>
<p>The QR code does <strong>not</strong> contain the file.</p>
<p>It contains the information needed to find the sender and a 32-byte BLAKE3 content hash. A content hash is a cryptographic fingerprint: it identifies the expected bytes without revealing or storing those bytes inside the hash.</p>
<p>Iroh’s blobs protocol verifies the transferred content in small chunks and checks it against that fingerprint. If the received bytes do not match, verification fails.</p>
<h2>How the network path works</h2>
<p>SEYFR uses Iroh networking. Iroh attempts a direct encrypted connection between the devices. Some routers, firewalls and mobile networks prevent that route, so Iroh can fall back to relay infrastructure.</p>
<p>The relay forwards end-to-end encrypted traffic and cannot read the file contents. This is why “always direct,” “no server,” and “never touches infrastructure” would be inaccurate descriptions.</p>
<p>Direct connections can expose each peer’s IP address to the other peer. Relay operators can observe connection metadata needed to operate the service, even though they cannot read the encrypted file contents.</p>
<h2>What SEYFR does—and does not—promise</h2>
<p>SEYFR is designed to:</p>
<ul>
<li>transfer user-selected files between supported devices;</li>
<li>avoid a JITPOMI cloud-drive upload step;</li>
<li>send the selected bytes without intentional recompression;</li>
<li>encrypt the transfer in transit;</li>
<li>verify received content against its BLAKE3 fingerprint; and</li>
<li>connect directly when possible, with encrypted relay fallback when needed.</li>
</ul>
<p>No responsible product should promise “absolute control,” “100% security,” or immunity from every future vulnerability. Our promise is simpler: explain the design precisely, correct mistakes publicly and keep improving the implementation.</p>
<p><a href="https://seyfr.jitpomi.com/design?utm_source=jitpomi_blog&amp;utm_medium=owned_content&amp;utm_campaign=seyfr_education&amp;utm_content=jail_lock_article">Read the SEYFR architecture and get the app</a></p>
<hr />
<p><strong>References</strong></p>
<ul>
<li><a href="https://www.trendmicro.com/en_us/research/21/b/shareit-flaw-could-lead-to-remote-code-execution.html">Trend Micro Research — SHAREit vulnerabilities</a></li>
<li><a href="https://docs.iroh.computer/protocols/blobs">Iroh blobs protocol</a></li>
<li><a href="https://docs.iroh.computer/concepts/relay">Iroh relay concepts</a></li>
<li><a href="https://seyfr.jitpomi.com/design">SEYFR architecture</a></li>
</ul>
]]></content:encoded></item><item><title><![CDATA[SEYFR in 7 Days — How One Tool Connected the World for File Sharing]]></title><description><![CDATA[Send files securely across any device. See How SEYFR's peer to peer file transfer connected windows and android users globally in just 7 days.]]></description><link>https://blog.jitpomi.com/seyfr-in-7-days-how-one-tool-connected-the-world-for-file-sharing</link><guid isPermaLink="true">https://blog.jitpomi.com/seyfr-in-7-days-how-one-tool-connected-the-world-for-file-sharing</guid><category><![CDATA[files]]></category><category><![CDATA[File sharing]]></category><category><![CDATA[file-transfer]]></category><category><![CDATA[send big files free 20gb]]></category><category><![CDATA[ Sharefile Free]]></category><category><![CDATA[move the company files to a new computer]]></category><category><![CDATA[Large File Transfer]]></category><dc:creator><![CDATA[JITPOMI]]></dc:creator><pubDate>Mon, 01 Jun 2026 02:06:47 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/62aa05342b2b09182b653c51/267eef19-6932-4f68-b0ff-53bcf24e157b.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>One week after SEYFR’s first public release, we saw interest from several countries. That was encouraging—but our early wording confused website traffic with verified product use. This is the corrected account.</p>
<h2>What we measured</h2>
<p>Our website analytics showed visitors from the United States, United Kingdom, Mexico, Finland, the Dominican Republic, Uganda, Germany and Poland. Website location data is approximate, and a visit does not prove that somebody installed the app or completed a transfer.</p>
<p>The evidence we can responsibly separate is:</p>
<ul>
<li><strong>Website interest:</strong> visits measured by Google Analytics.</li>
<li><strong>Store activity:</strong> impressions, product-page views, acquisitions and installs reported by Apple, Google and Microsoft.</li>
<li><strong>Working transfers:</strong> tests performed by our team and feedback from external users who told us what devices and conditions they tested.</li>
</ul>
<p>Those are useful signals, but they are not interchangeable.</p>
<h2>What SEYFR does</h2>
<p>SEYFR transfers user-selected files between supported Android, iPhone, iPad, macOS, Windows and Linux devices. It uses Iroh networking to attempt a direct, encrypted connection. When a direct route is unavailable, Iroh can use an end-to-end encrypted relay that forwards the bytes without being able to read the file contents.</p>
<p>SEYFR does not require a SEYFR account or a JITPOMI cloud-drive upload. It sends the selected bytes without intentional recompression. A QR code or transfer token carries connection directions and a 32-byte BLAKE3 content hash—not the file itself.</p>
<p>We should therefore not describe every transfer as “always direct,” “serverless,” or guaranteed to run at the maximum possible speed. Network conditions, device storage, platform limits and relay availability all matter.</p>
<h2>What happened after launch</h2>
<p>SEYFR is now available through Google Play, the Apple App Store and Mac App Store, Microsoft Store, and a Linux download. External users have reported successful transfers, including a test between the United States and Australia. Our YouTube channel also documents real transfers under the conditions shown in each video.</p>
<p>Distribution remains the challenge. Store availability proves that people can obtain the product; it does not prove that enough people are discovering, installing or retaining it. That is why we now measure the journey separately: source → website visit → store click → store-reported acquisition or install.</p>
<h2>What we learned</h2>
<p>Early attention is not the same as adoption. Our job is to publish evidence, label it correctly and improve from what the numbers actually show.</p>
<p><a href="https://seyfr.jitpomi.com/?utm_source=jitpomi_blog&amp;utm_medium=owned_content&amp;utm_campaign=seyfr_education&amp;utm_content=seven_days_article">See how SEYFR works and choose your platform</a></p>
<p>If you test SEYFR, tell us the sending device, receiving device, network conditions and result at <a href="mailto:dev@jitpomi.com">dev@jitpomi.com</a>. That detail helps us learn much more than a vague “it worked.”</p>
]]></content:encoded></item><item><title><![CDATA[SEYFR - Send Your Files Right!]]></title><description><![CDATA[We built SEYFR: We want you to Send Your Files Right. You deserve it! You deserve to stay in charge of your most important files an preserv]]></description><link>https://blog.jitpomi.com/send-your-files-right</link><guid isPermaLink="true">https://blog.jitpomi.com/send-your-files-right</guid><category><![CDATA[file-transfer]]></category><category><![CDATA[peer to peer]]></category><category><![CDATA[local first]]></category><category><![CDATA[privacy]]></category><category><![CDATA[securityawareness]]></category><category><![CDATA[Security]]></category><category><![CDATA[ File Sharing Solutions]]></category><dc:creator><![CDATA[JITPOMI]]></dc:creator><pubDate>Fri, 22 May 2026 16:42:51 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/62aa05342b2b09182b653c51/3d2493b5-c0c4-4fd8-809b-db8b4858c808.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Moving a file between your own devices should not require emailing it to yourself, finding a cable, creating another account or first uploading it to a cloud drive. That is the problem SEYFR was built to address.</p>
<h2>What “Send Your Files Right” means</h2>
<p>SEYFR lets you choose files or a folder, share a QR code or transfer token, and receive the original bytes on another supported device. It works across Android, iPhone, iPad, macOS, Windows and Linux.</p>
<p>The QR code is a map plus a fingerprint—not the package. It contains connection information and a 32-byte BLAKE3 content hash, but no file data. Iroh uses that fingerprint to request and verify the content as it arrives.</p>
<p>SEYFR attempts a direct, encrypted connection between the devices. If network conditions prevent a direct route, Iroh can use an end-to-end encrypted relay. The relay forwards encrypted traffic but cannot read the file contents.</p>
<p>That is more precise than saying “no servers” or “always direct.” SEYFR avoids a JITPOMI cloud-drive upload step, but discovery and relay infrastructure may still help devices connect.</p>
<h2>What you keep</h2>
<p>SEYFR does not intentionally recompress the selected files. Photos, videos, documents and folders retain their original selected bytes and format. The app does not impose a fixed transfer-size cap, although device storage, operating-system limits, network conditions and relay availability still apply.</p>
<p>No SEYFR account is required. The released apps are free to download and use today; that is a description of the current product, not a “free forever” promise.</p>
<p>At JITPOMI, “simple first, local first” means explaining the real system clearly—without hiding complexity behind buzzwords and without watering down what the technology actually does.</p>
<p><a href="https://seyfr.jitpomi.com/?utm_source=jitpomi_blog&amp;utm_medium=owned_content&amp;utm_campaign=seyfr_education&amp;utm_content=send_files_right_article">See how SEYFR works and choose your platform</a></p>
]]></content:encoded></item><item><title><![CDATA[Understanding Rust's Ownership Model]]></title><description><![CDATA[Understanding Rust's ownership system can be tough at first, but once you think of variables as bank cards and values as bank accounts, everything starts…]]></description><link>https://blog.jitpomi.com/understanding-rusts-ownership-model</link><guid isPermaLink="true">https://blog.jitpomi.com/understanding-rusts-ownership-model</guid><category><![CDATA[ownership]]></category><category><![CDATA[Rust]]></category><category><![CDATA[Rust programming]]></category><category><![CDATA[borrowing]]></category><category><![CDATA[drop]]></category><dc:creator><![CDATA[JITPOMI]]></dc:creator><pubDate>Mon, 23 Jun 2025 10:00:58 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/NOrkS1SLSbI/upload/f6ae2c7f6adc3dbec958b6892cc54272.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Understanding Rust's ownership system can be tough at first, but once you think of variables as <strong>bank cards</strong> and values as <strong>bank accounts</strong>, everything starts to make sense.</p>
<hr />
<h2>1. 💳 Ownership (Move)</h2>
<pre><code class="language-rust">let card_one = String::from("Bank Account: PIN 1234");
let card_two = card_one; // card_one is invalidated (dropped), now card_two owns the account
println!("{}", card_one); // ❌ ERROR! 
// If the teller borrows card_one to try and print your bank details after you dropped it,
// they'll find the card is invalid.
println!("{}", card_two); // ✅
// If they borrow card_two however, they'll successfully print your bank info.
</code></pre>
<p>👉 <strong>Only one card can own the account at a time.</strong> When ownership is moved, the old card becomes useless.</p>
<hr />
<h2>2. 📷 Cloning</h2>
<pre><code class="language-rust">let card_one = String::from("Bank Account");
let card_two = card_one.clone(); // make a copy of both the card and the account
println!("{} and {}", card_one, card_two); // ✅
</code></pre>
<p>👉 Now we have two cards each pointing to <strong>its own separate account</strong>. The accounts just happen to hold similar info, but they are <strong>distinct items</strong>.</p>
<hr />
<h2>3. 🕵️ Immutable Borrowing (Read-Only)</h2>
<pre><code class="language-rust">let card_one = String::from("Bank Account");
let card_copy_one = &amp;card_one;  // borrow and read as much as you want as long as you can't change
let card_copy_two = &amp;card_one; // borrow and read as much as you want as long as you can't change
println!("{}, {}", card_copy_one, card_copy_two ); // ✅
</code></pre>
<p>👉 Multiple read-only copies are fine. <strong>No one can change anything</strong>, but everyone can check the balance.</p>
<hr />
<h2>4. ✍️ Mutable Borrowing (Exclusive Write Access)</h2>
<p>Let's say you want to <strong>change your account info</strong>:</p>
<pre><code class="language-rust">let mut card_one = String::from("Bank Account");
// A financial assistant temporarily borrows your card, but this time with edit rights (mutable borrow)
let editor = &amp;mut card_one;
println!("{}", card_one); // ❌
// If the financial assistant is still working with the card, you're not allowed to use it.
editor.push_str(" - PIN Updated"); // they update your PIN
</code></pre>
<p>But when the edit is complete: You are free to use it</p>
<pre><code class="language-rust">let mut card_one = String::from("Bank Account");
let editor = &amp;mut card_one;
editor.push_str(" - PIN Updated"); // ✅ Editor finished
println!("{}", card_one); // ✅ Back to the owner
</code></pre>
<p>Note: After the financial assistant is done changing your account and handed over ownership to you, they are not allowed to use their mutable borrow to read or update your bank account anymore.</p>
<pre><code class="language-rust">let mut card_one = String::from("Bank Account");
let editor = &amp;mut card_one;
editor.push_str(" - PIN Updated"); // ✅ Editor finished
println!("{}", card_one); // ✅ Back to the owner
println!("{}", editor); // ❌
// Once the mutable borrow is done, you can't keep using the editor to access the account.
</code></pre>
<p>👉 Only <strong>one mutable borrow</strong> is allowed at a time. And during that time, <strong>the owner can't access the card</strong>.</p>
<hr />
<h2>Summary</h2>
<ul>
<li><p>Only <strong>one owner</strong> (card) at a time.</p>
</li>
<li><p>You can <strong>clone</strong> to make a copy (new card + new account).</p>
</li>
<li><p>You can <strong>borrow immutably</strong> multiple times to read, but not change.</p>
</li>
<li><p>You can <strong>borrow mutably</strong> only once, exclusively, to edit.</p>
</li>
</ul>
<p>Rust is like a strict bank that <strong>always knows who's holding the card</strong>, and <strong>won’t let you mess up account access rules</strong>.</p>
<p>🧠 <strong>Once you understand the card/account model, you understand Rust’s safety rules.</strong></p>
<hr />
<h2>See Rust ownership in a real local-first app</h2>
<p>SEYFR is built in Rust and uses Iroh to send files between supported devices. Its design page explains the real architecture—including BLAKE3 content hashes, verified data chunks, encrypted connections, and why the QR code identifies the transfer but does not contain the file.</p>
<p><a href="https://seyfr.jitpomi.com/design?utm_source=jitpomi_blog&amp;utm_medium=owned_content&amp;utm_campaign=seyfr_education&amp;utm_content=rust_ownership_cta">Read how SEYFR works</a></p>
]]></content:encoded></item><item><title><![CDATA[Reactive Communication in Qwik]]></title><description><![CDATA[Learn how to facilitate parent-child component communication in Qwik using reactive signals and useTask$ for efficient state tracking]]></description><link>https://blog.jitpomi.com/reactive-communication-in-qwik</link><guid isPermaLink="true">https://blog.jitpomi.com/reactive-communication-in-qwik</guid><category><![CDATA[useTask]]></category><category><![CDATA[components]]></category><category><![CDATA[Qwik]]></category><category><![CDATA[props]]></category><category><![CDATA[Reactivity]]></category><dc:creator><![CDATA[george isaac]]></dc:creator><pubDate>Sun, 20 Apr 2025 17:48:34 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1745171119932/db9fd894-4e16-44b4-82b7-0d0edb7e799e.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h1>Introduction</h1>
<p>Sometimes in a Qwik app, we want our components to communicate. Specifically, we might want a child component to notify its parent when something important happens inside it. This is a common need in developing web apps for example.</p>
<p>Let’s take a simple example:</p>
<p>Imagine we are building a form that asks the user for their age. If the user is 18 or older, we want to show a message that says, "You are an adult!" But the input field for the age lives in a child component. So, how do we let the parent know when the age is 18 or more?</p>
<p>We’ll walk through how to achieve this in Qwik using signals and useTask$.</p>
<p>To keep this tutorial short, we won’t go over the steps on how to install and set up Qwik. You check out the steps here <a href="https://qwik.dev/docs/getting-started/">https://qwik.dev/docs/getting-started/</a></p>
<h2><strong>The Goal</strong></h2>
<ul>
<li><p>Child component has an age input.</p>
</li>
<li><p>Parent listens for updates and reacts when the age is 18 or above.</p>
</li>
</ul>
<h2><strong>Step 1: Parent Component</strong></h2>
<pre><code class="language-javascript">// Parent.tsx
import { component\(, useSignal, \) } from '@builder.io/qwik';
import AgeInput from './AgeInput';

export default component$(() =&gt; {
  const isAdult = useSignal(false);

  return (
    &lt;div&gt;
      &lt;h2&gt;Enter your age:&lt;/h2&gt;
      &lt;AgeInput
        onStatusChange\(={\)((status: boolean) =&gt; {
          isAdult.value = status;
        })}
      /&gt;
      {isAdult.value &amp;&amp; &lt;p&gt;You are an adult!&lt;/p&gt;}
    &lt;/div&gt;
  );
});
</code></pre>
<p>Here, the parent:</p>
<ul>
<li><p>Tracks if the user is an adult using isAdult signal.</p>
</li>
<li><p>Passes a callback function onStatusChange$ to the child.</p>
</li>
</ul>
<h2><strong>Step 2: Child Component</strong></h2>
<pre><code class="language-javascript">// AgeInput.tsx
import { component\(, useSignal, useTask\), QRL } from '@builder.io/qwik';

export interface AgeInputProps {
  onStatusChange$: QRL&lt;(isAdult: boolean) =&gt; void&gt;;
}

export default component$&lt;AgeInputProps&gt;((props) =&gt; {
  const age = useSignal&lt;number&gt;(0);

  useTask$(({ track }) =&gt; {
    track(() =&gt; age.value);

    props.onStatusChange$(age.value &gt;= 18);
  });

  return (
    &lt;input
      type="number"
      value={age.value}
      onInput$={(e) =&gt; (age.value = parseInt((e.target as HTMLInputElement).value))}
    /&gt;
  );
});
</code></pre>
<p>In the child:</p>
<ul>
<li><p>age is a reactive signal.</p>
</li>
<li><p>We use useTask$ to watch changes to age.value.</p>
</li>
<li><p>When the age updates, we call the parent's onStatusChange$ with a boolean indicating if the user is an adult.</p>
</li>
</ul>
<h1><strong>Why Use useTask$ Here?</strong></h1>
<p>useTask\( allows the child to react to changes over time in a clean, reactive way. You might think, "Why not just call the function directly in onInput\)?" That would work, but useTask$ gives us a few key benefits:</p>
<ul>
<li><p>We keep logic separated from UI events.</p>
</li>
<li><p>We can easily track multiple values if needed in future.</p>
</li>
<li><p>Our code becomes more reactive and maintainable.</p>
</li>
</ul>
<h1><strong>Summary</strong></h1>
<p>This pattern lets components collaborate in a reactive way:</p>
<table>
<thead>
<tr>
<th><strong>Role</strong></th>
<th><strong>What It Does</strong></th>
</tr>
</thead>
<tbody><tr>
<td>Parent</td>
<td>Receives updates from the child and decides what to do</td>
</tr>
<tr>
<td>Child</td>
<td>Tracks some internal state (like age) and notifies the parent when it changes</td>
</tr>
<tr>
<td>useTask$</td>
<td>Observes the internal state and triggers side effects</td>
</tr>
</tbody></table>
<p>This example might be simple, but the pattern scales beautifully. Anytime you want a component to inform another about changes, this is a great tool to have in your belt.</p>
]]></content:encoded></item><item><title><![CDATA[Web Based Local First P2P Development with Holepunch's  Ecosystem]]></title><description><![CDATA[Explore Holepunch; An app development platform that makes it easy to build, ship, and update fully P2P desktop/mobile/web apps without using any servers.]]></description><link>https://blog.jitpomi.com/web-based-local-first-p2p-development-with-holepunchs-ecosystem</link><guid isPermaLink="true">https://blog.jitpomi.com/web-based-local-first-p2p-development-with-holepunchs-ecosystem</guid><category><![CDATA[peer to peer]]></category><category><![CDATA[decentralization]]></category><category><![CDATA[Collaboration]]></category><category><![CDATA[btree]]></category><category><![CDATA[localfirst]]></category><dc:creator><![CDATA[JITPOMI]]></dc:creator><pubDate>Thu, 01 Jun 2023 02:57:40 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1711674534091/3901f9b0-225f-4938-9335-93f0b8bb12cc.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Memorial Day was bliss for our team, we found a ward into a dimension of software development we'd all thought was fictitious before - The World of <a target="_blank" href="https://www.inkandswitch.com/local-first/">Local-first P2P software</a> development on the web. A world where your data is yours despite the cloud, a world of real collaboration, ownership and full availability of your data. We found <a target="_blank" href="https://github.com/holepunchto">Holepunch</a>!</p>
<p>Holepunch is an app development platform that makes it easy to build, ship, and update fully P2P desktop/mobile/(even web) apps without using any cloud hosting servers. As you might have probably heard, working with Holepunch's tools in the browser is not common. Many believe it's impossible. <a target="_blank" href="https://github.com/Ruulul">Vih</a> and I set out to debunk this when we built a demo to-do web app called <a target="_blank" href="https://github.com/jermsam/hello-peers/tree/main">hello-peers</a>. You should clone it and run it (both the server and client) to see it in action!</p>
<h2 id="heading-how-was-it-built">How was it built?</h2>
<p>I am happy to show you, but I strongly recommend that you check out the tech stack description in the GitHub repo. Here, I will take a precise approach to explain the demo's implementation and point out the specific semantics upon which the demo was built so you can follow it to build anything you want.</p>
<h2 id="heading-the-relay">The Relay</h2>
<ol>
<li><p>Create a Hyperswarm DHT and add relay it over framed streams when a WebSocket connection is established. Your WebSocket implementation is up to you.</p>
<pre><code class="lang-typescript">
 <span class="hljs-keyword">import</span> Stream <span class="hljs-keyword">from</span> <span class="hljs-string">'@hyperswarm/dht-relay/ws'</span>;
 <span class="hljs-keyword">import</span> { relay } <span class="hljs-keyword">from</span> <span class="hljs-string">'@hyperswarm/dht-relay'</span>;
 <span class="hljs-keyword">import</span> DHT <span class="hljs-keyword">from</span> <span class="hljs-string">'hyperdht'</span>;

 <span class="hljs-keyword">const</span> dht = <span class="hljs-keyword">new</span> DHT();

 <span class="hljs-comment">// .... websocket server implementaion =&gt; wss</span>

 wss.on(<span class="hljs-string">'connection'</span>, <span class="hljs-function"><span class="hljs-keyword">function</span> (<span class="hljs-params">ws</span>) </span>{
   relay(dht, <span class="hljs-keyword">new</span> Stream(<span class="hljs-literal">false</span>, ws));
 })
</code></pre>
</li>
<li><p>On the client side, grab the DHT from the WebSocket connection (whatever implementation) and create a <a target="_blank" href="https://www.npmjs.com/package/hyper-sdk">HyperSDK</a> to use for the rest of your hyper-core implementation on the client.</p>
<pre><code class="lang-typescript"> <span class="hljs-keyword">import</span> DHT <span class="hljs-keyword">from</span> <span class="hljs-string">'@hyperswarm/dht-relay'</span>;
 <span class="hljs-keyword">import</span> Stream <span class="hljs-keyword">from</span> <span class="hljs-string">'@hyperswarm/dht-relay/ws'</span>;
 <span class="hljs-keyword">import</span> * <span class="hljs-keyword">as</span> SDK <span class="hljs-keyword">from</span> <span class="hljs-string">'hyper-sdk'</span>;

 <span class="hljs-keyword">const</span> dht = <span class="hljs-keyword">new</span> DHT(<span class="hljs-keyword">new</span> Stream(<span class="hljs-literal">true</span>, socket));

 <span class="hljs-keyword">const</span> sdk = <span class="hljs-keyword">await</span> SDK.create({
   storage: <span class="hljs-literal">false</span>, <span class="hljs-comment">// by choice we did not persist any data</span>
   autoJoin: <span class="hljs-literal">false</span>, <span class="hljs-comment">// we wanted fine control over peer discovery</span>
   swarmOpts: {
     dht <span class="hljs-comment">// passed the dht to the hyperswarm constructor</span>
   }
 })
</code></pre>
<p> And that's it. You got yourself a Hyper SDK that combines all the lower-level pieces of the Hyper stack into high-level APIs that you can use across platforms (web inclusive) and can now focus on your application's business logic.</p>
</li>
</ol>
<h2 id="heading-the-discovery">The Discovery</h2>
<p>Managing this is a choice we made when we turned autoJoin off on our SDK. Your use case may be different but if like us you asked for fine-grained control over <a target="_blank" href="https://jsantell.com/p2p-peer-discovery/">peer discover</a>y, here is how you would do it. Otherwise, just flip autoJoin to true.</p>
<p>There are several ways to discover nodes, you can do that by name, DNS, or a 32-byte buffer token. In our case, we used the later</p>
<pre><code class="lang-typescript"><span class="hljs-comment">//...</span>
<span class="hljs-comment">// @ts-ignore</span>
<span class="hljs-keyword">import</span> goodbye <span class="hljs-keyword">from</span> <span class="hljs-string">'graceful-goodbye'</span>;
<span class="hljs-comment">// import * as BufferSource from 'buffer/'</span>
<span class="hljs-keyword">import</span> b4a <span class="hljs-keyword">from</span> <span class="hljs-string">'b4a'</span>;

<span class="hljs-comment">// ... sdk generation code above</span>

<span class="hljs-keyword">const</span> topicBuffer = <span class="hljs-keyword">await</span> crypto.subtle.digest(<span class="hljs-string">'SHA-256'</span>, b4a.from(<span class="hljs-string">'say a good hello'</span>, <span class="hljs-string">'hex'</span>)).then(b4a.from);

<span class="hljs-comment">// discovery here is a hypercore</span>
<span class="hljs-keyword">const</span> discovery = <span class="hljs-keyword">await</span> sdk.get(topicBuffer);

discovery.on(<span class="hljs-string">'peer-add'</span>, <span class="hljs-function"><span class="hljs-params">peerInfo</span> =&gt;</span> {
  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'new peer, peer:'</span>, peerInfo, <span class="hljs-string">'peer count:'</span>,         discovery.peers.length);
});

<span class="hljs-comment">// const db = await createMultiWriterDB(sdk, discovery)</span>
<span class="hljs-comment">// goodbye(async () =&gt; {</span>
<span class="hljs-comment">//   await db.close()</span>
<span class="hljs-comment">//   await discovery.close()</span>
<span class="hljs-comment">//   await sdk.close()</span>
<span class="hljs-comment">// })</span>
<span class="hljs-comment">// const todoCollection = db.collection('todo')</span>
<span class="hljs-comment">// await todoCollection.createIndex(['text'])</span>
<span class="hljs-comment">// await todoCollection.createIndex(['done', 'text'])</span>
<span class="hljs-comment">// resolveReady()</span>
<span class="hljs-comment">// </span>
<span class="hljs-comment">// createWatcher()</span>

sdk.joinCore(discovery).then(<span class="hljs-function">() =&gt;</span> <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'discovering'</span>));
</code></pre>
<h3 id="heading-the-multi-writer-hyperbee">The Multi-Writer Hyperbee</h3>
<p>A Hypercore is a secure, distributed append-only log built for sharing large datasets and streams of real-time data but we use the Hyperbee which is a b-tree running on a Hypercore and makes operations on it more efficient. Both Hypercore and Hyperbee can only have a single writer on a single machine; their creator is the only person who can modify it because they're the only ones with the private key, this is where Autobase comes in handy to transform these higher-level data structures into multi-writer data structures which facilitate two way features like collaboration.</p>
<p>For hello-peers, each peer needed an input and output core but since their roles are interlinked, we needed to remove the responsibility of managing custom storage/replication code from these independent higher-level modules so they are easier to manage so we used CoreStore; a Hypercore factory that makes it easier to manage large collections of named Hypercores and created an Autobase off that as you can see below:</p>
<pre><code class="lang-typescript"><span class="hljs-keyword">import</span> Autobase <span class="hljs-keyword">from</span> <span class="hljs-string">'autobase'</span>;
<span class="hljs-keyword">import</span> Hyperbee <span class="hljs-keyword">from</span> <span class="hljs-string">'hyperbee'</span>
<span class="hljs-comment">// ....</span>

<span class="hljs-keyword">export</span> <span class="hljs-keyword">async</span> <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">createMultiWriterDB</span> (<span class="hljs-params">sdk, discoveryCore, {    extPrefix, name } = defaultMultiWriterOpts</span>) </span>{
  <span class="hljs-comment">//Get back a namespaced Corestore instance </span>
  <span class="hljs-keyword">const</span> IOCore = <span class="hljs-keyword">await</span> sdk.namespace(name);
    <span class="hljs-comment">/* 
    UPGRADE:
    No more there is no need to get the input and output cores 
    as autobase does that for you now.

       const localInput = IOCore.get({ name: 'local-input' });
       const localOutput = IOCore.get({ name: 'local-output' });
         goodbye(async () =&gt; {
           await Promise.all([localInput.close(), localOutput.close()]);
         })
      await Promise.all([localInput.ready(), localOutput.ready()]);
      const autobase = new Autobase({ localInput, inputs: [localInput], localOutput })
    */</span>
    <span class="hljs-comment">/* 
    If loading an existing Autobase then set bootstrap 
    to base.key (as second argument),otherwise pass bootstrap as null.
    */</span>
    <span class="hljs-keyword">const</span> autobase = <span class="hljs-keyword">new</span> Autobase(IOCore,<span class="hljs-literal">null</span>,{
    apply: <span class="hljs-keyword">async</span> (batch, view, base) =&gt; {
      <span class="hljs-comment">// Add .addWriter functionality</span>
      <span class="hljs-keyword">for</span> (<span class="hljs-keyword">const</span> node <span class="hljs-keyword">of</span> batch) {
        <span class="hljs-keyword">const</span> op = node.value
        <span class="hljs-keyword">if</span> (<span class="hljs-string">'id'</span> <span class="hljs-keyword">in</span> op) {
          <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'\rAdding writer'</span>, op.key)
          <span class="hljs-keyword">await</span> base.addWriter(b4a.from(op.key, <span class="hljs-string">'hex'</span>))
        }
      }
      <span class="hljs-comment">// Pass through to Autobee's apply</span>
      <span class="hljs-keyword">await</span> Autodeebee.apply(batch, view, base)
    },
    open: <span class="hljs-function">(<span class="hljs-params">store</span>)=&gt;</span> {
     <span class="hljs-keyword">const</span> core = store.get(name)
      <span class="hljs-keyword">return</span>  <span class="hljs-keyword">new</span> Hyperbee(core, {
        extension: <span class="hljs-literal">false</span>,
      })
     }
  });

 <span class="hljs-keyword">const</span> localBee = <span class="hljs-keyword">new</span> Autobee(autobase)
 <span class="hljs-keyword">await</span> localBee.ready() <span class="hljs-comment">// multi-writer bee here</span>

<span class="hljs-comment">// ...</span>
<span class="hljs-keyword">class</span> Autobee {

 <span class="hljs-keyword">constructor</span> (<span class="hljs-params">autobase, opts = {}</span>) {
    <span class="hljs-built_in">this</span>.autobase = autobase
    <span class="hljs-built_in">this</span>.opts = opts
<span class="hljs-comment">/* UPGRADE:  Needed here anymore - the view was created in Autobas'e open mthod
//  use autobase to transform its hyperbees into multi-writer bee
    if (!opts.sub) {
      this.autobase.start({
       unwrap: true, // this.bee.get calls will return full nodes
// The apply function to create the  linearized Hypercore (this.bee)
       apply: applyAutobeeBatch,
       view: (core) =&gt;
          new Hyperbee(core.unwrap(), {
            ...this.opts,
            extension: false
          })
      })
*/</span>
      <span class="hljs-built_in">this</span>.bee = <span class="hljs-built_in">this</span>.autobase.view
    }
  }
<span class="hljs-comment">// MOVED: Into Autobee</span>
<span class="hljs-comment">// A real apply function would need to handle conflicts, beyond last-one-wins.</span>
<span class="hljs-keyword">static</span> <span class="hljs-keyword">async</span> apply (batch, view) {
    <span class="hljs-keyword">const</span> b = view.batch({ update: <span class="hljs-literal">false</span> })
    <span class="hljs-keyword">for</span> (<span class="hljs-keyword">const</span> node <span class="hljs-keyword">of</span> batch) {
      <span class="hljs-keyword">if</span>(<span class="hljs-string">'id'</span> <span class="hljs-keyword">in</span> node.value) <span class="hljs-keyword">continue</span>;
      <span class="hljs-keyword">const</span> op = BSON.deserialize(node.value)
      <span class="hljs-keyword">const</span> bufKey = getKeyBufferWithPrefix(op.key.buffer || op.key, op.prefix.buffer || op.prefix)
      <span class="hljs-keyword">if</span> (op.type === <span class="hljs-string">'put'</span>) {
        <span class="hljs-keyword">await</span> b.put(bufKey, op.value.buffer)
      }
      <span class="hljs-keyword">if</span> (op.type === <span class="hljs-string">'del'</span>) {
        <span class="hljs-keyword">await</span> b.del(bufKey)
      }
    }
    <span class="hljs-keyword">await</span> b.flush()
  }
  addInput (input, opts={indexer
: <span class="hljs-literal">true</span>}) {
    <span class="hljs-keyword">const</span> key = input.key;
    <span class="hljs-keyword">return</span> <span class="hljs-built_in">this</span>.autobase.addWriter(key, opts)
  }
 removeInput (key) {
    <span class="hljs-keyword">return</span> <span class="hljs-built_in">this</span>.autobase.removeWriter(key)
  }
  put (key, value, <span class="hljs-comment">/*opts={}*/</span>) {
    <span class="hljs-keyword">const</span> op = b4a.from(
      BSON.serialize({ <span class="hljs-keyword">type</span>: <span class="hljs-string">'put'</span>, key, value, prefix: <span class="hljs-built_in">this</span>.bee.prefix })
    )

    <span class="hljs-keyword">return</span>  <span class="hljs-built_in">this</span>.autobase.append(op)
  }

  del (key, <span class="hljs-comment">/*opts = {}*/</span> ) {
    <span class="hljs-keyword">const</span> op = b4a.from(
      BSON.serialize({ <span class="hljs-keyword">type</span>: <span class="hljs-string">'del'</span>, key, prefix: <span class="hljs-built_in">this</span>.bee.prefix })
    )
    <span class="hljs-keyword">return</span> <span class="hljs-built_in">this</span>.autobase.append(op)
  }
<span class="hljs-comment">// ... methods to manage the multi writer bee</span>
}

<span class="hljs-comment">/**
A linearized view is a "merged" view over the inputs giving you a way of interacting with the N input Hypercores as though it were a single, combined Hypercore.
*/</span>
<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">getKeyBufferWithPrefix</span> (<span class="hljs-params">key, prefix</span>) </span>{
  <span class="hljs-keyword">return</span> prefix ? b4a.concat([b4a.from(prefix), b4a.from(key)]) : b4a.from(key)
}
</code></pre>
<h3 id="heading-the-database">The Database</h3>
<p>Hyperbee is super useful for storing data and searching for data using its ordered key search. When you set up your keyspace just right, you can query a small subset of a large database and quickly load what you need without having to download the entire dataset or traverse it. There is <a target="_blank" href="https://gist.github.com/RangerMauve/ae271204054b62d9a649d70b7d218191">a module</a> dedicated to explaining how to manually set up these indices for JSON data right but what is the reason for going with the manual process when there is a MongoDB-like database built on top of Hyperbee with support for indexing following the same design? We didn't have any so we just decided to use it. It's called <a target="_blank" href="https://github.com/RangerMauve/hyperbeedeebee">Hyperbeedeebee</a>. What a name! Anyway, you can look into the hello-peers repo to see how we use it through the app and or check out its <a target="_blank" href="https://github.com/RangerMauve/hyperbeedeebee">documentation</a>.</p>
<h3 id="heading-the-repo">The Repo</h3>
<p>To see the magic. Get a peer outside the network you are connected to and go to the hello-peers repo by clicking <a target="_blank" href="https://github.com/jermsam/hello-peers">https://github.com/jermsam/hello-peers</a>.<br />Clone the repo, install dependencies for both the server and client, run the server and the client and start collaborating.</p>
<p>We believe that you now have an understanding of how the pieces of <a target="_blank" href="https://docs.pears.com/">Holepuch modules</a> fit together and are ready to dive in and enjoy the excitement with the rest of us. For more information and discussion about Peer to Peer, let's hang out in the <a target="_blank" href="https://discord.gg/j93A5KhD">Holepunch</a> discord servers. You can also check out our <a target="_blank" href="https://discord.gg/zBwbRcng">Personal Jitpomi Discord Server</a> if you want to explore more exciting state-of-the-art technologies and maybe join our coding school (JSchool)</p>
]]></content:encoded></item><item><title><![CDATA[Giggle With Deterministic Finite State]]></title><description><![CDATA[Are you sure you are managing the state of your components the right way? Let's show you how.]]></description><link>https://blog.jitpomi.com/deterministic-finite-state</link><guid isPermaLink="true">https://blog.jitpomi.com/deterministic-finite-state</guid><category><![CDATA[State Management ]]></category><category><![CDATA[state-machines]]></category><category><![CDATA[Vue.js]]></category><dc:creator><![CDATA[JITPOMI]]></dc:creator><pubDate>Fri, 03 Feb 2023 13:54:51 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/1yF-F3_1LyI/upload/21b18407df73801cd63904c98179bcbe.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Recently, at our company, candidates were given a seemingly trivial but exciting challenge related to <strong>state management</strong>.</p>
<h2><strong>The Challenge</strong></h2>
<p><em>A light bulb can only be in 1 of 3</em> <em><strong>finite states</strong></em> <em>at any time. Once</em> <em><strong>broken</strong></em>*, it can neither be* <em><strong>lit</strong></em> <em>nor</em> <em><strong>unlit</strong></em>*. Write a Vue component that accurately represents such a light bulb.*</p>
<h3><strong>Attempt 1: Use of conditional statements (booleans)</strong></h3>
<p>If You Have a Hammer, Everything is a Nail. it’s very tempting to rush into such an exercise with <em>conditional statements</em> shouting "<strong>hoo·ray, I know my booleans.</strong>" That's exactly what Joanne did. She came out of that interview room very optimistic. And this is what her code looked like.</p>
<pre><code class="language-javascript">  &lt;div class="container mx-auto column items-center"&gt;
    &lt;q-btn v-if="broken" fab color="dark"  icon="fas fa-lightbulb"/&gt;
    &lt;div v-else&gt;
     &lt;q-btn v-if="!isLit" fab color="dark" icon="fas fa-lightbulb"/&gt;
      &lt;q-btn v-else fab color="orange" icon="fas fa-lightbulb" /&gt;
    &lt;/div&gt;
    &lt;div class="row justify-center q-gutter-md"&gt;
      &lt;q-radio v-model="isLit" :val="true" label="Lit" /&gt;
      &lt;q-radio v-model="isLit" :val="false" label="Unlit" /&gt;
      &lt;q-radio v-model="broken" :val="true" label="Broken" /&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/template&gt;

&lt;script setup&gt;
import { ref, watch } from "vue";

let broken = ref(false);
let isLit = ref(false);

watch(
  // If broken its definitely unlit
  () =&gt; broken.value,
  (newVal) =&gt; {
    if (newVal) {
      isLit.value = false;
    }
  }
);

watch(
  // If it's lit it can not be broken
  () =&gt; isLit.value,
  (newVal) =&gt; {
    if (newVal) {
      broken.value = false;
    }
  }
);
&lt;/script&gt;
</code></pre>
<p>Wow! This is a handful of booleans. But the challenge is, <em>when</em> *broken**, Joanne's bulb is still unlit and can still be lit.</p>
<h3>Attempt 2: Enumerating the state</h3>
<p>Andrew on the other hand was a little bit careful, he understood that the bulb in question was supposed to be in <strong>exactly 1 of 3 (a finite number of) states at any given time</strong> and decided that the variable in each instance was the state of the bulb. For starters, the state of a component is the internal private data (usually an object) that holds information representing the behavior of that component at that instance that may change over the lifetime of the component. Anyway, Andrew's code looked like this:</p>
<pre><code class="language-javascript">&lt;template&gt;
  &lt;div class="container mx-auto column items-center"&gt;
    &lt;q-btn 
    fab 
    color="dark"  
    icon="fas fa-lightbulb"
    v-if="state === 'broken'"
    /&gt;
    &lt;div v-else&gt;
      &lt;q-btn 
      fab
      color="dark" 
      icon="fas fa-lightbulb"
      v-if="state === 'unlit'"
      /&gt;    

      &lt;q-btn 
      fab 
      color="orange" 
      icon="fas fa-lightbulb"
      v-if="state === 'lit'"
      /&gt;
    &lt;/div&gt;
    &lt;div class="row justify-center q-gutter-md"&gt;
      &lt;q-radio v-model="state" val="lit" label="Lit" /&gt;
      &lt;q-radio v-model="state" val="unlit" label="Unlit" /&gt;
      &lt;q-radio v-model="state" val="broken" label="Broken" /&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/template&gt;

&lt;script setup&gt;
import { ref } from "vue";

let state = ref("unlit");
&lt;/script&gt;
</code></pre>
<p>Surely Andrews' approach was more meticulous. At any instance, his bulb will either be lit, unlit or broken. The challenge is, when <strong>broken</strong>, it <strong>can still be lit or unlit</strong> at a later point in time.</p>
<h3><strong>Attempt 3: Use of state machines (x-state)</strong></h3>
<p>Without further adieu, let me tell you who won. Diane; knew precisely what the right tool for the job was. <a href="https://xstate.js.org/docs/guides/start.html#our-first-machine">X-State!</a> First, she used <a href="https://xstate.js.org/docs/visualizer/#write-and-visualize-your-code">X-State's Visualizer</a> to design a lightbulb state machine as shown below:</p>
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1667019236235/Q5rJOuKLY.png" alt="Screen Shot 2022-10-28 at 10.51.36 PM.png" />

<p>The tool automatically generated the javascript code below which represents the lightbulb finite state machine</p>
<pre><code class="language-javascript">import { createMachine } from "xstate";

export default  createMachine({
  predictableActionArguments: true,
  initial: "unlit",
  states: {
    unlit: {
      on: {
        BREAK: {
          target: "broken",
        },
        TOGGLE: {
          target: "lit",
        },
      },
    },
    broken: {
      type: "final",
    },
    lit: {
      on: {
        BREAK: {
          target: "broken",
        },
        TOGGLE: {
          target: "unlit",
        },
      },
    },
  },
  description: "A light bulb machine",
  id: "lightBulb",
});
</code></pre>
<p>She then used this lightBulb x-state machine in her component using the <a href="https://xstate.js.org/docs/packages/xstate-vue/">@xstate/vue</a> library as follows:</p>
<p>At this point, you all must be saying. Wow! Dianne is brilliant. Yes, you're right. She's amazingly Brilliant. In fact, before this interview, she had enrolled in JSchool. That's why she could precisely make informed choices for the tool to use here.</p>
<p>JSchool is our mentorship program that aims at practically equipping future developers with intuitive skills for the ever-growing software development market. Learn more.</p>
]]></content:encoded></item></channel></rss>