<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Igor Komolov on Medium]]></title>
        <description><![CDATA[Stories by Igor Komolov on Medium]]></description>
        <link>https://medium.com/@yourfuse?source=rss-26036886a3cf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*IXK_QP8TMPrQKcfD3UqteA.png</url>
            <title>Stories by Igor Komolov on Medium</title>
            <link>https://medium.com/@yourfuse?source=rss-26036886a3cf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 00:06:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yourfuse/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Tsotchkes’ Quantum Random Number Generation in Rust -  Beyond Traditional Pseudorandomness]]></title>
            <link>https://medium.com/@yourfuse/tsotchkes-quantum-random-number-generation-in-rust-beyond-traditional-pseudorandomness-058fb4dd39ce?source=rss-26036886a3cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/058fb4dd39ce</guid>
            <category><![CDATA[statistical-analysis]]></category>
            <category><![CDATA[quantum-computing]]></category>
            <category><![CDATA[rust-programming-language]]></category>
            <category><![CDATA[rust]]></category>
            <dc:creator><![CDATA[Igor Komolov]]></dc:creator>
            <pubDate>Sun, 14 Sep 2025 00:30:34 GMT</pubDate>
            <atom:updated>2025-09-14T00:36:15.292Z</atom:updated>
            <content:encoded><![CDATA[<h3>Tsotchkes’ Quantum Random Number Generation in Rust - Beyond Traditional Pseudorandomness</h3><h4><em>How quantum mechanics principles &amp; Tsotchke can flip random number generation in modern applications</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xFivpVJY6mVk8z7Dyk5A3g.png" /></figure><h4>The Problem with Traditional Random Number Generation and how <a href="https://tsotchke.net/">Tsotchke Coin</a> has the solution</h4><blockquote>Random numbers are the invisible backbone of countless applications.</blockquote><p>From cryptographic keys that protect your online banking to Monte Carlo simulations that model complex financial markets, the quality of randomness directly impacts security, reliability, and accuracy.</p><p>Traditional pseudorandom number generators (PRNGs) face inherent limitations…</p><h4>Predictability</h4><p>They’re deterministic algorithms that <strong>can be reversed if the seed is known</strong></p><h4>Periodicity</h4><p>They <strong>eventually repeat their sequences</strong>, no matter how long the cycle</p><h4>Statistical bias</h4><p>Many PRNGs<strong> exhibit subtle patterns that can be exploited</strong></p><h4>Vulnerability</h4><p>Cryptographic applications require truly unpredictable numbers</p><h3>Enter Tsotchkes’ Quantum Random Number Generation</h3><p>Quantum mechanics offers a fundamentally different approach to randomness. Unlike classical systems that are deterministic at their core, quantum systems exhibit true randomness due to the <strong>fundamental uncertainty principle</strong> and <strong>quantum superposition</strong>.</p><p>The <strong><em>Tsotchke Quantum Random Number Generator (QRNG)</em></strong><em> </em>library for Rust <strong>harnesses these quantum principles to deliver genuinely random numbers</strong> suitable for the most demanding applications.</p><p>This rust project (<a href="https://crates.io/crates/rust_qrng">Crate Package</a>) was created out of sheer curiosity of learning how the <strong>Tsotchke team</strong> came up with the <strong>QRNG</strong> in their beutiful C code which you can browse from the link below ( <em>and I highly recommend that you do </em>):</p><p><a href="https://github.com/tsotchke/quantum_rng">Tsotchke Quantum Random Number Generator in C</a></p><p>Below I will outline what I came across and have learned.</p><h3>What Makes Quantum RNG Different?</h3><h4><strong>True Randomness</strong></h4><p>While traditional PRNGs are deterministic algorithms, quantum RNG leverages quantum mechanical phenomena that are fundamentally unpredictable. The library simulates quantum states using the following…</p><h4>Quantum superposition</h4><p>Multiple states existing simultaneously</p><h4>Quantum entanglement</h4><p>Correlated states that influence each other instantaneously</p><h4>Measurement collapse</h4><p>The act of observation determining the final state</p><h3><strong>Cryptographic Security</strong></h3><p>The quantum RNG provides cryptographically secure random numbers that are:</p><h4><strong>Unpredictable</strong></h4><p>Even with complete knowledge of the system state</p><h4>Uniformly distributed</h4><p>No statistical bias or patterns</p><h4>High entropy</h4><p>Maximum information content per bit</p><h3>Multiple Entropy Sources</h3><p>The library combines several entropy sources:</p><ul><li>System time with microsecond precision</li><li>Process ID and memory addresses</li><li>Hardware-specific identifiers</li><li>Runtime performance metrics</li></ul><h3>Key Features and Applications</h3><h4>Cryptographic Applications</h4><p>The library excels in security-critical scenarios:</p><pre>use rust_qrng::crypto::key_exchange::QuantumKeyExchange;<br>fn generate_secure_keys() {<br>let mut exchange = QuantumKeyExchange::new();<br>let (public_key, private_key) = exchange.generate_key_pair();<br>// Keys are generated using quantum entropy<br>println!(&quot;Generated cryptographically secure key pair&quot;);<br>}</pre><h3>Use Cases</h3><h4>Key Generation</h4><p>RSA, ECC, and symmetric keys</p><h4>Salt Generation</h4><p>For password hashing</p><h4>Nonce Generation</h4><p>For cryptographic protocols</p><h4>Session Tokens</h4><p>Unpredictable session identifiers</p><h3>Financial Modeling</h3><p>Monte Carlo simulations benefit enormously from high-quality randomness.</p><pre>use rust_qrng::finance::monte_carlo::MonteCarloSimulator;<br>fn price_options() {<br>let mut simulator = MonteCarloSimulator::new();<br>let option_price = simulator.simulate_option_pricing(<br>100.0, // Spot price<br>105.0, // Strike price<br>0.05, // Risk-free rate<br>0.2, // Volatility<br>0.25 // Time to expiration<br>);<br>println!(&quot;Option price: ${:.2}&quot;, option_price);<br>}</pre><h3>Applications</h3><h4>Risk Assessment</h4><p>Value at Risk (VaR) calculations</p><h4>Portfolio Optimization</h4><p>Modern portfolio theory</p><h4>Derivative Pricing</h4><p>Options, futures, and swaps</p><h4>Stress Testing</h4><p>Market scenario analysis</p><h3>Gaming and Entertainment</h3><p>Fair gaming requires provably random outcomes.</p><pre>use rust_qrng::games::quantum_dice::QuantumDice;<br>fn quantum_casino() {<br>let mut dice = QuantumDice::new();<br>// Roll quantum dice<br>let roll = dice.roll_d6();<br>println!(&quot;Quantum dice roll: {}&quot;, roll);<br>// Quantum coin flip<br>let flip = dice.quantum_coin_flip();<br>println!(&quot;Coin flip: {}&quot;, if flip { &quot;Heads&quot; } else { &quot;Tails&quot; });<br>}</pre><h3>Features</h3><h4>Provably Fair</h4><p>Quantum randomness ensures no bias</p><h4>Custom Dice</h4><p>Any number of sides</p><h4>Multiple Rolls</h4><p>Batch operations for efficiency</p><h4>Coin Flips</h4><p>True 50/50 probability</p><h3>📊 Statistical Analysis</h3><p>The library includes comprehensive statistical testing.</p><pre>use rust_qrng::statistical;<br>fn analyze_randomness() {<br>let data = vec![1.0, 2.0, 3.0, 4.0, 5.0];<br>let mean = statistical::mean(&amp;data);<br>let variance = statistical::variance(&amp;data);<br>let std_dev = statistical::standard_deviation(&amp;data);<br>println!(&quot;Mean: {:.2}&quot;, mean);<br>println!(&quot;Variance: {:.2}&quot;, variance);<br>println!(&quot;Standard Deviation: {:.2}&quot;, std_dev);<br>}</pre><h3>The Science Behind the Implementation</h3><h4>Quantum State Simulation</h4><p>The library simulates quantum states using sophisticated mathematical models:</p><pre>// Quantum constants based on physical phenomena<br>const QRNG_FINE_STRUCTURE: u64 = 0x7297352743776A1B;<br>const QRNG_PLANCK: u64 = 0x6955927086495225;<br>const QRNG_HEISENBERG: u64 = 0xC13FA9A902A6328F;<br>// Quantum gates for state manipulation<br>fn hadamard_gate(x: u64) -&gt; u64 {<br>// Simulates quantum superposition<br>let state = (x as f64) / (u64::MAX as f64);<br>let noise_state = quantum_noise(state);<br>// … quantum transformation logic<br>}</pre><h4>Entropy Pool Management</h4><p>The system maintains multiple entropy pools that are continuously mixed.</p><pre>pub struct QuantumRNG {<br>phase: [u64; 8], // Quantum phase information<br>entangle: [u64; 8], // Entanglement correlations<br>quantum_state: [f64; 8], // Quantum state probabilities<br>entropy_pool: [f64; 16], // Multiple entropy sources<br>// … other fields<br>}</pre><h4>Quantum Measurement</h4><p>The measurement process collapses quantum states into classical random bits.</p><pre>fn measure_state_internal(&amp;mut self, quantum_state: f64, last: u64) -&gt; u64 {<br>// Collapse quantum state to classical value<br>let collapsed = quantum_noise(quantum_state);<br>// Apply quantum mixing<br>let mut result = (collapsed * u64::MAX as f64) as u64;<br>result = hadamard_mix(result ^ last);<br>// Apply Pauli gates<br>result ^= QRNG_PAULI_X.wrapping_mul(result &gt;&gt; 27);<br>result = result.wrapping_mul(QRNG_HEISENBERG);<br>result<br>}</pre><h4>Performance Characteristics</h4><p>The library is designed for both quality and performance.</p><h3>Benchmarks</h3><h4>Generation Speed</h4><p>~100M random numbers per second</p><h4>Memory Usage</h4><p>Minimal footprint with efficient buffering</p><h4>Thread Safety</h4><p>Safe for concurrent use</p><h4>Zero Allocation</h4><p>Core operations avoid heap allocations</p><h3>Quality Metrics</h3><h4>Entropy Estimate</h4><p>Real-time entropy calculation</p><h4>Statistical Tests</h4><p>Built-in randomness quality verification</p><h4>Cryptographic Strength</h4><p>Suitable for security-critical applications</p><h3>Getting Started</h3><h4>Installation</h4><p>Add to your `Cargo.toml`:</p><pre>[dependencies]<br>rust_qrng = &quot;0.1&quot;</pre><h3>Basic Usage</h3><pre>use rust_qrng::QuantumRNG;<br>fn main() {<br>let mut rng = QuantumRNG::new();<br>// Generate various types of random numbers<br>let random_f64 = rng.generate_random_number();<br>let random_u64 = rng.generate_u64();<br>let random_bytes = rng.generate_random_bytes(32);<br>let range_value = rng.generate_range_u64(1, 100);<br>println!(&quot;Random float: {:.6}&quot;, random_f64);<br>println!(&quot;Random u64: {}&quot;, random_u64);<br>println!(&quot;Random bytes: {:?}&quot;, random_bytes);<br>println!(&quot;Range [1–100]: {}&quot;, range_value);<br>}</pre><h3>Advanced Features</h3><pre>// Quantum entanglement<br>let mut state1 = vec![0u8; 32];<br>let mut state2 = vec![0u8; 32];<br>rng.entangle_states(&amp;mut state1, &amp;mut state2)?;<br>// Entropy estimation<br>let entropy = rng.get_entropy_estimate();<br>println!(&quot;Current entropy: {:.6}&quot;, entropy);<br>// State measurement<br>let mut quantum_state = vec![0u8; 16];<br>rng.measure_state(&amp;mut quantum_state)?;</pre><h3>Real-World Applications</h3><h4>Cryptocurrency and Blockchain</h4><h4>Wallet Generation</h4><p>Secure private key creation</p><h4>Mining</h4><p>Proof-of-work nonce generation</p><h4>Consensus</h4><p>Random leader selection in PoS systems</p><h3>Scientific Computing</h3><h4>Monte Carlo Methods</h4><p>Physics simulations</p><h4>Machine Learning</h4><p>Stochastic gradient descent</p><h4>Optimization</h4><p>Genetic algorithms and simulated annealing</p><h3>Cybersecurity</h3><h4>Penetration Testing</h4><p>Random payload generation</p><h4>Honeypots</h4><p>Unpredictable behavior patterns</p><h4>Forensics</h4><p>Secure data wiping</p><h3>Gaming Industry</h3><h4>Loot Boxes</h4><p>Provably fair reward systems</p><h4>Matchmaking</h4><p>Fair player pairing</p><h4>Procedural Generation</h4><p>Unique game worlds</p><h3>Why Choose Quantum RNG?</h3><h4>Superior Security</h4><p>Traditional PRNGs can be compromised if their internal state is discovered. Quantum RNG provides information-theoretic security that cannot be broken even with unlimited computational power.</p><h4>Regulatory Compliance</h4><p>Many industries require certified random number generators. Quantum RNG meets the highest standards for randomness quality and security.</p><h4>Future-Proof</h4><p>As quantum computing advances, classical encryption becomes vulnerable. Quantum RNG provides a foundation for quantum-safe cryptography.</p><h4>Performance</h4><p>Despite its sophistication, the library delivers excellent performance suitable for high-throughput applications.</p><h3>Parting Words</h3><p>The Tsotchke Quantum Random Number Generator represents a significant advancement in random number generation technology. By leveraging quantum mechanical principles, it provides true randomness that surpasses traditional pseudorandom generators in both security and quality.</p><p>Whether you’re building cryptographic systems, financial models, gaming applications, or scientific simulations, quantum RNG offers the reliability and security that modern applications demand.</p><p>As we move into an era where quantum computing poses new challenges and opportunities, having access to quantum-quality randomness becomes not just beneficial but essential. The future of secure, high-quality random number generation is quantum, and that future is available today.</p><p>— -</p><h3>Resources</h3><p>- <a href="https://docs.rs/rust_qrng">Documentation</a></p><p>- <a href="https://github.com/ingen0s/quantum_rng_rust_lib">Source Code</a></p><p>- <a href="https://crates.io/crates/rust_qrng">Crate Package</a></p><h3>Examples</h3><ul><li>Complete examples in the repository’s `examples/` directory</li></ul><blockquote>The quantum revolution in computing is here. Make sure your applications are ready.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=058fb4dd39ce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CRUST — How to Write a Rust Module That Allows You to Run C or C++ Code]]></title>
            <link>https://medium.com/@yourfuse/crust-how-to-write-a-rust-module-that-allows-you-to-run-c-or-c-code-861dac141fb4?source=rss-26036886a3cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/861dac141fb4</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[embedded-systems]]></category>
            <category><![CDATA[rust]]></category>
            <category><![CDATA[c-programming]]></category>
            <category><![CDATA[c]]></category>
            <dc:creator><![CDATA[Igor Komolov]]></dc:creator>
            <pubDate>Tue, 04 Feb 2025 13:50:44 GMT</pubDate>
            <atom:updated>2025-02-04T13:50:44.772Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KgEXUJJyBwLtP79rfxQK-w.jpeg" /></figure><h3>CRUST — How to Write a Rust Module That Allows You to Run C or C++ Code</h3><p><em>Setting up bindings, compiling, and linking</em></p><p>Full port C libs or your own code to Rust. More so for static linking and building embedded applications. There is also the dynamic approach, which will cover another time! Will link here when ready.</p><h4><strong>Understand the Basics</strong></h4><p>Before coding, understand these key concepts.</p><ul><li><strong>FFI (Foreign Function Interface)<br></strong>Rust’s capability to interact with code written in other languages, mainly C.</li><li><strong>C ABI (Application Binary Interface)<br></strong>Ensures compatibility when calling functions across different languages.</li></ul><h4><strong>Prepare the C/C++ Code</strong></h4><p><strong>Write or Obtain C/C++ Code</strong></p><p>You need C or C++ functions you want to call from Rust.</p><p>Here’s a simple C function example…</p><pre>// c_example.c<br>#include &lt;stdio.h&gt;<br><br>void print_hello() {<br>    printf(&quot;Hello from C - say hi to @microsawft on X!\n&quot;);<br>}</pre><p><strong>Compile to Object File</strong></p><p>Compile this C code into an object file:</p><pre>gcc -c c_example.c -o c_example.o</pre><h4><strong>Create Rust Bindings</strong></h4><p><strong>Declare Extern Functions<br></strong>In Rust, you need to declare these functions with extern “C”:</p><pre>// src/lib.rs or main.rs<br>extern &quot;C&quot; {<br>    fn print_hello();<br>}<br><br>fn main() {<br>    unsafe {<br>        print_hello();<br>    }<br>}</pre><p><strong>Use </strong>#[link]<strong> attribute</strong></p><p>To link against the C code:</p><pre>#[link(name = &quot;c_example&quot;, kind = &quot;static&quot;)]<br>extern &quot;C&quot; {<br>    fn print_hello();<br>}</pre><h4><strong>Compiling and Linking</strong></h4><p><strong>Build Script</strong></p><p>Use a build script (build.rs) to compile your C code<br>* gcc / clang — replace with your compiler / configs</p><pre>// build.rs<br>use std::env;<br>use std::process::Command;<br><br>fn main() {<br>    let out_dir = env::var(&quot;OUT_DIR&quot;).unwrap();<br>    Command::new(&quot;gcc&quot;)<br>        .args(&amp;[&quot;-c&quot;, &quot;c_example.c&quot;, &quot;-o&quot;])<br>        .arg(&amp;format!(&quot;{}/c_example.o&quot;, out_dir))<br>        .status()<br>        .unwrap();<br>    println!(&quot;cargo:rustc-link-search=native={}&quot;, out_dir);<br>    println!(&quot;cargo:rustc-link-lib=static=c_example&quot;);<br>}</pre><h4><strong>Cargo Configuration</strong></h4><p>Ensure your Cargo.toml includes…</p><pre>[package]<br>build = &quot;build.rs&quot;</pre><h4><strong>Handling C++</strong></h4><p>For C++, the process is similar but with some adjustments…</p><p><strong>Use </strong>extern “C++”<strong> for C++ functions</strong></p><pre>// cpp_example.cpp<br>#include &lt;iostream&gt;<br><br>extern &quot;C&quot; void print_cpp_hello() {<br>    std::cout &lt;&lt; &quot;Hello from C++! Dont forget to say hi to me on X - @microsawft&quot; &lt;&lt; std::endl;<br>}</pre><p><strong>Compile with C++ compiler</strong></p><pre>g++ -c cpp_example.cpp -o cpp_example.o</pre><p><strong>Adjust Rust bindings</strong></p><pre>#[link(name = &quot;cpp_example&quot;, kind = &quot;static&quot;)]<br>extern &quot;C&quot; {<br>    fn print_cpp_hello();<br>}</pre><p><strong>Update </strong>build.rs<strong> for C++</strong></p><pre>// Use g++ instead of gcc<br>Command::new(&quot;g++&quot;)<br>    .args(&amp;[&quot;-c&quot;, &quot;cpp_example.cpp&quot;, &quot;-o&quot;])<br>    .arg(&amp;format!(&quot;{}/cpp_example.o&quot;, out_dir))<br>    .status()<br>    .unwrap();<br><br>println!(&quot;cargo:rustc-link-search=native={}&quot;, out_dir);<br>println!(&quot;cargo:rustc-link-lib=static=cpp_example&quot;);</pre><h4><strong>Safety and Best Practices</strong></h4><ul><li><strong>Use </strong>unsafe<strong> blocks<br></strong>Since you’re dealing with FFI, all calls to C or C++ functions must be wrapped in unsafe blocks. This doesnt mean that you shouldnt consider using only memsafe code…</li><li><strong>Error Handling<br></strong>Implement proper error handling, possibly converting C error codes to Rust results.</li><li><strong>Memory Management<br></strong>Be cautious with memory management, especially when dealing with pointers.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=861dac141fb4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Git Authentication with SSH Keys — The Fun Way]]></title>
            <link>https://medium.com/@yourfuse/git-authentication-with-ssh-keys-the-fun-way-edd8fb15d023?source=rss-26036886a3cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/edd8fb15d023</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[devops-training]]></category>
            <category><![CDATA[terminal-commands]]></category>
            <category><![CDATA[javascript-development]]></category>
            <dc:creator><![CDATA[Igor Komolov]]></dc:creator>
            <pubDate>Tue, 04 Feb 2025 01:15:12 GMT</pubDate>
            <atom:updated>2025-02-04T01:42:30.544Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rj8e0PolRNVsDzdjP1f9vw.jpeg" /></figure><h3>Git Authentication with SSH Keys - The Fun Way</h3><p>So, I have been working with alot more devs lately (it’s insane). There seems to be the common theme. No one uses ssh keys (even more insane). WTH. Fair enough, even I get lazy and don’t connect all of my terminals but come on….</p><p>Usually, I add my .md solution / education file into the repo I am working in and point people to it but I figure why not start publishing some of that here…</p><blockquote>Here is a quick guide for you to get the basics down. <br><strong>Don’t sleep on this stuff just do it.</strong></blockquote><h4>How to Add SSH Keys for Git Authentication</h4><p>Check Your Secret Stash<br>Sneak into your terminal and run:</p><pre>ls -al ~/.ssh</pre><p>If you see id_rsa, id_rsa.pub, or id_ed25519, id_ed25519.pub, you’re already in the SSH club. If not, let’s create some magic!</p><p><strong>Forge Your New SSH Key</strong></p><p><strong>Recommended: Ed25519 - Because Why Not Go for Gold?</strong></p><pre>ssh-keygen -t ed25519 -C &quot;your-email@example.com&quot;</pre><p><strong>Alternative: RSA — The Classic</strong></p><pre>ssh-keygen -t rsa -b 4096 -C &quot;your-email@example.com&quot;</pre><p><strong>For the Paranoia Pros: Extra Secure RSA</strong></p><pre>ssh-keygen -t rsa -b 8192 -C &quot;your-email@example.com&quot;</pre><ul><li><strong>RSA 4096-bit</strong>: Your standard secure key, like a good lock on your door.</li><li><strong>RSA 8192-bit</strong>: Like fortifying your door with an extra thick steel plate; impressive but slow.</li><li><strong>Ed25519</strong>: The modern ninja of keys - fast, secure, and cool.</li></ul><p>Just hit <strong>Enter</strong> to stash your key at the default spot (~/.ssh/id_rsa or ~/.ssh/id_ed25519).</p><p><strong>Summon the SSH Agent and Load Your Key</strong></p><p>Kickstart the SSH agent and load your key:</p><pre>eval &quot;$(ssh-agent -s)&quot;<br>ssh-add ~/.ssh/id_rsa</pre><p>WSL users, do this:</p><pre>ssh-agent bash<br>ssh-add ~/.ssh/id_rsa</pre><p>If you’re using Ed25519, swap id_rsa for id_ed25519.</p><p><strong>Grab Your Public Key</strong></p><p>Copy your public key to your clipboard:</p><pre>cat ~/.ssh/id_rsa.pub</pre><p>or if you’re an Ed25519 enthusiast:</p><pre>cat ~/.ssh/id_ed25519.pub</pre><p>Select and copy the output.</p><p><strong>Drop Your Key into Your Git Hosting Service</strong></p><p><strong>GitHub</strong></p><ul><li>Navigate to <strong>GitHub → Settings → SSH and GPG keys</strong>.</li><li>Click <strong>New SSH Key</strong>, paste your key, and hit save.</li></ul><p><strong>GitLab</strong></p><ul><li>Go to <strong>GitLab → Preferences → SSH Keys</strong>.</li><li>Paste your key and save it.</li></ul><p><strong>Bitbucket</strong></p><ul><li>Head to <strong>Bitbucket → Personal Settings → SSH Keys</strong>.</li><li>Click <strong>Add Key</strong>, paste, and save.</li></ul><p><strong>Test That Connection, My Friend</strong></p><p>Fire up:</p><pre>ssh -T git@github.com</pre><p>Or for GitLab:</p><pre>ssh -T git@gitlab.com</pre><p>Or Bitbucket:</p><pre>ssh -T git@bitbucket.org</pre><p>Look for this sweet welcome:</p><pre>Hi username! You&#39;ve successfully authenticated, but GitHub/GitLab/Bitbucket does not provide shell access.</pre><p><strong>Clone Like a Boss with SSH</strong></p><p>Now, clone your repo like you’re grabbing the crown:</p><pre>git clone git@github.com:yourusername/your-repo.git</pre><p>GitLab:</p><pre>git clone git@gitlab.com:yourusername/your-repo.git</pre><p>Bitbucket:</p><pre>git clone git@bitbucket.org:yourusername/your-repo.git</pre><p><strong>Congrats! Your SSH key is now the guardian of your Git kingdom.</strong></p><h4>Bonus Round: Supercharge Your SSH Experience</h4><p>Use SSH for X11 Forwarding — Run GUI Apps Like a Wizard<br>Want to <strong>conjure graphical apps from afar</strong>? Enable <strong>X11 forwarding</strong>:</p><h4>Install an X Server Locally</h4><p>- <strong>Linux (Ubuntu/Debian)</strong>:</p><pre>sudo apt install x11-apps xauth</pre><ul><li><strong>macOS</strong>: Summon <strong>XQuartz</strong>:</li><li>brew install xquartz</li></ul><p>Then cast:</p><ul><li>open -a XQuartz</li><li><strong>Windows</strong>: Get <a href="https://sourceforge.net/projects/vcxsrv/">VcXsrv</a> or <a href="https://sourceforge.net/projects/xming/">Xming</a> for your Windows wizardry.</li></ul><p><strong>SSH Into the Remote Realm with X11 Forwarding</strong></p><p>Use this incantation:</p><pre>ssh -X user@remote-server</pre><p>For <strong>trusted forwarding</strong> (when you trust the server):</p><pre>ssh -Y user@remote-server</pre><p>Test your magic with:</p><pre>xclock</pre><p>If a clock magically appears, you&#39;ve mastered <strong>X11 forwarding</strong>!</p><p><strong>Run Persistent SSH Sessions (tmux/screen) - Never Lose Your Place</strong></p><p>To keep your session alive even if you disconnect, use <strong>tmux</strong>, the session keeper:</p><pre>tmux new -s mysession</pre><p>Or try <strong>screen</strong>, the classic session saver:</p><pre>screen -S mysession</pre><p>To step away without closing the session, press Ctrl+B, then D.</p><p><strong>Securely Copy Files Over SSH - The Teleportation Trick</strong></p><p>To zap files to your remote server:</p><pre>scp myfile.txt user@remote_host:/destination/path/ user@remote-server:/path/to/destination</pre><p>For <strong>speedy, resumable</strong> file transfers:</p><pre>rsync -avz myfile.txt user@remote-server:/path/to/destination</pre><blockquote><strong>Enjoy your newfound SSH wizard powers!</strong></blockquote><p>There is so much more you can connect like those old VPS boxes you have sitting collecting dust, or those Raspberry Pis in the closet…the sky is the limit. Deeewwwiittttttt.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=edd8fb15d023" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unlock the 3 Pillars to Turning Ideas into Financial Gain]]></title>
            <link>https://medium.com/@yourfuse/unlock-the-3-pillars-to-turning-ideas-into-financial-gain-e3a64aea725a?source=rss-26036886a3cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3a64aea725a</guid>
            <category><![CDATA[business-development]]></category>
            <category><![CDATA[startup-lessons]]></category>
            <category><![CDATA[financial-freedom]]></category>
            <dc:creator><![CDATA[Igor Komolov]]></dc:creator>
            <pubDate>Tue, 15 Oct 2024 19:14:29 GMT</pubDate>
            <atom:updated>2024-10-15T19:15:52.922Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h-l-2s79yBXKoDhXCqs2IQ.png" /><figcaption><strong>Value creation is the process of measuring how potential energy is converted into a functioning system.</strong></figcaption></figure><p>Let’s face it: the ability to turn ideas into financial gain is <strong>everything</strong>. It’s what separates those who merely dream from those who achieve. Whether you’re creating a new asset, launching a startup, or simply enabling the flow of capital, understanding <strong>how ideas transition into measurable value</strong> is the secret sauce to real success.</p><p>But here’s the thing — this transformation doesn’t just happen on its own. There are <strong>three essential pillars</strong> that form the foundation of this process. Miss even one, and the whole system crumbles. But when all three are mastered? That’s where the magic happens.</p><h3><strong>Pillar 1: State Transition Theory (The Executive)</strong></h3><p>It all starts here. The <strong>Executive</strong> is the visionary, the one who comes up with the idea. This is where potential energy lives — waiting, dormant, but <strong>powerful</strong>. The Executive formulates a roadmap, turning abstract thoughts into something tangible. But vision alone isn’t enough — you need action.</p><h3><strong>Pillar 2: The Transistor or Enabler (The Executioner)</strong></h3><p>This is where so many people get stuck. They have the vision, but they don’t take the action required to bring it to life. <strong>The Executioner</strong> is the enabler, the driving force that takes potential energy and converts it into kinetic energy.</p><p>The Executioner puts the plan into motion. And without action, the idea just remains…an idea. But with it? Things start to happen. Momentum builds. And once you’ve got that momentum, the possibilities are endless.</p><h3><strong>Pillar 3: Measurement of State Transition (Value Creation)</strong></h3><p>But it doesn’t stop there. <strong>Value Creation</strong> happens when you can measure and track progress. You need to know how well that idea is moving through the system. This isn’t just about taking action — it’s about <strong>measuring</strong> that action and tracking the results. The better you measure, the more value you can create. And guess what? That’s where <strong>compounding</strong> kicks in.</p><blockquote><strong>The more accurately you measure and track the transition, the more capital you can enable — and the more it compounds.</strong></blockquote><h3><strong>Why the Flow of Capital is Key</strong></h3><p>Here’s the deal — capital doesn’t just move. It flows. And enabling the flow of capital is one of the most powerful things you can do in business. Why? <strong>Because it compounds.</strong></p><p>Every time you create a system that allows capital to flow freely, its value multiplies. That’s why the biggest players in financial systems, venture capital, and startups focus on compounding. It’s the secret to scaling, growing, and building exponential wealth.</p><h3><strong>Becoming a Facilitator: The Key to Driving Massive Value</strong></h3><p>Here’s the thing — the <strong>Executioner</strong> role is often the <strong>biggest gap</strong> in this process. Most people have ideas (The Executive), and many can measure results (Value Creation). But the missing piece? <strong>Action.</strong> That’s where you come in.</p><p>By stepping into the Executioner role, you can drive enormous value. Want to know how? Here’s a quick guide to becoming a facilitator:</p><h4>1. <strong>Develop a Bias for Action</strong></h4><p>Don’t just plan. <strong>Execute.</strong> Break down ideas into actionable steps and tackle them systematically. Take that potential energy and turn it into action.</p><h4>2. <strong>Learn to Enable Capital Flow</strong></h4><p>Ensure that capital flows smoothly, whether it’s financial or intellectual. Build systems that streamline this flow — optimize workflows, automate processes, and unlock resources.</p><h4>3. <strong>Bridge the Communication Gap</strong></h4><p>Sometimes the disconnect between the Executive and Value Creation comes from poor communication. <strong>Bridge that gap.</strong> Communicate clearly with all stakeholders to ensure everyone is aligned and moving toward the same goal.</p><h4>4. <strong>Create Feedback Loops</strong></h4><p>The best way to improve is through constant feedback. Set up feedback loops to measure progress at every step. Real-time adjustments keep the project on course and allow the idea to evolve based on actual results.</p><h4>5. <strong>Leverage Technology</strong></h4><p>Use technology to drive efficiency. Whether it’s automation tools, project management software, or analytics platforms, find ways to <strong>streamline execution</strong> and boost productivity.</p><p>By mastering these steps, you position yourself as the <strong>Executioner</strong>, ensuring that ideas don’t remain stagnant but instead turn into measurable, <strong>compounding value</strong> over time.</p><h3><strong>Turning Ideas into Value</strong></h3><p>Ultimately, <strong>value creation</strong> is the ability to turn potential energy (your ideas, your dreams, your strategies) into <strong>working systems</strong>. Once you can track and measure this process, you transform those ideas into assets.</p><p>Let’s visualize it:</p><p>• <strong>Executive (Dream/Idea) &gt; Executioner (Action) &gt; Value Creation (Accomplishment)</strong></p><p>• <strong>Potential Energy &gt; Conversion to Working System &gt; Tracking/Measurement</strong></p><p>Mastering this transition is the key to <strong>unlocking financial gain</strong>.</p><h3><strong>Master the Transition, Master Financial Gain</strong></h3><p>Here’s the bottom line — if you can master these three pillars, you can turn any idea into financial gain. By effectively transitioning ideas into actionable systems and tracking their progress, you’ll not only generate value — you’ll <strong>compound</strong> it. This is the secret to creating a system that continually builds on its own success, unlocking new levels of value at every turn.</p><p>And if you’re the Executive looking for talent to execute your vision, <strong>keep reading</strong> — you’re in the right place.</p><h3><strong>Your Fuse: Turning Ideas into Value for Clients, Organizations, and Startups</strong></h3><p>Back in 2016, I founded <strong>Your Fuse</strong> with one goal in mind: to help businesses take their ideas and turn them into measurable financial success. We’ve helped numerous clients, organizations, and startups do exactly that by finding and vetting the right talent.</p><p>We specialize in creating systems that allow capital to flow, ideas to transition into value, and momentum to build. <strong>We execute.</strong></p><p>If you’re ready to <strong>take your idea and transform it into something real</strong>, visit <a href="https://yourfuse.com/">Your Fuse</a> and see how we can help turn your vision into financial gain. <strong>And if you’re a specialist who knows how to execute, we want to hear from you</strong>. Submit your contact information to join our team of experts and help bring visionary ideas to life.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3a64aea725a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Tee to Triathlon: How I Transformed My Game of Golf and Life]]></title>
            <link>https://medium.com/@yourfuse/from-tee-to-triathlon-how-i-transformed-my-game-of-golf-and-life-a7c177698beb?source=rss-26036886a3cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/a7c177698beb</guid>
            <category><![CDATA[healthy-lifestyle]]></category>
            <category><![CDATA[training]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[golf-tips]]></category>
            <dc:creator><![CDATA[Igor Komolov]]></dc:creator>
            <pubDate>Tue, 30 Jul 2024 14:50:38 GMT</pubDate>
            <atom:updated>2024-07-30T14:50:38.027Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_MYr2YEjLIV_XEXAIs9UQw.png" /></figure><h3>My journey to improve my golf swing through triathlon training leads to unexpected life changes</h3><p>Hi, I’m <strong>Igor</strong>, a <strong>passionate golfer</strong>, builder, creator and <strong>Chief Technology Officer</strong> (CTO) from <strong>Toronto</strong>. Yes, I have a lot of <strong>interests and ambitions</strong>. I decided to take up <strong>triathlon training</strong> with the goal of improving my golf game. Little did I know that this decision would not only transform my swing but also bring about significant changes in various aspects of my life. Here, I share <strong>my inspiring journey</strong> and the <strong>valuable lessons</strong> I learned along the way.</p><h3>The Spark of Inspiration</h3><p>The idea of using triathlon training to <strong>enhance my golf game</strong> came to me unexpectedly. I had read that a <strong>stronger core</strong> could improve my swing and stamina on the golf course. This meant I had to learn to freestyle swim for 750 meters ( non stop ), then cycle 20 km ( easy part for me) and then run 5 km ( I had replaced running with cycling a few years back when my knees started to hurt ).</p><p>Intrigued by this concept, I decided to give it a try and signed up for a triathlon scheduled for mid-July. The possibility of combining my passion for golf with a new, <strong>challenging activity was exciting</strong>. I knew that by officially signing up, it would force me to start the<strong> extra training</strong>, keep in mind, I am already averaging about 400 km on my fixie every month, even through winter.</p><h3>Embracing the Triathlon Training</h3><p>My training routine involved swimming, running, and cycling, and I quickly <strong>found joy in the process</strong>, <strong>embracing the challenges</strong> that came with each activity. Incorporating my love for cycling, I often rode my fixie around downtown Toronto, blasting my favorite tunes. This combination of activities kept me motivated and engaged. What started as a plan to improve my golf game soon evolved into <strong>embracing a healthier lifestyle</strong>.</p><p>Swimming was the hardest to take on, requiring access to a distance pool and extra time for preparation, pool activity, and post-swim winddown. It took me a while to get the hang of maintaining a consistent freestyle stroke and being able to swim 750 meters without stopping.</p><p>Running was a different story. I had switched to cycling a few years ago due to incredible knee joint pain during and after long-distance runs. Naturally, this was going to be challenging. I started with 1–2 km runs around the block and began ingesting pure collagen with my morning coffee. After a few weeks of persistent pain, it gradually eased up. I had a eureka moment — maybe it was the collagen. I delved deeper and discovered Glucosamine pills for osteoarthritis, which I started taking every morning. Amazingly, the knee pain vanished completely. Now, I can easily run 5 km, 10 km, even 20 km. I honestly thought I would never run again, but I was thrilled to be proven wrong.</p><h3>Unexpected Benefits</h3><p>As I immersed myself in triathlon training, I began noticing unexpected benefits beyond my golf game. I started eating healthier, saw an increase in profits from day trading ( my mental clarity improve so much, its almost superhuman ), improved the quality of my coding, strengthened my relationships, and became more efficient in my studies.</p><p>My business development stamina has shot through record levels of productivity on all fronts. Its like I grew a second brain. I am assuming the new activities increased the oxygen levels in my brain and started tunneling neuropathways quicker, as well as reinforcing memory. In combination with a healthier diet, as well as tiring myself out enough by the end of each day to get a solid 7 hour sleep, yep I’m one of those who goes to bed by 9 pm and wakes up at 5 am, I find thats just what works for me.</p><blockquote>Remarkably, my business acumen and technical skills as a CTO also saw a marked improvement. The discipline and focus required for triathlon training positively influenced all areas of my life.</blockquote><h3>Post-Triathlon Reflection</h3><p>Reflecting on my journey, I realized the <strong>importance of continuous improvement</strong> and how the triathlon <strong>training mindset</strong> had influenced my approach to life. <strong>Setting goals</strong>, <strong>embracing challenges</strong>, and <strong>consistently striving for personal growth</strong> became central to my philosophy. This mindset wasn’t just about training; it was about becoming a better version of myself in every aspect of my life.</p><p>The day after the Triathlon race, I woke up and went for a 5 km run, I still do every morning. Every other day I do a 40 km cycle. Hit up the gym 4–5 times a week, continue to swim at least 3 times a week adn keep pushing it at the driving range 1–2 times a week. I am going to participate in next years Triathlon as well, not because I care about winning it, but becuase I care about winning myself, conquering myself and becoming the best version of me that I can be.</p><h3>The Impact on Golf</h3><p>The <strong>improvement in my golf swing</strong>, particularly in accuracy with all of the clubs — pitching wedges, irons, and driver, all had a significant loft, carry, speed and accuracy increase. I attribute this success to the strengthened core and increased stamina gained from triathlon training. My focus, precision, and endurance on the golf course improved dramatically, and I found myself enjoying the game even more.</p><p>A side benefit for golfing has also been an improved inner monologue or “self-talk.” I noticed that it’s easy to talk yourself out of training or giving up on practicing a 3 iron until you get it perfect. The discipline and self-confidence built over these new habits have given me a much clearer and more positive outlook on myself, so much so that I find it hard to give up on just about anything nowadays.</p><p>My journey from a golfer to a triathlete demonstrates the power of stepping outside one’s comfort zone and embracing new challenges. This experience has been a reminder that sometimes, the most unexpected paths can lead to the greatest transformations. As I continue my triathlon training for the next year, I remain committed to my personal growth and the pursuit of excellence in all areas of my life, both on and off the golf course.</p><p>In 2016, I started <a href="https://yourfuse.com/">Your Fuse</a>, a vibrant community of problem-solvers. We collaborate on innovative projects, enhance our network and skills collectively, and contribute to transformative solutions for both our clients and our personal growth. If you are a problem solver and a self-developer, apply now and ignite your journey to professional and personal growth!</p><p>Join us, and let’s embark on this transformative journey together.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a7c177698beb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[7 Habits That Make You Weak and Broke (and How to Kick Them to the Curb)]]></title>
            <link>https://medium.com/@yourfuse/7-habits-that-make-you-weak-and-broke-and-how-to-kick-them-to-the-curb-c016e8ad4303?source=rss-26036886a3cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/c016e8ad4303</guid>
            <category><![CDATA[self-care]]></category>
            <category><![CDATA[self-development]]></category>
            <category><![CDATA[self-improvement]]></category>
            <dc:creator><![CDATA[Igor Komolov]]></dc:creator>
            <pubDate>Fri, 19 Jul 2024 15:20:14 GMT</pubDate>
            <atom:updated>2024-07-19T15:20:14.516Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wo9wuj8aERS9QvnlUYpEHg.png" /></figure><p>Are you tired of feeling like a weakling and a pauper? Well, buckle up, buttercup, because we’re about to <strong>sort out the 7 habits that are holding you back from being the badass</strong>, money-making machine you were born to be.</p><h3><strong>Stop Trying to Impress People</strong></h3><p>Listen up, buttercup. You’re not a circus monkey, and you don’t need to perform for the masses. Stop living for other people’s approval and start living for yourself. Do what makes you happy, and the rest will fall into place.</p><h3><strong>Stop Asking for Permission</strong></h3><p>Newsflash: you don’t need anyone’s permission to chase your dreams. Stop waiting for someone to give you the green light and start taking charge of your own life. Believe in yourself, and the rest will follow.</p><h3><strong>Stop Watching the Screen So Much</strong></h3><p>We get it, screens are cool. But there’s a whole world out there waiting for you to explore. Cut your screen time in half and use that extra time to do something productive, like learning a new skill or taking a walk in nature. Your brain (and your bank account) will thank you.</p><h3>Stop Being Broke</h3><p>Money doesn’t grow on trees, but it does grow in your bank account when you manage your finances like a boss. Take a hard look at your spending habits and cut out the unnecessary expenses. Invest in yourself and watch your net worth soar.</p><h3>Stop Eating Like Crap</h3><p>Your body is a temple, and it deserves to be treated like one. Stop shoveling junk food into your face and start fueling your body with nutritious meals. You’ll be amazed at how much more energy and focus you’ll have when you’re not running on empty.</p><h3>Stop Letting the World Control Your Thoughts</h3><p>The world is a crazy place, but that doesn’t mean you have to let it control your mind. Take charge of your thoughts and fill your head with positivity and optimism. Surround yourself with people who lift you up, and watch your life transform before your eyes.</p><h3>Stop Spending Time with Weak People</h3><p>You are the company you keep, so choose your friends wisely. If the people around you are dragging you down, it’s time to cut them loose. Surround yourself with strong, successful individuals who will inspire you to be your best self.</p><p><strong>It’s time to ditch these 7 toxic habits and start living your best life.</strong> Take control of your destiny, and watch as the world bends to your will. You’ve got this, buttercup!</p><blockquote>Thanks to Andy Elliott for being a true inspiration and for getting this list together in one of his latest Youtube videos. <a href="https://www.youtube.com/watch?v=tt4whP8p60k">https://www.youtube.com/watch?v=tt4whP8p60k</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c016e8ad4303" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unconventional Problem-Solving: Inversion, Deconstruction, and Starting from the End]]></title>
            <link>https://medium.com/@yourfuse/unconventional-problem-solving-inversion-deconstruction-and-starting-from-the-end-e648ae9da9ee?source=rss-26036886a3cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/e648ae9da9ee</guid>
            <category><![CDATA[problem-solving]]></category>
            <category><![CDATA[business-development]]></category>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[critical-thinking]]></category>
            <dc:creator><![CDATA[Igor Komolov]]></dc:creator>
            <pubDate>Sun, 02 Jun 2024 20:48:57 GMT</pubDate>
            <atom:updated>2024-06-02T20:48:57.855Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*okKj9EITA21yVb6Px_c_5w.png" /></figure><p>As a self-taught business owner and software developer, it took me a while to truly understand how to tackle challenges for clients and projects seriously. Initially, I relied on generic solutions, but <strong>everything changed when I started focusing on personal development</strong> and learning more about myself. I discovered various techniques that, when applied to product solutions, made a huge difference. A shout-out to Charlie Munger for enlightening me on some of this knowledge. If you’re just starting out, remember that investing in yourself can <strong>revolutionize your approach to problem-solving and professional growth</strong>.</p><p>When engaging in problem-solving, it’s easy to get caught in the trap of traditional methods that may not always lead to the most effective solutions. However, by employing unconventional techniques like <strong>inversion</strong>, <strong>deconstruction</strong>, and <strong>starting from the end</strong>, we can develop an avid framework that enables us to <strong>analyze problems from multiple perspectives</strong> and <strong>devise more effective solutions</strong>.</p><p><strong>Inversion</strong>, also known as <strong>retrograde analysis</strong>, is a powerful tool that I use to <strong>approach problems by considering the opposite of the desired outcome</strong>. This technique helps me identify potential pitfalls and obstacles, enabling me to devise strategies to avoid or overcome them.</p><blockquote>It’s like navigating a maze by working backward from the exit, which can often be more efficient than blindly searching for the way forward.</blockquote><p><strong>Deconstruction</strong>, on the other hand, involves <strong>breaking down a problem into its fundamental components</strong>, <strong>examining each part in detail</strong>, and then <strong>reconstructing the problem</strong> with a better understanding of its structure. This approach helps me reveal hidden connections and insights that might not be apparent at first glance.</p><p><strong>Starting from the end</strong> is a forward-looking technique where I <strong>envision the desired outcome</strong> and then <strong>work backward to determine the necessary steps</strong> to achieve it. This method provides me with a <strong>clear roadmap to success</strong>, helping me stay focused on my ultimate goal.</p><p>When I combine these techniques, I create a <strong>robust problem-solving framework</strong> that allows me to analyze a problem from multiple perspectives. By considering the opposite of the desired outcome, breaking down the problem into its components, and envisioning the end goal, I can <strong>develop a comprehensive understanding of the challenge</strong> and <strong>devise an effective solution</strong>.</p><p>So, the next time you’re faced with a problem, don’t be afraid to think outside the box and employ these unconventional techniques. Remember, <strong>there’s more than one way to skin a cat</strong> (or solve a problem), and sometimes, <strong>the road less traveled can lead to the most rewarding destination</strong>.</p><p>In 2016, I started <a href="https://yourfuse.com/"><strong>Your Fuse</strong></a>, a <strong>vibrant community of problem-solvers</strong>. We <strong>collaborate on innovative projects</strong>, <strong>enhance our network</strong> and <strong>skills</strong> collectively, and <strong>contribute to transformative solutions</strong> for both our clients and our personal growth.</p><p>If you are a problem solver and a self-developer, apply now and ignite your journey to professional and personal growth!</p><blockquote>You don&#39;t need to be a coder or a business owner, just need to have an open mind and a will to increase your wealth, health and skills. Everyone can benefit and prosper from our community.</blockquote><p>Looking forward to meeting you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e648ae9da9ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Optimize Memory and Performance with the CVM Algorithm in JavaScript: A Comprehensive Guide for…]]></title>
            <link>https://medium.com/@yourfuse/optimize-memory-and-performance-with-the-cvm-algorithm-in-javascript-a-comprehensive-guide-for-6bb33d1a5b63?source=rss-26036886a3cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/6bb33d1a5b63</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[data-structures]]></category>
            <dc:creator><![CDATA[Igor Komolov]]></dc:creator>
            <pubDate>Fri, 17 May 2024 13:36:06 GMT</pubDate>
            <atom:updated>2024-05-17T13:36:06.447Z</atom:updated>
            <content:encoded><![CDATA[<h3>Optimize Memory and Performance with the CVM Algorithm in JavaScript: A Comprehensive Guide for Text Analysis, Big Data, and More</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qGua3w1yQo99wTeGaWZStQ.png" /></figure><p>If you are into <strong>Data Structures and Algorithms </strong>as well as <strong>JavaScript </strong>then this is for you! After reading about the <a href="https://arxiv.org/abs/2301.10191">CVM algo</a>, recently published, I wanted to make a JavaScript version.</p><p><strong>Below is the Javascript implementation of the CVM algorithm for your pleasure and use!</strong></p><h3>Description and premise</h3><p>The CVM algorithm is a powerful tool for scenarios requiring efficient memory usage and probabilistic estimation of unique entries. Its benefits in terms of memory efficiency, scalability, probabilistic accuracy, and performance make it suitable for a wide range of applications in text analysis, big data processing, database optimization, and scientific research.</p><blockquote><em>Given a data stream A=⟨a1,a2,…,am⟩ of m elements where each ai∈[n], the Distinct Elements problem is to estimate the number of distinct elements in A.Distinct Elements has been a subject of theoretical and empirical investigations over the past four decades resulting in space optimal algorithms for it.All the current state-of-the-art algorithms are, however, beyond the reach of an undergraduate textbook owing to their reliance on the usage of notions such as pairwise independence and universal hash functions. We present a simple, intuitive, sampling-based space-efficient algorithm whose description and the proof are accessible to undergraduates with the knowledge of basic probability theory.</em></blockquote><h3>Final CVM Algorithm Code in a JavaScript “oneliner”</h3><p>You can use this JS function by providing any text string as input, and it will simulate the described algorithm, returning the final set of unique words. This is as condensed as it can get, but if you can condese it more , please do post and Ill update it! If you are interested in seeing how this ‘oneliner’ started, before it was condensed, <strong>I have included the long form version of this same code at the bottom of the article.</strong></p><pre>const cvmAlgorithm = t =&gt; { const f = n =&gt; !(Math.random() * (1 &lt;&lt; n) | 0); const w = t.match(/\b\w+\b/g) || []; let r = 1, u = new Set(); for (let i of w.map(x =&gt; x.toLowerCase())) u.size &lt; 100 ? u.add(i) : f(r) &amp;&amp; u.delete(i), u.size &gt;= 100 &amp;&amp; r++, u.size &gt; 50 &amp;&amp; (u = new Set([...u].filter(() =&gt; f(r)))); return [...u]; };</pre><pre>// Example usage:<br>const text = &quot;To be, or not to be, that is the question...&quot;; <br>const finalWords = cvmAlgorithm(text);<br>console.log(finalWords);</pre><h3>How It Works</h3><h4><strong>Word Extraction</strong></h4><p>The function first extracts all words from the input text and normalizes them to lowercase.</p><h4><strong>Initial Filling</strong></h4><p>It then starts adding words to a set until it reaches 100 unique words.</p><h4><strong>Coin Flips</strong></h4><p>If the set reaches 100 words, it begins flipping coins for each new word. Words are retained or deleted based on the coin flip results.</p><h4><strong>Rounds and Difficulty</strong></h4><p>As more words are processed, the difficulty of retaining words increases with each round, requiring more consecutive heads in coin flips.</p><h4><strong>Purging</strong></h4><p>Periodically, the function purges the set to about half its size based on additional coin flips, ensuring a dynamic and probabilistic retention of words.</p><h4><strong>Final Estimation</strong></h4><p>After processing all words in the text, the function returns the remaining set of unique words, providing an estimate of the distinct words through this memory-limited algorithm.</p><h3>Use Cases</h3><h4><strong>Text Analysis and Natural Language Processing (NLP)</strong></h4><p><strong>Word Frequency Estimation<br></strong>The CVM algorithm can be used to estimate the number of unique words in large text corpora, which is essential for understanding the vocabulary diversity of the text.</p><p><strong>Language Modeling<br></strong>In language modeling, knowing the number of distinct words can help in building more accurate models.</p><h4><strong>Big Data and Streaming Data</strong></h4><p><strong>Real-Time Data Processing<br></strong>The algorithm is suitable for processing large streams of data in real-time, where storing all data points is impractical.</p><p><strong>Memory-Constrained Environments<br></strong>Ideal for environments with limited memory, such as embedded systems, where full data storage is not feasible.</p><h4><strong>Database and Storage Optimization</strong></h4><p><strong>Efficient Indexing<br></strong>Helps in creating efficient indexes by providing a probabilistic estimate of unique entries, optimizing storage and retrieval processes.</p><p><strong>Data Deduplication<br></strong>Useful in identifying and removing duplicate entries in databases, leading to more efficient storage utilization.</p><h4><strong>Scientific Research</strong></h4><p><strong>Ecology and Biology<br></strong>In studies involving large datasets of species occurrences or genetic sequences, the algorithm can estimate the diversity without requiring complete data storage.</p><p><strong>Social Sciences<br></strong>Analyzing survey responses or social media data where unique entries need to be estimated efficiently.</p><h3>Benefits</h3><h4><strong>Memory Efficiency</strong></h4><p><strong>Low Memory Footprint<br></strong>The algorithm requires significantly less memory compared to storing all unique words or entries. It maintains a limited set size, making it ideal for memory-constrained environments.</p><h4><strong>Scalability</strong></h4><p><strong>Handles Large Datasets<br></strong>Can process large datasets efficiently by only storing a small subset of the data at any given time. This makes it suitable for big data applications.</p><p><strong>Adaptability<br></strong>The algorithm’s complexity increases gradually with more data, making it scalable and adaptable to various data sizes.</p><h4><strong>Probabilistic Accuracy</strong></h4><p><strong>High Accuracy with Limited Resources<br></strong>Provides a high degree of accuracy in estimating the number of unique words or entries even with limited memory, due to the probabilistic approach of coin flips.</p><p><strong>Controlled Error Margin<br></strong>The error margin can be controlled and reduced by adjusting the memory size or the number of rounds, allowing for flexible accuracy levels.</p><h4><strong>Speed and Performance</strong></h4><p><strong>Fast Processing<br></strong>The use of coin flips and set operations ensures that the algorithm performs operations quickly, suitable for real-time applications.</p><p><strong>Minimal Computational Overhead<br></strong>The algorithm involves simple operations like coin flips and set manipulations, resulting in minimal computational overhead.</p><blockquote><strong>By making use of randomness, a team has created a simple algorithm for estimating large numbers of distinct objects in a stream of data.</strong></blockquote><h3>Extended Long form Javascript version of CVM algo</h3><p>If you are interested in whats going on here is a deeper dive into how the oneliner code above was acheived.</p><pre>function cvmAlgorithm(text) {<br>    function flipCoin() {<br>        return Math.random() &lt; 0.5;<br>    }</pre><pre>    function flipCoins(n) {<br>        for (let i = 0; i &lt; n; i++) {<br>            if (!flipCoin()) return false;<br>        }<br>        return true;<br>    }</pre><pre>    function processRound(wordsSet, round) {<br>        const wordsArray = Array.from(wordsSet);<br>        wordsSet.clear();<br>        for (const word of wordsArray) {<br>            if (flipCoins(round)) {<br>                wordsSet.add(word);<br>            }<br>        }<br>        return wordsSet;<br>    }</pre><pre>    const words = text.split(/\s+/).map(word =&gt; word.toLowerCase().replace(/[^a-z0-9]/gi, &#39;&#39;));<br>    const uniqueWords = new Set();<br>    let currentRound = 1;</pre><pre>    for (let i = 0; i &lt; words.length; i++) {<br>        if (uniqueWords.size &lt; 100) {<br>            uniqueWords.add(words[i]);<br>        } else {<br>            uniqueWords = processRound(uniqueWords, currentRound);<br>            if (uniqueWords.size &lt; 100) {<br>                uniqueWords.add(words[i]);<br>            }<br>            currentRound++;<br>        }<br>    }</pre><pre>    while (uniqueWords.size &gt; 50) {<br>        uniqueWords = processRound(uniqueWords, currentRound);<br>        currentRound++;<br>    }</pre><pre>    return uniqueWords;<br>}</pre><pre>// Example usage:<br>const text = &quot;To be, or not to be, that is the question...&quot;;<br>const finalWords = cvmAlgorithm(text);<br>console.log(Array.from(finalWords));</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6bb33d1a5b63" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Are Monads in JavaScript and How Can They Improve Your Functional Programming?]]></title>
            <link>https://medium.com/@yourfuse/what-are-monads-in-javascript-and-how-can-they-improve-your-functional-programming-e42e56e7af9d?source=rss-26036886a3cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/e42e56e7af9d</guid>
            <category><![CDATA[functional-programming]]></category>
            <category><![CDATA[monads]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Igor Komolov]]></dc:creator>
            <pubDate>Wed, 07 Feb 2024 14:03:59 GMT</pubDate>
            <atom:updated>2024-02-07T14:03:59.609Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q-a_rODT4pk5wS1xFG03KQ.png" /></figure><p><em>Live Article — Last Updated: February 07,2024</em></p><p><strong>If you are not practicing Monads, you HAVE to read this!</strong></p><p>Functional programming has become a cornerstone in the modern JavaScript developer’s toolbox, offering a robust paradigm for writing cleaner, more predictable code. I am literally obsesed with how many use cases and applications there are that outweigh any other methods and understanding monads was a pivotal shift for me when it came down to being efficient, I hope this explainer serves you the same!</p><p>Among its many concepts, the monad stands out as a powerful but often misunderstood tool. This article demystifies monads, using a relatable analogy and practical examples to show how they can enhance your JavaScript coding practices. By the end of this read, you’ll not only grasp what monads are but also how to effectively use them in your projects.</p><h3>What is a Monad?</h3><p>In functional programming, a monad is a design pattern that allows for the composition of functions, managing side effects, and handling asynchronous operations, among other things. At its core, a monad is a type of functor (a container that holds a value and a function to manipulate that value) with two additional capabilities: it can wrap a value into a monadic container, and it can chain operations in a way that flattens the structure.</p><h3>The “Fancy Burrito” Analogy</h3><p>To understand monads in a more digestible way, let’s compare them to making a fancy burrito. Imagine you have a burrito (<em>the monadic container</em>) that wraps some ingredients (<em>values</em>). Now, the beauty of a burrito is not just in its contents but in how you can add layers (<em>functions</em>) to it without making a mess. Each layer affects the burrito’s overall flavor (<em>the result of the operations</em>), yet everything stays neatly wrapped inside the tortilla (the monad).</p><h3>The Ingredients of a JavaScript Monad</h3><p>Using this analogy, let’s break down the components of a monad in JavaScript:</p><ul><li>The Burrito (Monad Container): This represents the monad itself, which encapsulates or wraps a value.</li><li>The Secret Sauce (Bind Function/flatMap): This function applies an operation to the value inside the monad, potentially changing its type while keeping the monad&#39;s structure.</li><li>The Toppings (Functions): These are the operations that you apply to the value inside the monad.</li></ul><h3>Implementing a Monad in JavaScript</h3><p>To bring our analogy to life, let’s create a simple Burrito monad in JavaScript. This example will help illustrate how monads work in a functional programming context.</p><pre>function Burrito(value) {<br>    return {<br>        value: value,<br>        bind: function(func) {<br>            return Burrito(func(this.value));<br>        },<br>        log: function() {<br>            console.log(this.value);<br>            return this; // Allow chaining by returning the burrito<br>        }<br>    };<br>}</pre><h3>A Taste Test: Using Our Burrito Monad</h3><pre>let myBurrito = Burrito(10);<br>myBurrito<br>    .bind(value =&gt; value + 2) // Adds 2<br>    .bind(value =&gt; value * 5) // Multiplies by 5<br>    .log(); // Outputs: 60</pre><p>In this example, myBurrito starts with a base value of 10. We then apply two functions sequentially: one that adds 2 to the value, and another that multiplies the result by 5. Each function application is neatly contained within our Burrito, illustrating how monads can chain operations while managing the underlying data.</p><h3>Why Use Monads in JavaScript?</h3><p>Monads offer several advantages in functional programming, including:</p><ul><li>Handling Side Effects: Monads can encapsulate operations that might include side effects, ensuring that these don’t leak out and affect other parts of your program.</li><li>Chaining Operations: By allowing functions to be chained together, monads make it easier to perform a sequence of operations on a value, enhancing code readability and maintainability.</li><li>Error Handling: Certain monads, like the Maybe monad, provide a graceful way to handle errors and null values without throwing exceptions.</li></ul><h3>Conclusion</h3><p>Monads in JavaScript, much like adding the perfect toppings to a burrito, allow developers to wrap and manage complexity in a clean, predictable fashion. By understanding and utilizing monads, you can write functional JavaScript code that’s not only more robust but also easier to read and maintain. Whether you’re handling asynchronous operations, managing side effects, or simply chaining transformations, monads offer a powerful pattern for elevating your programming skills.</p><p>Embrace the functional programming paradigm and let monads help you create a masterpiece of code that’s as delightful and satisfying as your favorite burrito. With this guide, you’re well-equipped to start integrating monads into your JavaScript projects, making your code journey a more flavorful experience.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e42e56e7af9d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Effortlessly Enhance Your Browsing Experience: Universal Bookmarklet to Disable Annoying Modals and…]]></title>
            <link>https://medium.com/@yourfuse/effortlessly-enhance-your-browsing-experience-universal-bookmarklet-to-disable-annoying-modals-and-e59560371bae?source=rss-26036886a3cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/e59560371bae</guid>
            <category><![CDATA[chrome]]></category>
            <category><![CDATA[browser-automation]]></category>
            <category><![CDATA[bookmarklet]]></category>
            <category><![CDATA[firefox]]></category>
            <category><![CDATA[browsers]]></category>
            <dc:creator><![CDATA[Igor Komolov]]></dc:creator>
            <pubDate>Sat, 20 Jan 2024 12:28:51 GMT</pubDate>
            <atom:updated>2024-01-20T12:44:00.868Z</atom:updated>
            <content:encoded><![CDATA[<h3>Effortlessly Enhance Your Browsing Experience: Universal Bookmarklet to Disable Annoying Modals and Overlays</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4SQjuj83G_FIoF4xu8EC_g.png" /></figure><p>Last Updated: January 20, 2024</p><p><em>If it doesnt work for the website you are browsing, add the URL in the comments and I’ll update the code to work with it for you!</em></p><p>Navigating the web should be a seamless experience, but too often, it’s interrupted by pesky modals and overlays. Whether it’s a news website, a weather forecast page, or an online store, these elements can be obtrusive and annoying. That’s why I’m excited to share a universal solution: a simple bookmarklet that disables these irritants on almost any site, including popular ones like Fox News and The Weather Network.</p><p>This really spawned out of getting annoyed at Fox and Weather Network for prompting me to disable an Ad Block extension, when I don’t even use one! And, I regularly check those sites so, I had to come up with a solution where I didnt have to add another extension. Instead, the solution is a ‘<strong>bookmarklet</strong>”. Also, extended to work with most ‘modal’ popups on any site, including cookie blockers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*75MAb_H0WY2My7Yo8t4Rsw.gif" /></figure><h3>What is a Bookmarklet?</h3><p>A bookmarklet is a small JavaScript snippet that lives in your bookmarks bar. Unlike traditional bookmarks, bookmarklets execute code on the current page, allowing you to modify or enhance the site you’re viewing. They’re perfect for users who want quick solutions without the hassle of installing extensions.</p><h3>Why This Bookmarklet?</h3><p>This particular bookmarklet targets modal windows and overlays — those annoying pop-ups that block content and disrupt your browsing. With a single click, this tool removes modal-related classes and hides specific overlay elements, clearing your view and making navigation smoother.</p><h3>Crafting the Bookmarklet:</h3><h4>Write the Code</h4><p>The JavaScript code for our bookmarklet is:</p><pre>javascript:(function() { <br>    var style = document.createElement(&#39;style&#39;); <br>    style.innerHTML = &#39;.fc-ab-root .fc-dialog-container, .fc-ab-root { display: none !important; } body { overflow: auto !important; }&#39;; <br>    document.head.appendChild(style); <br><br>    var modals = document.querySelectorAll(&#39;*[class*=&quot;modal&quot;]&#39;);<br>    modals.forEach(function(modal) {<br>        modal.className = modal.className.replace(/\bmodal\b/g, &#39;&#39;);<br>    });<br>})();</pre><p>This code first applies CSS to hide certain overlays and then removes the “modal” class from elements, thereby neutralizing most pop-ups and overlays.</p><h4>Turn Code into Bookmarklet</h4><ul><li>Watch the GIF above in case you get stuck.</li><li>Open your browser and navigate to the bookmarks bar.</li><li>Right-click and choose to add a new bookmark.</li><li>Name it descriptively, like “Disable Modals &amp; Overlays.” or “DMO” too keep it short.</li><li>Paste the JavaScript code into the URL field.</li><li>Personally, I add this bookmark into my toolbar so it easy access!</li></ul><h4>Using Your Bookmarklet</h4><ul><li>Visit a website like Fox News or The Weather Network.</li><li>Click your new bookmarklet.</li><li>Watch as modals and overlays are disabled, allowing for uninterrupted browsing.</li><li>Mobile friendly: Sync your browser profile by signing in on mobile so you get access to your bookmarks.</li></ul><h4>Benefits and Limitations</h4><p>This bookmarklet is a versatile tool for improving user experience on a wide range of websites. However, its effectiveness can vary with different site designs and coding practices. It’s also important to note that some sites may update their layout or class names, which could require adjustments to the bookmarklet.</p><p><strong>If it doesnt work on the site you are trying, leave a comment with ther URL and I’ll modify the code!</strong></p><h4>Conclusion</h4><p>Enhance your web browsing with this easy-to-use bookmarklet, perfect for disabling distracting modals and overlays on a variety of websites. Embrace a cleaner, more user-friendly internet experience with just a click!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e59560371bae" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>