๐Ÿš€ OharaLumina

All Posts

Thumbnail for Posts

protobuf vs gRPC

๐Ÿ“‚ Categories: Programming

I try to understand protobuf and gRPC and how I can use both Could you help me understand the following Considering the OSI model what is where for example is

Thumbnail for Posts

PSQLException current transaction is aborted commands ignored until end of transaction block

๐Ÿ“‚ Categories: Postgresql
๐Ÿท๏ธ Tags: Jboss Infinispan

I am seeing the following truncated stacktrace in the serverlog file of JBoss 711 Final Caused by orgpostgresqlutilPSQLException ERROR current transaction is

Thumbnail for Posts

Python csv string to array

๐Ÿ“‚ Categories: Python
๐Ÿท๏ธ Tags: String Arrays Csv

Anyone know of a simple library or function to parse a csv encoded string and turn it into an array or dictionary I dont think I want the built in csv module

Thumbnail for Posts

querySelectorAll with multiple conditions in JavaScript

๐Ÿ“‚ Categories: Javascript

Is it possible to make a search by querySelectorAll using multiple unrelated conditions If yes how And how to specify whether those are AND or OR criteria For

Thumbnail for Posts

Redis is single-threaded then how does it do concurrent IO

๐Ÿ“‚ Categories: Redis

Trying to grasp some basics of Redis I came across an interesting blog post The author states Redis is singlethreaded with epollkqueue and scale indefinitely

Thumbnail for Posts

Rename multiple files by replacing a particular pattern in the filenames using a shell script duplicate

๐Ÿ“‚ Categories: Programming
๐Ÿท๏ธ Tags: Shell

This question already has answers here Rename multiple files based on pattern in Unix 29 answers Closed 7 years ago Write a simple script that will

Thumbnail for Posts

Safely limiting Ansible playbooks to a single machine

๐Ÿ“‚ Categories: Programming
๐Ÿท๏ธ Tags: Ansible

Im using Ansible for some simple user management tasks with a small group of computers Currently I have my playbooks set to hosts all and my hosts file is just

Thumbnail for Posts

Serialize an object to XML

๐Ÿ“‚ Categories: C#
๐Ÿท๏ธ Tags: Xml-Serialization

I have a C class that I have inherited I have successfully built the object But I need to serialize the object to XML Is there an easy way to do it It looks

Thumbnail for Posts

SQL Subtracting 1 day from a timestamp date

๐Ÿ“‚ Categories: Sql

I am using Datagrip for Postgresql I have a table with a date field in timestamp format ex 20161101 000000 I want to be able to apply a mathematical operator