sad to see there were no legacy moves such as learning outrage* when evolving to salamence.
金野裕希
金野裕希
307 Tweets
See new Tweets
金野裕希’s Tweets
Hoenn Tour Day 1
got nothing.
no hundo.
got 330 kyogre primal energy and 160 groudon.
we lost to a snow boosted blizzard kyogre with 7 ppl.
even i, the Dark Lord, needed 5 of myself to defeat it.
rollup is easier with almost zero config.
according to stateofjs, vite and esbuild are of more interest today.
2022.stateofjs.com/en-US/librarie
but i have to support es3 so i'll stick with webpack.
ts-node is needed to write webpack.config in ts.
ts-loader is necessary to handle ts.
this will transpile src/Complex.ts to dist/Complex.js.
done by webpack alone.
from the user's (i.e., library author's) point of view, webpack "is" the transpiler.
i found i can convert a ts library to work in the browser by using a tool called webpack, a module bundler.
create webpack.config.ts (left) and tsconfig.json (right) like the attached images, then
% npm i -D webpack webpack-cli ts-loader ts-node
% npx webpack
*enkerese (エンケレセ)
Show this thread
not sure englishers can get me but i'm content with it.
i refuse to learn eng pronunciation.
soon i'll be an eng youtuber by this method.
for those wondering, the last line is one of the example sentences of macos text-to-speech. there's also one that says "most people recognize me by my voice."
for those wondering, John Mung refers to Nakahama Manjiro, who advocated such a katakana pronunciation of eng for the jpn.
he pronounced "english" as enkeresu (エンケレス), but i stopped at ingueshu (イングェシュ).
Show this thread
i spoke eng for the first time in my life.
here's the transcript.
i read aloud the katakana text with jpn pronunciation.
i generated this by having google translate speak the eng text and listening to it by ear.
1/1
Voice
i think the concept of a fandom name exists in eng, but doesn't it fit for englishers to use a single word to describe it?
javascripter, pythonista, lisper, etc. are all more often used in jpn.
there's The Little LISPer tho.
one fact is that jpn has an engrish usage of adding -er to anything to make it "a person who uses it."
e.g.) mayoler (マヨラー, mayorā) means a person who loves mayonnaise.
speaking of langtwt, i've always wondered why words like youtuber, tiktoker, or javascripter are used more in jpn than in eng.
despite the fact that some examples such as googler are only used in eng.
it can also be said that people who learn a foreign language have a higher than average intelligence.
i registered with whotwi and you can now see my twitter analytics.
en.whotwi.com/yuukikonnobot
i refollowed ppl i connected with via #langtwt i could remember and followed some new ones.
i've had difficulty finding high iq ppl on tt.
Quote Tweet
金野裕希
@yuukikonnobot
i'm at my parents house now.
i've removed all my f/f i followed with #langtwt.
recently realized people only get along with each other on iq.
i've registered with twilog. now you may search my tweets easier
i'm not yet a distinguished professor as i've no significant achievements. i'm thinking of learning division first.
i found Wikiversity allows blogging on user pages.
this means Wikiversity serves as your "home base."
it redefines the university for the internet age.
we no longer need UoPeople.
i immediately became a professor of mathematics at Wikiversity.
i posted my first blog post.
i played shogi with ChatGPT.
i started blogging on Wikiversity. i use Blogger as a write-once backup.
en.wikiversity.org/wiki/User:Yuuk
ykonno.blogspot.com/2023/02/chatgp
that way i can post to mastodon via twitter but can't delete a post once made.
my twitter can be gone but mastodon will remain forever (as long as the server is alive).
mastodon twitter crossposter has shut down.
this means i can no longer post to my mastodon.
i'm atelophobic and tempted to delete old tweets, so i was using mastodon as a write-once backup by linking twitter to mastodon and discarding my mastodon password.
nor can babel or ts playgrounds transpile
export default class C { meth() { … } }
to
window.C = function () { … }; C.prototype.meth = function () { … };
this means there's no online tool to convert es6 modules to es5.
it appears babel-plugin-add-module-exports, another plugin with only 732 stars on github, can solve this problem, but i don't want to choose such a niche way ofc.
next issue.
babel (essentially) transpiles
export default class Complex { … }
to
window.Complex = { __esModule: true, default: function () { … } };
that means in a browser the user must write
new Complex.default(3, 4);
instead of
new Complex(3, 4);
this is ofc unacceptable.
w/o .babelrc,
% babel -d dist --presets @babel/preset-env src
will transpile to cjs.
to transpile to umd, the { "modules": "umd" } option must be provided in .babelrc.
hard to see the script is transpiled from what to what.
the destination is ES5 by default.
@babel/preset-env means to use the latest js as the source, maybe.
s/lib/src/
Show this thread
% sudo npm i -g @babel/core @babel/cli
% npm i -D @babel/preset-env
% cat > .babelrc
{ "presets": [ [ "@babel/preset-env", { "modules": "umd" } ] ] }
% babel -d dist src
transpiles lib/*.js to ES5 and outputs it as dist/*.js.
Show this thread
i wonder if i should give up on ts and write it in vanilla js.
but i want it to work in IE6 on WinXP (ideally IE4 on Win95).
i'll need to transpile it anyway.
babel only supports ES5, while ts supports ES3.
but ES5 may be no different from ES3 with Array.forEach polyfill etc.
typescript can't generate code works in a browser.
% tsc --outDir dist --module umd src/Complex.ts
generates commonjs + amd despite the name "umd."
github.com/microsoft/Type
github.com/microsoft/Type
that plugin also didn't work with a global install.
i wanted to try it out with a global installation and zero configuration.
% npm install -D typedoc typedoc-plugin-rename-defaults
% npx typedoc --entryPointStrategy expand lib/Complex.ts
and if you don't install typedoc-plugin-rename-defaults, a plugin with only 18 stars on github, the class name in the doc will be "default."
typedoc doesn't work without tsconfig.json.
i had to write { "compilerOptions": { "lib": ["es2015", "dom"] } in it.
for some reason, jsdoc does not generate a description from a simple docstring attached to a method in a class.
is it common to use typedoc in ts?
it appears MS is working on a spec called tsdoc.
New to Twitter?
Sign up now to get your own personalized timeline!