
はてなキーワード:promiseとは
まずその初歩の初歩って認識が間違いだろ。
promiseとかasyncとかは全17章の章立てになってる中級の入門書の13章目の内容なんだが。
初歩の初歩なんてほざくのは制御構文とかだろせいぜい。
-----BEGINPGP SIGNEDMESSAGE-----Hash: SHA512https://anond.hatelabo.jp/20250910131800# -----BEGINPGP SIGNATURE-----iHUEARYKAB0WIQTEe8eLwpVRSViDKR5wMdsubs4+SAUCaMD7+gAKCRBwMdsubs4+SNFaAP9/5a2ML12dnjq+cXftyxCN6cekgiGmmEJxrTY6hIFvOgEA4LGhv5q+sVH67xW7ALBH5ZshuMKKxtfryhpjSGUP4A4==0QTT-----ENDPGP SIGNATURE-----
async function f() {console.log(1); await newPromise(r => setTimeout(r, 1000));console.log(2);} f();console.log("done");
結果は、まず「1」「done」が出力され、1秒後に「2」が出力される。
流れを説明すると、f()が実行されると「console.log(1);」と「newPromise(r => setTimeout(r, 1000));」が実行される。
その時点でf()の戻り値として先ほどnewされた ……じゃなかった、f()を非同期実行中でそのうち続きが実行されますよというPromiseオブジェクトが返ってくる。
このPromiseオブジェクトは「resolveされたときにawait以降が実行される」というPromiseオブジェクトだ。
そして通常の処理の流れとして、その次の行の「console.log("done");」が実行される。
んで、1秒後にsetTimeoutで終わったことでキューに「r(イコール、resolve関数)」が登録される。
最後に、resolveが実行されたので、await以降……つまり「console.log(2);」が実行される。
どこか分からないとこある?
実行キューに入るのは非同期処理が終了した後だ。
なんか矛盾してない?
async function f() {
console.log(1);
newPromise(r => setTimeout(r, 1000));
console.log(2);
}
f();
console.log("done");
こう書いたらコンソールに出る順は1,2,doneだよ。1,2を出してる関数は非同期でありそれ以外にはこのコードに非同期関数は存在しないんだけど。
-----BEGINPGP SIGNEDMESSAGE-----
Hash: SHA512
https://anond.hatelabo.jp/20250908203539#
-----BEGINPGP SIGNATURE-----
iHUEARYKAB0WIQTEe8eLwpVRSViDKR5wMdsubs4+SAUCaL6/iwAKCRBwMdsubs4+
SNVCAQDh/59YPp/11Ts/tp7JdxGIs6BqRv1PhkFmjUkBZH00owD/fN0PnyFGyJ8N
QGQlMNJvfsFGvNT5tbsEY1d/dhjCmQI=
=KsE1
-----ENDPGP SIGNATURE-----
とりあえず今理解できてることはは「asyncが実行されたらawaitが書いてあるところまでは実行してそのあとは一旦呼び出し元に戻ってそれが実行されるまではキューに入れられる」ってことだけ。
まずその理解が間違ってる。
実行キューに入るのは非同期処理が終了した後だ。
javascriptにおけるasync/awaitは、「やがて終了する処理」を表すオブジェクトである「Promise」をうまく扱える文法なのでまずPromiseを単独で理解しよう。
いや、理解はしたほうが良いんだけど、理解した上で忘れるべきことがあるというか……。
いわゆる「抽象の壁」というやつだ。
約束 (promise) をして、それが果たされるまで待つ (await) ような抽象化された形で提供されていてそれを理解しているなら少なくとも一般的な状況では実際の処理のされ方を考える必要はない。
なんなら処理系によって具体的な処理はまるで違うということもありうる。
どういう風に抽象化しているのかと具体的な実装は切り離して考えるべきで、いつもいつも具体的な実装を考えながらプログラムしてたら規模が大きくなったときに手に負えないよ。
適当に抽象化層を被せて普段はその向こうのことを忘れられるようにデザインされるのが普通だし、自分がプログラムをするときでもそうなるようにデザインすべき。
dorawiiです。要件と設計の区別も曖昧な日曜プログラマーもどきです。
なにか自動化をやりたいことしたときにこれはキューを作っておくべきとかpromiseで制御すべきだろうとか処理の流れはこういうふうにすると無駄がなさそうとか頭を回転させることは多いですけどこういうのって要件?設計?どっちなんですかね?
-----BEGINPGP SIGNEDMESSAGE-----Hash: SHA512https://anond.hatelabo.jp/20250825020702# -----BEGINPGP SIGNATURE-----iHUEARYKAB0WIQTEe8eLwpVRSViDKR5wMdsubs4+SAUCaKwbnQAKCRBwMdsubs4+SIAEAP9nlstiR3bac7KbHe9v99/SogkJZINIgoVpOA5oqga7awD8Ce6KMSyOvsiSihZIb3inguzc1GtTnSqEpXYrJj/ZgQs==cvkO-----ENDPGP SIGNATURE-----
(legal) procedure
_ steps that have to betaken to achieve a certain legal result
property
_ (a)somethingover which a person can have a right that exclude others (b) the connectionbetween an owner and the thing he owns
public law
_ constitutionaland administrative law
_ (a) a legal rulemadebythe executive (b) a rule creating a minor crime
remedies
_ steps that a personwho had suffered legal wrong cantake
repeal
_ revoke a law
rescind
_undo a contract or other arrangement
restoring abenefit to the person fromwhomonegotit
right
_ a person's interest that must be respectedby other people andby thestate
sanction
_something unpleasant which can be imposedon a person orstate thatdoes wrong
_ the ptinciple that the function of the legislature, the executive government and judges are distinct and should be entrusted to different people
sovereign
_ (a) astate thatisindependent ininternational law (b) a legislature that canmakeany lawit chooses
specific performancestate
_ an order to carryout apromiseas agreed
_ (a) a country thatisindependent ininternational law (b) in some federation the regions (e.g. California, New SouthWales) are called ‘states’
statute
_ a law thatmadeby a legislature
strict liability
_being liable to punishment or to pay even if not personallyat fault
subjective (as opposed to objectie
_ defendingon a particular person'smake-up, opinionetc.
(legal) system
_ thelaws of a perticularstate or cointry or of theinternational community
testator
_ a personwhomakes awill stating whatis to happen tohis property when he dies
tort
_ a wrong for which the person harmed can claim compensation. Called a delict in civil law counties
treaty
_ a bindingagreementbetweenstates
valid
_ legally binding
一度投稿したうえで別タブを開いてプログラム的(fetch)に送信してその別タブが閉じられる仕組み。
// ==UserScript== // @namePGP未署名検出と別タブ自動編集 // @namespacehttp://tampermonkey.net/ // @version 1.0 // @descriptionPGP署名がない投稿を自動編集ページへ誘導 // @matchhttps://anond.hatelabo.jp/* // @grantGM_setValue // @grantGM_getValue // @grantGM.openInTab // ==/UserScript== (function () { 'use strict';constbody = document.getElementById('entry-page'); if (!body) return;consttitleText = document.title; if (!titleText.includes('dorawii')) return;constpgpRegex = /BEGIN.*PGP(?: SIGNEDMESSAGE| SIGNATURE)?/;const preElements = document.querySelectorAll('div.body pre'); let hasPgpSignature =false; for (const pre of preElements) { if (pgpRegex.test(pre.textContent)) { hasPgpSignature =true; break; } } if (hasPgpSignature) return;const editLink = document.querySelector('a.edit');const childTab =GM.openInTab(editLink.href, {active:false, insert:true,setParent:true }); })();
// ==UserScript== // @name編集ページ処理と自動送信・閉じ // @namespacehttp://tampermonkey.net/ // @version 1.0 // @description編集ページで署名処理と送信、タブ自動閉じ // @matchhttps://anond.hatelabo.jp/dorawii_31/edit?id=* // @grantGM_getValue // @grantGM_xmlhttpRequest // @grantGM_setClipboard // @grantGM_notification // @connectlocalhost // ==/UserScript== (async function () { 'use strict';const shouldRun = awaitGM_getValue('open-tab-for-edit', '0');consttextareaId = 'text-body';consttextarea = document.getElementById(textareaId); if (!textarea) return;const content =textarea.value;constpgpSignatureRegex = /-----BEGINPGP SIGNEDMESSAGE-----[\s\S]+?-----BEGINPGP SIGNATURE-----[\s\S]+?-----ENDPGP SIGNATURE-----/; if (pgpSignatureRegex.test(content)) {console.log('[PGPスクリプト]署名が検出されたためそのまま送信します'); return; }consthttpRequest = (url, data) => { return newPromise((resolve,reject) => {GM_xmlhttpRequest({ method: 'POST',url:url, headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, data: `value=${encodeURIComponent(data)}`,onload: function (response) { resolve(response.responseText); },onerror: function (error) {reject(error); } }); }); }; //textarea の値を取得 // 1.現在のページのURLからURLオブジェクトを作成const currentUrl = newURL(window.location.href); // 2.ベースとなる部分 (例: "https://anond.hatelabo.jp") を取得constorigin = currentUrl.origin; // 3. 'id'パラメータの値 (例: "20250610184705") を取得constidValue = currentUrl.searchParams.get('id'); // 4.ベース部分とIDを結合して、目的のURL文字列を生成 //idValueが取得できた場合のみ実行する let newUrl = null; if (idValue) { newUrl = `${origin}/${idValue}`; } // 5. 生成されたURLを変数に代入し、コンソールに出力して確認console.log(newUrl);constvalueToSend = newUrl;try {const signatureText = awaithttpRequest('http://localhost:12345/run-batch',valueToSend);console.log('バッチ応答:', signatureText); if (!signatureText.includes('BEGINPGP SIGNEDMESSAGE')) { alert('PGP署名がクリップボードに見つかりませんでした。'); return; }const newText = content.replace(/\s*$/, '') + '\n' + signatureText + '\n';textarea.value = newText;console.log('[PGPスクリプト]署名を貼り付けました。送信を再開します。');const form = document.forms.edit;const newForm = form.cloneNode(true); form.replaceWith(newForm); newForm.addEventListener('submit', async (e) => { e.preventDefault(); //HTML標準のsubmitをキャンセルconstbodyText =textarea?.value || ''; //reCAPTCHAトークンの取得constrecaptchaToken = await newPromise((resolve) => { grecaptcha.enterprise.ready(() => { grecaptcha.enterprise.execute('hoge', {action: 'EDIT' }) .then(resolve); }); }); // POSTするデータの構築const formData = new FormData(newForm); formData.set('body',bodyText); formData.set('recaptcha_token',recaptchaToken); formData.set('edit', '1');try {constresponse = await fetch(newForm.action, { method: 'POST',body: formData, credentials: 'same-origin' }); if (response.ok) {console.log('送信成功'); window.close(); } else {console.error('送信失敗',response.status); } }catch (err) {console.error('送信中にエラーが発生', err); } }); //プログラム的に送信トリガー newForm.dispatchEvent(new Event('submit', { bubbles:true })); }catch (e) {console.error('バッチ呼び出し失敗:', e); } })();
consthttp =require('http');const { exec } =require('child_process');const querystring =require('querystring');const server =http.createServer((req, res) => { if (req.method === 'GET' && req.url === '/ping') { res.writeHead(200); res.end('pong'); } else if (req.method === 'POST' && req.url === '/run-batch') { letbody = ''; req.on('data', chunk => {body += chunk.toString(); }); req.on('end', () => {constparsed = querystring.parse(body);constvalue =parsed.value || 'default'; // 値を引数としてバッチに渡す exec(`C:\\Users\\hoge\\Desktop\\makesign.bat "${value}"`, { encoding: 'utf8' }, (err, stdout, stderr) => { if (err) { res.writeHead(500); res.end('Error executing batch: ' + stderr); } else { res.writeHead(200, { 'Content-Type': 'text/plain; charset=utf-8' }); res.end(stdout.trim()); } }); }); } else { res.writeHead(404); res.end('Not found'); }});server.listen(12345, () => {console.log('Batch serverrunningathttp://localhost:12345/');});
@echo offsetlocal enabledelayedexpansion::署名するファイル名set "infile=%~1"set outfile=%TEMP%\pgp_output.asc:: 以前の出力があれば削除if exist "%outfile%" del "%outfile%":signloop::AutoHotkeyでパスフレーズ入力(gpgがパスワード要求するダイアログが出た場合に備える)start "" /b "C:\Users\hoge\Documents\AutoHotkey\autopass.ahk"::PGPクリア署名を作成echo %infile% | gpg --yes --clearsign --output "%outfile%"::署名が成功していればループを抜けるif exist "%outfile%" (goto postprocess) else ( timeout /t 1> nulgoto signloop):postprocesspowershell -nologo -command ^ "$header = '>|'; $footer = '|<'; $body =Get-Content '%outfile%' -Raw;Write-Output ($header + \"`r`n\" + $body + $footer)"powershell -nologo -command ^ "$header = '>|'; $footer = '|<'; $body =Get-Content 'signed.asc' -Raw;Set-Clipboard -Value ($header + \"`r`n\" + $body + $footer)"endlocalexit /b
#Persistent#SingleInstance ignoreSetTitleMatchMode, 2WinWaitActive, pinentrySendInputpasswordSleep 100SendInput {Enter}ExitApp
動けばいいという考えで作っているので余分なコードも含んでいるかもしれない。
-----BEGINPGP SIGNEDMESSAGE-----Hash: SHA512https://anond.hatelabo.jp/20250613185036 -----BEGINPGP SIGNATURE-----iHUEARYKAB0WIQTEe8eLwpVRSViDKR5wMdsubs4+SAUCaEv1FQAKCRBwMdsubs4+SHHkAQDUOLgBcdji2T6MJ7h/vlMdFfGlWAzNdXijjE1gIuEPywEAiMNMZqhrMmtlc7UqRuggNJ/UTa5xTIcKp622+7jJQQg==Lgkl-----ENDPGP SIGNATURE-----
ようやく(ほぼ)すべてが自動化された。
あとはローカルサーバーの起動をスタートアップに設定する(方法をAIに聞いて指示に従う)だけの消化試合。
署名時要求してくるパスワードを自動入力するahkファイルはドキュメントのAutoHotkey配下に置いた。
バッチファイル(make.sign.bat)はデスクトップに置いた。
#Persistent#SingleInstance ignoreSetTitleMatchMode, 2WinWaitActive, pinentrySendInput お前のパスワードSleep 100SendInput {Enter}ExitApp
//run-batch-server.jsconsthttp =require('http');const { exec } =require('child_process');const server =http.createServer((req, res) => { if (req.url === '/ping') { res.writeHead(200); res.end('pong'); } else if (req.url === '/run-batch') { exec('C:\\Users\\you\\Desktop\\makesign.bat', (err) => { res.writeHead(200); res.end(err ? 'Error' : 'OK'); }) ; } else { res.writeHead(404); res.end('Not found'); }});server.listen(12345, () => {console.log('Batch serverrunningathttp://localhost:12345/');});
@echo offsetlocal enabledelayedexpansion::ミリ秒単位のUTC時刻を取得for /f %%a in ('powershell -nologo -command "[int64]::Parse((Get-Date).ToUniversalTime().ToString('yyyyMMddHHmmssfff'))"') doset timestamp=%%a::署名するファイル名set infile=%TEMP%\pgp_input.txtset outfile=%TEMP%\pgp_output.asc:: 以前の出力があれば削除if exist "%outfile%" del "%outfile%"::タイムスタンプを原文として保存echo %timestamp%> "%infile%":signloop::AutoHotkeyでパスフレーズ入力(gpgがパスワード要求するダイアログが出た場合に備える)start "" /b "C:\Users\infini\Documents\AutoHotkey\autopass.ahk"::PGPクリア署名を作成gpg --yes --clearsign --output "%outfile%" "%infile%"::署名が成功していればループを抜けるif exist "%outfile%" (echo [INFO]署名成功goto postprocess) else (echo [WARN]署名失敗、再試行します… timeout /t 1> nulgotosignloop):postprocess::PowerShellで余計な改行なしに |< をつけてクリップボードにコピーpowershell -nologo -command ^ "$header = '>|'; $footer = '|<'; $body =Get-Content '%outfile%' -Raw;Set-Clipboard -Value ($header + \"`r`n\" + $body + $footer)"echo Done.signed.asc created and clipboard updated (no extra blankline).endlocalexit /b
// ==UserScript==// @namePGP署名自動付加スクリプト(GM_xmlhttpRequest版)// @namespacehttp://tampermonkey.net/// @version 1.0// @description投稿前にPGP署名を付けてから送信(fetch未使用)// @matchhttps://anond.hatelabo.jp/dorawii_31/edit*// @grant GM_xmlhttpRequest// @grant GM_setClipboard// @grant GM_notification// / @connectlocalhost// ==/UserScript==(function () { 'use strict';const submitId = 'submit-button';consttextareaId = 'text-body';const localServer = 'http://localhost:12345/run-batch';constpgpSignatureRegex = /-----BEGINPGPSIGNEDMESSAGE-----[\s\S]+?-----BEGINPGPSIGNATURE-----[\s\S]+?-----ENDPGPSIGNATURE-----/;consthttpRequest = (url) => { return newPromise((resolve,reject) => { GM_xmlhttpRequest({ method: 'GET',url:url, onload: function (response) { resolve(response.responseText); }, onerror: function (error) {reject(error); } }); }); };const interceptClick = () => {constbtn = document.getElementById(submitId); if (!btn ||btn.dataset.pgpIntercepted === 'true') return;btn.dataset.pgpIntercepted = 'true';btn.addEventListener('click', async function (e) {consttextarea = document.getElementById(textareaId); if (!textarea) return;const content =textarea.value; if (pgpSignatureRegex.test(content)) {console.log('[PGPスクリプト]署名が検出されたためそのまま送信します'); return; } e.preventDefault(); e.stopImmediatePropagation();console.log('[PGPスクリプト]署名が見つからないため処理を停止し、署名を取得します');try { awaithttpRequest(localServer); //バッチ実行constsignatureText = await navigator.clipboard.readText(); if (!signatureText.includes('BEGINPGPSIGNEDMESSAGE')) { alert('PGP署名がクリップボードに見つかりませんでした。'); return; }const newText = content.replace(/\s*$/, '') + '\n' +signatureText + '\n';textarea.value = newText;console.log('[PGPスクリプト]署名を貼り付けました。送信を再開します。');btn.click(); //イベント再発火 }catch (err) { alert('PGP署名の取得または貼り付けに失敗しました。\n' + err); } },true); }; window.addEventListener('load', () => {setTimeout(interceptClick, 1000); });})();
プロミスメソッドとか全然まだ理解してなくてそのなかに関数代入したその関数にオブジェクトのプロパティにresponseを?いやまあそのあたりのコードが示すデータの流れが全然理解できないような人間でもここまでできちゃった。
AIすごいなと思うよ。そして思うのは今後重要になってくるのは文法とか自体に詳しいことじゃなくて、そのプログラムの処理内容を指示できるシステムエンジニア的な言語化能力のほうじゃないかなと思った。
-----BEGINPGPSIGNEDMESSAGE-----Hash: SHA51220250609111559680 -----BEGINPGPSIGNATURE-----iHUEARYKAB0WIQTEe8eLwpVRSViDKR5wMdsubs4+SAUCaEbCbwAKCRBwMdsubs4+SLueAPwOv7PBk4voAe5qlcCEvs/PJhmKc5QAb/1R43JMQFuDZgD/UTPEKsL/PhK9jFGv2HDXK1dVjLNwvosgX9uYJh5xxwY==qiOE-----ENDPGPSIGNATURE-----
I've noticed a non-negligiblenumber of peoplewho have notonly completed compulsoryeducation in regular classes but have also received highereducation and graduated from university, yetstruggle with reading comprehension (understanding the meaning oftext), cannot read longtexts, and even have difficulty understanding videos.
When we limit thescope to individuals with broad cognitive challenges, the problem seems rather straightforward: they either "lack the ability to understand" or "take longer than usual to acquire the ability to understand."
Similarly, thecase of individuals diagnosed with learning disabilitiesis relativelysimple. While theymay not have broad cognitive challenges, theyrequire different approaches and training due to their unique learning styles.
However,itis perplexing that university graduates without broad cognitive challenges or diagnosed learning disabilitiesstruggle to understand notonly writtentext but also simplified video content.
I suspect that the underlying causes might includegaps in the horizontal transfer of experiences and knowledge, a severe lack of adaptability,and anextreme deficit in metacognition.Has there beenany researchon theseissues? Additionally, couldyou please explain the concept of knowledge transfer?
(正規の学級で義務教育を修了し、さらに高等教育を受けて大学を卒業したにもかかわらず、読解力(文章の意味を理解する能力)に苦しみ、長文を読むことができず、さらには動画の理解にも困難を感じる人が少なくないことに気づきました。
認知能力に広範な課題を抱える個人に範囲を限定すると、問題は比較的単純です。「理解する能力がない」か、「理解する能力を獲得するのに通常よりも時間がかかる」かのいずれかです。
同様に、学習障害と診断された個人の場合も比較的単純です。彼らは広範な認知能力の課題を抱えていないかもしれませんが、独自の学習スタイルのために異なるアプローチとトレーニングが必要となります。
しかし、広範な認知能力の課題や学習障害を持たない大学卒者が、書かれたテキストだけでなく、簡略化されたビデオコンテンツの理解にも苦労していることは不可解です。
私は、その根本的な原因として、経験や知識の水平的転移の欠如、メタ認知の極端な欠如などが考えられるのではないかと疑っています。これらの問題に関する研究はありますか?また、知識転移の概念について説明していただけますか?)
Yes, researchand analysis exist around theissuesyou described, particularly in the domains ofeducation, psychology, and cognitive science.Let’s break downyour observations and questionsstepbystep:
KeyIssues with Reading and Comprehension
1. Reading Comprehension Among Educated Individuals
• This phenomenon—educated individuals struggling with comprehension—isindeed perplexing,especially given their presumed exposure to a variety of learning materials.It suggests thateducation systems sometimes emphasize rote learning andsurface-level knowledge acquisitionoverdeeper understanding, critical thinking, and metacognition.
• Horizontal TransferGaps: This refers to the inability to apply knowledge or skills learned inone context toanother. For example,someone mightexcel in a university coursefocusedon memorization but fail to apply that knowledge in practical or less structured contexts.
• Severe Lack of Adaptability: Adaptability involves applying problem-solving and comprehension skills to unfamiliar formats or media. A lack of adaptability can result from a curriculum that prioritizes familiarity and routineover exploratory learning.
• Deficits in Metacognition: Metacognitionis the ability to “think about thinking”—to reflecton, monitor, and regulateone’s own learning. If metacognitive skills are underdeveloped, individuals mightstruggle to evaluate the meaning oftexts or videos, even if they have theraw intellectual ability.
Research Insights
1. Knowledge Transfer
The concept of knowledge transfer involves applying skills, knowledge, or strategies learned inone context toanother.Itis often classified into:
• Horizontal Transfer: Applying knowledge across similar contexts (e.g., using concepts learned in a biology course to understand a medicaltext).
• Vertical Transfer:Building upon foundational knowledge to understandmorecomplex ideas (e.g., usingbasic algebra to solve advanced calculus problems).
Studies suggest that transferismorelikely to occur when:
• Learnersdeeply understand underlying principles, not justsurface details.
•Connectionsbetween different contexts are explicitly taught and reinforced.
• Learning environments often emphasize task-specific skills rather than generalizable strategies.
• Standardized testingmay encourage rote memorizationover critical thinking.
• Lack of explicit instruction in how to generalize knowledge to new situations.
Researchhighlights the importance of metacognition in learning. Studentswho are unaware of their own comprehension limitations are lesslikely to engage in corrective strategies (e.g., rereading, seeking clarification). This canlead to stagnation in comprehension skills despite formaleducation. Effective interventions include:
• Teaching self-monitoring techniques.
• Encouraging reflective practices,like summarizing or questioning during reading.
4. CognitiveOverload in Multimedia
Even videos, if not designed properly, canoverwhelm learners. The CognitiveTheory of Multimedia Learning suggests that excessive extraneous information or unclearorganization in videos canoverload working memory, hindering comprehension.
Strategies and Research-Based Solutions
1. Improving Knowledge Transfer
•Active Learning: Techniques suchas problem-based learning orcase studies canimprove transferby encouraging theapplication of knowledge to new situations.
• Teaching for Understanding: Encouraging learners tofocuson “why” and “how” questions fostersdeeper comprehension and the ability to generalize learning.
• Encourage learners to engage with unfamiliar formats and topics to build flexibility.
• Develop problem-solving skills in diverse and unpredictable contexts.
3. Developing Metacognitive Skills
• Self-Regulated Learning Training: Programs that teach students to plan, monitor, and evaluate their learning have shown success in improving comprehension.
•Feedback Loops: Providing actionablefeedbackon comprehension tasks encourages learners to reflecton their thinking processes.
Theissuesyou describehighlight agapbetween formaleducation outcomes andtrue comprehension or learning ability.Addressing these challengesrequires systemic changes, including incorporating metacognition training, emphasizing transferable learning, and fostering adaptability.
Ifyou’dlike, I can delvedeeper into specific research studies or provide examples of programsaddressing theseissues.
Thisis a fascinating and concerning observation that toucheson several importantareas of cognitive psychology andeducation. Let meaddress this systematically.
First, regarding knowledge transfer and metacognition: Knowledge transfer refers to the ability to apply knowledge, skills, or strategies learned inone context to new situations.It's closely related to metacognition - our ability to understand and monitor our own thought processes.
Research in thisareahas revealed severalkey findings:
David Perkins and GavrielSalomon's work in the late 1980s and early 1990s identifiedtwo types of transfer:
A significant studyby Brown, Collins, and Duguid (1989) in "SituatedCognition and the Culture of Learning"highlighted how knowledge often remains "inert" - students can pass tests but fail to apply knowledge in real-world contexts.
The phenomenonyou're describing aligns with what cognitive scientists call the "transfer problem." Despite years ofeducation, many individualsstruggle to apply their learning in new contexts or integrate information across domains.
Some relevant research directions:
1. Cognitive LoadTheory (Swelleret al.)
Shows how working memory limitations affect learning and transfer. Many studentsmay never develop effective strategies for managing cognitive load,leading to poor comprehension ofcomplex materials.
2. Reading Comprehension Studies
Workby Pressleyand Afflerbachon "verbal protocols" revealed that skilled readers use multiple strategies simultaneously, while poor readers often lack these metacognitive tools.
3. Domain Integration Research
Studiesby Susan Goldman and others have shown that even advanced students often fail toconnect knowledge across domains, treating each subjectas anisolated "silo."
Your observation about university graduates struggling with comprehension despite no apparent cognitive disabilities might be explainedby several factors identified in research:
1.Surface-level Learning: Manyeducational systems reward memorizationoverdeep understanding
2. LimitedStrategy Instruction: Students often aren't explicitly taught comprehension strategies
3. Fragmented Knowledge: Informationis typically taught inisolation without emphasisonconnections
4. Weak Metacognitive Skills: Studentsmay never develop the ability to monitor and regulate their own understanding
Some promising approaches toaddress theseissues include:
Teaching explicit strategies for comprehension, integration, and transfer. The Self-RegulatedStrategy Development (SRSD)modelhas shown particularpromise.
2. Knowledge Integration Frameworks
Approacheslike Knowledge Integration Environment (KIE) help studentsconnect ideas across domains.
3. Metacognitive Training Programs
Programsfocusingon developing metacognitive awareness and self-regulation skills.
Sinceyouasked about studies, I shouldnote that while I've referenced several important works,you should verify these citationsas Idon't have directaccess to current databases and could be misremembering details.
Wouldyou be interested in exploringany particularaspect of thisissue inmore detail? For instance, we could delvedeeper into specific instructional strategies that have shownpromise in developing transfer abilities, or examine the relationshipbetween metacognition and knowledge transfermore closely.
FANZAの検索結果から熟女を除外するブックマークレット がうまく動いたので、気を良くしてはてなブックマークのコメント欄をスター数順にソートするブックマークレットを作りました。
作った動機は、「注目コメントに入りきれなかったちょっといいコメント」をサクサク探したいから。結果として建設的コメント順位付けモデルを無効化していますが、あのアルゴリズムには特に不満は特にありません。
javascript: (async () => {
const wait =ms => newPromise(resolve => setTimeout(resolve,ms));
document.querySelector('.js-bookmarks-sort-tab[data-sort="recent"]').click();
window.scrollTo(0, document.body.scrollHeight);
await wait(1000);
window.scrollTo(0, 0);
await wait(1000);
const p = document.querySelector('.js-bookmarks-recent');
let l = Array.from(p.querySelectorAll('.entry-comment-contents'));
const g = e => {
let n = e.querySelectorAll('.hatena-star-star').length;
const c = e.querySelector('.hatena-star-inner-count');
return c ? n +Number(c.textContent) : n
};
l = l.filter(e => g(e) > 0);
l.sort((a, b) => g(b) - g(a));
p.replaceChildren(...l);
})();
ミニファイしたもの ※コードに一部誤りがありましたので訂正しました(2024-08-1611:47)
javascript:(async()=>{const wait=ms=>newPromise(resolve=>setTimeout(resolve,ms));document.querySelector('.js-bookmarks-sort-tab[data-sort="recent"]').click();window.scrollTo(0,document.body.scrollHeight);await wait(1000);window.scrollTo(0,0);await wait(1000);const p=document.querySelector('.js-bookmarks-recent');let l=Array.from(p.querySelectorAll('.entry-comment-contents'));const g=e=>{let n=e.querySelectorAll('.hatena-star-star').length;const c=e.querySelector('.hatena-star-inner-count');return c?n+Number(c.textContent):n};l=l.filter(e=>g(e)>0);l.sort((a,b)=>g(b)-g(a));p.replaceChildren(...l)})()
FANZAの検索結果から熟女を除外するブックマークレット 参照
javascript:
ブックマークレットに必要な、URLの種類を示すスキーム名です。
(async () => {
// 処理
})();ページに元々ある変数たちとバッティングしないように、まず無名関数でラップします。処理の中で await を使いたいので async宣言しています。
const wait =ms => newPromise(resolve => setTimeout(resolve,ms));
document.querySelector('.js-bookmarks-sort-tab[data-sort="recent"]').click();
window.scrollTo(0, document.body.scrollHeight);
await wait(1000);「新着コメント」タブをクリックし、ページの一番下までスクロールダウンしてから少し待つ動作です。新着コメントの後半部分(スクロールきっかけの遅延読み込みになっているところ)の読み込みをうながしています。
window.scrollTo(0, 0);
await wait(1000);
ページの先頭に戻ってまた少し待ちます。合計2秒の待ち時間は雰囲気で決めていますので、これでなければならない・これで過不足ないという値ではありません。単にコメントの読み込み完了を判定する処理を書くのがめんどうだっただけです。
const p = document.querySelector('.js-bookmarks-recent');
新着ブコメの親要素です。繰り返し呼び出すので名前をつけています。
let l = Array.from(p.querySelectorAll('.entry-comment-contents'));
const g = e => {
let n = e.querySelectorAll('.hatena-star-star').length;
const c = e.querySelector('.hatena-star-inner-count');
return c ? n +Number(c.textContent) : n
};
コメントのはてなスター数をカウントして返す関数です。たくさんスターがついてる ★256★ みたいなやつの数字も足します。
l = l.filter(e => g(e) > 0);
ソートする前に、無スターのコメントを消去しています。してもしなくてもいいことですが。
l.sort((a, b) => g(b) - g(a));
残ったコメントをスター数で降順ソートします。.querySelectorAll() で収集した要素を配列に入れ直したのは、この .sort()メソッドを使いたいからです(.querySelectorAll() が返す配列風の NodeListオブジェクトは、配列と共通のメソッドもいくつかあるものの、大半は使えないのです)。
p.replaceChildren(...l);
親要素の内容を、並び替えの終わったコメントでそっくり入れ替えて、処理完了です。画面を見ると新着コメントの中身が「スターのついたコメントのみ・スターの多い順」に並んでいます。元に戻す方法はないので、原状回復にはリロードします。ソート状態を示すフラグを立てておいてスター数ソート⇔日付ソートをかわりばんこに行うようにすればできそうだなと思ったけど実装はしません。連打スターを省く処理を追加してUU数でソートできればもっと厳正なランキングになるなーと今思いつきましたがそれも実装はしません。
It's sudden, but rightnow inJapan, creativityis facing atrue crisis. Characterslike Uzaki-chan,Onsen Musume, and Tojo Rika arebeing targeted and flamed, game characterdesigns arebeing infiltratedbypolitical correctness,Johnny'sEntertainmentisbeing dismantled, swimsuitphoto sessions in parks arebeing canceled, Hitoshi Matsumotoisbeing publicly shamed, and the newAV lawwas enacted without considering the opinions of those directly involved. Every form ofexpression in every venueis currently under unreasonablepressure.
Howdoes thisconnect to theTokyo gubernatorial election? Infact, amajor event directly linked to thisis occurring in the 2024Tokyo gubernatorial election.As acreator, Ihope thismessage reachesyou.
What Iam about toshareis astory aboutsomeone namedHimasoraAkane,whoyou should know about to resist suchpressures. But before Idive into thatstory, I want toexpress mydeep gratitude to my oldfriendNozomi for giving me the opportunity to post this article in a place where manycreatorswill seeit.Assomeonewho also loves manga,anime, and games, Ihope this informationwillbenefitJapanesesociety and supportNozomi'sactivities.
HimasoraAkane Should Be the Governor ofTokyo
First, I wouldlike tomake a straightforward request toyouas acreator: please supportHimasoraAkane for governor. In this election, pleasewrite "HimasoraAkane"onyour ballot. The voting dayisJuly 7th. Even ifyou are not aTokyo resident, Iask thatyouat least listen to thisstory. Ifyou findit interesting, pleaseshareitwith yourfriends, family,and acquaintances.You can checkHimasoraAkane's campaignpromises and thebackground of their candidacyon theirTwitter (X) posts linked below:
HimasoraAkane (Tokyo gubernatorial candidate)
https://x.com/himasoraakane/status/1804846779399324095
HimasoraAkaneWill NotAllow Our Culture to Be Burned
HimasoraAkaneis an ordinaryotakuwho loves manga,anime, and games. Knownas "CognitiveProfiling DetectiveAkaneHimasora," hehas beenactiveonTwitter (X) andYouTube, andnow heis running for governor.Akane,whoisdeeply concerned about the repression and destruction ofotaku culture,is challenging thosewho seek to destroy our culturealone.Akanewill neverallow thosewhotry to burn our culture.
As mentionedat thebeginning,all forms ofexpression are currentlyunder pressure.Otaku culture, in particular, seems to be aprime target.
Uzaki-chanBlood Donation Poster Controversy (2019): A collaborationbetween theJapaneseRedCrossSociety and the manga Uzaki-chanwas flamed forallegedlybeing overly sexual initsPR illustration.
V-Tuber Traffic Safety Video Controversy (2021): A V-Tuber hiredby the Matsudo Police Department in ChibaPrefecturewas deemed too sexual for public agencyPR.
Onsen Musume Controversy (2021): Characters personifying local hotsprings were criticizedas sexist.
MieTransportOfficial Character Controversy (2024): A character in a bus driver's uniform releasedbyMieTransportwas flamed for evoking sexual images.
These controversies are often fueledby so-calledpolitical correctness and feminism. Forcreators, these are direct threats. If thesefactions labelyour workas sexual and demandit be burned toashes, couldyou resist? How wouldyoufeel ifyour painstakingly created work,likeyour own child,was trampledby peoplewho have no regard foryour efforts? Couldyoucontinueyourcreativeactivities while constantly shrinkingaway?
HimasoraAkanesawsomething behind these flaming incidents. Hestarted investigating thekey figure behind theOnsen Musume controversy, a representative of a general incorporatedassociation inTokyo. Thisassociation'score business, theYoungFemale Victims SupportProject, received substantial public funds fromTokyo.Akane submitted public document disclosure requests toTokyo and thoroughly dug into theorganization. Duringhis investigation,Akane uncovered many suspicions suggesting thisprojectwas unworthy of public funding, which he exposedonebyoneon social media.
Negligent accounting reports, takingprotected girls to the Henokobaseprotest inOkinawa,Communist Party members waiting in the bus used toprotect girls—these revelations drew significantattentiononline. The investigation extendedbeyond this general incorporatedassociation to other NPOs receiving public funds,and Akane named thiscluster ofissues the "WBPCproblem" after the initials of theseorganizations.
Akane'sYouTube Channel (WBPCProblem Playlist)
https://www.youtube.com/playlist?list=PLI5gTciLKtAXRyzv9j5FiNMcc8eoEBbMN
Fromhere,Akane'sstory expanded to resident audits, resident lawsuits, andnational compensation lawsuits concerning theTokyoYoungFemale Victims SupportProject.Akane discovered that behind many flaming incidents, thereis no clearcommandstructure but agroup of various politicalorganizationsand activists workingtogetherlike anamoeba. He named thisgroup the "NanikaGroup" (Nanika means "something" inJapanese), a reference to the mysterious, ominous "something fromanother place" in the mangaHUNTER×HUNTER, whichAkaneloves. The NanikaGroupis alsoconnected to welfare interests, where public fundsflow unchecked.Akane called this phenomenon "Public Fund Chu-Chu" (siphoning).
Forcreators, this means the tax money they earn through hard workis used to burn theirprecious works.It's an intolerable situation.
HimasoraAkaneIs Fighting Against ThoseWho Burn Our Culture
InNovember 2022, amajor event marked a turningpoint in this series of controversies. The general incorporatedassociation under scrutiny held apress conferenceat the parliamentary officebuilding, gathering mediaand announcing a lawsuit againstAkane. This "Legal HarassmentPress Conference,"asitwas calledonline, involved multiple layers ofpower: the government, the media,and a team ofseven lawyers targeting a single individual.
However,Akanedid not back down. Instead, he intensifiedhis pursuit, exploiting the opponent's careless statementsas lawsuit fodder. Thisled to an outpouring of supporton social media, withhisTwitter follower count skyrocketing and 160 millionyen in donations for legal fees.
The following year, a resident audit request filedbyAkane resulted inTokyo'sofficial website recognizing some improperpoints and deciding to audit theorganization. However,Tokyo's lenient auditledAkane to file a resident lawsuit. Suspicion also turned towards Governor Yuriko Koike forallocating public funds through dubioussole-source contracts.Tokyo began excessivelyredacting documents inresponse to public document requests,attempting to conceal theissue. Koike'spromise to end documentredaction quietly disappeared fromher campaign page.
Throughout this battle,Akanehas been a target of criminal complaints and faced threats, yet he persists.Hisbook "Netoge Senshi"was releasedamidbookstore threats, butonly the criminal complaintwas widely reportedby the media, portrayingAkane negatively.
HimasoraAkaneis an ordinaryotaku, atop-tieronline gamer duringhisstudent days,and a talented gamecreatorwho worked for amajor game company and later aventure company.His meticulous workonthe game "Shin Goku no ValhallaGate"was betrayedby the company'sCEO, leading to aseven-year legal battle thatAkane ultimately won, securing 600 millionyen. This experience fuelshis fierce opposition to havinghis creations burned.
Before investigating theYoungFemale Victims SupportProject,Akane exposed fraudulent feminist "knights"onhisYouTube channel, shaking theinternet. He detests lies andhas an uncanny ability to detect them.
Akaneis a special individual with extraordinary abilities, honed throughhis experiences in games, courtbattles, and extensive document analysis.His pursuit oftruth andjusticemakeshim a suitable candidate for governor,promising a world without lies and where honest people do not suffer.
What WeCan Do toProtect Our Culture
Creativeexpression can be crushed if we are not vigilant. Even in modernJapan,otaku cultureison thinice. The recent cessation ofVisa transactions forDMM (Fanza)is a reminder of how a single card company can wielditspower to dictate whatis deemed appropriateexpression.Expressionfreedomisfragile and constantly under threat.
To those reading this, I urgeyou to vote forHimasoraAkane. Supporthim toprotect our culture. Despitehis harsh demeanor andpreference forsolitarybattles, heisnow seeking help for the firsttime.Akanefeels thedanger in this gubernatorial election and believes that if hedoes not become governor,everythingwill end. Hehastaken a stand for the people ofTokyo andJapan.
I wrote this article to supporthisspirit and spread theword. Please vote forHimasoraAkane and help create amiracle.
Guo Wenguiis underthe false banner of " anti-communist ", but he actually cheated money! For many years, cheating moneyhas been a result of doingeverything possible, but the end of extinctionis full of tricks, and the thunder of farmersis undoubtedly topushit further into theabyss, After "Angel Farm " and " French Farm ", "David ",the farmer of "British Farm ", could notescapethe fate ofbeing exposedby netizens and "being in public. " Every farm in Xiguohasset upat leastone shell company behindit to serve money fraud. Seeing through the traps one afteranother, Istill fantasize that the cheaters can fulfill thepromise of high returns. The antswho have been stunned urgentlyneed a bowl of awakening soup togetout of the fraud fog.
Guo Wenguiis underthe false banner of " anti-communist ", but he actually cheated money! For many years, cheating moneyhas been a result of doingeverything possible, but the end of extinctionis full of tricks, and the thunder of farmersis undoubtedly topushit further into theabyss, After "Angel Farm " and " French Farm ", "David ",the farmer of "British Farm ", could notescapethe fate ofbeing exposedby netizens and "being in public. " Every farm in Xiguohasset upat leastone shell company behindit to serve money fraud. Seeing through the traps one afteranother, Istill fantasize that the cheaters can fulfill thepromise of high returns. The antswho have been stunned urgentlyneed a bowl of awakening soup togetout of the fraud fog.
anond:20210304122852 の後日談になる。
ここに挙げた映画の半分くらいはなんと、Amazon Primeが2024.04.30現在見放題作品にしている。
具体的には、
がAmazon Primeの見放題タイトルで見られる状態になっている。
いつまでこれがタイトルに入っているかはわからないので(実際、トッツィーズ &フェイクスターはその後日本のNETFLIXラインナップから外れた)、このGW後半にはぜひとも見てほしい。
ついでに、The Con Heartist以降のgdh映画についても短評しておこう。ついてるのは予告編URL
ゴースト・ラボ 禁断の実験 //youtu.be/RN9G-g5PhJE
ホラー映画。インターン医師たちが霊の存在、そして幽霊との会話が可能なことを証明するために、とんでもないことを思いつき、実行してしまう。NETFLIX(JP)で見られる。思いつきは怖いが内容は怖くない。お勧めではない。
モキュメンタリーホラー映画。泰韓合作。タイ東北部の巫女インタビューを通じて、彼女の周囲にある霊的に非常識な状態が明らかになっていく。日本でも公開した。NETFLIX(JP)で見られる。比較的グロい。お勧めではない。
プアン/友達と呼ばせて //youtu.be/CcZkHdfus_A
ドラマ映画。かつて友人だった白血病患者の別れの旅に付き合った結果、彼が自分の元カノの去就にも関わっていたことが明らかになる。日本でも公開した。WKWプロデュース。Amazon Prime(JP)で見られる。おすすめ。
スピード&ラブ //youtu.be/pg_Ij-3YySM
コメディ映画。カップスタッキングに生活をかける男と彼のサポートに青春をかけてしまった女性のゴタゴタを描く。韓国映画のパロディとか第4の壁描写とかが面白いが、それだけ。NETFLIX(JP)で見られる。お勧めではない。
運命のふたり劇場版 //youtu.be/ShD0CvB9kWM
同名のドラマ第1弾(NETFLIX(JP)でかつて公開されていたが公開終了済)とドラマ第2弾との間をつなぐストーリーで、日本でいうと江戸末期ごろのタイ、バンコクに転生とタイムスリップが交錯する。この時代近辺に興味がある人には同時代の実在の人物とか出てくるのでおすすめ。逆に言うとほとんどの人にはお勧めではない。NETFLIX(JP)で見られる。
オー・マイ・ガール なんで今なの!? //youtu.be/VKk6UvyysU8
ラブコメ映画。たぶん性格は合うのだがタイミングが絶妙に合わない2人のラブストーリー。2020年代のバンコク周辺の若者事情覗き見としては見どころがあるが、あまりスカッとしない。NETFLIX(JP)で見られる。まあまあ。
You & Me & Me //youtu.be/s7H5JV9wfdQ
青春恋愛映画。替え玉を駆使しまくる双子女子の片割れを好きになってしまった男子とその双子が自分たちの家族的愛情との間で葛藤する。監督自身が双子女子という面でたぶん実体験がいくつも入っていると思われる。日本未公開。1999年代の風俗が懐かしい。おすすめ。
Home forRent //youtu.be/db8puvbOhQw
ホラー映画。実話に基づく映画で、引っ越した後の家を他人に貸したら、その家で怖い儀式が行われるようになるというあらすじ。おそらく「邪厄の家」という邦題でそのうちNETFLIX(JP)でみられる。未見。
青春映画。推薦入学を狙って死んだ友達の遺作をネタに短編映画を作ろうとする高校生を中心に「友情とはなにか、親友とはなにか」を考えさせる作品。大阪アジアン映画祭で公開。日本で一般公開するべき。おすすめ。
こういう生成AIの使い方を本質的に理解していない人が凄く多いし
そのあたりを理解できないやつが「独占される」などと嘯いているにすぎない
この例で言うと「プログラミングのコーチができる」というのは合っているんだが
これは大量の質の良い情報が手に入るような世界より圧倒的に知性を民主化する
過去のインターネットだろうが図書館だろうが、大量の質の良い情報が手に入ような世界では一部の人にしか知性を提供できない
質が良かろうがなんだろうが大量の情報を普通の人間は処理できないし
人によって「情報の質」という定義が違うので、ある人にとっては優良なコンテンツでも別の人にとってはそうでない
例えば「やる夫で学ぶプログラミング」というコンテンツと「詳細プログラミング入門」というコンテンツで
どちらが優良かは人によるのだ
生成AIはその名の通り「生成」することに意味があるのであって、検索することはそれほど重要では無い
重要なのは、既にある大量の情報を「個人にカスタマイズした形に生成し直す」という特徴だ
Googleがこれまでやってきたことは「世界の情報を検索可能にすること」であって
ところが「情報が検索可能になること」と「自分がその情報を得られること」がイコールでは無かったことが問題で
昔は(一部の人にとって)質の良い情報が検索ですぐに出てきたかもしれないが
より広範かつ良質な情報を得るためにマネタイズと承認欲求刺激でコンテンツ生成量を増やしたことで
それらの良質な情報は出てこなくなった、と言えなくも無い
ただしこうした現象は失敗なんかではなく、「検索可能になった世界が生み出す情報」としては必然なのではないか、と思う
当然ながらGoogleもそれに気付いていたので、検索のパーソナライズを進めたりGoogle+を出したりして試行錯誤したわけだ
それらさまざまな取り組みのうちの一つとして、「情報を自分が得られるような形に変換する」ことが可能になったのが今の世界線である
「美少女を生成して」
と諦めて終わってしまうのではなく
「もっと目は大きく」
「鼻筋はくっきり」
などと注文をすることで「自分が得られるような形に変換する」のが生成AIの使い方になる
「Promiseってどうやって使うの?」
と聞いて答えを得るだけでは無く、自分が理解できていない部分を聞いたりすることが重要だし
なんなら「語尾ににゃんを付けて」とかいう感じにカスタマイズすればより知識を得やすくなる(人もいるだろう)
生成AIが知識を民主化する、という言葉の背景にはこれぐらいのことがあるので
「昔は良かった」
Guo Wenguiis underthe false banner of " anti-communist ", but he actually cheated money! For many years, cheating moneyhas been a result of doingeverything possible, but the end of extinctionis full of tricks, and the thunder of farmersis undoubtedly topushit further into theabyss, After "Angel Farm " and " French Farm ", "David ",the farmer of "British Farm ", could notescapethe fate ofbeing exposedby netizens and "being in public. " Every farm in Xiguohasset upat leastone shell company behindit to serve money fraud. Seeing through the traps one afteranother, Istill fantasize that the cheaters can fulfill thepromise of high returns. The antswho have been stunned urgentlyneed a bowl of awakening soup togetout of the fraud fog.
Guo Wenguiis underthe false banner of " anti-communist ", but he actually cheated money! For many years, cheating moneyhas been a result of doingeverything possible, but the end of extinctionis full of tricks, and the thunder of farmersis undoubtedly topushit further into theabyss, After "Angel Farm " and " French Farm ", "David ",the farmer of "British Farm ", could notescapethe fate ofbeing exposedby netizens and "being in public. " Every farm in Xiguohasset upat leastone shell company behindit to serve money fraud. Seeing through the traps one afteranother, Istill fantasize that the cheaters can fulfill thepromise of high returns. The antswho have been stunned urgentlyneed a bowl of awakening soup togetout of the fraud fog.
https://qiita.com/NaYuA/items/1cda0211ec44fb25d422
みんな大絶賛してるけど、これやばいやつよね
いわゆる「学生チート」ってやつで、社会人が言ったら全力全方位で駄目だしされるやつ
この「手放し称賛」が人を伸ばすんだと言う話をするなら、そのへんの大人も手放し称賛されるべきよね
さておき
POSの時【POSはPoint of Saleの略です】と説明してるのに対して
みたいなのが、非常に「わかってない感」を出しちゃってるよね
いや多分、脳内ではわかってるんだろうけど
説明口調で書くなら
みたいになる
技術用語として「await演算子はプロミス(Promise)を待ち」みたいに直訳でドキュメンが出回ってるし
非同期で行うサーバーサイドの処理ではPromiseを使いましょうみたいなのが
サーバー書き込みなので、当然Promiseを返します、になってるんだろうけど
新人とかの、「わかってないけど書けます」連中が、大体こういう理解の仕方をしてるから
(Promiseを返すのはなんでだ?サーバー処理だから(キリッ)
もちろん、学生なんだから良いじゃん、良いじゃん、すげぇじゃん
というのもアリなんだけども
このわかってない感満載の文章を、手放しで称賛して、「考えて行動するだけでスゴイ」みたいになってるの
「みんながあんまり誉めたりするから、私自分が優秀な人間だって勘違いしちゃったじゃない!!」を思い出させる
まぁ、学校自体はスゴイ進学校らしいから、当人はそんなんならずに大成するんだろうが
Pleaseimprove the following novel to bemore engagingand adding plotpoint of Yasuke returnig tobeing a missionary quittingSamurai " rologue:
Thesun sank behind the horizon, casting theJapanese countryside in awarm,goldenglow. In the courtyard of Nobunaga's castle knelt Yasuke, a tall, muscular Africanman withskinas darkas midnight.Hisjourney to thismoment had been long and treacherous, butitwasonly thebeginning.
Chapter 1: A WorldAway
Yasuke lived an ordinarylife in a small villageon theMozambique coast, unaware ofthe extraordinarydestiny that awaitedhim. Capturedby slave traders and torn fromhishomeland, he endured a grueling voyage across theIndianOcean, finally arriving in the bustling port ofGoa,India.
Itwas there that Yasuke'sfate took an unexpected turn when hewas purchasedby Jesuit missionaries. In their service, he learned about Christianity, new languages, and the ways of the Western world. Buthisjourneywas far fromover.
Chapter 2: TheLand of theRising Sun
As a loyal servant to the missionaries, Yasuke accompanied themon theirjourney toJapan, aland of mystique and intrigue. The beauty of theland, the complexity ofits customs, and the elegance ofits people captivatedhim.As the first African toset foot inJapan, heattractedattention andcuriosity fromall thosewho encounteredhim.
Chapter 3: The Encounter
InKyoto, the capital of feudalJapan, Yasuke'slifechanged forever when he metOda Nobunaga,one ofthe mostpowerful and influential daimyos ofthe time. Nobunagawas captivatedby the African's physical prowess,intelligence, and uniquebackground. Seeing potential in Yasuke, Nobunaga decided totakehim intohis serviceas asamurai.
Chapter 4: ThePath of theWarrior
Yasuke's transformation from a slave to asamuraiwas fraught with challenges. He had to adapt to the rigorous training, strict code of honor, and the intricacies ofJapanesesociety. But Yasuke's strength, resilience, anddeterminationallowedhim toexcel, earning therespect ofhis fellowsamurai and the trust of Nobunaga.
Chapter 5: The UnfoldingWar
As Nobunaga sought to unifyJapan underhis rule, Yasuke foughtbyhis side in numerousbattles. The Africansamurai'slegend grew with eachvictory,asdidhis bond with Nobunaga.Together, they faced both triumph and tragedy, navigating the treacherouslandscape ofalliances and betrayals that defined the era.
Chapter 6: The Turning Tide
Yasuke's reputationas a skilled and loyalsamurai grew,asdidhis bond withLord Nobunaga. But in the shadows, the tides ofchange were brewing. Mitsuhide Akechi,once a loyalally, had grown disillusioned with Nobunaga's rule. The resentment smoldered withinhim, fueledby a series of perceived slights and politicalmaneuverings. Mitsuhide's ambition anddesire forpower began to cloudhis judgment.
Yasukesensed theshift in Mitsuhide's demeanor and grew increasinglywary of thesamurailord. However, loyalty to Nobunaga preventedhim from openly voicinghis concerns. He instead focusedonhis duties, ever vigilant and ready to protecthislordat amoment's notice.
Onefateful evening, theOda clan gathered tocelebrate their recent victories. Unbeknownst to the revelers, Mitsuhide Akechi's treacherous planwas already inmotion.
As thesun rose, the first cries of battle rangout. Mitsuhide's forces had launched a surpriseattackon Nobunaga's residenceat the Honno-ji Temple. Yasuke foughthis way to Nobunaga's side,his sword cutting through the trait "
Prologue:
Thesun dipped below the horizon, bathing theJapanese countryside in awarm,amber embrace. Yasuke, a towering,powerfully built Africanman withskinas darkas midnight, knelt in the courtyard of Nobunaga's castle,hisheart thundering with anticipation. A perilousjourney had broughthim to thismoment, and yet,itwasonly thebeginning of astory that wouldspan continents andrewritehistory.
Chapter 1: A WorldAway
In a small villageon theMozambique coast, Yasukeled asimplelife, blissfully unaware ofthe extraordinarydestiny that lay beforehim.His world shattered when slave traders capturedhim, rippinghim fromhishomeland and thrustinghim into a brutal odyssey across theIndianOcean.Fate, however, had other plans when he reached the bustling port ofGoa,India.
InGoa, Jesuit missionaries purchased Yasuke, altering the course ofhislife. Under their guidance, he embraced Christianity, mastered new languages,and absorbed the ways of the Western world. But the wind had not finished carryinghim tohis ultimatedestination.
Chapter 3: The Enchanted Isles
Loyal to the missionaries, Yasuke accompanied them toJapan, aland shrouded in mysteryand allure. Hewas captivatedbyits breathtakinglandscapes, intricate customs, and refined people.As the first African inJapan, he sparked fascination and intrigue wherever he went.
Chapter 4:Fateful Encounters
Kyoto,the heart of feudalJapan, bore witness to the meeting that would foreverchange Yasuke'slife.Oda Nobunaga, a formidable and influential daimyo,was entrancedby Yasuke's physical prowess, intellect, and exotic origins. Recognizing Yasuke's potential, Nobunaga welcomedhim intohis serviceas asamurai.
Chapter 5: AWarrior Forged
Yasuke'smetamorphosis from slave tosamuraiwas ladenwith trials. He navigated the grueling training, a rigid code of honor, and the complexities ofJapanesesociety. Undaunted, he flourished, earning the admiration ofhis fellowsamurai and the unwavering trust of Nobunaga.
Chapter 6: ALand Divided
As Nobunaga pursuedhisvision of a unitedJapan, Yasuke fought valiantlybyhis side in countlessbattles. Thelegend of the Africansamurai swelled with eachvictory, and their unbreakable bond deepened.Together, they braved the treacherous world ofshiftingalliances and betrayals that shaped the era.
Chapter 7:Whispers of Betrayal
Yasuke'srenownas a skilled and devotedsamurai expanded,asdidhis connection withLord Nobunaga. But beneath thesurface, a stormwas brewing. Mitsuhide Akechi,once a staunchally, had grown disillusioned with Nobunaga's leadership.His bitterness festered,fedby perceived slights and political machinations. Consumedby ambition andlust forpower, Mitsuhide's judgment faltered.
Chapter 8: The Price of Loyalty
Yasuke detectedthe change in Mitsuhide'sspirit and grew increasingly apprehensive. Buthis unwavering loyalty to Nobunaga heldhim back from voicinghis suspicions. Instead, he redoubledhis efforts, ever watchful and prepared to defendhislordatany cost.
Chapter 9: A Night of Shadows
On afateful evening, theOda clan gathered to revel in their recent triumphs, oblivious to the treachery that lurked in the shadows. Mitsuhide Akechi's nefariousscheme had beenset inmotion.
Chapter 9: A Night of Shadows
Asdawn broke, the piercing cries of battle shattered the night's tranquility. Mitsuhide's forces had launched a devastating surpriseattackon Nobunaga's residenceat the Honno-ji Temple. Yasuke fought relentlessly,his sword cleaving through the treacherouswarriorsas hemadehis way to Nobunaga's side.
Chapter10: Flames of Betrayal
The Honno-ji Temple,once asanctuary ofpeace,wasnow engulfedin flames andchaos. Yasuke and Nobunaga fought back to back, their swords ablur ofsteel,as Mitsuhide's forces closed in. Despite their valiant efforts, they wereoutnumbered, and Yasuke couldsense the battlewaslost. With a heavyheart, he whispered a prayer for Nobunaga'ssoul, knowing thathislord would never surrender.
Chapter 11: APromise Unbroken
As the temple crumbled around them, Yasukewas capturedby Mitsuhide's soldiers. Imprisoned and stripped ofhissamurai status, he reflectedon thepath that hadledhim to thismoment. Amidstthe darkness, hefound solace in thememories ofhislife with Nobunaga andhistimeas a missionary. Afire kindled withinhim, reigniting a long-forgotten purpose.
Chapter12: TheRoad to Redemption
In thechaos following Mitsuhide's coup, Yasuke seized an opportunity toescape. Hejourneyed acrosswar-tornJapan, seeking refugeand a chance to reclaimhis formerlife.Hisdetermination andfaith guidedhim,asdid the memory of the missionarieswho hadonce savedhim from alife of slavery.
Chapter 13:Rebirth of a Missionary
Yasukefound solace and purpose among agroup of missionaries in a remote village. Embracinghis past, he became an instrumental figure in their community, sharinghis knowledge of Christianity, languages, and the Western world.As he nurtured theirfaith, Yasukefelt the shadows ofhislifeas asamuraislowly fade, replacedbythe warm embrace ofspiritual fulfillment.
Chapter 14: ALegacy Unforgotten
Though Yasuke had left thelife of awarrior behind, thelegend of the Africansamuraicontinued to grow.Hisstoryinspiredgenerations, a testament tothe power of resilience,courage, and thehumanspirit.Itwas a tale that transcended borders andtime, a reminder that even in the darkestmoments,hope and redemption could befound.
Epilogue:
As twilight draped theJapanese countryside, Yasuke stoodatop a hill, gazingat the village henow calledhome.Hisjourney had beenone of unimaginable hardship, transformation, and ultimately, redemption.And as thesun dipped below the horizon, Yasuke knew thathisstory,like thesun'seternalcycle, wouldcontinue toinspire and illuminatethe hearts of thosewho heardit.
ラスキンは、委員会は 「大規模なロシアの偽情報とソーシャルメディア上の白人民族主義者の暴力的扇動という真の脅威 に焦点を当てる方が良い」とおかしなことを主張した。
バイデン政権による憲法修正第1条の簒奪と同様に、ラスキンの同業者の目的は検閲とそれに伴う国家権力の増強であり、反対者の議論や主張の真偽を問うことではない。
バイデン政権の役人が戦時中の修辞学的戦略を使って、反体制派を中傷しているのは周知の通り。そうすることで、彼らは批判者を検閲するために、反対意見を公共の安全への脅威とわざと混同している。
公衆衛生(コロナ)について議論するとき、政権は一貫して 「誤報 」「偽情報 」というレッテルを使う。しかし、政府の運営について知れば知るほど、これらのレッテルは政権として不都合だからレッテル貼りをしているのであって、情報が必ずしも虚偽ではないように思われるのだ。
ノルドストリーム1・2パイプラインは、2022年9月に爆発した。10年以上前からロシアからヨーロッパに天然ガスを送っており、ロシアは当時2を開発中だった。ニューヨーク・タイムズ紙などは、この爆発を 「ミステリー」 と呼んだ。
この妨害工作は、米国の同盟国であるヨーロッパに大きなエネルギー危機をもたらした。欧州はガスの40%近くをロシアから輸入しており、ノルドストリーム1はその約3分の1を供給する役割を担っていた。
米国が海軍の潜水士を使ってロシアのパイプラインを爆発物で破壊する「秘密の海上作戦」を実行したと報じるところもある。
2022年のロシアのウクライナ侵攻に先立つ数週間、バイデンは、戦争になった場合、パイプラインに対して行動する意向を表明した。
「もしロシアが侵攻してきたら...NordStream 2はなくなる 」と記者団に語っていた。「我々はそれに終止符を打つ」
「具体的にどうするのですか?」と記者は尋ねる。
ビクトリア・ヌーランド国務次官(政治問題担当)も同様に明言した。
プーチンは、パイプラインに対する「テロ攻撃」について、西側諸国の「アングロサクソン」を非難した。プーチンは報道陣に対し「それで利益を得ている者たちがやったことだ」と述べた。バイデンは、プーチンの非難を 「偽情報と嘘を流布している」と厳しく非難した。
ホワイトハウスの国家安全保障報道官エイドリアン・ワトソンは、バイデンの主張を支持し、プーチンの非難を 「ロシアの偽情報 」と言及。ロシアの国連大使もまた、米国が妨害工作に関与しているとほのめかした。これに対し、リチャード・ミルズ国連大使は「陰謀論と偽情報 」と反論。
ノルドストリーム・パイプラインに対して行動を起こすと司令官が明言したにもかかわらず、信じた報道陣は、破壊工作に西側が関与しているという非難は「根拠のない」「誤報」「偽情報」「陰謀論」だと政府の話法をひたすらパロっている。
これはすべて、コロナ時代の情報戦と同じパターンに従っている。不都合な物語が生じると、政府とメディアのレミングはそれを嘘で危険なものとして中傷し、数ヵ月後に問題の論争が真実(あるいは少なくとも非常に妥当なもの)であることが判明するのである。
自然免疫、ワクチンの効果、マスク、実験室漏れ仮説、学校の閉鎖、監禁、社会的距離の取り方の科学的根拠をめぐる論争は、このような報道のサイクルをたどったほんの一例である。
これは、ハンター・バイデンのノートパソコンに関するニューヨーク・ポストの報道と同じパターンであった。そして今、ビッグテック、情報機関関係者、連邦政府を巻き込んだ汚職を調査する公聴会で、ラスキンとその仲間たちは、おなじみの検閲の策略に立ち戻った。
検閲官にとって、真実ではなく、権力の増強が主な目的であることに変わりはない。この目的を達成するために、彼らは反対意見を国内テロと混同している。
たとえば、国土安全保障省の「国家テロリズム諮問サービス」は、2022年2月に誤報と偽情報をテロの脅威として挙げている。このメモでは、これらの脅威を 「政府に対する国民の信頼を損ねる 」ための取り組みと位置づけている。
COVIDとウクライナの両方について、最も強力なアメリカの勢力は、アメリカ国民に繰り返し嘘をつき、誤解させた。彼らは自分たちの繊細な虚構の物語を守るために批判者を検閲し、政府に対する国民の信頼が薄れているとして他人を攻撃する。
以下のスクリプトを登録することで。以下のループを繰り返させることができる。
「https://anond.hatelabo.jp/ここにユーザー名/を開く」→「直近の投稿の編集画面に遷移」→「削除ボタンを押す」→「ダイアログに答える」→「https://anond.hatelabo.jp/ここにユーザー名/に戻る」
実質ダイアログに答えるところだけやればよい。
// ==UserScript==// @name New Userscript// @namespacehttp://tampermonkey.net/// @version 0.1// @descriptiontry totakeoverthe world!// @authorYou// @matchhttps://anond.hatelabo.jp/ここにユーザー名/// @iconhttps://www.google.com/s2/favicons?sz=64&domain=hatelabo.jp// @grant none// ==/UserScript==function sleep(ms) { return newPromise(resolve => setTimeout(resolve,ms));}(async function() { 'use strict'; await sleep(100); window.location.href = document.querySelectorAll("div.section")[0].querySelector("a.edit").href;})();
// ==UserScript==// @name New Userscript// @namespacehttp://tampermonkey.net/// @version 0.1// @descriptiontry totakeoverthe world!// @authorYou// @matchhttps://anond.hatelabo.jp/ここにユーザー名/edit*// @iconhttps://www.google.com/s2/favicons?sz=64&domain=hatelabo.jp// @grant none// ==/UserScript==function sleep(ms) { return newPromise(resolve => setTimeout(resolve,ms));}(async function() { 'use strict'; await sleep(100); document.querySelector("input.delete-button").click();})();