byteshiva.substack.com
@byteshiva.substack.com
8 followers 1 following 58 posts
Posts Media Videos Starter Packs
Hot off the press in Chrome 117:

Object.groupBy() and Map.groupBy() are game-changers for array manipulation.

Finally – native grouping without reduce() gymnastics!

I break it down with:
✨ Clear examples
✨ Performance notes

#JS #WebDev #CodeNewbies #chrome

byteshiva.medium.com/understandin...
Understanding Object.groupBy() and Map.groupBy() in Chrome 117
Master JavaScript Grouping in Chrome 117: Full Guide + Examples
byteshiva.medium.com
💡 Tech analogy of the day:

Go’s new string iterators are like upgrading from:
❌ A waterfall (dumps everything, crashes)
✅ To a faucet (flows smoothly, no waste)

Result? Your code won’t choke on big files anymore!

#LearnProgramming

byteshiva.medium.com/mastering-go...
Mastering Go 1.24’s String Iterators: A Practical Guide with Code Examples
Why 87% of Go Developers Will Rewrite Their String Code After Reading This
byteshiva.medium.com
Go 1.24's os.Root makes file security effortless:

root, _ := os.OpenRoot("/safe/path")
file, _ := root.Open("user/file.txt") // Automatically confined

No more:
• Manual path cleaning
• ../ vulnerability checks
• Security boilerplate

For more

byteshiva.medium.com/secure-file-...
byteshiva.medium.com
New in Go 1.24: Automatic path traversal protection.

Before:
"Did I sanitize ../ correctly? Did I miss an edge case?" 😅

After:

go
os.OpenInRoot("/dir", userFile) // ✅ Done.
No CVEs. No fuss. Just secure by default.

byteshiva.medium.com/locking-down...

#Golang #SecureCoding #Coding #DevSecOps
Locking Down Your Files: How Go 1.24 Stops Hackers from Stealing Your Data
Unveiling the Vulnerabilities: How Small Security Gaps Can Lead to Major Breaches
byteshiva.medium.com
Just cracked the code on billion-line file processing in @golang! 🎉

Imagine eating a 20,000-novel buffet without choking 🍽️📚 That's what processing 1B lines feels like. My solution? File segmentation + worker pools + atomic counters.

#GoLang #BigData #Programming #coding

medium.com/@byteshiva/h...
How I Processed a File with 1 Billion Lines (And How You Can Too!)
1 File, 1 Billion Lines, 0 Meltdowns: A Go Success Story
medium.com
🚀 Just published: "How to Generate Gigabytes of Test Data in Seconds"

Tired of manually creating dummy files? Use these command-line hacks to instantly generate:

1M line text files
Fake CSV/JSON for APIs & databases
Realistic log files

#TestData #Programming

byteshiva.medium.com/how-to-quick...
How to Quickly Generate Test Data for Your Projects
Generate Gigabytes of Fake Data in Seconds Using Command-Line Magic
byteshiva.medium.com
TIL you can SQL your OS. 🤯

osquery turns your system into a queryable DB:

SELECT * FROM processes;

SELECT * FROM listening_ports;

Install in seconds (Nix):
pkexec nix-shell -p osquery --run "osqueryi"

Full guide: byteshiva.medium.com/understandin...

#osquery #Linux #InfoSec #devops
Understanding osquery: SQL-Powered System Monitoring
The Detective Tool for Your Linux System — Meet osquery!
byteshiva.medium.com
Seeing "Temporary failure in name resolution" when using Docker on NixOS?

It’s likely a DNS issue. Set the right nameserver in configuration.nix, reboot, and you’re good to go!

Full fix here:

byteshiva.medium.com/fixing-docke...

#NixOS #Docker #Linux #DevOps #Cloud
Fixing Docker DNS Resolution Issue in NixOS
If you’re using NixOS and encountering the following error when trying to pull images from Docker Hub:
byteshiva.medium.com
🚀 A detailed guide on advanced TCP congestion control in Go! 🌐💻

Learn how to implement and test TCP congestion control mechanisms, set up a basic TCP server and client, manage congestion windows, and handle retransmissions.

and many more ...

Learn more at

byteshiva.medium.com/advanced-tcp...
Advanced TCP Congestion Control in Go: A Comprehensive Guide
In the realm of network programming, TCP (Transmission Control Protocol) stands out as a cornerstone for reliable data transmission over IP…
byteshiva.medium.com
Unlock real-time communication with WebRTC in Chromium! 🚀

Enjoy seamless video calls, voice chats, and file sharing directly in your browser.

#WebRTC #Chromium #TechInnovation

Dive into this blog to learn more:

byteshiva.medium.com/webrtc-in-ch...
Check out the new blog on integrating Podman with GitHub Container Registry (GHCR)! Learn how to streamline container management, avoid rate limits, and harness GitHub's robust ecosystem. Elevate your container strategy today.

#Podman #Containerization #DevOps

byteshiva.medium.com/using-github...
Using GitHub Container Registry (GHCR) with Podman: A Step-by-Step Guide
Streamlining Container Management with Podman and GHCR
byteshiva.medium.com
Explore #Podman and #GHCR in this new blog series.

Discover why Podman is a top Docker alternative, offering open-source solutions and enhanced security.

Learn how to get started and integrate with GHCR.

byteshiva.medium.com/revolutioniz...
Revolutionizing Container Management with Podman and GHCR
Streamlining Container Management: A Deep Dive into Podman and GHCR
byteshiva.medium.com
Optimize Your Go Code: Passing Structs by Value vs. by Reference

Learn the impact of passing structs by value vs. by reference in Go and how to optimize your code.

Dive into this blog post for valuable insights!

#GoLang #CodeOptimization #TechInsights

byteshiva.medium.com/passing-stru...
Passing Structs by Value vs. by Reference in Go
Exploring Efficiency and Performance
byteshiva.medium.com
Just explored Deno Compile to build portable, cross-platform CLI tools!

Dive into my latest blog where we create a word frequency analyzer and compile it into a standalone executable.

Experience the simplicity and power of Deno Compile for yourself!

#Deno

byteshiva.medium.com/deno-compile...
Deno Compile: Building Portable Cross-Platform CLI Tools
Harnessing Deno Compile for Efficient Cross-Platform CLI Development
byteshiva.medium.com
Dive into the future of coding with Neovim and Deno!

Our latest blog post covers advanced Lua scripting techniques to automate dynamic file headers, code formatting, project setup, and test running.

#Neovim #LuaScripting #Deno #Automation #Productivity

byteshiva.medium.com/automating-t...
Automating Tasks in Neovim: Advanced Lua Scripting with Deno for Enhanced Productivity
Streamline Your Coding Experience with Neovim and Deno
byteshiva.medium.com
Struggling with network issues on your Raspberry Pi?

This detailed guide helps you troubleshoot ARP table conflicts and LAN connectivity problems.

Follow the step-by-step instructions to get your network up and running smoothly.

#RaspberryPi #NetworkTroubleshooting

medium.com/@byteshiva/t...
Troubleshooting Network Issues on a Raspberry Pi: A Step-by-Step Guide
Resolving ARP Table Conflicts and LAN Connectivity Problems on Your Raspberry Pi
medium.com