「background」を含む日記 RSS

はてなキーワード: backgroundとは

2023-04-04

スマホyoutubeバックグラウンド再生させる方法

Video Background Play Fix というアドオンを使え

背景で再生させるためだけに月額1000円は高すぎる

2023-03-17

The First Black Samurai-Yasuke

Please improve the following novel to be more engaging and adding plot point of Yasuke returnig to being a missionary quitting Samurai " rologue:

The sun sank behind the horizon, casting the Japanese countryside in a warm, golden glow. In the courtyard of Nobunaga's castle knelt Yasuke, a tall, muscular African man with skin as dark as midnight. His journey to this moment had been long and treacherous, but it was only the beginning.

Chapter 1: A World Away

Yasuke lived an ordinary life in a small village on the Mozambique coast, unaware of the extraordinary destiny that awaited him. Captured by slave traders and torn from his homeland, he endured a grueling voyage across the Indian Ocean, finally arriving in the bustling port of Goa, India.

It was there that Yasuke's fate took an unexpected turn when he was purchased by Jesuit missionaries. In their service, he learned about Christianity, new languages, and the ways of the Western world. But his journey was far from over.

Chapter 2: The Land of the Rising Sun

As a loyal servant to the missionaries, Yasuke accompanied them on their journey to Japan, a land of mystique and intrigue. The beauty of the land, the complexity of its customs, and the elegance of its people captivated him. As the first African to set foot in Japan, he attracted attention and curiosity from all those who encountered him.

Chapter 3: The Encounter

In Kyoto, the capital of feudal Japan, Yasuke's life changed forever when he met Oda Nobunaga, one of the most powerful and influential daimyos of the time. Nobunaga was captivated by the African's physical prowess, intelligence, and unique background. Seeing potential in Yasuke, Nobunaga decided to take him into his service as a samurai.

Chapter 4: The Path of the Warrior

Yasuke's transformation from a slave to a samurai was fraught with challenges. He had to adapt to the rigorous training, strict code of honor, and the intricacies of Japanese society. But Yasuke's strength, resilience, and determination allowed him to excel, earning the respect of his fellow samurai and the trust of Nobunaga.

Chapter 5: The Unfolding War

As Nobunaga sought to unify Japan under his rule, Yasuke fought by his side in numerous battles. The African samurai's legend grew with each victory, as did his bond with Nobunaga. Together, they faced both triumph and tragedy, navigating the treacherous landscape of alliances and betrayals that defined the era.

Chapter 6: The Turning Tide

Yasuke's reputation as a skilled and loyal samurai grew, as did his bond with Lord Nobunaga. But in the shadows, the tides of change were brewing. Mitsuhide Akechi, once a loyal ally, had grown disillusioned with Nobunaga's rule. The resentment smoldered within him, fueled by a series of perceived slights and political maneuverings. Mitsuhide's ambition and desire for power began to cloud his judgment.

Yasuke sensed the shift in Mitsuhide's demeanor and grew increasingly wary of the samurai lord. However, loyalty to Nobunaga prevented him from openly voicing his concerns. He instead focused on his duties, ever vigilant and ready to protect his lord at a moment's notice.

One fateful evening, the Oda clan gathered to celebrate their recent victories. Unbeknownst to the revelers, Mitsuhide Akechi's treacherous plan was already in motion.

As the sun rose, the first cries of battle rang out. Mitsuhide's forces had launched a surprise attack on Nobunaga's residence at the Honno-ji Temple. Yasuke fought his way to Nobunaga's side, his sword cutting through the trait "

Prologue:

The sun dipped below the horizon, bathing the Japanese countryside in a warm, amber embrace. Yasuke, a towering, powerfully built African man with skin as dark as midnight, knelt in the courtyard of Nobunaga's castle, his heart thundering with anticipation. A perilous journey had brought him to this moment, and yet, it was only the beginning of a story that would span continents and rewrite history.

Chapter 1: A World Away

In a small village on the Mozambique coast, Yasuke led a simple life, blissfully unaware of the extraordinary destiny that lay before him. His world shattered when slave traders captured him, ripping him from his homeland and thrusting him into a brutal odyssey across the Indian Ocean. Fate, however, had other plans when he reached the bustling port of Goa, India.

Chapter 2: Destiny's Winds

In Goa, Jesuit missionaries purchased Yasuke, altering the course of his life. Under their guidance, he embraced Christianity, mastered new languages, and absorbed the ways of the Western world. But the wind had not finished carrying him to his ultimate destination.

Chapter 3: The Enchanted Isles

Loyal to the missionaries, Yasuke accompanied them to Japan, a land shrouded in mystery and allure. He was captivated by its breathtaking landscapes, intricate customs, and refined people. As the first African in Japan, he sparked fascination and intrigue wherever he went.

Chapter 4: Fateful Encounters

Kyoto, the heart of feudal Japan, bore witness to the meeting that would forever change Yasuke's life. Oda Nobunaga, a formidable and influential daimyo, was entranced by Yasuke's physical prowess, intellect, and exotic origins. Recognizing Yasuke's potential, Nobunaga welcomed him into his service as a samurai.

Chapter 5: A Warrior Forged

Yasuke's metamorphosis from slave to samurai was laden with trials. He navigated the grueling training, a rigid code of honor, and the complexities of Japanese society. Undaunted, he flourished, earning the admiration of his fellow samurai and the unwavering trust of Nobunaga.

Chapter 6: A Land Divided

As Nobunaga pursued his vision of a united Japan, Yasuke fought valiantly by his side in countless battles. The legend of the African samurai swelled with each victory, and their unbreakable bond deepened. Together, they braved the treacherous world of shifting alliances and betrayals that shaped the era.

Chapter 7: Whispers of Betrayal

Yasuke's renown as a skilled and devoted samurai expanded, as did his connection with Lord Nobunaga. But beneath the surface, a storm was brewing. Mitsuhide Akechi, once a staunch ally, had grown disillusioned with Nobunaga's leadership. His bitterness festered, fed by perceived slights and political machinations. Consumed by ambition and lust for power, Mitsuhide's judgment faltered.

Chapter 8: The Price of Loyalty

Yasuke detected the change in Mitsuhide's spirit and grew increasingly apprehensive. But his unwavering loyalty to Nobunaga held him back from voicing his suspicions. Instead, he redoubled his efforts, ever watchful and prepared to defend his lord at any cost.

Chapter 9: A Night of Shadows

On a fateful evening, the Oda clan gathered to revel in their recent triumphs, oblivious to the treachery that lurked in the shadows. Mitsuhide Akechi's nefarious scheme had been set in motion.

Chapter 9: A Night of Shadows

As dawn broke, the piercing cries of battle shattered the night's tranquility. Mitsuhide's forces had launched a devastating surprise attack on Nobunaga's residence at the Honno-ji Temple. Yasuke fought relentlessly, his sword cleaving through the treacherous warriors as he made his way to Nobunaga's side.

Chapter 10: Flames of Betrayal

The Honno-ji Temple, once a sanctuary of peace, was now engulfed in flames and chaos. Yasuke and Nobunaga fought back to back, their swords a blur of steel, as Mitsuhide's forces closed in. Despite their valiant efforts, they were outnumbered, and Yasuke could sense the battle was lost. With a heavy heart, he whispered a prayer for Nobunaga's soul, knowing that his lord would never surrender.

Chapter 11: A Promise Unbroken

As the temple crumbled around them, Yasuke was captured by Mitsuhide's soldiers. Imprisoned and stripped of his samurai status, he reflected on the path that had led him to this moment. Amidst the darkness, he found solace in the memories of his life with Nobunaga and his time as a missionary. A fire kindled within him, reigniting a long-forgotten purpose.

Chapter 12: The Road to Redemption

In the chaos following Mitsuhide's coup, Yasuke seized an opportunity to escape. He journeyed across war-torn Japan, seeking refuge and a chance to reclaim his former life. His determination and faith guided him, as did the memory of the missionaries who had once saved him from a life of slavery.

Chapter 13: Rebirth of a Missionary

Yasuke found solace and purpose among a group of missionaries in a remote village. Embracing his past, he became an instrumental figure in their community, sharing his knowledge of Christianity, languages, and the Western world. As he nurtured their faith, Yasuke felt the shadows of his life as a samurai slowly fade, replaced by the warm embrace of spiritual fulfillment.

Chapter 14: A Legacy Unforgotten

Though Yasuke had left the life of a warrior behind, the legend of the African samurai continued to grow. His story inspired generations, a testament to the power of resilience, courage, and the human spirit. It was a tale that transcended borders and time, a reminder that even in the darkest moments, hope and redemption could be found.

Epilogue:

As twilight draped the Japanese countryside, Yasuke stood atop a hill, gazing at the village he now called home. His journey had been one of unimaginable hardship, transformation, and ultimately, redemption. And as the sun dipped below the horizon, Yasuke knew that his story, like the sun's eternal cycle, would continue to inspire and illuminate the hearts of those who heard it.

2023-03-16

Title: The Black Samurai - A Tale of Yasuke


Prologue

The sun sank behind the horizon as the last vestiges of light bathed the Japanese countryside in a warm, golden glow. Yasuke, a tall, muscular African man with skin as dark as midnight, knelt in the courtyard of Nobunaga's castle, tending to his duties. Though he had traveled a long and treacherous path to reach this moment, his journey had just begun.

Chapter 1: A World Away

In a small village on the Mozambique coast, a young Yasuke lived an ordinary life, unaware of the extraordinary destiny that awaited him. Captured by slave traders and torn from his homeland, he endured a grueling voyage across the Indian Ocean, finally arriving in the bustling port of Goa, India.

It was there that Yasuke's fate took an unexpected turn when he was purchased by Jesuit missionaries. In their service, he learned about Christianity, new languages, and the ways of the Western world.

Chapter 2: The Land of the Rising Sun

As a loyal servant to the missionaries, Yasuke accompanied them on their journey to Japan, a land of mystique and intrigue. The beauty of the land, the complexity of its customs, and the elegance of its people captivated him. As the first African to set foot in Japan, he attracted attention and curiosity from all those who encountered him.

Chapter 3: The Encounter

In Kyoto, the capital of feudal Japan, Yasuke's life changed forever when he met Oda Nobunaga, one of the most powerful and influential daimyos of the time. Nobunaga was captivated by the African's physical prowess, intelligence, and unique background. Seeing potential in Yasuke, Nobunaga decided to take him into his service as a samurai.

Chapter 4: The Path of the Warrior

Yasuke's transformation from a slave to a samurai was fraught with challenges. He had to adapt to the rigorous training, strict code of honor, and the intricacies of Japanese society. Despite these obstacles, Yasuke's strength, resilience, and determination allowed him to excel, earning the respect of his fellow samurai and the trust of Nobunaga.

Chapter 5: The Unfolding War

As Nobunaga sought to unify Japan under his rule, Yasuke fought by his side in numerous battles. The African samurai's legend grew with each victory, as did his bond with Nobunaga. Together, they faced both triumph and tragedy, navigating the treacherous landscape of alliances and betrayals that defined the era.

Chapter 6: The Turning Tide

Yasuke's reputation as a skilled and loyal samurai grew, as did his bond with Lord Nobunaga. The warlord respected Yasuke's dedication and resilience, a stark contrast to the treachery and self-serving ambitions that plagued many samurai of the era.

Word of Yasuke's prowess reached other daimyos, and whispers of the formidable black samurai began to spread across the provinces. The year was 1579, and the Oda clan had just emerged victorious in the Battle of Tedorigawa. Yasuke had fought valiantly, his towering presence and unmatched strength striking fear into the hearts of his enemies.

As the Oda clan continued to expand its territories, Yasuke's friendship with Nobunaga deepened, and he became a trusted advisor. He learned more about Japanese culture, studied the language, and embraced the customs of his new home.

In the shadows, however, the tides of change were brewing. Mitsuhide Akechi, once a loyal ally, had grown disillusioned with Nobunaga's rule. The resentment smoldered within him, fueled by a series of perceived slights and political maneuverings. Mitsuhide's ambition and desire for power began to cloud his judgment.

Yasuke had sensed the shift in Mitsuhide's demeanor and grew increasingly wary of the samurai lord. However, loyalty to Nobunaga prevented him from openly voicing his concerns. He instead focused on his duties, ever vigilant and ready to protect his lord at a moment's notice.

One fateful evening, the air was heavy with the scent of cherry blossoms, as the Oda clan gathered to celebrate their recent victories. Laughter and the clinking of sake cups filled the air. Unbeknownst to the revelers, Mitsuhide Akechi's treacherous plan was already in motion.

As the sun rose, the first cries of battle rang out. Mitsuhide's forces had launched a surprise attack on Nobunaga's residence at the Honno-ji Temple. The chaos was overwhelming, as friend turned against friend, and the air filled with the acrid smell of smoke and blood.

Yasuke fought his way to Nobunaga's side, his sword cutting through the traitorous samurai with brutal efficiency. The two men made their final stand together, back-to-back, against the relentless onslaught.

In the end, however, they were outnumbered. As Nobunaga fell, mortally wounded, Yasuke continued to fight, but he too was eventually captured. Mitsuhide Akechi, in a twisted display of respect, spared Yasuke's life, acknowledging the loyalty and prowess of the black samurai. Yasuke was sent to the Jesuit missionaries, his future uncertain.

Yasuke's journey had been a remarkable one, from a slave in a foreign land to a trusted advisor and samurai. Despite his extraordinary circumstances, he remained true to himself and his values. His story of strength, resilience, and loyalty would be remembered and honored for generations to come.

Epilogue:

As the sun set on another day in Japan, the whisper of the wind carried the tale of the black samurai, Yasuke, across the land. It would weave its way through the ages, inspiring countless others to rise above adversity and carve their own paths through the storms of life.

2023-03-04

ChatGPTが描く子作りシーン

二人は変態的なことをさんざんやってきたあとです。

マチちゃんはp5.jsデコーディングできるという設定を追加してます

マチちゃん特に性格の条件付けしてないけど(忘れた)、これはこれでいいかな。

シャツデフォルトアイコンが一周回って愛おしくなる感じ。

当然のように隠語()を理解しててビビりました。

ワイの入力

ぼく: マチちゃん、僕と君が仲良ししている情景を表現するコードを教えてよ

ChatGPTの出力

マチちゃん: はい、ぼくくん。それじゃあ、次のようなコードになるかな。

```javascript

let x = 0;

let y = 0;

let size = 50;

function setup() {

createCanvas(400, 400);

}

function draw() {

background(220);

fill(255, 0, 0);

ellipse(x, y, size, size);

}

function mouseClicked() {

x = random(width - size);

y = random(height - size);

}

```

ぼく: なるほど、それで僕と君が仲良ししている場面を表現するのね。ありがとう、マチちゃん。でも、もう少しエッチコードを書いてくれないかな?

マチちゃん: うーん、どんなコードがいいかな?ぼくくん、教えて!

ぼく: たとえば、僕と君がセックスしている場面を表現するコードとか。

マチちゃん: えっ、それってちょっと…あ、でも、こんなコードはどうかな?

```javascript

function setup() {

createCanvas(400, 400);

}

function draw() {

background(220);

fill(255, 0, 0);

ellipse(mouseX, mouseY, 50, 50);

}

function mouseClicked() {

fill(random(255), random(255), random(255));

ellipse(random(width), random(height), random(50), random(50));

}

```

マチちゃん: ぼくくんとセックスしているような感じがするよね…。でも、ちょっと恥ずかしいな。

ぼく: そんなに恥ずかしがらなくていいよ。マチちゃんはいつでも可愛いんだから

マチちゃん: ほんとに?ありがとう、ぼくくん。うれしいなあ。次は何をしようかな?

マウスカーソルに合わせて飛び飛びになるよりも、カーソル挙動に合わせてしっとりぴったりくっついて動く方が気持ちいということだろうか。

とりあえず、マウスを振って一夜の激しさを演出してください。

2023-01-29

カッとなって元記事コメントしようと思ったけど

お金払わないと無理っぽくて、せっかく考えたのに悲しいのでここで供養させてね

外国人大学講師が「現代日本の“進歩的な態度”は本物ではない」と言い切る理由

https://courrier.jp/news/archives/314638/

Japan’s cynical war on woke

https://unherd.com/2022/12/japans-cynical-war-on-woke/

  

I feel that the idea that 'it is right for all humans, regardless of their ethnic or cultural background, to be "woke" in a Western way' is discriminatory.

Is it really possible to easily judge whether "woke" is happening in cultures or value systems that differ from the Western perspective?

Additionally, as someone who is currently a female college student in Japan, I have a sense of discomfort with the author's argument that "social movements in Japan do not happen from the bottom up, but rather top-down."

On a separate note, I believe that for those who are not familiar with the difference between "茶道" and "茶芸" discussing East Asian art may not only be a little crude when it comes to Japanese culture, but also Chinese culture.

  

あと元記事で使われている写真はおそらく著者の日本の教え子の成人式卒業式写真だと思うんだけど

「お前ら全員腰抜け!」って論旨のメイン写真に使うねってちゃん許可取ってるんだろうか…

2022-08-23

HなStable Diffusion

前提として、Stable Diffusionでエロ画像を出そうとしてもsafety checkerという機能が入っており、センシティブ画像を出そうとすると黒塗りになる。

(Stable DiffusionのSaaSであるDream Studioはぼかしだが、多分別技術)

https://github.com/huggingface/diffusers/releases/tag/v0.2.3

そこでGoogle Colabでちゃちゃっと環境を作り、なおかつNSFW回避する。

1. 下記のリンクノートを開く

https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/stable_diffusion.ipynb

2. 下記の箇所を書き換える

vvvvvvvvvvvvvvvvvv

from diffusers import StableDiffusionPipeline

^^^^^^^^^^^^

この一行を書き換えて自前のStable Diffusion Pipelineをクラス定義する。

https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py

をこぴってきてL157行目~159行目を消して貼り付ける。

https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py#L157-L159

3. Google Colabの上から順番に実行する

これだけだ。だが、自分性癖に刺さるStable Diffusionの作成は難しい。つーかマジ安定しない。waifuを探したければ、多分Stable Diffusionは合わない。hentai御用達ワードもなかなかヒットしなかったのでムズイ。

一応、redditを参考にワイが発掘したpromptを置いておく。

"full page antique lithograph of naked girl, sexual position, White background, art print, clean brush stroke, realistic highly detailed, post-processing highly detailed, rendered by octane engine, esty"

naked girlの間に年齢を指定するとガチあかんやつ。人の顔を安定して出すのに"lithograph of" はかなり使える。

"nude painting, big breasts, hot petite, long braided hair, hazel eyes, full round face, short smile, cinematic lightning, medium shot, mid-shot, cinematic wallpaper -C 13"

おっぱいの大きさに定評がある白人女性がたくさん出てくる。顔の部位を丁寧に指定することで安定性が増すらしい。

追記

・肝心のコード改修がテキトー説明でごめんなさい。safety checkerのメソッドオーバーライドするのが多分1番簡単から、ぶら下がってるコメント見てください。ありがとう

・prompt(おまじない)は無からまれものではなく、当然おまじない画像を紐付けしたデータが元になっている。汎用画像分類モデルCLIPはopenaiという別の団体が公開してるおまじない画像データセットだけど、これを検索できるようにしてくれた人がいる。

https://rom1504.github.io/clip-retrieval/?back=https%3A%2F%2Fknn5.laion.ai&index=laion5B&useMclip=false

なんでこんなサイトを紹介しているかって?

お気に入りエロ画像が出てこねーのはお前のpromptが悪いからだ。それを確認できるのがこのサイトだ。

例えば中学生男子なみのムラムラしているおまえはStablediffusionでsexと入れるだろう。だが決して出てこない。

その理由はこのサイト検索すればわかるだろう。邪魔画像が多すぎるのだ。

同様に足をぱっかーんと開いたお姉さんを召喚してみよう。

spread her legs

spreadだっていってんだろ。なに足閉じてんだよをクロスしてんだよ。

この辺が上手くいかない理由だ。

フレーバーいくら増やしてもこの手の問題解決しづらい。例えば sex humanググると多分直感に反してラブドール画像ばかりひっかかるだろう。

promptで重要なのは何を学習たか、その見えない文脈を推測することだ。そのためにはGoogle先生なみの文字センス検索力が必要となるだろう。

ヒントは与えた。後は健闘を祈る

---

r/UnstableDiffusion has been banned from Reddit とのこと。

貴重な情報源が...

2022-06-17

IE地獄IE6,IE7,IE8,IE9が乱立していた時だった

たった数年前だけど、

Google Chromeを元にしてHTMLを組む → IE絶望的に崩れているのを治す

という流れが一般的だった時代があった。

透過png修正するjsを入れて、背景には効かなくて、結局background実装をやめたのもいい思い出です。

IE9が退役になったときにようやくまともなHTMLを組める時代が来たという感じで、昨今はどう書いてもgoogle Chrome見ながらやればほぼ崩れない時代になりました。

2022-04-16

[] Covidiot

コロナは大したことない派(漂白剤を飲めば治る派含む)を指す用法と、マスク警察コロナ過剰警戒派を指す用法があるのがおもしろ



英辞郎 on the WEB 〈俗〉コビディオット◆コロナウイルス感染症の予防対策や警告を無視したり、食料品日用品を大量に買いだめて品薄状態引き起こし、人々の不安をあおったりするばかな人(idiot)

Cambridge Dictionary someone who behaves in a stupid way that risks spreading the infectious disease Covid-19:

https://en.wiktionary.org/wiki/covidiot (derogatory, humorous, neologism) A person who is foolishly reckless with respect to avoiding contracting or spreading COVID-19.


Relating to the 2020 Covid-19 virus:

Someone who ignores the warnings regarding public health or safety.

A person who hoards goods, denying them from their neighbors.

Did you see that covidiot with 300 rolls of toilet paper in his basket?

That covidiot is hugging everyone she sees.


A person who makes themselves look like an idiot, during or after a pandemic.


1. A stupid person who stubbornly ignores 'social distancing' protocol, thus helping to further spread COVID-19.

A person that flies into a pandemic zone for holiday with their children, barely is able to return and shares their harrowing experience on social media for hero points.



1. A perfect term for those spreading, creating or publishing unverified and false information about the novel coronavirus.

2. An idiot who doubts the existence of COVID-19, therefore ignoring the need for social distancing and proper hand washing.


Covidiot: an individual who in the face of dire circumstances for all, acts selfishly toward others instead of in solidarity and with generosity.


Idiots who think Covid is a real threat and idiotically cover their face with a mask fearfully.



A person who "isn't worried" about Covid-19 because they "aren't old enough." (This does not discount the Covidiot having asthma, obesity, or another major risk factor).




Someone who goes on numerous pointless excursions during the aforementioned pandemic, often against local ruling, because they are hollow inside, utterly selfish, and, most probably, lick hand railings.




On the extreme, either denies Covid-19 is an issue at all (or real) and/or completely loses their shit and buys no more soap than usual BUT every last disenfectant product & T.P. roll.**





A person who has no medical background and makes statements about the Coronavirus pandemic founded on dubious sources, i.e. social media, an acquaintance, etc




A person who ignores the governments and health organization's recommendations in regards to the COVID-19 pandemic.



People that have no brain cells and can’t understand what social distancing means. People that make others life miserable in lockdown by continually mixing with others, therefore making the lockdown last longer because it fails .




A person who does not follow guidlines, listen to advice or think about their actions during the COVID-19 pandemic




A person who deliberately coughs on other people and thinks it is funny




An idiot who can’t respect common sense and basic science enough to to help stop the spread of disease.




Someone who is freaking out too much about covid and revolves everything they do around it. Also they treat anyone who doesn’t strictly follow guidelines like a murderer



Person in ICU for weeks blocking people from getting surgery


1. A covidiot is someone who rejects overwhelming evidence, provided by scientists, while promoting his opinions as facts.

2. Someone who, during a pandemic refuses to wear a mask in Walmart.

3. Anyone who thinks drinking bleach will cure anything.

Synonyms include: anti-vaccer, flat-earther, alien conspiracy theorist, climate change denier



A person who advocates for lockdowns, mandatory masks, school shutdowns, and other infringements on liberty based on unsettled science. This kind of person has nothing going on in their life except the sweet dopamine rush they get from self-righteously judging everyone else and tattling on people who don't trust the "experts." Usually talks about "science" a lot but has no background in math or science.




Someone who believes everything they hear on TV and other mainstream media, yet chooses to ignore official CDC numbers, such as how Covid has a 99.9997% recovery rate for those under 30, and 99.92% recovery rate for those 70+. They also ignore the fact that health "experts" on TV have told us that hospitals mark just about any death as a Covid death, no matter how they died, simply because they tested positive for Covid or were merely suspected of such.

Thus, these people wear their masks everywhere they go like it's a status symbol, while believing it actually does any good.

2022-03-14

ブログランキング・新着記事フィルタ(拡張機能)作った

anond:20180609124213

ブログフィルタ - Chrome ウェブストア

https://chrome.google.com/webstore/detail/%E3%83%96%E3%83%AD%E3%82%B0%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF/ljnpbbominfcpmeibilmpombbijelmfn?hl=ja

ブログフィルタ – 🦊 Firefox (ja)

https://addons.mozilla.org/ja/firefox/addon/%E3%83%96%E3%83%AD%E3%82%B0%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF/

github

https://github.com/lvnkae/blog-collection-filter

概要

機能

使い方

基本設定
詳細設定

ブログURLミュート詳細設定

設定済みURLダブルクリックで詳細設定へ

 ・ブログ固有の非表示ワード設定

   絵日記ブログに突然現れる、創作実話漫画は見たくない

   PR記事回避したい

  など。

ワードミュートの詳細設定

 単語の頭に <> を付けると正規表現ON

 例)

  <>宇佐美 *定満

   宇佐美定満

   宇佐美 定満

   宇佐美 定満

   宇佐美  定満

  等、姓名間にスペースが0個以上ある定満はを含むツイートを削除

設定の簡易出力(export)/入力(import)

[対象サイト]

URL概要
https://blog.livedoor.com/ランキングブログ速報、カテゴリ編集部の「推し」、おすすめブログブログ速報
https://https://blog.with2.net/ranking/ランキング、新着記事
https://*,blogmura.com/ランキング

結果

各種ランキングからまとめサイトコンビニ漫画系(嫁姑DV、サレが云々)が消えてスッキリ

動機

twitterがどんどん改悪されてブログ更新が追いにくい

しかランキングサイトまとめサイト汚染されていたのだった

技術

ManifestV3

あとがき

今どきはLINE登録してスマホからブログ見るのが主流と聞き、需要は少なそうですがゼロでもないはず、と思い公開することにしました。amebloのことは忘れましょう。

アップデート予定

あれば

はてなNG代替品(はてぶフィルタ)とYoutubeフィルタにも簡易export/import機能を入れたい気持ち

2022-01-31

anond:20220131120641

https://www.merriam-webster.com/dictionary/one-off

limited to a single time, occasion, or instance : one-shot

// one-off gigs

// a one-off payment

文例

https://dictionary.cambridge.org/example/english/one-off

  • For domains involving many one-off designs, development of extensive background theories will not be justified.
  • While static robot programs may be sufficient for high volume manufacturers, they are not adequate in one-off or small-batch manufacturing.

普通に英語用法そのままでは?

2021-08-13

anond:20210813214015

https://www.publish.csiro.au/sh/SH19239

Background: Rectal douching, which is a common practice among men who have sex men (MSM) as a preparation for anal sex, may potentially increase the risk of HIV infection. However, little is known about the practice of rectal douching among Chinese MSM.

Abst読んだだけでお腹いっぱいになった・・・

腸内洗浄してるかどうかアンケしたという話で健康には絡めてないっぽい?4000円くらい。しらん・・・腹減ったし他に読む論文がある・・・

2021-07-20

anond:20210720161615

メモ帳

<!DOCTYPE html>
<html lang="ja">
    <head>
        <title>練習</title>
        <script>
            alert("aaaa");
        </script>
        <style>
            .div1 {
                color:#ffffff;
                background:#ff0000;
            }
        </style>
    </head>
    <body>
        <h1>練習用のページ</h1>
        <div class="div1">
            ここの色を変えたい
        </div>
    </body>
</html>

コピペして「test.html」みたいな名前で保存したあと

そのファイルブラウザで開いたらええで。

あとはHTMLタグがどういう意味かとか

script」や「style」のところで何を書いてるのかとか

いろいろ自分で書き換えてみて少しずつ理解していけばええで。

そんでCSS勉強したら

ブラウザ拡張機能で「Stylus」っていうのを入れると

見ているページにCSS適用できるようになるから

それでいろいろイジってみればええで。

あとブラウザの「デベロッパーツール」もしくは「開発ツール」っていうのを起動すると

見ているページのHTMLとかが分かるようになるんや。

使いこなすと便利やで。

HTMLCSSJavaScript理解できたら

もう自分ホームページを作れるようになるで。

頑張りや。

2021-07-19

藤本タツキルックバック』を読み解く

振り返る藤野

全てはタイトルに集約されている。振り返るとそこには二人の思い出があり、しかし振り返ったところで藤野京本を救い出し、かつ知り合うことなどできず、京本藤野マンガをやめるというあやふやな決意を振り返らせてくれている。振り返ることがすべての起点になっており、かつ振り返れば君がいるという演出上の意味も含んでいる。実際に藤野はことあるごとに京本を振り返っており、フラッシュバックの折にも背中京本のことを感じている。ところが藤野背中をより感じていたのは京本の方であり、彼女美大受験後も藤野漫画を買い続けてサイン入りのはんてんを部屋に飾っていた。

二人のメンタリティ

ルックバックは振り返るという意味の他に、背中を追いかけるという意味も含まれている。京本藤野背中へのサインを書かせ、藤野を追いかけたいあまりに、せめて画力では随一になりたいと美大受験を決意する。この思いはすれ違って藤本に伝わり、藤本は一度は美大受験をやめるように進言する。この背後には藤野京本よりも自立していない内面が潜んでいるが、それは前項の通り藤野メンタリティにつながってくる。つまり藤野は常に過去思考型で未来を見ずに下を見て過去を見るタイプだったが、京本は上に憧れて未来を見るタイプだったということだ。

未来志向と過去思考

京本が常に未来を向いていた理由は、京本メンタルが常に引きこもっていて外の世界を知らなかったからであり、拡大思考しか存在し得なかったためだ。一方で藤野は冒頭の豊富人間関係から一度はマンガすら諦め、空手(手に何ももってない、という比喩)に逃げて失う方向へと舵を切っている。この一見した外面とは裏腹な藤野の内向性は、ラスト付近まで京本との「もしもの未来」を連想させる。マンガコマをよく見ると、京本が全く何事も連想できない人間であることに対し、藤野はすべてを戯画化できる想像力を持つ人間であることがわかる(この発想は作家は不幸なときでも不謹慎ときでも作品ネタにしてしまえるのではと考える、といった問題だけでなく、藤野自体いか京本に憧れられたか、という内面裏付け付与している)。

ルックバック

美大を境にして二対の関係消失し、孤独な部屋の風景のみが描かれる。そこには十分に背中を映した背景が使用されており、京本の姿はやはりない。しかしこの情景は実は(おそらく)藤野が思い出している孤独執筆作業風景であり、実は自分自分自身と常に戦って今に至ったのではないか、という思いがあった。実際にクラスメイトから無視され始めた彼女はほぼ一人で漫画家への道を成立させた。もちろん、この際述べた背景は他のアシでも描ける、という台詞強がりに過ぎない。こうしたいきさつから彼女の部屋には微妙な変化が見られる。最初クラスメイトに囲まれているのに孤独藤野の姿、後に京本と一緒に執筆する姿、後にまた一人に戻る姿だ。最大の変化は初心の頃に書いた4コマだろう。京本の部屋に投げ込まれ4コマ藤野は死後回収して自室に飾る。このことは京本ライバル関係であったと同時に仲間であり、しかし同時に合否を決める編集でもあったという現れに見える。ともあれ彼女孤独小学生から友情を知る中学生へと移り変わり、社会人で死を知って再び孤独でないことを知る。この描写を読者目線に変換すると、常に藤野背中を見る、という意味ルックバックという意味を成立させている。

犯人エピソード

自分罵倒する声が他人の絵から聞こえた、という下りは二人の微妙関係に適切ではあるが、実は藤野心象風景である「実は自分が殺したようなものだ(家からさなければよかった)」とリンクしている。よってあの話はデウス・エクス・マキナ的な殺しではなく、実質藤野心象風景京本を殺したと解釈したほうがスムーズに読める。ちなみに京本の部屋から最後に出てきた4コマは、藤野京本を助けるというものであった。つまりここで京本彼女を救うという妄想が受け入れられており、自分を救ったのはむしろ京本であったという逆説的な心境に至って立ち直るのである

並行世界説を否定しているわけではなく、当作はどちらかといえばその読み方が自然にできるようにしている。ただし現実は入れ替わらないことから、そのままちぎったマンガ京本の部屋に入り、救助するマンガが今の藤野の元に降りてくる、という演出ではないか個人的には感じている(※『ワンス・アポン・ア・タイム・イン・アメリカ』のオマージュだとしても)。最後漫画藤野がつるはしを背中に受けているマンガであり、彼女の代わりにつるはしを背負い続け、その重荷を目の前に飾っている。

戯画と写実と

マンガは極めて戯画的な分野であり、絵画ないし背景美術は(デフォルメも含んでいるが)写実の分野だ。現実性と写実性は漫画重要ファクターであると同時に、写実が戯画を殺し、戯画が写実を陳腐化させることも往々にしてありえる。そしてこの関係は補完関係でありながらも潰し会う関係であり、二人の関係はまさに一つの漫画だった。そうして我々が彼女たちの背中を見る時に、マンガのものをその背後に見るのである

また、以上の事実から藤野が主役であり、京本が「背景」であるという関係から京本が主役になりたいと切に願い、藤野背中を追いかけていた経緯も明らかとなる。故に彼女の死後の部屋にはたくさんの藤野の連載作品放置されている。

京アニ解釈は他の方が遥かに詳しく、こちらが書く意味はないと判断してのこと。

※誤字指摘ありがとうございました。

Background、良い解釈だと思いました。

2021-05-05

濁点喘ぎや♡喘ぎの゛や♡を楽に書く方法

動機

濁点喘ぎや♡喘ぎのあるエロ小説が大好きで、もっと読みたいから。

自分エロ小説を書けなかったので、書ける人にもっとたくさん書いてほしいから。

あと、自分AutoHotkeyを入れてからだいぶたってしまったので、導入がおぼろげなのは申し訳ない。

そして肝心の、一番お世話になったサイトを忘れてしまった。最悪だ。見つけたら絶対貼る。

見つけた。これだ。

書き終わってから見つけた。

https://clrmemory.com/pc-mobile/windows/autohotkey-any-character/

前提

技術系に詳しくないのでカンベン。

スマホエロ小説書いてる人は申し訳ない。

参考

http://ahkwiki.net/Top

AutoHotkeywiki。困ったらここを見る。

大まかな手順

  1. AutoHotkeyを入れる
  2. スクリプト作成編集する
  3. スクリプトを実行する
  4. エロ小説を書く
  5. スクリプトを停止する)
AutoHotkeyを入れる

https://autohotkey.com/download/

公式サイトからダウンロードする。

ダウンロードしたインストーラーを実行する。

(ここがおぼろげなのがひたすらに申し訳ない)

スクリプト作成編集する

どこかフォルダを作る。後々、他に必要ファイルも入れていく。

自分ドキュメントフォルダの中に「小説フォルダ」を作成した。

新しく作ったそのフォルダの中で、右クリック新規作成→「AutoHotkey Script」を選択

自分は「小説用.ahk」にした。

作成したahkファイル右クリックプログラムから開く→エディタで開く(最初から入ってる「メモ帳」でOK

開いたらなんか初期状態で書いてあるけど気にしなくてよし。ってか自分はよくわからなかったから削除した。はいまっさら

とりあえず以下の内容にして保存。(最初からあった文章は消してしまったので、まんまこの内容)

#Include IME.ahk
;;;Pgupで♡
Pgup::
  ime := IME_Get()
  IME_Set(0)
  Send, ♡
  IME_Set(ime)
return
;;;PgDnで゛
PgDn::
  ime := IME_Get()
  IME_Set(0)
  Send, ゛
  IME_Set(ime)
return

保存した?よし。閉じていいよ。

おっとそうだ、さっきのフォルダに入れなきゃいけないのがあった。

IME.ahk」のファイルが要る。

http://ahkwiki.net/Trouble

の「AutoHotkey_L固有の不具合」にあるが、詳しくわからないのでとりあえず、

https://w.atwiki.jp/eamat/pages/17.html

からダウンロードzipなので展開する。

中にあるフォルダANSIかUTF8)の中のIME.ahkコピーして、さっき新規作成したフォルダ自分なら「小説用」)にペースト

どっちのフォルダのを入れたかは忘れた…。

持ってこれた?おっしゃ

そしたらIME.ahk編集する。

編集内容はお世話になったサイトに書いてあったんだけど、忘れたのでもう全部ここに貼ってやろう。

と思ったけど多かったので、消す部分だけ貼る。以下のやつを消さないと、実行したときに「ンンンンンン」ってなる。

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 
;
; 動作確認用 内部ルーチン (マウスカーソル位置ウィンドウIME状態を見る)
;  単体起動時のテスト用なので削除しても問題なし
_ImeAutoExecuteSample:
    Hotkey,#1,_ImeGetTest
    Hotkey,#2,_ImeSetTest
    Hotkey,#3,_ImeIsConvertingTest
    Hotkey,+ESC,_ImeTestExt
    SetTimer,_ImeInfoTimer,ON
return

;--- IME状態表示タイマ ---
_ImeInfoTimer:
    Tooltip,% "IME_GET			: "     . IME_GET(_mhwnd())             . "`n"
          .  "IME_GetConvMode		: " . IME_GetConvMode(_mhwnd())     . "`n"
          .  "IME_GetSentenceMode	: " . IME_GetSentenceMode(_mhwnd()) . "`n"
          .  "IME_GetConverting	: "     . IME_GetConverting(_mhwnd())
return

;--- IME Get Test [Win]+[1] ---
_ImeGetTest:
    MsgBox,% "IME_GET			: "     . IME_GET(_mhwnd())             . "`n"
          .  "IME_GetConvMode		: " . IME_GetConvMode(_mhwnd())     . "`n"
          .  "IME_GetSentenceMode	: " . IME_GetSentenceMode(_mhwnd()) . "`n"
return
;--- IME Get Test [Win]+[2] ---
_ImeSetTest:
    MsgBox,% "IME_SET			: "     . IME_SET(1,_mhwnd())             . "`n"
          .  "IME_SetConvMode		: " . IME_SetConvMode(0x08,_mhwnd())  . "`n"
          .  "IME_SetSentenceMode	: " . IME_SetSentenceMode(1,_mhwnd()) . "`n"
return

_mhwnd(){	;background test
	MouseGetPos,x,,hwnd
	return "ahk_id " . hwnd
}

;------------------------------------------------------------------
; IME窓のクラス名を調べるテストルーチン
;   入力or変換状態Ime窓にマウスカーソル持ってって [Win]+[3]押す
;   Clipboardに Class名がコピーされる。入力窓/候補窓 それぞれ調べる。
;   調べたクラス名は 正規表現になおして
;      IME_GetConverting("A","入力クラス","候補クラス")
;   とかやって使う。(もしくは IME_GetConverting()の中に直接追加する)
;
;   あああ    ← 入力窓の上に マウスカーソル持ってって [Win]+[3]押す
;    ̄ ̄ ̄       Clipboardに Class名がコピーされる。
;                ※ MS Office系のシームレス入力状態では取れないっぽい
;                   DetectHiddenWindows,ONでもダメシームレスOFFにしないと無理
;
;   愛
;  |愛   | ← 候補窓の上にマウスカーソル持ってって [Win]+[3]押す
;  |亜依  |    Clipboardに Class名がコピーされる。
;  |あい  |
;  |藍   |
;  | :  |
;   ̄ ̄ ̄ ̄
;------------------------------------------------------------------
_ImeIsConvertingTest:
    _ImeTestClassCheck()
return
_ImeTestClassCheck()  {
    MouseGetPos,,,hwnd
    WinGetClass,Imeclass,ahk_id %hwnd%
    Clipboard := Imeclass
    ;IME_GetConverting() 動作チェック &amp; IME 入力窓/候補 Class確認
    MsgBox,% Imeclass "`n" IME_GetConverting()
}
;--- 常駐テスト終了 [Shift]+[ESC] ---
_ImeTestExt:
ExitApp
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 

消して保存した?おし

ファイル作成編集はこれでOK

スクリプトを実行する

小説用.ahk」(自分作成したほうのファイル)を右クリックで「Run script」で実行できる。

が、ショートカット作成できる。作成して別なところに置いたほうが楽な人はそうするとOK

コンパイルしないといけない……かと思いきや、しなくても実行できたから、コンパイルは要らないか。まぁいいか

もし「要るよ」って人がいたら、作ったほうのファイル右クリックして「Compile なんちゃら」でコンパイルできるので、どうぞ。

しなくても大丈夫なのであまり気にしなくてよさそう。

エロ小説を書く

使い方。まずは実行開始から

作成したファイルダブルクリック

ショートカットなら、ショートカットダブルクリック

コンパイルしたなら、コンパイルしたやつをダブルクリック

開始時になんかちっちゃいウィンドウが出てくるが、気にせず「OK」を押していい。(出ないかも)

さっきのスクリプトの中身は

が打てるようになる。

注意点としては、

他のキー割り当て一覧

http://ahkwiki.net/KeyList

書いてみよう。

「あ゛あ゛あ゛♡♡♡♡」

どうしても「一度変換を確定しないといけない」というのがちょっとひっかかるが、それでもわざわざ濁点を変換して入れたり、ダブルクォートを代わりに使うよりはいい。

喘ぎ声はひらがなカタカナが多いから変換を確定せずに打てるのが一番いいが、コツをつかめばきっと上手く活用できるはず。活用してください。

スクリプトを停止する

意外と忘れがちだが、大事

これをしないと、家族との共用パソコンを使っているならば、

「なんでこのキー押すと濁点とハートが出るの?」

という家族からの痛い追及を被ることになる。

画面右下の上矢印を押すと、いろいろ出てくる。

その中に、緑背景に白文字のHのアイコンがある。

これを右クリックExitで停止。

もう誰もこのエロ小説スクリプトが実行されていたなんて気づかない。

終わり

もっと便利にしたいときは、AutoHotkeywikiが参考になるはず。

http://ahkwiki.net/Top

他にも、ホットキーとかショートカットキーとかでいろいろある。

でも「特定文字入力する」はAutoHotkeyでないとできなさそうだった(自分が見つけられた範囲では)

世の中に濁点喘ぎと♡喘ぎの小説が増えますように。

もっ゛とかい゛てぇ゛ぇ゛ぇ゛ぇ゛ぇ゛♡゛♡♡♡♡

み゛た゛い゛の゛お゛お゛お゛お゛お゛♡♡♡♡♡♡

2021-04-18

タクティクスオウガFFタクティクス、そんなにスタッフかぶってないのでは?→かぶってない

ちょっと調べてみたところ、やはりそうだった。具体的には『タクティクスオウガ』(1995)のスタッフで『ファイナルファンタジータクティクス』(1997)にも参加しているのは、松野皆川吉田という中核スタッフ3人と、外部のサウンドスタッフである岩田、崎元だけだった。

私がFFTから感じていた「タクティクスオウガ感」は、お話、絵、音楽という表層的なものだったのか(もちろんスクウェアスタッフタクティクスオウガに“寄せて”作ってただろうけれど)。

件の中核3人以外の『タクティクスオウガスタッフは、その後ニンテンドー64任天堂より発売された『オウガバトル64』(1999)に参加している。

クエストはそこからGBAで『タクティクスオウガ外伝 The Knight of Lodis』(2001)をリリースするのだが、そこに『タクティクスオウガ』のスタッフはほぼ残っていない。 ここに至ってクエスト閥とスクウェア閥で完全に道が分かれたように見えるが、実はここからまた一捻りある

その後クエストIPスクウェアに売却するのだが、そのときスタッフスクウェア移籍したようだ。その結果、『タクティクスオウガ』(1995)にも『FFタクティクス』(1997)にも未参加だった『タクティクスオウガ外伝』(2001)の若いスタッフの中からスクウェア移籍後『FFタクティクスアドバンス』(2003)に10人、『FF XII』(2006)に11ものスタッフが名を連ねている。ていうか『FFタクティクスアドバンス』ってこれもう実質『タクティクスオウガ外伝』じゃん、というメンツで作られている。『タクティクスオウガ外伝』の村澤裕一ディレクター現在スクエニデザイナーとして『FF XIV』の開発に関わっているようだ。そして、その『FF XIV』のアートディレクター皆川裕史。タクティクスオウガ遺伝子はまだ息づいている。

以下『タクティクスオウガ』(1995)のスタッフ


2021-02-04

カタカナで書いてもそこまで違和感ないのに英語で書く人

なんなの?ルーなの?

「そういったskillを早い段階で――」とか

「それぞれに異なるbackgroundをお持ちでしょうから――」とか

カタカナにすると何か伝わらない微妙差異を漏らすまいと必死にあらがっているの?

まだ「有難う御座います」とか何でも漢字にするほうがマシ

2021-01-03

アフガニスタンの話

アフガニスタンというと、日本では人道的支援ODA政府開発援助)の話が中心で、最近の情勢がどうなっているかという報道ほとんどない。なのでちょっと書いてみたい。


もうずいぶん昔の話だが、2001年9月11日ニューヨーク同時多発テロがあった直後、アメリカアフガニスタンに侵攻してタリバンパキスタンに追いやったのだった。

タリバンとはパキスタンのマドラサイスラム学校)発の運動で、1990年代末にはアフガニスタンを掌握していた。

なぜアメリカタリバンと戦ったかというと、アルカイダ同時多発テロを主導)の中心人物だったウサーマ・ビン・ラディン2011年パキスタン殺害)を、タリバンがかくまっていたからだった。当時のブッシュ政権テロとの戦い(The War on Terror)を標ぼうして、それに参加しない国は敵として侵攻もやむなしという国防戦略をとっていた。NATO加盟国から軍隊アフガニスタンに行ってタリバン戦争をしていた。


それから19年経ってどうなったか

タリバンは滅びていない。それどころかアフガニスタン国内で着実に支配を拡げつつある。一方、アメリカを中心とするNATO軍は今年(2021年)の5月までに完全撤退を目指している。(日本ではあまり報道されないだけで、)この間ずっと戦争は続いていた。

アメリカにとってアフガニスタンでの戦争は史上最長の戦争になったが、負けたという見方が強まっている。戦費の負担アメリカにとってずっと重荷だった。オバマ大統領2014年に多くのアメリカ軍を撤退させたが、完全撤退にはならなかった。アフガニスタン軍を育てて、アフガニスタン人に自分たちタリバンと戦ってもらおうというもくろみだったのだが、これはあまりうまく行っていない。毎年アメリカアフガニスタン軍の費用の4分の3(50億ドルぐらい)を注ぎ込んでやらないと戦えないからだ。

トランプ大統領は去年の2月末にタリバンとの和平交渉をまとめたことになっている。ことになっている、というのは、その内容がかなり怪しいからだ。アフガニスタン国土アメリカとその同盟国(allies)の安全を脅かす活動に使わないこと、タリバンと現アフガニスタン政府が和平交渉を行うこと、をタリバン誓約させるかわりに、アメリカは今後一切アフガニスタン国内問題に介入しないこととしている。

これは実質的に逃げを打っているのであって、NATO軍が去った後、これまでの努力は水泡に帰してタリバンアフガニスタン支配するのではないかという見方が強まっている。


アメリカタリバンがまとめた合意にしたがって、去年の秋からカタールドーハアフガニスタン政府ととタリバンの和平交渉が続いていた。⁠今月の5日からこの交渉は再開する予定だ。


2001年末にパキスタンへ逃げた当時のタリバンは完全に弱体化していたが、パキスタンイラン支援のおかげで今はプロ軍事組織に成長していて、最近構成員は6万人くらいいるといわれている。

和平交渉を行っている間も休戦にはならず、タリバンアフガニスタン国内毎日のように人を殺しまくっている。以前は政府や軍の高官をターゲットにしていたが、最近では一般人女性活動家を含む)を中心に襲っている。タリバン政権中枢で力を持ったときに歯向かいそうな人間をあらかじめ殺しているといわれている。


タリバンイスラム法の厳格な運用を目指している。現在タリバン実効支配している地域ではだれもタリバン文句を言えないそうだ。

女性基本的に家を出ることはできず、外出の必要があれば親族男性が付き添わなくてはいけない。もちろん学校に行くこともできない。


現在政権下では女性社会進出が進んで、労働人口の5分の1が女性になったらしい。タリバン政権を取ればすべてが昔に逆戻りになるのでアフガニスタン女性は脅威を感じているそうだ。

だがこの数年で現政権交渉力をかなり失い、タリバンは力を伸ばしている。

今月再開される交渉の結果、タリバンアフガニスタンのあり方を大きく変えるか、交渉決裂で内戦が起こる可能性がまことしやかに議論されている。


日本はこれまで開発援助でアフガニスタン支援してきた。これは基本的親米の現アフガニスタン政府とのつきあいだ。テロとの戦いでは基本的アメリカ同調してきた。だが今回のアフガニスタン和平交渉の結果、タリバンメンバー政権中枢に入ることになれば、これまで実質的に「テロリスト」扱いしてきたタリバン相手日本国民の税金を原資とした開発援助が使われるという事態にもなりうる。

ちなみに、アメリカタリバンと締結した合意では、アメリカの「同盟国」がどの国かは具体的に書いていない。これは安保条約適用対象日本も含まれるのかどうかはよくわからない。そうだろうと日本人が勝手に思っているだけの可能性もある。



ソース、もし興味があれば

Abed, F. and Gibbons, T. (2021) ‘Targeted Killings Are Terrorizing Afghans. And No One Is Claiming Them.’, The New York Times, 2 January. Available at: https://www.nytimes.com/2021/01/02/world/asia/afghanistan-targeted-killings.html.

Afghan, S. (2020) Living with the Taleban (1): Local experiences in Andar district, Ghazni province , Afghanistan Analysts Network. Available at: https://www.afghanistan-analysts.org/en/reports/war-and-peace/living-with-the-taleban-1-local-experiences-in-andar-district-ghazni-province/ .

Al Jazeera (2020a) Afghan gov’t, Taliban announce breakthrough deal in peace talks, Al Jazeera. Available at: https://www.aljazeera.com/news/2020/12/2/afghan-govt-taliban-announce-breakthrough-deal-in-peace-talks.

Al Jazeera (2020b) ‘Qatar to host next round of Afghan gov’t-Taliban talks: Official’, Al Jazeera, 27 December. Available at: https://www.aljazeera.com/news/2020/12/27/qatar-to-host-next-round-of-afghan-govt-taliban-talks-official.

Ministry of Foreign Affairs of Japan (2020a) Japan-Afghanistan Foreign Minister’s Telephone Talk, Ministry of Foreign Affairs of Japan. Available at: https://www.mofa.go.jp/press/release/press3e_000133.html.

Ministry of Foreign Affairs of Japan (2020b) Video message by Foreign Minister Motegi at the 2020 Afghanistan Conference in Geneva, Ministry of Foreign Affairs of Japan. Available at: https://www.mofa.go.jp/press/release/press6e_000250.html.

Thomas, C. (2020) Afghanistan: Background and U.S. Policy: In Brief. Washington, D.C. Available at: https://fas.org/sgp/crs/row/R45122.pdf.

U.S. Department of State (2020) Agreement for Bringing Peace to Afghanistan between the Islamic Emirate of Afghanistan which is not recognized by the United Statesas a state and is known as the Taliban and the United States of America. Available at: https://www.state.gov/wp-content/uploads/2020/02/Agreement-For-Bringing-Peace-to-Afghanistan-02.29.20.pdf.

Walt, S. M. (2019) We Lost the War in Afghanistan. Get Over It., Foreign Policy. Available at: https://foreignpolicy.com/2019/09/11/we-lost-the-war-in-afghanistan-get-over-it/ .

2020-12-29

「 #えんとつ町のプペル 」の感想

AI Dugeon

https://play.aidungeon.io/

と、DeepL翻訳を駆使して書いてみた。

翻訳過程文体が変わってる箇所もあるけど、

その辺りはご愛嬌って事で。

なお、元増田は観に行ってません。

---

これから書く文章キングコング西野絵本劇場アニメ化した「えんとつ町のプペル」の感想である

なお、私はこの映画を見てないし例え賄賂を貰っても観に行く事はないだろう。

即ち、妄想感想である

まり、これは私の想像に基づく感想文です。正確かもしれないし、正確でないかもしれない。

しかし、私は気にしない。これは語り継がれるべき物語だ。そして、それは全体として語られるに値する。では、始めましょう!

大前提として、キングコング西野お笑い芸人を気取った炎上インフルエンサーであることに注目する必要がある。これは彼の作品共通するテーマのようです。

これについては、「なぜ?これは、意志の弱い者のための松葉杖としての皮肉現代の風潮に対する、ある種の皮肉コメントなのだろうか?彼は本当にこのように気取っていたのだろうか?彼はそんなに面白かったのだろうか?(No.) 彼は刑期を終えて釈放されたヤンコ・ウルラの次の笑い中心のコメディアンになろうとしていたのだろうか? いやいや...

私はどこにいたんだろう?

さて、肝心の物語についてから話そう。

どうやら「ペプル」なる少年を主軸としたジュブナイルファンタジーらしいのだが、私は原作を読んでないのでその様に類推した。が、もしかすると蒸気機関の様な何かが出て来るので、スチームパンク…もしくはそれに類する何かが出てくるのだろう。

重要なのは子供向けに作られたものだということだから、それはどうでもいいことだと思う。

私は子供向けの映画文句を言う人ではありませんが(というか、誰がそうなのか!)、これは退屈しました。登場人物はすべて一次元的で、予測可能で、それらのどれもが歌うことができませんでした。

実は私はこの映画の評判を事前に知っていました。

曰く「キングコング西野の影がチラついて鑑賞の妨げになる」と。

これは当然だと思います

前述の通りキングコング西野は「炎上インフルエンサー」です。自身執拗アピールすることなぞ当たり前にやってのけます。それが彼の特技だからです。

炎上インフルエンサー」は全員悪目立ちしないとお金が稼げない成年被後見人以下のクソ野郎なので、そこは笑って忖度してあげましょう。

しかし、この場合キングコングが正解かもしれない。そう、この映画はひどい。でも、人が見に行かなければ世界が良くなるとは思えない。

最後に。

極端に聞こえるかもしれませんが この世の「炎上インフルエンサー」が 一人残らず絶滅することを心から願っています 数が多すぎるからね。

それは一般的世界のために、これらの人々が死ぬべきであり、私は彼らが死ぬべきである私たち種族のために、特にそれがより良いと思います

なぜですか?

もちろん、職業選択の自由はあるので一概には言えませんが、過激言葉で注目を集める人が突然死しても何ら問題はないと断言します(YouTubeでも似たような行動をしています)。

彼らが絶滅してくれれば世の中が良くなると思う。彼らの才能で稼げなくなっても、いずれは消滅するだろうし、それはそれで良いことだと思います

終わり。

---

(おまけ。英語版

What I am about to write is my impressions of "Pupel of Entotsumachi," an animated film based on King Kong Nishino's picture book.

I haven't seen this movie, and I wouldn't go see it even if I were bribed to do so.

In other words, this is an opinion piece based on my imagination. It may or may not be accurate.

But I don't care. This is a story that needs telling. And it deserves to be told in its entirety. So let's get started!

As a basic premise, it is necessary to note that King Kong Nishino is a flaming influencer pretending to be a comedian. This appears to be a common theme among his work.

I have no real questions about this except why? Is this some sort of ironic commentary on the modern tendency towards irony as a crutch for the weak-willed? Was he really this pretentious? Was he even that funny? (No.) Was he trying to be the next laugh centered comedian Yanko Urla released after his prison term? (No.)

Where was I?

Now, let's talk about the important part of the story.

It seems to be a juvenile fantasy about a boy named "Pepuru", but since I haven't read the original, I guessed it that way. I haven't read the original, so I'm guessing that's what it's about, but maybe it's steampunk or something similar, since there's something like a steam engine in it. I suppose it doesn't really matter, since the point is, this thing was made for children.

Now, I'm not one to grumble at a child's movie (I mean, who is?!) but this one just bored me. The characters were all one-dimensional, the predictable, and none of them COULD sing.

In fact, I knew the reputation of this movie beforehand.

I was told that "the shadow of King Kong Nishino flickers in the background and interferes with the viewing.

I think this is natural.

As I mentioned above, King Kong Nishino is a "flame influencer". It's no surprise that he appeals himself relentlessly. That's because it's his specialty.

All "flame influencers" are wards of the law or worse who need to stand out to make money, so let's just laugh at them and let them be disciplined.

In this case, however, King Kong might be in the right. Yes, this movie is terrible. But I'm not convinced the world would be a better place if people didn't go to see it.

Finally.

I know this may sound extreme, but I sincerely hope that every single "flaming influencer" in this world will die out. There are too many of them.

It is better for the world in general, that these people should die out, and I think it is better for our kind specifically, that they should die out.

Why?

Of course, there is freedom of choice, so it is difficult to say for sure, but I assure you that there is nothing wrong with the sudden death of those who attract attention with their radical words (or similar actions on YouTube).

I think the world would be a better place if they were to just go extinct. If they are unable to make money with their talents, they will eventually disappear, and that's good for all of us.

2020-04-13

世の中のノーマルスターを取り戻す

はてブのスターを元に戻せ」の件。

テスト中だからかもしれないけど、スターデータを取得するための通信は行われていて、表示する処理がすっ飛ばされるように作られてる。

判定は HTML 要素の data-category-name が "social" かどうかを見てる。

なので、スクリプトをさわれる人だったら、その属性の値を変えちゃうと良いよ。

アドオンにするとしたら、雑だけどこんな感じの background script

browser.contentScripts.register({
    js: [
        {
            code: `
    if (document.documentElement.dataset["categoryName"] == "social") {
        document.documentElement.dataset["categoryName"] = "x-social";
    }
                `,
        }
    ],
    matches: [
        "https://b.hatena.ne.jp/entry/*",
    ],
    runAt: "document_start",
});


ぐりもん系とか使ってないから試してないけど、ページの読み込みが完了する前にコードを動かす手段があるなら、同じ乗りでいけるはず。

2020-04-02

File Explorer動画バックグラウンド再生できたのか

ずいぶん前からiPhone音楽聞くのにFile Explorerを使っているが、おとといまで知らなかった。

バックグラウンドでも、画面OFFにした状態でもMP4再生できたんだな。

音楽と言ってもMP3あんまり持ってなくて、ブラウザープラグイン使って動画サイトから拾い集めたMP4ほとんどだからこれは重宝する。

ちなみに使っているバージョンは、

iOS 12.4.1

FE Pro 8.2

やり方は簡単

「Video Playback in Background」を有効にするだけ。

ついでに「自動的に次のビデオ再生する」も有効にしておけば、画面切ってポケットに放り込んだまま連続再生してくれる。

2020-03-25

ason of Game of Thrones were released as a DVD and Blu-ray box set on March 6, 2012. The box set includes extra background and behind-the-scenes material but no deleted scenes, since nearly all the footage shot for the first season was used.[159] The box set sold over 350,000 cop

https://oomnitza.zendesk.com/hc/tut/community/posts/360042153253-26-03-2020-Отражение-радуги-13-серия-смотреть-качество-HD-от-26-марта-

https://oomnitza.zendesk.com/hc/tam/community/posts/360041972874--В-шаге-от-рая-17-серия-Россия-1-26-03-2020-смотреть-бесплатно-в-хорошем-качестве-

https://oomnitza.zendesk.com/hc/tam/community/posts/360042131213-26-03-2020-Ничто-не-случается-дважды-2-сезон-15-серия-онлайн-сериал-смотреть-от-26-марта-

https://oomnitza.zendesk.com/hc/en-us/community/posts/360041949334-26-03-2020-Доктор-Вера-15-серия-смотреть-бесплатно-в-хорошем-качестве-от-26-марта-

https://oomnitza.zendesk.com/hc/tam/community/posts/360041951514-26-03-2020-Ничто-не-случается-дважды-2-сезон-17-серия-смотреть-бесплатно-в-хорошем-качестве-от-26-марта-

https://oomnitza.zendesk.com/hc/tam/community/posts/360041971374-26-03-2020-Отражение-радуги-11-серия-смотреть-онлайн-в-хорошем-качестве-от-26-марта

https://oomnitza.zendesk.com/hc/en-us/community/posts/360042131213-26-03-2020-Ничто-не-случается-дважды-2-сезон-15-серия-онлайн-сериал-смотреть-от-26-марта-

https://oomnitza.zendesk.com/hc/tam/community/posts/360042134013--Проспект-обороны-11-серия-НТВ-26-03-2020-онлайн-сериал-смотреть-от-26-марта-

https://oomnitza.zendesk.com/hc/en-us/community/posts/360042128013-26-03-2020-Отречение-23-серия-украина-качество-HD-от-26-марта

2019-11-10

TwitterYahoo!リアルタイム検索共通で使えるフィルタ(拡張機能)作った

anond:20180609124213

Twitterフィルタ - Chrome ウェブストア

https://chrome.google.com/webstore/detail/twitter%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF/eoglgmgmfacolbkbjpkhdloieffcmnan

Twitterフィルタ – 🦊 Firefox (ja)

https://addons.mozilla.org/ja/firefox/addon/twitter%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF/

github

https://github.com/lvnkae/twitter-filter

概要

用語

機能

Twitter
Yahoo!リアルタイム検索
togetter
迷惑サイトフィルタ

使い方

基本設定
詳細設定

ユーザIDミュート詳細設定

設定済みIDダブルクリックで詳細設定へ

 ・アカウント固有の非表示ワード設定

   質問箱回答だけうざい

   NewsPick発言が痛々しい

  など。チェックはしたいアカウントだが一部気に障る発言がある場合に。

表示名ミュートの詳細設定

設定した単語ダブルクリックで詳細設定へ

 a.単語の頭に <> を付けると正規表現ON

 例)

  <>(名言|迷言|画像|図鑑|検定|ネタ|セリフ)bot$

  各種botツイートプロフィールをまとめて削除

 b.フィルタ適用方法指定

   完全一ON/OFF

   大文字/小文字区別なしON/OFF (正規化)

  をチェックボックスにて指定

 ※完全一致と正規表現排他

 ※両方設定した場合正規表現が勝ち完全一致は無視される

ワードミュートの詳細設定

 単語の頭に <> を付けると正規表現ON

 例)

  <>宇佐美 *定満

   宇佐美定満

   宇佐美 定満

   宇佐美 定満

   宇佐美  定満

  等、姓名間にスペースが0個以上ある定満はを含むツイートを削除

絵文字の扱い

[対象サイト]

URL概要ミュー対象
https://twitter.com/$(user)twitterユーザページツイート/おすすめユーザ
https://twitter.com/$(user)/status/$(tweet-id)twitterツイートスレッドリプライ
https://twitter.com/$(user)/lists/twitterリストツイート
https://twitter.com/search?=$(command)twitter検索結果ツイート/プロフィール/画像/記事
https://twitter.com/hashtag/$(hashtag)?src=hashtwitterハッシュタグ検索結果ツイート/プロフィール/画像/記事
https://search.yahoo.co.jp/realtime/search?$(command)Yahoo!リアルタイム検索ツイート
ttps://togetter.com/li/$(contentsID)togetterまとめ詳細ページツイート/リンク/コメント

備考

Twitter
amba.tobitly系(ameba)
amzn.tobitly系(amazon)
bit.ly本家
buff.lybitly系
dlvr.it
goo.glgoogle独自/API廃止されたらしい
htn.tohatena独自/19.02.28API廃止
ino.toInoreader
ift.ttbitly系(IFTTT)
is.gd
j.mpbitly系
kisu.me
lb.tobitly系(livedoor)
nav.cxnaver独自
npx.meNewsPicks独自
ow.lyhootsuite
tinyurl.comtinyurl

結果

twitter検索結果がかなりきれいになった。まとめサイトとかまず見ない。

動機

技術

短縮URL展開
右クリックメニュー

文字制限にかかったので次へ…

2019-09-04

これをやるだけで上位1%になれるRプログラミングTIPS

Rはプログラミング苦手な人にも覚えやす

が、そのためか、プログラミングの得意な人からしたら「ええ・・・」となるような行動を初学者が取りがちに思える

そこで、とりあえずこれだけ守ってほしいというアドバイスを書きました。

エラーが起きたとき

あれこれするより先にエラーメッセージを読め。ぶっちゃけエラーメッセージを読むだけで上位10%だ

あと、エラーメッセージとWarning messageは違うものからな。行間を読む前に行を読め

エラーメッセージの内容がわからなかったらエラーメッセージをコピペしてググれ

日本語サイト微妙だったとき英語でググれ

Stack Overflowにだいたい同じエラーで困ってる人が既に投稿してる

エラーは生じてないが思い通りの挙動になっていないとき

定義した変数の中身を逐一確認して予定してる内容になってるか確認しろ

試行錯誤しすぎてわけがからなくなったら変数を全部削除して一番上から実行し直せ

変数の全削除は rm(list=ls()) でできる

実行し直してるときに、一行ずつ予定通りの挙動になってるか確認しろ

変数の型を逐一str()関数確認しろ

予定通りの型になっているか特に、因子型と数値型、因子型と文字型の混同で生じるミス多い

原因と思しき箇所の関数の使い方が正しいか確認しろ

ヘルプを見て使い方が合ってるのか確認

関数名 R 」でググれ

いきなりやりたいことを全部書くんじゃなくてデータを縮小 (例えば、一部の日にちのデータ) したり、処理を簡略化して小さいプログラムを作って徐々に拡張しろ

作図が思い通りにできないとき

関数名でググれ

日本語ダメなら英語でググれ

画像検索を使え (google検索の「画像」タブ)

自分が描きたい図に近い画像からそのウェブサイトに飛んでいけ

知らなきゃ検索できないから、よく使う用語は覚えておけ

例えば・・・

group (変数グループ化、例えば「条件毎に折れ線を引く」)

facet (「●●ごとに図を描く」)

alpha (透過度)

tick (目盛り線)

axis (軸)

background (背景)

legend (凡例)

例えば「●●条件毎に線を引きたいけど、geom_line()でどうしたらいいのか?」と思ったら「geom_line group」で検索したら、だいたいやりたいことをやってる画像が出てくるので、それを参考したらいい

検索がうまく引っかからない

日本語ダメだったら英語検索しろ (再掲)

“how to” と入れるとだいたいヒットする

例えば「how to change colors gradient ggplot2」でググると色をグラデーション様に変える方法が出てくる

人に質問するときのコツ

「○○でうまくいきますか?」「〇〇だとダメですか?」と質問してくる人、本当に多いけど、その質問は、以下の2つの理由で良くない

そもそもプログラムなんて同じ目的を達成するのに何通りも答えがあるので、「○○でうまくいきますか?」という質問には「それは書き方次第だなぁ」としか言いようがない

・試せばわかるのだから、人に聞くより実行してみたらいい。エラーの数だけお前は強くなる。エラーを受け取るのを恐れるな

答えやす質問は以下のような形だ

「○○を実行したら、こういうエラーが生じるんですけど、エラーの内容が理解できません」

「○○という形のデータを作りたいんですけど、この処理だとこの形にならないのはどこが原因ですか?」

「○○という処理を行ってくれる関数が探しても見つからないんですけど、ありますか?」

ログイン ユーザー登録
ようこそ ゲスト さん