Newer bluez is buggy. It makes CPU usage 100% randomly.
5.72 is working fine. Let's keep using it.
sudo pacman -U /var/cache/pacman/pkg/bluez*5.72-2-x86_64.pkg.tar.zstI need to ignore upgrading bluez until a stable version is released. To do so,
| import os | |
| import subprocess | |
| import sys | |
| from pathlib import Path | |
| import numpy as np | |
| import sounddevice as sd | |
| import typer | |
| from openai import OpenAI | |
| from scipy.io.wavfile import write |
| [package] | |
| name = "cdp_test" | |
| version = "0.1.0" | |
| edition = "2024" | |
| [dependencies] | |
| anyhow = "1.0.101" | |
| chromiumoxide = { version = "0.8", features = ["tokio-runtime"], default-features = false } | |
| env_logger = "0.11.8" | |
| futures = "0.3" |
| # Pre installtion notice: | |
| # - The iso image can be downloaed from: https://www.android-x86.org/download.html | |
| # - Linux Zen is recommended. See: https://riq0h.jp/2020/12/07/210053/ | |
| # - Also see: https://wiki.archlinux.org/title/QEMU | |
| sudo pacman -S qemu-full | |
| sudo pacman -S qemu-desktop | |
| qemu-img create -f raw android 16G |
| import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'fs' | |
| import { dirname, join } from 'path' | |
| import { glob } from 'glob' | |
| import yaml from 'js-yaml' | |
| interface TranslationEntry { | |
| key: string | |
| files: string[] | |
| } |
| prql | |
| .query() | |
| .from('invoices') | |
| .derive({ | |
| transaction_fee: 0.8, | |
| income: 'total - transaction_fee', | |
| }) | |
| .filter('income', '>', 5) | |
| .filter('invoice_date', '>=', '@2010-01-16') | |
| .group('customer_id', { |
| import { DateTime } from 'luxon' | |
| const a = DateTime.now().setZone('Asia/Tokyo') | |
| const b = DateTime.fromISO('2024-11-07').setZone('Asia/Tokyo').endOf('day') | |
| const c = DateTime.now() | |
| console.log({ a, b, c }) | |
| console.log(a < b) | |
| console.log(b < c) |
| import fs from 'fs' | |
| const header = ` | |
| # | |
| # This file is auto generated. Do not edit by hand. | |
| # | |
| `.trimStart() | |
| const schema = fs.readFileSync('path/to/schema.graphql', 'utf8') | |
| const allMutations = generateAllMutations(schema).join('\n') |
Newer bluez is buggy. It makes CPU usage 100% randomly.
5.72 is working fine. Let's keep using it.
sudo pacman -U /var/cache/pacman/pkg/bluez*5.72-2-x86_64.pkg.tar.zstI need to ignore upgrading bluez until a stable version is released. To do so,
// main.rs
use std::time::Instant;
fn main() {
let instant = Instant::now();
let text = "".to_string();
for _ in 1..100000000 {
let _ = text.to_string();