Saturday, December 26, 2020

[SOLVED] VLC is unable to play youtube streams.

The cause



Copying a YouTube link and then pasting it in Videolan/VLC's "Open network stream" allows playing of YouTube content in VLC. Sometimes it doesn't work.

YouTube changes its transmission protocol over time, sometimes breaking the YouTube module embedded in VLC.

The VLC developers try to fix the error as soon as possible, whenever these problems occur. The fix (once implemented) is not immediately released within the public version of the program.

To solve the problem:

Update VLC to the latest version, downloading it from the official website.

If the problem is still present, you will need to download a small file from the development branch of VLC, and to overwrite the corresponding one in yours.

To update youtube.luac:

  1. Make sure VLC is not running.
  2. go to youtube.luac latest update on GitHub - "https://github.com/videolan/vlc/blob/master/share/lua/playlist/youtube.lua"
  3. Select all the text inside the page, and copy it to the clipboard:
  4. Open the Notepad and paste the copied content in it.
  5. Save the file as youtube.luac, and select All Files in the Save as box.
  6. Now, copy the file in:
    • Windows x64: C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\
    • Windows x86: C:\Program Files\VideoLAN\VLC\lua\playlist\
    • MacOS: /Applications/VLC.app/Contents/MacOS/share/lua/playlist/
    • 64-bit Linux: /usr/lib64/vlc/lua/playlist/
    • 32-bit Linux: /usr/lib/vlc/lua/playlist/

If the instructions are followed correctly, the youtube.luac file will be overwritten in the destination folder. Enjoy the streaming of any YouTube video inside VLC!

Whenever the problem comes back due to further YouTube protocols changes, simply repeat the process, check if the developers have already fixed the error with the latest version of youtube.luac file.

Remember that the execution of YouTube videos may hang if you try to jump from a point of the stream to another, so it is usually better to start the video from the very beginning, pausing it only when necessary.

Monday, December 14, 2020

Transmutation Tables: A Tool for Equitable Grading

Transmutation tables are a tool used by teachers to adjust student grades so that they all meet the minimum passing standard of 75%. This is done because the actual grades of students can vary depending on a number of factors, such as the difficulty of the course, the teacher's grading style, and the student's individual learning strengths and weaknesses.

To use a transmutation table, teachers first need to identify the lowest actual grade that will be considered passing. In the Philippines, this is typically 60%. They then use the transmutation table to calculate the corresponding transmuted grade, which is the grade that will be used for grading purposes.

For example, if a student gets an actual grade of 60%, the transmuted grade would be 75.4%. This means that the student would still be considered passing, even though they did not get a 75% on the actual exam.

Transmutation tables can be a helpful tool for ensuring that all students have an equal chance of passing a course. They can also help to reduce grade inflation, which is the practice of giving students higher grades than they deserve.

How to Use a Transmutation Table

To use a transmutation table, you will need to know the following information:
  • The lowest actual grade that will be considered passing
  • The transmuted grade for each actual grade
Once you have this information, you can use the following formula to calculate the transmuted grade for a student's actual grade:

Transmuted grade = (Actual grade / 100) x (100 - Base limit) + Base limit

 Where:

    • Actual grade is the student's actual grade
    • Base limit is the lowest actual grade that will be considered passing


For example, if the base limit is 60% and the student's actual grade is 70%, the transmuted grade would be calculated as follows:

Transmuted grade = (70 / 100) x (100 - 60) + 60 = 85%

How to Create Your Own Transmutation Table

If you do not have a transmutation table for the course you are teaching, you can create your own using the following steps:
  • Identify the lowest actual grade that will be considered passing.
  • Calculate the transmuted grade for each actual grade using the formula above.
  • Create a table that lists the actual grades and their corresponding transmuted grades.

As an example, if a student got an actual grade of 60%, it will be adjusted to or transmuted to 75.4% or 75%. All other actual grades will also reflect adjustments as shown in the table.

Actual GradeTransmuted GradeActual GradeTransmuted Grade
100100.05069.3
9999.44968.6
9898.84868.0
9798.24767.4
9697.54666.8
9596.94566.2
9496.34465.6
9395.74364.9
9295.14264.3
9194.54163.7
9093.94063.1
8993.23962.5
8892.63861.9
8792.03761.3
8691.43660.6
8590.83560.0
8490.23459.4
8389.53358.8
8288.93258.2
8188.33157.6
8087.73057.0
7987.12956.3
7886.52855.7
7785.92755.1
7685.22654.5
7584.62553.9
7484.02453.3
7383.42352.6
7282.82252.0
7182.22151.4
7081.62050.8
6980.91950.2
6880.31849.6
6779.71749.0
6679.11648.3
6578.51547.7
6477.91447.1
6377.21346.5
6276.61245.9
6176.01145.3
6075.41044.7
5974.8944.0
5874.2843.4
5773.6742.8
5672.9642.2
5572.3541.6
5471.7441.0
5371.1340.3
5270.5239.7
5169.9139.1


Tips for Using Transmutation Tables

  • Transmutation tables should only be used as a tool to ensure that all students have an equal chance of passing a course. They should not be used to inflate grades.
  • When using a transmutation table, it is important to be aware of the limitations of the tool. Transmutation tables cannot perfectly account for all of the factors that can affect student grades.
  • If you are using a transmutation table for the first time, it is a good idea to pilot it with a small group of students to see how it works in practice.

I hope this helps!

Saturday, May 30, 2020

How to Fix the Bluetooth Audio Issue in Lubuntu 18.04



Listening to music on Bluetooth speakers is a great way to enjoy your favorite tunes. But what if you're using an old laptop running Lubuntu 18.04 and you're getting an error message when you try to connect to your Bluetooth speaker?

The error message "Connection failed - GDBus.Error.bluez.Error.Failed: Protocol not available. Try to connect manually." can be frustrating, especially if you're not a technical user. But don't worry, there's a simple fix.

The problem is that the developers of Lubuntu 18.04 didn't include the PulseAudio Bluetooth audio sink driver. This driver is responsible for connecting Bluetooth speakers to Lubuntu.


To fix the issue, you need to install the PulseAudio Bluetooth audio sink driver. You can do this by opening a terminal and typing the following command:

sudo apt install pulseaudio-module-bluetooth

 


Once the driver is installed, restart Lubuntu and try to connect to your Bluetooth speaker again. This time, the connection should be successful.


Here are some additional tips for fixing the Bluetooth audio issue in Lubuntu 18.04:
  • Make sure that your Bluetooth speaker is turned on and discoverable.
  • Make sure that your Bluetooth speaker is within range of your laptop.
  • Try restarting your laptop and your Bluetooth speaker.
  • If you're still having problems, you can try searching for help online or contacting Lubuntu support.
I hope this blog post was informative and interesting. If you have any questions, please feel free to leave a comment below.