Web Analytics

Technically Impossible

Lets look at the weak link in your statement. Anything "Technically Impossible" basically means we haven't figured out how yet.

Linux

Linuxデスクトップ・メニューのアイコン管理、あるいはdesktopファイルの編集

Flathub*1やWine*2からアプリケーションをインストールすると、自動的にデスクトップ・メニューにもアプリケーションのアイコンが追加されることがある。冒頭の画像では、WineでインストールしたWindowsアプリケーション、Bookshelf Basic 2.0が追加されたと…

fstabあるいはsystemdによる自動マウント、遅延マウント

90年代後半から2000年代ごろのアプリケーションの中には、その起動に際し、CD-ROMの挿入を求められるものがある。Microsoft Bookshelfのような辞書、百科事典は、そのようなアプリケーションの典型例だ。現在ならば、CD-ROMをISOファイル化し、マウントして…

Wineのいろは - 環境構築から使い分け、文字化け対策

今回のPC更改*1で悩まされたのが、アクティベーションだった。Windows、Microsoft Office、そしてAdobe Acrobatまで、ことごとく再アクティベーションを要求された。そしてAdobe Acrobatに至っては、Adobeのアクティベーション・サーバー停止に伴い、使用不…

Llama2.c on PC with 8GB RAM, No GPU, No Container - pretokenization, training and inference

Abstract If performance is not concern, whether it is GPT or Diffusion, they work on a machine with only 8GB RAM withuot GPU, be it on a PC or and Android smartphone. This is my finding from generative AI exploration in this spring*1. But …

GPU無し、コンテナも使わない、RAM=8GBでllama2.c - 実用抜き、モデル生成から推論実行まで

今春、8GBの環境で生成AIがどこまで動くのかを模索していた*1。パフォーマンスを気にしなければ、GPTだろうがDiffusionだろうが、GPUの無いRAM=8GBの環境、PCでもAndroidスマートフォンでも動作はするのだ。ただし推論であれば、という条件付きだった。つま…

Alternative of ".profile" in Wayland - Autostarting and environment variables when login to desktop

Abstract Wayland*1 is becoming popular as Linux desktop. And Clear Linux is also going for it*2.In migration from X11 to Wayland, user will need to find the alternative solution for ".profile" before anything else. Wayland doesn't initiate…

Wayland環境での.profile代替手段 デスクトップ・ログイン時の環境変数と自動実行

Linuxでのデスクトップ環境としてWayland*1が一般的になりつつある。そしてClear LinuxもWaylandへ向かっている*2。X11環境からWaylandへの移行において、ユーザーが真っ先に直面するのがログイン時の環境設定だろう。従来、ログイン時に読み込まれていた.pr…

Step-by-step of coredumpctl and gdb

Abstract I found that a cetain Flatpak application doesn't run. Starting it from command, it crashed and dumped core file due to segmentation fault.In case of Windows, we can check details inside core file with WinDbg*1. In Linux, the same…

コアダンプの出力確認からcoredumpctl、gdbによる確認までの手順

気付いたら、とあるFlatpakアプリケーションが起動しなくなっていた。コマンドから起動すると、segmentation faultによりコアダンプを出力していた。Windowsの場合、コアダンプさえあればWinDbgで中身を確認することができる*1。Linuxの場合も、coredumpctl*…

Flatpukアプリケーションからの認証要求に対する処方箋

Flathubからアプリケーションをインストールし、起動すると、冒頭のように認証を要求されることがある。この認証は次のように要請される。 Authentication required The password you use to log in to your computer no longer matches that of your login …

Remedy for authentication request from Flatpuk application

Abstract Initial boot of Flatpuk application sometime requests authentication above. This authentication request says Authentication required The password you use to log in to your computer no longer matches that of your login keyring. Eve…

任意のLinuxディストリビューションへ、.NET (.NET Core)とPowerShellをインストールする

.NET (.NET Core)*1は、Windowsをはじめ、Linux、Android、Apple端末をサポートする、クロスプラットフォーム開発フレームワークだ。特にLinux向けの配布について、主要Linuxディストリビューション向けにはパッケージを、それ以外のディストリビューション…

Install .NET Core and PowerShell to any Linux distribution

.NET or .NET Core*1 is the cross-platform development framework. Microsoft provides provides it not only as packages for major Linux distros, but also binary with install script for minor distros.As .NET is cross-platform SDK and runtime, …

"apt install" of VSCode, Edge, and PowerShell with registering Microsoft repositories

Abstract The most common package manager in Ubuntu is "apt", but VSCode is not provided there. Canonical, the operating company of Ubuntu, developed a package manager called "snap", and run as app store *1 that uses it. Although VSCode is …

Microsoftレポジトリを登録し、Edge、VSCode、PowerShellを”apt install”する。

Ubuntuでのパッケージ・マネジャーと言えば”apt”だが、そのレポジトリでVSCodeは提供されていない。Ubuntuの運営母体であるCanonicalは、”snap”と言うパッケージ・マネジャーを開発し、それを用いたアプリ・ストア*1を運営している。VSCodeはこちらで提供さ…

コンピュータ・リテラシー あるいは情報学部生のためのLinux、Emacs、LATEXリテラシー

リテラシーという言葉は、特定分野についての何かを「使う」ことができるための教育を受け、その知識と能力があることを意味している。言い換えれば、ある分野についての一般教養とでもいうべきものだ。 https://dictionary.cambridge.org/dictionary/englis…