<?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 Boris Sadkhin on Medium]]></title>
        <description><![CDATA[Stories by Boris Sadkhin on Medium]]></description>
        <link>https://medium.com/@bsadkhin?source=rss-77ddd9785ae6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*bnytpsTlfJXVkebT.</url>
            <title>Stories by Boris Sadkhin on Medium</title>
            <link>https://medium.com/@bsadkhin?source=rss-77ddd9785ae6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 10:33:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bsadkhin/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[PyCon 2023 — the hallway track note]]></title>
            <link>https://medium.com/@bsadkhin/pycon-2023-the-hallway-track-note-c53e80ff247d?source=rss-77ddd9785ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/c53e80ff247d</guid>
            <category><![CDATA[pycon]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Boris Sadkhin]]></dc:creator>
            <pubDate>Fri, 16 Jun 2023 18:47:12 GMT</pubDate>
            <atom:updated>2023-06-16T18:47:12.245Z</atom:updated>
            <content:encoded><![CDATA[<h3>PyCon 2023 — the hallway track notes</h3><p>This year at PyCon in Salt Lake city was great.<br>Favorite attractions included riding scooter around to the city to see</p><ul><li>Capital Building</li><li>MCune Mansion</li><li>GilGal Gardens</li><li>Hiking The Living Room Trailhead</li></ul><h3>Day 1</h3><h4>Type Checking</h4><p>I accidentally wandered into the types summit with Guido and the steering committee and watched them argue/talk about the future of types in python/ and explain how the community can understand how the steering committee works too. Also heard a talk about PYRE and the difference between machine learning models vs logical type checkers. Where does typing fit in the python ecosystem? How to deal with all of the `future import type*` legacy code?</p><ul><li><a href="https://peps.python.org/pep-0677/">https://peps.python.org/pep-0677/</a></li><li><a href="https://peps.python.org/pep-0677/">https://peps.python.org/pep-0649/</a></li><li><a href="https://peps.python.org/pep-0695/">https://peps.python.org/pep-0695/</a></li><li><a href="https://github.com/facebook/pyre-check">https://github.com/facebook/pyre-check</a></li><li><a href="https://pypi.org/project/beartype/">https://pypi.org/project/beartype/</a></li></ul><h4><strong>PyCharm Booth</strong></h4><ul><li>reported the error to Sergey Karpov about passing a flag required to use pycharm with pytest-cov and talked with them about having a suggestion for the fix to show up in the UI. <a href="https://youtrack.jetbrains.com/issue/PY-20186">https://youtrack.jetbrains.com/issue/PY-20186</a></li><li>setting up a debugger in containers by launching a debug server in the container</li><li>env file plugin for pycharm</li><li>dataspell</li><li>connect to JupyterHub kernel in pycharm</li></ul><h3>Day 2:</h3><h4><a href="https://nedbatchelder.com/text/key23.html">Keynote</a>: People the API Guide</h4><p>• Be humble<br>• Don’t say no<br>• Use more words<br>• Talk to people and be nicer</p><h4>SRE: Observability</h4><ul><li>Open telemetry -MELT —</li><li>Metrics(what)/LogS(why)/Tracing(where)</li><li>No code Kubernetes open telemetry</li><li>You can set up open telemetry on python command line</li><li>Use Prometheus for logs</li><li>use other things for tracing Jaeger zipkin</li><li>Trio has a flake8 plugin to detect async errors<br>libcst? can do it?</li><li>timid robot at creative talked about DevOps sharing config stuff on github</li><li>Tom miachelli books on sre</li><li>reddit self hosted community</li><li>Dan cook sre open space on observaility at MLB</li><li>sourcery python libraries (let’s you read code better)</li></ul><h3>Day 3 — hosted bioinformatics open space</h3><ul><li>streamlits for ui</li><li>HTMX tailwind<br>nepari plugin for bioinformatics</li><li>rnn lstms haved move on to transformer <a href="https://ai.stackexchange.com/questions/20075/why-does-the-transformer-do-better-than-rnn-and-lstm-in-long-range-context-depen">https://ai.stackexchange.com/questions/20075/why-does-the-transformer-do-better-than-rnn-and-lstm-in-long-range-context-depen</a></li><li>de<strong>epmind</strong></li></ul><p><strong>Books</strong></p><ul><li>service leadership-how can I help and facilitate book</li><li>extreme ownership jaako wilco*</li><li>the managers path (manual)</li><li>the missing readme for jr ics</li><li>high output management</li><li>lean management</li><li>ebpf kubernetes observability</li><li>cilium <a href="https://cilium.io/blog/2020/11/10/ebpf-future-of-networking/">https://cilium.io/blog/2020/11/10/ebpf-future-of-networking/</a> wasm</li><li><a href="https://www.infoq.com/news/2022/01/ebpf-wasm-service-mesh/">https://www.infoq.com/news/2022/01/ebpf-wasm-service-mesh/</a></li><li>redpanda instead of Kafka as a drop in replacement</li></ul><h3><strong>Day 4 Devops Meetups</strong></h3><ul><li>open source vs enterprise</li><li>on premisis vs cloud</li><li>DevOps days</li><li>Kong API gateway</li><li>buildkite</li><li>ebpf can see if your builds are hermetic and doing network connection</li><li>don’t allow questions about getting into the field as they take up a lot of time in open space</li><li>everyone has problems. Stop DMIng DevOps<br>make everyone use public channels <br>this is good because everyone knows that everyone else has problems even if they have been there for years<br><a href="https://testing.googleblog.com/2019/11/code-health-respectful-reviews-useful.html">https://testing.googleblog.com/2019/11/code-health-respectful-reviews-useful.html</a></li><li>Jessica David elastic talked at DevOps session about buildkite?</li><li>Ray for running workers, kubernetes jobs, workloads</li></ul><h4><strong>security tools</strong></h4><ul><li>Kubescape</li><li>cncf</li><li>aqua secruity</li><li>bottle rocket and taloss VM images on amazon. Gvizor</li><li>Met John zeola cncf ambassador</li><li>Met Paul hutchings k8</li><li>tailscale</li><li>devspace</li><li>run build and deploy after each save</li><li>app.beforeServerStart Adam Hopkins told me I could ask him a question and send him code for Sanic</li></ul><p>Podcasts</p><ul><li>kubecuddle</li><li>kubelist</li></ul><p>Other Python Stuff</p><ul><li>python exception groups</li><li>sourcery python libraries (let’s you read code better)</li><li>sentry Self hosted</li><li><a href="https://github.com/facebook/pyre-check">https://github.com/facebook/pyre-check</a></li><li><a href="https://pypi.org/project/beartype/">https://pypi.org/project/beartype/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c53e80ff247d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rancher Deep Dive Book Summary (Chapter 1)]]></title>
            <link>https://medium.com/@bsadkhin/rancher-deep-dive-book-summary-chapter-1-7f7d652bf16a?source=rss-77ddd9785ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f7d652bf16a</guid>
            <category><![CDATA[rancher]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Boris Sadkhin]]></dc:creator>
            <pubDate>Sat, 19 Nov 2022 07:37:50 GMT</pubDate>
            <atom:updated>2022-11-19T07:37:50.630Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/406/1*cr1yuQ32ESvPA_yKdSENQg.jpeg" /></figure><h3><strong>Why was Rancher originally created?</strong></h3><p>In order to improve on docker swarm, rancher was created. It did the following</p><ul><li>move <strong>IPsec</strong> into a container and then wrapping a management layer to handle the creation, deletion, and monitoring of the network tunnels between docker containers</li><li>deploy HA-Proxy to all worker nodes for load balancing</li><li>deploy rancher-nfs to mount nfs shares and create bind mounts without having to map them manually onto each of your docker hosts</li><li>provide authentication integration via AD, LDAP and Github</li></ul><h3>Why was Rancher 2 Created?</h3><ul><li>In may 2018, after 1.5 years of work, Rancher2 was released, making the change of moving everything from myqsl to kubernetes CRD resources. The reason for this change was for scalability and to be able to query Rancher objects in kubernetes without talking to the Rancher api</li><li>Everything is stateless, and uses a controller / control loop</li></ul><h3><strong>Kubernetes Main Features</strong></h3><h4>Pods</h4><ul><li>Should be disposable and shouldn’t change after creation.</li><li>All application configs should be handled at the pod level. (e.g. changing a db connection string doesn’t require a recompilation of the underlying app)</li><li>Paired Processes via sidecars. There is no need to run multiple processes/agents in the same container, you can run sidecars instead.</li><li>Every Pod Has an IP Address</li></ul><h4>Labels</h4><p>In order to enable reporting and track resources at scale, labels can arbitrarily be added to any pod.</p><h4>Services</h4><p>Since the pod name and ip address are ephemeral, service objects can references pods via <strong>labels</strong>! This means that you can add and remove pods, but leave the service intact and the client will never have to know.</p><h4>Availability</h4><p>Any failures in the system are just a change in state. So if the state of applications don’t match what is decoratively defined, controllers will schedule pods until the <em>actual</em> state matches the <em>desired</em> state.</p><h4><strong>Efficiency of Compute Resources</strong></h4><ul><li>Use ci/cd to spin up environments and tear them down, so you can reuse your compute for multiple tasks!</li><li>Automated Scaling for off peak hours using <strong>Horizontal Pod Autoscaler</strong>, which uses metrics like cpu/memory/response times to make decisions)</li><li>Automated Tuning of CPU/Memory Limits over time using <strong>Vertical Pod Autoscaler</strong> (Scale down resources when not in use to save money, but scale them up in anticipation of peak usages)</li></ul><h3>Kubernetes (k8) versus Docker Swarm (DS)</h3><h4>Scalability</h4><p>k8 requires you to manage a database (etcd), including taking backups and creating SSL certificates for all of the different components. You get autoscaling, node provisioning and features you don’t in Docker Swarm, which just requires a manager and adding nodes.</p><h4>Networking</h4><p>In k8, all pods (even across namespaces) can talk to each other over a network subnet. No default network providers, all are plugins, like Canal and Weave (which can do network encryption). In Docker Swarm, there are IPSEC tunnels between all nodes. You are stuck with IPSEC, and cannot change network providers.</p><h4><strong>Application Deployment</strong></h4><p>In K8, you deploy with kubectl, calls to the k8 api, yamls, and helm charts and crds. For docker swarm, you are stuck with docker-compose.</p><h4><strong>High Availability</strong></h4><p>In K8, you get health checks, readiness probes, kube-scheduler, kube-apiserver and more, with stateless and built-in leader election and failover. Docker swarm achieves HA by being in an active standby configuration.</p><h4><strong>Load Balancing</strong></h4><p>In K8, pods can be exposed using superficial layer 4 (TCP/UDP mode) load balancing services. This is achieved via nodeport port fowarding from the nodes ip address. Or it can be exposed via an ingress controller to provide layer 7 (HTTP/HTTPS mode) load balancing, routing, and SSL management.</p><p>Docker Swarm load balancing uses round-robin DNS to distribute incoming requests between containers and is limited to layer 4 only (no SSL or host based routing)</p><h4>Security</h4><p>K8 has built-in RBAC for granting pod permissions, namespace permissions. These are built on SSL certs and tokens, and k8 mounts certs and tokens inside pods to enable the access controls. Docker swarm was built for cluster administration and not application integration, so its functionality is much more limited.</p><h3>Kubernetes versus OpenShift</h3><p>Both K8 and OpenShift share a lot of features and design, but differ in implementation.</p><p><strong>Networking</strong></p><p>K8 is dependent on 3rd party networking plugins like canal flannel and weave and OpenShift provides a built-in network solution called <strong>Open vSwitch</strong>.</p><p><strong>Application deployment</strong></p><p>K8 can deploy on any machine. You can run Openshift on Ubuntu if you want, but its only “<strong><em>Supported” </em></strong>on RedHat linux so that may cause issues.</p><p><strong>Security</strong></p><p>K8 used to have Pod Security Policies (PSPs) such as stopping a pod from running as root, or bind mounting a disk from the local machine, but PSPs are deprecated in favor of OPA Gatekeeper. OpenShift is secure by default and doesn’t require cluster hardening like Kubernetes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f7d652bf16a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kustomize Woes]]></title>
            <link>https://medium.com/@bsadkhin/kustomize-woes-f27a0aa05888?source=rss-77ddd9785ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f27a0aa05888</guid>
            <category><![CDATA[kustomize]]></category>
            <dc:creator><![CDATA[Boris Sadkhin]]></dc:creator>
            <pubDate>Fri, 08 Jul 2022 20:28:38 GMT</pubDate>
            <atom:updated>2022-07-08T20:28:38.213Z</atom:updated>
            <content:encoded><![CDATA[<p>I tried to clone private git repos as a resource into <a href="https://kustomize.io/">Kustomize</a>, and found comments saying that</p><ul><li>its not meant for private gitlab urls (<a href="https://github.com/kubernetes-sigs/kustomize/issues/4690">https://github.com/kubernetes-sigs/kustomize/issues/4690</a>)</li><li>its not meant for production to git clone urls (<a href="https://github.com/kubernetes-sigs/kustomize/issues/4295">https://github.com/kubernetes-sigs/kustomize/issues/4295</a>)</li><li>if you want to git clone URLS, you have to change the resource URL to include the token, unless you want to keep typing the password in each time</li><li>You cannot use resources outside of the base directory as per</li></ul><pre>Error: accumulating resources: accumulating resources from &#39;../../base/deployment.yaml&#39;: security; file &#39;path/k8s/kustomize/base/deployment.yaml&#39; is not in or below &#39;path/k8s/kustomize/overlay/test&#39;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f27a0aa05888" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Updating SSL Certs on Ubuntu!]]></title>
            <link>https://medium.com/@bsadkhin/updating-ssl-certs-on-ubuntu-313013478e1b?source=rss-77ddd9785ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/313013478e1b</guid>
            <dc:creator><![CDATA[Boris Sadkhin]]></dc:creator>
            <pubDate>Fri, 17 Dec 2021 17:44:58 GMT</pubDate>
            <atom:updated>2021-12-17T17:46:11.329Z</atom:updated>
            <content:encoded><![CDATA[<p>apt-get upgrade updates your SSL certs!</p><p>So no more need to add the --no-check-certificates flag to wget when running in old docker containers.</p><p><a href="https://security.stackexchange.com/questions/199429/do-openssl-ca-certificates-get-updated-with-apt-get-upgrade">Do openssl CA certificates get updated with apt-get upgrade?</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=313013478e1b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Resizing Partitions and Raspberry Pi]]></title>
            <link>https://medium.com/@bsadkhin/resizing-partitions-and-raspberry-pi-e9a3eb8ccc79?source=rss-77ddd9785ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9a3eb8ccc79</guid>
            <category><![CDATA[raspberry-pi]]></category>
            <dc:creator><![CDATA[Boris Sadkhin]]></dc:creator>
            <pubDate>Sat, 13 Apr 2019 03:32:11 GMT</pubDate>
            <atom:updated>2019-04-13T03:32:11.300Z</atom:updated>
            <content:encoded><![CDATA[<p>So I finally have a project for my raspberry pi. I got tired of my wordpress sites getting hacked on shared hosting, so I’m planning to just host a wordpress site on my raspberry pi, but not expose it to the internet. Then I will use a plugin to generate a static version of my website and display those html pages.. The only interaction is a submit form, so I’m going to start up an espresso server or just use php to send the emails.. That is, if my ISP even allows that.. Maybe I could just use SendGrid?</p><p>Anyway how do I resize the partition?</p><ol><li>To check if you have some free space: sudo parted</li><li>Then run cfdisk to create a new partition (primary or logical), so choose write and then restart your server</li><li>Check your new partition: fdisk -l /dev/sda and then resize2fs /dev/mapper/YOUR_VOLUME_GROUP-root</li></ol><p>I installed CentOS on my raspberry pi.. Big mistake.. A lot of packages don’t even work there.. epel-release doesn’t work well and doesn’t contain all of the packages, and I still haven’t figured out how to install docker from scripts.. I’m going to try to compile it from source next.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9a3eb8ccc79" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mosh and Networking]]></title>
            <link>https://medium.com/@bsadkhin/mosh-and-networking-6ab692710efc?source=rss-77ddd9785ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ab692710efc</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Boris Sadkhin]]></dc:creator>
            <pubDate>Mon, 14 Jan 2019 17:06:00 GMT</pubDate>
            <atom:updated>2019-01-14T17:06:00.500Z</atom:updated>
            <content:encoded><![CDATA[<p>So today I decided to install mosh on an amazon EC2 server, because I wanted a better SSH connection on my flight. I followed a guide online, installed mosh with apt-get install mosh and opened up the ports 60000–61000 in my amazon security group manager. But then mosh still wasn’t working.. That’s when I got the message that mosh couldn’t connect.. What had I done wrong?</p><h3>UDP VS TCP</h3><p>I had forgotten to change the open ports to UDP instead of the default, TCP, because MOSH uses UDP…. So what do those mean anyway?</p><p>TCP stands for transmission control protocol, and it’s widely used to send data packets over the internet in a way that guarantees the recipient will get the packets in the order it requested (by numbering them). Then the recipient will send back a response confirming it received them. If the sender doesn’t get a correct response, it will resend them and check for errors and resend if necessary.</p><p>UDP is user diagram protocol, and it’s faster than TCP, but less reliable. There is no error checking, so if you missed the packets, too bad, you’re out of luck. UDP is commonly used for one way streaming supposedly.. But I think you’d need a special app for that, because most browsers only support TCP.</p><h3>CIDR</h3><p>What’s CIDR again? Classless inter-domain routing. It’s used for diving up IP address space. A reddit thread said it was used to cut down ip address ranges into chunks as an alternative to the ABC CLASS system, which gave too many ip addresses up.</p><p>You can assign public or private cidrs, but I think private cidrs is the more common use case. But I don’t know. I still don’t actually know what I would use this for.. I need to research it more.</p><p>REFERENCES<br><a href="https://theassyrianblog.wordpress.com/networking/tcp-udp-icmp-igmp-cidr-networking/">https://theassyrianblog.wordpress.com/networking/tcp-udp-icmp-igmp-cidr-networking/</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=reddit&amp;url=https%3A//www.reddit.com/r/explainlikeimfive/comments/1r3hf9/eli5can_somebody_please_explain_classless/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fb.thumbs.redditmedia.com%252FamUXWXfydWmcNl53gdZtOk9GSFoW5V7OJ-BMkvWedcc.png%26key%3Da19fcc184b9711e1b4764040d3dc5c07" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/3ae99e50c2029b35813b12ba08915bf8/href">https://medium.com/media/3ae99e50c2029b35813b12ba08915bf8/href</a></iframe><p><a href="https://docs.aws.amazon.com/vpc/latest/userguide/working-with-vpcs.html">Working with VPCs and Subnets - Amazon Virtual Private Cloud</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ab692710efc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Java Learning — Fat Jars, Dependency Shading, and upgrading from ant to gradle]]></title>
            <link>https://medium.com/@bsadkhin/java-learning-fat-jars-dependency-shading-and-upgrading-from-ant-to-gradle-e65f060ab535?source=rss-77ddd9785ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/e65f060ab535</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[fat-jar]]></category>
            <category><![CDATA[docker-java]]></category>
            <category><![CDATA[shading]]></category>
            <category><![CDATA[gradle]]></category>
            <dc:creator><![CDATA[Boris Sadkhin]]></dc:creator>
            <pubDate>Mon, 18 Jun 2018 19:50:53 GMT</pubDate>
            <atom:updated>2018-06-18T19:50:53.058Z</atom:updated>
            <content:encoded><![CDATA[<p>So I’ve been working on the KBase NarrativeJobService Execution Engine. Aka, the backend infrastructure for KBASE for launching jobs. Before, we used a custom backend infrastructure, but I have been working on getting it to run on HTCondor instead. (The folks at HTCondor are super nice, and HTCondorWeek was great)</p><p>Anyway, I ran into a problem with upgrading the docker java libraries, as they had “transitive dependencies” on other libraries, such as Jackson, and those conflicted with the Jackson libraries already being used by the project. Luckily, there is something called Library Shading, in which dependencies are renamed and thus allowing you to use multiple versions of the same library. Thank you project-aries : <a href="https://github.com/project-aries/docker-java-shaded">https://github.com/project-aries/docker-java-shaded</a></p><p>Switching to gradle was suprisingly easy. We took custom jars and uploaded them into our Artifactory, and then installed them in the gradle file. Since our artifactory is configured to search JCenter, we can even just search Jcenter for our desired jar, and copy and paste the gradle import statement from there, and our own artifactory will download it for us.</p><p>Gradle also has a “shadow-jar” plugin, which I used to build a “Fat jar”, which is a jar that contains all of the dependencies for the project, instead of having many, many jars. This would have been the plugin I would have used to perform “package relocation” on the docker-java libraries and to be able to include them into the build.</p><p>I included the gradlewrapper in the github repo, so it automatically downloads the correct version of the gradle jar, which means the system in which I am running the build on doesn’t even need gradle installed. Pretty neat!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e65f060ab535" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What I learned from OpticsPlanet]]></title>
            <link>https://medium.com/@bsadkhin/what-i-learned-from-opticsplanet-89adfd9c49c1?source=rss-77ddd9785ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/89adfd9c49c1</guid>
            <category><![CDATA[goodbye]]></category>
            <category><![CDATA[optics-planet]]></category>
            <dc:creator><![CDATA[Boris Sadkhin]]></dc:creator>
            <pubDate>Fri, 05 Jan 2018 00:16:45 GMT</pubDate>
            <atom:updated>2018-01-05T00:16:45.192Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Teaching and Learning</strong></p><p>I had the opportunity to interact with developers and teach them about different technologies, do code reviews and pair program with them. Then I got to experience the same with getting taught by more experienced developers. I learned about varnish, rabbitmq, kibana logging, and a whole lot of SQL and stored procedures. I got to learn about the interesting ways that PHPStorm integrates with Symfony and Dependency Injection Containers, as well as mastering the built in debugger. It was neat to see how OP also has their own coding standards file, and checkin time code linting. I enjoyed reading, learning about, and building web pages using Symfony, and interacting with the entities using Doctrine. I learned about the interesting quirks with doctrine, and about the excellent autocomplete functionality.</p><p><strong>Software Development and E-commerce, and Third Party Feeds.</strong></p><p>I learned about how to effectively use Jira, Confluence, Kanban Boards, Daily Standups and how to collaborate with non technical folks. I also learned about products, variants, skus, and their relationships. And after seeing the various interactions between products in the database, I grew to appreciate how complicated it is to create up your own content management system. I also gained experience sending products and advertisements to third party feeds like Amazon, Ebay and Google Shopping, as well as CSEs like NexTag, Avantlink and the EbayCommerceNetwork.</p><blockquote><strong>Work on the things you are afraid of.</strong></blockquote><p>I became a better programmer by working on a variety of different projects that often had little to do with each other, with different types of people from all levels of the company. I learned that if you want to be a good programmer, you must not be scared to dive into the unknown. In fact, work on the things you are afraid of.</p><p><strong>Interacting with the nicest people with awesome perks!</strong></p><p>My favorite perks at OP (besides the fun work projects) are the Yoga classes, massage chairs, coffee machines, rec room, flexible hours, comfortable office, fun activities and holiday cheer. The Shedd aquarium holiday gala was amazing.</p><p>While the perks were good, the people were even better:</p><p>Thank you Jim for the positive feedback which helped me grow and be excited to work on the various projects, Kendall for being super nice and funny, and a big thank you to the awesome folks in the business office. Thank you to the programmers that helped me and taught me. Thank you StoneCutters for your helpful feedback. Thank you HOOLI for your code reviews. Thank you Sergey, Pavel and Mark for making a great company and awesome software development department.</p><p>If I had the opportunity to work with OP again, I would do so in a heartbeat. I love that place!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89adfd9c49c1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Working with CSVs]]></title>
            <link>https://medium.com/@bsadkhin/working-with-csvs-50dbc7f363e3?source=rss-77ddd9785ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/50dbc7f363e3</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[csv]]></category>
            <category><![CDATA[standards]]></category>
            <dc:creator><![CDATA[Boris Sadkhin]]></dc:creator>
            <pubDate>Wed, 15 Nov 2017 19:05:51 GMT</pubDate>
            <atom:updated>2017-11-15T19:05:51.964Z</atom:updated>
            <content:encoded><![CDATA[<p>So I’ve often written <strong>Perl</strong> scripts to parse delimited files, and have written my own cleaning and filtering functions for each of the fields as needed. What I didn’t realize was that there is a standard that CSV parsing libraries should follow, and thus the revelation that I shouldn’t try to parse CSV’s on my own, and instead use a CSV parsing library (which I’ve been doing in python all along) for both <strong>READING </strong>and for <strong>GENERATING</strong> CSV files (which I’ve also been generating by hand)</p><p>Here’s the link to the specifications</p><p><a href="https://tools.ietf.org/html/rfc4180">https://tools.ietf.org/html/rfc4180</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50dbc7f363e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SQL Join Wizardry]]></title>
            <link>https://medium.com/@bsadkhin/sql-join-wizardry-a29899cc3b5d?source=rss-77ddd9785ae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/a29899cc3b5d</guid>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[join]]></category>
            <category><![CDATA[wizards]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Boris Sadkhin]]></dc:creator>
            <pubDate>Wed, 20 Sep 2017 21:52:06 GMT</pubDate>
            <atom:updated>2017-09-20T21:52:06.490Z</atom:updated>
            <content:encoded><![CDATA[<p>So at work I had to get a list of products. Then for each products, I wanted to collect its specifications from a different specifications database.. And those specifications are located in rows, not in columns</p><pre>What I want<br>+---------+--------+--------+<br>| Product | Gender | Color  |<br>+---------+--------+--------+<br>| Shirt   | Male   | Blue   |<br>| Shirt   | Male   | Green  |<br>| Shirt   | Female | Purple |<br>+---------+--------+--------+</pre><pre>Specifications Table<br>+---------------+-----------------+<br>| Specification | SpecificationID |<br>+---------------+-----------------+<br>| Gender        |           10001 |<br>| Color         |           10002 |<br>+---------------+-----------------+</pre><p>The solutions I thought of were</p><ol><li>to load the products I want, and then to query the database again for each product to get its specifications..</li><li>create a temporoary table of specifications, which contains the specifications for each product (HUUGE!)</li><li>Group_concat the specifications and then parse the string</li></ol><p>But a coworker suggested, why not use multiple joins:</p><pre>SELECT ProductID,spec1.value,spec2.value FROM</pre><pre>LEFT JOIN specifications spec1 ON<br>product.specificationID  =  specification.specificationID where spec1.specificationID = 10001<br>LEFT JOIN specifications spec2 ON<br>product.specificationID  =  specification.specificationID where spec2.specificationID = 10002</pre><p>I hadn’t thought of that.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a29899cc3b5d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>