Search within Lanny's blog:


Leave me comments so I know people are actually reading my blogs! Thanks!

Tuesday, January 02, 2024

Daily Battles: The library “Photos Library.photoslibrary” could not be recognized.

Got an error when I tried to open the Photos app on my Mac (M3 Max Sonoma 14.6.1) today:

The library could not be opened. 

The library "Photos Library.photoslibrary" could not be recognized. 

My best guess is that the library file got corrupted during Mac System Updates. Did some quick research and found the solution.

Solution:

Step 1: Try to use the Mac Photos Library Repair Tool to repair it.
Hold down the Command and Option keys, click to open Photos, and then click Repair. You might be asked to enter your user account password.


Step 2: If the repair fails, simply click Open Other.
Step 3: Click Create New to create a new photo library.
Especially if you don't see anything listed.


Step 4: Create the Photos Library 2 library.
Your Mac might not let you save it as the Photos Library (the default one) because that one exists and is corrupted.



Step 5: Go to Settings and click "Use as System Photo Library" (the grayed-out button in the screenshot below).



Step 6: You can choose to sync your iCloud Photos if you desire.


That's it. Now your Photos App should be as good as new, and hopefully, your day gets better from here!


Leave a comment if you find my blogs useful. You can also follow me on Twitter for more useful tips and tutorials!





There's always a way! 







BTW: The easiest way to remember my blog address is blog.lannyland.com

Tuesday, January 26, 2021

The Outcast: Volume 1 Chapter 1 (2)

Read all chapters by blog label: The Outcast Posts Label.

Volume 1 Eastwood is All Boulders
Chapter 1 Parade at the Bell-Tower Street (2)

"Soap opera is all a commoner need!" Bao-Longtao thought to himself as he strode down Bell-Tower Street in the cold breezes and glanced at the indifferent residents drinking in taverns around the corners of the street.

 

Bao-Longtao, Deputy Chief of the Riverwest State Second District Police Department, was also one of the Eastwood Boulders. His face was always as stern as a boulder. For the gang members haunting the Bell-Tower Street neighborhood, this face represented immense awe and terror. Whenever he patrolled Bell-Tower Street, those black-market wild-buffalo-meat peddlers would scatter at the speed of a galaxy battleship. With his sharp-looking black police uniform and the seven subordinates following behind him, they always made an extraordinary scene.

 

Bao-Longtao suddenly remembered that there were also three reporters by his side today. Feeling a jolt in his heart, he tightened his collar button out of habit and then turned around steadily to face the reporter, a young woman holding a microphone in her hand. A forced smile slowly spread across his face as if the exterior of a boulder had suddenly split open.

 

"Public safety at Bell-Tower Street has always been outstanding …," Bao-Longtao said in a calm voice to the best of his abilities. He didn't want to leave the slightest impression of carelessness. This assignment had come straight from the Riverwest State Governor's Office. Something Deputy Chief Bao dared not to handle hastily.

 

Sensing the Deputy Chief's uneasiness, several aides from the police station's public relations office quickly took over and carried on the conversation with the reporters. Bao-Longtao secretly heaved a sigh of relief and shook his head gently.

 

He had served in the Eastwood Grand District for thirteen years, still seven years shy from completing his term stipulated by the Federation Government's Eastwood-Aid Act. However, he knew he wouldn't stand another seven years at a place filled with deathly staleness. Would he eventually resort to watching TV to kill time every day, just like those jobless miners?

 

The Federation had stringent regulations. Although promotions usually came quicker at the Eastwood Grand District compared to other places, transferring to the Capital Star Circle or the Westwood Grand District was only possible after a lengthy time of service. Bao-Longtao did make acquaintances with a few outer circle members of the Eminent Families. Still, he knew all too well that none of those cautious Families would spare any effort on him, an insignificant Deputy Chief.

 

A better option for him would be to spend more effort on political achievements for his post. That was also part of his consideration when he decided to show these reporters around Bell-Tower Street personally.

 

……

……

 

The tiny trace of frustration on Deputy Chief Bao's face didn't last long and quickly turned into astonishment!

 

Even the curious questions from the female reporter skipped his ears. His murderous gaze shot right over the female reporter's shoulder and landed at the junction where four alleys joined Bell-Tower Street.

 

It was hard for the reporters to miss the Deputy Chief's unusual reaction. His face was now purple and all tensed up. It looked like a boulder at the bottom of the river covered by decades of moss, ready to transform into a terrifying monster at a moment's call.

 

Glancing over the direction of Bao-Longtao's gaze, the reporters couldn't help but gasp, and the female reporter even uttered a cry.

 

Only a moment ago, a cool breeze still swept along the peaceful street. But in the next moment, the sounds of countless footsteps suddenly resonated in the streets. The steps were not in sync, nor were they as intense as drumbeats, but the sounds were so dense that anyone could tell it had to be from a large crowd marching out.

 

The noisemakers emerged at Bell-Tower Street in no time. Mobs of people stormed out from the four alleys all at once and quickly occupied the majority of the intersection and sidewalks. The entrance was so dramatic that those Eastwood residents occupying themselves with coffee and alcohol looked out of the window in shock. And the faces of the police officers and the reporters all turned pale.

 

The mob streaming out of the four alleys consisted of only young boys. Even the oldest amongst them were merely 15 or 16 years of age. Some of the younger ones still had blemishes of mud on their faces, making it hard to tell whether they were over ten or not.

 

The boys wore various clothes but with one particular trait in common, disturbingly. Each one wore something black: black jackets, black sweaters, or black t-shirts. One boy probably failed to find a black piece of clothing from home. Instead, he wore a blue miner's work coat covered by black tar from mining, which probably had not been washed for years.

 

There were over one hundred boys, all in black, funny-looking yet oppressing. They came out of nowhere, walked to the middle of Bell-Tower Street, right in front of Deputy Chief Bao and the reporters.

 

Deputy Chief Bao took a step forward and stared furiously at the boy in the very front of the group. He knew that boy.

 

The female reporter took several steps back instinctively and cautiously peeked at the boys' faces, wondering what these boys in black were here for and whether her safety was at risk.

 

"What are you doing here? You should all be at school right now!" Deputy Chief Bao roared sternly.

 

Usually, such a roar would have any gang leader of the Bell-Tower Street scatter in terror. But this time, all the boys only responded with disdain. No one reacted to his demand.

 

The leader of the boys had maturity exceeding his age. He kept his eyes wide open and stared right back at Bao-Longtao without a cringe.

 

"We have the right to petition!"

 

"Petition?" Hearing that word, the female reporter hiding behind Deputy Chief Bao felt a sudden surge of excitement. Sticking her heavily makeup-covered face out from hiding, she asked in a quivering voice, "What for?"

 

The leader boy did not answer the reporter's question right away and instead raised his fist high in the air. Seven or eight banners rose high immediately from the group behind him, each painted with big, bright, and striking words.

 

"Stop Local Protectionism!"

 

"No More TV Censorship!"

 

"We Want Federal Channel 23!"

 

"We Want to Watch Jian-Shui-Er!"

 

Even that youngest boy hastily wiped his dirty face and shouted with the utmost grief and resentment. But his still high-pitched voice and childish face made him look more amiable yet comical.

 

......

......

 

The female reporter had thought that she just got her hands on some excellent news material, but when she read the demands on the signs and banners, she found herself dumbfounded. Turning towards Deputy Chief Bao with a lost look, she asked.

 

"Who…who are these kids?"

 

Deputy Chief Bao's anger was about to explode. Taking his eyes off those silly banners, he cursed with clenched teeth.

 

"A bunch of bastard orphans!"

 

……

……


Previous ChapterNext Chapter

Support translator Lanny by leaving comments below and also spreading the word about this great story!



Picture of the Day:

Lanny against an apple tree. Lanny 1 : Tree 0



BTW: The easiest way to remember my blog address is http://lanny.lannyland.com

Monday, January 25, 2021

The Outcast: Volume 1 Chapter 1 (1)

Read all chapters by blog label: The Outcast Posts Label.

Volume 1 Eastwood is All Boulders
Chapter 1 Parade at the Bell-Tower Street (1)

When viewed from high up in space, Eastwood was a beautiful planet. Illuminated by sunlight shining through sprinkling space dust, the blue oceans, the large patches of green wildernesses, and the numerous strikingly pale mine craters all radiated with a dim aesthetic splendor. The view looked just like a beautiful painting, only that it had been set aside for many years, covered in the dust of time.

 

However, for the Eastwood Grand District's many residents and orphans, this was only a planet full of boulders, nothing but boulders. In their once determined but now apathetic eyes, even those patches of green plains were only grass layers that covered up the true wealth and the glorious history of the planet. They had grown accustomed to seeing right through the green grass and looking straight at the mineral veins beneath, something longed for by every Eastwood resident.

 

According to the federal district zoning, Eastwood was a Level-Two Grand District, with the same prestige as the three dazzling planets in the Capital Star Circle and the Westwood Grand District. However, for many citizens of the Federation, the far-away Eastwood was a forgotten land. Only on rare occasions, such as the 600th anniversary of the Founding of the Federation Government, the name Eastwood might still show up in celebration ceremonies. Most of the time, Eastwood had ceased to exist in the minds of the people who lived in affluent civilizations.

 

The Eastwood Grand District included only one planet, the Eastwood Planet. It might sound a bit silly, but it signified that Eastwood Grand District's name came from the Eastwood Planet. This lonely planet, which hung along the outermost region of the Triangle Galaxy, once held vital significance for the entire human civilization in the ancient past.

 

Nevertheless, ever since the various kinds of ores had been completely depleted, the Eastwood Planet gradually turned into a deserted planet. Now it only has boulders, no more ores, just worthless boulders.

 

……

……

 

Those with means to escape Eastwood had left a long time ago. They successfully acquired their residence transfer approval through either specialized skill sets, wealth accumulated over the years, or sponsorship from relatives living in the Capital Star Circle or the Westwood Grand District. Boarding the departing flights, which became lesser and lesser frequent due to energy shortage, they abandoned this withering planet, never looking back.

 

After all, only a trivial percentage of the residents were able to obtain the residence transfer approvals. The partly abandoned planet still had to support the lives of many. In a well-developed civilization, food and shelter were no longer problems people need to have a concern. Residents of Eastwood Planet still lived a peaceful life. The many social infrastructures and welfares stayed their vital roles just as before, and monetary currencies remained in steady circulation. This world still had corporations, airports, food processing factories, Mech maintenance stations, supercomputer networks, and even an armory.

 

What they could have and what they should have, the Eastwood Grand District had them all. Yet, they failed to conceal that dim feel of lifelessness. Staleness kept seeping out from every street corner, every building, and every face of those who had nothing to do other than holding their coffee cups and planting themselves in front of a television.

 

The thousands of years of ore production provided continued support to the Federation, like how a large river kept nourishing the lands along the riverbanks. But when the river gradually dried out and eventually turned into a small foul-smelling creek, the support coming back from the Federation was distinctly insufficient – because, for humankind, happiness is more than merely staying alive.

 

The long history taught the Eastwooders to be hardworking, steadfast, and unyielding. Countless mining accidents throughout the past did not make them cringe a bit. The dull present, however, filled them with sorrow and helplessness. There was no more mine to dig. There was nothing to do. Without even the possibility of a mining accident, a boring life was not the kind of life an Eastwooder would desire.

 

Hardworking and unyielding Eastwooders earned themselves the nickname "Eastwood Boulders" in the Federation. Today's Eastwooders became boulders even quieter and more indifferent, turning themselves into stone statues in armchairs and couches at home, as though they would never move again.

 

……

……



Support translator Lanny by leaving comments below and also spreading the word about this great story!



Video of the Day:

Isaac playing Chopin's Waltz in A Minor





BTW: The easiest way to remember my blog address is http://lanny.lannyland.com

Sunday, January 24, 2021

The Outcast -- 27 Glasses of Wine

Read all chapters by blog label: The Outcast Posts Label.

Twenty-Seven Glasses of Wine is a poem that appeared many times in Maoni's book, The Outcast. Here's the translation:

Twenty-Seven Glasses of Wine


With the 1st glass of wine, shining with the sun high in the skies.
Ivy vines outside of the window crept into my eyes.

With the 2nd glass of wine, rippling in the spring breeze.
Gently kissing my brows were the leaves from the trees.

With the 3rd glass of wine, birds chirped Mozart,
Just like love nibbling my heart.

With the 4th glass of wine, shadows climbed the windowpane.
Couldn’t remember who I am I tried in vain.

With the 5th glass of wine, the lad rises up and glides,
Over troves of trees waving like green tides.

With the 6th glass of wine, following a winding path I descend.
Will a girl be waiting at the end?

……   

With the 11th glass of wine, among the green mountains steep,
Resting by a rock the tipsy graybeard fell asleep.

With the 12th glass of wine, I looked over the cliff-brink,
Thousands of years had gone by within a blink.

With the 13th glass of wine, on top of a snail’s feeler,
The world there was as weary as the world here.

With the 14th glass of wine, the world blurred as eyelids grew heavier,
People around the bonfire were getting sleepier.

……

With the 25th glass of wine, memories of father sprang to mind,
As raindrops rolled down the window and made me blind.

With the 26th glass of wine, when busy flies finally stayed,
Like us hiding under leaves watching the autumn rain fade.

With the 27th glass of wine, let tears stream,
I set down the empty glass together with my dream.

Here's the original poem in Chinese:

二十七杯酒


第一杯酒,阳光明媚,窗外的青藤爬进了我的眼。
第二杯酒,春风轻漾,叶梢轻拂着我的眉。
第三杯酒,鸟儿鸣叫,轻啄着我的心。
第四杯酒,影上窗楣,让我忘了我是谁。
第五杯酒,少年将飞,穿越层林叠翠。
第六杯酒,石径弯弯,尽头有位姑娘。
……
十一杯酒,群山苍翠,有个老翁枕石而醉。
十二杯酒,临渊而窥,山崖还给年岁。
十三杯酒,蜗牛有角,彼世界如此世界一般疲惫。
十四杯酒,迷眼渐累,火堆旁的人们渐要沉睡。
……
二十五杯酒,想起父亲,窗外的雨点坠了下来。
二十六杯酒,乌蝇不飞,若心悸的你我躲在叶下看秋雨渐衰。
二十七杯酒,弹几点泪,轻轻放下酒杯。

Previous ChapterNext Chapter

Support translator Lanny by leaving comments below and also spreading the word about this great story!


Video of the Day:

Both my daughter and I are in this video about the ping pong club.




BTW: The easiest way to remember my blog address is http://blog.lannyland.com

Saturday, January 23, 2021

The Outcast -- Teaser

Read all chapters by blog label: The Outcast Posts Label.

The Outcast is a book written by Maoni, a renowned author in China. Many of his works are well received by readers have been adapted to TV series. Out of all the books he wrote, The Outcast is undoubtedly my favorite one. In fact, I liked it so much that I named my house after one of the characters in the book. 😄

The Outcast was named first place in the 20 Top Internet Novels in the Last 20 Years by the China Writers Association (the most authoritative body of writers in China).

I have never met Maoni in person. We only communicated in writings from time to time. Maybe because we were born in the same era in China (we were referred to as the 70s generation), we share many common backgrounds and interests. That made it easier for me to pick out the many hidden gems (references) in his writing.

Maoni, Author of The Outcast
Maoni has very kindly authorized me to translate his book The Outcast to English and post them on my blog and my website. This is a Dang Long book with TOO many chapters. But it is also a Dang Good story. I dream that one day I can finish and publish this translation, so the story can compete for the Nebula Awards and the Hugo Awards. Maybe the book can even be considered for a film adaptation and one day be put on the big screens to reach even more audiences.

I am getting up at 5:30 am every day to dedicate time to my translation (of this book and also the Smiling Proud Wanderer book). In the distant past, I had translated a few chapters of the book. Now equipped with better tools and stronger dedication, I hope to go much further much longer.

I will be posting the latest translation drafts on this blog first:
Address: http://lanny.lannyland.com or http://blog.lannyland.com
Label: The Outcast

After further editing, I will also post the finished translation on my website:
Address: http://www.lannyland.com/translations.shtml

Enough said. Now check out the teaser remarks the author wrote for each volume of the book.

The Outcast

Two things fill the mind with ever-increasing wonder and awe, the sacred
moral principles within us, and the starry grandeur above our head. 

  -- Kant

Volume 1 Eastwood is All Boulders

One should have character as unyielding as a boulder, and a heart as broad as the ocean, the unattainable virtue I will always yearn for.

Volume 2 Bell Tolls at Upperwood

For whom the bell tolls? It tolls for those who heed.

Volume 3 Journey to Westwood

Our journey is not toward the ocean of stars, but to Westwood, the place of death and rebirth.

Volume 4 Stars and the Fleeting Years

Aren’t we all characters in a play where life always revolves between joy and sorrow? The world changes day by day, but the stars and memories linger…. The stars, the memories, and the fleeting years.

I hope you enjoy this story as much as I do!

Previous ChapterNext Chapter

Support translator Lanny by leaving comments below and also spreading the word about this great story!






Better late than never! 







BTW: The easiest way to remember my blog address is http://blog.lannyland.com

Friday, January 22, 2021

Daily Battles: How to Change Default App for Different Files Types (PDF) on a Mac in macOS

In Windows, if you want to change the default application to open a certain file type, you just have to right-click on the file and then select Choose another app


For macOS, it is a completely different story. What you have to do is to open Finder first, and then locate the file you want to change default app. Right-click on it and then select Get Info.


Next in the Get Info screen, look in the middle of the window and find Open With. Click on that to open a dropdown menu where you can select the default application you want to use to open this type of files.

Then make sure you click the Change All button (I made the mistake of not clicking this and had to do the entire thing again) to apply to all files of this type, and click Continue to save it.


That's it. Leave a comment if you find my blogs useful. You can also follow me on Twitter for more useful tips and tutorials!


Video of the Day:

Be creative! Make friends of ducttape, paper clip, super glue, and W-40!!






Problem solving is a fun brain exercise. 







BTW: The easiest way to remember my blog address is blog.lannyland.com

Thursday, January 21, 2021

Daily Battles: Avoid Clicking the Wrong Button (Add to Tasks) in Google Gmail

Google really wanted to promote their Google Task app, so they added a button called Add to Tasks to the Gmail inbox user interface. And they intentionally put it right next to the Move to button (which I use frequently), so people will accidentally click the wrong button and then get sent to the Google Tasks user interface.

THIS IS JUST DRIVING ME NUTS!!!

And guess what, there's NO WAY to remove that button from the menu. Absolutely NO WAY.

Well, since Google removed the "Don't Be Evil" clause from their corporate code of conduct in 2018, this does not surprise me a bit.


Google is in some kind of a hot seat with the recent news of Google firing prominent AI Ethics researchers, and Samy Bengio resigns as a form of protest. So I don't think they'll care too much about my ranting here.

Google UI Sucks!!

And they just forced me to move my Google WiFi into Google Home, and now the UI Sucks Big Time!!

Anyway, back to the main point of this blog. I finally figured out a way to deal with this inconvenience of clicking Add to Tasks by mistake (and then requires multiple clicks to correct it). And I hope for others who feel just as frustrated as me, this can be of some help!

BTW: I tried changing buttons from text to icon. Not really helpful. I still click the wrong icon. But you can still give that a try. Here's what I recommend:

Solution:

The solution is to use customized keyboard shortcuts!

If you click the gear icon on the top right corner of Gmail to go into the Settings screen, find a button on the menu called Advanced and click that. Then find the entry called Custom keyboard shortcuts and enable it. Don't forget to save.


Now if you go back into the Settings screen, you'll see a new button in the menu called Keyboard Shortcuts. Click that to see your current keyboard shortcuts. You can also create your own. I am just happy with the default one, so I can just click the key V to open the Move to dropdown menu and avoid clicking the stupid Add to Tasks button.


Leave a comment if you find my blogs useful. You can also follow me on Twitter for more useful tips and tutorials!


Video of the Day:

30 Days Timelapse from a Cargo Ship






Corporations are just evil. So don't expect them to Do No Evil. 







BTW: The easiest way to remember my blog address is blog.lannyland.com

Wednesday, January 20, 2021

Daily Battles: How to Reboot Windows Through Remote Desktop Connection

If you have multiple computers and need to remotely control one or more Windows computer(s) (even from a Mac or your phone), Remote Desktop is a great tool you can use to achieve that.


If your Remote Desktop is not enabled, you can follow this link to enable it:

https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/remote-desktop-allow-access

However, you'll find that through a Remote Desktop Connection, you can't really restart your computer remotely. This is designed to prevent remote users to do damage to your computer. But for someone who knows what he is doing, and actually wanted to reboot the computer, this can be super annoying.

But lucky for you, here's a small hack that will let you reboot your computer at will!!!

Solution:

There's a command line tool you can use called shutdown.
Just open a Command Prompt (click Start Icon and then type CMD), and then type:
shutdown -r -f -t 0
-r means reboot, -f means forcing apps to quit, and -t 0 means do it right now! Just hit Enter to reboot!


 The shutdown command is built in with your Windows Operating System. You can also use this command for other purposes, such as just shutting the computer down or reboot another computer on the same network (I can't use this cause I am on a Mac). Just type shutdown and hit Enter will show you all the available options. I'll list them here for your convenience.

C:\Users\Lanny>shutdown

Usage: shutdown [/i | /l | /s | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/f]

    [/m \\computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]]

    No args    Display help. This is the same as typing /?.

    /?         Display help. This is the same as not typing any options.

    /i         Display the graphical user interface (GUI).

               This must be the first option.

    /l         Log off. This cannot be used with /m or /d options.

    /s         Shutdown the computer.

    /r         Full shutdown and restart the computer.

    /g         Full shutdown and restart the computer. After the system is

               rebooted, restart any registered applications.

    /a         Abort a system shutdown.

               This can only be used during the time-out period.

    /p         Turn off the local computer with no time-out or warning.

               Can be used with /d and /f options.

    /h         Hibernate the local computer.

               Can be used with the /f option.

    /hybrid    Performs a shutdown of the computer and prepares it for fast startup.

               Must be used with /s option.

    /e         Document the reason for an unexpected shutdown of a computer.

    /o         Go to the advanced boot options menu and restart the computer.

               Must be used with /r option.

    /m \\computer Specify the target computer.

    /t xxx     Set the time-out period before shutdown to xxx seconds.

               The valid range is 0-315360000 (10 years), with a default of 30.

               If the timeout period is greater than 0, the /f parameter is

               implied.

    /c "comment" Comment on the reason for the restart or shutdown.

               Maximum of 512 characters allowed.

    /f         Force running applications to close without forewarning users.

               The /f parameter is implied when a value greater than 0 is

               specified for the /t parameter.

    /d [p|u:]xx:yy  Provide the reason for the restart or shutdown.

               p indicates that the restart or shutdown is planned.

               u indicates that the reason is user defined.

               If neither p nor u is specified the restart or shutdown is

               unplanned.

               xx is the major reason number (positive integer less than 256).

               yy is the minor reason number (positive integer less than 65536).


Leave a comment if you find my blogs useful. You can also follow me on Twitter for more useful tips and tutorials!


Video of the Day:



BTW: The easiest way to remember my blog address is blog.lannyland.com