Jim Rome's Interactive Site https://blogs.jamesrome.net/ en Scientific Journals need fundamental changes https://blogs.jamesrome.net/journals <span>Scientific Journals need fundamental changes</span> <span><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">jarome</span></span> <span>Fri, 09/16/2022 - 08:54</span> <div class="layout layout--onecol"> <div class="layout__region layout__region--content"> <div class="block block-layout-builder block-field-blocknodeblogfield-display-title"> <div class="field field--node-field-display-title field--name-field-display-title field--type-string field--label-hidden field__item"><h2><a href="/journals" hreflang="en">Scientific Journals need fundamental changes</a></h2> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogbody"> <div class="body field field--node-body field--name-body field--type-text-with-summary field--label-hidden field__item"><p>The current practice of printing archival scientific journals (as opposed to newsy journals such as <em>Nature</em> or <em>Science</em>) needs to be rethought.</p> <h3>What is the purpose of an archival scientific journal?</h3> <p>The fundamental purpose of an archival scientific journal (ASJ) is to referee the correctness of the presented scientific work. Many articles are very difficult to understand, except by experts in the specific field of the article, and other readers need the assurance that they are not being misled. Refereeing also helps prevent scientific fraud, but (especially in life sciences) often requires replicating the work—an expensive and time-consuming process.</p> <p>The fact that the article is printed in an expensive, tree-destroying, difficult to access journal does not add to the dissemination of knowledge—<a href="https://arxiv.org/">arXiv</a> does this successfully for free. Furthermore, it is not easy to do a full text search of printed ASJs unless it has somehow been digitized.</p> <h3>What is wrong with printed ASJs?</h3> <p>As I approach 80 years of age, my house shelves are full. I have no room for printed books, journals, CDs or LPs. Even the walls are full. Furthermore, since I have had my cataracts removed and replaced with <a href="https://blogs.jamesrome.net/PanOptix">trifocal lenses</a>, I have difficulty reading printed documents. It is much easier for me to read on my Kindle, iPad, or desktop computer.</p> <p>Understanding scientific articles is often difficult, even for an expert in the field. Printed ASJs often have page restrictions (e.g., Physical Review Letters) that force authors to leave out must intermediate steps in their equation presentations. An all electronic version of the work would have no such limitation, and make the articles much easier to follow, especially for students.</p> <p>So, you may ask, why not just publish everything as PDFs? That solves my reading problem, and it does allow full text indexing, but it fails to take advantage of the newest (and future) technologies.</p> <p>Suppose, for example, you want to replicate, check, or expand published data. This is impossible unless you contact the author and somehow arrange for a data and data format transfer. Furthermore, the metadata accompanying the data is critical to its use. I worked in the fusion energy field, and the world fusion experiments are huge, very expensive, and often international in scope. Knowing, say, the electron temperature is useless without also knowing all the other plasma parameters at the measurement time.</p> <p>A very important and vital issue is that data are not necessarily fixed in stone; they can be dynamic. They depend upon instrument calibration, and mistakes can occur that cause existing data to change. Who has used these data? How do these users know that the data they used has changed? One example of this occurred (a long time ago) in the Magnetic Fusion Energy computers at Lawrence Livermore National Laboratory (LLNL). There was a mistake in the sine function in the third decimal place; to my knowledge, no scientific papers were changed as a result of this error.</p> <h3>What would a better idea for publication look like?</h3> <p>I believe that an ideal scientific publication would look more like an electronic Lab Notebook. It might have the following elements in it:</p> <ol><li>A comprehensive, understandable write-up of of the work with all of the intermediate calculation steps.</li> <li>Computer code links to allow others to replicate the calculations.</li> <li>Links to, or replication of the data used, together with its metadata. <ol><li>If I click on a data point in a plot, I would like a pop-up detailing the datum and its provenance.</li> <li>The ability to add my own data to a plot.</li> <li>The details of any fit to the data points.</li> </ol></li> <li>Color used in all plots and tables to make comprehension easier.</li> <li>The ability to rotate and zoom three-dimensional plots.</li> <li>Enumeration of dead ends that were tried. Negative results can be useful.</li> </ol><p>To do this fully would require the solution of some major problems.</p> <p>Foremost there needs to be a means to uniquely register data points—a tag that would be automatically applied to to new data sets that would allow things like data retraction and change, and also point to more details. Metadata are just as important as the data, and there needs to be a standard way of doing this that hopefully could work across fields. XML can organize and display such metadata, but its vocabulary needs to be developed. Scientists require that their data be used responsibly.</p> <p>The fusion community has been trying to share computer codes for decades. I spent a year benchmarking a code with a Japanese colleague. Alas, such efforts are not supported financially or given credit as valuable research. Our codes agreed if we solved exactly the same problem. But this is non-trivial because most scientific codes rely upon assuming things such as the ranges of input variables, so that the numerical methods that are used are appropriate. Scientists are reluctant to allow others to run their codes without knowing that they will be used within the assumed parameter bounds. Face-to-face training sessions are often required to build up trust.</p> <p>Moving to purely electronic publication of ASJs would save a lot of money, allow more rapid publication, and enable more widespread dissemination of knowledge. Not all of the above wishes can be carried out currently, but items 1, 3.3, 4, and 6 could be done immediately.</p> <p> </p> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogcomment-node-blog"> <section> <h2>Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=216&amp;2=comment_node_blog&amp;3=comment_node_blog" token="93czUIzLBmw8jkXBBdRQU08vkcT1Wk3MoNH84UAYHfA"></drupal-render-placeholder> </section> </div> <div class="block block-layout-builder block-extra-field-blocknodebloglinks"> </div> </div> </div> Fri, 16 Sep 2022 14:54:40 +0000 jarome 216 at https://blogs.jamesrome.net https://blogs.jamesrome.net/journals#comments My new Mac Studio Ultra arrived after 6 months, but all is not joy https://blogs.jamesrome.net/mac_studio <span>My new Mac Studio Ultra arrived after 6 months, but all is not joy</span> <span><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">jarome</span></span> <span>Wed, 06/22/2022 - 16:42</span> <div class="layout layout--onecol"> <div class="layout__region layout__region--content"> <div class="block block-layout-builder block-field-blocknodeblogfield-display-title"> <div class="field field--node-field-display-title field--name-field-display-title field--type-string field--label-hidden field__item"><h2><a href="/mac_studio" hreflang="en">My new Mac Studio Ultra arrived after 6 months, but all is not joy</a></h2> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogbody"> <div class="body field field--node-body field--name-body field--type-text-with-summary field--label-hidden field__item"><p>The joy started when my fully-speced Mac Studio (MS) box arrived. UPS left it on my doorstep without a signature, or even ringing the doorbell. Luckily, I got an e-mail announcing the delivery. I could find no way to open the box. But I must have missed one side because I finally found an arrow that I ripped down to open it. There is nothing in the box except for the computer and a small sheet identifying the ports.</p> <p>I had set up my 5k LG monitor and a new HDD in an OWC ThunderBay Flex 8 enclosure, and plugged these into the back Thunderbolt ports, and a mouse and keyboard into the front USB ports. The Mac turned on by itself, and started talking to me about using voice assist. But the monitor remained blank. Some while later,, the monitor turned on and wen through the usual setup questions, insisting that I sign into iCloud (which I do not use). I tried once ignoring this, and the system hung at the Find My Mac screen! Then it launched the migration from my old mac.</p> <p>But, it did not tell me what to do. A call to Apple support revealed that I had to also run Migration Assistant (MA) on my old Mac Pro (MP). I did this, and it closed all my programs. Then it said it could not log out, so I did this again. Finally, my old Mac appeared on the new Mac and I proceeded. It showed a screen of what was migrateable and sat there calculating something. After a while I realized that I could continue. </p> <p>The process continued, but my old Mac was on WiFi instead of ethernet. I have perhaps a million files on my 12 year-old Mac Pro. It said it would take 32 hours to do the transfer! Unlike on the Mac Studio, there was no way to change the networking on the old Mac. So I canceled the process.</p> <p>I Googled this issue <a href="https://discussions.apple.com/thread/8425459" rel="nofollow noopener noreferrer" target="_blank">How to disable wifi during Migration Assi… - Apple Community </a>and set the preferred network order. I also removed all known WiFi SSIDs and passwords from Networking and Keychain. Then I restarted the whole process. The Mac Studio saw the Mac Pro, but could not connect! I tried this three times. Apple support was useless. There is no firewall of course, and the old Mac showed up, so it was on the same network. </p> <p>I am now trying to do the transfer from my Time Machine backup. Luckily I had an extra switch lying around because all the USB ports on the Mac Studio were used by my keyboard and my mouse. After 2 hours it still says "Preparing to transfer user documents."</p> <p>So, I went back to trying WiFi, and I only transferred Apps and system and networking files. This reduces the time to 5 hours.I am still waiting for this to finish.  It has transferred 1,259,352 files so far and seems stuck at less than 50% done.</p> <p>There are multiple issues with this process, and my experience with it so far is awful.</p> <ul><li>With a large number of documents, The migration assistant should allow you to put a user's directory somewhere besides the small boot disk. I have a 16TB HDD in an OWC ThunderBay enclosure that I could use.</li> <li>The Mojave (not updated by Apple in over a year) Migration Assistant should have a way to set the networking. The one on the MS does.</li> <li>The instructions on migrating from the MS are non existent. It should have told me to start it on the MP.</li> </ul><p>I did get a useful reply from the Apple Forums:</p> <p><strong><a href="https://discussions.apple.com/profile/BDAqua?ac_cid=tw123456&amp;cid=em-com-apple_watches_email_thread_owner-note-en-us-11192020" style="color:#3d3d3d">BDAqua</a></strong> has replied to your question. You can <a href="https://discussions.apple.com/thread/253993875?answerId=257492846022&amp;cid=em-com-apple_watches_email_thread_owner-view_the_full_discussion-en-us-11192020#257492846022" style="color:#08c;">view the full discussion</a> in Communities.</p> <p><a href="https://discussions.apple.com/thread/253993875?answerId=257492846022#257492846022&amp;cid=em-com-apple_watches_email_thread_owner-message-en-us-11192020#257492846022#257492846022" style="font-weight:bold; color:#3d3d3d;">Ethernet cannot be used with Migration Assistant</a></p> <ul><li>Make a New Location, Using network locations in Mac OS X ...</li> <li>System Preferences&gt;Network, top of window&gt;Locations&gt;Edit Locations, little plus icon, give it a name.</li> <li>System Preferences&gt;Network, click on the little gear at the bottom next to the + &amp; - icons, (unlock lock first if locked), choose Set Service Order.</li> <li>The interface that connects to the Internet should be dragged to the top of the list.</li> <li>Drag Ethernet to top of list</li> <li>Sys Prefs&gt;Network&gt;highlight the Interface you're using&gt;Advanced&gt;TCP/IP&gt;Configure IPv4: Using DHCP.</li> <li>System Preferences&gt;Network&gt;choose interface&gt;Advanced&gt;Proxies Tab, make sure none are set, like for HTTP &amp; HTTPS.</li> <li>Apply.</li> </ul><p>With Ethernet, I get over 100 MB/s transfer rates. With WiFi (from MP to router) I got 5–11 MB/s. A factor of 10 faster! But the Migrate app says 25 MB/s or less (while transferring) and predicts 2 hours. We shall see. Oops. It hung.</p> <p>Finally, I used the Time Machine backup and after a night, it worked. It should not be so slow to just migrate Apps and System Settings.</p> <hr /><p>It is a week later and I have mostly set up my new Mac. <strong>This is NOT a job for novices!</strong></p> <p>For example, with all the above migration attempts, Monterey somehow made a new mount point for my 16 TB Western Digital disk (which is where I have moved my home directory). This is totally undetectable unless you look at it in Disk Utility which showed the mount point as <em>MacWD16 1</em> instead of <em>MacWD16</em>. But Copying a path to Home (using ForkLift) showed MacHD16. As a result, strange things happened. I logged into my ISP, and it did not find my ssh keys (in home/.ssh). It took me a while to figure out what was happening.</p> <p>There is no way to change the mount point using Disk Utility. Apple support did not know what a mount point is!</p> <p>I had to unmount the 16 TB disk to fix things. But my home was on it, so I put it back on the boot disk. BIG MISTAKE! Moving home starts you back from scratch, and I lost a day's worth of adjusting everything to my liking. If you need to do this, make a new admin account on the boot disk, log into that account, and you will be able to unmount the offending disk.</p> <p>Once the disk is mounted, I opened a terminal, and did <em>sudo su</em>, Then</p> <p>cd /Volumes</p> <p>showed both of these MacWD16 directories. I deleted both of them</p> <p><span style="font-family:Courier New,Courier,monospace;">rm -rf "MacWD16 1"<br /> rm -rf MacWD16</span></p> <p>Then I was able to remount this disk in the proper place, and programs could find my home directory. This is a bug!</p> <p>I bought the ThunderBay Flex 8 enclosure so that I could move the 4 data disks from my Mac Pro. One of them had my home directory on it, so I moved it to a different disk. I should have known better. I was unable to open a session, and kept getting an "enter password to fix your Library" but it would not accept the correct password. Google this--it is a well-known issue. You have to rebuild the permissions to fix it. But my Mac has not been able to boot into Recovery Mode for many years now. </p> <p>Luckily, I was able to open Preferences (which took my password), and I could make a new account on the boot disk. I also had to change the boot settings to require a login. I had never changed this. So, I can use the old Mac by logging in with this new account. The main reason for this is that I had 3 Parallels Windows VMs that I might need to get things from. (Don't ask me why I have 3 of them.)</p> <p>But when I moved the disks to my new Mac, they still did not work properly. I had to again go onto terminal as root and fix ownerships:</p> <p><span style="font-family:Courier New,Courier,monospace;">chown -R jar:staff &lt;diskname&gt;</span></p> <p>for each disk.</p> <p>You can see that contrary to Apple's claims it does not "just run." The setup process was really frustrating and time consuming.</p> <table border="1" cellpadding="1" cellspacing="1" style="width: 600px;"><tbody><tr><td><img alt="" data-entity-type="file" data-entity-uuid="4661491c-dc0a-4266-8937-f44411b2dbbf" src="https://blogs.jamesrome.net/sites/default/files/New%20%26%20Old%20Macs.jpg" width="600px&quot;&quot;" /></td> </tr><tr><td> <p>The Mac Studio is tiny compared to my old Mac Pro. But it needs many expensive add-ons: Blue Ray DVD writer, OWC ThunderBay Flex 8 (for extra disks, cards, ports), 2 USB hubs (one hanging off left, one hidden behind the MS). Several external drives are still on top of the MP, but plugged into the MS. I also needed a USB to TosLink adaptor to use my Logitech speakers. I had to buy a new mouse too—I hate the magic mouse, and Logitech has no support for their Hero on Mac chips.</p> <p>I got a Logitech MX Anywhere 3 for Mac, which I highly recommend, even though it is expensive. It is a plain Jane mouse, but I love the free-wheeling scroll wheel, and it is accurate (unlike Magic Mouse). And middle-click is working again.</p> </td> </tr></tbody></table><hr /><h2>The good and the bad</h2> <ul><li><strong>Good</strong>. My boot time had been reduced from 5 minutes to about 30 seconds.</li> <li><strong>Bad</strong>. Guess what? The Mac ARM chips do not support virtualization. </li> </ul><div style="margin-left: 2em;"> <p>Luckily, Parallels 17 does run, and I can install Windows 11, and most apps run.  I had hoped to run Windows Subsystem for Android, but this is impossible because of the lack of support for virtualization in the M1 chip..</p> </div> <ul><li><strong>Bad</strong>? Doing normal daily things, I do not notice any speed increase in browsing, reading mail, running Office apps, etc. But my Mac Pro had 2 Xeons with 12 cores and 24 threads and 64 GB of memory... I have not yet tried editing videos, which I do expect to be faster.</li> <li><strong>Bad</strong>. 32-bit Mac apps do not run, so there goes my investment in Adobe's Creative Suite. I will miss Adobe Illustrator.</li> <li><strong>Bad</strong>.  I have two monitors stacked vertically. I used to be able to trigger the desktop manager by dragging the app window I wanted to move to a different desktop to the top menu bar, and then the desktops would display. But, now I must drag the App window to the top of the top monitor for the windows to appear; as soon as I drag this off the top monitor window bar, the windows on the bottom monitor disappear! I must use the keyboard F3 key to move an App window.</li> <li><strong>Bad</strong>. The migration process left the Applications folder in a state that prevents me from deleting any apps. It is a permission issue. <ul><li>I had to go in using a terminal as root (<span style="font-family:Courier New,Courier,monospace;">sudo su</span>) and change ownership to me, and change the permissions to allow write access to all the files in the app (recursively). <br /><span style="font-family:Courier New,Courier,monospace;">rm -rf appname</span></li> </ul></li> <li><strong>Good</strong>. The sound coming out of the USB ports is substantially improved. I now actually get imaging from my desktop speakers.</li> </ul><hr /><p>Stay tuned ... I will keep updating this review.</p> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogcomment-node-blog"> <section> <h2>Comments</h2> <article data-comment-user-id="1" id="comment-1138" class="js-comment"> <mark class="hidden" data-comment-timestamp="1663347754"></mark> <footer> <article typeof="schema:Person" about="/user/1"> <div class="layout layout--onecol"> <div class="layout__region layout__region--content"> </div> </div> </article> <p>Submitted by <span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">jarome</span> on Fri, 09/16/2022 - 11:02</p> <a href="/comment/1138#comment-1138" hreflang="en">Permalink</a> </footer> <div> <h3><a href="/comment/1138#comment-1138" class="permalink" rel="bookmark" hreflang="en">My MacStudio has had several…</a></h3> <div class="layout layout--onecol"> <div class="layout__region layout__region--content"> <div class="block block-layout-builder block-field-blockcommentcomment-node-blogcomment-body"> <div class="field field--comment-comment-body field--name-comment-body field--type-text-long field--label-hidden field__item"><p>My MacStudio has had several kernel panics when I was not actively at the keyboard.</p></div> </div> <div class="block block-layout-builder block-extra-field-blockcommentcomment-node-bloglinks"> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=1138&amp;1=default&amp;2=en&amp;3=" token="s_KCAz_fzfG32vUJZeyxmi8-Zb78DK7nivkQWkI4Ypc"></drupal-render-placeholder> </div> </div> </div> </div> </article> <h2>Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=214&amp;2=comment_node_blog&amp;3=comment_node_blog" token="IKn4islNhc6uQwY2QFKr3BHnDNasZ_uR_-4PB73uc-M"></drupal-render-placeholder> </section> </div> <div class="block block-layout-builder block-extra-field-blocknodebloglinks"> </div> </div> </div> Wed, 22 Jun 2022 22:42:28 +0000 jarome 214 at https://blogs.jamesrome.net https://blogs.jamesrome.net/mac_studio#comments Initial impressions of the new OM-1 from OM Digital Solutions (OM-DS) https://blogs.jamesrome.net/OM-1 <span>Initial impressions of the new OM-1 from OM Digital Solutions (OM-DS)</span> <span><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">jarome</span></span> <span>Fri, 04/08/2022 - 16:49</span> <div class="layout layout--onecol"> <div class="layout__region layout__region--content"> <div class="block block-layout-builder block-field-blocknodeblogfield-display-title"> <div class="field field--node-field-display-title field--name-field-display-title field--type-string field--label-hidden field__item"><h2><a href="/OM-1" hreflang="en">Initial impressions of the new OM-1 from OM Digital Solutions (OM-DS)</a></h2> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogbody"> <div class="body field field--node-body field--name-body field--type-text-with-summary field--label-hidden field__item"><p>My new OM-1 camera finally came yesterday without the pre-order extra battery and extended warranty. They have not yet replied to my query. Support, by the way, closes at 2 PM Eastern time, so westerners will have to call before 11 AM. Not an auspicious beginning.</p> <p>Another real loser is the strap. It is not breathable, and the edges are rough and dig into your neck, so I had to pay another $50 for a decent strap. This is a bad move on OM-DS's part because the strap is a walking ad for the camera.</p> <p>Then there is the matter of the OM software. I do not think you can initiate the WiFi and Bluetooth without a smart phone.</p> <p>The camera says you must run OM Capture to set up the camera. I Googled this and somehow downloaded the wrong version of OM Capture.</p> <p>The correct links are <br /> OM Capture: <a href="https://support.olympus-imaging.com/oc1download/download">https://support.olympus-imaging.com/oc1download/download</a></p> <p>OM Workspace: <a href="https://support.olympus-imaging.com/owdownload/">https://support.olympus-imaging.com/owdownload/</a></p> <p>Why didn't OM-DS change the name of the software?? This is especially a problem because you can only pair one camera to the software, so how can I still use my E-M1 Mark II? </p> <p>You MUST use a phone app because the pairing requires that you snap a picture of a QR code displayed by the OM-1. Once you have done that, and installed the correct OM Capture from OM-DS, you can in fact connect the camera to your WiFi network (not the fake one set up by the phone). At this point, OM Capture will automatically load your photos and movies to your computer. This is NICE.</p> <p>Some other nice features are in the menu system. If you press Info when at a menu, a small help screen pops up telling you the purpose of the setting. And if a menu option is disabled, it tells you why. This is very handy because I got in a situation where the camera took 5 seconds to take a shot, and this feature told me I was in Hi-Res mode. </p> <p>Also, if you are a contortionist, when viewing an image, if you press the OK button while in live view, a transparent version of the super control panel is displayed over your image.</p> <p>And it is really difficult to read the PDF Instruction Manual, even on a big monitor. Why couldn't OM-DS have done this in color? Since it is not printed, this costs no more. There are only 17 bookmarks for a very complicated manual. Movies/videos is not among them.</p> <p>I ordered the OM-1 battery charger with extra battery (luckily since my free one has not come). In movie mode, the view screen says that the battery will last 90 minutes—not enough for a long concert. I returned the first charger and battery because the battery would not charge fully, even after 12 hours. It turns out that you need a really powerful USB brick. Forget using the bricks that come with your cell phones. A 100-watt USB supply from Amazon cost me another $60. It takes about 3 hours to charge I think, even with the new USB supply. You must use a USB-C to USB-C cable to get the fast charging.</p> <p>Right now, the above charger is the only way to get an extra battery, but MUCH cheaper chargers are available at <a href="https://www.amazon.com/Kastar-Battery-Compatible-Lithium-Ion-Mirrorless/dp/B09XC581XJ/">Amazon</a>. Just $13.</p> <hr /><p>Last night I videoed a Chamber Music concert at 4k 60p, and the camera totally froze. I had to remove the battery!!! </p> <p>Olympus DS says"</p> <p><em>‘We are currently receiving inquiries from customers using the ‘OM SYSTEM OM-1’ that the camera freezes during shooting.</em></p> <p><em>As a result of our research, it was found that when shooting with the EVF (viewfinder) frame rate set to ‘high speed’, freezes occur depending on the shooting conditions. </em></p> <p><em>We have identified the cause and are currently preparing for the release of firmware that addresses this phenomenon on the Web.</em></p> <p><em>Customers who have experienced the above phenomenon are kindly requested to set the EVF frame rate to ‘Standard’ before using it.</em></p> <p>There is no such setting 'Standard'; My EV refresh rate was set to 'Normal' and it still froze, and OM-DS does not say what "shooting" means. So I doubt that the forthcoming fix will indeed solve this issue.</p> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogcomment-node-blog"> <section> <h2>Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=213&amp;2=comment_node_blog&amp;3=comment_node_blog" token="u4mYepp1TZi0r8YeYWxncHw0eajrKs3eoR1hubw7dl8"></drupal-render-placeholder> </section> </div> <div class="block block-layout-builder block-extra-field-blocknodebloglinks"> </div> </div> </div> Fri, 08 Apr 2022 22:49:53 +0000 jarome 213 at https://blogs.jamesrome.net https://blogs.jamesrome.net/OM-1#comments Lossless streaming services (revisited) https://blogs.jamesrome.net/streaming_revisited <span>Lossless streaming services (revisited)</span> <span><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">jarome</span></span> <span>Fri, 11/12/2021 - 07:52</span> <div class="layout layout--onecol"> <div class="layout__region layout__region--content"> <div class="block block-layout-builder block-field-blocknodeblogfield-display-title"> <div class="field field--node-field-display-title field--name-field-display-title field--type-string field--label-hidden field__item"><h2><a href="/streaming_revisited" hreflang="en">Lossless streaming services (revisited)</a></h2> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogbody"> <div class="body field field--node-body field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Since my <a href="https://blogs.jamesrome.net/streaming_services">last comments on this topic</a>, time has marched on, and there are new entries to the fray (Amazon and Apple). I recently bought some Sony WF-1000MX4 earbuds, and decided to do free trials of Tidal (I dropped it before) and the newer Amazon Music service to check out Sony's 360 Reality Audio setup.</p> <p>Spoiler alert! Qobuz is still the best streaming service, especially for classical music.</p> <p>Tidal has MQA which in principle offers resolution to 320 kHz (if you can hear that high). But Qobuz offers many more high-resolution (above 16 bit/44.1 kHz) albums.</p> <p><img alt="&quot;Tidal vs Qobuz&quot;" data-entity-type="file" data-entity-uuid="9699db00-464b-4f35-abb5-2955e9248cb7" height="353" src="https://blogs.jamesrome.net/sites/default/files/Tidal%20vs%20Qobuz.png" width="800" /></p> <p>And all the Qobuz albums (right) are playable without special "unfolding" processors.</p> <p>However, there is a real issue with Qobuz. Many of their HiRes (and other) recordings are clipped at 0 dB.</p> <p><img alt="" data-entity-type="file" data-entity-uuid="68cd3abd-a137-48a7-806e-adb18e5ef32a" height="344" src="https://blogs.jamesrome.net/sites/default/files/clippedschubert.png" width="793" /></p> <p>This is an Audacity capture of Schubert's Symphony in E Major D 729 (Completed by Richard Dünser), Overture "Fierabras"; Berner Symphonieorchester- Mario Venzago.</p> <p>What good is a 24/96 recording if it it distorted by clipping when it is loud?</p> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogcomment-node-blog"> <section> <h2>Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=211&amp;2=comment_node_blog&amp;3=comment_node_blog" token="36rDpSmpn6d31-OTr7OYh7jhZNA6SEwzA2wE7QvQ8gE"></drupal-render-placeholder> </section> </div> <div class="block block-layout-builder block-extra-field-blocknodebloglinks"> </div> </div> </div> Fri, 12 Nov 2021 14:52:50 +0000 jarome 211 at https://blogs.jamesrome.net https://blogs.jamesrome.net/streaming_revisited#comments Thoughts on Windows 11 https://blogs.jamesrome.net/windows11 <span>Thoughts on Windows 11</span> <span><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">jarome</span></span> <span>Wed, 07/07/2021 - 09:21</span> <div class="layout layout--onecol"> <div class="layout__region layout__region--content"> <div class="block block-layout-builder block-field-blocknodeblogfield-display-title"> <div class="field field--node-field-display-title field--name-field-display-title field--type-string field--label-hidden field__item"><h2><a href="/windows11" hreflang="en">Thoughts on Windows 11</a></h2> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogbody"> <div class="body field field--node-body field--name-body field--type-text-with-summary field--label-hidden field__item"><p>I have one Windows computer and two Windows VMs running on my Mac Pro using Parallels. One of the VMs is in the Developer's Channel, as is the stand-alone machine. Both of these updated promptly to Windows 11, even though the checking tool on the VM machine said it could not run Windows 11</p> <p><strong>I do not like the "improvements" in the desktop or the Start Menu. </strong></p> <ul><li>Centering the task bar icons (à la MacOS) is a disadvantage. It leaves less space for the right-hand icon set. Change for no good reason is bad. (Note: you can move it back to the left)<br /><img alt="" data-entity-type="file" data-entity-uuid="d0fda7fe-e8d9-4300-9e6d-1f04059d4967" height="599" src="https://blogs.jamesrome.net/sites/default/files/CenterTaskBar.png" width="500" /></li> <li>It now takes an extra click to access the list of installed programs. <p> <img alt="" data-entity-type="file" data-entity-uuid="bd0b58f8-8a8c-4b49-95de-57b19e9aa8d8" height="662" src="https://blogs.jamesrome.net/sites/default/files/W11Start_0.png" width="640" /></p></li> <li>Microsoft installed extra "junk" programs like Xbox, Spotify, and Instagram. Luckily they can be uninstalled with a right-click. There is an inconsistency, since other App uninstalls launch Control Panel and you must uninstall them from there.</li> <li>It pinned Microsoft Edge to the Start Menu, even though my default browser is EdgeDev. This is a continuing problem (which I complained about several times). Apps often do not open the default browser and revert to Edge. In Windows 11, there is no longer a "Set my default browser" setting. Instead you must set 12!! (if I counted correctly) individual settings for each protocol a browser handles. Many of them also nag you to keep using Edge as the default. <p> <img alt="" data-entity-type="file" data-entity-uuid="400c4341-2218-4290-9163-2e91b4acdf6c" height="647" src="https://blogs.jamesrome.net/sites/default/files/AppDefaults.png" width="600" /></p></li> <li>My favorite Desktop Manager Dexpot no longer works properly, and conflicts with Microsoft's new manager.</li> <li>The windows now have <em>very</em> slightly rounded corners, but so far as I can tell, the system still treats them as rectangles.</li> </ul><p>See <a href="https://www.tomshardware.com/how-to/worst-windows-11-features-fix-them">https://www.tomshardware.com/how-to/worst-windows-11-features-fix-them</a> for some fixes.</p> <p><strong>But some things are neat and useful. </strong></p> <ul><li>When I had to do a Windows Update (with a reboot), it gave me a time estimate. 5 minutes seemed much faster than Windows 10.</li> <li>It takes 1.5 minutes to boot to the log-in screen in my virtual machine. Two more minutes for the desktop to appear.</li> </ul><p><strong>Windows 11 requirements</strong></p> <p>You must have a recent PC with a TPM chip installed to use Windows 11 (to increase security). It works just fine without one, but Microsoft will refuse to install updates (which destroys security).</p> <p>Because Microsoft "upgraded" my developer PCs to Windows 11 without asking me, I am rather screwed.</p> <ul><li>I have several virtual machines (VMs) running inside Parallels on my Mac Pro. Why several? One is Windows 10 (not in developer program). The others are from historical reasons, and I should consolidate them. Parallels emulates the TPM chip in software, but there is a catch: old Parallels VMs do not have this, and cannot be updated. There are two solutions to this, neither is painless. <ul><li>You can transfer a Windows (10 or 11) from a "real" Windows PC that has a TPM chip. <p> <img alt="" data-entity-type="file" data-entity-uuid="ef085802-e791-471e-bb11-03b5d6c85b5a" height="267" src="https://blogs.jamesrome.net/sites/default/files/ParallelsInstallationAssistant.png" width="400" /></p></li> <li>You can download a Windows 11 ISO and buy a cheap, but legitimate, key. I found one for Windows 10 Pro for $7.48! The Windows 10 key works for activating Windows 11.</li> </ul></li> <li>But the biggest issue is how to keep your old installed applications. I bought <a href="https://www.easeus.com/pc-transfer-software/pctrans-pro.html">EasUS Todo PCTrans.</a> It is licensed for 2 machines. You put one copy on the source computer (which may be a Parallels VM), and the other on the new installation. It successfully transferred my personal settings and files (docs, pictures,...) but was only partially successful at transferring applications. Office transferred but FrameMaker did not. I was very fortunate that I had the FrameMaker 2015 install programs so I could reinstall it.</li> <li>However, my Lenovo laptop is not Windows 11 ready. It right now has the beta build of Windows 11, and I am not sure how to revert it to Windows 10.</li> <li><span style="color:#e74c3c;">HOLD THE PRESS!</span> <a href="https://www.theverge.com/22715331/how-to-install-windows-11-unsupported-cpu-intel-amd-registry-regedit">There is a registry hack to fix this</a>. But for my VMs, this was already enabled, and the updates to Windows 11 rolled back.</li> </ul><hr /><p><strong>Android now works!</strong></p> <p>There is finally an easy way to get the Android Subsystem for Windows (ASW) to work: <a href="https://www.youtube.com/watch?v=xcTWiasYtaQ">Install Google Play On Windows 11 - Android Apps &amp; Games Windows 11! - YouTube</a>. If you already installed ASW, you must uninstall it or else the final install step will fail.</p> <p><img alt="" data-entity-type="file" data-entity-uuid="3b71a60a-c3ad-42d0-82c2-a2446de6de2c" height="555" src="https://blogs.jamesrome.net/sites/default/files/StartAndroid.png" width="500" /></p> <p>For example, here is AccuWeather:</p> <p><img alt="" data-entity-type="file" data-entity-uuid="86a2b6ac-a264-4329-9962-4ef0976082a2" height="370" src="https://blogs.jamesrome.net/sites/default/files/AccuWeather_0.png" width="600" /></p> <hr /><p><strong>Linux works!</strong></p> <p>You must install  wsl2 and also enable nested virtualization in Parallels if you are running in a virtual machine (which does slow things down)</p> <p><img alt="" data-entity-type="file" data-entity-uuid="56f14ae5-5c34-4e8f-8b7b-bb6e101e3383" height="250" src="https://blogs.jamesrome.net/sites/default/files/NestedVirtualization.png" width="292" /></p> <p>Then you can pick your favorite distribution from the Windows store (search for Linux distros). I prefer OpenSUSE Leap 15.3, but I have it running, so chose Ubuntu LTS</p> <p><img alt="" data-entity-type="file" data-entity-uuid="12f873cf-c7c6-4bf4-8223-76ee1322cd49" height="374" src="https://blogs.jamesrome.net/sites/default/files/Ubunt.png" width="482" /></p> <p>You must watch the install screen to fill in the user information:</p> <p><img alt="" data-entity-type="file" data-entity-uuid="35776aaa-f7c3-426e-8827-47f45a35840d" height="629" src="https://blogs.jamesrome.net/sites/default/files/UbuntuInstall.png" width="981" /></p> <p>Then, you can install a graphics app such as xterm:</p> <pre> sudo apt install xterm</pre><p>and run it (it took a while to start, so I did a ps to list processes).</p> <p> </p> <p><img alt="" data-entity-type="file" data-entity-uuid="f7603009-ca4d-478d-9599-a53b940adbc7" height="478" src="https://blogs.jamesrome.net/sites/default/files/xterm.png" width="508" /></p> <p>If you want a whole Ubuntu desktop, <a href="https://harshityadav95.medium.com/install-gui-desktop-in-wsl2-ubuntu-20-04-lts-in-windows-10-ae0d8d9e4459">you can do this using XFCE</a>.</p> <p>To manage packages, install synaptic</p> <pre> sudo apt install synaptic</pre><p>Note it has to be launched as root, and sudo synaptic did not work for me.</p> <p><img alt="" data-entity-type="file" data-entity-uuid="137bfeb9-b8c5-4531-a114-b24999f3d5fa" height="601" src="https://blogs.jamesrome.net/sites/default/files/synaptic.png" width="716" /></p> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogcomment-node-blog"> <section> <h2>Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=209&amp;2=comment_node_blog&amp;3=comment_node_blog" token="Ye3CChVymIpOKo5GkoVLddkfMsSyXLxxaijm70LrdMc"></drupal-render-placeholder> </section> </div> <div class="block block-layout-builder block-extra-field-blocknodebloglinks"> </div> </div> </div> Wed, 07 Jul 2021 15:21:29 +0000 jarome 209 at https://blogs.jamesrome.net https://blogs.jamesrome.net/windows11#comments It is time to Switch from Apple to Microsoft! https://blogs.jamesrome.net/windows-is-better <span>It is time to Switch from Apple to Microsoft!</span> <span><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">jarome</span></span> <span>Fri, 04/23/2021 - 09:40</span> <div class="layout layout--onecol"> <div class="layout__region layout__region--content"> <div class="block block-layout-builder block-field-blocknodeblogfield-display-title"> <div class="field field--node-field-display-title field--name-field-display-title field--type-string field--label-hidden field__item"><h2><a href="/windows-is-better" hreflang="en">It is time to Switch from Apple to Microsoft!</a></h2> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogbody"> <div class="body field field--node-body field--name-body field--type-text-with-summary field--label-hidden field__item"><p>I have been using Mac Pros for over a decade as my main desktop. But I also have a Windows 10 computer and a Linux computer (OpenSuSE LEAP 15.2), so am agnostic in my comparisons. I also have Windows and Linux virtual machines running on my Mac inside Parallels.</p> <p>My problem is that my MacPro is 10 years old now and cannot be updated past Mojave. It is a very powerful machine with 2 6-core Xenons (24 threads) and 64 GB of memory. I also have it loaded with disks—all disk slots are used plus a CD slot for a SSD. But the Apple rumors suggest that the next Mac Pro will be a little thing with no room for all my disks. And the rumored M2 chip probably cannot support large amounts of memory. And although Apple denies it, the more recent versions of MacOS look more and more like iPads (and I hate mine).</p> <p><strong>More important, Windows 10 is now a fully-mature, reliable, fast and capable operating system.</strong></p> <h3>More reliable than Apple</h3> <p>I have not experienced a Blue Screen of Death in years. Certainly less often than my Mac's Gray Screen of Death.</p> <h3>Better tech support</h3> <p>The Microsoft (MS) people really CARE about their users. It is easy to report issues to MS, and these reports are generally to all users, unlike Apple which requires you to join the Developers Association, keeps all complaints secret! When you file a complaint using the Feedback Tool, you can send screen shots or record everything while you recreate the issue. Then the Feedback Tool searches for similar issues, which you can join, or continue to file your own issue.</p> <p>Then Microsoft sends you an acknowledgement—here is one from Microsoft Edge (Dev):</p> <p><img alt="" data-entity-type="file" data-entity-uuid="822f8f50-e0c4-4f3c-a26f-e452659ce7d7" height="582" src="https://blogs.jamesrome.net/sites/default/files/EdgeFeedback.png" width="576" /></p> <p>And yes, they get back to you when the issue is fixed, and/or they ask for more information.</p> <p>Each time there is a new Developer Release, MS releases an <a href="https://blogs.windows.com/windows-insider/2021/04/29/announcing-windows-10-insider-preview-build-21370/">accompanying Blog</a> which tells what is new, what is fixed, and what issues remain. Such a simple thing to do, but Apple only lists the bugs it has fixed.</p> <h3>Microsoft does Linux</h3> <p>This is truly amazing! Here are some links of interest</p> <ul><li> <p><a href="https://devblogs.microsoft.com/commandline/the-initial-preview-of-gui-app-support-is-now-available-for-the-windows-subsystem-for-linux-2/?WT.mc_id=modinfra-0000-thmaure">The Initial Preview of GUI app support is now available for the Windows Subsystem for Linux</a></p> </li> <li> <p><a href="https://www.theregister.com/2021/04/23/wslg_first_look/?td=keepreading-btm">Penguin takeover: We tried running some GUI Linux apps on Windows the official way – and nothing exploded</a></p> </li> <li> <p><a href="https://boxofcables.dev/why-do-apps-look-weird-on-wslg-on-opensuse/">Troubleshooting GUI Linux apps on openSUSE on WSLg</a></p> </li> </ul><p>This really works. I have OpenSUSE LEAP 15.3 beta running true graphics mode apps inside of Windows Windows. And with the proper NVidia or AMD video drivers, they are FAST.</p> <p>Although in SuSE, you initially have to install things using the clunky text-mode interface, in just a bit, you have the real Yast2 interface on your desktop</p> <p><img alt="" data-entity-type="file" data-entity-uuid="4ff02943-4051-46dc-ac15-1c697c34ec6f" height="736" src="https://blogs.jamesrome.net/sites/default/files/yast2.png" width="800" /></p> <p>So far as I can tell, you can install any of these apps. I have not yet managed to get a full KDE desktop going, but in fact, the apps you install are integrated into the windows Start Menu, so a Linux desktop is superfluous:</p> <p><img alt="" data-entity-type="file" data-entity-uuid="755aa58b-cb5a-4566-ba9b-f0fd4272055e" height="696" src="https://blogs.jamesrome.net/sites/default/files/linuxapps.png" width="784" /></p> <h3>The Price</h3> <p>Every powerful Mac Pro I have priced has been well over $10,000. I just priced AMD Windows systems fully loaded, with 32-core Threadrippers, and even with another 64 GB of Memory and a 12 TB HDD, it has more power and performs better, and yet is still cheaper:</p> <p><img alt="" data-entity-type="file" data-entity-uuid="0e277d6f-f734-4ecf-b50f-f4fc639026d7" height="788" src="https://blogs.jamesrome.net/sites/default/files/cyberpower.png" width="800" /></p> <p>Apple no longer offers any advantage to advanced computing tasks over Windows. It is not easier to use, more capable, or does it offer better support. My only complaint about Windows concerns Windows Update, which is still slow and unreliable, especially in my Windows virtual machines that run on my Mac using Parallels. It can take a day(!!!) to do an update.</p> <hr /><h3>Other comments</h3> <p><a href="https://www.theregister.com/2021/05/24/desktop_os/">Apple is happy to diss the desktop – it knows who's got the most to lose • The Register</a></p> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogcomment-node-blog"> <section> <h2>Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=208&amp;2=comment_node_blog&amp;3=comment_node_blog" token="FwGWi45FIcTvIWtCRc45fYyZlebyZO28Qt_3RWBDa2M"></drupal-render-placeholder> </section> </div> <div class="block block-layout-builder block-extra-field-blocknodebloglinks"> </div> </div> </div> Fri, 23 Apr 2021 15:40:00 +0000 jarome 208 at https://blogs.jamesrome.net https://blogs.jamesrome.net/windows-is-better#comments Reset Windows Update Tool https://blogs.jamesrome.net/wureset <span>Reset Windows Update Tool</span> <span><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">jarome</span></span> <span>Fri, 04/23/2021 - 08:24</span> <div class="layout layout--onecol"> <div class="layout__region layout__region--content"> <div class="block block-layout-builder block-field-blocknodeblogfield-display-title"> <div class="field field--node-field-display-title field--name-field-display-title field--type-string field--label-hidden field__item"><h2><a href="/wureset" hreflang="en">Reset Windows Update Tool</a></h2> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogbody"> <div class="body field field--node-body field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Windows Update can be very frustrating, especially when it fails after 10 hours!</p> <p>There is a wonderful free tool to fix this problem, and also to perform many other free Windows maintenance tasks. It is called <a href="https://www.wureset.com/"><em>Reset Windows Update Tool</em></a>.</p> <p><img alt="" data-entity-type="file" data-entity-uuid="8aecd164-3868-4577-b22f-8fd26a6c1060" height="508" src="https://blogs.jamesrome.net/sites/default/files/ResetWindows.png" width="680" /></p> <p>Option 2 fixes most Windows Update issues, but if your system is really screwed up, try options 5, 6, 7 as well.</p> <p><strong>This tool must be run as Administrator.</strong> This proved to be more difficult than usual. I made a desktop shortcut to C:\Program Files"\wureset\wureset.exe Rut it did not run when I right-clicked and selected 'Run as Administrator'. When I went to the above location, and right-clicked on wureset.exe, there was no such option. (But I just tried it again after a reboot, and the admin option worked.) I eventually opened a commend window (as Administrator) and ran wureset from there. There are many ways to do thinks.</p> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogcomment-node-blog"> <section> <h2>Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=207&amp;2=comment_node_blog&amp;3=comment_node_blog" token="Grn5WR0mPA9ikHGTF9PSRhzlt0vb_1tZN9prW54sph4"></drupal-render-placeholder> </section> </div> <div class="block block-layout-builder block-extra-field-blocknodebloglinks"> </div> </div> </div> Fri, 23 Apr 2021 14:24:39 +0000 jarome 207 at https://blogs.jamesrome.net https://blogs.jamesrome.net/wureset#comments T-Mobile finally admits 5G midband speeds are less than advertised https://blogs.jamesrome.net/t-mobile <span>T-Mobile finally admits 5G midband speeds are less than advertised</span> <span><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">jarome</span></span> <span>Sat, 12/19/2020 - 09:58</span> <div class="layout layout--onecol"> <div class="layout__region layout__region--content"> <div class="block block-layout-builder block-field-blocknodeblogfield-display-title"> <div class="field field--node-field-display-title field--name-field-display-title field--type-string field--label-hidden field__item"><h2><a href="/t-mobile" hreflang="en">T-Mobile finally admits 5G midband speeds are less than advertised</a></h2> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogbody"> <div class="body field field--node-body field--name-body field--type-text-with-summary field--label-hidden field__item"><h3>News from T-Mobile:</h3> <p><a href="https://www.t-mobile.com/news/network/fast-mid-band-5g-new-cities-towns-location-coverage">T‑Mobile Nearly Doubles its Supercharged Mid‑Band 5G in Just One Month | T‑Mobile Newsroom (t-mobile.com)</a></p> <p>"<strong>BELLEVUE, Wash. — October 28, 2020 —</strong> Largest 5G network? Check. Blazing fast speeds customers can actually find? Check. T-Mobile (NASDAQ: TMUS) today announced it has nearly doubled the number of cities and towns that get supercharged mid-band 5G, adding even more capacity and superfast speeds to America’s largest nationwide 5G network. <a href="https://www.t-mobile.com/news/network/supercharged-midband-5g" rel="noreferrer noopener" target="_blank">Mid-band 2.5 GHz 5G</a> delivers both broad coverage and fast speeds at the same time -- and it can even go through walls (looking at you, mmWave!). In places it’s deployed, <strong>average download speeds are already around 300 Mbps</strong> — that’s 7.5x faster than today’s average LTE speeds — with peak download speeds up to 1 Gbps. With today’s announcement, T-Mobile mid-band 5G reaches nearly 410 cities and towns across the country. The Un-carrier is rolling out mid-band 5G at a furious pace, with plans to cover 100 million people by the end of the year. </p> <hr /><p><a href="https://www.t-mobile.com/news/network/supercharged-midband-5g">121 More Cities &amp; Towns Just Got T‑Mobile’s Supercharged 5G and Blazing Fast Speeds | T‑Mobile Newsroom (t-mobile.com)</a>  (Note that Oak Ridge TN is listed!)</p> <p>"The Un-carrier’s mid-band (2.5 GHz) 5G is the very best kind of 5G, delivering both broad coverage and <strong>super-fast speeds averaging around 300 Mbps</strong> — that’s 7.5x faster than LTE today — with peaks of up to 1 gigabit-per-second. With today’s announcement, this supercharged 5G experience is live in a total of 210 cities and towns across the country with thousands more on the way by end of year."</p> <hr /><p><a href="https://www.t-mobile.com/news/network/supercharged-midband-5g">121 More Cities &amp; Towns Just Got T‑Mobile’s Supercharged 5G and Blazing Fast Speeds | T‑Mobile Newsroom (t-mobile.com)</a></p> <p><img alt="" data-entity-type="file" data-entity-uuid="641f1c59-19f1-4ae0-9ceb-cbd973222c42" height="560" src="https://blogs.jamesrome.net/sites/default/files/NevilleRay.png" width="599" /></p> <hr /><p><a href="https://wsw.com/webcast/oppenheimer8/tmus/2774100">Wall Street Webcasting - T-Mobile US (wsw.com)</a></p> <p>Neville claims that low-band 5G averages about 100 Mbps</p> <hr /><p><a href="https://seekingalpha.com/article/4389745-t-mobile-us-inc-tmus-presents-bcg-and-new-street-research-5g-conference-transcript">T-Mobile US, Inc. (TMUS) Presents at BCG and New Street Research 5G Conference (Transcript) | Seeking Alpha</a></p> <p>"Our 2.5 gig layer, as we roll that out, today has been delivering 200, 300 megabit per second speeds on average. So you can do gig peaks, right.</p> <p>But on average, kind of around that 300 megabits and as we can commit more spectrum to that as we go through customer migration with the Sprint base, that number gets to about 400 megabits per second, based on our engineering and what we are testing now as we close out the end of the year. So now you have something that is an order of magnitude better than the average LTE experience."</p> <hr /><h3>My experience</h3> <p>I have been a loyal T-Mobile (T-M) customer for about six years, anxiously awaiting the really excellent 5G rollout. I got a Samsung Galaxy S20 Ultra phone to take advantage of 5G.</p> <p>I live in Oak Ridge TN. The low band 5G was not at all faster than 4G, so I anxiously awaited the mid-band rollout. T-M just installed a new tower less than a mile from my home (cell ID 7057932, LAC 44286). Note the 5-bar signal strength.</p> <p><img alt="Cell towers near me" data-entity-type="" data-entity-uuid="" src="https://blogs.jamesrome.net/sites/default/files/Screenshot_20201219-115725_Opensignal.png" /></p> <p>But, I get MUCH lower performance than T-M advertises.</p> <p><img alt="" data-entity-type="file" data-entity-uuid="0df8dede-5f7c-40f7-a579-cdbfe9650cd2" height="1333" src="https://blogs.jamesrome.net/sites/default/files/Screenshot_20201219-115650_Opensignal.png" width="600" /></p> <p>The download speed never tops 100 Mbps, and the download speed starts out at 40–50 Mbps, but then often drops to a few hundred kbps!</p> <p>So I walked outside to get closer to my cell tower</p> <p><img alt="" data-entity-type="file" data-entity-uuid="4ef7181d-b551-43c3-a8b2-35dc36be8566" height="1333" src="https://blogs.jamesrome.net/sites/default/files/Screenshot_20201219-131845_Opensignal.png" width="600" /></p> <p>and the results were pathetic:</p> <p><img alt="" data-entity-type="file" data-entity-uuid="f8e128fa-23d6-46a7-94dc-42d4aab9a002" height="653" src="https://blogs.jamesrome.net/sites/default/files/Screenshot_20201219-134028_Opensignal.png" width="600" /></p> <p><span style="font-size:20px;"><span style="color:#c0392b;"><strong>I can only conclude that T-M provides different levels of mid-band service at different locations!</strong></span></span></p> <hr /><h3>My interactions with T-Mobile</h3> <p>Thank you for that, Jim, and in some areas we absolutely are seeing the 300+ mbps speeds. Looking at the area you're in, I am seeing that average speeds are around 35-40mbps right now, but there is a tower 2 miles to your northeast that is still being worked on for mid and low band LTE and 5G. This is set to be completed around late October, and once this is done you'd likely see some great improvement in coverage. Additionally, the tower in you screen shot appears to be a smaller cite, which could be part of why we're not seeing a huge improvement for you just yet. I know that waiting on improvements to happen isn't fun, but we're working to get our 5G everywhere it's needed!</p> <p><a data-focusable="true" href="https://twitter.com/TMobileHelp" role="link"><img alt="T-Mobile Help" draggable="true" src="https://pbs.twimg.com/profile_images/1194321469129363456/Lj-2mqh7_normal.jpg" /></a></p> <p>Sep 30, 2020, 7:06 PM</p> <p>You had another tower SE from the one I have now, but it is gone!. Where are the sprint towers?</p> <p>You are false advertising. I see no improvement over 4g</p> <p>Make my tower bigger then!</p> <p>I have 5 bars. It should be better</p> <p>Sep 30, 2020, 7:09 PM</p> <p>Hi Jim, thank you so much for staying engaged with us today. Having reliable signal is a huge deal, and we want to make sure you can use your phone to stay connected to the world around you. Your data speeds are looking great, and as Kyle explained, they will also continue to improve as our engineering teams complete the modernization in your area. We appreciate your feedback, and we're here for you if you have any other questions.</p> <p><a data-focusable="true" href="https://twitter.com/TMobileHelp" role="link"><img alt="T-Mobile Help" draggable="true" src="https://pbs.twimg.com/profile_images/1194321469129363456/Lj-2mqh7_normal.jpg" /></a></p> <p> </p> <p>Dec 10, 2020, 11:10 AM</p> <p>I'm back and happy to pick things up where we left off. I look forward to hearing back to confirm that we're on the same page before we work to get you some answers. ^MariahSelig</p> <p><a data-focusable="true" href="https://twitter.com/TMobileHelp" role="link"><img alt="T-Mobile Help" draggable="true" src="https://pbs.twimg.com/profile_images/1194321469129363456/Lj-2mqh7_normal.jpg" /></a></p> <p>Dec 10, 2020, 12:15 PM</p> <p>I'm personally heading out of the office, but want to make sure that you are set up for success, Jim. I do want to talk a little bit about the type of data speed experience you may see. We do anticipate that customers may at times see a download speed boost of 20% compared to 4G but wanted to make sure you knew that this can vary by location. In the beginning, you may see data speeds similar to 4G, this will absolutely improve as our 5G journey continues throughout the following years. We truly always want you to have a great connection. Coverage and speeds can vary depending on many factors. Check out a ton of 5G information here: <a data-focusable="true" dir="ltr" href="https://t.co/bR7VVzsIwC?amp=1" rel=" noopener noreferrer" role="link" target="_blank">https://t-mobile.com/5g</a>. If there is something specific that you're unable to do with those speeds, kindly reach out and let us know. Otherwise, we appreciate the time you shared with us and hope you have a wonderful Holiday season with your family! ^MariahSelig</p> <p><a data-focusable="true" href="https://twitter.com/TMobileHelp" role="link"><img alt="T-Mobile Help" draggable="true" src="https://pbs.twimg.com/profile_images/1194321469129363456/Lj-2mqh7_normal.jpg" /></a></p> <p>Dec 10, 2020, 4:17 PM</p> <p>I am an electrical engineer and know all about 5G. Yes, I want to drop comcast and use my phone. I could do that at 300mbps and up. All your ads and pronouncements say average of 350! With 5 bars, I have plenty of signal. So your pronouncements must be false. So either goose up your speeds, or change your false advertising! And please forward this to Neville</p> <p>Dec 10, 2020, 4:33 PM</p> <hr /><h4>I Finally got the real skinny from T-Mobile:</h4> <p>"Thank you so much for circling back with me this morning James, I appreciate you and I apologize if my information was not clear. With 5G speeds, our typical download speeds range between 38-111 Mbps, and our Upload speeds typically range between 10-34 Mbps. I appreciate you allowing me to provide you with this information"</p> <p>See <a href="https://www.t-mobile.com/responsibility/consumer-info/policies/internet-service">Internet Services | T-Mobile’s Broadband Internet Access Services</a></p> <p>Definitely not what is touted by Neville Ray. Neville does not publish any unfavorable tweets or comments!</p> <hr /><h4>It has gotten worse!   (May 12, 2021)</h4> <p>Something has been wrong with my tower for 5 weeks now. Download speed has dropped to ~25 Mbps. Sometimes just 12 Mbps. T-M support is no help.</p> <hr /><h4>I filed a complaint with the FCC (May 14, 2021)</h4> <p dir="ltr">Hi James,</p> <p dir="ltr">Thank you for your submission. Based on our review, your Ticket No. 4775183 was served on your provider on May 13.</p> <p dir="ltr">Here's what you can expect from the FCC's informal complaint process:</p> <p dir="ltr">- Your provider should contact you directly in an effort to resolve your issue.<br /> - The FCC's role in this process is to facilitate a conversation between you and your provider.<br /> - Your provider is required to submit to the FCC a written response regarding your issue no later than 30 days from today.<br /> - The FCC will not contact you until we receive a response from your provider.</p> <hr /><p><strong>Response from T-Mobile</strong></p> <p>I attached the response I received from T-Mobile. It totally fails to address the false advertising charge!</p> <hr /><table align="left" border="0" cellpadding="0" cellspacing="0" class="collapse" style="padding:0;margin:0;line-height:1px;font-size:1px;" width="100%"><tbody><tr><td class="headline" style="padding:0;margin:0;line-height:1px;font-size:1px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:none;color:#292f33;;font-size:28px;padding:0px;margin:0px;font-weight:300;line-height:36px;text-align:center;"><a class="headline" href="https://twitter.com/i/redirect?url=https%3A%2F%2Fwww.twitter.com%2Fdirect_messages%2Fcreate%2FTMobileHelp%3Fuser_id%3D185728888%26cn%3DbWVzc2FnZQ%253D%253D&amp;t=1&amp;cn=ZG1fbWVzc2FnZV9lbWFpbA%3D%3D&amp;sig=c5fa07a00748c2bbcedcc2e4f952443ffeb8f975&amp;iid=dd8ed37ba8df4885b71c34f5a72740bf&amp;uid=2527981345&amp;nid=296+2" style="text-decoration:none;border-style:none;border:0;padding:0;margin:0;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:none;color:#292f33;;font-size:28px;padding:0px;margin:0px;font-weight:300;line-height:36px;text-align:center;">T-Mobile Help sent you a Direct Message.</a></td> </tr><tr><td height="25" style="height:25px;padding:0;margin:0;line-height:1px;font-size:1px;"> </td> </tr><tr align="center"><td align="center" style="padding:0;margin:0;line-height:1px;font-size:1px;"> <table align="center" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" class="dm-box" style="padding:0;margin:0;line-height:1px;font-size:1px;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;background-color:#f5f8fa;border:1px solid #f5f8fa;border-bottom:0px;" width="100%"><tbody><tr><td style="padding:0;margin:0;line-height:1px;font-size:1px;"> <div> <table border="0" cellpadding="0" cellspacing="0" style="padding:0;margin:0;line-height:1px;font-size:1px;" width="100%"><tbody><tr><td class="320-height" colspan="3" height="20" style="height:20px;padding:0;margin:0;line-height:1px;font-size:1px;"> </td> </tr><tr><td class="inner-margins" style="width:30px;padding:0;margin:0;line-height:1px;font-size:1px;" width="30"> </td> <td style="padding:0;margin:0;line-height:1px;font-size:1px;"> <table border="0" cellpadding="0" cellspacing="0" style="padding:0;margin:0;line-height:1px;font-size:1px;"><tbody><tr><td class="dm_text" style="padding:0;margin:0;line-height:1px;font-size:1px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:none;color:#8899a6;font-size:18px;padding:0px;margin:0px;font-weight:400;line-height:24px;text-align:left;-ms-word-break:break-word;word-break:break-word;"><a height="100%" href="https://twitter.com/i/redirect?url=https%3A%2F%2Fwww.twitter.com%2Fdirect_messages%2Fcreate%2FTMobileHelp%3Fuser_id%3D185728888%26cn%3DbWVzc2FnZQ%253D%253D&amp;t=1&amp;cn=ZG1fbWVzc2FnZV9lbWFpbA%3D%3D&amp;sig=da253cda6f4802ad387b9c5e026325a44f833f81&amp;iid=dd8ed37ba8df4885b71c34f5a72740bf&amp;uid=2527981345&amp;nid=296+3" style="width:100%; height:100%; display:block;text-decoration:none;border-style:none;border:0;padding:0;margin:0;" width="100%">I appreciate you taking the time and effort to send us a DM today, James. My name is Reggie, and I did take some time to review the address you shared with us, and I want to be upfront that reviewing the surrounding area the 5G connectivity is only in our 600MHz / Band 71 5G which is our low-band 5G and which has similar performance characteristics to our 4G LTE connectivity. If you'd like to read more about our signal bands this link is a great resource: https://t.co/kZSEIVcucG? In terms of the anticipated speeds typically we’d anticipate between 19 and 76 Mbps depending on congestion in the area, the terrain, and your distance to the tower. With full bars and the speed tests you’re sharing with us along with the only 5G band with anticipated connectivity at your home being Band 71 this is expected performance for the area. </a></td> </tr></tbody></table></td> <td class="inner-margins" style="width:30px;padding:0;margin:0;line-height:1px;font-size:1px;" width="30"> </td> </tr></tbody></table></div> </td> </tr></tbody></table></td> </tr></tbody></table></div> </div> <div class="block block-layout-builder block-field-blocknodeblogfield-attachment"> <div class="field field--node-field-attachment field--name-field-attachment field--type-file field--label-above"> <div class="field-label">attachment</div> <div class="field__items"> <div class="field__item"><span class="file file--mime-application-pdf file--application-pdf"><a href="/sites/default/files/2021-06/T-MobileResponse.pdf" type="application/pdf">T-MobileResponse.pdf</a></span> </div> </div> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogcomment-node-blog"> <section> <h2>Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=203&amp;2=comment_node_blog&amp;3=comment_node_blog" token="31qpvNGDs8j4Qo1pO50K1ZcKMZQ6JZrH4BnCx3DzH7U"></drupal-render-placeholder> </section> </div> <div class="block block-layout-builder block-extra-field-blocknodebloglinks"> </div> </div> </div> Sat, 19 Dec 2020 16:58:00 +0000 jarome 203 at https://blogs.jamesrome.net https://blogs.jamesrome.net/t-mobile#comments User's review of Alcon PanOptix Trifocal cataract lenses https://blogs.jamesrome.net/PanOptix <span>User&#039;s review of Alcon PanOptix Trifocal cataract lenses</span> <span><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">jarome</span></span> <span>Sat, 12/05/2020 - 07:47</span> <div class="layout layout--onecol"> <div class="layout__region layout__region--content"> <div class="block block-layout-builder block-field-blocknodeblogfield-display-title"> <div class="field field--node-field-display-title field--name-field-display-title field--type-string field--label-hidden field__item"><h2><a href="/PanOptix" hreflang="en">User&#039;s review of Alcon PanOptix Trifocal cataract lenses</a></h2> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogbody"> <div class="body field field--node-body field--name-body field--type-text-with-summary field--label-hidden field__item"><p>I am 78, and my opthamologist said she did not know how I could see through my cataracts. Indeed, the world looked somewhat dim and yellow, but with my Zeiss varifocal eyeglasses, I could see 20-20 at all distances. But I decided that the time had come to get my yellow, cloudy lenses replaced.</p> <p>As usual, I wanted the best lenses available, and chose the Alcon PanOptix Trifocal cataract lenses (one of which was toric to correct astigmatism), even though they cost me $4000. A great introduction to these lenses is on <a href="https://www.youtube.com/watch?v=AtRNO-JRY-A">YouTube</a>. According to Alcon, here is how the lenses work:</p> <table border="1" cellpadding="1" cellspacing="1" style="width: 800px;"><tbody><tr><td><img alt="" data-entity-type="file" data-entity-uuid="b2f19187-637a-4ef7-a8be-b0ebff62d20f" height="739" src="https://blogs.jamesrome.net/sites/default/files/AlconExplanation.png" width="800" /></td> </tr><tr><td>Explanation from <a href="https://professional.myalcon.com/cataract-surgery/intraocular-lens/panoptix/">https://professional.myalcon.com/cataract-surgery/intraocular-lens/panoptix/</a></td> </tr></tbody></table><p>The operations (spaced two weeks apart) were successful, and both lenses are perfectly centered.</p> <p>The world is now brighter and whiter! Especially, it is now a pleasure to use my 32"-wide computer monitor, which is 24" from my eyes (one of the lens focal points). I can see all parts of the monitor without moving my head (to the varifocal close-up area). In the mornings, I see quite well. Unlike with eyeglasses, there is no need to look down to see close up.</p> <p>But all is not perfect. Things are too bright (perhaps) and lack the contrast I got using eyeglasses. For example, if I look at Google Maps, it is really hard to see the gray street boundaries on the white backgrounds. On my Mac, in Finder using Column View, I can barely see the vertical column boundaries.</p> <p>Even worse, as the day progresses, things deteriorate. I start to see double at all distances, but it is especially bad close up, say, reading my Kindle. The clear, sharp letters are overlaid (shifted up) by an out-of-focus version of the image. I mean overlaid literally because the out-of-focus images are raised off the page in stereo. This is really annoying and tiring for my eyes. Reading glasses do not help—I just see the double images a bit more clearly. As a scientist, I really want to understand how this happens.</p> <p>At night, all point sources of light are surrounded by concentric rings (up to 9!). This is sort of pretty. However, if the light sources are close together, it is hard to see in the overlap areas.</p> <p>I can only hope that my eyes do not tire so much as I get more used to the lenses . . .</p> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogcomment-node-blog"> <section> <h2>Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=201&amp;2=comment_node_blog&amp;3=comment_node_blog" token="yOZd9Uxi8r6Ih7TVa0TUs2CIcYxaly5_38h1PdZOtPI"></drupal-render-placeholder> </section> </div> <div class="block block-layout-builder block-extra-field-blocknodebloglinks"> </div> </div> </div> Sat, 05 Dec 2020 14:47:55 +0000 jarome 201 at https://blogs.jamesrome.net https://blogs.jamesrome.net/PanOptix#comments Updating from Drupal 8 to Drupal 9 https://blogs.jamesrome.net/d8-d9 <span>Updating from Drupal 8 to Drupal 9</span> <span><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">jarome</span></span> <span>Sat, 09/12/2020 - 13:42</span> <div class="layout layout--onecol"> <div class="layout__region layout__region--content"> <div class="block block-layout-builder block-field-blocknodeblogfield-display-title"> <div class="field field--node-field-display-title field--name-field-display-title field--type-string field--label-hidden field__item"><h2><a href="/d8-d9" hreflang="en">Updating from Drupal 8 to Drupal 9</a></h2> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogbody"> <div class="body field field--node-body field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Drupal claims that updating sites from D8 to D9 is easy. That is true if you have no additional modules installed. But in the real world, it is really difficult. I have done 4 sites now, and all were somewhat different, alas. The issue is updating the modules, or removing those that cannot be updated to D9. Here is my procedure.</p> <h3>Make sure your D8 site is fully updated</h3> <p>Update everything to the latest Drupal8 (currently 8.9.6) version.</p> <h3>Install the upgrade_status module</h3> <p><a href="https://www.drupal.org/project/upgrade_status">https://www.drupal.org/project/upgrade_status</a></p> <pre> <span style="font-size:10px;">[~/www/drupal]# composer require --update-no-dev --update-with-dependencies drupal/upgrade_status Using version ^2.9 for drupal/upgrade_status ./composer.json has been updated </span><span style="font-size:8px;">Loading composer repositories with package information Updating dependencies . . . Writing lock file</span><span style="font-size:10px;"> Generating autoload files &gt; Drupal\Core\Composer\Composer::preAutoloadDump &gt; Drupal\Core\Composer\Composer::ensureHtaccess 32 packages you are using are looking for funding. Use the `composer fund` command to find out more! [~/www/drupal]# ./drush en upgrade_status [success] Successfully enabled: upgrade_status</span> <span style="font-size:10px;">[~/www/drupal]# ./drush cr</span> </pre><p>Browse to your site, and in the  the <em>Reports</em> menu, select <em>Upgrade status</em>.</p> <p>You first need to be sure that your hosting site has all the resources you need to actually run Drupal 9.</p> <p><img alt="" data-entity-type="file" data-entity-uuid="9c053174-b8ac-4765-bedf-efdb69a91529" height="345" src="https://blogs.jamesrome.net/sites/default/files/upgradestatushost.png" width="800" /></p> <p>Your host also needs to allow you 2 GB of php memory of composer will die. If you fail any of these tests, switch your hosting server. See <a href="https://jamesrome.net/drupal/hosting">https://jamesrome.net/drupal/hosting</a></p> <h3>A Note about Composer</h3> <p>Composer 2.0rc is now available. It may solve your problems, or it may cause them. It has several important advantages:</p> <ul><li>It is MUCH faster than Composer 1.x</li> <li>It uses MUCH LESS memory, to avoid messages like:<br /><span style="font-size:10px;">Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 4096 bytes) in phar:///home/mysite/public_html/composer.phar/src/Composer/DependencyResolver/Solver.php on line 223</span><br /> and also respects memory limits such as <div style="-en-clipboard:true;">In .bash_profile</div> <div>export COMPOSER_MEMORY_LIMIT=2G</div> <div>alias comp="COMPOSER_MEMORY_LIMIT=-1 /home/mysite/www/composer"</div> </li> </ul><div>But, some module plugins are not ready for Compose 2.0, and you may get messages telling you to<br /> "--ignore-platform-req=composer-plugin-api, but this may result in broken plugins and bigger problems down the line."</div> <p>To upgrade to composer 2, do<br /> composer self-update --preview</p> <div>To revert to 1.x, do</div> <div>composer self-update --rollback</div> <div> </div> <div>If Composer gets a bad error (which early builds of 2.0 gave), rollback may not work, and you may need to reinstall composer from the Composer site.</div> <p>One of my sites would not allow me to update anything, even from the command line(!), but updating to Composer 2 solved this.</p> <h3>Clone your Drupal 8 site</h3> <p>On your current host, go into the directory above your Drupal 8 root and tar up the <em>public_html</em> directory or its equivalent. Do NOT use zip. It does not preserve permissions!</p> <pre> <span style="font-size:10px;">tar -cvf public_html.host.tgz public.html</span></pre><p>Also, using cpanel, select phpMyAdmin, and export your database.</p> <p>I use my home linux (opensSUSE LEAP 15.2) machine to do my site development.</p> <p>in /srv/www/htdocs, untar your public_html.host.tgz file:</p> <pre> <span style="font-size:10px;">tar -xvf public_html.host.tgz</span></pre><p>it will create a public_html directory with all your files. Also, use phpMyAdmin to install the exported database into your development environment. Use the same database name, user name, and password you used on your hosting server.</p> <p>I do all my development as root, so the untar will ruin the file ownership, so on my apache2 machine, I must go into /srv/www/htdocs and do</p> <pre> <span style="font-size:10px;">chown -R wwwrun:www public_html</span></pre><h3>Edit settings.php</h3> <p>If your site was set up properly, you will need to go into sites/default/settings.php and comment out the trusted_host_patterns section. Also be sure your public, private, and sync locations will work on your development machine.</p> <h3>Update or uninstall all your modules</h3> <p>This is the hard part, and it helps to have a big monitor.</p> <p><span style="color:#e74c3c;"><strong>If you do not uninstall all D9 incompatible modules from D8, the upgrade will fail, because this is the only way to properly fix your database.</strong></span></p> <p>Access your cloned site in a web browser. How you do this depends on your configuration. For example, if you are physically on the development machine, you can use <em><a href="https://localhost/public_html">https://localhost/public_html</a></em>. If your main installation is in the web directory, you may have to add a <em>/web</em> at the end. This also depends on the <em>.htaccess </em>file in your <em>public_html</em> directory.</p> <p>You will need to open two ssh windows into the <em>public_html</em> directory. In one, open <em>composer.json</em> in a text editor. In your browser, open the <em>Extend/Uninstall</em> Drupal menu.</p> <h4>The first goal is to uninstall all of your unneeded modules.</h4> <p><span style="color:#e74c3c;">After each step, it is wise to continue to check that your D8 installation works. The <em>drush updb</em> and <em>c</em>r commands should work with no errors, and your GUI Web page should still work.</span></p> <p><span style="color:#e74c3c;">You MUST first uninstall each module in the <em>Extend/Uninstall</em> Gui.</span> This gets rid of the module's entries in your database. If you do not do this diligently, you will get all sorts of errors that are impossible (for me) to recover from. Once the module is uninstalled,</p> <pre> composer remove drupal/module_name</pre><p>will remove the module from the <em>require</em> section of <em>composer.jso</em>n. In addition, this will fix <em>composer.lock</em>, which wilkl otherwise reinstall removed modules.</p> <p>It is OK to uninstall multiple modules at once, but the uninstall process might trash things like text formats, so you may also need to edit them to remove references to the removed modules before doing the uninstall.</p> <p><strong>Gotchas:</strong></p> <ul><li>The module file name may not be the thing listed in Extend/Uninstall!<br /> The module file <em>gdoc_field</em> is listed as <em>Embedded Google Docs Viewer</em></li> <li>You may have to install unwanted modules and then uninstall them in the GUI to properly remove their dependency.<br /><em>mailing_list</em> could not be uninstalled until I installed and uninstalled <em>email_confirmer</em></li> </ul><p>It is probably good to remove these module files from the <em>modules/contrib</em> directory.</p> <h4>Next, every module must be checked for Drupal 9 compatibility</h4> <p>Go through each line of the <em>require</em> section of <em>composer.json</em> and go to the module site to see if the module has a Drupal 9 version. This is easier said than done. If you are lucky, the release version will have</p> <pre> Requires Drupal: ^8 || ^9</pre><p>If it says</p> <pre> Requires Drupal: 8.x </pre><p>look down a bit for a development version. If it is dated more than a year ago, you are probably out of luck. If it is dated since the Covid era, click on it, and you may be surprised to see it is good for Drupal 9. In this case, edit the version in <em>composer.json</em> so you get the dev version. So, for example, replace</p> <pre> "drupal/front": "^1.0@beta",</pre><p>with</p> <pre> "drupal/front": "^1.x-dev",</pre><p>There is yet a third possibility: there may be a patch to make the module compatible with D9. So look at the issues and see. However, this poses a problem because you will have to jump through hoops to get composer to manage the module. What I do is remove the module from composer and patch it (if the patch works). Eventually, there will be a release or dev version with the patch included, and I can then add it back into <em>composer.json</em>.</p> <p>Otherwise, you will need to remove the module following the steps in the unneeded modules section.</p> <h4>Install the updated modules and pray</h4> <p>copy <em>vendor</em> to <em>vendor.sav</em>, and copy <em>composer.json t</em>o<em> composer.json.sav</em></p> <pre> cp -R vendor vendor.sav</pre><pre> composer update --no-dev --with-dependencies</pre><p>If you are lucky, this will work. BUT, it may not:</p> <pre> <span style="font-size:10px;">composer update --no-dev --with-dependencies Loading composer repositories with package information Updating dependencies { Your requirements could not be resolved to an installable set of packages. Problem 1 - The requested package drupal/audiofield ^1.x-dev exists as drupal/audiofield[1.0.0-alpha1, dev-1.x, 1.x-dev, 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.9.0] but these are rejected by your constraint. Problem 2 - The requested package drupal/front ^1.x-dev exists as drupal/front[dev-1.x, 1.x-dev, 1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-beta1, dev-9.1.x, 9.1.x-dev] but these are rejected by your constraint. Problem 3 - The requested package drupal/module_filter ^3.x-dev exists as drupal/module_filter[dev-1.x, 1.x-dev, dev-3.x, 3.x-dev, 3.0.0, 3.1.0] but these are rejected by your constraint. Problem 4 - The requested package drupal/uptime_widget ^1.x-dev exists as drupal/uptime_widget[dev-1.x, 1.x-dev, 1.0.0, 1.1.0, dev-2.x, 2.x-dev] but these are rejected by your constraint. Problem 5 - Conclusion: don't install drupal/core 8.9.x-dev - Conclusion: remove drupal/core 8.9.5 - Conclusion: don't install drupal/core 8.9.5 - Conclusion: don't install drupal/core 8.9.4 - Conclusion: don't install drupal/core 8.9.3 - Conclusion: don't install drupal/core 8.9.2 - Conclusion: don't install drupal/core 8.9.1 - Conclusion: don't install drupal/core 8.9.0 - Conclusion: don't install drupal/core 8.8.x-dev - Conclusion: don't install drupal/core 8.8.9 - Conclusion: don't install drupal/core 8.8.8 - Conclusion: don't install drupal/core 8.8.7 - Conclusion: don't install drupal/core 8.9.0-rc1 - Conclusion: don't install drupal/core 8.9.0-beta3 - Conclusion: don't install drupal/core 8.9.0-beta2 - Conclusion: don't install drupal/core 8.9.0-beta1 - Conclusion: don't install drupal/core 8.8.6 - drupal/module_missing_message_fixer 2.0.0 requires drupal/core ~9 -&gt; satisfiable by drupal/core[9.0.x-dev, 9.1.x-dev]. - drupal/module_missing_message_fixer 2.0.x-dev requires drupal/core ~9 -&gt; satisfiable by drupal/core[9.0.x-dev, 9.1.x-dev]. - drupal/module_missing_message_fixer 2.0.1 requires drupal/core ^9 -&gt; satisfiable by drupal/core[9.0.x-dev, 9.1.x-dev]. - drupal/module_missing_message_fixer 2.0.2 requires drupal/core ~9 -&gt; satisfiable by drupal/core[9.0.x-dev, 9.1.x-dev]. - Can only install one of: drupal/core[9.0.x-dev, 8.8.5]. - Can only install one of: drupal/core[9.1.x-dev, 8.8.5]. - Installation request for drupal/core ^8.8.5 -&gt; satisfiable by drupal/core[8.8.5, 8.8.6, 8.8.7, 8.8.8, 8.8.9, 8.8.x-dev, 8.9.0, 8.9.0-beta1, 8.9.0-beta2, 8.9.0-beta3, 8.9.0-rc1, 8.9.1, 8.9.2, 8.9.3, 8.9.4, 8.9.5, 8.9.x-dev]. - Installation request for drupal/module_missing_message_fixer ^2.0.0 -&gt; satisfiable by drupal/module_missing_message_fixer[2.0.0, 2.0.x-dev, 2.0.1, 2.0.2].</span></pre><p>So, this message tells you that for some reason, there is trouble with 4 modules.</p> <ul><li>Try installing the modules individually, e.g.,<br /><span style="font-family:Courier New,Courier,monospace;">composer require --update-no-dev --update-with-dependencies drupal/module_filter:3.x-dev</span></li> <li>Remove these modules from composer.json and try the update again. Then reinstall the modules one at a time.</li> </ul><p>Here is another gotcha:</p> <pre> composer require --update-no-dev --update-with-dependencies drupal/smtp Using version ^1.0@RC for drupal/smtp ./composer.json has been updated Loading composer repositories with package information Updating dependencies Package operations: 2 installs, 0 updates, 0 removals - Installing phpmailer/phpmailer (v6.1.7): Loading from cache &gt; Drupal\Core\Composer\Composer::vendorTestCodeCleanup - Installing drupal/smtp (1.0.0-rc4): Loading from cache &gt; Drupal\Core\Composer\Composer::vendorTestCodeCleanup</pre><p>Note that this installs phpmailer/phpmailer, not drupal/phpmailer. The former is a dependency of smtp (tthe phpmailer library) that is installed inside of <em>vendor</em>. So you will not see phpmailer in your module list (and it is not yet ready for Drupal 9).</p> <p>If at all possible, you should have a working, Drupal 8.9.x with Drupal9-ready modules, and the <em>drush updb</em> and <em>c</em>r commands should work with no errors. Id you get many conflicting dependence errors, you may have to delete <em>vendor</em> and <em>composer.lock</em>.</p> <h3>Update to Drupal 9</h3> <p>Thus far, all these changes have been performed on Drupal 8. It is possible that you have not completely eliminated all the errors above. For example, one module I needed to update would only work on Drupal 9 (probably an error in the module). But if you do not have any database errors, it is time to upgrade to Drupal 9. It is better to hit your head on the version you really want. Make a copy of <em>composer.json</em> outside of your Drupal installation so you can go back.</p> <p>Edit the require section of <em>composer.json</em> to require the Drupal 9 files:</p> <pre> "require": { "composer/installers": "^1.0.24", "drupal/core-composer-scaffold": "<strong>^9.0.5</strong>", "drupal/core-project-message": "<strong>^9.0.5</strong>", "drupal/core-recommended": "<strong>^9.0.5</strong>", "drush/drush": "^10.3", "drupal/core": "<strong>^9.0.5</strong>", ....</pre><p>9.0.5 was the current core version when I wrote this. Use the version current at your upgrade time. Then perform the update:</p> <pre> composer update --no-dev --with-dependencies</pre><p>and pray.  When I did this, there were still modules I had to fix (see below). Use the techniques discussed above.</p> <p> </p> <hr /><p>Here is what I had to do on my installation:</p> <p><strong>composer.json changes</strong></p> <pre> imagemagick ^3.1 imce ^2.3 zurb_foundation ^6.0 audio field 1.x-dev module_filter 3.x-dev uptime_widget 1.x-dev file_entity (has 9.0 available 'drupal/file_entity:2.x-dev') devel": "^4.0.0" front:1.x-dev' recaptcha ^3.0 entity": "^1.1 module_missing_message_fixer": "^2.0.0 <strong>Removed modules</strong> audio_embed_field eform video video_filter migrate_tools migrate_upgrade phpmailer httpbl libraries db_maintenance context file_entity hacked (has patches) media_entity_actions entity_extra_field <strong>to get composer update to work I also removed</strong> audiofield front module_filter uptime_widget <strong>I got more errors:</strong> [error] (Currently using Incompatible module The following module is installed, but it is incompatible with Drupal 9.0.5: * Insert Block (<strong>I removed it</strong>) Review the suggestions for resolving this incompatibility [1] to repair your installation, and then re-run update.php. [1] https://www.drupal.org/docs/8/update/troubleshooting-database-updates ) [error] (Currently using Incompatible theme The following theme is installed, but it is incompatible with Drupal 9.0.5: * Showcase Lite Review the suggestions for resolving this incompatibility [1] to repair your installation, and then re-run update.php. [1] https://www.drupal.org/docs/8/update/troubleshooting-database-updates ) [error] (Currently using Missing or invalid module The following module is marked as installed in the core.extension configuration, but it is missing: * audiofield</pre><p>I reinstalled audiofield</p> <p><span style="font-family:Courier New,Courier,monospace;">composer require --update-no-dev --update-with-dependencies drupal/audiofield:1.x-dev</span></p> <p> </p> <p> </p> <p> </p> </div> </div> <div class="block block-layout-builder block-field-blocknodeblogcomment-node-blog"> <section> <h2>Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=199&amp;2=comment_node_blog&amp;3=comment_node_blog" token="n4KGYT0bw7ha8IJLGydGVSorzecYiZKTC21_ytQqnGs"></drupal-render-placeholder> </section> </div> <div class="block block-layout-builder block-extra-field-blocknodebloglinks"> </div> </div> </div> Sat, 12 Sep 2020 19:42:29 +0000 jarome 199 at https://blogs.jamesrome.net https://blogs.jamesrome.net/d8-d9#comments