When I hibernate, my computer no longer recognizes speakers, what should I do?

I recently upgraded to Ubuntu 19.04 and have been experiencing sound issues. Everytime I hibernate my computer, it no longer recognizes my internal speakers. When I restart my computer, it recognizes them. So I have to always shutdown computer after each session. How can I fix this.

only headphones show

Only headphones show in settings

Speakers show unplugged in pavucontrol

Again, this is only happening after I hibernate, everything is fine after I restart.

GitHub no longer supports Safari 11.0! [on hold]

I was on github.com recently, and noticed an alert at the top of the page:

Please note that GitHub no longer supports old versions of Safari. We recommend upgrading to the latest Safari, Google Chrome, or Firefox. 

I noticed while trying to report an issue that functionality seams degraded.

I’m currently running Safari 11.0

Are they really cutting support!? I suppose my Mac really is 7 years old…

What is so good about Safari 12?

Do I need to buy a new computer? Should I install Firefox? Is there an alternative site? A better site? gitlab.com? bitbucket.org? sourceforge.net? … ?

I know I cant change who uses github, but perhaps I will host myself somewhere else…

When I click on “24 comments” under a post, it no longer expands the comment section

It’s been a week that my Facebook news feed acts weirdly. It stopped expanding the comment section under posts.

Before, I would click on, for example, “24 comments” under a post and the comments section would expand to let me see the comments. I must imagine that this is the normal behaviour.

However, it recently started to act differently. Now, when I click on, for example “24 comments” under a post, it opens a new page with the profile of the page that posted, with the post highlighted in blue and the comments section opened. I can’t imagine that this is the intended behaviour.

I tested this on different computers — Mac, PC — and on different browsers, and the problem is the same so it looks like it is specific to my FB account.

It’s not that it’s that disturbing, it’s just that I’m curious as to why I experience this and not the people around me.

Google Sheets text wrap no longer expands cell

All of a sudden I seem to be having trouble in my Google Sheets auto extending height of cell with text wrap, for certain cells.

Mac OS: 10.13.6 (17G65)

Chrome: Version 73.0.3683.103 (Official Build) (64-bit)

I select all cells via cmd + A and apply text-wrap:

enter image description here

I scroll to a cell on the bottom I’ve never formatted previously and type in a long string (Let’s say C1000):

enter image description here

The text wraps and expands the cell C1000 as expected:

enter image description here

I add text to a cell I had conditionally formatted (conditional format is simply to change it green on a certain value) and changed font of, and add long text, let’s say at C125:

enter image description here

The text doesn’t wrap in C125 even though wrapping is applied to it:

enter image description here

To reveal remaining text in C125, I had to manually drag the cell height:

enter image description here

I thought maybe one of the conditional formats was screwing with it, so I cleared formatting for all cells, and tried entering long text again in C125:

enter image description here

Again, it doesn’t wrap. The text continues on in the cell but doesn’t push the cell down and expose rest of text:

enter image description here

Lastly, I thought perhaps that text-wrap applies to correctly formatted cells as plain text, so I selected all cells again and set the formatting. No luck.

enter image description here

Can there be a bug with specific cells? Or does copying and pasting text from other sources, such as Mac Notes, cause bugs of this nature?

How can I restore to default such that text-wrap works for all cells?

Is removing hiberfil.sys file the solution of my no longer booting, hibernated Windows 10?

Short said, would removing the hiberfil.sys file from my Windows 10 partition allow it to boot again after it “got broken” due to conflict with Grub + Ubuntu?

My Windows 10 partition no longer wants to boot, after -I suppose by reading a lot on same issue- it stopped with hibernation or fast startup.

It starts by “preparing auto repair…” It starts by "preparing auto repair..."

Then always fails on booting, allowing either Restart or advanced options. Then always fails on booting, allowing either Restart or advanced options.

From this answer, I see ntfs-3g tool (which I discovered is installed, and a NTFS driver) has a remove_hiberfile option that would delete this file to allow read-write mount of windows partition on Ubutun again. (which is an issue but not my main issue, being, Windows no longer accept to boot at all)

   remove_hiberfile           When the NTFS volume is hibernated, a read-write mount  is  denied  and  a  read-only           mount  is forced. One needs either to resume Windows and shutdown it properly, or use           this option which will remove the Windows hibernation file. Please note,  this  means           that  the  saved  Windows session will be completely lost. Use this option under your           own responsibility. 

Before applying this solution, and taking more risk at damaging some data, do you think it could solve my broken, no longer booting windows 10?

Here is a little more details.
I have a 1To SSD with dual boot with Grub and split as:

  1. Windows 10 (main with +/-800Gb)
  2. Ubuntu 18.04.1 (+/-70Gb)

Dual boot used to work well, until windows hibernated, then no longer accept to boot again, possibly due to an intermediate boot on Ubuntu.

Some historic:

  • windows did broke when it was on an Intel i7 6700K + motherboard MSI Z170A Gaming
  • I only could start on Ubuntu by those steps: [grub (automatically appears)] > [Ubuntu]. If I choosed Windows (or Windows boot manager), Windows failed booting.
  • since recent crash of either my motherboard or cpu, I changed to a i7 9700K + motherboard MSI Z390 Gaming carbon pro
  • with this new setup, I only can boot Ubuntu after those steps: [boots on windows] > fails with debugging/starting options on a blue screen > [Debug (meaning an “Other OS” menu] > [Ubuntu]. Difference is, I no longer get on Grub menu by default

I try to restore it myself, trying to understand what is wrong, read a lot on same topic, but agree not to be confortable with MBR, EFI, UEFI, boot flag, etc… Some answer are about fast restart and how to disable it, on Windows, which I can’t since my windows don’t boot.

Here is what GParted says today: enter image description here

We can see:

  • /dev/sda1: some windows required partition I think (récupération == recovery)
  • /dev/sda2: an EFI partition which has boot flag
  • /dev/sda3: a Windows reserved partition on /dev/sda3, but its filesystem is unknown, and used space (on a 16MB total) cannot be calculated. Looks like broken?
  • /dev/sda4: my main windows partition
  • /dev/sda[5-6]: Ubuntu

Touchpad no longer working on Ubuntu 18.04 for ASUS zenbook

I have an ASUS zenbook running Ubuntu 18.04, and everytime I opened up my laptop the touchpad stopped working, so I would open up the terminal and run this:

sudo rmmod i2c_hid

sudo modprobe i2c_hid

However, recently, even this stopped working. Diagnostics tools tell me that the touchpad isn’t even recognized.

Gnome Shell Version: 3.28.3 Touchpad Indicator Version: 31 Touchpad(s): No Touchpad detected. Synclient: Not found or used on your system. Xinput: Is installed. Switch Method: XInput

So I tried reinstalling some things

sudo apt install –reinstall xserver-xorg-input-synaptics

And I have the most recent update for Ubuntu 18.04.

Here is what xinput shows

⎡ Virtual core pointer id=2 [master pointer (3)]

⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]

⎣ Virtual core keyboard id=3 [master keyboard (2)]

↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]

↳ Power Button id=6 [slave keyboard (3)]

↳ Asus Wireless Radio Control id=7 [slave keyboard (3)]

↳ Video Bus id=8 [slave keyboard (3)]

↳ Video Bus id=9 [slave keyboard (3)]

↳ Power Button id=10 [slave keyboard (3)]

↳ Sleep Button id=11 [slave keyboard (3)]

↳ USB2.0 HD UVC WebCam: USB2.0 HD id=13 [slave keyboard (3)]

↳ Asus WMI hotkeys id=14 [slave keyboard (3)]

↳ AT Translated Set 2 keyboard id=15 [slave keyboard (3)]

Any suggestions? Thank you.

Making requests to a website from my server takes 4x longer than making the same requests from my local machine

I am trying to make consequent POST and GET requests to a client website using the Python Requests module in my Django Website. Each request (irrespective of the method) is taking 4x longer than the same requests I am making from a standalone python script on my local machine.

Prints from my server’s ipython shell:

took 4.08548092842s to go to page. no 14
took 4.35301995277s to go to page. no 21
took 5.76180386543s to go to page. no 28
took 40.9639511108s to go to page. no 35
took 4.61653518677s to go to page. no 42
TOOK 60.0464501381 s to get 42 pages

Prints when I run the same script from my local machine:

took 1.37999987602s to go to page. no 14
took 1.39800000191s to go to page. no 21
took 1.3180000782s to go to page. no 28
took 1.18200016022s to go to page. no 35
took 1.34500002861s to go to page. no 42
TOOK 6.81299996376 s to get 42 pages

I am using proxies on my website, not using it doesn’t help in reducing time.

P.S I have tried running my code line-by-line in an iPython shell on my server machine, and it doesn’t help. It takes the same time as it does when requests are made from my Django app. The environment is same, python version is same.

OpenSSH no longer accessible

I just installed a fresh copy of Ubuntu 18.04 server on an older mac mini. Initially I was using a hard line for networking but after fighting with netplan I finally got wifi working. However, in a very strange turn of events ssh suddenly stopped working altogether. The computer is connected as I can see an ip address when running ifconfig and I can connect to the network and internet as a whole. When I try to ssh to the machine though I only receive a timeout. What could possibly be causing this?