<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Chris Moos's Blog - Latest Comments</title><link>http://chrismoos.disqus.com/</link><description></description><atom:link href="https://chrismoos.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 25 May 2020 01:47:54 -0000</lastBuildDate><item><title>Re: DN42 Peering | chrismoos.com</title><link>https://www.chrismoos.com/dn42-peering/#comment-4926590477</link><description>&lt;p&gt;Hey @Merlin Bussard ,&lt;/p&gt;&lt;p&gt;Send me an e-mail and I'll help you get an IPv6 only one setup.&lt;/p&gt;&lt;p&gt;Chris&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chrismoos</dc:creator><pubDate>Mon, 25 May 2020 01:47:54 -0000</pubDate></item><item><title>Re: DN42 Peering | chrismoos.com</title><link>https://www.chrismoos.com/dn42-peering/#comment-4924487889</link><description>&lt;p&gt;I cannot create a IPv6 only peering with your wizard via ssh :-(&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Merlin Bussard</dc:creator><pubDate>Sat, 23 May 2020 04:02:29 -0000</pubDate></item><item><title>Re: Zero Downtime Deployments in Kuberentes – Chris Moos – software engineer, hacker, AS203560 network operator</title><link>https://www.chrismoos.com/2016/09/28/zero-downtime-deployments-kubernetes/#comment-4257994377</link><description>&lt;p&gt;nice article!!!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abhishek Singh</dc:creator><pubDate>Thu, 27 Dec 2018 02:45:02 -0000</pubDate></item><item><title>Re: MySQL and partitioning tables with millions of rows – Chris Moos – software engineer, hacker, AS203560 network operator</title><link>https://www.chrismoos.com/2010/01/31/mysql-partitioning-tables-with-millions-of-rows/#comment-4091445964</link><description>&lt;p&gt;are you adding partitions manually every time device_id is crossing last partition limit?&lt;br&gt;or do you have any solution to alter the table partitions dynamically&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shubham Goyal</dc:creator><pubDate>Wed, 12 Sep 2018 10:21:30 -0000</pubDate></item><item><title>Re: Zero Downtime Deployments in Kuberentes – Chris Moos – software engineer, hacker, AS203560 network operator</title><link>https://www.chrismoos.com/2016/09/28/zero-downtime-deployments-kubernetes/#comment-3954123526</link><description>&lt;p&gt;Hi have you been able to fix the missing image issue?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Atheist Dick</dc:creator><pubDate>Thu, 21 Jun 2018 05:44:52 -0000</pubDate></item><item><title>Re: 
    Groovy scripts and JVM Security
  </title><link>https://www.chrismoos.com/2010/03/24/groovy-scripts-and-jvm-security/#comment-3943800715</link><description>&lt;p&gt;Wow... 8 years later!  I wonder if you're still interested in this?&lt;/p&gt;&lt;p&gt;I've got here because of this question on SO: &lt;a href="https://stackoverflow.com/questions/50825335/information-hiding-in-groovy-using-closures-naming-conventions" rel="nofollow noopener" target="_blank" title="https://stackoverflow.com/questions/50825335/information-hiding-in-groovy-using-closures-naming-conventions"&gt;https://stackoverflow.com/q...&lt;/a&gt; - so clearly I'm bothered about information-hiding and encapsulation rather than untrusted scripts&lt;/p&gt;&lt;p&gt;When I went $ groovy trusted.groovy I got:&lt;/p&gt;&lt;p&gt;mike@M17A ~/test $  groovy trusted.groovy&lt;br&gt;Checking to see if security manager is enabled...&lt;br&gt;Security manager not enabled, using default.&lt;br&gt;Caught: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "createClassLoader")&lt;br&gt;java.lang.reflect.InvocationTargetException&lt;br&gt;    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br&gt;    at sun.reflect.NativeMethodAccessorImpl.invoke(&lt;a href="http://NativeMethodAccessorImpl.java" rel="nofollow noopener" target="_blank" title="NativeMethodAccessorImpl.java"&gt;NativeMethodAccessorImpl.java&lt;/a&gt;:62)&lt;br&gt;    at sun.reflect.DelegatingMethodAccessorImpl.invoke(&lt;a href="http://DelegatingMethodAccessorImpl.java" rel="nofollow noopener" target="_blank" title="DelegatingMethodAccessorImpl.java"&gt;DelegatingMethodAccessorImp...&lt;/a&gt;:43)&lt;br&gt;    at java.lang.reflect.Method.invoke(&lt;a href="http://Method.java" rel="nofollow noopener" target="_blank" title="Method.java"&gt;Method.java&lt;/a&gt;:498)&lt;br&gt;    at org.codehaus.groovy.tools.GroovyStarter.rootLoader(&lt;a href="http://GroovyStarter.java" rel="nofollow noopener" target="_blank" title="GroovyStarter.java"&gt;GroovyStarter.java&lt;/a&gt;:116)&lt;br&gt;    at org.codehaus.groovy.tools.GroovyStarter.main(&lt;a href="http://GroovyStarter.java" rel="nofollow noopener" target="_blank" title="GroovyStarter.java"&gt;GroovyStarter.java&lt;/a&gt;:138)&lt;br&gt;Caused by: java.lang.ExceptionInInitializerError&lt;br&gt;    at &lt;a href="http://groovy.ui.GroovyMain.run" rel="nofollow noopener" target="_blank" title="groovy.ui.GroovyMain.run"&gt;groovy.ui.GroovyMain.run&lt;/a&gt;(&lt;a href="http://GroovyMain.java" rel="nofollow noopener" target="_blank" title="GroovyMain.java"&gt;GroovyMain.java&lt;/a&gt;:342)&lt;br&gt;    at groovy.ui.GroovyMain.process(&lt;a href="http://GroovyMain.java" rel="nofollow noopener" target="_blank" title="GroovyMain.java"&gt;GroovyMain.java&lt;/a&gt;:315)&lt;br&gt;    at groovy.ui.GroovyMain.processArgs(&lt;a href="http://GroovyMain.java" rel="nofollow noopener" target="_blank" title="GroovyMain.java"&gt;GroovyMain.java&lt;/a&gt;:134)&lt;br&gt;    at groovy.ui.GroovyMain.main(&lt;a href="http://GroovyMain.java" rel="nofollow noopener" target="_blank" title="GroovyMain.java"&gt;GroovyMain.java&lt;/a&gt;:114)&lt;br&gt;    ... 6 more&lt;br&gt;Caused by: java.security.AccessControlException: access denied ("java.util.logging.LoggingPermission" "control")&lt;br&gt;    at java.security.AccessControlContext.checkPermission(&lt;a href="http://AccessControlContext.java" rel="nofollow noopener" target="_blank" title="AccessControlContext.java"&gt;AccessControlContext.java&lt;/a&gt;:472)&lt;br&gt;    at java.security.AccessController.checkPermission(&lt;a href="http://AccessController.java" rel="nofollow noopener" target="_blank" title="AccessController.java"&gt;AccessController.java&lt;/a&gt;:884)&lt;br&gt;    at java.lang.SecurityManager.checkPermission(&lt;a href="http://SecurityManager.java" rel="nofollow noopener" target="_blank" title="SecurityManager.java"&gt;SecurityManager.java&lt;/a&gt;:549)&lt;br&gt;    at java.util.logging.LogManager.checkPermission(&lt;a href="http://LogManager.java" rel="nofollow noopener" target="_blank" title="LogManager.java"&gt;LogManager.java&lt;/a&gt;:1586)&lt;br&gt;    at java.util.logging.Logger.checkPermission(&lt;a href="http://Logger.java" rel="nofollow noopener" target="_blank" title="Logger.java"&gt;Logger.java&lt;/a&gt;:422)&lt;br&gt;    at java.util.logging.Logger.setUseParentHandlers(&lt;a href="http://Logger.java" rel="nofollow noopener" target="_blank" title="Logger.java"&gt;Logger.java&lt;/a&gt;:1799)&lt;br&gt;    at org.codehaus.groovy.runtime.StackTraceUtils.&amp;lt;clinit&amp;gt;(&lt;a href="http://StackTraceUtils.java" rel="nofollow noopener" target="_blank" title="StackTraceUtils.java"&gt;StackTraceUtils.java&lt;/a&gt;:56)&lt;br&gt;    ... 10 more&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike Rodent</dc:creator><pubDate>Thu, 14 Jun 2018 03:12:25 -0000</pubDate></item><item><title>Re: Zero Downtime Deployments in Kuberentes – Chris Moos – software engineer, hacker, AS203560 network operator</title><link>https://www.chrismoos.com/2016/09/28/zero-downtime-deployments-kubernetes/#comment-3934991041</link><description>&lt;p&gt;Thanks @yebyen, will take a look and fix that!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chrismoos</dc:creator><pubDate>Thu, 07 Jun 2018 18:09:37 -0000</pubDate></item><item><title>Re: Zero Downtime Deployments in Kuberentes – Chris Moos – software engineer, hacker, AS203560 network operator</title><link>https://www.chrismoos.com/2016/09/28/zero-downtime-deployments-kubernetes/#comment-3934840223</link><description>&lt;p&gt;In a deployment, is a spec for the pod or "pod template" – this is where readiness and liveness probes can be defined for deployments.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">yebyen</dc:creator><pubDate>Thu, 07 Jun 2018 16:16:06 -0000</pubDate></item><item><title>Re: Zero Downtime Deployments in Kuberentes – Chris Moos – software engineer, hacker, AS203560 network operator</title><link>https://www.chrismoos.com/2016/09/28/zero-downtime-deployments-kubernetes/#comment-3934445174</link><description>&lt;p&gt;Hello! This is a great article but you have a broken image reference in it! &lt;a href="https://www.chrismoos.com/images/zero-downtime-diagram.png" rel="nofollow noopener" target="_blank" title="https://www.chrismoos.com/images/zero-downtime-diagram.png"&gt;https://www.chrismoos.com/i...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Also, you are #5 on the front page of Google if searching for "kubernetes rolling update deployment health checks." Cheers! (even in spite of the fact that you've spelled it wrong as "Kuberentes" – LOL, and three times!)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">yebyen</dc:creator><pubDate>Thu, 07 Jun 2018 11:38:21 -0000</pubDate></item><item><title>Re: MySQL and partitioning tables with millions of rows – Chris Moos – software engineer, hacker, AS203560 network operator</title><link>https://www.chrismoos.com/2010/01/31/mysql-partitioning-tables-with-millions-of-rows/#comment-3885401153</link><description>&lt;p&gt;did you check explain query with between clause for device_id.. I guess it will use all partitions as you are using partition by hash&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mahen Nakar</dc:creator><pubDate>Fri, 04 May 2018 05:04:16 -0000</pubDate></item><item><title>Re: avr-os: Multitasking on Arduino – Chris Moos – software engineer, hacker, AS203560 network operator</title><link>https://www.chrismoos.com/2012/12/05/avr-os-multitasking-on-arduino/#comment-3799786957</link><description>&lt;p&gt;amazing.. thx bro..&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Irwan ayeah</dc:creator><pubDate>Mon, 12 Mar 2018 18:20:48 -0000</pubDate></item><item><title>Re: MySQL and partitioning tables with millions of rows – Chris Moos – software engineer, hacker, AS203560 network operator</title><link>https://www.chrismoos.com/2010/01/31/mysql-partitioning-tables-with-millions-of-rows/#comment-3663331375</link><description>&lt;p&gt;thanks for sharing&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gibranda</dc:creator><pubDate>Fri, 15 Dec 2017 02:17:24 -0000</pubDate></item><item><title>Re: MySQL and partitioning tables with millions of rows – Chris Moos – software engineer, hacker, AS203560 network operator</title><link>https://www.chrismoos.com/2010/01/31/mysql-partitioning-tables-with-millions-of-rows/#comment-3572643033</link><description>&lt;p&gt;hi man , thanks alot for this , if i user the partition column inside function like &lt;br&gt;select * from A1 where COALESCE(partition_column, 1) =1 &lt;br&gt;will that call the partition , or i should show the partition column explicitly &lt;br&gt;like &lt;br&gt;" select * from A1 where (partition_column=1 or partition_column is null)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">BANDER ALNASSER</dc:creator><pubDate>Wed, 18 Oct 2017 02:56:34 -0000</pubDate></item><item><title>Re: Death to JSON!</title><link>https://www.chrismoos.com/2017/09/15/death-to-json/#comment-3522543384</link><description>&lt;p&gt;标题党  Titler&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">HaloMaster</dc:creator><pubDate>Mon, 18 Sep 2017 00:40:08 -0000</pubDate></item><item><title>Re: Zero Downtime Deployments in Kuberentes – Chris Moos – software engineer, hacker, AS203560 network operator</title><link>https://www.chrismoos.com/2016/09/28/zero-downtime-deployments-kubernetes/#comment-3518617049</link><description>&lt;p&gt;Hi. I'm just wondering, is the readiness probe necessary for stopping kube to route the requests? According to this &lt;a href="https://kubernetes.io/docs/concepts/abstractions/pod-termination/" rel="nofollow noopener" target="_blank" title="https://kubernetes.io/docs/concepts/abstractions/pod-termination/"&gt;https://kubernetes.io/docs/...&lt;/a&gt; it says:&lt;/p&gt;&lt;p&gt;&amp;gt; 3. Kubernetes marks the Pod state as “Terminating” and stops sending traffic to the Pod.&lt;/p&gt;&lt;p&gt;Have you experienced that this is not actually the implemented behaviour?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lukáš Doležal</dc:creator><pubDate>Fri, 15 Sep 2017 07:52:15 -0000</pubDate></item><item><title>Re: Zero Downtime Deployments in Kuberentes – Chris Moos – software engineer, hacker, AS203560 network operator</title><link>https://www.chrismoos.com/2016/09/28/zero-downtime-deployments-kubernetes/#comment-3515147746</link><description>&lt;p&gt;readinessProbes are available in pod definitions. But if one is using "Deployments", how can one implement preventing new requests and draining of the existing resources ?&lt;br&gt;We are seeing few requests getting 404 during update, so its not looking like its being taken care automatically, hence the question.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Amith Kashyap</dc:creator><pubDate>Wed, 13 Sep 2017 04:42:00 -0000</pubDate></item><item><title>Re: Zero Downtime Deployments in Kuberentes – Chris Moos – software engineer, hacker, AS203560 network operator</title><link>https://www.chrismoos.com/2016/09/28/zero-downtime-deployments-kubernetes/#comment-3418242935</link><description>&lt;p&gt;Completely my bad, it looks like I have not read the docs correctly. Thanks for taking time to correct!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ahmet Alp Balkan</dc:creator><pubDate>Sat, 15 Jul 2017 13:30:49 -0000</pubDate></item><item><title>Re: Zero Downtime Deployments in Kuberentes – Chris Moos – software engineer, hacker, AS203560 network operator</title><link>https://www.chrismoos.com/2016/09/28/zero-downtime-deployments-kubernetes/#comment-3417287975</link><description>&lt;p&gt;Hi Ahmet,&lt;/p&gt;&lt;p&gt;The liveness and readiness probes are orthogonal -- liveness is used to determine if a container should be restarted, whereas a readiness probe is used to determine if a container should receive traffic (via ingress controller, LB, etc,.). Both readiness and liveness are probed continually when a pod is running, not just during startup.&lt;/p&gt;&lt;p&gt;In the above rolling update example, the readinessProbe is taken advantage of to willfully stop receiving requests and allowing existing connections to drain, prior to the container being killed.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chrismoos</dc:creator><pubDate>Fri, 14 Jul 2017 18:52:49 -0000</pubDate></item><item><title>Re: Zero Downtime Deployments in Kuberentes – Chris Moos – software engineer, hacker, AS203560 network operator</title><link>https://www.chrismoos.com/2016/09/28/zero-downtime-deployments-kubernetes/#comment-3417239843</link><description>&lt;p&gt;I think you meant to use livenessProbes instead of readinessProbes. When you're doing a rolling "update", it probably means you already have something running already. readinessProbes are used only the first time a pod starts to find out the traffic should be routed to that container. Once a readinessProbe succeeds, livenessProbe is used to determine health of the pod.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ahmet Alp Balkan</dc:creator><pubDate>Fri, 14 Jul 2017 18:12:53 -0000</pubDate></item><item><title>Re: 
    MySQL and partitioning tables with millions of rows
  </title><link>https://www.chrismoos.com/2010/01/31/mysql-partitioning-tables-with-millions-of-rows#comment-3344758068</link><description>&lt;p&gt;yes ,u have to&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Samuel Pillai</dc:creator><pubDate>Tue, 06 Jun 2017 12:49:05 -0000</pubDate></item><item><title>Re: 
    MySQL and partitioning tables with millions of rows
  </title><link>https://www.chrismoos.com/2010/01/31/mysql-partitioning-tables-with-millions-of-rows#comment-3319516714</link><description>&lt;p&gt;My memory is a bit fuzzy as this was a long time ago, but yes, ideally a combination of partitioning + indexes will give the best performance.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chrismoos</dc:creator><pubDate>Mon, 22 May 2017 17:20:17 -0000</pubDate></item><item><title>Re: 
    MySQL and partitioning tables with millions of rows
  </title><link>https://www.chrismoos.com/2010/01/31/mysql-partitioning-tables-with-millions-of-rows#comment-3308272554</link><description>&lt;p&gt;Well explained article. Thank you.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adarsh Mysore Thimmappa</dc:creator><pubDate>Tue, 16 May 2017 07:36:07 -0000</pubDate></item><item><title>Re: avr-os: Multitasking on Arduino – Chris Moos – software engineer, hacker, AS203560 network operator</title><link>https://www.chrismoos.com/2012/12/05/avr-os-multitasking-on-arduino/#comment-3250519463</link><description>&lt;p&gt;Welldone great job. i applied it and it is working.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olufemi</dc:creator><pubDate>Tue, 11 Apr 2017 06:01:42 -0000</pubDate></item><item><title>Re: 
    MySQL and partitioning tables with millions of rows
  </title><link>https://www.chrismoos.com/2010/01/31/mysql-partitioning-tables-with-millions-of-rows#comment-3228222168</link><description>&lt;p&gt;Did you try any indexes?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeff Kuchta</dc:creator><pubDate>Tue, 28 Mar 2017 16:08:51 -0000</pubDate></item><item><title>Re: 
    libactor - a C library based on the Actor model
  </title><link>https://www.chrismoos.com/2009/10/28/libactor-a-c-library-based-on-the-actor-model/#comment-3122807703</link><description>&lt;p&gt;Awesome! This something really good to see, and no setjmp/longjmp, simply put - great!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">IlianZapryanov</dc:creator><pubDate>Fri, 27 Jan 2017 06:23:26 -0000</pubDate></item></channel></rss>