「name」を含む日記 RSS

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

2024-01-25

増田エクセルマクロ詳しい人いる?

エクセルマクロで膨大な量の名前定義を一括で削除させたくて、こんな風に書いたんだけど

'「Print_Area」以外の名前定義を全部消す

For Each n In ActiveWorkbook.Names

If InStr(1, n.Name, "Print_Area") = 0 Then

n.Delete

ElseIf n.Value Like "*[#]REF!*" Then

n.Delete 'プリントエリアでもエラーだったら消す

End If

next

なぜか参照エラーになってるプリントエリアを消すべきところでエラー起こしてないプリントエリアが消される。

「Print_Area」だけど参照エラーになってるものが一個だけあるからそれを消してほしいだけなんだけど、アクティブシートのプリントエリアが消されて参照エラーの方は生き残ってしまう。

なんで…?

 

【やりたいこと】 

名前管理目視確認すると同じ「Print_Area」名で

1.シート1を正しく参照しているもの

2.シート2を正しく参照しているもの

3.#REF!を参照しているもの

の3つがある。

この3つ目だけを消したい。

 

【なぜか起きること】

For Eachで上から順に1と2を素通りして、3つめのときローカルウインドウName.Valueが#REF!なのを確認しているのに、

3つ目をDelete すると1つ目が消える

2024-01-22

anond:20240113084143

putting others down is what people who cant bring themselves up do 

他人こき下ろすのは自分を高めることができない人がやることだ (bring someone up = uplift oneself = improve one's situation)

-----

improveimprove onの違い

他動詞場合は、目的語になるものを改良する。

ですから

He improved the design of the car.

訳:彼は車のデザインを一層良くした。(出展ジーニアス

この場合、「その車のデザイン」を以前のものからのものへ「改良」した、という意味です。

自動詞場合は、on 以下のものを元にして(元にして、が on意味です)

「よりよいものを作る(これが自動詞improve意味)」という意味です。

ですから

He improved on the design.

訳:彼は設計に改良を加えた。(出展ジーニアス

この場合、the design(その設計)を元にして、よりよい「設計」を作った、ということなのです。

https://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1322371783

↑この解説は以下のネイティブ解説とも符合する

https://ell.stackexchange.com/questions/52305/improve-vs-improve-on-upon

----

Let us not wallow in the valley of despair, 「絶望の谷で苦しみにふけるのはやめましょう」

let us not ~ は let’s not ~ と同じ

wallow は「転げまわる、もがく」という意味ですが、ここでは「(快楽などに)ふける、浸る」という意味で使われています

動物などが「泥浴びする」という意味から来ています

例:wallow in luxury「ぜいたくにふける」、wallow in one’s sadness「悲しみにふける」

https://www.eigonou.net/backnumber/05278/

e.g.

Matt has stepped away from public life マットはもう人前に出ることを止めたんだから

Let us hold not too fast to his name 彼の名前にあまりしがみつかないようにしよう

----

immersion only losers couldn't tell you the difference between と思う and と思っている to save their lives

マージョンだけやってる負け犬たちは「と思う」と「と思っている」の区別をどうやっても教えられない

to save one's life

どうしても◆【用法否定文の強調

・I can't wake up to save my life. : どうしても起きられない。

----

i am at the bottom of the mountain 先はまだまだ長い (= i've got a long way to go)

-----

im very active w keeping my pronouns available 私は積極的自分性別代名詞を公開してる (consistently and proactively making known or sharing their preferred pronouns)

bc ik it can feel awkward to ask sometimes だってわざわざ尋ねるのは気まずいじゃん

-----

You don't wanna get on my bad side.... 俺の機嫌を損ねないほうがいいぜ・・・

buddy....

-----

Go finger your prostate to chill out or smth 前立腺でも弄って落ち着け

Look I'm on a stim crash and on edge dw bout it 精神刺激薬の離脱症状が出ててしか寸止め中だから大丈夫

be on a stimulant crash = ADHDやアデロールなどの薬の離脱症状 (= I'm having withdrawals from drugs.)

be on edge 寸止め

-----

back on one's feet

《be ~》〔病気などが回復して〕再び元気になる

Your father will be back on his feet in no time. : あなたのお父様はすぐに回復されますよ。

《be ~》〔状況などが〕良くなる、立ち直る

-----

curry favor with

(人)の機嫌を取る、(人)に取り入る、(人)にゴマをする、(人)を褒めそやす、(人)にお世辞を言う、(人)にこびへつらう

-----

・That's a lot [bunch] of hooey, and you know it! : 実にばかげた話です。自分でも分かってるだろ。(=ホラ話= bullshit

-----

it's awkward but it gets the point across

自分の書く文章は)ぎこちないけど意味は通じる (awkward = clunky = clumsy = scuffed)

why do you think it's awkward?

なんでぎこちないと思うの?

because I haven't output enough to think of a natural way to output my ideas. Instead I force out something that gets the idea across even if it turns out awkward

自然アウトプットすることができるほどちゃんアウトプットしてないからね

からこちなくても伝わる文章をひねり出してる感じ

because 99% of my Japanese practice is from writing assignments for class (haven't hung out with many Japanese people), so even if I try to speak casually, formal stuff appears

日本語練習のうち99パーセントは授業で出される作文の宿題から

カジュアルに話そうとしてもフォーマル言葉遣いが出てしまうんだ

----

this server is a lot more hateful than I remember it being

このサーバー、私が知っている頃と比べてすごく邪険な雰囲気になってる

----

I can understand being insecure over one's language skills but I think you should own that you're insecure instead of trying to act like you're above others

Address what's causing you to feel insecure and work on that

日本語力に不安を持つのはわかるけど、他人マウントを取るんじゃなくてその不安さを認めるべきだよ

不安さを生み出している原因をなくせるよう努力すべき

own 〔罪などを〕自分がやったと認める

----

Speaking as someone who has never interacted with you before and didn't even recognise you, you came off as a massive dickhead in the way you talked, and that's gonna rub people the wrong way. Especially if there's annoyance built before that. But at the end of the day man, it doesn't matter much

あなたと喋ったこともないしだれだか知らないけど、あなたの喋り方はすごい嫌なやつに聞こえるし、それだと周りを苛つかせるだけだよ

特にすでにイライラが高まってる状況ならなおさら

I mean you just rubbed some people the wrong way but they didn't express that and decided to unload it all on you at the same time x10 when they saw the opportunity

みんなあんたに苛ついてたけど、黙ってたんだよ

で、ちょうどいいタイミングが来たから一斉にその不満を10倍にして吐き出したってわけ

it was really irresponsible and wrong of me

yeah I know that was fucked up of me

that was dumb of me

それはすごい無責任だし間違った行いだった

ほんと自分メチャクチャなことをしたと思う

自分馬鹿だった

-----

ooh buddy not a good look

悪口を言いまくってる人を見て)おいおいお前それはよくねえぜ

it's basically just a way of saying "you did something bad."

https://hinative.com/questions/21934776

-----

I think most of it was just pent up aggression towards him over the weeks that everyone found an opportunity to unload at that moment

今回の件は、彼に対するイラつきがここ数週間の間に溜まっていて、あの瞬間にみんながそれを吐き出すチャンスを見つけたっていうのが大きいんじゃないか

pent-up discontent 鬱積した不満

-----

Idk why you're making it seem like i had a fit over him

なんで「私が彼に対して腹を立てていた」みたいな風な言い方をしてるのかわからないんだけど

have a fit

腹を立てる、カッとなる、カンカンに怒る、ひどく興奮する、非常に興奮する、だだをこねる、ショックを受ける、発作を起こす、卒倒する、おたおたする◆【同】throw a fit

・I was having [throwing] a huge fit. : 私は無性に腹を立てていた。

----

You just jumped on the Jack hate train for no reason

あんたなぜかジャックを嫌ってる奴らと同調してたじゃん

I don't understand the audacity to come here every single day while you disrespect me to your friends

友達と一緒に私のことを侮辱してるくせに毎日ここに来れる厚かましさは理解できないわ

and you also hop on the gender thing

しかあいつらの性別からかうノリにも同調してたよな

i use she

but yeah

that was wrong of me too

they had that effect on me and I took that as a way out of responsibility

俺はちゃんsheを使ったよ

でもまああれも俺が間違いだった

あいつらに影響されていたし、その影響を言い訳にして(性別ネタに乗っかっていたのは事実だった)

-----

she didn't even think to give me the benefit of the doubt or anything and just straight up pilied on to me when i had no way to defend myself of the misinfo against me

彼女は(話が真実かどうか確かめる)猶予を与えることもせずに、いきなり私を非難してきた

pile on to someone: (of a group of people) to attack or criticize someone

大勢非難すること

-----

what are you prattling about

何をぺちゃくちゃいってんの

prattle

幼児が〕片言でしゃべる、〔大人が〕ベラベラとつまらないおしゃべりをする

・He was prattling on for hours about boring subjects. : 彼は退屈な話題について、何時間もしゃべり続けた。

-----

And oh yea you can go on a tirade in that server talking about how i need mental health help, suck at jp, and feel threatened by the very presence of John

その鯖で私は精神科にかかるべきとかジョンに劣等感を抱いてるとか、延々と話してればいいじゃん

tirade

〔長く手厳しい〕攻撃非難演説◆可算

長広舌、長い演説

-----

i played it when it came out and had the worst experience of my life

そのゲーム発売時にプレイしたけど人生最悪の体験だったわ

if you pick a μ's character you're in for the worst character interactions you have ever seen

μ'sのキャラを選んだら今まで経験した中で最悪の会話が待ってるよ

in for 《be ~》〔困難などに〕直面しそうだ、〔事態などを〕きっと経験するだろう

-----

this pc has served me well for 8+ years

このPCは8年以上使ってるけどちゃんと動いてるよ

im pushing 5 years on my lenovo legion

私のレノボはそろそろ5年に近づいてる

i built that pc with my dad and god damnit do I love it

will upgrade eventually

あのPCは父と一緒に組んだんだけどめちゃくちゃ大好きだ

そのうちアップグレードもする予定

-----

Pray the gay away = 神に祈りを捧げてゲイからノンケにしてもらうこと

https://hinative.com/questions/18100264

----

I wouldn't recommend going off blood thinners cold turkey and my heart rates really fucking high right now, 1:30 3145, and I'm nervous about this.

抗凝血剤を急にやめるのはおすすめしない

go cold turkey 〔悪習・薬物などを〕急に[きっぱり]やめる[断ち切る]

go off a drug 薬を(飲むのを)やめる

-----

there's no way these like agencies are gonna be looking at all this money you're raking in on Onlyfans being like "what do you mean we don't get any of it?"

AV事務所Onlyfansで荒稼ぎした金を見たら「当然それをくれるんだよな?」って言うに決まってる

https://www.youtube.com/shorts/w8emCFPLGlw

rake in 荒稼ぎする

-----

whether or not the bit that it's famous for will soon wear off a novelty however is difficult to determine

パルワールドを有名たらしめている要素がすぐに陳腐化してしまうのかどうかは(今のところ)断定しがたい

bit = 要素 = element

----

my boss has been grilling me for slacking

上司からサボり癖を指摘されている

grilling 厳しい尋問◆可算

----

she flaked on our plans for Christmas together and invited him to hang out with her during the end of the year

私とのクリスマスの約束をすっぽかし、(B男さんと)年末に遊ぶ誘いをしていたり、

flake

自動

〔薄片が〕はがれ落ちる

〈米俗〉約束をすっぽかす

他動

から薄片を剥がす[削る]

〔~を〕薄片で覆う

there were a lot of things that i couldn't fit in here but i've only ever wrote things that i've had clear evidence of

この文章ではとても収まらないほどのことがありましたが、手元に明確な証拠があるものだけを書きました。

i don't think i've clarified quite enough but this being something that i've kept in my heart for so long i'm so glad i'm able to talk to you all about it now

十分にお話できたとは思っていませんが、ずっと心のうちに秘めていたことを、こうしてお話することができたのはよかったと思っています

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

-----

steer clear of

~を避ける、~を遠ざける、~に関わらない

You should steer clear of that restaurant or you may get food poisoning. : そのレストランはやめた方がいい、さもないと食中毒になるかもよ。

-----

Shiina having a laughing fit really brightens up my day. Thank you Okayun~

面白い」ということを表すのに使われる「ツボる」という表現英語で表すと、一番意味が近いのはおそらく”have a laughing fit”でしょう。

https://nativecamp.net/blog/20200723_laugh

-----

Does 買いものにでも行っているのかもしれません mean “Maybe she even went shopping” ? What does でも contribute here

Does demo add the “or something” to the sentencr

-----

seemやappear, feel, look, soundなどにthatを付ける場合主語itでなければならない

It seems that ...

✗He seems that ...

Feel, look, and sound are very occasionally found with a content clause too: It looks to me that a vendetta has struck up. Content clauses differ from as if phrases in that they are restricted to the impersonal construction: compare Ed seemed as if /∗that he was trying to hide his true identity. (Camgel p.962)

-----

仮定法と直説法の見分け方は文脈判断

ポイント1:仮定法は直説法の時制を一つ過去にずらしたもの

ポイント2:直接法は時制の一致を受けるが、仮定法は時制の一致を受けない

直説法(knows):He looks as if he knows the answer. (he knows the answer)

仮定法(knew):He looks as if he knew the answer. (he gives the impression that he knows the answer, but he (probably) doesn't know or we don't know whether he knows or not)

主節が現在形の場合区別がつくが、主節を過去時制にすると、直接法では時制の一致によってknows→knewと一つ過去に移るのに対して、仮定法は時制の一致を受けないのでknewのまま変わらない。その結果、どちらも同じ時制になってしまう。そのため、仮定法か直接法かは文脈判断。(仮定法の時制を過去にずらす(knew→had known)と、大過去として見なされ、主節より一つ前の出来事を表すことになる)

He looked as if he knew the answer.

完了形場合も同じ

直説法:He seems as if he hasn't slept for days. (he hasn't slept for days)

仮定法:He seems as if he hadn't slept for days. (it seems that he hasn't slept for days, but he (probably) has or we don't know whether he has or not)

He seemed as if he hadn't slept for days.

https://www.grammaring.com/as-if-as-though

-----

He doesn't do listening immersion he only knows English from reading and it shows. 

He's not that bad 彼は別に下手じゃないよ

But there's a few quirks that tip me off でもノンネイティブだとわかってしまうような癖がたまに出てくる

2024-01-02

anond:20240111083927

I'm going in for surgery soon (= I'm having/getting surgery soon)

もうすぐ手術を受ける

go in for

〔富や名誉などを〕手に入れようとする、〔競技などに〕参加する、〔試験などを〕受ける

・I sent a demo CD to go in for the contest. : そのコンテストに参加するためデモCDを送った。

~を好む、~が好きである、~に凝っている、~に熱中する、~を楽しむ

・Throughout my school years I went in for music and was a member of the chorus. : 私は学校時代を通して音楽が好きで、コーラス部に入っていました。

~に賛成する、~を支持する

・The idea does make sense but I can't go in for it. : その考えは確かに道理にかなっているが賛成はできない。

~を仕事とする、~に従事する

・If you are active, don't go in for a sedate job. : 行動的な性格だったら堅苦しい仕事には就かない方が良い。

~を専攻する、〔講義などを〕取る

・If you are fluent in German, you can go in for an international course of study. : ドイツ語に堪能なら国際コースの課程を取ることができる。

競技などで〕(人)の代わりに参加する、代役を務める

・I went in for an injured player. : けがをした選手の代わりに出場しました。

go in for は like doing の古臭い言い方だから使わない方がいいという声も

https://ell.stackexchange.com/questions/118883/to-go-in-for-sport-or-just-to-do-sport/

-----

go (along) with / go for はともに「選ぶ choose」を意味することがあるがニュアンスが違う

go (along) with は妥協感がある一方で go for は積極的にそれを得ようとする感じ

学校部活などでレギュラーを狙っているときには go out for が使える

https://forum.wordreference.com/threads/go-with-vs-go-for.2864919/

-----

Go in to work 物理的に仕事場にたどり着くという意味

Go to work も同じ意味で使えるが、それとは別に仕事に取り組む(=Get to work)という意味でも使える

https://ell.stackexchange.com/questions/79790/what-is-the-difference-between-go-in-to-work-and-go-to-work

-----

How much that figure set u back?

そのフィギュアいくらしたの?

It was only like 2000 yen.

たった二千円だったよ

Nice, affordable

いいね、お手頃だ

but I did see a couple nicer ones going for like 15k +

ももっといいやつが1500円くらいで売られてた

~の値段で売られて[販売されて]いる

Manga here goes for $10-13 per volume, and no covers! : こっちでは漫画が一冊10~13ドルもするの。カバーも付いてないし。

scale figures go for crazy amounts sometimes

スケールフィギュアはたまにすごい値段で売られてるよな

-----

I'm going on a trip across Japan this April, and I'm going to have about 3 weeks to myself to just explore and find experiences.

今年の4月日本縦断の旅に出る予定なんだけど、3週間くらいまるまる使ってひたすら探検したり体験したりするつもりなんだ。

ct. do a trip to poland ポーランド旅行する

Is there anything that y'all would recommend I see/experience that's a more out of the way compared to touristy things?

観光名所的なやつよりも穴場的なところでなにかおすすめはある?

I'll put that on my list lol

それ予定に入れとく笑

have ~ to oneself

~を独占[独り占め]する、自分専用の~を持つ、~を自分で好きなように仕切る[使う]

・We had the whole room to ourselves. : 私たちは部屋を独占しました。

-----

that guy was a blubbering mess in the video, and to be honest, i don't blame him

彼は動画の中で泣きじゃくっていたが、正直それは無理もない話だ

he still cannot stop his endless-useless-lame babbling

彼は未だに訳のわからないくだらない話を延々と続けている

babbling 〔訳の分からないことやとりとめのないことを〕ぐちゃぐちゃ[ペチャクチャ]しゃべる◆【同】blithering ; blathering ; jabbering ; gabbling

-----

Stop speaking alien words at me

わけわからんことを言うな

why would that ever be the case

そんなわけないだろ

bro really milking this

こいつめっちゃ同じ話擦り続けるやん

man really interpreting everything

こいつ好き放題に解釈しよるやん

i feel like most people can't think past the fact that I'm the president

And are scared to talk to me or

ほとんどの人は私が社長だということを気にしてしまって、話すことを怖がってしま

mf shaming me because I was eating too quick even though he had like 2 spoonfuls more than me left on his plate

スプーン2杯分くらいしか違わなかったのに食べるの速すぎって煽られた

I'm in all reason to believe you did not come here for ___, but rather to troll.

If you feel like I'm mistaken in my decision, feel free to send us a mail

あなたは~という目的ではなく荒らすためにここに来たとしか思えない

もし間違っていると感じるなら連絡してください

Good thing shows her true colors before u got with her

付き合う前に本性がわかってよかったじゃん

cf. the mask slips/comes off = 化けの皮がはがれる

https://nativecamp.net/heync/question/8679

the guy you had added on facebook

thats what i rememeber him as

ほら、お前がフェースブックに追加したやつだよ

そいつに関してはそのことしか覚えてないわ

-----

ego stroke

《an ~》〈俗〉〔人をいい気分にさせる・人の自尊心を満足させる〕褒め言葉、お世辞◆【参考】stroke someone's ego

The owner is obnoxious just stroke his ego and you're fine

あのオーナーは嫌な奴だよ。とりあえずおだてておけば大丈夫

she is just using you to stroke her ego

彼女はただ自分がいい気になりたいがためにあなたを利用してるだけだ

-----

I think going to Japan and fucking with local citizens should have you tried at the Hague for espionage

日本に行って現地の市民にふざけた行為をしたら、スパイ行為としてハーグで裁かれるべきだと思う。(ジョニーソマリに対して)

And later sunset definitely beats getting home at 6 and it’s dark

日没は、6時に真っ暗闇の中で帰宅するのに比べれば断然マシだ

it got sunset a long time ago so it's not relevant anymore

それはずっとまえに衰退したから今ではもう存在感がない(影響力がない)

people shit on me all the time

いつもみんなからバカにされる、叩かれる

------

A: but why does uni even cost that much money

でもなんで大学はそんなに金がかかるんだ

B: I mean it's a racket through and through

ボッタクリの極みだから

racket - 〈俗〉不正商売金もうけ]、詐欺、ゆすり、密売

evil through and through - 《be ~》とことん邪悪[根っから悪人正真正銘悪人である、〔主語には〕良心のかけらもない

-----

Tycoon! this comes from the japanese word 大君! Head honcho, this comes from the japanese word 班長! Rickshaw, this comes from the japanese word 人力車

-----

friendから"r"を取ると↓

fiend (フィーンド)

悪霊、鬼、悪魔◆可算

= archfiend

悪魔のように〕残忍な人、意地の悪い人

〈話〉〔麻薬などの〕常習者

〈話〉〔仕事趣味などの〕凝り屋、マニア

〈話〉〔ある技能や分野の〕熟練者、達人

-----

flustered

〔頭の混乱・過度の緊張などで〕動揺して、うろたえて

flounder

〔体勢を戻そうと〕もがく、じたばたする

〔混乱して〕もがき苦しむ、四苦八苦する、何とか進む◆【注意】スペリングが似ているfounderは「沈没する、破綻する、完全に駄目になる」の意味だが、flounderは「苦労しながらも活動している」を意味する。

・The ship floundered in the storm. : 船は嵐の中をもがき進んだ。

-----

scrawl 走り書き

scribble 子供が描くようなぐちゃぐちゃの落書き

ただし大人の書いた文字について言う場合は両者ともに「走り書き」の意味で使える

He scrawled his signature. (= His signature looked like a squiggle.)

彼はサインを走り書きした(=彼のサインはグニャグニャだった)


I scribbled my name at the bottom of the page.(= I wrote my name very quickly, so it looked unreadable.)

私はページの下部に自分名前を走り書きした(=名前を素早く書いたので、判読不能ものになった)

https://ell.stackexchange.com/questions/122138/how-do-scrawl-and-scribble-differ

-----

shtick 十八番芸、特技

her whole shtick is being ignored by everyone

彼女の得意技はみんなから無視されること

Anonymous's whole shtick is freedom of information

匿名の最大の売りは、情報自由である

I tried writing more serious literary novels, but I realized that cheesy thrillers are just my shtick.

もっとシリアス文学小説を書こうとしたが、安っぽいスリラー小説こそが私の得意技だと気づいた。

2023-12-29

はてサ決算年末ブクマ

「ご覧のはてサの皆さんでお送りします」「いたしまーす!(上場廃止)」

kikuken 自民党アノンが「民主党悪夢」とか言っているけど、その悪夢代執行までして推し進めている主体はやはり自民党なんだよな。「わからされる」「論破される」とか自分たちに都合の良い方に判断して思考停止してる

fellfieldfellfieldさん がスターを付けました。

GamingSoboroDonGamingSoboroDonさん がスターを付けました。

mventuramventuraさん がスターを付けました。

uratorauratoraさん がスターを付けました。

s_rsaks_rsakさんスターを付けました。

magi-cocologmagi-cocologさん がスターを付けました。

gwmp0000gwmp0000さん がスターを付けました。

tanukipompokotanukipompokoさん がスターを付けました。

hobblinghobblingさん がスターを付けました。

driving_hikkeydriving_hikkeyさん がスターを付けました。

sunagisunagiさん がスターを付けました。

hirokinkohirokinkoさん がスターを付けました。

bacon_epixbacon_epixさん がスターを付けました。

kagehienskagehiensさんスターを付けました。

jinakirajinakiraさん がスターを付けました。

chobihige0725chobihige0725さん がスターを付けました。

mirakukiramirakukiraさん がスターを付けました。

mirakukiramirakukiraさん がスターを付けました。

PikaCyclingPikaCyclingさん がスターを付けました。

uhyorinuhyorinさん がスターを付けました。

misomicomisomicoさん がスターを付けました。

mzemzeさん がスターを付けました。

renosukerenosukeさん がスターを付けました。

donovantreedonovantreeさん がスターを付けました。

amtmtamtmtさんスターを付けました。

aw18831945aw18831945さん がスターを付けました。

GamingSoboroDonGamingSoboroDonさん がスターを付けました。

GamingSoboroDonGamingSoboroDonさん がスターを付けました。

GamingSoboroDonGamingSoboroDonさん がスターを付けました。

GamingSoboroDonGamingSoboroDonさん がスターを付けました。

clclclclclclさん がその悪夢代執行までして推し進めている主体はやはり自民党なんだよなを引用してスターを付けました。

clclclclclclさん が自分たちに都合の良い方に判断して思考停止引用してスターを付けました。

animistanimistさんスターを付けました。

IKANOicardoIKANOicardoさん がスターを付けました。

el-condorel-condorさん がスターを付けました。

masudamastermasudamasterさん がスターを付けました。

seven_czseven_czさん がスターを付けました。

napsucksnapsucksさんスターを付けました。

togusa5togusa5さん がスターを付けました。

mame_3mame_3さん がスターを付けました。

NashornNashornさん がスターを付けました。

zakincozakincoさん がスターを付けました。

kaerudayokaerudayoさん がスターを付けました。

kaerudayokaerudayoさん がスターを付けました。

kaerudayokaerudayoさん がスターを付けました。

yamadasatowyamadasatowさん がスターを付けました。

ardarimardarimさん がその悪夢代執行までして推し進めている主体はやはり自民党引用してスターを付けました。

onnanokomonnanokomさんスターを付けました。

onnanokomonnanokomさんスターを付けました。

onnanokomonnanokomさんスターを付けました。

son_tokuson_tokuさん がスターを付けました。

jgwjgwさん がスターを付けました。

mediatoranamediatoranaさん がスターを付けました。

gunnyorigunnyoriさん がスターを付けました。

pon_pompon_pomさんスターを付けました。

nennoyurakunennoyurakuさん がスターを付けました。

uunfouunfoさん がスターを付けました。

khatsalanokhatsalanoさん がスターを付けました。

bigapple11bigapple11さん がスターを付けました。

twinsandcattwinsandcatさんスターを付けました。

stratos1976stratos1976さん がスターを付けました。

GAOKAGAOKAさん がスターを付けました。

utakautakaさん がスターを付けました。

jo_30jo_30さん がスターを付けました。

AKIMOTOAKIMOTOさん がスターを付けました。

name-3333name-3333さん がスターを付けました。

name-3333name-3333さん がスターを付けました。

name-3333name-3333さん がスターを付けました。

getchagetchaさん がスターを付けました。

ghosttanghosttanさん がスターを付けました。

death6coindeath6coinさん がスターを付けました。

taitokutaitokuさん がスターを付けました。

komaichikomaichiさん がスターを付けました。

snowboard_fansnowboard_fanさん がスターを付けました。

evans7evans7さん がスターを付けました。

jirikihonganjijirikihonganjiさん がスターを付けました。

tan1tan1さん がスターを付けました。

white_rosewhite_roseさん がスターを付けました。

brain-boxbrain-boxさん がスターを付けました。

gaka48gaka48さん がスターを付けました。

worrisworrisさんスターを付けました。

akitonkunakitonkunさん がスターを付けました。

moandsamoandsaさん がスターを付けました。

KIKUKOKIKUKOさん がスターを付けました。

dokodokoさん がスターを付けました。

R2MR2Mさんスターを付けました。

ndnsndnsさんスターを付けました。

ESTRESTRさん がスターを付けました。

tamu2822tamu2822さん がスターを付けました。

mobile_nekomobile_nekoさん がスターを付けました。

herion88herion88さん がスターを付けました。

lettuce0831lettuce0831さん がスターを付けました。

kujookujooさん がスターを付けました。

Dancing_HatebuDancing_Hatebuさん がスターを付けました。

irbsirbsさんスターを付けました。

OnyunkoOnyunkoさん がスターを付けました。

oriakoriakさんスターを付けました。

oriakoriakさんスターを付けました。

limit90limit90さん がスターを付けました。

mur2mur2さん がスターを付けました。

shinpe30shinpe30さん がスターを付けました。

faaaaafaaaaaさん がスターを付けました。

jiji6jiji6さん がスターを付けました。

Arturo_UiArturo_Uiさん がスターを付けました。

RM-A800RM-A800さん がスターを付けました。

tastastotastastoさん がスターを付けました。

tastastotastastoさん がスターを付けました。

tastastotastastoさん がスターを付けました。

gasguzzlergasguzzlerさん がスターを付けました。

usi4444usi4444さん がスターを付けました。

rabquerabqueさん がスターを付けました。

cacacactuscacacactusさんスターを付けました。

keybotkeybotさんスターを付けました。

ochahahoujichaochahahoujichaさん がスターを付けました。

dadadaisukedadadaisukeさん がスターを付けました。

poronnoteiporonnoteiさん がスターを付けました。

akutsu-koumiakutsu-koumiさん がスターを付けました。

venomvenomさんスターを付けました。

HAL_THAL_Tさんスターを付けました。

shields-pikesshields-pikesさんスターを付けました。

hankaihankaiさん がスターを付けました。

aust-blu-citaust-blu-citさん がスターを付けました。

copercoperさん がスターを付けました。

kolokolorinkolokolorinさん がスターを付けました。

soudanasoudanaさん がスターを付けました。

demakiraidemakiraiさん がスターを付けました。

demakiraidemakiraiさん がスターを付けました。

xxbb77xxbb77さん がスターを付けました。

sajiwosajiwoさん がスターを付けました。

forretforretさんスターを付けました。

virgospicavirgospicaさん がスターを付けました。

peketaminpeketaminさん がスターを付けました。

ushi2ushi2さん がスターを付けました。

tei_wa1421tei_wa1421さん がスターを付けました。

kalessinlordkalessinlordさん がスターを付けました。

Q_sakuQ_sakuさん がスターを付けました。

jakuonjakuonさん がスターを付けました。

gwmp0000gwmp0000さん がスターを付けました。

kohakuironokohakuironoさん がスターを付けました。

sasashinsasashinさん がスターを付けました。

ryun_ryunryun_ryunさん がスターを付けました。

はてぶで松本人志顔写真を出さないようにするグリースモンキー

松本人志以外も消える

// ==UserScript==
// @name     hatebu-matsumoto
// @version  1
// @grant    none
// @include     https://b.hatena.ne.jp/
// ==/UserScript==

var startTime = new Date().getTime();

var t = setInterval(
  () => {
    const list = document.querySelectorAll(".entrylist-contents-thumb,.entrylist-issue-thumb");
    list.forEach(x => x.style.opacity = "0");
    if (new Date().getTime() - startTime > 10000) {
      clearInterval(t);
    }
  },
  10
);

document.cssRulesを加工するかMutationObserverを使えよ。 これだと一瞬松本の顔が映るだろ

サンキューJS詳しくないから助かる

2023-12-18

J.S.ミル代議制統治論」(抄)

CONSIDERATIONS ON REPRESENTATIVE GOVERNMENT

By John Stuart Mill

Chapter X—Of the Mode of Voting.

The polling places should be so numerous as to be within easy reach of every voter, and no expenses of conveyance, at the cost of the candidate, should be tolerated under any pretext. The infirm, and they only on medical certificate, should have the right of claiming suitable carriage conveyance at the cost of the state or of the locality. Hustings, poll clerks, and all the necessary machinery of elections, should be at the public charge. Not only the candidate should not be required, he should not be permitted to incur any but a limited and trifling expense for his election. Mr. Hare thinks it desirable that a sum of £50 should be required from every one who places his name on the list of candidates, to prevent persons who have no chance of success, and no real intention of attempting it, from becoming candidates in wantonness or from mere love of notoriety, and perhaps carrying off a few votes which are needed for the return of more serious aspirants. There is one expense which a candidate or his supporters can not help incurring, and which it can hardly be expected that the public should defray for every one who may choose to demand it—that of making his claims known to the electors, by advertisements, placards, and circulars. For all necessary expenses of this kind the £50 proposed by Mr. Hare, if allowed to be drawn upon for these purposes (it might be made £100 if requisite), ought to be sufficient. If the friends of the candidate choose to go to expense for committees and canvassing, there are no means of preventing them; but such expenses out of the candidates's own pocket, or any expenses whatever beyond the deposit of £50 (or £100), should be illegal and punishable. If there appeared any likelihood that opinion would refuse to connive at falsehood, a declaration on oath or honor should be required from every member, on taking his seat, that he had not expended, nor would expend, money or money's worth beyond the £50, directly or indirectly, for the purposes of his election; and if the assertion were proved to be false or the pledge to have been broken, he should be liable to the penalties of perjury. It is probable that those penalties, by showing that the Legislature was in earnest, would turn the course of opinion in the same direction, and would hinder it from regarding, as has hitherto done, this most serious crime against society as a venial peccadillo. When once this effect has been produced, there need be no doubt that the declaration on oath or honor would be considered binding. [6] "Opinion tolerates a false disclaimer only when it already tolerates the thing disclaimed." This is notoriously the case with regard to electoral corruption. There has never yet been, among political men, any real and serious attempt to prevent bribery, because there has been no real desire that elections should not be costly. Their costliness is an advantage to those who can afford the expense by excluding a multitude of competitors; and any thing, however noxious, is cherished as having a conservative tendency, if it limits the access to Parliament to rich men. This is a rooted feeling among our legislators of both political parties, and is almost the only point on which I believe them to be really ill-intentioned. They care comparatively little who votes, as long as they feel assured that none but persons of their own class can be voted for. They know that they can rely on the fellow-feeling of one of their class with another, while the subservience of nouveaux enrichis who are knocking at the door of the class is a still surer reliance; and that nothing very hostile to the class interests or feelings of the rich need be apprehended under the most democratic suffrage, as long as democratic persons can be prevented from being elected to Parliament. But, even from their own point of view, this balancing of evil by evil, instead of combining good with good, is a wretched policy. The object should be to bring together the best members of both classes, under such a tenure as shall induce them to lay aside their class preferences, and pursue jointly the path traced by the common interest, instead of allowing the class feelings of the Many to have full swing in the constituencies, subject to the impediment of having to act through persons imbued with the class feelings of the Few.

https://www.gutenberg.org/files/5669/5669-h/5669-h.htm

2023-12-17

anond:20231216154938

コードの重複があるわけでもない状況で、コード関数ごとに分離するメリットデメリットを知りたいという話ですよね。

コードの重複がある場合関数などに切り分けていないと、同じコードを何度も書くことになり、不具合があった時にコピーされたすべての個所に変更が必要となるというデメリットがあるので理由がわかりやすいですが、重複が無いとその点が不明確ですね。

画面に収まらないサイズコード複数関数に分割するのが一般的だとは思います

理由元増田も書かれている通り、長いと理解の限度を超えるからです。

コード意味があるまとまりで短ければ短いほど理解がしやすいと思います

グローバル変数を使わないようにすると、入力・出力が関数を読むだけで明確にわかるので、さら理解がしやすいです。

また、関数に分けておけば、関数仕様通りに動くかの確認するユニットテスト簡単に書けます

ユニットテストでは関数さらにほかの関数を呼び出している場合、呼び出される関数の代わりにテストダブルを用意することもあります

分割して、複数関数を呼び出すようにすることのデメリットは、

下手糞が切り分けるとなんでそういう切り分けになったかからないところで切り分けられてかえって可読性が損なわれるとか、

関数機能拡張してより多く・あるいは少なくの情報必要な時に関数インタフェースの変更が必要になることとか、

関数を置いているファイル内の場所を変えたときバージョン管理システムが追っかけてくれないことがあるとか

くらいでしょうか。

いずれにせよ、分割するメリットの方がデメリットを上回ることが大半なので、大抵は機能ごとに分割して小さい関数を作り、それをメインからは呼ぶようにすると思います

以下、お悩みポイントに答えます

一番はメイン/サブ関数間で右往左往するので今やってる工程が何なのかがよくわからん

まず、関数名前をやっている工程を表すものにすることですね。

データの取り込み」 とか 「データ突合せ」とかを明示すると、それを呼んでいるということはそういうことをしてくれると思うので。

また、関数が何をしてくれるのかも関数コメントとしてつけておくとよいと思います

例えば、

filename引数指定されたファイルからデータを取り込み、JSONフォーマットで返す

引数: filename

返値: JSONフォーマットされた取り込まれデータ。例: [{'employee name': '山田 太郎', 'employee id': 1}]

例外: filenameを開けない場合はFileOpenError、JSONコンバートできなかった場合はConvertError

みたいなコメントをつけておくと何をする関数なのかわかるので、その機能を調べたいとき以外は読まないでいいかなと。

あと、コード連続で読みたい場合ソースを解析してタグジャンプをつけてくれるツールやらIDEやらを使うことが普通だと思います

あとは関数ごとに変数をいちいち定義し直すのがだるいみたいなのもありますね。

これはどういう意味でしょうか?同じものを表すのに関数ごとに別の変数名を付けているとか?

もしそうだとしたら、使っているプログラミング言語の制約やプログラミング規約によるものなのでしょうか?

ある関数ローカル変数が他の関数ローカル変数に影響を与えることは無いはずなので、ローカル変数は大抵適当名前が付けられるイメージです。

今時のプログラミング言語なら変数スコープ関数の中にとどまるような書き方ができると思うのですが。

関数インタフェース定義し、そこにいちいち引数を書くのが面倒というなら...まあ、それは必要税って感じがします。

そこに引数を書いておくことでこの関数が何に影響されるのかわかるので。

参考までに。

2023-12-09

anond:20231209083906

そもそも自我自由意志なんてもの科学的根拠がないもの*1から自分自己肯定しちゃっていいって言っても、それも出来ないっていうじゃん?

素直に親子関係問題があったのだと自覚してプロ医師の手助けを受けてどうぞ

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*1 

多くの神経科学者や哲学者は、生物学や神経学進歩を踏まえつつ、

自由意志が完全に自律的絶対的存在するという考えは非常に疑わしいと一般的には考えてる

これは、脳の活動遺伝子などの要因が個体の行動や意思決定に影響を与えるという科学的な研究結果に基づくものなんだね

つか、古典物理的な視点でも唯物論視点でも自由意志存在できない

 

あと、Natureにも発表されてたけど、

食用として解体された豚に特定の処理することで脳や内臓の反応が戻るので(OrganEx:2022年実験、BrainEx:2019年実験)、

必要であれば自由意志、なんなら生命定義自体かえるべきだと思うよ

つか、生命と非生命には本質的な違いは無いしね。日本生物物理学会の見解でもこうやで?

生命システムは複雑ではありますが、非生命物質と同じ、通常の物質系(原子分子イオンなど)からできています。したがって材料的には生命と非生命物質本質的違いはありません』

そもそも無機物にも自己組織化という概念がありますし、巨大ウイルスには“免疫”の仕組みがあり、自己と非自己認識があることが分かってるやんけ

必要であれば自由意志、なんなら生命定義自体かえるべきだと思うよ(二度目)

2023-12-06

iPhone2台持ちしてて最近になって変な音を出すようになって困ってたんだけど

これが噂のName Dropなのね

iPhone同士が勝手セックスし始めたのかと思ったよ

anond:20231206122104

ゆうて、『頭が悪くても日本日常生活で何も困らない、なんなら日本の平均以上貰うの余裕で可能』、

たとえ頭が悪い障害ニュアンス(知的障害等)も含むものだったとしても、

作業所ではなくフツーに正規雇用で働いて暮らしてる。なんなら障害無自覚なこともある』って言っても、増田は納得せんじゃん?

 

根本的な原因は、増田が親から無条件でありのまま肯定してもらえなかった、親から条件付きの愛情しか与えられられなかったことだと思うけど、

そもそも自我自由意志なんてもの科学的根拠がないもの*1から自分自己肯定しちゃっていいって言っても、それも出来ないっていうじゃん?

 

素直にプロやお医者さんの手助け受けた方がええと思うよ

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*1 

多くの神経科学者や哲学者は、生物学や神経学進歩を踏まえつつ、

自由意志が完全に自律的絶対的存在するという考えは非常に疑わしいと一般的には考えてる

これは、脳の活動遺伝子などの要因が個体の行動や意思決定に影響を与えるという科学的な研究結果に基づくものなんだね

つか、古典物理的な視点でも唯物論視点でも自由意志存在できない

 

あと、Natureにも発表されてたけど、

食用として解体された豚に特定の処理することで脳や内臓の反応が戻るので(OrganEx:2022年実験、BrainEx:2019年実験)、

必要であれば自由意志、なんなら生命定義自体かえるべきだと思うよ

つか、生命と非生命には本質的な違いは無いしね。日本生物物理学会の見解でもこうやで?

生命システムは複雑ではありますが、非生命物質と同じ、通常の物質系(原子分子イオンなど)からできています。したがって材料的には生命と非生命物質本質的違いはありません』

そもそも無機物にも自己組織化という概念がありますし、巨大ウイルスには“免疫”の仕組みがあり、自己と非自己認識があることが分かってるやんけ

必要であれば自由意志、なんなら生命定義自体かえるべきだと思うよ(二度目)

2023-11-21

ミスター味っ子世界中の大半の人々は食べ物の味なんか興味ないんだ」

https://pbs.twimg.com/media/F_YLnMmWoAAgLop?format=jpg&name=900x900

https://pbs.twimg.com/media/F_YLnM1W0AAmcdH.jpg:medium

安心したわ。

俺って貧乏舌なのか?文化が貧しいのか?って劣等感感じてたけど、世界基準だと俺の方が正常なんだ。

SNSとかで食通ぶってる連中の方が異常なんだ。

2023-11-20

I was cheated on during the homecoming birth

Suddenly, when I looked at my husband's schedule book on the desk, there was a picture of my child s tuck in it, and when I thought about it, there was something like a woman's name written on each mon th's page. So when I looked closely, I carefully wrote down the age and physical compatibility of the woman I m et on the page of the week, and I understood everything. Maybe it's been going on last year or a long time ago. I'm going to report to my friend that my child was born! There was also a note on the day of the drinking party that I sent out. I see. Now my heart feels numb and I don't feel like doing this right away, but what should I do in the fut ure? Ask right now, pretend you don't know yet, or leave it for the rest of your life. Or I'm not sure whether to treat him coldly thinking like this, or whether to be very kind and try t o create a sense of guilt. At home, he was a good dad who was active in housework and childcare due to his child's passions. I was glad that I was able to give birth to this child, but I feel like an idiot. I'm sorry and sorry that the girls my husband met were involved in the play of married people. Maybe he's hiding that he has a married child. I want to cut off only my lower body and throw it away.

2023-11-16

anond:20231116115013

お前のいう通り書いたったわ(C#だが)。

非常に稚拙コードで悪いが。

八百万の神スーパークラスがある場合

//宇宙
namespace Universe
{
    //あらゆる神の根底存在する唯一神とその司る運(スーパークラス)
    public class GodLuck
    {
        public string Name { get; }   //神の名前
        public string Power { get; }  //神の力
        public string Plan { get; }   //神の計画
        public string Factor { get; } //運の要因

        public GodLuck(string name, string power, string plan, string factor)
        {
            Name = name;     //神の名前
            Power = power;   //神の力
            Plan = plan;     //神の計画
            Factor = factor; //運の要因
        }

        //神が何かを創造するメソッド
        public void Create(string thing)
        {
            Console.WriteLine($"{Name} created {thing}.");
        }

        //神が何かに対して支配や介入をするメソッド
        public void Control(string thing, string action)
        {
            Console.WriteLine($"{Name} {action} {thing}.");
        }

        //運が何かに対して影響を与えるメソッド
        public void Affect(string thing, string outcome)
        {
            Console.WriteLine($"{Name} affected {thing} and the outcome was {outcome}.");
        }
    }

    //恵比須様
    public class EbisuSama : GodLuck
    {
        public EbisuSama()
            : base("恵比須様",
                   "商売繁盛や五穀豊穣の力",
                   "人々に幸せを与える計画",
                   "商売繁盛や五穀豊穣の要因")
        {
        }

        //作物を守る
        public void Save(string crops)
        {
            Control(crops, "守る");
        }

        //人間成功させる
        public void MakeSuccessful(string person)
        {
            Affect(person, "成功");
        }
    }
}

↓IGodLuckというインターフェース実装した場合

(大いなる力を別のクラス移譲したくなったが、神と大いなる力は同一のオブジェクトという要件があるからやめた)

//宇宙
namespace Universe
{
    //神の振る舞いを定義したインターフェイス
    public interface IGodLuck
    {
        public string Name { get; }
        public string Power { get; }
        public string Plan { get; }
        public string Factor { get; }

        //神が何かを創造するメソッド
        public void Create(string thing);

        //神が何かに対して支配や介入をするメソッド
        public void Control(string thing, string action);

        //運が何かに対して影響を与えるメソッド
        public void Affect(string thing, string outcome);
    }

    //恵比須様
    public class EbisuSama : IGodLuck
    {
        public string Name { get; }   //神の名前
        public string Power { get; }  //神の力
        public string Plan { get; }   //神の計画
        public string Factor { get; } //運の要因

        public EbisuSama()
        {
            Name = "恵比須様";                   //神の名前
            Power = "商売繁盛や五穀豊穣の力";    //神の力
            Plan = "人々に幸せを与える計画";     //神の計画
            Factor = "商売繁盛や五穀豊穣の要因"; //運の要因
        }

        //神が何かを創造するメソッド
        public void Create(string thing)
        {
            Console.WriteLine($"{Name} created {thing}.");
        }

        //神が何かに対して支配や介入をするメソッド
        public void Control(string thing, string action)
        {
            Console.WriteLine($"{Name} {action} {thing}.");
        }

        //運が何かに対して影響を与えるメソッド
        public void Affect(string thing, string outcome)
        {
            Console.WriteLine($"{Name} affected {thing} and the outcome was {outcome}.");
        }

        //物を守る
        public void Save(string thing)
        {
            Control(thing, "守る");
        }

        //人間成功させる
        public void MakeSuccessful(string person)
        {
            Affect(person, "成功");
        }
    }
}

anond:20231116083605

ぜんぜん中立じゃないぞ、日本八百万の神がいる世界

万物に神が宿り、万物が神になる世界なので、神が人や世界支配しない

 

西洋宗教において神と運は別のオブジェクトだが、日本古典宗教観においては神や大いなる力は同一のオブジェクト』、これを生成させるまではうまくいったんだけどね

bingちゃん:

西洋宗教では、神と運は、プログラムでたとえると、別々のオブジェクトとして存在すると考えられます。神は、人間自然に対して意志計画を持つ創造者や支配者として表現されます。運は、人間自然に対して予測制御ができない偶発的な要因として表現されます

# 神と運のオブジェクト定義する
class God:
    def __init__(self, name, power, plan):
        self.name = name # 神の名前
        self.power = power # 神の力
        self.plan = plan # 神の計画

    def create(self, thing):
        # 神が何かを創造するメソッド
        print(f"{self.name} created {thing}.")
    
    def control(self, thing, action):
        # 神が何かに対して支配や介入をするメソッド
        print(f"{self.name} {action} {thing}.")

class Luck:
    def __init__(self, name, factor):
        self.name = name # 運の名前
        self.factor = factor # 運の要因

    def affect(self, thing, outcome):
        # 運が何かに対して影響を与えるメソッド
        print(f"{self.name} affected {thing} and the outcome was {outcome}.")

このコードでは、神と運は、それぞれ異なる属性機能を持つオブジェクトとして定義されています。神は、名前、力、計画という属性と、創造支配という機能を持ちます。運は、名前、要因という属性と、影響という機能を持ちます。神と運は、それぞれの機能を使って、人間自然に対して作用することができます。例えば、以下のようなコードが考えられます

# 神と運のオブジェクト作成する
god = God("Zeus", "lightning", "maintain order")
luck = Luck("Tyche", "chance")

# 神と運が人間に対して作用する
god.create("human")
luck.affect("human", "good")
god.control("human", "bless")
luck.affect("human", "bad")
god.control("human", "punish")

しかし、日本古典宗教観では運と神や大いなる力は同じオブジェクトです。神が運を司っています

# 神と運は同一のオブジェクトとして定義する
class GodLuck:
    def __init__(self, name, power, plan, factor):
        self.name = name # 神の名前
        self.power = power # 神の力
        self.plan = plan # 神の計画
        self.factor = factor # 運の要因

    def create(self, thing):
        # 神が何かを創造するメソッド
        print(f"{self.name} created {thing}.")
    
    def control(self, thing, action):
        # 神が何かに対して支配や介入をするメソッド
        print(f"{self.name} {action} {thing}.")

    def affect(self, thing, outcome):
        # 運が何かに対して影響を与えるメソッド
        print(f"{self.name} affected {thing} and the outcome was {outcome}.")

このように、神と運は同一のオブジェクトとして扱われます。例えば、恵比寿さまは商売繁盛や五穀豊穣の神であり、同時にそのような運をもたらす要因でもあります。以下がその例です。

# 恵比寿さまのオブジェクトを作る
ebisu = GodLuck("恵比寿さま", "商売繁盛や五穀豊穣の力", "人々に幸せを与える計画", "商売繁盛や五穀豊穣の要因")

# 恵比寿さまが何かを創造する
ebisu.create("鯛")

# 恵比寿さまが何かに対して支配や介入をする
ebisu.control("農作物", "守る")

# 恵比寿さまが何かに対して影響を与える
ebisu.affect("商人", "成功")

このコードを実行すると、以下のような出力が得られます

恵比寿さま created 鯛.
恵比寿さま 守る 農作物.
恵比寿さま affected 商人 and the outcome was 成功.

Bingちゃん、神が人間評価する宗教圏の人が作ったものから

強力に神の計画があると学習させられているな

日本語で聞いてるのになんでその回答になるんだよ、面倒くせぇ

ぜんぜん中立じゃないじゃんな

 

具体的にはBingちゃんが神の計画・神の支配文言含んだ回答を生成しちゃったら

新しくトピック立ち上げて生成ガチャやり直しや

 

日本八百万の神がいる世界万物に神が宿り、万物が神になる世界なので、神が人や世界支配しない

 

西洋宗教において神と運は別のオブジェクトだが、日本古典宗教観においては神や大いなる力は同一のオブジェクト』、これをBingちゃんに生成させるまではうまくいったんだけどね

bingちゃん

西洋宗教では、神と運は、プログラムでたとえると、別々のオブジェクトとして存在すると考えられます。神は、人間自然に対して意志計画を持つ創造者や支配者として表現されます。運は、人間自然に対して予測制御ができない偶発的な要因として表現されます

# 神と運のオブジェクト定義する
class God:
    def __init__(self, name, power, plan):
        self.name = name # 神の名前
        self.power = power # 神の力
        self.plan = plan # 神の計画

    def create(self, thing):
        # 神が何かを創造するメソッド
        print(f"{self.name} created {thing}.")
    
    def control(self, thing, action):
        # 神が何かに対して支配や介入をするメソッド
        print(f"{self.name} {action} {thing}.")

class Luck:
    def __init__(self, name, factor):
        self.name = name # 運の名前
        self.factor = factor # 運の要因

    def affect(self, thing, outcome):
        # 運が何かに対して影響を与えるメソッド
        print(f"{self.name} affected {thing} and the outcome was {outcome}.")

このコードでは、神と運は、それぞれ異なる属性機能を持つオブジェクトとして定義されています。神は、名前、力、計画という属性と、創造支配という機能を持ちます。運は、名前、要因という属性と、影響という機能を持ちます。神と運は、それぞれの機能を使って、人間自然に対して作用することができます。例えば、以下のようなコードが考えられます

# 神と運のオブジェクト作成する
god = God("Zeus", "lightning", "maintain order")
luck = Luck("Tyche", "chance")

# 神と運が人間に対して作用する
god.create("human")
luck.affect("human", "good")
god.control("human", "bless")
luck.affect("human", "bad")
god.control("human", "punish")

しかし、日本古典宗教観では運と神や大いなる力は同じオブジェクトです。神が運を司っています

# 神と運は同一のオブジェクトとして定義する
class GodLuck:
    def __init__(self, name, power, plan, factor):
        self.name = name # 神の名前
        self.power = power # 神の力
        self.plan = plan # 神の計画
        self.factor = factor # 運の要因

    def create(self, thing):
        # 神が何かを創造するメソッド
        print(f"{self.name} created {thing}.")
    
    def control(self, thing, action):
        # 神が何かに対して支配や介入をするメソッド
        print(f"{self.name} {action} {thing}.")

    def affect(self, thing, outcome):
        # 運が何かに対して影響を与えるメソッド
        print(f"{self.name} affected {thing} and the outcome was {outcome}.")

このように、神と運は同一のオブジェクトとして扱われます。例えば、恵比寿さまは商売繁盛や五穀豊穣の神であり、同時にそのような運をもたらす要因でもあります。以下がその例です。

# 恵比寿さまのオブジェクトを作る
ebisu = GodLuck("恵比寿さま", "商売繁盛や五穀豊穣の力", "人々に幸せを与える計画", "商売繁盛や五穀豊穣の要因")

# 恵比寿さまが何かを創造する
ebisu.create("鯛")

# 恵比寿さまが何かに対して支配や介入をする
ebisu.control("農作物", "守る")

# 恵比寿さまが何かに対して影響を与える
ebisu.affect("商人", "成功")

このコードを実行すると、以下のような出力が得られます

恵比寿さま created 鯛.
恵比寿さま 守る 農作物.
恵比寿さま affected 商人 and the outcome was 成功.

2023-11-15

[] 単位労働時間あたりのGDP (労働生産性の別の側面)

単位人件費あたりのGDP金銭的な投資効率であったのに対し、単位労働時間あたりのGDPはいわば働き方改革で言われるような労働者幸福度関係する指標と言える。

まり労働時間1時間あたりにどれだけのGDPを生み出すのかということである。これが高ければ高いほど、労働時間を減らしても国民は裕福に暮らせるというわけだ。

単位を見ると、GDP per capita = $/1人年, work hours = 時間/1人年, GDP per capita / work hours = $/時間

 

gdp per capita work hours Country Namegdp per capita / work hours
142214 1473.26 Luxembourg 96.5302
114899 1424.58 Norway 80.6543
126905 1657.47 Ireland 76.5657
83598.5 1528.66 Switzerland 54.6874
74005.5 1371.61 Denmark 53.9553
69577.4 1427.02 Netherlands 48.7573
69081.3 1449.22 Iceland 47.6679
63149.6 1340.86Germany 47.0963
67935.8 1443.72 Austria 47.0561
64578.4 1440.46 Sweden 44.8318
65027.3 1525.82 Belgium 42.6181
76398.6 1810.94 United States 42.1872
59026.7 1498.07 Finland 39.4019
55492.6 1511.4 France 36.716
62625.4 1707.33Australia 36.6804
54602.5 1531.71 United Kingdom 35.648
58399.5 1686Canada 34.6379
50031.7 1619.01 Slovenia 30.9026
51865 1694.45 Italy 30.6087
48396.7 1624.16 Lithuania 29.7981
51966.9 1748 New Zealand 29.7293
55927.9 1881.93 Malta 29.7184
49945.5 1754.05 Czechia 28.4744
45572.7 1607 Japan28.359
45825.2 1643.55 Spain 27.8819
49930.9 1837.1 Cyprus 27.1792
46697.4 1770.41 Estonia 26.3766
50069.8 1901 Korea, Rep. 26.3387
49509.1 1891.9 Israel 26.169
39956.2 1553.24Latvia 25.7245
41451.6 1635.1 Portugal 25.3512
41906.7 1699.6 Hungary24.6568
43268.5 1814.79 Poland23.8421
41887.9 1808.23Romania23.1651
37459.5 1622.07 Slovak Republic23.0937
40379.6 1810.5 Croatia 22.303
37273.7 1732.09 Turkiye 21.5195
33582.3 1618.73 Bulgaria20.746
36834.9 1886.29 Greece 19.5276
36484.7 1874 Russian Federation 19.4689
30208.8 1962.8 Chile 15.3907
24922.7 2149 Costa Rica11.5973
21512.3 2226.3 Mexico9.66279
20287.4 2405.39 Colombia 8.43416

[] 単位人件費あたりのGDP (労働者生産性の間接的表現)

gdp per capita salary Country Namegdp per capita / salary
126905 52242.6 Ireland 2.42915
114899 53755.9 Norway 2.13742
142214 78310.1 Luxembourg 1.81603
49945.5 33475.5 Czechia 1.492
41906.7 28474.6 Hungary 1.47172
37459.5 26262.8 Slovak Republic 1.42633
36834.9 25979 Greece 1.41787
46697.4 34704.6 Estonia 1.34557
41451.6 31921.7 Portugal 1.29854
21512.3 16685.4 Mexico 1.28929
64578.4 50406.8 Sweden 1.28114
37273.7 31761 Turkiye 1.17357
43268.5 36896.6 Poland 1.1727
39956.2 34136.2 Latvia 1.17049
51865 44893.3 Italy 1.15529
74005.5 64126.7 Denmark 1.15405
83598.5 72993 Switzerland 1.14529
59026.7 51835.9 Finland 1.13872
49509.1 44155.9 Israel 1.12123
48396.7 43874.6 Lithuania 1.10307
69577.4 63225 Netherlands 1.10047
45572.7 41509.2 Japan 1.09789
63149.6 58940.3 Germany 1.07142
45825.2 42859.3 Spain 1.0692
67935.8 63801.6 Austria 1.0648
50031.7 47203.6 Slovenia 1.05991
62625.4 59407.9 Australia 1.05416
55492.6 52763.6 France 1.05172
51966.9 50722.5 New Zealand 1.02453
50069.8 48921.9 Korea, Rep. 1.02346
54602.5 53985.1 United Kingdom 1.01144
65027.3 64847.6 Belgium 1.00277
58399.5 59050.4 Canada 0.988978
76398.6 77463.5 United States 0.986253
30208.8 33042.3 Chile 0.914246
20287.4 22248.5 Colombia 0.911855
69081.3 79473.4 Iceland 0.869238
24922.7 31117.8 Costa Rica 0.800912

2023-11-06

anond:20231101225410

ごめん気づくのが遅れた。レス元増田だけど、顔じゃない。

元々男は(よっぽどの例を除いた)大多数の女とヤレるけど、女は逆になってる。

男にとって8割の女はOKだけど、女にとって8割はNGみたいな関係。8割は仮の数字だけど。

から男にとっては、NGな方に入るのはレアケース。

女にとってはNGなのが基本。OKレア

女にとっては、セックス対象にはならないが同僚やクラスメートとしては有な男が大量にいる。

からたまたま席が近くて仲良くなった男がセックス可能なオスである可能性は低い。

しかし男女関係ない友達としては全然問題ない。

セックス可能かどうかで友人の入り口を絞ってるとしたら、むしろそっちのが打算的な印象すらある。 <h3>o- *</h3>

あとネットの与太話では、全ての女にとって共通OKな男と共通NGな男がいるような

内容が流通してるが、これは極論の煽りで、実際には女個々人でOK範囲はズレている。

女には、上位の女が選んだ上位の男が、自分にとってはNG生理的に無理)

ということが割とある。頻繁にある。

これは、遺伝子バラけるように、種として多様性が出来るように、そうなってるんじゃないかと思う。

男は種をバラまきたいし負担もないので、機会さえあれば全てモノにしておいた方が得だけど、

女は一人と性交すると長く重い負担になる可能性があるので、機会を持つこと自体を絞る。

男側に欲求(推進力)を持たせて、女の選好で絞り込んでバラけるようになっている。 <h3>o- *</h3>

実際のところ、欲求を持たされた側は気の毒だと思うよ。

女は、自分から「うおぉぉぉぉ、男が欲しーーーーい!!!」みたいの無いから。

性欲が、自発的じゃなくて受動的なんよ。安心しきると芽生えてくるみたいな。

で、相性的に違う相手だと、緊張や抵抗があって、どうしてもそんな気になれない、

これがつまり生理的に無理」。 <h3>o- *</h3>

から一人の女の拒絶を、全女性の拒絶と受け取らなくてもいいと思うよ。

バラけてるから

それで仲良くするのが、期待や執着やトラウマを生むなら控えようと思った。

下心がある男の友達は、全くそんな感情がない他の人より積極的なので、

意識して遠ざけないと、そんな相手と多く行動するパターンになりがちだし。

こんな感じで受動的に仲良くしてるだけなんよ。

弱者男性の自分の失恋、あるいはミソジニー、あるいは女性恐怖症である事の原点

ヒカキン10年で福耳化してるらしいけど、こんなことってあるのだろうか。

医学とかの専門家解説してほしいわ。

https://pbs.twimg.com/media/F-OAdjSa4AAReHs?format=jpg&name=medium

2023-11-05

スイス田舎に3ヶ月間の移住体験

こんにちは、私はおんな1人暮らしブロガーです。今回は、スイス田舎に3ヶ月間の移住体験したことお話ししたいと思いますスイス田舎と聞いて、どんなイメージが浮かびますか?美しい自然、豊かな文化、高品質チーズチョコレートなどでしょうか。私もそんな理想を抱いて、スイス田舎移住してみました。しかし、現実はそんなに甘くありませんでした。スイス田舎暮らし理想現実について、私の体験をもとにお伝えします。 <h3>o- *</h3>

私はスイス言葉を少しずつ覚え、

農場オーナーと会話をすることができるようになりました。私はスイス文化にも触れることができました。農場オーナーは私を近くの村の祭り市場に連れて行ってくれました。私はそこで、スイス伝統的な音楽ダンス衣装を見たり、スイス特産品料理を食べたりしました。私はスイス田舎の人々の暖かさや豊かさを感じました。私はスイス田舎に魅了されました。

しかし、スイス田舎暮らしには、理想とは違う現実もありました。それは、

スイス物価の高さです。

スイス世界で最も物価の高い国の一つです。私は農場食事宿泊無料提供してもらっていましたが、それ以外のもの自分で買わなければなりませんでした。私は農場の近くにある小さなスーパーマーケットに行ってみましたが、そこでの値段に驚きました。日本で買うのと比べて、野菜果物や肉やパンなどの食品は2倍から3倍、飲料お菓子日用品などは3倍から4倍も高かったです。私は日本円で換算すると、1リットル牛乳が500円、1個のりんごが300円、1本の歯ブラシが1000円もするということに呆然しました。私はスイス物価に慣れることができませんでした。私は農場で働いていたので、お金を稼ぐことができませんでした。私は日本から持ってきた貯金を使って生活するしかありませんでした。私は貯金が減るのを見て、不安になりました。私はスイス物価に圧倒されました。

もう一つの現実

は、スイス田舎孤独さです。私は農場オーナーと仲良くなりましたが、彼らは私よりもずっと年上でした。私は彼らと同じ趣味話題がなかったです。私は農場の近くにある村に行ってみましたが、そこには私と同じ年代の人はほとんどいませんでした。村の人々は私に親切でしたが、彼らは私とは違う生活をしていました。私は村の人々と打ち解けることができませんでした。私はスイス田舎友達がいませんでした。

私はインターネット日本友達家族と連絡

を取ろうとしましたが、時差のせいでなかなかうまくいきませんでした。私は日本ニューステレビ音楽などにもついていけませんでした。私は日本とのつながりを失っていくのを感じました。

2023-10-25

anond:20231024131204

ttps://pbs.twimg.com/media/Cmrueo8UcAAaPP-?format=png&name=large

2023-10-23

解説役として動画で利用されるケースが増えている『ずんだもん』というキャラクター

政治宗教事件などに関する動画でも使われるケースが増える中で、公式が「個人や団体への非難などでのキャラクター利用もNGになっておりますのでご注意ください」などとキャラクター利用に関して前述の注意喚起をするとともに、「使ってはいけないのはどんなケース?」というQ&Aの画像を添付しました。

この画像によると、動画SNSアイコンに使ってはいけないケースとして、「風俗公序良俗に反するもの虐待をする/される、凶悪殺人鬼になるなどキャラクターイメージを著しく悪化させるものに関してはNGです」と説明

続けて、「特定個人政党宗教団体支援、または支援するおそれがあると認められるもの特定個人団体非難する、誹謗中傷する目的での利用もNGとなります」と説明しました。

「ずんだもん」はテキスト自動読み上げソフトVOICEVOXなどで使用することができる架空のキャラクターボイスとしても広く利用されており、「ゆっくり霊夢・魔理沙(※)」による「ゆっくり解説」に代わる存在として、最近では解説キャラクターとしての需要が高まっています。

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