<?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 Paddy3118</title><link>http://disqus.com/by/Paddy3118/</link><description></description><atom:link href="http://disqus.com/Paddy3118/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 24 Mar 2025 04:07:05 -0000</lastBuildDate><item><title>Re: Xiaomi CEO drops watermelon from 6th floor to demonstrate SU7 Ultra battery safety</title><link>https://carnewschina.com/2025/03/21/xiaomi-ceo-drops-watermelon-from-6th-floor-to-demonstrate-su7-ultra-battery-safety/#comment-6675630232</link><description>&lt;p&gt;They got some press coverage, which was the point - mind you, a car as fast as a Rivian for that price is the comparison that stuns me.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Mon, 24 Mar 2025 04:07:05 -0000</pubDate></item><item><title>Re: My first REST API work with Python</title><link>https://blog.networktocode.com/post/Basic-API-use-with-python/#comment-6169155745</link><description>&lt;p&gt;Useful :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Mon, 24 Apr 2023 08:31:37 -0000</pubDate></item><item><title>Re: What do Britons think of the current approach to drugs and addiction?</title><link>https://yougov.co.uk/topics/health/articles-reports/2022/08/11/what-do-britons-think-current-approach-drugs-and-a#comment-5945136731</link><description>&lt;p&gt;It seems reasonable to think that those with a mental illness might need medications that affect their mental state.  There are large numbers of mainly women,  suffering from Chronic Pain that could be helped by substances that,  because they are also criminalised as drugs,  their medicinal uses are curtailed.  This article doesn't help Brits in pain get alternatives to the killing opiods they currently use.  Pull your finger out and allow the import of marijuana based pain killers (from Jamaica?), rather than waiting for something a UK based drug company can patent!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Fri, 12 Aug 2022 01:13:27 -0000</pubDate></item><item><title>Re: "As a coding language, C++ appeals to the ego, not the intellect"</title><link>https://www.efinancialcareers.com/news/2022/02/c-coding-language-problems#comment-5718382914</link><description>&lt;p&gt;Not only is C++ bad, it seems to have spread its tentacles to inspire the Electronics industries SystemVerilog, and opaque verification methodologies.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Wed, 02 Feb 2022 02:43:00 -0000</pubDate></item><item><title>Re: Reverse actual bits of the given number</title><link>https://www.geeksforgeeks.org/reverse-actual-bits-given-number/#comment-5651761127</link><description>&lt;p&gt;You, yourself, assume 32 bits in the integer. You need more for handling arbitrary bit width.&lt;/p&gt;&lt;p&gt;In Python, ints are of arbitrary width so all that needed is to add a width argument to use in the loop.&lt;/p&gt;&lt;p&gt;Other languages, like C, might do the same, but use bit arrays of multiple words to allow arbitrary width ints.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Mon, 20 Dec 2021 04:59:27 -0000</pubDate></item><item><title>Re: R is better than Python. Try telling that to banks</title><link>https://www.efinancialcareers.com/news/2021/09/banks-python-vs-r#comment-5553661245</link><description>&lt;p&gt;Most serious data scientists DO NOT prefer R to Python from the linked article, and are you stating all banks choosing Python aren't serious?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Thu, 30 Sep 2021 03:08:45 -0000</pubDate></item><item><title>Re: Comments</title><link>http://www.geeksforgeeks.org/java-vs-python-which-one-should-i-learn/#comment-5134544101</link><description>&lt;blockquote&gt;&lt;br&gt;Python came into existence and publicly available in around 2000 &lt;br&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Yet I learnt Python in 1995 and I think it started years before that.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Mon, 02 Nov 2020 08:11:47 -0000</pubDate></item><item><title>Re: fastcore: An Underrated Python Library</title><link>https://www.kdnuggets.com/2020/10/fastcore-underrated-python-library.html#comment-5121238642</link><description>&lt;p&gt;Statements after the colon but missing a newline - why? It jars and it doesn't look as if you *need* to save a line.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Thu, 22 Oct 2020 21:43:17 -0000</pubDate></item><item><title>Re: The Spoon Theory written by Christine Miserandino</title><link>https://butyoudontlooksick.com/articles/written-by-christine/the-spoon-theory/#comment-5017380687</link><description>&lt;p&gt;A very useful analogy, thank you.&lt;br&gt;I wonder if similar thoughts would help those in "survival" situations - like breaking down in a wilderness or being trapped after an earthquake?&lt;br&gt;That describes great mental strength.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Tue, 04 Aug 2020 05:24:43 -0000</pubDate></item><item><title>Re: ASUS ROG claims gaming laptop market share crown</title><link>https://www.kitguru.net/channel/generaltech/matthew-wilson/asus-rog-claims-gaming-laptop-market-share-crown/#comment-4983382578</link><description>&lt;p&gt;My Zephyrus G14 with AMD arrives TOMORROW.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Tue, 07 Jul 2020 18:03:47 -0000</pubDate></item><item><title>Re: Lego's Art Range Lets You Build Portraits of Famous People</title><link>https://www.gizmodo.co.uk/2020/07/legos-art-range-lets-you-build-portraits-of-famous-people/#comment-4976500700</link><description>&lt;p&gt;Add Nina Simone, Bob Marley, Black Panther, deadpool and you'll get a sale.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Thu, 02 Jul 2020 04:58:20 -0000</pubDate></item><item><title>Re: Symlinks and hardlinks, move over, make room for... - Ram’s blog</title><link>https://blog.ram.rachum.com/post/620335081764077568#comment-4945598177</link><description>&lt;p&gt;I learned something more, thanks!&lt;br&gt;Got me thinking though...&lt;/p&gt;&lt;p&gt;Does it copy the whole file on write or only written blocks?&lt;br&gt;If only blocks then you could, for example, change a byte in a 1 gig file and only take up a few K for the difference; you might extend a gigabyte of reflinked file by a byte and only consume extra disk for the that byte (plus housekeeing). &lt;br&gt;This gets messy for reflinks of reflinks, and/or multi reflibked files I guess.&lt;/p&gt;&lt;p&gt;Thanks again :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Mon, 08 Jun 2020 07:47:26 -0000</pubDate></item><item><title>Re: The simplicity paradox - Loïc Knuchel 👨‍💻</title><link>http://localhost:4000/blog/2020/05/21/the-simplicity-paradox#comment-4926518950</link><description>&lt;p&gt;Oh, refactorings are great. I was thinking more of complex system design and requirements simplification.&lt;br&gt;On rewards, I've trained myself to think that a quiet release is the best release and trained managers to understand that Firefighting starts from a failure best avoided. Though I have extinguished others fires before : and made sure of due credit. 😏&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Sun, 24 May 2020 23:32:01 -0000</pubDate></item><item><title>Re: The simplicity paradox - Loïc Knuchel 👨‍💻</title><link>http://localhost:4000/blog/2020/05/21/the-simplicity-paradox#comment-4923277813</link><description>&lt;p&gt;Wow! you seem to code amongst enemies!&lt;br&gt;No, you can develop a simpler implementation first: You might try to ask what part needs to be delivered first, sometimes a customer is up and running well before many of the lesser parts are started, now alittle prompting on further costs and complexity can leave some customers with a working and simpler solution.&lt;/p&gt;&lt;p&gt;No, simpler solutions can be very rewarding. The buzz of a job well done? Shaker furniture? Zen gardens? Unfortunately, poor managers might pay by amount rather than quality, and coders might be tempted to start coding cutting time to understand/question their requirements.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Fri, 22 May 2020 05:57:45 -0000</pubDate></item><item><title>Re: The Singleton Design Pattern in Python</title><link>https://stackabuse.com/the-singleton-design-pattern-in-python/#comment-4870182676</link><description>&lt;p&gt;In Python we have the Borg patten.&lt;/p&gt;&lt;p&gt;&lt;a href="https://www.google.com/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;cad=rja&amp;amp;uact=8&amp;amp;ved=2ahUKEwjo4Nevu-DoAhUWQhUIHaofAXAQFjAAegQIAxAB&amp;amp;url=https%3A%2F%2Fwww.oreilly.com%2Flibrary%2Fview%2Fpython-cookbook%2F0596001673%2Fch05s23.html&amp;amp;usg=AOvVaw1dHeCHO6O5T-PnNn-5OrZO" rel="nofollow noopener" target="_blank" title="https://www.google.com/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;cad=rja&amp;amp;uact=8&amp;amp;ved=2ahUKEwjo4Nevu-DoAhUWQhUIHaofAXAQFjAAegQIAxAB&amp;amp;url=https%3A%2F%2Fwww.oreilly.com%2Flibrary%2Fview%2Fpython-cookbook%2F0596001673%2Fch05s23.html&amp;amp;usg=AOvVaw1dHeCHO6O5T-PnNn-5OrZO"&gt;"Avoiding the Singleton Design Pattern with the Borg Idiom ..."&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="https://www.google.com/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=2&amp;amp;cad=rja&amp;amp;uact=8&amp;amp;ved=2ahUKEwjo4Nevu-DoAhUWQhUIHaofAXAQFjABegQIARAB&amp;amp;url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1318406%2Fwhy-is-the-borg-pattern-better-than-the-singleton-pattern-in-python&amp;amp;usg=AOvVaw0PUsRPLc3T7DzDP5d08n33" rel="nofollow noopener" target="_blank" title="https://www.google.com/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=2&amp;amp;cad=rja&amp;amp;uact=8&amp;amp;ved=2ahUKEwjo4Nevu-DoAhUWQhUIHaofAXAQFjABegQIARAB&amp;amp;url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1318406%2Fwhy-is-the-borg-pattern-better-than-the-singleton-pattern-in-python&amp;amp;usg=AOvVaw0PUsRPLc3T7DzDP5d08n33"&gt;"Why is the Borg pattern better than the Singleton pattern in ..."&lt;/a&gt;&lt;/p&gt;&lt;p&gt;The Singleton patten isn't necessary.&lt;/p&gt;&lt;p&gt;Design patterns tend to work in the language they are developed for, indeed, some pattens would be non-idiomtic in other languages. You need to think carefully about idioms from other languages to see if they are necessary, or best implemented in a certain way, in other languages.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Sat, 11 Apr 2020 09:26:48 -0000</pubDate></item><item><title>Re: Rappers Are Wordsmiths, So Why Are They Often Mocked for the Way They Speak?</title><link>https://www.highsnobiety.com/p/rappers-vocabulary/#comment-4810468577</link><description>&lt;p&gt;Does Trump speak like you? Does Boris speak like you? Slang doesn't necessarily mean an inability to communicate - more who controls the use of the term.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Wed, 26 Feb 2020 03:59:18 -0000</pubDate></item><item><title>Re: 6 interesting features in programming languages</title><link>http://localhost:4000/6-interesting-features-programming-languages/#comment-4723168503</link><description>&lt;p&gt;In Python, we call them &lt;b&gt;list comprehensions.&lt;/b&gt; There are other types of comprehensions too, but nothing with the name "for comprehension" in Python  :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Fri, 13 Dec 2019 11:38:24 -0000</pubDate></item><item><title>Re: Complexity Waterfall</title><link>https://sobolevn.me/2019/10/complexity-waterfall#comment-4663769398</link><description>&lt;p&gt;You need to ne able to easily and accurately shut the darned things up!&lt;br&gt;Linters are an aid. As your coding skills improve there may be better reasons to adjust or drop a Linters rule. Here's one: you write a parser for data that has too long lines. You, as a matter of good maintenance, should include sections of expected data throughout, as samples of the data are the only spec for it that is given. If the data has long lines then your code will too.&lt;/p&gt;&lt;p&gt;Here's another case where you may want to limit the refactoring suggested by an automatic tool: diffs between successive versions can be large for little benefit, and having ruled against the Linters on one thing, how easy is it to not have that one thing clutter future reports?&lt;/p&gt;&lt;p&gt;And, of course, there's spec complexity: If the spec includes a high complexity expression, do you faithfully use as is, or do you simplify it. Some might argue the former.&lt;/p&gt;&lt;p&gt;I like Linters. They are useful, but one needs to understand their judgements, and, sometime after you first think you know better, you need to be able to shut them up.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Thu, 24 Oct 2019 01:21:27 -0000</pubDate></item><item><title>Re: Dear Huawei, Please stop sending huge EMUI updates for a security patch</title><link>https://www.huaweicentral.com/dear-huawei-please-stop-sending-huge-emui-updates-for-a-security-patch/#comment-4601817941</link><description>&lt;p&gt;It is not an issue for me. Keep them coming!&lt;br&gt;Most manufacturers skimp on updates or are slooow to update which is much worse.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Mon, 02 Sep 2019 22:48:43 -0000</pubDate></item><item><title>Re: Huawei Unveils its New Harmony OS so Google Can Shove Android Up its Butt – Eventually</title><link>https://www.gizmodo.co.uk/2019/08/huawei-unveils-its-new-harmony-os-so-google-can-shove-android-up-its-butt-eventually/#comment-4572083523</link><description>&lt;p&gt;I'd love to get a dual boot capability on current phones to try it out.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Fri, 09 Aug 2019 10:43:07 -0000</pubDate></item><item><title>Re: Hot Pavement is More Dangerous Than You Realise</title><link>https://www.gizmodo.co.uk/2019/07/hot-pavement-is-more-dangerous-than-you-realise/#comment-4560172535</link><description>&lt;p&gt;Real scientists using Fahrenheit?&lt;br&gt;Detracts from the credibility of your report.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Wed, 31 Jul 2019 01:49:50 -0000</pubDate></item><item><title>Re: Top new features in Python 3.8</title><link>https://blog.graphqleditor.com/top-new-features-python-38/#comment-4557647835</link><description>&lt;p&gt;&lt;code&gt;print(f'{input-output=}')&lt;/code&gt;&lt;br&gt;&lt;/p&gt;&lt;blockquote&gt;The result would now print a-b=50.&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;I hope not. Not with those variables in the print statement&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Mon, 29 Jul 2019 08:26:41 -0000</pubDate></item><item><title>Re: Top 10 British Things Americans Are Missing out on This Independence Day</title><link>https://www.gizmodo.co.uk/2019/07/top-10-british-things-americans-are-missing-out-on-this-independence-day/#comment-4529853713</link><description>&lt;p&gt;1. Football.&lt;br&gt;2. Al-u-min-i-um.&lt;br&gt;3. Cheese without a spray can.&lt;br&gt;4. Manners.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Sat, 06 Jul 2019 19:31:42 -0000</pubDate></item><item><title>Re: Flexible haptics patch senses pressure too</title><link>http://www.eenewseurope.com/news/flexible-haptics-patch-senses-pressure-too#comment-4509256733</link><description>&lt;p&gt;I wonder, would it allow more accurate and less bulky mobile blood pressure monitoring such as being integrated into a watch strap? There is an, (Omron I think), large watch with a bladder to apply pressure that works on the wrist and is quoted as being of similar accuracy as an upper-arm band measurer, but the bulk and price are large.&lt;/p&gt;&lt;p&gt;Other wrist sensors, such as a Xaomi give ridiculous readings.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Thu, 20 Jun 2019 06:52:08 -0000</pubDate></item><item><title>Re: Live Free or Dichotomize - Using AWK and R to parse 25tb</title><link>https://livefreeordichotomize.com/2019/06/04/using_awk_and_r_to_parse_25tb/#comment-4497149321</link><description>&lt;p&gt;Of course it isn't. Awk predates and inspired Perl.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paddy3118</dc:creator><pubDate>Mon, 10 Jun 2019 17:02:46 -0000</pubDate></item></channel></rss>