<?xml version='1.0' encoding='utf-8' ?>

<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>Matthew&apos;s Journal</title>
  <link>https://emperor.dreamwidth.org/</link>
  <description>Matthew&apos;s Journal - Dreamwidth Studios</description>
  <lastBuildDate>Wed, 02 Aug 2023 09:39:32 GMT</lastBuildDate>
  <generator>LiveJournal / Dreamwidth Studios</generator>
  <lj:journal>emperor</lj:journal>
  <lj:journaltype>personal</lj:journaltype>
  <image>
    <url>https://v2.dreamwidth.org/34327/59046</url>
    <title>Matthew&apos;s Journal</title>
    <link>https://emperor.dreamwidth.org/</link>
    <width>84</width>
    <height>96</height>
  </image>

<item>
  <guid isPermaLink='true'>https://emperor.dreamwidth.org/809813.html</guid>
  <pubDate>Wed, 02 Aug 2023 09:39:32 GMT</pubDate>
  <title>Do Not Disturb settings on Android aren&apos;t flexible enough</title>
  <link>https://emperor.dreamwidth.org/809813.html</link>
  <description>My first Android device was a Samsung Galaxy S2, back in 2012. If I remember rightly, the do not disturb setting was quite flexible - you selected it from the drop-down and then could set things like vibrate / alarms only / priority contacts only / absolute silence all from that bit of UI (which matches reasonably well with &lt;a href=&quot;https://support.google.com/android/answer/9069335?hl=en-GB#older_android_version&amp;amp;zippy=%2Cpick-which-interruptions-to-allow&quot;&gt;the official docs for Android &amp;lt;=8.1&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://support.google.com/android/answer/9069335?hl=en-GB#zippy=&quot;&gt;Nowadays&lt;/a&gt;[0], the only thing you can do immediately is turn Do Not Disturb on and control how long it&apos;ll be on for (until you turn off / for X hours / until alarm time (if one is currently set)). Sure, you can long-press and end up in the relevant bit of settings, but that&apos;s a relatively unfriendly UI, and it sets how DND behaves until you go poking through the settings UI again.&lt;br /&gt;&lt;br /&gt;I want something more like the old behaviour (and I don&apos;t think I&apos;m just being neophobic) - particularly, I want it to be easy to do things like: &quot;I&apos;m going to bed, only let priority contacts / repeat callers disturb me&quot; and &quot;I&apos;m at choir, I want absolute silence no matter what&quot; and &quot;Vibrations only&quot; from the main screen (or, ideally, the lock screen). I also want it to be obvious/easy to see what DND is going to do (so I don&apos;t accidentally enable the wrong sort of DND when turning it on).&lt;br /&gt;&lt;br /&gt;Is there some tool to do this that I&apos;m missing? It&apos;s not even clear if this sort of setting-tweaking can be done from an app (I can&apos;t immediately find a flutter package to do so, for example)...&lt;br /&gt;&lt;br /&gt;[0] I think the switch may have been when I got my FP2, but it might have been a software update instead&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=emperor&amp;ditemid=809813&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://emperor.dreamwidth.org/809813.html</comments>
  <category>android</category>
  <lj:security>public</lj:security>
  <lj:reply-count>2</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>https://emperor.dreamwidth.org/754393.html</guid>
  <pubDate>Mon, 10 May 2021 14:37:52 GMT</pubDate>
  <title>Slightly more general dealing sheets; Android again</title>
  <link>https://emperor.dreamwidth.org/754393.html</link>
  <description>Shuffling is not the most interesting part of card games, and folk are often not that good at it; you get more interesting bridge hands if a computer shuffles, for example. Also, I&apos;ve been looking at playing cards that are more suitable for outdoor use, and they tend to be less easy to shuffle. Which has got me thinking about dealing sheets again (and thus Android apps).&lt;br /&gt;&lt;br /&gt;When playing bridge in person (such a long time ago now!) I&apos;ve been dealing off &lt;a href=&quot;https://www.distorted.org.uk/ucgi/~mdw/deal&quot;&gt;a friend&apos;s handy web dealing sheets&lt;/a&gt; - each number tells you which pile to put the card onto, and you end up with a properly-random bridge deal.&lt;br /&gt;&lt;br /&gt;Bridge works really well for this approach - you deal out all the cards, and their order within a hand doesn&apos;t matter. So using a dealing sheet is basically no more effort than dealing from a shuffled deck in the usual manner.&lt;br /&gt;&lt;br /&gt;There are plenty of games where this approach doesn&apos;t work so well - games like patience or Bezique where you need to order the entire deck (I&apos;m not sure if there&apos;s a not-totally-awful way to do that). I think there are intermediate classes of games where the deal is more hasslesome, but the wins of not having to shuffle (and always getting well-shuffled hands) might still make a dealing-sheet a viable approach...&lt;br /&gt;&lt;br /&gt;Take cribbage - you&apos;d still deal into four piles - two hands of six, the starter, and the rest of the deck. And most of the time you could stop part-way through the deck (I&apos;m sure one could calculate the expected distribution of end-points...). So you could have a very similar output, and add a &quot;stop&quot; instruction rather than printing out the rest of the &quot;put all these cards onto the &apos;rest of deck&apos; pile&quot;.&lt;br /&gt;&lt;br /&gt;Which brings me back round to thinking about a smartphone app - the webpage is great for bridge, and for places where you have a network connection, but I do wonder if a dealing app would be useful for offline use (and could be extended to support other deal types). Last time I &lt;a href=&quot;https://emperor.dreamwidth.org/650334.html&quot;&gt;collected opinions on app development&lt;/a&gt; there were some interesting suggestions for my stated preferences of Free, drivable from the command-line/my editor, and buildable for F-droid. I have subsequently become aware of &lt;a href=&quot;https://nativescript.org/&quot;&gt;Nativescript&lt;/a&gt; (for various varieties of JavaScript, none of which I speak), Kotlin (seemingly the new default Android language), and &lt;a href=&quot;https://flutter.dev/&quot;&gt;Flutter&lt;/a&gt; (a new language and framework entirely). I don&apos;t know if anyone&apos;s tried any of those (or other approaches)...?&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=emperor&amp;ditemid=754393&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://emperor.dreamwidth.org/754393.html</comments>
  <category>bridge</category>
  <category>lazyweb</category>
  <category>android</category>
  <lj:security>public</lj:security>
  <lj:reply-count>3</lj:reply-count>
</item>
</channel>
</rss>
