|
Fehrist – Document Indexing Library in Go Fehrist is a document indexing library written in Golang which is used to index different kind of text documents
-
blog.adnansiddiqi.me
-
6 years ago
-
eng
TLDR: Visit Github repo if you are not interested in the internals of the lib. Today I present you another library I made in Go language, called, Fehrist From the Github README: Fehrist is a pure Go library for indexing different types of documents. Currently, it supports only CSV and JSON but flexible architecture gives you the liberty to add more documents. Fehrist(فہرست) is an Urdu word for Index. Similar terminologies used in Arabic(فھر....
|
|
Curl has support for sftp and scp, among many other protocols. In one of our php-applications we use libcurl to transfer files via sftp to a remote datacenter. We recently migrated this application into a docker-container. With it we transferred the private key into the container, so the application can connect to the datacenter. However the job that periodically transfers these files wasn’t working anymore when run inside the containe....
|
|
How to evenly distribute points on a sphere more effectively than the canonical Fibonacci Lattice
-
extremelearning.com.au
-
6 years ago
-
eng
Mapping the Fibonacci lattice (aka Golden Spiral, aka Fibonacci Sphere) onto the surface of a sphere is an extremely fast and effective approximate method to evenly distribute points on a sphere. I show how small modifications to the canonical implementation can result in notable improvements for nearest-neighbor measures. tl;dr: Get a summary of this post … Continue reading "How to evenly distribute points on a sphere more effectively ..
|
|
Overview # The primary thrust of this book is that television has degraded our mode of public discourse. Our news, politics, education, and even religion are delivered to us primarily through television, where they were once delivered via the written word. This transformation of medium is not irrelevant: just as poetry doesn’t survive fully intact when translated from one language to another, likewise ideas do not survive translation o....
|
|
A marketplace business connects buyers and sellers in exchange for a cut of the revenue. Some of today's biggest companies, such as Amazon, Uber, and Airbnb, are marketplaces. Yes, these companies cha...
|
|
A marketplace business connects buyers and sellers in exchange for a cut of the revenue. Some of today's biggest companies, such as Amazon, Uber, and Airbnb, are marketplaces. Yes, these companies cha...
|
|
Overview # The primary thrust of this book is that television has degraded our mode of public discourse. Our news, politics, education, and even religion are delivered to us primarily through television, where they were once delivered via the written word. This transformation of medium is not irrelevant: just as poetry doesn’t survive fully intact when translated from one language to another, likewise ideas do not survive translation o....
|
|
Overview The primary thrust of this book is that television has degraded our mode of public discourse. Our news, politics, education, and even religion are delivered to us primarily through television, where they were once delivered via the written word. This transformation of medium is not irrelevant: just as poetry doesn’t survive fully intact when translated from one language to another, likewise ideas do not survive translation of medi....
|
|
Overview The primary thrust of this book is that television has degraded our mode of public discourse. Our news, politics, education, and even religion are delivered to us primarily through television, where they were once delivered via the written word. This transformation of medium is not irrelevant: just as poetry doesn’t survive fully intact when translated from one language to another, likewise ideas do not survive translation of medi....
|
|
In a previous post, I've underlined the philosophy behind Domain Driven Design, DDD, and now I'd like to move to a practical approach that handles real issues in software development and architecture, requirements that constantly change, and models that are never precise, never current, and/or never using the best technology available. One of the solution to such problems is to build an evolutionary architecture.
|
|
Terraform in AWS: use AMI Names not IDs - and is Terraform the right answer still?
-
blog.herlein.com
-
6 years ago
-
eng
In AWS the AMI ID for a particular VM image is unique to that region. But it’s name is consistent across AWS. When building infra-as-code (such as terraform) use the name, not the ID. And some musings on terraform. Is it still the right answer for infra-as-code?
|
|
Terraform in AWS: use AMI Names not IDs - and is Terraform the right answer still?
-
blog.herlein.com
-
6 years ago
-
eng
In AWS the AMI ID for a particular VM image is unique to that region. But it’s name is consistent across AWS. When building infra-as-code (such as terraform) use the name, not the ID. And some musings on terraform. Is it still the right answer for infra-as-code?
|
|
I created a PMOD module PCB using KiCAD, that enables connecting WS2812B lighting strips to an FPGA board with a PMOD interface. The board was assembled by JLCPCB. This is my first project using an FPGA, I plan to soon implement an SPI interface with the FPGA, to accept colour pixels via SPI from a […]
|
|
I created a PMOD module PCB using KiCAD, that enables connecting WS2812B lighting strips to an FPGA board with a PMOD interface. The board was assembled by JLCPCB. This is my first project using an FPGA, I plan to soon implement an SPI interface with the FPGA, to accept colour pixels via SPI from a […]
|
|
I created a PMOD module PCB using KiCAD, that enables connecting WS2812B lighting strips to an FPGA board with a PMOD interface. The board was assembled by JLCPCB. This is my first project using an FPGA, I plan to soon implement an SPI interface with the FPGA, to accept colour pixels via SPI from a […]
|
|
I created a PMOD module PCB using KiCAD, that enables connecting WS2812B lighting strips to an FPGA board with a PMOD interface. The board was assembled by JLCPCB. This is my first project using an FPGA, I plan to soon implement an SPI interface with the FPGA, to accept colour pixels via SPI from a […]
|
|
We all protest and effect change in our own ways. I choose mentorship, education, and work - because that’s what I can do best to make a difference.
|
|
We all protest and effect change in our own ways. I choose mentorship, education, and work - because that’s what I can do best to make a difference.
|
|
It features full support for latest specifications by the Italian Public Administration (v1.6), and is now delivered with a single package model.
|
|
My wife recently got kittens and wanted to show pictures of them with our kids via our ChromeCast. The problem is that there seems to be no simple way to do that. Here's the work around I came up with: Create an album on your iPhone and put all the pictures in it. Go into that album and look at the movie that Apple Photos makes for the album. Click the share button and select to save that video. Go into the YouTube app and upload that ..
|
|
Paul Hudson authors excellent Swift material at hackingwithswift.com . I regularly land on the site while searching for snippets from the browser. I was wondering if I could search for snippets directly from Emacs. Turns out, hackingwithswift uses a JSON HTTP request for querying code examples. With this in mind, we can use ivy-read like Oleh Krehel's counsel-search and search for Swift snippets from our favorite editor: (require '....
|
|
The previous post about JVM turned out to be well-received, so I would like to uncover another fun topic related to JVM - Java agents. Although not everyone gets a chance to write custom Java agents in his career, they are still a wonderful field to explore and open an endless way to customize JVM behavior. Java agents are special in the way that JVM allows them to do much more than a regular Java app is allowed to: they can instrument or p..
|
|
I recently published an alpha version of a code generation tool, DBCore, that reads a database schema from PostgreSQL or MySQL and generates an entire Go API with CRUD operations, pagination, filtering, and authentication. But more than just generating code like xo/xo or gnorm , DBCore defines a standard REST API that can be implemented in any language -- and includes a reference implementation in Go. I'm eager to add Java and Rub....
|
|
The previous post about JVM turned out to be well-received, so I would like to uncover another fun topic related to JVM - Java agents. Although not everyone gets a chance to write custom Java agents in his career, they are still a wonderful field to explore and open an endless way to customize JVM behavior. Java agents are special in the way that JVM allows them to do much more than a regular Java app is allowed to: they can instrument or p..
|
|
My wife recently got kittens and wanted to show pictures of them with our kids via our ChromeCast. The problem is that there seems to be no simple way to do that. Here's the work around I came up with: Create an album on your iPhone and put all the pictures in it. Go into that album and look at the movie that Apple Photos makes for the album. Click the share button and select to save that video. Go into the YouTube app and upload that ..
|
|
Dangling DNS records are not something new. They are just out-of-date DNS records which may have served its purpose in the past. This DNS record trash has been there for ages and was not considered a security issue. They are pointing to some resource (IP or DNS record) that was owned/trusted in the past. What makes the dangling DNS record deadly is the fact that others can seize the resources that the record is pointing to.
|
|
In the face of systemic injustice arcing towards a specific community, we must have the courage to call it out specifically.
|
|
Do you want to get started with web scraping using Python? Are you concerned about the potential legal implications? What are the tools required and what are some of the best practices? This week on the show we have Kimberly Fessel to discuss her excellent tutorial created for PyCon 2020 online titled "It's Officially Legal so Let's Scrape the Web."
|
|
How to speed up iOS build times by 40% using zld, a drop-in replacement for Apple's linker, with practical integration tips for real projects.
|
|
When hopping in to an unfamiliar git repo, if it's a big sprawling repo or even a monorepo, it can be hard to know which parts are relevant. Well, if you know someone on your team's name, I have a script that can give you a pretty solid clue. Here's the pipeline and explanations. # Show me the hash of every commit by someone named Doe # for the last 3 months git log --author='Doe' --pretty=format:%H --since="3 months ago" # Now show me t....
|
|
When hopping in to an unfamiliar git repo, if it's a big sprawling repo or even a monorepo, it can be hard to know which parts are relevant. Well, if you know someone on your team's name, I have a script that can give you a pretty solid clue. Here's the pipeline and explanations. # Show me the hash of every commit by someone named Doe # for the last 3 months git log --author='Doe' --pretty=format:%H --since="3 months ago" # Now show me t....
|
|
Setting Up CI / CD with Jenkins, Blue Ocean, Github for a Rust Program
-
fuzzyblog.io
-
6 years ago
-
eng
CI / CD or "Continuous Integration / Continuous Deployment" is the process of: taking a source code base running tests against it compiling it (if applicable) deploying it CI / CD is an ongoing process that runs continuously and responds to pull requests on your source code repo. In this blog post we are going to: Take a git repo with a Rust code base Run it thru CI / CD using Jenkins with the Blue Ocean plugin Compile it Deploy i....
|
|
How do I add script tag to specific pages only? In this post I show how I integrated hypothes.is only on my article pages.
|