kettanaito / kettanaito.com Goto Github PK
View Code? Open in Web Editor NEW@kettanaito's personal blog.
Home Page: https://redd.one
@kettanaito's personal blog.
Home Page: https://redd.one
The message it produces in a GitHub issue template is:
I tried to access the page at "/404.html", but landed on 404 page. Could you please look into this?
Configure Gatsby image queries to load proper quality of images.
Says "no matching files found" when staged content/posts/**/index.mdx
. Doesn't validate posts for id
on pre-push.
og:image
set for social sharing for pages and postsSeems like a database entry issue.
for
, don't chain .map().filter()
)It's not. All APIs and patterns have a place to be. While this article would state what appears obvious things, "obvious" is relative, and I believe this kind of pragmatic thinking is something people should write more often about.
They do not lead to the channels if people are not invited.
I enjoyed an article on the blog and wanted to subscribe. Consider adding an RSS feed so that others can get updates with their favorite reader.
Showcase practical applications of "test based on usage" approach. I've used this pattern in multiple projects, and I can only say incredible things about it. A few reasons why one should consider adopting this pattern:
-
) to be properly supported in Twitter.config.yml
node_modules
)In the article about typescript
in the following sentence:
I dare consider myself proficient with the language, having gone thourgh my share of type gymnastics, conditional types, nested generics
You misspelt thourgh through
Nice article by the way!
compiler.parser.hooks
API?compiler.assets[n] = { source, length }
).I was reading the Debounce Vs Throttle: Definitive Visual Guide article and found out that both examples of "invalid" and "valid" debounce usages in React are actually valid.
Here is a demo: https://codesandbox.io/s/peaceful-water-0iudx?file=/src/App.js
I suppose the intended way for demonstrating an invalid debounce usage is with an inline arrow function:
<button onClick={() => debounce(this.handleButtonClick, 2000)}>
Not as easy as it seems. Webpack doesn't support ESM bundling just yet. Tree shaking is more or less clear when you are a consumer, but what about when you are a producer of packages?
Performance concern is essential. However, people often dive into pre-mature performance-based decisions without a) monitoring, b) assessing the problem, c) solving the issue on the proper level.
This topic has been inspired by a Twitter discussion, where the usage of .map().filter()
was stated as "harmful". One of the argumentations was performance. I find this statement farfetched and misleading. I generally see a lot of the idea that "X is better than Y" for performance on the Internet. I wish to dispel the myth that one/two/ten small API decisions are crucial for performance. It's not.
First, I'd like to speak about 2 types of performance:
Key points I wish to convey:
for
is faster than .map
. Don't trust synthetic performance benchmarks. Trust in O(n)
.for
vs map
may have an effect when processing huge (and I mean HUGE) data. Be honest with yourself: are you processing such data? Then don't expect that choice to have any effect on your performance.If it's not broken, don't fix it.
Assuming that front-end is the reason for poor performance is like assuming a dash panel to be the cause of a slow vehicle. Just because front-end is the primary surface of experiencing the issue, doesn't mean it is the issue.
Basing your coding style and API choices around performance is, well, bad.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.