1
0
mirror of https://github.com/tiyn/wiki.git synced 2026-01-09 16:29:44 +01:00

Compare commits

...

4 Commits

Author SHA1 Message Date
70849c9cb7 electron: added and linked, added keyring fix 2025-11-27 09:24:08 +01:00
a26318fedf thunderbird: added profile picture bug 2025-11-27 09:23:45 +01:00
8dbc4038ad neural networks: added and linked 2025-11-27 08:44:47 +01:00
28cf833feb neural networks: added and linked 2025-11-27 08:43:36 +01:00
10 changed files with 122 additions and 8 deletions

View File

@@ -3,6 +3,7 @@
[BetterDiscord](https://betterdiscord.app) is an unofficial extension to
[Discord](/wiki/discord.md) which allows to add various functionality through plugins and new
themes.
It is not a standalone client.
## Setup

View File

@@ -2,6 +2,8 @@
[Discord](https://discord.com/) is an social platform that combines voice and video conferences as
well as instant messaging chats.
Additionally to the default website Discord also features a desktop client in the form of an
[Electron-based app](/wiki/electron.md).
## Usage

48
wiki/electron.md Normal file
View File

@@ -0,0 +1,48 @@
# Electron
[Electron](https://electronjs.org/) is an open-source framework that allows developers to build
cross-platform desktop applications using web technologies like JavaScript,
[HTML](/wiki/markup_language.md), and CSS.
It combines the Chromium [browser](/wiki/web_browser.md) and Node.js.
## Troubleshooting
This section will focus on errors and the fixing of errors of /name/.
## Linux: `Could not detect a default secure credential storage on your device.`
A possible issue for Electron apps on [Linux](/wiki/linux.md) is the following error.
```sh
not detect a default secure credential storage on your device.
```
This occurs because Electron relies on a Secret Service such as the GNOME Keyring, among others) to
store passwords securely on the system.
And often appears on more minimal window managers on [Xorg](/wiki/linux/x_window_system.md) or
[Wayland](/wiki/linux/wayland.md).
If no compatible service is running or detected, apps cannot save credentials.
Using the following steps this issue can be solved.
Firstly - if not already done - install a secret service.
For the Gnome Keyring install the [packages](/wiki/linux/package_manager.md) `libsecret` and
`gnome-keyring`.
The name may differ slightly depending on the [package manager](/wiki/linux/package_manager.md)
used.
Afterwards make sure to run the service and enable it if not already done.
An example for this is shown in the following command
```sh
eval $(/usr/bin/gnome-keyring-daemon --start)
```
Finally the Electron app `<electron-app>` can be started.
For the secure credential storage to be reachable the environment variable `XDG_CURRENT_DESKTOP`
has to be set.
Due to this environment variable being possibly relevant for the system-wide settings it is
recommended to only set it for the Electron app by running the following command in a sub-shell.
```sh
export XDG_CURRENT_DESKTOP=GNOME
<electron-app>
```

View File

@@ -20,8 +20,8 @@ This section addresses the usage of the
#### Preparing TensorFlow Models for the AI HAT+
For neural networks to run on the Hailo AI module and the AI HAT+ they have to be converted to the
`.hef` format.
For [neural networks](/wiki/neural_network.md) to run on the Hailo AI module and the AI HAT+ they
have to be converted to the `.hef` format.
This section assumes the neural network is using
[TensorFlow](/wiki/programming_language/python.md#tensorflow) and is available as a `.tf` or
`.tflite` file.

View File

@@ -4,8 +4,7 @@
apps from websites.
This way a single website can be used as an application in contrast to opening it in a
[browser](/wiki/web_browser.md).
It uses [Electron](https://www.electronjs.org/) which in turn uses
[Chromium](https://www.chromium.org/).
Nativefier creates [Electron-based web-apps](/wiki/electron.md).
## Setup

32
wiki/neural_network.md Normal file
View File

@@ -0,0 +1,32 @@
# Neural Network
A neural network - often shortened to NN - is a computational model which is part of so called
artificial intelligence.
## Useful Tools
There are some useful tools to use with neural networks.
- [Netron](https://github.com/lutzroeder/netron) is a open-source and self-hostable tool to
visualize neural networks.
It is also easily available from the [official website](https://netron.app/).
## Frameworks
The following is a list of frameworks to design or run neural networks.
- [PyTorch](/wiki/programming_language/python.md#pytorch)
- [Tensorflow](/wiki/programming_language/python.md#tensorflow)
## Neural Network Accelerators
Neural network accelerators are devices to run neural networks by inference.
The following is a list of possible devices.
- [Raspberry Pi AI Hat+](/wiki/linux/raspberry_pi.md#ai-hat) is a standalone accelerator which
directly attaches to a [Raspberry Pi](/wiki/linux/raspberry_pi.md) via the GPIO header.
- [ESP32S3](/wiki/microcontroller.md#esp32) is a self-contained microcontroller by Seeed with
integrated AI acceleration.
It does not need an external connection and is especially useful when a small form-factor is
needed.
- Google Coral Edge TPU is a USB-connected accelerator that is not embedded in the host system.

View File

@@ -96,7 +96,7 @@ Using `md` in the `--to` option the notebook can also be converted to a
[markdown](/wiki/markup_language.md) file and back.
Alternatively [notedown](https://pypi.org/project/notedown/) can also convert to markdown using the
following commands.
following commands.
`<output-file>` is the path to the output file again without the extension.
```sh
@@ -162,6 +162,8 @@ This flag is to be used with care.
### PyTorch
This section addresses the [PyTorch module](https://pytorch.org/).
Pytorch is a machine learning resource which is often used for
[neural networks](/wiki/neural_network.md).
#### Setup Pytorch with Cuda for GPU usage
@@ -190,6 +192,8 @@ This should give back `True`.
### TensorFlow
This section addresses the [TensorFlow module](https://www.tensorflow.org/).
Tensorflos is a machine learning resource which is often used for
[neural networks](/wiki/neural_network.md).
#### Basic Usage of TensorFlow

View File

@@ -2,6 +2,7 @@
[Signal](https://signal.org) is an encrypted, open-source messenger that allows voice and video
calls as well as instant messaging chats.
ahe desktop client comes in the form of an [Electron based-app](/wiki/electron.md).
## Usage

View File

@@ -94,3 +94,29 @@ By default Thunderbird will show a preview for mails on the right hand side when
This is called the message pane.
It can be hidden by drag and drop or by pressing the F8-key.
Using the same key it can also be shown again.
### Downgrading Profile
Sometimes - mostly for [troubleshooting reasons](#troubleshooting) - it can be useful to downgrade
Thunderbird (for example using
[downgrade](/wiki/linux/package_manager/pacman_and_aur.md#downgrading-packages) on
[Arch Linux](/wiki/linux/arch-linux.md)).
If this is done the profile will not be downwards compatible by default.
On [Linux](/wiki/linux.md) systems the following command can be used to safely downgrade the
profile.
```sh
thunderbird -profilemanager --allow-downgrade
```
## Troubleshooting
This section will focus on errors and the fixing of errors of Thunderbird.
### Not Displaying Profile Images Correctly
On version 145 of Thunderbird the profile pictures of contacts from a CardDAV-synced addressbook
may not be correctly displayed.
This bug was reported by [Andrewhotlab](https://bugzilla.mozilla.org/show_bug.cgi?id=2001944).
An easy fix for this and similar bugs is to [downgrade Thunderbird](#downgrading-profile) to the
last version which was not affected by the bug.

View File

@@ -9,9 +9,10 @@ including subscriptions.
- [Invidious](/wiki/invidious.md) is self-hosted and provides a cross-platform web service.
This frontend allows the usage of [SponsorBlock](#automatically-skip-sponsorships).
- [FreeTube](https://freetubeapp.io/) is a alternative frontend that provides a local desktop
application for [Linux](/wiki/linux.md), Mac and [Windows](/wiki/windows.md) systems.
This application has [SponsorBlock](#automatically-skip-sponsorships) built in.
- [FreeTube](https://freetubeapp.io/) is an alternative [Electron-based](/wiki/electron.md)
frontend that provides a local desktop application for [Linux](/wiki/linux.md), Mac and
[Windows](/wiki/windows.md) systems.
It also features [SponsorBlock](#automatically-skip-sponsorships) by default.
- [NewPipe](https://github.com/TeamNewPipe/NewPipe) for [Android](/wiki/android.md) phones is an
application that is available via the [F-Droid Appstore](/wiki/android/f-droid.md).