python |
Pythonタグが付けられた新着投稿 - Qiita |
自作のアプリケーションの紹介 |
https://qiita.com/y_13/items/9d8c614f0fe318d32e92
|
dumpling |
2022-10-09 01:47:13 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
Progate HTML&CSS中級編終わり |
https://qiita.com/y-knsr/items/8f73c9a5b8e04770ce12
|
btnimg |
2022-10-09 01:05:21 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【AWS】1か月でAWS DASに合格した話 |
https://qiita.com/itkz1016/items/37676887fda76c9b872f
|
awsdas |
2022-10-09 01:52:43 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【AWS】ディスク使用率を監視して、EBS拡張→ファイルシステム拡張まで完全自動化してみた |
https://qiita.com/Pluton/items/d0c91d0bbdf6fb9210d8
|
qiita |
2022-10-09 01:31:43 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
【Docker初歩の初歩】DockerでApache+PHP+MySQLなLAMP環境構築をする(ついでに簡単な掲示板を作って動かす) |
https://qiita.com/are-38-a/items/fbd08334a7d613c3d824
|
apachephpmysql |
2022-10-09 01:52:53 |
技術ブログ |
Developers.IO |
iOSアプリ開発初心者はXcodeでプロジェクトを開く方法が分からない |
https://dev.classmethod.jp/articles/ios-app-development-beginners-dont-know-how-to-open-a-project-in-xcode/
|
flutter |
2022-10-08 16:51:11 |
海外TECH |
MakeUseOf |
8 Tips for Growing Your Podcast With Instagram |
https://www.makeuseof.com/how-to-grow-podcast-with-instagram/
|
discredit |
2022-10-08 16:30:14 |
海外TECH |
MakeUseOf |
How to Remove and Disable the Microsoft Wi-Fi Direct Virtual Adapter |
https://www.makeuseof.com/microsoft-wi-fi-direct-virtual-adapter-remove-disable/
|
How to Remove and Disable the Microsoft Wi Fi Direct Virtual AdapterSometimes the Microsoft Wi Fi Direct Virtual Adapter can cause network connectivity issues Here s how to disable it or get rid of it altogether |
2022-10-08 16:15:14 |
海外TECH |
DEV Community |
I made 1,000x faster TypeScript Validator Library |
https://dev.to/samchon/typescript-json-is-10-1000x-times-faster-than-zod-and-io-ts-8n6
|
I made x faster TypeScript Validator LibraryHello I m developer of typescript json and have measure a benchmark comparing performance with other competitive libraries By the benchmark my library typescript json has been turned out that maximum x times faster than zod Being proud of such performance enhancement I hope many TypeScript developers to adapt my library Advantage of typescript json is not only better performance but also easy usage exists typescript json does not require any extra schema definition and just requires only one line with pure TypeScript Type Thus what about using my library typescript json instead of io ts or zod ALLOW SUPERFLUOUS PROPERTIESexport function is lt T gt input T boolean true or falseexport function assertType lt T gt input T T throws TypeGuardError export function validate lt T gt input T IValidation detailed reasons DO NOT ALLOW SUPERFLUOUS PROPERTIESexport function equals lt T gt input T boolean export function assertEquals lt T gt input T T export function validateEquals lt T gt input T IValidation p s Of course as this benchmark is being measured by me someone can doubt objectivity Therefore to ensure objectivity I diclose all code used in the benchmark Below codes are being used in the benchmark You also can run the benchmark program by running npm run benchmark command after downloding this typescript json SchemasPure interface types used by TypeScript JSONIO TS SchemasZod SchemasBenchmark Programis functionvalidate function is functionexport function is lt T gt input T boolean Measured on Intel i g Surface Pro I hadn t known that zod is extremely slow until running on this benchmark program io ts is also slower than typescript json and ajv about x times but its slow performance looks like nothing comparing with zod More amazing thing is ajv requires JSON schema definition for validating but it can t validate the JSON schema type itself Although other libraries io ts and zod also failed to validating the JSON schema definition isn t ajv different with them Furthermore when complicate type comes ajv dies with runtime error in the most case validate functionexport function validate lt T gt input IValidation export interface IValidation success boolean errors IValidation IError export namespace IValidation export interface IError path string expected string value any Measured on Intel i g Surface Pro Unfortunately unable to measure ajv s performance because it does not support the validate function describing detailed error reasons Anyway although zod is the slowest library even in the validate function performance gap with other libraries are dramatically reduced Also performance gap ratio with typescript json with io ts are sometimes increased and sometimes reduced By the way when measuring of zod I sometimes doubted myself Have I taken a mistake But there was not any mistake and I wondered why zod is such slow To analyze the reason why I d read source code of zod and this is my conclusion Although zod is the slowest validator error reasons are more detailed and exact than io ts Therefore its slow performance on validate function is understandable Also zod hasn t implemented special logic for is function and let user to re use the validate function Therefore when zod implements the independent is function algorithm I think its performance can overcome io ts Full Spec of TypeScript Typetypescript json is much faster and much easier to use than io ts and zod But it s not all the thing typescript json can validate full TypeScript Type spec Below table is a list of supported spec sheet about competitive runtime validator libararies As you can see from the below table only typescript json can validate complicate union types ComponentsTSONajvio tszodC V Easy to useObject simple Object hierarchical Object recursive Object union implicit Object union explicit Object additional tags Object template literal types Object dynamic properties Array hierarchical Array recursive Array recursive union Array R U implicit Ultimate Union Type |
2022-10-08 16:37:49 |
Apple |
AppleInsider - Frontpage News |
Apple's modem may not surface in iPhones until 2025 |
https://appleinsider.com/articles/22/10/08/apples-modem-may-not-surface-in-iphones-until-2025?utm_medium=rss
|
Apple x s modem may not surface in iPhones until Qualcomm is likely to remain a supplier of modems to Apple for a few more years analysts expect with the prospect of an iPhone using an Apple designed modem potentially pushed back to at the earliest Qualcomm modem chipChip maker Qualcomm is thanks to a patent lawsuit settlement in a chief supplier of modems to Apple but the iPhone maker is still coming up with its own version However it is thought there could be quite a while to wait before Apple actually switches to using one of its own creation Read more |
2022-10-08 16:40:59 |
Apple |
AppleInsider - Frontpage News |
Daily deals Oct. 8: $150 off Apple Watch Series 7, $520 off 11-inch iPad Pro, Pad & Quill discounts |
https://appleinsider.com/articles/22/10/08/daily-deals-oct-8-150-off-apple-watch-series-7-500-off-11-inch-ipad-pro-pad-quill-discounts?utm_medium=rss
|
Daily deals Oct off Apple Watch Series off inch iPad Pro Pad amp Quill discountsSaturday s best deals include off the Apple Watch Series SanDisk s GB Ultra Fit USB drive for a Garmin Instinct E Sports Edition Smartwatch and much more Best Deals for October AppleInsider checks online stores daily to uncover discounts and offers on hardware and other products including Apple devices smart TVs accessories and other items The best offers are compiled into our regular list for our readers to use and save money Read more |
2022-10-08 16:41:51 |
ニュース |
BBC News - Home |
Crimea bridge partly reopens after huge explosion - Russia |
https://www.bbc.co.uk/news/world-europe-63183404?at_medium=RSS&at_campaign=KARANGA
|
bridge |
2022-10-08 16:51:46 |
ニュース |
BBC News - Home |
'Fairytale economics' now a nightmare - Ian Blackford |
https://www.bbc.co.uk/news/uk-scotland-scotland-politics-63184781?at_medium=RSS&at_campaign=KARANGA
|
westminster |
2022-10-08 16:09:07 |
ニュース |
BBC News - Home |
Hong Kong detains first teenagers under national security law |
https://www.bbc.co.uk/news/world-asia-63186293?at_medium=RSS&at_campaign=KARANGA
|
beijing |
2022-10-08 16:25:45 |
ニュース |
BBC News - Home |
Man City 4-0 Southampton: Erling Haaland scores again as defending champions move top |
https://www.bbc.co.uk/sport/football/63099425?at_medium=RSS&at_campaign=KARANGA
|
Man City Southampton Erling Haaland scores again as defending champions move topErling Haaland scored his th goal for Manchester City as his side swept Southampton aside to move top of the Premier League |
2022-10-08 16:23:22 |
ニュース |
BBC News - Home |
Newcastle United 5-1 Brentford: Bruno Guimaraes scores twice in thumping win |
https://www.bbc.co.uk/sport/football/63099426?at_medium=RSS&at_campaign=KARANGA
|
Newcastle United Brentford Bruno Guimaraes scores twice in thumping winEddie How praises outstanding Bruno Guimaraes after he scores twice as impressive Newcastle beat Brentford at St James Park |
2022-10-08 16:35:39 |
ニュース |
BBC News - Home |
Chelsea 3-0 Wolves: Armando Broja scores in dominant Blues victory |
https://www.bbc.co.uk/sport/football/63099428?at_medium=RSS&at_campaign=KARANGA
|
manager |
2022-10-08 16:55:04 |
コメント
コメントを投稿