Search This Blog

Tuesday, February 8, 2022

איפה קבצי הקלטת הקול בxiaomi/אנדרואיד ?

מצאתי עצמי מקליט איזשהוא קטע קולי. רציתי להעביר אותו למחשב לפני שאני שולח אותו למישהו אחר. 

ואז התחיל הקטע המביך - אני מחפש ומחפש - ולא מוצא איפה שומר xiaomi  את הקבצים של מקליט הקול. 

עברתי לגוגל - ולהפתעתי, אפילו כמה וכמה חיפושי גוגל לא הניבו תשובה שהיתה נכונה למכשיר שלי. אני מניח שזה בגלל שינויים בגירסאות אנדרואיד או בגירסאות MIUI לאורך השנים. לך תדע. זו לא היתה סוגיה מהסוג המטריד מספיק להתחיל בעיונים בארכיאולוגיה של המערכת. 

מאחר והחיפושים על המכשיר דרך הUSB או דרך מנהל הקבצים לקחו המון זמן, ונמאס לי לחכות באיזשהוא שלב, הזכרתי לעצמי מושכלות ראשונים, ורפרפתי על תיקיית android והנה - 

Android\data\com.android.soundrecorder\files

ובא לציון גואל. 


Sunday, January 16, 2022

איך נפטרים מהקובץ hiberfil.sys בחלונות 10 ?

חלונות 10, כמו קודמותיה, נוטה להתנפח לה אט-אט ככל שהיא מתבגרת, וכך שוב מצאתי עצמי מתמודד עם דסקטופ שנעלם לו קצת מרחב אחסון בעקבות עוד עדכון חלונאי זללן במיוחד. התהליך של איתור תופשי המקום וההכרעה מה לפנות מוכר לכל מי שעובד עם חלונות ודואג להפריד בין מחיצת הנתונים למחיצת הסיסטם. ומה שעצוב הוא כמובן שמרחבי אחסון שפעם נחשבו כאילו שיספיקו לכל חיי מערכת-ההפעלה, הולכים ומתגלים כלא מספקים (כן, חלונות 10 מייצרת משברים גם עם מחיצה של יותר מ-100GB). 

במילים אחרות, בן-אדם קם בבוקר, ומתברר שבמחשב שבדרך שגרה יש בו כ-15 GB פנויים במחיצת הסיסטם, אין מקום פנוי בכלל. מה עושים ? מחפשים קודם כל להיפטר ממספיק קבצי-זבל או מיותרים כדי שהמחשב יחזור לתפקד בצורה סבירה, ואפשר יהיה להמשיך ולפנות מקום. 

אלא מה? מחיקת הקבצים בתיקיית windows\temp לא הועילה. והבן-אדם בכל זאת רוצה לעשות עוד דברים עם הבוקר שלו. שיטוט מהיר בכונן הסיסטם מגלה את hiberfil.sys. בדסקטופ, כן? אני יודע שיש אנשים שאוהבים לשלוח את המחשב שלהם לשינה, אבל אני מחזיק באסכולת 70% מהתקלות קורות בכיבוי/הדלקה, אז עדיף לא לשלוח לשינה, ומכאן שעבורי הקובץ מיותר לגמרי. 

אז איך נפטרים מhiberfil.sys בחלונות 10 במהירות ? 
פותחים cmd במצב מנהל-מערכת, ומקלידים - 
powercfg -h off
הפקודה גם מבטלת את אפשרות ההיברנציה של חלונות, וגם מוחקת את קובץ hiberfil.sys. 

ועכשיו, כשיש מספיק מרחב מחיה, אפשר  להתחיל לצוד את מרחב-האחסון האבוד. 

(ואם נורא רוצים להחזיר את ההיברנציה? powercfg -h on).

לקריאה נוספת

Thursday, December 2, 2021

https redirection in Google Blogger no longer takes place ?

 A few years ago, Google Blogger made the move to HTTPS. Most of what used to be my thriving blogosphere is no longer active, but a random discovery raised a concern - one of my blogs was delivered by plain HTTP. 

As these are text-only blogs and users are not requested to provide content, it might not be the sky is falling/end of the world security bug but in this age of HTTPS norm it is not what one wishes to see when one surfs to any website. Yes, whatever the website's nature and if only for users privacy preferences all internet websites should adopt HTTPS as default, as EFF has been promoting for ages

But why did a blog I remembered being delivered as HTTPS suddenly change its behavior? A quick check raised an interesting phenomena - it was not just that blog. In different blogs, with similar configuration regarding HTTPS redirection, there was a different behavior. In some the user was redirected to HTTPS, in some, the user received the contents via HTTP. 

Well, it appears I've been unknowingly relying on some technical setting that was not promised. When google turned HTTPS on by default for all the blogs running on the blogger framework (blogs using custom domains were excepted from the move to HTTPS) I saw in testing for most of my blogs (who at that time were without a custom domain) that HTTPS was automatically turned on, and assumed that no further configuration was necessary. 

But now, viewing different blogs with similar configuration regarding HTTPS, I saw a difference - different templates. It seems that Google Blogger changed something, either intentionally or by way of a new bug, and now, for some templates, HTTPS is provided only if HTTPS redirect is turned on. For others, it was still HTTPS regardless of the HTTPS redirection setting, as in the past. 

Why this has changed? I don't know. But I certainly do not accuse anyone. It was my mistake not to turn on HTTPS redirect back then. Having done that, now all the blogs provide HTTPS secured content on the go. 

It is one of those examples where you unintentionally rely on a specific behavior of a technical tool, not realizing that this behavior appears to be what you wish, but is actually an outcome of some other default, that may change. This, again, is a reminder how important it is not to skip parts of the setup, even if the final outcome seems correct at the moment. Otherwise, the complexity of software shall return to haunt you in the future, exposing assumptions that were not completely accurate. 

TLDR: Tools change, default behaviors change, and one needs to foresee that when setting up a tool. Now that HTTPS redirection in Google Blogger no longer takes place for some templates, and the setting of redirection is taken into account, a careful blogger needs to make sure to set HTTPS redirection to yes. 


Sunday, October 17, 2021

How to uninstall "Microsoft Your Phone" App ?

Well, it can happen to anyone. A friend of mine mislead me about "Microsoft Your Phone", the app that lets you connect smartphones to windows and operate some of their functionality. He thought that it can be used with any smartphone, to operate every aspect of the smartphone, with a stress on the ability to run any smartphone app directly from your computer, using YourPhone App. 

Turns out it works like that only with his brand of smartphone - Samsung, but with mine (which shall be kept anonymous for miscellaneous reasons) "your phone" only supports basic functionality - messages, calls, notifications and file transfer. 

My need was the ability to centrally use all communication apps in one spot. And being unable to control all messaging apps, made MsYourPhone rather pointless in my mind, especially considering that vast amount of permissions I had to provide it, and my basic suspicion in anyone asking so much intrusion into my phone (and yes, I am well aware that both Google and the phone's manufacturer have such a potential intrusion into my life. that is the price I am forced to pay if I wish to use a smart phone). 

All of this introduction was told to explain how and why I found myself with the wish of uninstalling Your Phone. 

But lo and behold ! 

Like a villain from a movie, the did not lend itself to being uninstalled ! 

The uninstall button was greyed out ! 

Terminating the app, making sure it did not run in the background - nothing helped ! 

Screen Capture of Your Phone App settings showing uninstall option greyed out
But with the internet at out fingertips, there is always the chance that someone else has already tackled this. And indeed - A quick search brought me to a good explanation how to uninstall Your Phone from Windows using Powershell as a management tool.  

The following command  (used in powershell run as admin) - 

get-appxpackage *yourphone* -allusers|remove-appxpackage

did the trick.  

Farewell, Microsoft Your Phone. 

Now, all that remains is finding that central solution (: 


Further reading





Thursday, September 30, 2021

converting old hebrew,reversed or gibberish to readable hebrew using Pixiesoft's flip

Every now and then I find myself opening an old text file, and face old hebrew that isn't readable. 

We are not talking here about lacking hebrew support for non-unicode programs (which is a problem that can be sorted out easily going to control panel\time & language settings\ language \ administrative language settings  - 

screen shot of the administrative language settings window

and changing the system locale ). 

No, we are talking on situations where the file's contents is some form of older hebrew text that has matching problmes of the types of yester-years, such as DOS/Windows, visual/logical, encoding issues, RTL/LTR and other issues which create a situation where an old file is displayed as gibberish or reversed. 

It can be so annoying, and therefore it was such a relief to find a reliable service. Having run into Pixiesoft's online Flip tool a few years ago, I've happily used it several times and found it very helpful. 

Now, that I've realized that for some reason, it isn't as easy as it should be to find this very useful conversion tool using internet search, I thought such a post would provide a useful record for me, and it might also help others who need a useful free internet service to convert older Hebrew texts. 




Sunday, August 1, 2021

How to move all windows in one click between monitors

I've been working with more than one monitor ever since the beginning of the Zoom epidemic, one of the side-effects of the Corona era. My main reason for sticking to one monitor till then was ease of use and the difference of viewing comfort between the larger monitor and the laptop's built-in monitor. And yes, I know that other people would disagree with me, and claim that a two monitors solution is always the easiest and best. To this I would normally reply - to each his own. 

But these, sadly, are not normal times. And thus I found myself needing the extra monitor for the aspect of communications, and a small problem kept raising its annoying little head: How can you move all windows in one action between the monitors?  

The need for this would rise on different occasion, but the most common is when you work outside your regular working place, as you get back home, and reconnect the laptop, all windows remain on the laptop's monitor, and  if you want them to move to the main monitor, you need to do it one by one. 

I am sure you would all agree that this is an annoying thing to do. 

Happily, after being slowly annoyed by this for some time now, I finally took the time to conduct a little search, and ran into a solution, in the name of: Display Fusion, a Multi-Monitor management software. 

Display Fusion brings to the table a lot more that I needed - it has powerful features like taskbars, title bar buttons and fully customizable hotkeys. With a purpose of easy management of your multiple monitors, it kind of seems silly to use it for a single purpose - but it seems justified in my eyes, considering those annoying times of passing one window at a time between monitors. 

Now, all that I have to do is make sure I have one windows in the 'right' monitor, click the new button added to all apps upper bar - 


maneuver the menu, till I get to the "move all windows to the current monitor" option - 

opened tree menu of displayFusion software - showing the move all windows option selected

and there it is ! all windows are transferred to the right monitor, without the past choose and winkey+shift+left-arrow mess for each and every opened window.  

a few remarks before the end of this post: 

1) I was sure there would be a built-in option for this in the operating system - and surprisingly, there seems to be none, and this situation appears to characterize both windows and Linux! 

2) For persons working with multiple desktops or with a desktop (not a laptop) this post might seem useless. Be happy for not encountering other people's troubles (: 

3) DisplayFusion comes in a free version and a paid version. At least at this stage I am using the free version, which suits my needs. As far as I could understand the license agreement this is not a limited-time free usage license, but as always - if you find the cost/effect aspect beneficial - always support developers and pay for the software you use. I intend to do so, once I am satisfied with my trials. 

4) last, but not least, lest it disappears within the text- the Link to DisplayFusion Website


Friday, July 9, 2021

יש לכם בעיות סטרימינג מהmoodle? שקלו להחליף את האנטי וירוס

אחת מהחובות המוזרות שלך כמנהל התשתיות הביתיות היא להתמודד עם תקלות שבאמת קשה לברר את מקורן. הסטודנטית של הבית לומדת לבחינה, ובמסגרת הזו רצתה לצפות בהקלטות אחד הקורס מהmoodle  של האוניברסיטה אבל זה כל הזמן נתקע לה. 

אחרי נסיונות לבדוק אם יש משהו שגורם לתקיעת הסטרימינג הזו, ובהם - 

  • הצפוי, כמו בדיקת תקינות ומהירות החיבור לאינטרנט של המחשב שלה, תקינות הקשר עם שרתי האוניברסיטה וכד';
  • וגם המוזר יותר כמו נסיונות ריקון הcache של הדפדפן, דפדפנים שונים, חיבור מחדש וכו';
שלחתי אותה לנסות שוב במחשב 'הציבורי' של הבית, כלומר זה שבסלון. 

אחרי שגם זה לא עזר, והסטרימינג של השיעור המשיך להיתקע עם התחלתו, החלטתי, לפני שאני גולש לפוליטיקה של מנהלי-תשתיות ומאשים את שרתי האוניברסיטה, לנסות במחשב שלי. שם, למרבה ההפתעה זה עבד ללא שום קושי. 

בחינה של החשודים האפשריים שחוסמים את הזרמת התוכן משרתי האוניברסיטה העלתה את האנטי-וירוס. במקרה הזה - KASPERSKY CLOUD. 

כן, הבנתם את המשתמע - אלה לא אותם אנטי-וירוסים בכל המחשבים. אני מנצל את היתרונות של היותי מנהל תשתיות בהיקף קטן, ודואג שיהיו במחשבים השונים אנטי-וירוסים שונים; קצת פחות נוח לניהול, אבל הגיוון, להשקפתי, נותן ביטחון רב יותר.  

משום מה קספרסקי לא טרח לציין בשום מקום, לא בlog, ולא בהודעה,  שהוא החליט לחסום סטרימינג מאחד משרתי האוניברסיטה. 

ובכל זאת, אחד היתרונות הבולטים של היותך מנהל תשתיות של עצמך זו היכולת לבצע ניסויים במהירות, ובהתאם להם להחליף כלים במהירות. מבט זריז ברשימת האנטי-וירוסים החינמיים המומלצים לשנת 2021 של PC Magazine, הסרת החשוד המיידי, התקנת מועמד חדש, ניסוי ובחינה - הבעיה נפתרה והחשוד הורשע. 

אז לא כל האנטי וירוסים יוצרים בעיות סטרימינג מהmoodle של האוניברסיטה. 

אבל מתברר שהkaspersky cloud security הוא אחד מאלה שכן. 

שווה לדעת, אם במקרה אתם נתקלים בבעיה דומה.