<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for akaihola</title><link>http://disqus.com/by/akaihola/</link><description></description><atom:link href="http://disqus.com/akaihola/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 04 Sep 2024 03:11:14 -0000</lastBuildDate><item><title>Re: Chocolatey Software | Poppler 0.89.0</title><link>https://community.chocolatey.org/packages/poppler#comment-6542270187</link><description>&lt;p&gt;I successfully installed Poppler but &lt;code&gt;pdfimages.exe&lt;/code&gt; doesn't seem to work. In Bash I get an error message, and in PowerShell &lt;code&gt;pdfimages&lt;/code&gt; just silently returns immediately without doing anything, regardless of what CLI options I provide:&lt;/p&gt;&lt;p&gt;&lt;code&gt;$ choco install poppler&lt;/code&gt;&lt;br&gt;&lt;code&gt;Chocolatey v2.2.2&lt;/code&gt;&lt;br&gt;&lt;code&gt;Installing the following packages:&lt;/code&gt;&lt;br&gt;&lt;code&gt;poppler&lt;/code&gt;&lt;br&gt;&lt;code&gt;By installing, you accept licenses for the packages.&lt;/code&gt;&lt;br&gt;&lt;code&gt;Progress: Downloading poppler 22.11.0.20240421... 100%&lt;br&gt;&lt;/code&gt;&lt;br&gt;&lt;code&gt;poppler v22.11.0.20240421 [Approved]&lt;/code&gt;&lt;br&gt;&lt;code&gt;poppler package files install completed. Performing other installation steps.&lt;/code&gt;&lt;br&gt;&lt;code&gt;Extracting 64-bit C:\ProgramData\chocolatey\lib\poppler\tools\poppler-22.11.0-ha6c1112_0.tar.bz2 to C:\ProgramData\chocolatey\lib\poppler\tools...&lt;/code&gt;&lt;br&gt;&lt;code&gt;C:\ProgramData\chocolatey\lib\poppler\tools&lt;/code&gt;&lt;br&gt;&lt;code&gt;Extracting 64-bit C:\ProgramData\chocolatey\lib\poppler\tools\poppler-22.11.0-ha6c1112_0.tar to C:\ProgramData\chocolatey\lib\poppler\tools...&lt;/code&gt;&lt;br&gt;&lt;code&gt;C:\ProgramData\chocolatey\lib\poppler\tools&lt;/code&gt;&lt;br&gt;&lt;code&gt; ShimGen has successfully created a shim for pdfattach.exe&lt;/code&gt;&lt;br&gt;&lt;code&gt; ShimGen has successfully created a shim for pdfdetach.exe&lt;/code&gt;&lt;br&gt;&lt;code&gt; ShimGen has successfully created a shim for pdffonts.exe&lt;/code&gt;&lt;br&gt;&lt;code&gt; ShimGen has successfully created a shim for pdfimages.exe&lt;/code&gt;&lt;br&gt;&lt;code&gt; ShimGen has successfully created a shim for pdfinfo.exe&lt;/code&gt;&lt;br&gt;&lt;code&gt; ShimGen has successfully created a shim for pdfseparate.exe&lt;/code&gt;&lt;br&gt;&lt;code&gt; ShimGen has successfully created a shim for pdftocairo.exe&lt;/code&gt;&lt;br&gt;&lt;code&gt; ShimGen has successfully created a shim for pdftohtml.exe&lt;/code&gt;&lt;br&gt;&lt;code&gt; ShimGen has successfully created a shim for pdftoppm.exe&lt;/code&gt;&lt;br&gt;&lt;code&gt; ShimGen has successfully created a shim for pdftops.exe&lt;/code&gt;&lt;br&gt;&lt;code&gt; ShimGen has successfully created a shim for pdftotext.exe&lt;/code&gt;&lt;br&gt;&lt;code&gt; ShimGen has successfully created a shim for pdfunite.exe&lt;/code&gt;&lt;br&gt;&lt;code&gt; The install of poppler was successful.&lt;/code&gt;&lt;br&gt;&lt;code&gt;  Software installed to 'C:\ProgramData\chocolatey\lib\poppler\tools'&lt;br&gt;&lt;/code&gt;&lt;br&gt;&lt;code&gt;Chocolatey installed 1/1 packages.&lt;/code&gt;&lt;br&gt;&lt;code&gt; See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).&lt;br&gt;&lt;/code&gt;&lt;br&gt;&lt;code&gt;$ pdfimages mydocument.pdf&lt;/code&gt;&lt;br&gt;&lt;code&gt;C:/ProgramData/chocolatey/bin/pdfimages.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory&lt;/code&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Wed, 04 Sep 2024 03:11:14 -0000</pubDate></item><item><title>Re: Black formats my code, and maybe it should format yours too</title><link>https://stummjr.org/post/use-a-code-formatter/#comment-5135170965</link><description>&lt;p&gt;You could also use &lt;a href="https://pypi.org/project/darker/" rel="nofollow noopener" target="_blank" title="https://pypi.org/project/darker/"&gt;Darker&lt;/a&gt; to run Black but only apply reformatting to lines which have been modified since the last commit (or e.g. relative to a given branch).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Mon, 02 Nov 2020 16:11:26 -0000</pubDate></item><item><title>Re: Gradually formatting your codebase with black :: roschegel — Rocio's blog about programming.</title><link>http://schegel.net/posts/gradually-formatting-your-codebase-with-black/#comment-5135168133</link><description>&lt;p&gt;To do the same but on a code block level instead of whole file level, you could use &lt;a href="https://github.com/akaihola/darker/" rel="nofollow noopener" target="_blank" title="https://github.com/akaihola/darker/"&gt;Darker&lt;/a&gt;. It runs Black but applies the changes only to lines which have been modified since the last commit, or e.g. relative to a given branch.&lt;/p&gt;&lt;p&gt;It's handy to bind Darker to a shortcut in the IDE. Then you can code without caring much about formatting, and just hit the shortcut to let Darker beautify just the lines you've touched.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Mon, 02 Nov 2020 16:09:26 -0000</pubDate></item><item><title>Re: How to remove eBook DRM with Calibre</title><link>https://www.thewindowsclub.com/remove-ebook-drm-with-calibre#comment-4925608939</link><description>&lt;p&gt;The current 6.7.0 release of DeDRM_tools is not compatible with Python 3, while at least Calibre from Ubuntu 20.04 repositories already runs on Python 3.&lt;/p&gt;&lt;p&gt;There is ongoing community work on fixing this, and as a work-around the plugin can be cloned from a GitHub branch and installed manually. On Linux, this can be done on the command line like this:&lt;/p&gt;&lt;p&gt;&lt;code&gt;git clone -b Python3 git@github.com:lalmeras/DeDRM_tools.git&lt;br&gt;cd DeDRM_tools&lt;br&gt;calibre-customize -b .&lt;/code&gt;&lt;/p&gt;&lt;p&gt;I'm not fluent in Windows, so in case the same problem exists or comes up there, maybe a friendly Windows expert can figure out a similar solution.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Sun, 24 May 2020 05:52:32 -0000</pubDate></item><item><title>Re: Suomen kielen ylin taso: palindromi - Kielikello</title><link>https://www.kielikello.fi/-/suomen-kielen-ylin-taso-palindromi#comment-4696280005</link><description>&lt;p&gt;Tuloillasi salli olut.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Wed, 20 Nov 2019 09:44:49 -0000</pubDate></item><item><title>Re: Podcast: oppiminen ja osaamisen kehittäminen itseohjautuvassa organisaatiossa</title><link>https://fraktio.fi/?p=6312#comment-4589905565</link><description>&lt;p&gt;Näköjään SoundCloudissa sisällön tekijän pitää erikseen kääntää syötteet päälle: &lt;a href="https://community.soundcloud.com/playlists-229933/how-do-i-find-the-rss-feed-of-a-podcast-6761727" rel="nofollow noopener" target="_blank" title="https://community.soundcloud.com/playlists-229933/how-do-i-find-the-rss-feed-of-a-podcast-6761727"&gt;https://community.soundclou...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Sat, 24 Aug 2019 05:57:03 -0000</pubDate></item><item><title>Re: Podcast: oppiminen ja osaamisen kehittäminen itseohjautuvassa organisaatiossa</title><link>https://fraktio.fi/?p=6312#comment-4589880714</link><description>&lt;p&gt;Moi,&lt;br&gt;Olisin tosi kiinnostunut kuuntelemaan podcastianne, mutta en löydä RSS-syötettä, jonka voisin tilata podcatcheriini. Käytän Androidissa AntennaPod-appia.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Sat, 24 Aug 2019 05:01:01 -0000</pubDate></item><item><title>Re: Alt+Tab sucks; here's a solution — Exploits of a Programmer | Vicky Chijwani</title><link>https://vickychijwani.me/blazing-fast-application-switching-in-linux/#comment-3512723470</link><description>&lt;p&gt;On GNOME/Wayland the only working solution I've found is the AppKeys extension. The development version supports customizing the hotkeys. See &lt;a href="https://github.com/franziskuskiefer/app-keys-gnome-shell-extension/issues/38" rel="nofollow noopener" target="_blank" title="https://github.com/franziskuskiefer/app-keys-gnome-shell-extension/issues/38"&gt;https://github.com/franzisk...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Mon, 11 Sep 2017 15:56:09 -0000</pubDate></item><item><title>Re: Asus UX303 in Linux: Part 2 - Trackpad</title><link>http://robinbetz.com/blog/2015/08/26/asus-ux303-in-linux-part-2-trackpad/#comment-2996802613</link><description>&lt;p&gt;I get:&lt;/p&gt;&lt;p&gt;    Couldn't find synaptics properties. No synaptics driver loaded?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Fri, 11 Nov 2016 07:07:43 -0000</pubDate></item><item><title>Re: Self-Hosted Cloud Storage Comparison - 2014 Edition</title><link>http://blog.patshead.com/2014/09/self-hosted-cloud-storage-comparison-2014-edition.html#comment-2120972563</link><description>&lt;p&gt;This was an excellent review, thanks!&lt;/p&gt;&lt;p&gt;I contributed a link to this review on the &lt;a href="https://github.com/syncany/syncany/wiki/Comparison:-Syncany-vs.-X" rel="nofollow noopener" target="_blank" title="https://github.com/syncany/syncany/wiki/Comparison:-Syncany-vs.-X"&gt;Syncany  vs. X&lt;/a&gt; page on the Syncany wiki. I think it's good to cross-link similar comparisons. Maybe a section with such links would be good for you next edition?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Tue, 07 Jul 2015 03:07:30 -0000</pubDate></item><item><title>Re: Configuring Colors and Fonts</title><link>http://www.jetbrains.com/pycharm/webhelp/configuring-colors-and-fonts.html#comment-2073220069</link><description>&lt;p&gt;I found an answer to changing the Run tool window font size in YouTrack issue &lt;a href="https://youtrack.jetbrains.com/issue/PY-14569" rel="nofollow noopener" target="_blank" title="https://youtrack.jetbrains.com/issue/PY-14569"&gt;PY-14569&lt;/a&gt;:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;Have you tried changing Settings | Editor | Colors &amp;amp; Fonts | Console Font?&lt;br&gt;&lt;/blockquote&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Thu, 11 Jun 2015 02:34:33 -0000</pubDate></item><item><title>Re: Type Hinting in PyCharm</title><link>http://www.jetbrains.com/pycharm/webhelp/type-hinting-in-pycharm.html#comment-2045628525</link><description>&lt;p&gt;Are you going to support PEP-484 syntax in Python 2.7 docstrings in the future? There seems to be a &lt;a href="https://github.com/JukkaL/typing/tree/master/python2" rel="nofollow noopener" target="_blank" title="https://github.com/JukkaL/typing/tree/master/python2"&gt;Python 2 version of the typing library&lt;/a&gt; from the mypy project.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Tue, 26 May 2015 05:44:57 -0000</pubDate></item><item><title>Re: Reactive/dataflow programming in Python, part 1</title><link>http://eniramltd.github.io/devblog/2014/10/24/reactive_dataflow_programming_in_python_part_1.html#comment-1701056640</link><description>&lt;p&gt;FYI, part 2 of our series is now online, but it doesn't yet include details on our DSL – that will come up at a later part.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Wed, 19 Nov 2014 04:40:46 -0000</pubDate></item><item><title>Re: Reactive/dataflow programming in Python, part 1</title><link>http://eniramltd.github.io/devblog/2014/10/24/reactive_dataflow_programming_in_python_part_1.html#comment-1679163678</link><description>&lt;p&gt;Jon, we were actually contacted directly by Henri Bergius, and his proposal was to look at implementing the FBP protocol in Lusmu to make it interoperable. I've experimented with the Flowhub GUI and looked at the protocol, and they are indeed an interesting piece of technology!&lt;/p&gt;&lt;p&gt;Looking at your graph definition DSL, it feels more "programming oriented" than the Eniram graph DSL which I'll introduce in this blog during the next two weeks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Thu, 06 Nov 2014 01:57:08 -0000</pubDate></item><item><title>Re: Reactive/dataflow programming in Python, part 1</title><link>http://eniramltd.github.io/devblog/2014/10/24/reactive_dataflow_programming_in_python_part_1.html#comment-1675800206</link><description>&lt;p&gt;Yes, we do have a DSL based on the .ini configuration file format. We also have some ideas but no concrete plans for visual editing.&lt;/p&gt;&lt;p&gt;Stay tuned for more information about the DSL in upcoming parts of this series.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Tue, 04 Nov 2014 09:20:05 -0000</pubDate></item><item><title>Re: Changing Django cache backend between test cases</title><link>http://www.2general.com/blog/2012/08/09/changing_django_cache_backend_between_test_cases.html#comment-615314493</link><description>&lt;p&gt;Diederik,&lt;/p&gt;&lt;p&gt;Thanks for the idea! It sounds indeed like a cleaner approach than mocking. The custom backend could also take care of clearing the cache between tests.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Fri, 10 Aug 2012 02:54:25 -0000</pubDate></item><item><title>Re: Making sure South migrations get run when using Django&amp;#8217;s create_test_db()</title><link>http://blogs.terrorware.com/geoff/2012/03/05/making-sure-south-migrations-get-run-when-using-djangos-create_test_db/#comment-607278818</link><description>&lt;p&gt;Thanks, this saved my day! I wonder why this doesn't work in @before.harvest?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Thu, 02 Aug 2012 04:25:41 -0000</pubDate></item><item><title>Re: Extending Django Settings for the Real World</title><link>http://tech.yipit.com/2011/11/02/django-settings-what-to-do-about-settings-py/#comment-370653803</link><description>&lt;p&gt;There's a collection of recipes for managing Django settings in the Django wiki:&lt;br&gt;&lt;a href="https://code.djangoproject.com/wiki/SplitSettings" rel="nofollow noopener" target="_blank" title="https://code.djangoproject.com/wiki/SplitSettings"&gt;https://code.djangoproject....&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Yipit's method would be a good addition to that page, wouldn't it?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Wed, 23 Nov 2011 02:20:21 -0000</pubDate></item><item><title>Re: Pep8 and pyflakes in emacs &amp;#8212; Reinout van Rees' website</title><link>http://reinout.vanrees.org/weblog/2010/05/11/pep8-pyflakes-emacs.html#comment-50434967</link><description>&lt;p&gt;See also &lt;a href="http://github.com/akaihola/flymake-python" rel="nofollow noopener" target="_blank" title="http://github.com/akaihola/flymake-python"&gt;http://github.com/akaihola/flymake-python&lt;/a&gt;&lt;br&gt;&lt;br&gt;Highlights:&lt;br&gt;&lt;br&gt;- runs pyflakes, pylint, pychecker, pep8 and/or unit tests (nose, too)&lt;br&gt;- can run a different subset of checks depending on what triggered the check (edit/save/forced)&lt;br&gt;- supports virtualenvs&lt;br&gt;- settings customizable per subdirectory in the source tree (good for minimizing check time, e.g. limit scope of unit tests)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Fri, 14 May 2010 23:59:30 -0000</pubDate></item><item><title>Re: HOWTO build your own open source Dropbox clone</title><link>http://fak3r.com/2009/09/14/howto-build-your-own-open-source-dropbox-clone/#comment-25669946</link><description>&lt;p&gt;A few notes:&lt;/p&gt;&lt;p&gt;- Unison provides two-way synchronization and has both a command-line and a GTK user interface&lt;/p&gt;&lt;p&gt;- there are issues with rsync on Cygwin; it's difficult to find exact versions which work flawlessly&lt;/p&gt;&lt;p&gt;- git won't be good for very large datasets&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Sun, 13 Dec 2009 17:01:26 -0000</pubDate></item><item><title>Re: virtualenvwrapper - virtualenvwrapper</title><link>https://disqus.com/home/discussion/doughellmann/virtualenvwrapper_virtualenvwrapper/#comment-22904541</link><description>&lt;p&gt;The documentation on this page could mention that the $WORKON_HOME directory must be created before sourcing .bashrc.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Fri, 13 Nov 2009 10:31:45 -0000</pubDate></item><item><title>Re: How to download photos from phone over bluetooth with ubuntu</title><link>http://blog.tplus1.com/blog/2009/10/03/how-to-download-photos-from-phone-over-bluetooth-with-ubuntu/#comment-21646663</link><description>&lt;p&gt;No problems as I haven't tried out the code yet. When skimming through the code I just noticed an "output.split('n')" which doesn't make sense on line 41.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Mon, 02 Nov 2009 02:53:29 -0000</pubDate></item><item><title>Re: How to download photos from phone over bluetooth with ubuntu</title><link>http://blog.tplus1.com/blog/2009/10/03/how-to-download-photos-from-phone-over-bluetooth-with-ubuntu/#comment-21521127</link><description>&lt;p&gt;Backslashes missing from source code?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Sun, 01 Nov 2009 08:20:06 -0000</pubDate></item><item><title>Re: git ready &amp;raquo; cleaning up untracked files</title><link>http://gitready.com/beginner/2009/01/16/cleaning-up-untracked-files.html#comment-7895396</link><description>&lt;p&gt;To copy untracked files into a separate directory outside the git repository before cleaning up, use&lt;/p&gt;&lt;p&gt;&lt;code&gt;    $ git ls-files --others --exclude-standard -z | cpio -pmd0 ../untracked-backup/&lt;/code&gt;&lt;/p&gt;&lt;p&gt;Options used:&lt;br&gt;--others lists untracked files&lt;br&gt;--exclude-standard uses .gitignore and the default git excludes&lt;br&gt;-z null-delimited output&lt;br&gt;-p pass-through (=copy)&lt;br&gt;-m preserve modification times&lt;br&gt;-d create missing directories&lt;br&gt;-0 null-delimited input&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Mon, 06 Apr 2009 02:50:31 -0000</pubDate></item><item><title>Re: Brian Beck's Text Adventure - The state of Python profilers in two words</title><link>http://blog.brianbeck.com/post/22199891#comment-183296</link><description>&lt;p&gt;And to view cProfile results in KCacheGrind, use &lt;a href="http://www.gnome.org/~johan/lsprofcalltree.py" rel="nofollow noopener" target="_blank" title="http://www.gnome.org/~johan/lsprofcalltree.py"&gt;http://www.gnome.org/~johan...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akaihola</dc:creator><pubDate>Wed, 27 Feb 2008 06:24:58 -0000</pubDate></item></channel></rss>