<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Friends of michiels</title><link>https://disqus.com/by/michiels/</link><description></description><atom:link href="https://disqus.com/michiels/friends.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 05 Jan 2022 10:07:25 -0000</lastBuildDate><item><title>Re: 3 Things I&amp;#8217;ve Learned To Recruit Great Hackers</title><link>(u'http://www.currentlyobsessed.com/2010/04/09/3-things-ive-learned-to-recruit-great-hackers/',%2044055687L)#comment-44055687</link><description>&lt;p&gt;never apologize for short posts&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Fri, 09 Apr 2010 14:40:27 -0000</pubDate></item><item><title>Re: 3 Things I&amp;#8217;ve Learned To Recruit Great Hackers</title><link>(u'http://www.currentlyobsessed.com/2010/04/09/3-things-ive-learned-to-recruit-great-hackers/',%2044055852L)#comment-44055852</link><description>&lt;p&gt;don't ever apologize for  a short post&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Fri, 09 Apr 2010 14:40:55 -0000</pubDate></item><item><title>Re: Brandon Dimcheff - Commit a linear git history to subversion</title><link>(u'http://brandon.dimcheff.com/2009/01/04/commit-a-linear-git-history-to-subversion.html',%20275264875L)#comment-275264875</link><description>&lt;p&gt;yes, you need to make it more explicit; just use the SHAs to eliminate confusion.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Tue, 02 Aug 2011 18:04:22 -0000</pubDate></item><item><title>Re: Infographic: What Tools Developers Actually Use</title><link>(u'http://www.readwriteweb.com/hack/2011/12/infographic-what-tools-develop.php',%20382853847L)#comment-382853847</link><description>&lt;p&gt;Yeah this is for bleeding-edge tech people, not for all of us morts, which make up a vast majority of the industry.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Fri, 09 Dec 2011 10:07:21 -0000</pubDate></item><item><title>Re: Composite Views: Tree Structures, Tables, And More</title><link>(u'https://lostechies.com/derickbailey/2012/04/05/composite-views-tree-structures-tables-and-more/',%20507194352L)#comment-507194352</link><description>&lt;p&gt;Do you realize that the tree you construct as your first example has a ul wrapped around every single li (even siblings)?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Mon, 23 Apr 2012 16:25:06 -0000</pubDate></item><item><title>Re: Composite Views: Tree Structures, Tables, And More</title><link>(u'https://lostechies.com/derickbailey/2012/04/05/composite-views-tree-structures-tables-and-more/',%20508025955L)#comment-508025955</link><description>&lt;p&gt;Could you explain why you use&lt;br&gt;this.unset("nodes"); &lt;br&gt;after setting&lt;br&gt;this.nodes&lt;br&gt;to a TreeNodeCollection &lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Tue, 24 Apr 2012 13:18:18 -0000</pubDate></item><item><title>Re: Backbone.Syphon: Serialize Form Inputs To JavaScript Objects</title><link>(u'https://lostechies.com/derickbailey/2012/05/17/backbone-syphon-serialize-form-inputs-to-javascript-objects/',%20545923899L)#comment-545923899</link><description>&lt;p&gt;Totally get you on avoiding databinding.  Way too Webforms-y if you ask me.  This approach seems more elegant.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Sat, 02 Jun 2012 17:03:45 -0000</pubDate></item><item><title>Re: 
iPad publishing on the web with jQuery PageSwipe

Jun 15

</title><link>(u'http://blog.firmhouse.com/ipad-publishing-on-the-web-with-jquery-pageswipe',%20559576112L)#comment-559576112</link><description>&lt;p&gt;Looks pretty awesome.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Sat, 16 Jun 2012 07:46:06 -0000</pubDate></item><item><title>Re: Monitoring Things with collectd</title><link>(u'http://hackerific.net/2012/02/27/monitoring-things-with-collectd/',%20559607045L)#comment-559607045</link><description>&lt;p&gt;This article was perfect for me, in that it answered my original question: is there a monitoring package that doesn't require me to make a portable machine essentially internet-accessible?  Yes.  Awesome.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Sat, 16 Jun 2012 08:20:00 -0000</pubDate></item><item><title>Re: What This Higgs Boson Thing Really Means</title><link>(u'http://www.theatlantic.com/national/archive/2012/07/what-this-higgs-boson-thing-really-means/259438/',%20577612422L)#comment-577612422</link><description>&lt;p&gt;What a waste of time.  I was expecting implications, not acquiescence.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Thu, 05 Jul 2012 21:31:48 -0000</pubDate></item><item><title>Re: How hackers will jailbreak the iPhone 5</title><link>(u'http://www.extremetech.com/computing/136435-how-hackers-will-jailbreak-the-iphone-5',%20656815082L)#comment-656815082</link><description>&lt;p&gt;s/hack/crack/g&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Thu, 20 Sep 2012 13:26:11 -0000</pubDate></item><item><title>Re: http://ruby-doc.org/stdlib-1.9.3/libdoc/minitest/mock/rdoc/MiniTest/Mock.html</title><link>(u'http://ruby-doc.org/stdlib-1.9.3/libdoc/minitest/mock/rdoc/MiniTest/Mock.html',%20678737747L)#comment-678737747</link><description>&lt;p&gt;Please show the instantiation of the @mock, and describe whether or not it can be used to mock class methods.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Wed, 10 Oct 2012 22:37:10 -0000</pubDate></item><item><title>Re: Gemify Assets for Rails - Prioritized.net</title><link>(u'http://prioritized.net/blog/gemify-assets-for-rails/',%20716030280L)#comment-716030280</link><description>&lt;p&gt;::Rails::Engine   should be Rails::Engine&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Wed, 21 Nov 2012 13:30:45 -0000</pubDate></item><item><title>Re: Google Revenues Sheltered in No-Tax Bermuda Soar to $10 Billion</title><link>(u'http://www.bloomberg.com/news/2012-12-10/google-revenues-sheltered-in-no-tax-bermuda-soar-to-10-billion.html',%20732366826L)#comment-732366826</link><description>&lt;p&gt;So much for "Don't be Evil..."&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Mon, 10 Dec 2012 10:31:44 -0000</pubDate></item><item><title>Re: Google Revenues Sheltered in No-Tax Bermuda Soar to $10 Billion</title><link>(u'http://www.bloomberg.com/news/2012-12-10/google-revenues-sheltered-in-no-tax-bermuda-soar-to-10-billion.html',%20732368978L)#comment-732368978</link><description>&lt;p&gt;TROLOLOLOLOLOLOLOLOLOLOLOL&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Mon, 10 Dec 2012 10:33:57 -0000</pubDate></item><item><title>Re: Parse Postgresql Queries In Ruby - pganalyze blog</title><link>(u'https://pganalyze.com/blog/parse-postgresql-queries-in-ruby.html',%202241744645L)#comment-2241744645</link><description>&lt;p&gt;What an ingenious way of doing proper tokenization, versus relying on regexes to programmatically inspect SQL queries!  Wish I'd thought of it...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Mon, 07 Sep 2015 21:57:12 -0000</pubDate></item><item><title>Re: How to use webpack with Rails | clarkdave.net</title><link>(u'http://clarkdave.net/2015/01/how-to-use-webpack-with-rails/',%202250318816L)#comment-2250318816</link><description>&lt;p&gt;Awesome tutorial.  I ran into the following problems with a brand new project (rails 4.2 - &lt;a href="https://github.com/hoffmanc/dnb_pomodoro" rel="nofollow noopener" target="_blank" title="https://github.com/hoffmanc/dnb_pomodoro"&gt;https://github.com/hoffmanc...&lt;/a&gt; ):&lt;br&gt;1) needed to add bundle.js to precompiled assets in the assets initializer&lt;br&gt;2) application.js has a default require_tree directive that, when combined with the script tag from the tutorial, will execute the entry.js code twice&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Sat, 12 Sep 2015 15:58:35 -0000</pubDate></item><item><title>Re: How to get from theyâ€™re to they’re - Weissblog</title><link>(u'http://www.justinweiss.com/articles/how-to-get-from-theyre-to-theyre/',%202272921882L)#comment-2272921882</link><description>&lt;p&gt;I like using iconv to force these multi-byte chars into simpler chars whenever possible, so that there is only one type of e.g., single quote:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre&gt;&lt;code&gt;&lt;br&gt;[1] pry(main)&amp;gt; require 'iconv'&lt;br&gt;=&amp;gt; true&lt;br&gt;[2] pry(main)&amp;gt; Iconv.iconv("US-ASCII//TRANSLIT","UTF-8","They’re")&lt;br&gt;=&amp;gt; ["They're"]&lt;br&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Beyond satisfying my OCD, I have found that making semantically equal strings syntactically equivalent can save a lot of pain down the road.  For example, when doing an ad-hoc SQL query against a string column, one needn't account for different versions of certain characters. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Thu, 24 Sep 2015 21:21:40 -0000</pubDate></item><item><title>Re: Webhooks integration guide</title><link>(u'http://www.olark.com/help/webhooks.html',%202342959987L)#comment-2342959987</link><description>&lt;p&gt;FYI typo on the offline message JSON (missing comma after group name), and trailing comma after group kind&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Wed, 04 Nov 2015 14:46:06 -0000</pubDate></item><item><title>Re: Five Capybara Hacks to Make Your Testing Experience Less Painful - Quick Left Boulder Colorado</title><link>(u'http://quickleft.com/blog/five-capybara-hacks-to-make-your-testing-experience-less-painful',%202882340951L)#comment-2882340951</link><description>&lt;p&gt;Agreed - as an enhancement, install the `launchy` gem, and modify the code block as follows:&lt;/p&gt;&lt;p&gt;%x{launchy #{current_url}}&lt;br&gt;require 'pry'; binding.pry&lt;/p&gt;&lt;p&gt;This should open up a new tab in an existing browser session.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Thu, 08 Sep 2016 07:28:48 -0000</pubDate></item><item><title>Re: 
          Ruby exceptions are 4400 times faster than ActiveRecord::Base#create
        </title><link>(u'http://blog.arkency.com/2016/11/ruby-exceptions-are-4400-times-faster-than-activerecord-base-number-create/',%202995904898L)#comment-2995904898</link><description>&lt;p&gt;I don't use exceptions because they largely harm readability IMHO, rather than for performance concerns.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Thu, 10 Nov 2016 16:29:26 -0000</pubDate></item><item><title>Re: 
          Ruby exceptions are 4400 times faster than ActiveRecord::Base#create
        </title><link>(u'http://blog.arkency.com/2016/11/ruby-exceptions-are-4400-times-faster-than-activerecord-base-number-create/',%202995931743L)#comment-2995931743</link><description>&lt;p&gt;I do like raising ActiveRecord::NotFound manually if a found record is e.g., not accessible to a user - similar to how Github yields a 404 if someone doesn't have access to a project - security through obfuscation.&lt;/p&gt;&lt;p&gt;However, rescuing from that same exception to create a new record is in poor form.  Better to simply do a MyModel.find_or_create_by some_attr: params[:some_attr]&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Thu, 10 Nov 2016 16:43:46 -0000</pubDate></item><item><title>Re: i3wm brightness control on T480s</title><link>(u'https://ivan.reallusiondesign.com/i3wm-brightness-control-on-t480s/',%204984157029L)#comment-4984157029</link><description>&lt;p&gt;thank you!  just what I needed.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Wed, 08 Jul 2020 10:54:08 -0000</pubDate></item><item><title>Re: i3wm brightness control on T480s</title><link>(u'https://ivan.reallusiondesign.com/i3wm-brightness-control-on-t480s/',%204984191298L)#comment-4984191298</link><description>&lt;p&gt;my version of the script:&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;br&gt;#!/bin/bash                                                                          &lt;br&gt;                                                                                     &lt;br&gt;current_brightness=`cat /sys/class/backlight/intel_backlight/brightness`             &lt;br&gt;max_brightness=`cat /sys/class/backlight/intel_backlight/max_brightness`             &lt;br&gt;                                                                                     &lt;br&gt;if [ $1 == "up" ]                                                                    &lt;br&gt;then                                                                                 &lt;br&gt;        new_brightness=$(($current_brightness + 100))                                &lt;br&gt;        [ $new_brightness -gt $max_brightness ] &amp;amp;&amp;amp; new_brightness=$max_brightness    &lt;br&gt;else                                                                                 &lt;br&gt;        new_brightness=$(($current_brightness - 100))                                &lt;br&gt;        [ $new_brightness -lt 0 ] &amp;amp;&amp;amp; new_brightness=0                                &lt;br&gt;fi                                                                                   &lt;br&gt;                                                                                     &lt;br&gt;echo $new_brightness &amp;gt; /sys/class/backlight/intel_backlight/brightness&lt;br&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;Also - needed to remove some existing event configs to get it working as they were "exit 0" and I assume halting the event chain?  `asus-keyboard-backlight-down/up`.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Wed, 08 Jul 2020 11:21:00 -0000</pubDate></item><item><title>Re: gcloud on Python 3.10:  module &amp;#8216;collections&amp;#8217; has no attribute &amp;#8216;Mapping&amp;#8217;</title><link>(u'https://gehrcke.de/2021/11/gcloud-on-python-3-10-module-collections-has-no-attribute-mapping/',%205675532350L)#comment-5675532350</link><description>&lt;p&gt;Thank you - smart solution.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hoffmanc707</dc:creator><pubDate>Wed, 05 Jan 2022 10:07:25 -0000</pubDate></item></channel></rss>