「TEXT」を含む日記 RSS

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

2021-07-06

AdBlockの使いみち

anond.hatelabo.jp##div.section:has-text(死ね)

anond.hatelabo.jp##div.section:has-text(/低[能脳]/)

とか

b.hatena.ne.jp##.js-keyboard-selectable-item:has(a[href*="togetter.com"])

b.hatena.ne.jp##.js-keyboard-selectable-item:has(a[href*="asahi.com"])

2021-05-29

英訳:Part-time-job to writing moaning voices

英語勉強傍ら、DeepLでの翻訳をもとに、英文化してみた。

サンキュー増田

-------------

When I was in college, I had a part-time job writing moaning voices incessantly.

It was a part-time job at an erotic game company that I was introduced to by one of my seniors.


The company put a lot of effort into the story of their erotic games, and the writers who worked there were all people who took pride in their writing.

From their point of view, it was a pain to write the moaning voices in the sex scenes, so they decided to leave it to the part-time workers.


Here's what the job was like.

First, I was given the "gist" of the sex scene, such as "unzipping" or "moving hips faster.

2. I would then add my own moaning voices, such as "mmm ......" and "ahhhhhh", in a reasonable amount of salt.

3. the scenario writer checks it and it's done.

That's how it went.


This may sound easy, but it is surprisingly difficult.

First of all, there is a certain length to an sex scene, so it is necessary to make it exciting precisely within that range.

The sounds used must be gradual, so that the audience does not get bored, and the excitement must be gradually increased.

It is also important to adjust the length of the text.

If the text is too short, it won't convey a sexual pleasure feeling, but if it is too long, the voice will become redundant.

In this way, a sense of balance and systematic pacing is required to get a bird's eye view of eroticism.

It was definitely not a job that I could just bang on the keyboard as I pleased.


My first work was a "younger sister" story, and I had a hard time allocating the "a" sound for the second sex scene.

If she said "aaaaah" from the beginning, it would sound like a seasoned whore's moaning voices, but if She said "an", it would not be erotic enough.

I finished it after much effort, but the writer said, "Couldn't you make it faster?” I'm disappointed.


As I was puzzling over what to do with ...... in front of the computer left by my predecessor (only the "A"key on the keyboard was strangely shiny), I noticed the existence of a file.

It was an Excel file titled "moaning-editor.xls," and it was a macro left by my predecessor specifically for making moaning voice.

By entering lines one by one in the vertically aligned cells, the phonetic elements such as vowels and consonants in each line were automatically converted into numerical values.


Furthermore, by adding and subtracting the numerical values, a value called "climax level" was calculated.

This "climax level" make a breakthrough to creating the ideal moaning voice.

If the sentence is constructed in such a way that this value gradually increases from the beginning to the end of the scene, the voice comes ideally.


It seemed that my predecessor had single-handedly created such an amazing and awesome Excel program.

I guess he wanted to share it with me, his successor, while hiding it from his boss as a secret tool.

Thanks to this tool, my work became much easier, and I could continue to make moving sounds with a stable quality.


One day, while I was working, I noticed something.

Theoretically, any text can be entered into the cell where the moaning voice is supposed input.

In other words to that, any text other than a moaning voice could be used to calculate the "climax level".

So I tried to calculate the "climax level" of famous works in the history of literature.

For example, "I have always called him teacher." for exampleis 12, and "He is reckless like his parents and has been doing nothing but losing money since he was a child. " is 30.

-------------

I have always called him teacher.

Kokoro

Author , Natume Soseki

Out , in 1914

Story of distressed man who robbed lover from his friend by lying.

-------------

He is reckless like his parents and has been doing nothing but losing money since he was a child.

Bocchan

Author , Natume Soseki

Out , in 1906

Story that revenge of one teacher, who was naughty boy in youth ,to nasty coworker.

-------------


I hadn't expected this, but as I researched, I found that many of the masterpieces were written on the same principle as my work.

In other words, the degree of "climax" increases toward the end.

The most notable example is Akutagawa's "Nobody knows where the servant" is. The number of climaxes in this story is 367.

-------------

Nobody knows where the servant

Rasho-mon

Author , Akutagawa Ryunosuke

Out , in 1915

Story of one fired servant struggle to survive and he decide throw aside his human conscience.

-------------


The scene in which a drugged married woman faints with the whites of her eyes is at most 330, so you can see how astonishing the number is.

It turns out that "climax" is a universal rule that applies to all kinds of writing.


After realizing this fact, I started to write every sentence as if it were a gasp.

And I have been successful in every aspect of my life.

In job-hunting entry sheets, too, it is the distribution of the "climax level" that is important.

For example, in the education section, if you drop out of the university with the name that has the highest "climax level" and use it as your final education, it will look very different.

(It depends on the name of the university, but in general, "dropped out" has a higher climax level than "graduated.)


As some of you may have noticed, I've been writing this article in such a way as to gradually increase the climax level.

↑The climax level of this sentence is 290.


I'd like to end this sentence here, since it's getting quite high.


Ohhhh! Aaahhhh!

2021-05-28

anond:20210528201413

Webフォントに関しては、美しさで伝統フォントに及ばないって印象が正直なとこなんだよね。

判断難しいとこあって、デザインプラットフォームのなかで活きるものからスクリーンの視認性とか、掌サイズのちいさいデバイスで可読性があるか、日本語だったら基本横組みのWeb世界最適化されているかとかも考慮に入れた評価をしないといけないと思う。


でも、情報伝えるのと同時に満たしたいタスクとして、「非言語雰囲気感情的ムードを共有する」とか「デザインコンシャスな人の審美眼に耐える」ってとこも考えたい。

そこ考えてたとえばTrajanに置き換え可能でいいパフォーマンス出すWebフォント探してCinzelかな、ってなって、ここら辺は縦と横の線の細さがあんまり変わんないとか、WやJのエレメントのシャープさとか見て決定するんだけど、やっぱ文字組んでみるとTrajanの方が出来上がった文字組として綺麗だなっておもうんだよね、CinzelはなんかTrajanを追いかけてるんだけど、細部で越える事ができてない、って感じたり。


そこら辺はGaramond代替Crimson Textかなーってなったときも、ちょっと繊細さがないのが気になっちゃう。


Adobe fontだったらWebフォントで使えるかもだけど、ビジネス的なことを言うと権利関係とか制約めんどい事多いし。

同様のめんどくささはモリサワ日本フォンとにもいえて、ちょっと使うためのハードルが高い。

それに読み込みの速さとかも、まああるよね、日本語サイズが巨大だからなんかテンポ遅くなるし。


かいやすgoogle fontの中で「お、これはなかなかいいな」って思うのはLatoかなー。

サンセリフとしての基本的読みやすさをそなえてるし、すこしジオトリックな要素もあって審美眼にも耐えて、小さいスクリーンでも大きめの画面でもストレスなく読める。

あとMontserrat、これは単に伝統フォントを真似してるのを超えた美しさがあって、場所えらぶけどいいなって思う。

2021-04-26

中国人の英語の発音いいのがよくわかる

無料で公開されている音声合成サービスが凄いと話題に「ボイロ殺しに来てる」「ベタ打ちで自然に話せる」

https://togetter.com/li/1704743

でCoeFont STUDIOがバズってて

はてぶでも話題だったんだけど

オタクキャラがついてることに一言いってるブコメがいてさ

それに対してだったらgoogletext-to-speechつかえばいいとかいコメントがあって

今更ながら俺はtext-to-speech存在を知ったんだけど

Text-to-Speech

https://cloud.google.com/text-to-speech/?hl=ja


デフォルトで用意されてる英文を読み上げてもらって自然さに感激して

なにげに文章そのままで日本語にしてみたら、いわゆるカタカナ読みで笑ったんだけど

俺はさいしょ、まぁ日本語アルゴリズムだししょうがないよなって思ったんだけど

それで中国語に設定かえたらスゲーうまくて驚いた。

いわゆる中国語アルゴリズムで無理やり英語を読ませてもこのクオリティってすごいよね

2021-02-10

はてなブックマーク一行スクレイピング

実行すると、各記事

{

 title:記事タイトル,

 url:記事URL,

 users:ブクマ数,

 tags:[タグ]

}

形式に変換し、500ブクマ以上でフィルタし、ブクマ数降順で返す。


#一行版

curl -s https://b.hatena.ne.jp/hotentry/it | pup --charset utf-8 'div.entrylist-contents-main json{}' | jq -r '[.[] | {title: (.. | select(.class? == "entrylist-contents-title") | .children[].title), url: (.. | select(.class? == "entrylist-contents-title")) | .children[].href, users: (.. | select(.class? == "entrylist-contents-users") | .children[].children[].text | tonumber), tags: ([.. | select(.class? == "entrylist-contents-tags") | .children[]?.children[]?.text])}] | unique | map(select(.users >= 500)) | sort_by(.users) | reverse'


#変数

title='title: (.. | select(.class? == "entrylist-contents-title") | .children[].title)'
users='users: (.. | select(.class? == "entrylist-contents-users") | .children[].children[].text | tonumber)'
url='url: (.. | select(.class? == "entrylist-contents-title")) | .children[].href'
tags='tags: ([.. | select(.class? == "entrylist-contents-tags") | .children[]?.children[]?.text])'
target='https://b.hatena.ne.jp/'
hotentry='hotentry/it'
curl -s $target$hotentry | ¥
pup --charset utf-8 'div.entrylist-contents-main json{}' | ¥
jq -r "[.[] | {${title}, ${url}, ${users}, ${tags}}] | unique | map(select(.users >= 500)) | sort_by(.users) | reverse"

2021-01-14

合成音声のUI、誰か進化させて欲しい

一部の界隈の話なので説明しておくと、合成音声界隈は合成エンジン更新されようとしている。

例えば、今日予約開始されたA.I.Voiceというソフト(https://aivoice.thebase.in/)なのだが、

エンジン機械学習を使って新しくなろうとしているのだが、UI過去数年前とそのままなのだ


技術的にはTTS(Text to Speech)という分野であり、GoogleAmazonAppleもやっている。

合成音声マークアップ言語というのもあるが、こちらは何年も更新されていない。


単純に読めればいい場合は、今の技術でも問題ない。

ブレイクスルー必要としているのは、演技をしたような声を出す場合だ。

音声界隈の論文では、喜び、怒り、悲しみの3種類を分類するのが伝統的になっているが、これが数値化できてない。

泣き笑いといった微妙表現ができない。

日本では「萌え声」というのもあるが、こちらも数値化できていない。


現状のUIは音素ごとに音の高さと長さを調整しているが、日常的に発音していても意識していないので、違和感があっても調整できない。

数種類吐き出して、良い方を選んでいくのを強化学習学習させていけば、多少は良くなりそうだが、現状はそうなっていない。

2021-01-11

anond:20210111151935

リンク張ってあるこの会社は画面作ってるだけだよ、しかも下手すりゃHTMLCSSを納品するだけだったりする

処理フロー選定とかには全くかかわってないんじゃないか

要件貰って画面作るだけで、画面遷移から内部処理まで別のベンダーが開発してるでしょ

というか銀行webページ更改案件なんて要件もたぶんなくて基本的に「既存踏襲」で、デザインだけ新しくしてくれとかそれくらいで丸投げするじゃんね

生年月日なのに、input type="text"とかそういうのもたぶん10年以上前サイトとかからそのまま流用でしょ、既存からできるだけ変更なしで作れって怒られるからな大抵

ここはこうしたほうがいいのでは? とかて案しても無駄から原則既存踏襲なので。

まあイセトー下請けに画面作るように発注してるわけで、クオリティがアレなときはあると思うけどな

日本銀行IT終わってる

決済で使ってる三井住友銀行からロンダリング防止の確認のためのweb提出を求められたんだが、苦痛に耐えつつ8割くらい進んだ所でエラーが出て、入力分が全部喪失してしまったので、やめてしまった。回答いただけないと利用制限とか警告書いてあるけど、無視してやる。

https://infoweb.smbc.co.jp/hojin/

以下、ダメすぎてムカついた点

https://www.iseto.co.jp/company/profile.html

なんだか歴史だけは御大層な会社に依頼して作ってるらしいけど、学生サークルイベント参加フォームだってもっと丁寧に作るだろ。金とっていい仕事じゃないよこれ。こんなの納品されてOKだしてる銀行IT部門も相当クソ

追記

PCサイトがつながらない理由がわかった。

infoweb.smbc.co.jpが、httpからhttpsにリダイレクトする設定がされてないから、ブラウザアドレス打ち込むときに、しっかりhttpsから打ち込まないと、目的のページにはたどり着かないってのが原因だ。スマホときは、QRコード使ってhttpsのほうにアクセスたからつながったってことか。

SSL使ってるちゃんとしてるはずの企業で、こんなクソサイト初めてだわ。httphttpsのリダイレクトなんてSSL対応の基本の基本なのにな…SSL対応お仕事会社設立以来初めてやりましたって会社なのか?こんな素人感丸出しだと、もっと重要なところでもやらかしてそうで、金預けてて大丈夫心配になるわ。

http://infoweb.smbc.co.jp/hojin/

https://infoweb.smbc.co.jp/hojin/

2021-01-03

増田個別書き込みを読んでる時の

ページ上部の「はてな匿名ダイアリー - anond20210103xxxxx」の「anond~」の部分とか、

あと書き込みの下の「記事への反応 - anond20210103xxxxx」の「anond~」の部分とかって

テキストボックスになってるんだな。

編集も出来る。

ただし値を変えてみたからといって、何かが起こるわけでもなさそうだけど。

追記

クリックした瞬間に記事IDを全選択するために select() を使いたいから<input type=text> にしたのかね。

せっかくだし readonly もつけていいのよ?

2020-11-21

2007年にはすでにラノベ凋落が決まってたとかいうアホがいたのでデータ確認しておく

https://anond.hatelabo.jp/20201121180541

神様のメモ帳2007年発売。

ライトノベルピークは2015年

電子書籍を含めると未だに市場として伸びている。

これはKADOKAWAブックウォーカー漫画以外の売り上げ推移が伸びていることとも整合している。

意外と知らない「ライトノベル」ブームの現在 | 読書 | 東洋経済オンライン | 経済ニュースの新基準

https://rev.hatenablog.com/entry/2019/08/14/222803

https://srpglove.hatenablog.com/entry/2019/07/30/005910

まり、このアホはニコニコ動画とかの根拠のない煽りを見て

ラノベは衰退している、KADOKAWAは衰退していると思い込み

あげく、2007年からすでに衰退を始めていたとぬかしているということ。

そもそも、この増田のアホは今何歳なのか。

2007年若者だったのかもしれないが、それでも13年経ってることを考えると30前後か下手をするともっと上だろう。

30過ぎてこんなマヌケなことを書いていて恥ずかしいと思えないのか。

その感性やばい

そもそも記事ラノベの質の話をしてない。にも拘わらず自説が肯定されたと思い込んでいる。

だけどラノベファンアンチだと言って質が落ちたことに本気で向き合わなかった。そりゃ若者離れるよ

ちょっと落ち込みかけてたけど、「これはこうなるはず」と思っていたことが的中したことで、「やっぱり俺の思った通りじゃん」ってなって自信を取り戻した。

自信取り戻してる場合じゃないよ

2020-11-16

anond:20201116164822

小説なら別にTEXT形式で良いわけで、ページ単位でも章単位でも本単位でも良いんじゃね?

技術本をMDで書くって例も多いしな。

gitを使う利点はバージョン管理だけじゃなく、リリースポイントタグで記録したり、プロットAとプロットBのどっちが良いかを決めきれないときブランチ切って別々に書いて良いほうを採用するとかもできるだろうし、複数人で共著した場合なんかもファイル共有だったら死ぬし、githubとかのサービス使えば校正指示なんかも的確にできるだろ。

2020-07-31

anond:20200731155404

多少センスがないくらいでそれはひどいやろって見たら想像を超えてきたな

idtextとか正気か?ホントにいるんかこんなん

頼むからセンスのないやつはプログラマにならないでくれ

本当に迷惑なんだ。

センスがない奴の何が問題かというと、技術がないとか、ベストプラクティスを知らないということではなく、根本的に「頭がおかしい」ことなんだ。

センスのない奴は、普通人間が到底思い付かないことを平然と行う。所詮、本に書いてあるようなアンチパターンは、「経験のない人は典型的にこういうことをしがち」という例であるが、センスのない奴はそういう典型的アンチパターンにすら当てはまらないほど意味不明なことをする。だから、「センスのない奴は典型的にこういうことをする」という具体例を挙げることが非常に難しいし、「ここがダメから直せ」という指摘もできない。

最近見た例を書いてみる。2次元テーブルを扱うJSONだ。

普通の人なら、何も考えず以下のような実装をするだろう。フィールド定義データが分かれているのは、ユースケースによってフィールドが可変だからだ。

[
{fieldName: "id", title: "id", type: "number"},
{fieldName: "name", title: "商品名", type: "text"},
{fieldName: "price", title: "値段", type: "number"}
]
[
{id: 1, name: "商品A", price: 100},
{id: 2, name: "商品B", price: 200},
{id: 3, name: "商品C", price: 300}
]

ところが、センスのない奴はたとえば以下みたいな意味不明実装ナチュラルに行う。

[
{id: "0-0", val: "商品名", type: "text"},{id: "0-1", val: "値段", type: "text"},
{id: "1-0", val: "商品A", type: "text"},{id: "1-1", val: "100", type: "number"},
{id: "2-0", val: "商品B", type: "text"},{id: "2-1", val: "200", type: "number"},
{id: "3-0", val: "商品C", type: "text"},{id: "3-1", val: "300", type: "number"}
]

一応言っておくと、これは実例の一部を分かりやすいように切り取っただけであり、本物はもっとひどい。

センスのない奴っていうのは、スキル云々の問題ではなく、そもそも認識している世界常人と異なるから矯正は無理だし、チームにいると非常に迷惑なんだ。だからプログラマにはならないでくれ。

2020-07-09

[]TIP、TSF

Windows 10時代日本語入力に使っているATOKなどのソフトウェアIMEでもFEPでもなくTIPと呼ぶのが正しいらしい。でもほとんど使われていない。

テキストインプットプロセッサの略で、従来のIME(インプットメソッドエディタ)との違いはIMEがIMM32 API(インプットメソッドマネージャーAPI)を使うのに対し、TIPはTSF(テキストサービスフレームワーク)を利用する。

これはWindows XP以降標準で採用されるようになった。Windows 8以降に現れたストアアプリではTIPを使わないと日本語入力ができない。

Text Services Framework

https://docs.microsoft.com/ja-jp/windows/win32/tsf/text-services-framework

"Text Input Processor"の名称が使われているドキュメントは多くなく、これくらい

ITfInputScope2 interface

https://docs.microsoft.com/ja-jp/windows/win32/api/inputscope/nn-inputscope-itfinputscope2

2020-06-27

anond:20200626183356

TikTok英メディアTelegraphに対して、アプリクリップボード情報収集しておらず、iOS14で通知が出るのはスパム行為識別する機能によるものだと説明しています

また、混乱を避けるため、スパム識別機能廃止したバージョンApp Store申請済みだ、と述べています

Telegraphによると、常時クリップボードの内容を取得しているアプリTikTokのほかにAccuWeather、Overstock、AliExpress、Call of Duty Mobile、PatreonGoogle Newsなどが確認されている、とのことですが、これらのアプリクリップボードの内容を取得する目的不明です。

TikTokクリップボード内容の常時取得をやめると発表 - iPhone Mania

https://iphone-mania.jp/news-298192/

TikTok to stop snooping on users' clipboards after iPhone update shows app constantly reads copied text

https://www.telegraph.co.uk/technology/2020/06/25/tiktok-stop-snooping-users-clipboards-iphone-update-shows-app/

 

グーグルアプリでもクリップボード情報収集しちゃってるみたいね

2020-06-15

SwiftUIについて勉強してる

SwiftUIのTextImageなどのviewはそのbody propertyでcontentやlayoutそれに動作記述します。ただしbody propertyは単一viewしかさないので複数viewを扱うためにStackを使います

さっきから10回読んでるけど意味から

 

よくわからないまま次進もう

SwiftUIについて勉強してる

SwiftUIのTextImageなどのviewはそのbody propertyでcontentやlayoutそれに動作記述します。ただしbody propertyは単一viewしかさないので複数viewを扱うためにStackを使います

さっきから10回読んでるけど意味から

2020-06-06

anond:20200606110628

あー元だけど怒りに任せて端折りすぎたな

pdf嫌いな理由は他にもいろいろあるんだが今困ってんのは論文訳すとき単語の中に妙なスペース入れられることなんだ

それ文書としてもう情報保持できてないじゃんっていう怒り

もちろん同一レイアウトっていう強みもわかるし価値があることもわかるよ,でもplain textもまともに保持できないフォーマット文書を公開する手段として世界中で使われてんのはおかしいだろってことを言いたかった

まぁ英語サラサラ読めれば問題解決するんだけどさ...

pdfが嫌い

pdf文字コピーした時にインデントだったりカーニングの都合でplain textが見えてる通り抽出できないのおかしいだろ

その体たらく文書フォーマットの王ですみたいなツラしてるどころか文書フォーマット名乗ってるのすら腹立つ

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