Chen Yangjian
Chen Yangjian
里头有个 query 写成 quey 了我会乱说? 玩笑放一边;我在自己的主页 http://cyj.me 上也试图搞过一把,结果因为 retina screen 这种逆天存在,min-width 经常跑偏,而且还有横屏竖屏的情况,只能尽量每个设备都测试,都调代码,最终手忙脚乱、效果不彰 总结 min-width: 1300px 之类,感觉还是太原始了一些,可能还需要基于这些技术,规整出更完备的设计与技术方案,例如设计稿针对几个尺寸出,device-pixel-ratio 大于 1 的情况又该如何解决,做类似 jQuery 之于 JavaScript 的事情
@wintercn 期待更多响应式相关内容 ^_^
为什么这个 repo 都可以有 fork…… 这不科学!
Thanks for the quick response! I think the problem isn't about transforming `:is()` itself, it's rather how the nesting rules should be transformed. There should be enough context about the...
I see... so what about browsers that doesn't support `:is()`? can we provide a fallback transform result if the specified targets might not support `is()`?
querying multiple statements is disabled by default if mysqljs/mysql is used https://github.com/mysqljs/mysql#multiple-statement-queries IMHO, possible causes of such queries might be like below: ```js realm.query(`SELECT * FROM users WHERE id =...
With `await` + [thenable objects](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await#thenable_objects), we can have decent stack trace already: ```js Error: ER_DUP_ENTRY: Duplicate entry '-1' for key 'articles.PRIMARY' at Query.Sequence._packetToError (node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14) at Query.ErrorPacket (node_modules/mysql/lib/protocol/sequences/Query.js:79:18) at Protocol._parsePacket (node_modules/mysql/lib/protocol/Protocol.js:291:23)...
I'd prefer adhering to existing pool api of mysqljs/mysql with few options like `initialSize` and `idleTimeout` added. To implement a customized pool layer isn't very complicated, I think it's time...
For example, the proposed api in issue description can mostly be replaced with | proposed | possible existence | |-----------|-------------------| | getConnectionSize()/getPoolSize() | pool.options.connectionLimit | | getAvailableConnections() | pool.connections.length |...
`waitingClientsCount` or `waitingCount` does not mean waiting connections, which rather mean waiting queries that are postponed while all connections are checked out.