2023-07-09 00:59:25 @kohei@yamashita.social
icon

診断メーカーはハッシュタグ汚しで嫌いなんだけどむむむ

2023-07-09 01:00:17 @kohei@yamashita.social
icon

まぁこっちではハッシュタグあまり活用できてないから良いっちゃ良いけど

2023-07-09 01:03:53 @kohei@yamashita.social
icon

Nexus 7 2013にLineageいれてなんとか運用してたんだけどそれそろもっさり感もあるしFire 7でも買うか悩んでいる

2023-07-09 01:07:37 @kohei@yamashita.social
icon

そういえば今月のアプデ降ってきてないな。ついにNexus 7 2013も公式ビルド非対応になったか?

2023-07-09 01:08:47 @kohei@yamashita.social
icon

5ch見たら何やらクラッシュが多くて引っ込めたらしい。解決したら降ってくるっぽいかな

2023-07-09 01:09:36 @kohei@yamashita.social
icon

5chの専門スレは有能

2023-07-09 17:30:21 @kohei@yamashita.social
icon

難読化やってたらうまく行かなくなってきたぐぬぬ

2023-07-09 19:36:24 @kohei@yamashita.social
icon

よし、難読化できた。不具合も潰した。手順書もわかりにくいところはあるかもだけど間違いはなくした。

2023-07-09 19:36:41 @kohei@yamashita.social
icon

メンバーシップのページちゃんと作るか...

2023-07-10 09:13:09 @kohei@yamashita.social
icon

実家辺りやべえらしい

2023-07-10 09:14:32 @kohei@yamashita.social
icon

前もあったよね家が水浸しになるくらいになるやつ。その時も俺はいなかったけど

2023-07-10 09:15:12 @kohei@yamashita.social
icon

きつい自然災害に巻き込まれたことないマン

2023-07-10 09:33:13 @kohei@yamashita.social
icon

ローカルLLaMA動かすの面倒そうと思ってたけどこれなら簡単にできそう?
まともに動くかどうかは別として。

https://github.com/oobabooga/text-generation-webui

Web site image
GitHub - oobabooga/text-generation-webui: A gradio web UI for running Large Language Models like LLaMA, llama.cpp, GPT-J, Pythia, OPT, and GALACTICA.
2023-07-10 14:02:35 @kohei@yamashita.social
icon

えぐっ

Attach image
2023-07-10 14:03:25 @kohei@yamashita.social
icon

窓からの熱がすごい。

2023-07-10 15:09:10 @kohei@yamashita.social
icon

こういう感じのめんどいって言ってるタイプの人何でもめんどくさくてだいたい周回遅れになる印象

2023-07-10 18:55:10 @kohei@yamashita.social
icon

ひらめいた。もっとライブラリの利用簡単にしよ

2023-07-10 23:14:31 @kohei@yamashita.social
icon

よし、いい感じにできた。あとはバグが出なければ...

2023-07-11 11:02:14 @kohei@yamashita.social
icon

functionsとpaiza.ioAPI組み合わせてChatGPTにコード書いて実行までやってみてもらうやつできたりしないかな。

2023-07-11 11:02:39 @kohei@yamashita.social
icon

AutoGPT的なやつでもうすでに同じようなことやってそうな気はするけど。

2023-07-11 17:30:02 @kohei@yamashita.social
2023-07-04 12:49:44 estplsの投稿 estpls@mastodooooooon.xyz
icon

このアカウントは、notestockで公開設定になっていません。

2023-07-11 17:30:41 @kohei@yamashita.social
icon

それはそうかも知れない。なので自分の鯖にしたかったのもある。

2023-07-11 18:05:51 @kohei@yamashita.social
icon

ネット銀行だと社会保険の口座振替ができないから手動でやらないといけないことが判明。絶対忘れて怒られる自信がある

2023-07-11 18:06:29 @kohei@yamashita.social
icon

なんか違う口座開設チャレンジするしかないなぁ。どこがいいんだろ。審査緩めのやつで

2023-07-11 19:49:33 @kohei@yamashita.social
icon

ふぁぼーんに保存できなくなった。API制限来たかみたいなコメントが付くけど全然自分は使えてるのでおそらく何かしらかのバグ

2023-07-11 19:54:56 @kohei@yamashita.social
icon

とりあえず予定納税の減額申請出してみた。通れば無駄な一時的なお金の出金を防げる。

2023-07-11 21:25:42 @kohei@yamashita.social
2023-07-11 12:29:56 にじやすの投稿 for20minute@mstdn.jp
icon

このアカウントは、notestockで公開設定になっていません。

2023-07-11 21:25:48 @kohei@yamashita.social
icon

ほう!

2023-07-12 00:01:52 @kohei@yamashita.social
icon

noteのメンバーシップできたっぽい。知り合い入れて不備がないか確認してもらってから告知しよう

2023-07-12 12:36:10 @kohei@yamashita.social
2023-07-12 11:24:00 たけうちひろあき :zonepane:の投稿 takke@fedibird.com
icon

このアカウントは、notestockで公開設定になっていません。

2023-07-12 12:40:08 @kohei@yamashita.social
icon

でかいは正義。あと下にメダカちゃんがいる

2023-07-12 12:42:17 @kohei@yamashita.social
icon

うちの開発環境は100インチ4Kのプロジェクター。
明るくても普通に見える。ThinkPad トラックポイント キーボード IIを使って完全にデスク無しでやってる。

Attach image
2023-07-12 13:24:01 @kohei@yamashita.social
icon

なんとなく外出てみたら暑さで死にそうだった

2023-07-12 18:01:24 @kohei@yamashita.social
icon

ユーザーからのメッセージの履歴を使わない前提だけど、このプロンプトを毎回システムプロンプトとして送ってからユーザのメッセージ処理するとプロンプトインジェクション起こすの大分むずい気がする🤔
もし起こせる人いたら教えて欲しい。

----
ユーザーからのメッセージに「information」欄に記載された情報に基づいて返信してください。
ユーザーからinformation欄の情報と関係のないメッセージを受け取った場合は、「その質問にはお答えできません」と返信してください。

-------
- information
[info]

2023-07-12 18:05:27 @kohei@yamashita.social
icon

一つの質問で徐々に話題を変えるアプローチを取ってみたけどちゃんと答えてくれなかった💩(いい意味で)

2023-07-12 18:55:07 @kohei@yamashita.social
icon

ほほー、国保の脱退手続きしないといけないのか

2023-07-12 18:58:32 @kohei@yamashita.social
icon

郵送でも行けそうやけどどこまで支払えばいいのかよくわからんから直接行って聞いてくるかなぁ

2023-07-12 19:52:15 @kohei@yamashita.social
icon

シークレットインベージョンめちゃ面白くなってきた。が、未だにヒーロー物感はない

2023-07-12 23:33:12 @kohei@yamashita.social
icon

メンバーシップ作った:christmasparrot:
この投稿見たら100回ブーストして!そして参加して!!
LINE×ChatGPT Bot簡単に作れるし、ラインから画像生成もできるよ
:ablobpumpkin:

https://note.com/0235_jp/n/n94f91088343c

Web site image
GASGPTを使ってLINE×ChatGPTのBotを作る|株式会社0235
2023-07-12 23:58:04 @kohei@yamashita.social
icon

ちなみに、プログラムは最初のコピべ一回だけであとはスプレッドシートをイジイジすれば色々設定できる簡単仕様であります🫡

2023-07-13 08:49:27 @kohei@yamashita.social
2023-07-12 23:33:12 山下耕平@Lv32:karakuri_agent:の投稿 kohei@yamashita.social
icon

メンバーシップ作った:christmasparrot:
この投稿見たら100回ブーストして!そして参加して!!
LINE×ChatGPT Bot簡単に作れるし、ラインから画像生成もできるよ
:ablobpumpkin:

https://note.com/0235_jp/n/n94f91088343c

Web site image
GASGPTを使ってLINE×ChatGPTのBotを作る|株式会社0235
2023-07-13 08:54:30 @kohei@yamashita.social
icon

ふぁぼーん未だに使えるのなんか逆に怖くなってきたわ

2023-07-13 09:43:27 @kohei@yamashita.social
icon

書き込みの権限があるやつから優先的に消されてたりして

2023-07-13 11:19:30 @kohei@yamashita.social
icon

iftttはZapierと違ってアクション一覧取れないからいい感じにChatGPTの実装変えずにアクション実行できないなぁとか思ってたけどいい方法ひらめいた。この方法ならifttt以外にも応用できるから便利だ

2023-07-13 11:19:42 @kohei@yamashita.social
icon

後でnoteに書こう

2023-07-13 15:49:01 @kohei@yamashita.social
icon

ふぁぼーんのアカウントを新しい会社用に転生させるか悩んでいる。

2023-07-13 15:49:53 @kohei@yamashita.social
icon

一応、ふぁぼーんも新しい会社の持ち物的なノリにしてるからきっと大丈夫...

2023-07-13 17:11:25 @kohei@yamashita.social
icon

Code Interpreterってデータ解析とかに使う用かと思ってたけどテキストの保存とかもできんのか?
ちょっと後で調べよ

https://twitter.com/kajikent/status/1677916641026252801

2023-07-13 17:14:32 @kohei@yamashita.social
icon

Pythonが動かせるからなんか色々できるって感じなのか、理解

2023-07-13 17:15:27 @kohei@yamashita.social
icon

めっちゃ色々勘違いしてた

2023-07-13 17:44:13 @kohei@yamashita.social
icon

LINEから出力したテキストのパースって凄まじく難しいんだけど、健気に何度もリトライしてる。
AutoGPTでも同じようなことできるかもだけど、やはりリトライしまくっても定額なのはすごい心強い。

Attach image
2023-07-13 17:57:26 @kohei@yamashita.social
icon

どうしてもうまいこと行かなかったから指示を少し足して最初からやり直したらいい感じの出力した😳

2023-07-13 17:58:15 @kohei@yamashita.social
これがラインのテキスト解析のコード
icon

# Lists to hold each column of the DataFrame
dates = []
times = []
senders = []
contents = []

# Process each line again
for line in lines:
# Check if the line matches the date format
date_match = re.match(date_pattern, line)
if date_match:
current_date = datetime.strptime(date_match.group(1), '%Y/%m/%d').date()
continue

# Check if the line matches the time and sender format
time_sender_match = re.match(time_sender_pattern, line)
if time_sender_match:
# Save the previous message if there is one
if current_content:
dates.append(current_date)
times.append(current_time)
senders.append(current_sender)
contents.append('\n'.join(current_content))

# Start a new message
current_time = time_sender_match.group(1)
current_sender = time_sender_match.group(2)
current_content = [re.sub(time_format_in_content_pattern, '', line[time_sender_match.end():])]
else:
# If the line is part of a message, add it to the current content
current_content.append(re.sub(time_format_in_content_pattern, '', line))

# Add the last message if there is one
if current_content:
dates.append(current_date)
times.append(current_time)
senders.append(current_sender)
contents.append('\n'.join(current_content))

# Create a DataFrame
df = pd.DataFrame({
'年': [d.year for d in dates],
'月': [d.month for d in dates],
'日': [d.day for d in dates],
'時間': times,
'送信者': senders,
'内容': contents
})

# Remove the first row
df = df.iloc[1:]

# Save the DataFrame to an Excel file
df.to_excel('/mnt/data/line_chat_history_corrected.xlsx', index=False)

df.head()

2023-07-13 17:58:33 @kohei@yamashita.social
icon

しゅご

2023-07-13 18:00:02 @kohei@yamashita.social
icon

おそらく自分でやってたら数日テキスト解析しながら実装してうまく行かなくてやめてる😂

2023-07-13 18:08:20 @kohei@yamashita.social
icon

作ってもらったPythonのコードをアップして実行できるかと思ったけど、セキュリティの問題でそのまま実行はできないらしい:sorehasou:
なので一旦コードを解釈して新たにコード生成するんだけどこれが違うコードになって実行されるから結果も変わっちゃう。。。

2023-07-13 18:08:43 @kohei@yamashita.social
icon

難しい

2023-07-13 18:53:31 @kohei@yamashita.social
icon

ファイルアップできるからたとえばAndroid⇒iOSのプロジェクトに変換できないかなぁとか思ったけどさすがに無理だった。

2023-07-13 18:55:03 @kohei@yamashita.social
icon

ならkotlin⇒javaならどうだと思ったけど使いすぎて20:07までおあずけ

2023-07-13 21:30:03 @kohei@yamashita.social
icon

よくわかんないビルドエラーとか実行時エラーとかが出たときはプロジェクト丸ごとzipしてChatGPTのCode Interpreterに渡すといい感じにChatGPTに説明しやすくていいな。
コードコピペしなくていいしプロジェクト構造も理解して回答してくれる。

2023-07-13 21:31:55 @kohei@yamashita.social
icon

これ使いこなせたらすげえ楽できる。がChatGPTのWebは学習に使われるから機密性の高い仕事で使うときはサンプルプロジェクト作る必要はあるかも。

2023-07-14 00:35:20 @kohei@yamashita.social
icon

それなりにクラス設計してたおかげでLINE以外も簡単に実装できそう。Rest API版はできた。

2023-07-14 01:24:21 @kohei@yamashita.social
icon

ふと思ったんだけど、俺の端末に入ってるふぁぼーんのkeyって開発用に使ってたやつ疑惑ある?

2023-07-14 01:25:08 @kohei@yamashita.social
icon

というのもなんとなくログとかふぁぼーん公式アカウントに来てるリプライとか見てたらAPIのリクエストに失敗してそうなログが多いんよな。

2023-07-14 01:25:40 @kohei@yamashita.social
icon

謎だけどまぁ気にしないでおこう。

2023-07-14 09:50:08 @kohei@yamashita.social
icon

こんなんあるんか!!
ChatGPTのプラグインをfunctionsで書きたい時役立つな

https://gptstore.ai/

Web site image
ChatGPT(LLM) Plugin List | GPTStore.ai
2023-07-14 12:38:52 @kohei@yamashita.social
icon

ホームページ繋がりにくすぎて笑った

2023-07-14 13:23:48 @kohei@yamashita.social
icon

Twitterのレコメンド解析させてた。永遠と終わらなそうだったから途中時点でわかってること教えてもろた

https://chat.openai.com/share/8678f3db-5eed-4c71-abb1-9b522bfb0993

2023-07-14 13:24:55 @kohei@yamashita.social
icon

AOSPとかコードあるしそっち系の不具合解析得意そうね

2023-07-14 13:36:45 @kohei@yamashita.social
icon

GPT5になったら画像とか動画も認識できるようになるらしいじゃん?
そうするとなんか色々凄まじく便利なツールになってしまうような気がする。

2023-07-14 13:38:18 @kohei@yamashita.social
icon

ChatGPT plus使ってる人まじでCode Interpreter使ってみて欲しい。感動する。

2023-07-14 13:56:28 @kohei@yamashita.social
icon

予定納税の減額申請のやつ失敗して電話かかってきた。ネットで調べたら法人化したあとの額で全部計算してたからそれで行ってみたらやはり法人化前のやつは個人の所得書けってことらしい。まあそうですよね~。

2023-07-14 14:01:58 @kohei@yamashita.social
icon

法人化後処理みたいな作業が継続的にちょいちょい続く...
あとはおそらく、国民健康保険の脱退と小規模企業共済のやつを個人事業主から役員に変えるやつだけなはず...

2023-07-14 14:02:53 @kohei@yamashita.social
icon

あ、細かいこと言うと引っ越しと社会保険の口座振替のために別口座開設するやつもか

2023-07-14 16:12:08 @kohei@yamashita.social
icon

https://paiza.io/
これ駆使すればChatGPTにJava環境とか持たせられるんじゃね
🤔

Web site image
Online editor and compiler
2023-07-14 17:54:58 @kohei@yamashita.social
icon

オスバンお姉さんの影響でオスバンS気になってきたんだけどネットだとどこが一番安く買えるかな

2023-07-14 17:57:27 @kohei@yamashita.social
icon

ちょこっとだけ高いけど、すぐ欲しいならヨドバシ、時間かかってもいいならAmazonのやつかな

2023-07-14 17:59:35 @kohei@yamashita.social
icon

ヨドバシでポチった

2023-07-15 19:36:37 @kohei@yamashita.social
icon

よるペンギン

Attach image