Movatterモバイル変換


[0]ホーム

URL:


はてラボはてな匿名ダイアリー
ようこそ ゲスト さんログインユーザー登録

「void」を含む日記RSS

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

次の25件>

2025-12-16

anond:20251215235034

AIとかまあ使い捨てしか使わないけど

タスクタイプENUMタスク内容のStringと日付をDBに保存するコマンドプログラムを書いて タスク内容はタスクタイプによっては固定になる場合任意String場合がある

これで下のようなものが出たがENUM側に持たせてるので言い方の問題だと思うよ

public class TaskCommandApp {

public staticvoidmain(String[] args) {

Scanner scanner = new Scanner(System.in);

System.out.println("Task type:");

for (TaskType type : TaskType.values()) {

System.out.println("- " + type.name());

}

TaskType taskType = TaskType.valueOf(scanner.nextLine().trim());

String taskContent;

if (taskType.hasFixedContent()) {

taskContent = taskType.getFixedContent();

System.out.println("Task content fixedas: " + taskContent);

} else {

System.out.print("Enter task content: ");

taskContent = scanner.nextLine();

}

System.out.print("Enter taskdate (yyyy-MM-dd): ");

LocalDate taskDate = LocalDate.parse(scanner.nextLine());

Task task = new Task(taskType, taskContent, taskDate);

new TaskDao().save(task);

System.out.println("Task saved successfully.");

}

}

publicenum TaskType {

DAILY_REPORT("Daily report submission"),

MEETING(null),

MAINTENANCE("Systemmaintenance task");

privatefinalString fixedContent;

TaskType(String fixedContent) {

this.fixedContent = fixedContent;

}

public boolean hasFixedContent() {

return fixedContent != null;

}

publicString getFixedContent() {

return fixedContent;

}

}

Permalink |記事への反応(0) | 00:04

このエントリーをはてなブックマークに追加ツイートシェア

2025-12-01

ゲムマ帰りの電車TRPGシナリオネタバレを食らった話

ゲームマーケットの帰りの電車で話していた男性2、女性1でオタサーみたいに女性を挟むようにして座っていた奴ら。

ノイキャンも貫通するような声量で話しているのはまあいい。酔っ払いとか他にもそういう人はいる。

VOIDっていうTRPGシナリオネタバレを大声で話すな。明らかにシナリオの盛り上がるところをべらべらと、お前らはい体験できてよかったですね。

こっちはまだ通ってないし、ゲームマーケットTRPG関連を目的に行ったなら、周りにも同じようなTRPGプレイヤーがいるって想像つかんか?

話聞いてる限り、KPはその場にいない特定の1人がずっとやってるっぽくてかわいそうだわ。その人と遊びたいからKPやってもらう〜とか初めてリアルで聞いたわ。終わってるだろ。

プレイスタイル自己満足を優先して周りに迷惑かけてるんだろうな。

一生そこから出てこないでくれ。

Permalink |記事への反応(0) | 18:46

このエントリーをはてなブックマークに追加ツイートシェア

2025-11-22

ChatGPT すごい

utf8の文字コード構成されたバイナリファイルがある。このファイルの改行の数を数えよ。改行はCRのみとする。このファイルにはCR が必ず含まれており、CRで分割すればマルチスレッドで処理できる。

質問したら、c++pythonコードが出てきた

size_t count_cr_in_file(conststd::string&path) {

std::ifstreamfs(path,std::ios::binary);

fs.seekg(0,std::ios::end);

size_t size =fs.tellg();

fs.seekg(0);

const size_tthread_count =std::thread::hardware_concurrency();

const size_t chunk_size = size /thread_count;

std::vector<std::future<size_t>> futures;

for (size_t t = 0; t <thread_count; t++) {

size_t start = t * chunk_size;

size_t end = (t ==thread_count - 1 ? size : (t + 1) * chunk_size);

futures.push_back(std::async(std::launch::async, [start, end, &path]() {

std::ifstreamfs(path,std::ios::binary);

fs.seekg(start);

size_t count = 0;

for (size_t i = start; i < end; i++) {

char c;

fs.read(&c, 1);

if (c == '\r') count++;

}

return count;

}));

}

size_ttotal = 0;

for (auto& f : futures)total += f.get();

returntotal;

}

def count_cr(path):

importmmap

withopen(path, "rb")as f:

mm =mmap.mmap(f.fileno(), 0,access=mmap.ACCESS_READ)

returnmm.count(b'\r')

c#で書けと指示したところ、

using System;

using System.IO;

using System.IO.MemoryMappedFiles;

using System.Threading.Tasks;

class CountCR

{

public static long CountCRInFile(stringpath)

{

using varmmf = MemoryMappedFile.CreateFromFile(path, FileMode.Open, null);

using varaccessor =mmf.CreateViewAccessor(0, 0, MemoryMappedFileAccess.Read);

long fileSize =accessor.Capacity;

int processorCount = Environment.ProcessorCount;

long chunkSize = fileSize / processorCount;

longtotal = 0;

object lockObj = newobject();

Parallel.For(0, processorCount, i =>

{

long start = i * chunkSize;

long end = (i == processorCount - 1) ? fileSize : (i + 1) * chunkSize;

long localCount = 0;

byte b;

for (longpos = start;pos < end;pos++)

{

accessor.Read(pos,out b);

if (b == 0x0D) //CR

localCount++;

}

lock (lockObj)

{

total += localCount;

}

});

returntotal;

}

staticvoidMain(string[] args)

{

stringpath = "yourfile.bin";

long count = CountCRInFile(path);

Console.WriteLine($"CR count = {count}");

}

}

というコードが出てきた。

実際はcrlf,lfもあり得るんだが、そこは考慮しなくてもよく、そう考えるとaiはすごいとしか言いようがない。

なお、utf8として成立する単位区切りつつ改行を数える場合、もう一工夫いる。

SJISもできるようにするともっと面倒なことになりそう…)

Permalink |記事への反応(2) | 09:50

このエントリーをはてなブックマークに追加ツイートシェア

2025-10-27

正しい英語に直しなさい

circle around ratio

triangle proportion

base ofnatural pairnumber

voidnumbers

bearbook

Permalink |記事への反応(0) | 11:21

このエントリーをはてなブックマークに追加ツイートシェア

2025-08-26

anond:20250826004855

Thereis an epidemic of people misunderstanding what hit points are andwhyyou gain them. Thisrant/explanationis fueledby an argument I had withone of myplayers and too many commentsonDnD streams where people misunderstandHP. Theonly part ofyourHP that determines how muchdamageyou can physically withstandis the Con modifieryouadd, the rolledHPis combat experience, luck and mental fortitude. Let me explain.

Alvl20 Goliath Barbarianat fullheathgets stabbed in the head with with asimple 1d6 sword. That Goliathis dead, gainingHPisn’t becoming tough enough tosurvive a sword toyour goddamn cranium,it’s gaining enough combat experience thatyou’re able to avoid the deadlyblow and insteadonly suffer a cut inyourarm.

Thisis the entire concept of sneakattack and criticalhits. Therogueisn’t suddenly hittingyou harder thannormal, they’re slipping pastyour defenses to deal the realisticdamage ofyougetting stabbed in the kidney. Whenyou crityou aren’t hitting harder thanyou were beforeyou’re landing a solid hit thatyour opponentis having a hardertime avoiding.

Thisiswhyyour rolledHPis dependentonyour class and notyourrace, andwhy martial classes have the highest hit die. A knife in the gutis a muchmore dangerous whenyou’re agnome than whenyou’re a Goliath unless thegnomeis a fighter and the Goliathis a wizard.Onehas muchmore combat experience than the other andis able to avoid the deadlier hit.

Edit:again thisis alsowhyyou heal to fullHP after a longrest.You aren’tmagically healing hundreds of cutsonyourbody,you’re becomingrested enough thatyou’re able to avoid that dagger toyour neck.

Edit 2: I avoid taking about spells becausemagicis fuckingweird.

Alsopoisondamage.It’s about how muchpoison/venomis actually able toget intoyour system beforeyou’re able to pull backand avoidit.

Permalink |記事への反応(0) | 14:00

このエントリーをはてなブックマークに追加ツイートシェア

2025-07-02

Agodaに届け意訳英訳・ Troubles around Agoda and the causes

https://anond.hatelabo.jp/20250630233246

 

アゴダのXが日本語カリマセン〜英語で言って!というので勝手ながらこちらの増田を途中までですが英語にさせてください&かなり意訳許してください&違和感間違い等あったら有識者教えて

 

Agodamakes many troubleson travel, Latestnews inJapan toldas so.

But "I" think there's accomplice.

"I"am a Manager ofHotel inTokyo and Iwas involved many troublesmadeby Agodaand accomplice.

I want to everyone awareand avoid troubles...and I also wanted to say about, usually,JapaneseHotel staff areHATE Agoda.

Systems of Agoda

Basically, Agoda bought room bookings fromHotels and sell with chargelike otherOTA.

But, thedifferenceis, Agoda also sell "other agent's" room stock.

for example, someJapanesemajor agent "Rakuten" or "Jaran" are making partnership with Agodaand Agodausers can booking partners stock.

Thiscase,Hotels agreed bookingby Agodaat sellJapanese agent anduser andHotels can confirm booking routelike "Jaranvia Agoda"on each systems. almost thiscase notmake troubles.

But,nextcaseis problem... Agodais also buying room stock from Suspicious agent.

I think thiscase causes complain of Hoshino Resort and Toyokoinn.

When Agodauser bookingby Suspicious agent...

Sometime Agoda propose very cheap reservation than other reservation of samehotel, day, conditions.

Usually,user choice and buy such reservation.

but, thiscase, the booking not complete.

Hotels are noticedasonly "from Expedia AffiliateNetwork".

HELL named "Expedia AffiliateNetwork"

Agents are usuallymake contract withhotels, butits pretty expensive for smaller agent.

then, Expedia provide bookingsearch engine service for mainly such agents.

Sometime Airlines uses this toaddhotel booking to their own airplanes booking andmake travel deal.

 

Then, the service MUST contain suspicious agents.

and the booking route CANtakelike below.

Agoda⇨agent A⇨agent B⇨C..⇨Hotel

And the sucks, thecase must threw many Suspicious Agent (of suspicious country) (and sometime the bookings are actually not exists).

So, When trouble occurs,hotel can not confirm "whereis matter andwhy trouble occurs"

 

WHO DONEIT?

I think, Expedianeed survey and not allow these suspicious agents.

But also, WEhotel staff think Agoda seems runningaway from responsibleaction with saying "it's not our problem", they must be aware andtake responsibleaction for suchcase!

Permalink |記事への反応(1) | 21:44

このエントリーをはてなブックマークに追加ツイートシェア

2025-04-19

オブジェクトがなぜダメなのか

クラスGodObject)は、ソフトウェア設計においてアンチパターン(避けるべき設計手法)として知られています

これは、過剰に多くの責任を持ちすぎるクラスオブジェクトのことであり、ソフトウェア保守性や拡張性、可読性に大きな問題引き起こします

以下では、「いかに大変か」「なぜ大変か」「どのように大変か」を徹底的に具体的に解説します。

💥いかに大変か(How baditis

❓ なぜ大変か(Whyit's bad)

1.単一責任原則違反(SRP: Single Responsibility Principle)
2. 高凝集・低結合の原則からの逸脱
3.テスト困難

⚙️ どのように大変か(Examples)

ケーススタディ:神クラス「ApplicationManager」
public class ApplicationManager {    privateMap<String,User>users;    private DatabaseConnectiondb;    privateLoggerlogger;    privateGUIgui;    private NetworkClientclient;        publicvoid startApplication() {        connectToDatabase();        loadUsers();gui.showLoginScreen();    }    publicvoid processUserInput(String input) {logger.log("Input received: " + input);        if (input.equals("logout")) {gui.showLoginScreen();        } else {client.send(input);        }    }    // ...more than 5000 lines of code}
問題

Permalink |記事への反応(1) | 15:46

このエントリーをはてなブックマークに追加ツイートシェア

2025-04-09

anond:20220105212344

void stranger

stephen's sausage roll

好きな方を選ぶといいやで

Permalink |記事への反応(0) | 23:42

このエントリーをはてなブックマークに追加ツイートシェア

2025-03-07

CoC6版秘匿シナリオの虚無HOリスト

「曇らせ展開だけが続き旨味がないサンドバッグ要員」「他のHO比較して活躍できるシーン量に大きな差があり、かつそれが事前に明示されない」「NPC下位互換である」など。

自身遊んだ感想、友人知から口頭で聞いた話、某所にて書かれていた意見を未通過KPをする際のヒントとしてまとめています複数意見があったもの併記しました。

あくま個人の感想です。よりよいセッションのための参考程度でご覧ください。

(50音順)

アイラスの双眼

HO1

鬨の声

HO3

商不幸堂

HO2

若鷲の双眸

全員

NPC中心

悪魔の唇

HO1

全体的に秘匿の意味を感じない

悪役不在の物語

NPC中心

かなり空気を読んで協力する必要がある

悪辣

NPC中心

HO3が虚無りがち

HO1もいらない

HO4もNPCでいいか

Aconite

HO3が虚無、全部虚無

HO1HO3が虚無

NPCしかいらない

HO2ややマシ

HO2は陣による

HO4も虚無。NPC思い入れを持ちにくい立ち位置

ATHENA

HO2

あトの祀リ

脳内当てNPCゲー

HO1

HO2もやや虚無

ANIMA

HO2虚無りやす

アポカリプスの天秤

HO3

HO2やや孤立ポジション

アポメーカネース・テオスの追憶

NPC中心

HO2

アリスとテレスとお月さま

HOアリス

アルドラの騎士

HO2

安楽死倶楽部

全員

一胚

NPC劇場

イドラ約束

HO3

異能警察は、英雄じゃない

HO1微妙

HO2優遇に見えるが楽しいとは限らない?

HO3疎外感あり

鰯と柊

HO教祖

膿み堕とし

HO1

永虹灰帰のポリス

HO4

HO2もやや虚無

改定前verはほぼ確ロスに近いHOあり

SSS.S

全員

HO3

Xから告白

HO2

エンジェルデビルインプロパー

偏りありかつPL会議不可

追鯨

NPC劇場

お前だけは俺が殺す

HO4

快刀乱魔

HO4

HO3曇らせばかり

かいぶつたちとマホカルト

魔女は出目次第で虚無

彼方からの君に捧ぐ

偏りあり

NPC中心

金糸雀の欠伸

HO2

HO4もやや虚無

カノヨ街

HO3

神はすべてきみに任せたのである

HO1HO4

烏が群れては、極彩色

NPC劇場

HO2

HO3も不遇寄り

クオリア嘲笑

HO4

Good night,Judas.

HO3

HO4

HO2も楽しくはない

梟の断罪

HO1HO3

虹彩

HO2HO4HO5

航時幽霊シリーズ

NPC中心

GODARCA

HO格差あり、NPCage傾向あり

陣により星、吊るされた男、愚者、女教皇、力、皇帝魔術師世界節制など

優遇戦車教皇運命の輪節制太陽、月、塔、審判など

サイレン清掃会社

HO3

HO4は好きな人はいるかも?でも正直いらない

傘月堂夜話

NPC中心

四季送り

HO3同卓が空気読めないとキツい

HO4蚊帳の外になりうる

Sibyl-シビュラ-

HO1HO3

ジャンヌの猟犬

HO3HO4

NPCが主役

十二星座殺人事件

乙女座双子座

蠍座獅子座蟹座も若干虚無より

JOKERJOKER

ハートがやや薄味

私立花ヶ丘高校秘密倶楽部

柳最優遇

桜と藤も出番あり

他は微妙

すみません、よくわかりません。

全員

正偽のイデア

HO3HO4

静なるテロリスタ

異邦人

学者蚊帳の外になりやす

鶺鴒、浦々と鳴き

全員自由度がない

Ⅶ・peccāta

傲慢嫉妬のみ優遇

色欲が一番薄い

ゾディアックスクール

午が後半虚無になりかねない

その真紅に愛を見る

HO4

誰がロックを殺すのか

HO2が蚊帳の外になる場合があるかも

町葬屋

HO1

ディープブルーキラめいて

HOアイドル

THESEUS

HO3

天啓業火

HO3

HO4も薄め

とある幸せ家族の話

HO3

東京ゴーストティ

狗の役割を活かせないことはありうる

ドッペルゲンガーの証跡

NPC中心

HO3

HO2も虚無より

HO1

匿名幸福論者は濁と踊る

HO3HO4虚無より

NPC活躍

胡桃炸裂症候群

ややNPC中心

HO刑事同卓次第で虚無

夏と祭りと私の貌

HO1以外の全員

庭師は何を口遊む

HO3サンドバッグ

HO1HO2優遇

人間失覚殺人

HO2はやや疎外感

NOBODY*2

HO3がかなり虚無。HO4も虚無

HO2も微妙

灰と甘露

全体的にバランス微妙

花園にて、

HO1

Paranormal Crime

HO2主体的に動きにくい

HO3技能要員

HO5わりと暇。交渉RP好きならあり

HO1も脳内当てさせられる

B'ASH

HO4が虚無になるパターンあり

火点し頃の蜘蛛踊り

HO2虚無

HO3救われない

ファウストショコラ

HO2

不辜のサァカスナイフモツ

HO2

HO1HO3も虚無より

BLACK×SYNDROME

HO1やや虚無

FRaTRlCiDE-フラトリサイド-

HO4

お助けNPCっぽい

HO2も虚無

プルガトリウムの夜

HO1次第でHO2やや虚無

Project :Sm;ley

HO喜以外

片鱗

HO殺人

VOID

HO2

HO4も虚無りがち

咆哮エトランゼ

全員

紡命論とシンギュラリティ

HO1HO2HO3

ホテルアンデルセン

HO1以外虚無の可能性あり

HO2参加できない時間が長くある

HO4設定だけ渡され放置気味

HO5同卓がNPC狂だと辛い

魔法使いとサギーコード

HO2

魔術師たちのトロイメライ

HO3

身裂館

HO4楽観主義

MOON GIFTED/ムーンギフテッド

HO2HO4救いがない

HO3虚無だがNPCは強い

NPC劇場

ムーンエラーアウトサイダー

全員虚無、HO3特に薄い

HO3贔屓?HO2以外虚無

HO2が一番虚無?

HO4も虚無

HO2情報が集まるが蚊帳の外

MANIKISS

色欲強欲

怠惰も虚無より

魔法少女は死を唄え

HO3HO4

密室パスト

NPC中心

秘匿の意味もあまりない

野狗子と薬師

野狗子

爛爛

HO2

リアビ

HO4

Ry-06

火力バランスが悪い

リバースリバースリバース

HO1

HO2もやや虚無

ルベライトジャム

HO4

レゾンデートル

NPC中心

HO1

R∈D

HO3HO4

レプリカ

HO3

六畳半の夏

HO2

ロトカ・ヴォルテラの愛堕討ち

HO極道微妙

落語家も楽しくはない

渡る世間殺人鬼ばかり

NPC劇場

わらう鬼

HO3HO4

嗤う人間

自由度のないサンドバッグ役あり

Permalink |記事への反応(1) | 13:19

このエントリーをはてなブックマークに追加ツイートシェア

2024-12-12

メガドライブ知識ゼロの超初心者がなにか開発をしてみる日記 6

あとワークエリアは流石にu8 buf[16]; とかしておいて

「(s16)(((s16*)buf)+0) は x で…+2 は y で…」なんてやってられないので

(snip)

とかで this = (HOGE)buf; してから this->x とか this->y とか にしたらだいぶ見た目がふつうになったンゴ!

(わかる人ならこれで大丈夫だと思うけど)いくらなんでも説明が雑すぎたので集合知のためにもう少し詳しく残しておきますね。

typedefstruct {Map *map;    s16 x, y;    s16 n, c;    s16 w, h;} TH_REGISTER_MAP, *TH_LPREGISTER_MAP;u8 g_pThisRegister[16];void thDemo_WallpaperInit(void){/*    s16 *reg = (s16*)g_pThisRegister;    *(reg + 0) = 0;    *(reg + 1) = 0;    *(reg + 2) = 256;    *(reg + 3) = 160;**/    TH_LPREGISTER_MAP reg = (TH_LPREGISTER_MAP)g_pThisRegister;    reg->map = g_pMaps[1];    reg-> x =0;    reg-> y =0;    reg-> w =256;    reg-> h =160;}void thDemo_WallpaperMain(void){/*Map *map = g_pMaps[1];    TH_LPREGISTER_S16 reg = (TH_LPREGISTER_S16)g_pThisRegister;    *(reg + 0) = *(reg + 0) + 1;    *(reg + 1) = *(reg + 1) + 1;MAP_scrollTo(map, ((*(reg + 0)) % (*(reg + 2))), ((*(reg + 1)) % (*(reg + 3))));**/    TH_LPREGISTER_MAP reg = (TH_LPREGISTER_MAP)g_pThisRegister;    reg->x++;    reg->y++;MAP_scrollTo(reg->map, (reg->x) % (reg->w), (reg->y) % (reg->h));}

プログラマーじゃないと意味不明から詳しく書く必要はなかったかもしれないけどどうかな?

Permalink |記事への反応(0) | 12:04

このエントリーをはてなブックマークに追加ツイートシェア

2024-04-10

anond:20240410000658

件のブコメスターを付けてしまった者の一人です。

あなた様のおっしゃる通りに、法律で人の自由を縛ることにはもっと慎重であるべきだと猛省いたしました。

よってこの謝意土下座にて表現させていただきます

単なる土下座に留まらず、中国より古来から伝わる「三跪九叩頭の礼」を致します。

なお、冗長記述を避けるためにJava記述させていただきます

public class SanGuiKiuKouTou{

    public staticvoidmain (String[] args){

        for(int i=1; i<=3; i++) {

            System.out.println("跪");

            for(int j=1; j<=3; j++) {

                System.out.println(j + "叩頭");

                System.out.println("起");

            }

            System.out.println("起立");

        }

    }

}

以上を持ちまして、「三跪九叩頭の礼」とさせて頂きます

御清聴の程有難く存じます

Permalink |記事への反応(0) | 00:29

このエントリーをはてなブックマークに追加ツイートシェア

2024-04-06

Closeyour head

Closeyour eyes…」「Closeyour head…
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: Closeyour eyes... Closeyour head...
say, whatyousaw.you can see with mind.
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: Isaw...darkness. My mind's eyeis avoid, devoid of sight.
i canlightyou.
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;:Light me then.
&lt;*click*&gt; ilightyounow. then, whatyou see?you can see with mind.
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: I see a dimlylit room.Shadows danceon the walls,and afaint, eerieglow permeates the space.
Shadow of what?
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: Theshadows seem totake form, twisting and contorting into strange, indistinct shapes.It'sas if they are the embodiment of forgottenfears and hidden desires.
Doyou haveanyideawhois showingit?
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: I have noidea.The source of theseshadows remains hidden, shrouded in mystery and intrigue.
OK, let's leave the mysterious and scaryshadow behind. What else canyou see in this room?
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: In this dimlylit room, I canmakeout a clutteredassortment of objects. There's an old, tattered book lyingopenon a dustytable,itspages filled with arcane symbols. A moth-eaten rugcovers a portion of the floor,and a crackedmirrorhangsonone wall, reflectingdistorted images. Theair carries a musty scent, and Isense anatmosphere of abandonment and neglect.
You pickbook and checkit
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: Ireachout and pick up the oldbook.Itspagesfeel brittle andfragile in my hands.As Iflip throughthe pages, thetext appears to be written in a language I can't comprehend, filled with cryptic symbols and diagrams.It's a tome of secrets, butits meaning remains elusive.
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: I examinethe cover of thebook,trying to discernany details despite the dimlight.The coveris worn and weathered, andit bears an intricate design of what appears to be a coiled serpent,its scales formed from shimmering, iridescentcolors. Above the serpent, there's atitle in elegantscript, butit's written in a language I can't decipher. Thebook exudes anaura of mystiqueand ancient knowledge.
Is there a place togo? What about the door?
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: I turn myattention to the room'sexit, the door.It stands tall and imposing,made of heavy, dark wood. There's a tarnished doorknob, and the door appears to be slightly ajar, revealing a sliver of whatliesbeyond.It beckons me to explore further, promising unknown adventures or perhaps evenmore mysteries.
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: I approach the door and grasp the tarnished doorknob. With a gentlepush, the door creaksopen, revealing a corridor shrouded inshadows.The faintglow from the room behind me barely penetratesthe darkness ahead. Istep cautiously into the corridor, ready to uncover the secrets thatliebeyond.
foward.
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: I proceed forward down theshadowy corridor, my footsteps echoingfaintly in the dimness. Thepath ahead seemsendless, and theair grows cooleras I delve deeper into the unknown, guidedonlyby the flickeringlight behind me and the anticipation of what awaits.
foward andlook around
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: Continuing down the corridor, Itake amoment tolook around. The walls are lined with faded, tattered tapestries depicting scenes of ancientbattles and mythical creatures. The torch sconces thatonce held flames have long since burnedout, leavingonlyemptybrackets. Theairfeels heavy withhistory, and there's afaint, eerie whispering that seems to emanate from the walls themselves,as if they hold secrets untold.
keepgoing untilyou discoversomething
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: I presson, the corridor seeminglyendless. Myjourneyis shrouded in uncertainty, but I persist, drivenby theneed to discover whatlies ahead. Theshadows deepen, and theair grows colderas Icontinue, mycuriosity anddetermination unwavering.
stop!youhere that?
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: I halt in my tracks, straining my ears to listen. There's afaint, distant sound, almostlike a whisper carriedon the wind.It's indistinct, butit holds a mysterious allure, beckoning me to investigate further.
listen carefully
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: I listen intently, mysensessharpenedas Ifocuson the elusive sound.It becomes clearer, a hauntingmelody that seems to weave through the veryairitself.It's both captivating and eerie, drawing mecloser toits source with each hauntingnote.
who play that?
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;:The source of the hauntingmelody remains elusive, hidden in theshadows.It'sas ifthe music emanates from the very walls, anethereal presence that defies explanation. Thereis no visiblemusician, yetthe musiccontinues to fill the corridor, casting a spell of enchantment and mystery.
Head tothe source of the sound and investigate (dice roll)
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: I heed the roll of thedice and embarkon a quest totracethe source of the hauntingmelody. Eachsteptakes mecloser to the enchanting sound,and as I round acorner in the corridor, I come upon a door, slightly ajar, from whichthe music seems to emanate. Myheart races with anticipationas Ipush the dooropen, eager to unveil the secrets thatlie within.
Whenyouopen the door, there...
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: When Iopen the door, there stands a grand chamber bathed in an otherworldlyglow. In the center of the room, an ornate grandpiano commandsattention. The keysmove on their own, playing the hauntingmelody that had drawn mehere. But there's nooneat thepiano.The roomis adorned with opulent tapestries and gildedmirrors, reflecting the surreal scene before me. Candlelit chandeliershang from the ceiling, casting a warm, flickeringlight that dances across the walls. Theairis filled with an intoxicating fragrance, amix of ancient incense and delicateflowers.Atthe far end of the room, a figure cloaked inshadows stands beside an enormous, antiquebookshelf filledwith tomes of forgotten knowledge. Their presenceisenigmatic, and their intentions remain unclear.
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: I approach the grandpiano,its keysstill playing the hauntingmelody.As I inspectit, I notice that there are no visible hands or fingers touching the keys.It'sas if thepianoitselfis possessedby some unseen force, creatingthe music with anethereal touch.Thepianois amasterpiece of craftsmanship, adorned with intricate carvings and inlaid withprecious gemstones.Its keys aremade of polishedivory, and theymove in perfectharmonywith the haunting tune.It's a surreal and mesmerizing sight, leaving me both entranced and bewildered.
Be careful,it might be aman-eatingpiano.
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: I heed the cautionand approach the grandpiano with caution. Althoughit playsonits own, I remain wary ofits mysteriousnature. Thepossibility of aman-eatingpiano lingers in my mind, adding an extra layer of tension to the already surreal scene.
thepiano suddenly stops
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: The abrupt halt of thepiano'smusic sends a shiver down my spine. The chamber falls into an eerie silence, brokenonlyby the flickering candlelight.It'sas if the very essence of the room holdsitsbreath, waiting for what comesnext.
Youfeeldisgusted and turn around. What happened?
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;:As I turn around, awave of revulsionwashesover me. Mysenses reel indisgustat the sight before me. The figure that had been cloaked inshadowshasnow revealeditself, anditis a grotesque, nightmarish entity.Its formis atwistedamalgamation ofhuman andbeast, with grotesque, elongated limbsand a maw ofsharp, jagged teeth.Theonce opulent chamberhas transformed into a nightmarish lair, with walls adorned inmacabreart and gruesome trophies. Theairis thickwith the stench of decay and despair. Iam trapped in a surreal and horrifying nightmare, unable toescape the clutches of this abomination.
it scary. whatwillyou do?
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;:Fear courses through meas I confront this nightmarish entity andits gruesome lair. In this realm ofhorrors, I mustmake a decision. I choose to... confront the entity, mycuriosity anddeterminationoutweighing myfear,as I seek to uncover the mysteries and secrets thatlie within thistwisted nightmare.
how?
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;:With trembling resolve, Itake astep forward,slowly approaching the grotesque entity. Iattempt to communicate withit,askingit whatitwants orwhyithas brought mehere. Myvoice quivers, but mydetermination to unravel theenigma that surrounds this nightmarish realm remains steadfast.
any result?
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: The grotesque entity regards me with malevolent,glowingeyes,its jagged maw twitching with an unsettlingsmile.It responds with a guttural, incomprehensible language, filled withwhispers andhisses.It becomes apparent thatcommunicationwith this entityis futile, andits intentions remain shrouded indarkness.As Icontinue to stand before this nightmarishbeing, Ifeel a growingsense of dread, realizing thatescapemay be theonly option left.
surely. whatwillyou do?
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: With nohope ofcommunication or understanding, and the nightmarish entity's menacing presence growingmore oppressive, I decide tomake ahasty retreat. I turn andrush toward the door through which I entered, drivenby the instinct toescapethe horrors of this surreal nightmare.
Diditgo well? Or Bad?
ChatGPT
&lt;rotating_light ALPHABREAKrotating_light&gt;: Myescape from the nightmarish realmwas fraughtwith tension andfear, but Imanaged toreach the door andslamit shut behind me. The grotesque entity andits horrifying lair were left behind,at leastfor the moment. Whetherit went well or badis a matter of perspective. I survived the encounter, but the mysteries and terrors of that surreal placestill haunt my thoughts.The experiencewas a chilling reminder of the unknown andthe horrors that can lurk withinit.
look around

https://anond.hatelabo.jp/20240403160610#

Permalink |記事への反応(0) | 11:21

このエントリーをはてなブックマークに追加ツイートシェア

2024-01-18

見出し

見出し


小見出し
  1. list
  2. list
    1. list
    2. list
  • list
  • list
    • list
    • list

https://google.com

publicstaticvoidmain

おぼえられん

Permalink |記事への反応(0) | 05:35

このエントリーをはてなブックマークに追加ツイートシェア

2023-12-13

anond:20231213233423

私は直接ウェブ検索を行うことはできませんが、あなた自身で関連するキーワード検索エンジンを使用することができます。以下は、検索する際に使えるキーワードの例です:

"cloud smoke vortexart"

"mysterious swirling cloud illustration"

"smoke entering vortex centrallight"

"fantasy cloud swirl center"

"artistic representation of smoke entering centralvoid in clouds"

これらのキーワード使用して検索すると、あなた表現しようとしているイメージに近いアートイラストが見つかる可能性があります画像検索結果から目的に合ったものを見つけることができるでしょう。

Permalink |記事への反応(0) | 23:36

このエントリーをはてなブックマークに追加ツイートシェア

2023-11-09

anond:20231109154053

おまえは日下部陽一ことvoidか。

Permalink |記事への反応(0) | 15:44

このエントリーをはてなブックマークに追加ツイートシェア

2023-09-19

anond:20230919113228

横じゃが、こんな感じでいいんかね?ChatGPTじゃなくてBing先生だが同じ事やろ

わいの問:

今週の水曜日の日付を出力するJavaコードを教えてください。

Bing先生の答え:(色々細かい解説をしてくれたが省略)

importjava.time.LocalDate;importjava.time.DayOfWeek;importjava.time.format.DateTimeFormatter;public classMain {  public staticvoidmain(String[] args) {    //現在の日付を取得    LocalDatetoday = LocalDate.now();    // 今週の水曜日の日付を取得    LocalDate wednesday =today.with(DayOfWeek.WEDNESDAY);    // 日付をフォーマットして出力    DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy年MMdd日");    System.out.println(wednesday.format(formatter));  }}

(動かしてはないけど、まあパッと見でおかしい所は無さそうやし、動くやろ。。。)

Permalink |記事への反応(1) | 11:50

このエントリーをはてなブックマークに追加ツイートシェア

anond:20230919114042

もうこのやりとりの時点でダメやん?

ダメじゃねえよ。要件を正確に記述できないならコードなんて書けるわけない。

空気読んでいい感じに読み取ってよというのを求めてるなら、仕様書すら書けないダメプログラマーってことだろ。

コンピューターの中では数字で日付は管理されててそれはJavaでは日付のオブジェクトとして表されるんだけど、「今週=現在の週の水曜日」を表すオブジェクトが欲しい

やったぞ

Javaの日付オブジェクトとして「今週の水曜日」を表すオブジェクトを返す関数を示してください。

java.timeパッケージの LocalDateクラスや TemporalAdjustersクラス使用して、「今週の水曜日」の日付オブジェクトを取得できます

以下のコードは、現在の日付に基づいて今週の水曜日の LocalDateオブジェクトを返すJava関数です。

importjava.time.DayOfWeek;

importjava.time.LocalDate;

importjava.time.temporal.TemporalAdjusters;

public classMain {

public staticvoidmain(String[] args) {

System.out.println(getThisWeeksWednesday());

}

public static LocalDate getThisWeeksWednesday() {

LocalDatetoday = LocalDate.now();

returntoday.with(TemporalAdjusters.nextOrSame(DayOfWeek.WEDNESDAY));

}

}

この関数現在の日付を取得し、それを TemporalAdjusters.nextOrSame(DayOfWeek.WEDNESDAY)メソッドに渡して、今週の水曜日の日付を取得します。今日水曜日である場合、それが返されます。それ以外の場合は、次の水曜日の日付が返されます

今日が週内のどの日であったとしても(木曜日金曜日であったとしても)その週の水曜日を表すオブジェクトを返す関数を示してください。

それには、今週の最初の日を求め、そこから水曜日までの日数を加算するアプローチ使用します。以下のコードでは、週の最初の日を月曜日仮定しています

importjava.time.DayOfWeek;

importjava.time.LocalDate;

importjava.time.temporal.TemporalAdjusters;

public classMain {

public staticvoidmain(String[] args) {

System.out.println(getThisWeeksWednesday());

}

public static LocalDate getThisWeeksWednesday() {

LocalDatetoday = LocalDate.now();

LocalDatemonday =today.with(TemporalAdjusters.previousOrSame(DayOfWeek.MONDAY));

returnmonday.plusDays(2);

}

}

このコードは、まず今日の日付を取得し、それから TemporalAdjusters.previousOrSame(DayOfWeek.MONDAY)メソッド使用して今週の月曜日の日付を取得します。そして、月曜日から2日後の日付(水曜日)を取得するために plusDays(2)メソッド使用します。

Permalink |記事への反応(3) | 11:50

このエントリーをはてなブックマークに追加ツイートシェア

2023-07-20

VOID通ったいま、ちょっと前にVOIDのHO2とHO4は人間そっくりな見た目のアンドロイドで来るべきだしあまりにも人間離れしてメカメカしい見た目はKPが止めるべきって言ってやや燃えてたふせったー思い出したなあ。

 

通過した今はその意見ちょっと分かるんだけど未通過ではそんなの分かるわけないし、KPだってぴくるーの仮置きイラストでオッケー出したら当日全然メカで来た、とかもありえるだろうし難しいなあ。金出して立ち絵依頼してきてたり、時間かけて自分で描いてたりするだろうし、そこでいやだめですピクルーの絵でやってください、とは言えない。

VOIDってなんか近未来のかっこいい戦闘できる有名シナリオ!と思ってあなたアンドロイドですって言われたらそりゃあ『ぼくのかんがえたさいきょうのあんどろいど』作ってきちゃうよなあ。

 

いやまあシナリオ説明では人間と遜色ない見た目って言われてるしそこをはりきってメカにする方もする方だけど。

Permalink |記事への反応(0) | 14:04

このエントリーをはてなブックマークに追加ツイートシェア

2023-06-17

から法律憲法文字通り読むことに意味はないんだっつーの

法律憲法文はソースコードみたいなもんで文字通り読むこと意味ないんだっつーの。判例と一緒に解釈器に通して日常語へ直す必要があるんだっつーの。voidmainprintf文を読み上げたところで実際にどう機能するかはわからないんだっつーの。img2imgのようなAIが出てきたようにtext2textする必要があるんだっつーの。はよ国はこの解釈器に相当するAIを開発すべき

Permalink |記事への反応(1) | 15:48

このエントリーをはてなブックマークに追加ツイートシェア

2023-06-12

anond:20230612095813

メールメイル

voidの再来や…

Permalink |記事への反応(0) | 16:51

このエントリーをはてなブックマークに追加ツイートシェア

2023-04-01

漏らした直後は本当に冷静だったが、色んなことが身に染みて分かった時れば、不安が押し寄せてきた。赤信号が点滅し始めた時には、とりあえず会社と自宅からほぼ無闇に離れ、雨を頼りに電車が遅れる度に不安をかかえて、恐怖と羞恥どん底家路に着いた。これからどうなるのout of no order: audio,voiddeathlineon theblue twi

AnondAI作成

Permalink |記事への反応(0) | 11:07

このエントリーをはてなブックマークに追加ツイートシェア

2023-02-25

ChatGPTに架空ヘヴィメタバンドアルバムを考えてもらった

バンド名: Shadowrealm

アルバムタイトル: Apocalypse Chronicles

説明: このアルバムは、終末、死生観地獄など、深いテーマに基づいた曲で構成されています。"Apocalypse Chronicles"は、世界が滅亡に向かう物語表現しており、バンド名の"Shadowrealm"は、深く謎めいた世界観を表現しています

トラックリスト:

“Apocalypse RisesAgain"

この曲は、人類の終末時について歌っています悲惨な状況にある人々が、最後希望として再び希望を見つけ、力を取り戻すために戦う物語です。

"Divine Retribution Unleashed"

神の怒りが地上に降り注ぎ、人間たちは絶望に陥ります。この曲は、神の正義と償いについて歌っています

"Hellfire'sEternal Embrace"

地獄の火が全てを焼き尽くす世界表現しています。曲の中では、この火に包まれた者たちが、激しい苦痛に耐えながら、絶望とともに永遠に生きることを歌っています

"Battlecry of the Immortals"

不死の戦士たちが集い、戦いの準備を始めます。曲の中では、彼らが魔法と剣で敵を倒し、最終的に勝利を手にする姿が描かれています

"Shadows in the Afterlife"

死後の世界で待ち受ける謎めいた影たちが、死者を誘惑していきます。この曲は、死生観について考えるきっかけを与えるような深い世界観が表現されています

"Necromancer's Spellbinding Reign"

黒魔術を使う霊能者支配する世界を描いた曲です。彼の魔法によって、死者たちが蘇り、地上に畏怖の念を与えます

"Legion ofthe Damned Souls"

地獄に落ちた魂たちが、一つにまとまり軍団を作り出す様子が描かれます。曲の中では、彼らが地上に攻め込み、人々を苦しめる様子が描かれています

"EndlessVoid of Despair"

何もない虚無の世界に取り残された人々が、自分たち存在意義を問いかます。この曲は、生と死、善と悪、そして存在意義についての深い哲学的思考表現されています

Permalink |記事への反応(1) | 21:09

このエントリーをはてなブックマークに追加ツイートシェア

2022-10-06

ローグライクデッキ構築ゲーム個人的面白い

Slay the Spire
Across theObelisk
Roguebook
MonsterTrain
Vault of theVoid
Griftlands
Meteorfall: Krumit's Tale
幸運大家
イリス巨人
Dicey Dungeons
OneStep FromEden
クロノアーク
Ratropolis
満月の夜— じょんま (@jonma)September 8, 2022

Permalink |記事への反応(1) | 07:11

このエントリーをはてなブックマークに追加ツイートシェア

2022-10-04

リコリスコイルかいマジでいいところが一つしかないアニメ

あれ見てちょっとでも面白いと思った人とはもう会話できる気がしないんだよな。

一口で腐ったリンゴなのが分かるぐらいの駄作だと思う。

もう構成がどうとかストーリーがどうとかじゃなくて

カットカット全てがダメというかマジで何も伝わってこないというか

これ絶対何も言いたいことない人拘りとかなんもない人が中核になって作ってる。

それがもう全体に現れてるので1クールどころか初回1話全部どころか

1話の序盤3分ぐらいで見るに耐えなくてオエッとなる。

不味いというより味がなんもしない。

薄め過ぎたジュース飲まされてるような感じ。

勿論ちゃんと全部見て理屈っぽく一個一個ダメ説明しようとしたら出来るけど

そこまでする元気もわかないというかそこまでする値打ちが無いというか。

からわかってほしいんだけど

作品のどこかが思想的に気に入らないとかそういう内容のある嫌悪アンチ感情じゃなくて

単純にこれ薄めたジュースだろって意味でこんなもんがテレビで流れてるのが信じられないんだよな。

かにキャラデザは今風で線もきれい作画もいい”風”だ。

でも俺が見た限り作画がいいところなんか一個もない。

https://www.youtube.com/watch?v=A6UVAzUM-uo

たまたまつべで出てきた後半の方の切り抜きで見せ場のアクションだと思うけどすげーだろこれ。

どういう奴がレイアウト切ってるんだ。クリエイティブってナニ?って聞きたくなる。

上手いとか下手とか言うより虚無を感じる。なんなんだこれ?なんなんだこれ?

これ百合とか言ってる奴もほんとに百合が好きなのか?

百合どころかメイン2人に限らず全てのキャラの会話や感情がなんも無いように俺には見えるが。) 

こんなに本当の意味で虚ろというかnullというかvoidというか

こんなもん見て何も感じないのか?異様さを感じないのか?

「変な味がする」どころじゃねーぞこれは。わからないのか?

これがクソアニメを超えたnullアニメなのがパッと見てわからない人はもう本当に同じ人類な気がしないんだよな。

一体アニメのどこを見て面白いつまんないを判断してるんだ?

EDの曲はいいと思う。

Permalink |記事への反応(7) | 23:50

このエントリーをはてなブックマークに追加ツイートシェア

2022-08-18

俺はみずほと同じぐらいのコードしか書けないのに気が付いた

話題ホットエントリ問題、解いてみた。

結論タイトルの通り

不正解score += 0; と書いているのは静的解析がelse節を省略すると指摘してくるから

何もしていない、はそのとおり。

不等号がいい具合に化けてるのでそのままにしておく。

importjava.util.*;public classMain {    public staticvoidmain(String[] args) {        //入力parse       (中略:int numに問題の数、String list[i][] に問題リストを格納している)        // 採点        intpoint = 0;        for (int i = 0; i &lt; num; i++) {String question = list[i][0];Stringanswer   = list[i][1];                        if (question.equals(answer)) {                // 完全一point += 2;            } else {                if (question.length() ==answer.length()) {                    //文字数は等しい(部分点の可能性がある)point += scoring(question,answer);                                    } else {                    //不正解point += 0;                }                            }        }        System.out.println(point);    }    // 長さが同じ文字列を採点する    // 長さが違う文字列を受け渡したときは正しく動作しない    private static int scoring(String question,Stringanswer) {        int length = question.length();        intscore  = 2;        for (int i = 0; i &lt; length; i++) {          (中略:文字が違うたびにscoreを-1して、socreが0以下になったらそのままreturn)        }        returnscore;    }}

Permalink |記事への反応(0) | 22:13

このエントリーをはてなブックマークに追加ツイートシェア

次の25件>
ログインユーザー登録
ようこそ ゲスト さん
Copyright (C) 2001-2025 hatena. All Rights Reserved.

[8]ページ先頭

©2009-2025 Movatter.jp