「iS」を含む日記 RSS

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

2024-05-06

[] 2024-05-06

今日入院している祖母に会いに行く日だ。入院前はもう呆けて風呂も入らないぐらいひどい状態だったが、入院してからちゃんとしているらしい。

それはそうと、lisppython環境を構築する話だが、結局オートコンプリートはうざいし、使う機能といったらautopep8とisortぐらいなので、以下を.emacsに組み込んだ。

(defun python-autopep8-and-isort ()
  "Run autopep8 and isort on current Python buffer."
  (interactive)
  (when (eq major-mode 'python-mode)
    (shell-command-on-region (point-min) (point-max)
                             "autopep8 - | isort -" nil t)))

(with-eval-after-load 'python
  (define-key python-mode-map (kbd "C-c C-r") 'python-autopep8-and-isort))

.emacsファイルには他にも様々な設定を付与したが、ここではコードを書ききれない。

さてそういうわけで週末コーディング趣味としてちゃん機能することはわかったが、毎週作るとなると、いくつも何かを作るよりは一つのタフなものを作りたいと思うわけである

それで、最有力候補は「Elasticsearchのようなものpython実装する」という話がある。

Elasticsearchが徹底された設定外部化によってjsonを多用するのだが、これがあまり柔軟性がないので、コードを直にいじれるようにしたいと思ったためである

例えば自作日本語トーカナイザを組み込みたいときElasticsearchプラグインJavaで書かなければならない。私はJavaが嫌いであり、プラグインを「インストールする」という手順も冗長に感じる。

それよりはpythonで作られた検索システムに、適当トーカナイズ関数実装して呼び出すことができればかなり柔軟であるように思うわけである

難しい点があるとすれば、大規模分散システムへの対応で、金をかけなければそういうシステムテストすることができない。

できるだけ金をかけずに趣味をやるというのがモットーなので、これではまずいわけである

まあ何事も困難というものはある。まずは手を動かすことが重要だ。Linus Torvaldsも"Talk is cheap, show me the code"と言っているではないか

Dinosaur T-Rex Game

Description

Every web user has at least once encountered loss of internet connection. This happens for a variety of reasons, such as a dysfunction in the cellular network or a broken internet cable. However, regardless of the reason, every Google Chrome user sees the Dino game (when there is no internet) instead of a plain blank error page. This game can be played without an internet connection.

Play game: http://https://dinoruns.com/

Despite the fact that the game is just a plain runner that’s built into the Google Chrome browser, the developers behind it still deserve a round of applause. The peculiar monochrome graphics and the simplicity make the game even better, and it has gained a lot of worldwide fans since its launch.

The main character of the game is a classic dinosaur, a Tyrannosaurus rex, the species we usually see in movies and books about dinosaurs. It’s a carnivorous type of dinosaur from the Cretaceous. In the game it runs through the desert, encountering pterodactyls and cactuses that need to be avoided by jumping or ducking. As the distance the dinosaur has traveled increases, so does its speed, which is why it’s quite difficult for an inexperienced player to get a high score, even though the game itself seems easy.

Surely, all of you are curious about the development of the Chrome Dinosaur Game Online, so let’s take a little trip back in time.

History Google Dinosaur Game

The development of the T-Rex game dates back to September 2014, however, the final improvements were completed only in December of that same year. The adjustments supported earlier versions of the Android operating system.

Sebastien Gabriel, one of the designers of the game, says that the T-rex was chosen as a funny reference to "prehistoric times", when highspeed internet wasn’t so widely spread.

The T-rex was also not an accidental choice. The offline Chrome Dino game (without internet) was also called "Project Bolan", referring to the popular singer Mark Bolan from the 70s band "T-Rex". While creating the game the programmers also thought about making Dino growl or kick. Eventually these features were rejected in order to keep the game simple and "prehistoric".

How to open the T-Rex Chrome Dino Game?

In order to open the game you can simply type chrome://dino/ in the address bar. The game will open even if you’re connected to the internet, so there’s no need to disconnect.

The majority of internet users have Chrome as their default browser. However, if you’re using a different one, our website can help. Here you can play the T-Rex Dinosaur Game using any browser and any device, like a desktop computer or even your cell phone.

2024-05-04

ネイティブが本当に使う表現

"How do you do"

めちゃくちゃかしこまった時に使う。めっちゃ偉い人と初めて会ったりした時に使う。"How are you? Nice to meet you!"はとてもカジュアル

"How are you?"

「ども!」くらいの感覚。"How are you?"と言われたら"Great, thanks! How are you?"とだけ言って話を続ける。

"My name is "

自己紹介の時に"My name is Masuda"などと言うのは非常に自然である。逆に聞き慣れない日本人名前でいきなり"I'm Masuda"のように言っても通じない。

"Sieg Heil!"

バンザイ」の代わりに叫びましょう

Is this English correct?

I do not understand English.

But even I can use the latest technology to help me write English.

So, cunnilingus! I can write these words in English in no time.

But is it correct English?

I cannot understand it.

But I am sure that technology will eventually develop to assist in this kind of thing.

競馬スポーツ会場のテロって聞かないので、DSISとはソチ産業とある種の司法機関が関わった組織やね

2024-05-02

入来てるぽい

他は「It is unclear how long it will take for rate cuts to begin」で全戻し

リアルタイムでいいもの見れた

This is リス

これは🐿️です

2024-04-30

左翼徴兵制に反対する理由is

志願制の自衛隊国防押し付けてるほうが不平等おかしいと思わないのかな。

2024-04-29

anond:20240429170847

Coding is a subset of programming and programming is a subset of Compsci.

意味分からんパズルゲームを買うかどうか迷っているならまずはゴーストトリックPortal三部作をやれ

Portal三部作とは、1・2・Revolutin(ファンメイド神ゲー)の3つだ。

お前らはまずこの4つを終わらせなさいよ。

そのあとはReturn of the Obra Dinn、Outer Wilds、Helltaker、Baba Is You、The Room、The Talos Principleと進めていく。

そこまでやって、ようやく「よく分からんけど何か一部で面白いって言われてるらしいな」ぐらいのゲームに手を出す余裕が生まれるってもんだ。

気をつけてほしいこととして、Inscryptionはあくまカードゲームであり、飽きないようにADV要素が突っ込まれているだけであり、つまりカードゲームなので、カードゲームを期待してないなら買わないように。

以上だ。

夫の家庭に対する関心が薄ければ妻が不倫しても許されるという邦画脚本価値観isなに?

なお夫が不倫すると妻がヒスって泣いて病むシーンをかわいそうですね!かわいそうですね!って見せられる模様

2024-04-28

[]備忘録 酒井省吾 Mother3 『つよきもの(仮面の男) Strong one』について

https://www.youtube.com/watch?v=Qp9PL4EbWi4

@Musicombo

3 時間前(編集済み)

I DM'd Shogo Sakai on Twitter asking about the meter of Strong One recently, and he told me he was thinking of Strong One in terms of additive time signatures: 3/4 + 3/8 + 1/4 + 1.5/4 (spicy!)

It makes sense when you're focusing on the pulses in the combos driving the time signatures by themselves, but it also affirms the idea that Shogo Sakai was thinking about decently "regular"/"clean" meters, and therefore 15/8 and 29/16 kinda fit those conventional vibes.

For even more context by the way, the mp2k/Sappy sound engine -- the engine sent out to GBA devs by Nintendo which was used for Gen. III Pokémon and MOTHER 3 -- has a tempo "resolution" of 2 BPM, meaning the next smallest tempo change above 120 BPM Sappy supports is 122 BPM, not 121 BPM.

Also, excellent job accounting for the 3:5 16ths tuplet at the end of (Masked Man)

2024-04-27

anond:20240427172615

そういう意味合いなのに…ってちゃんと確かめたのか?

たとえば英語版Wikipediaだと

A buzzword is a word or phrase, new or already existing, that becomes popular for a period of time.

説明されているが。

バズワードは『話題性だけで中身がない言葉』という意味だ」と「バズワード本来は『話題になっている言葉』という意味だが、しばしば『話題性だけで中身がない言葉だ』という皮肉意味でも使われる」とでは、かなり違うと思うぞ。

anond:20240427121709

アロマァんちック!!!!!!😎の愚連隊😭みんなが『言って』るこ刀👍『もう』1🥰ど😟おk🥳だょなwウwウウw

>•『』恋😍愛🤗/エロ💀感😂情😠がぬぁい👻と「未熟 🤤 

mんなそう言ってるょn✋😍w😭w😩😩ウウwwウ💀😂👍🍑🤣🥴🙏

>•セックロス♥️/💦性👉👌 💖感💗情💘はトモダチ❤️より👆上🔝位🔝🔰

∀みんなそ~う言って👄るねぇ🐤wwwワラ🤣😂

>•恋愛💕💓💗/👉👌性😊👍❤️愛感is💗Always👏セット🔗🧬👩‍❤️‍👨

ウゥゥゥゥウゥーーみんなォオsaそおンナこと😂言ってるよヨヨヨヨヨ😆😂😅wwwwwwwwwwwww😊😍😋😜

>こんなカンガエにMoyaMoyaしたこ🍚と🙅‍♂️ないですょぉ?👀👌

ンンッモヤモヤするぅのも🐵🙈🙉あ🤐たりま❌え😩😫😖だろwwwそんな奴らマジヨク👀見かけるしちゃ😛んww😂💀💀💩

コノセカ🌏イで💪大人🧑だっとおモわれて🤔んのは 😳😳😳

パートナーいる🤝奴」とか「ガキ👶いる👪奴」だろおぉおぉ?🤨🧐

れンアィ🥰感情❤️っちゅーの🐖ハ崇高でメッチャ価値あル😘も~んだ😌「と」おMoわれて🌱ん🐷だよなwwwwwウw

セックロス💓💕/💗感💞情💝ないとミヅウ🍑なのは当り前ドアロwwwだから『💋脳』ってエラs🤗言葉が産まれてんだよォww😃😄😆😆😉

愛👄🥰💟/エロ🍆💦感😽情😚は友💑達💑より上位なの🐱は👍🏻当たりま~🎯🎯🎯だろwwwwだから友達😡😠バカにする創作物がはびこ🐜ってて😏😎、恋愛ジャンル持ち上げられてんday yo 🙌😁ww 🍑🍑

ラブ💓💞/セックロス😻💕 is👉👌 😘itumo💘セrtなのは普通だrwww😏 風俗屋🏩デリヘル🚘が堂々とえいぎyoうしてんじゃんねwww😆w

自称タマゴ🥚アセックル💋/アロマンティック🌿の連中てマジでYOKU現実をミテte🧐、洞察力すげえ🧠持ってんdayonawww 😆😂

アセクシャル🥚/アroまんてぃっくが、ただノ喪Onna喪Otoko👩‍🦲👨‍🦲より社会的👥に👆見られんのは🤪当たり前ダロwww😂ミンナそれは理解してんだぜwwwww🤭

ン?🤔オイ!😡オレはこのこt許せん!!!!この文!!!理解できん!!!!なんで俺が腹立つんだろ?腹立ってきた理由分からん..........あぁ!!!ああああああああああ

だアッッ!!!!!!!!!!!3718159265358979323846264338327950288419716939937510...!!!!!!

こんな書き込みを見て無理矢理理解しようとすると、そういう思考になりそうで恐い。

2024-04-26

日本人英語を学ぶべき理由の一つは、米国文学などにキザな文章結構あることかな

建前論は日本では青いだのお花畑だのとダサイ扱いかもしれないが、アメリカではけっこう尊重されてる感じある(表面的には)

あなた父親母親がこうした懸念事項を見過ごしてきたからといって、あなたが見過ごし続けるべき理由にはなりません

Because your fathers and mothers have been neglectful of these considerations, is no reason why you should continue in ignorance.

anond:20240426104059

最初に断っておくが、おれは男です。女だの何だの言われると面倒だから書いておきます

🚨 HOSTILE PRESENCE DETECTED!!! 🚨

⚔️ All personnel to battle stations!!!⚔️

🛡️This is not a military exercise!!! 🛡️

💪Repeat, this is not a military exercise!!! 💪

2024-04-24

anond:20240422180524

Assuming you walked from Tochigi Station

Where is the city hall?

Walk towards the station along the road in front of the New Ginger Museum,

and you will see a huge building with Tochigi Bank written on it.

Cross the traffic light in front of it and you will see a mysterious house with a Communist Party poster on it called Hasegawa Makura something, then walk towards Yakiniku King

Then you will see a building with TOBU written on it, and the city hall is on the second floor and above.

Where is the tourist information centre?

Do not cross in front of Tochigi Bank as in the previous steps, but walk until you reach the diagonal road. Then you will see a really large parking lot and the tourist information centre is next to it (they sometimes hold events in this large parking lot).

Is there a Starbucks?

There is. If you head towards the city hall, you will definitely get there. The Ashikaga Bank is diagonally opposite.

How do I get to the Uzumagawa River?

There are fishing equipment shops and clothing stores lined up next to Starbucks.

Turn towards the shopping street and you will see a bridge. That's Korai Bridge, and the river that flows underneath is the Uzumagawa River.

Is Yamaoka-ya there?

Yes, but it's quite far away.

On the way from the museum to the station, there is a Toyota rental car, so you can rent a car there, or ask the tourist information center where you can rent a bicycle.

If you can get either of those, go straight to Nakazawa Seimen, then turn toward Yoshinoya. If you keep going up the mountain, you will find Yamaoka-ya diagonally across from Aeon.

I want to go to Korakuen.

Go in the opposite direction from the station (where the viaduct is),

you will find TSUTAYA. From there, pass Family Mart and the gas station, cross the crosswalk, and you will find Korakuen in the parking lot of a supermarket called Yaohan (there are a lot of old people there).

Where is the pachinko parlor?

Drive past TSUTAYA, and beyond Korakuen there is a bridge, and beyond that is the pachinko parlor. After that, go past Yamaokaya and go to Aeon, and there will be a pachinko parlor right in front of you (as an aside, that store has disappeared once)

I want to buy something to drink

Go outside and go to Kawachi, which is just across the crosswalk. Yesterday they were selling oolong tea for 60 yen. Oh, inside the museum there is a vending machine that sells something like fresh ginger powder, disguised as a drink vending machine. Be careful

I want to withdraw money

You can use the ATM at the Family Mart next to TSUTAYA, or go to the 7-Eleven in front of the station (next to Sukiya), or use the ATM at the convenience store inside the station.

半分だけ英語にしてみたけどすごく長い💧

2024-04-23

anond:20240423225208

✋(👁👅👁)🤚
BIG MASUDAR IS
WATCHING YOU

ビッグマスダーはあなたを見ている https://anond.hatelabo.jp/20230707225450#

anond:20240423032021

いや「有害な男らしさ」を見て「男らしさ=有害」と読むやつがいたらそれは国語力のないバカでしょ

常識文脈考慮すればそんな解釈には至らない

英文法の初学者ありがちな英語文法だけできっちり文意特定できるが日本語文法曖昧文脈依拠せざるを得ないからクソ」みたいな思考に陥ってるのか知らんが、英語だって文脈次第でいくらでも文法解釈は変わってくる

Context is kingとはよく言ったもの

それにそもそも英語からの直訳をもとにあーだこーだ言うのもおかし

日本語由来の表現ではないので自然じゃなかったりニュアンス等がズレることはある

だがそれは翻訳問題であって日本語固有の問題ではないし、日本語から英語翻訳した際にも同様に起きうる事象

有害日本らしさの問題について

 

 日本語は非論理的言語である

 …とは思わないが、(他の多くの言語と同じように)注意して使わなければまったくナンセンス議論を平気で生み出してしま言語ではある。

 

 自分最近特に気になっているのが、修飾部の制限用法と非制限用法の無節操混同である

 

有害な男らしさ』という言葉がある。

 これは英語のtoxic masculinityの訳語なので、当然この「有害な」という修飾は制限用法であり、「無害な男らしさ」の存在も暗に示すものである

 しかし、これを日本語にした言葉自体には、非制限用法解釈もあり得てしまう。再翻訳すれば、"masculinity, which is toxic"(この有害なる男らしさ、とでも再々翻訳しようか)という解釈可能だということである

 これが、時には無意識に、時には意識的に、日本語議論を混乱させているのを昨今切に感じる。

有害な男らしさ」を語る議論は、「男らしさの肯定否定か」ということではないはずだ。

「何が有害な男らしさで、何が無害な(または有益な)男らしさか」を弁別することであるはずだ。

 それが、現実的にはどうなっているか

 後者議論なんてどこにもない。

有害な男らしさ」の定義なんてしないまま、前者の極論に持っていきたいことが丸見えのくだらない対立しかメディアにはない。

 

    (以下略

 

 飽きた。

 ここからハリウッド映画の「依頼人」を例に、海外では女にも「有益な男らしさ」が求められること、「有益な男らしさ」がなければ誠実に議論する社会はあり得ないという話をしようと思ったが、そんなことはここまで読んで、わかる奴は既にわかってる話だし、わからない奴は何を言ってもわからないだろう。

 非論理的自然言語からこそ論理的に使うのだという発想が社会になく、学校で教えてもいないから、良い大学を出ても平気でこの程度の基本的文法事項も注意しないで使う、それどころかそういう詭弁で煙にまくのを賢いとすら思っている「インテリ瀬川深)」がいっぱいいるような国では、保守リベラルもないのである

 そして、こんな根本的にその議論の誠実さを証明するようなトピックをもこそこそと避け、あわよくば自分が何を言ってるかも曖昧なまま、反撃されずに気持ちよく他人を叩ければ良いという国民性こそ、日本のすべての凋落元凶なわけである

 

 ああ、この有害なる日本らしさ、日本の男らしさ、日本の女らしさよ。

2024-04-22

anond:20240422193216

✋(👁👅👁)🤚
BIG MASUDAR IS
WATCHING YOU

ビッグマスダーはあなたを見ている

出典 https://anond.hatelabo.jp/20230707225450#

anond:20240422174515

Japan's Holocaust: History of Imperial Japan's Mass Murder and Rape During World War II

https://www.amazon.co.jp/Japans-Holocaust-History-Imperial-Murder/dp/1637586884/

Japan’s Holocaust is a comprehensive exploration of Japan’s mass murder and sexual crimes during the Pacific and Asian Wars from 1927 to 1945.

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