TECH |
Techable(テッカブル) |
未来のデジタルクリエイターを育成!Adobe Expressのオンライン習い事が4月開講 |
https://techable.jp/archives/195997
|
adobeexpre |
2023-02-18 09:00:30 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
JupyterNotebookでSparkSQLの実行結果をDataFrame形式で出力 |
https://qiita.com/koma_aws/items/aa0888a38ef0851396e1
|
dataframe |
2023-02-18 18:48:43 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Pandas DataFrame操作 |
https://qiita.com/yulily/items/d8d15af6dce84a4bea35
|
pdreadcsvfilepathindexcol |
2023-02-18 18:45:37 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
FastAPI勉強用(初期設定編) |
https://qiita.com/thanatar/items/032b01f8231d4a20dcff
|
apache |
2023-02-18 18:43:06 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【Python×AWS】botocore.exceptions.NoCredentialsErrorエラー対応。clientとresourceの違いも |
https://qiita.com/Ryo-0131/items/2f6f1125855c61d1a8c6
|
botocoreexceptionsno |
2023-02-18 18:13:01 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
初めまして、技術力が欲しいSIer27歳です。 |
https://qiita.com/bakuchiku/items/d0c950be62977dd7f19c
|
笑笑 |
2023-02-18 18:45:30 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【Python×AWS】botocore.exceptions.NoCredentialsErrorエラー対応。clientとresourceの違いも |
https://qiita.com/Ryo-0131/items/2f6f1125855c61d1a8c6
|
botocoreexceptionsno |
2023-02-18 18:13:01 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
WSL2でDocker Desktopがフリーズした時の対処メモ |
https://qiita.com/lobmto/items/df462123b90ada454f3d
|
windowswslubuntu |
2023-02-18 18:16:21 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
Docker:Dockerfileの意味と注意点 |
https://qiita.com/epirock/items/3bd9023a518078b4ff1f
|
docker |
2023-02-18 18:02:27 |
golang |
Goタグが付けられた新着投稿 - Qiita |
Goにおいてログの設定を自分なりに作成してみた |
https://qiita.com/soicchi/items/59d7de220e6c2a8e90be
|
docker |
2023-02-18 18:38:43 |
GCP |
gcpタグが付けられた新着投稿 - Qiita |
GCP 認定資格向けのメモ |
https://qiita.com/xpok327/items/f93e711176f2c750a3f6
|
associatecloudengineer |
2023-02-18 18:56:50 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
初めまして、技術力が欲しいSIer27歳です。 |
https://qiita.com/bakuchiku/items/d0c950be62977dd7f19c
|
笑笑 |
2023-02-18 18:45:30 |
海外TECH |
DEV Community |
Everything you need to know about Temporal Date API |
https://dev.to/arafat4693/everything-you-need-to-know-about-temporal-date-api-5alk
|
Everything you need to know about Temporal Date APIWe all know the pain of working with dates in Javascript It needs to be more explicit has almost no method and could not be more clunky For example to create the Date January you have to write a new Date which can be confusing for beginners and overall just not that clear And because of these reasons the community has made many libraries that attempt to make Date easier to work with over the past years Like momentjs or Date fns But the good news is that you won t need these third party libraries any longer The Temporal Date API in Javascript attempts to completely replace the Date object and fix all of the issues we generally face when working with dates Jump toIntroduction of Temporal Date APIBito AITemporal API Data TypesTemporal InstantTemporal ZonedDateTimeTemporal PlainDateTemporal PlainTimeTemporal PlainDateTimeTemporal PlainMonthDayTemporal PlainYearMonthTemporal DurationTemporal TimeZoneTemporal CalendarTemporal API Helper Methodsadd and subtractsince and untilequalswithroundBrowser SupportConclusion Introduction of Temporal Date APITemporal API brings TONS of new data types and methods for handling various date based concerns The API has a unique global object called Temporal that allows you to have an easy to use API for date and time computations The main goal of the temporal API is to provide more support for things like dates without times times without dates timezones PlainDate PlainTime and PlainDateTime objects which don t have an association with a time zone In this article I will cover the essential parts of the API However I can t go through everything about the API as It is massive So if you want to go more in depth on the API you can read the full docs NOTE Throughout the article I ve used a lot of examples But I needed help to come up with these examples So instead I ve used an AI platform called Bito AI Bito AIWe all know the effectiveness of ChatGPT and its usefulness in programming However to use chatGPT we need to visit their website It can be frustrating when coding because it destroys momentum What if you could add ChatGPT directly in your code editor Bito AI does just that It uses ChatGPT in the background to generate code helps to debug write test cases generate code comments create code explanations and more Bito AI even contains a lot of shortcut options and keyboard shortcuts They also do a lot of on the fly engineering to give you the best answer without any work on your part In general it s ChatGPT but specifically for coding purposes I recently started using it and love it Temporal API Data TypesThe Temporal API has different data types divided into plain and zoned versions Plain date time helps represent a date time without caring about the timezone In contrast a zoned date and time type are helpful when dealing with the exact time in a particular time zone Temporal InstantA Temporal Instant represents a specific point in time and does not consider any particular calendar or location const today Temporal Now instant console log today toString T Zconst date Temporal Instant from console log date toString T Z Temporal ZonedDateTimeA Temporal ZonedDateTime is a date time object that contains all timezone related information It represents an actual event that has happened or will happen at a particular exact time from the perspective of a specific region on Earth const today Temporal Now zonedDateTimeISO console log today toString T America Chicago const persian Temporal Now ZonedDateTime persian console log persian toString T America Chicago u ca persian const date Temporal ZonedDateTime from console log date toString T America Chicago const date Temporal ZonedDateTime from year month day console log date toString T America Chicago const zonedDateTime Temporal ZonedDateTime from timeZone America Los Angeles year month day hour minute second millisecond microsecond nanosecond gt T America Los Angeles Temporal PlainDateA Temporal PlainDate object represents a date with no other information It is not associated with a particular time or time zone const today Temporal Now plainDateISO console log today toString const date Temporal PlainDate from year month day date year gt date toString gt Temporal PlainTimeA Temporal PlainTime object represents a time that is not associated with any timezone and date const today Temporal Now plainTimeISO console log today toString T const time Temporal PlainTime from console log time toString const time Temporal PlainTime from hour minute second console log time toString Temporal PlainDateTimeThe Temporal PlainDateTime object represents a date and time with no timezone information You can create a new PlainDateTime by using the Temporal Now plainDateTimeISO method const today Temporal Now plainDateTimeISO console log today toString T If you are working with a different calendar system than ISO then you can do the followingconst today Temporal Now plainDateTime persian console log today toString T u ca persian If you want to create a new PlainDateTime with a custom date instead of just using the current time there are two ways to do so The first way is to give the method a date by specifying the year month and date It can even have an hour minute second millisecond microsecond nanosecond and calendar const date new Temporal PlainDateTime console log date toString T Alternatively you can use from method on the PlainDateTime object instead This method takes either a string that matches a date or an object with keys for each part of the date const date Temporal PlainDateTime from console log date toString T const date Temporal PlainDateTime from year month day console log date toString T Temporal PlainMonthDayTemporal PlainMonthDate works like a PlainDate However It excludes any year information const date Temporal PlainMonthDay from console log date toString const date Temporal PlainMonthDay from month day console log date toString Temporal PlainYearMonthTemporal PlainYearMonth excludes any day information const date Temporal PlainYearMonth from console log date toString const date Temporal PlainYearMonth from year month console log date toString Temporal DurationTemporal Duration represents a duration of time It is helpful for date time arithmetic const duration Temporal Duration from hours minutes duration total unit second gt You can even use arithmetic like add subtract with and round I explained them later in the article methods on durations There are even a few additional helper methods that you should know const duration Temporal Duration from hours minutes console log duration negated toString PTHMconsole log duration negated abs toString PTHMconsole log duration total minutes Temporal TimeZoneThe Temporal TimeZone represents a particular timezone You use this with the from method or with the Temporal Now timeZone method const timeZone Temporal TimeZone from Africa Cairo console log timeZone toString Africa Cairoconst localTimeZone Temporal Now timeZone console log localTimeZone toString America Chicago Temporal CalendarTemporal Calendar represents a calendar system You can create a calendar using the from method const cal Temporal Calendar from iso const date cal dateFromFields year month day date monthsInYear gt date daysInYear gt Temporal API Helper MethodsBy now we ve seen a lot of data types However there are also a bunch of helper functions you can use to compare dates use arithmetic with dates like add subtract convert types and much more add and subtractAs It sounds these two methods let you do addition and subtraction with two or more dates const today Temporal Now plainDateISO console log today add days months toString It also deals with overflow For example if the current date is February th and you want to add one month to it the resulting date should have been March th However the month of March doesn t yet exist Therefore these results default to the nearest valid date which would return February th You can disable this behavior though with a second options argument const date Temporal PlainDate from console log date add months toString date add months overflow restrict Uncaught RangeError value out of range lt lt since and untilThe since and until methods determine the distance between two temporal date objects const today Temporal Now plainDateISO const yesterday today subtract days console log today since yesterday toString PDThe value returned by these methods is Temporal Duration object You can even pass options to these methods to fine tune how you want the duration calculated If you specify the largestUnit then the duration will be determined using that unit as the most significant value instead of the default value const today Temporal Now plainDateISO const lastMonth today subtract months days console log today since lastMonth toString PDconsole log today since lastMonth largestUnit months toString PMDIn the same way the smallestUnit determines the duration by that unit as the smallest value instead of the default value However it could result in rounding which you can further customize with the roundingIncrement and roundingMode options const today Temporal Now plainDateISO const lastMonth today subtract months days console log today since lastMonth toString PDconsole log today since lastMonth smallestUnit months toString PMconsole log today since lastMonth smallestUnit months roundingIncrement toString PMconsole log today since lastMonth smallestUnit months roundingMode ceil toString PM equalsThe equals method returns true only if the two temporal date objects have the same fields Using or will return false unless the two objects are the same instance const today Temporal Now plainDateISO const today Temporal Now plainDateISO console log today today false Because they are two different instancesconsole log today equals today true withThe with method takes an object of fields to overwrite the current temporal date object However it doesn t overwrite the original date object Instead It returns a new temporal date object with the new value specified const today Temporal Now plainDateISO console log today with year month toString roundThis method rounds a temporal date to a specific unit const today Temporal Now plainDateTimeISO console log today round hour toString T To modify the performance of the round method you can pass an object that takes smallestUnit roundingIncrement and roundingMode const today Temporal Now plainDateTimeISO console log today round smallestUnit hour toString T console log today round smallestUnit hour roundingMode ceil toString T console log today round smallestUnit hour roundingIncrement toString T Browser SupportI love Temporal Date API However this API has yet to be available as it is still in proposal stage No browsers currently support this API but you can use a polyfill if you want to start using this API today Multiple polyfills are available for this API but my favorite is js temporal polyfill Once you install this library you can immediately start using the temporal API ConclusionEveryone used to hate working with Dates in JavaScript but with the introduction of the temporal API working with dates will be something you can enjoy doing |
2023-02-18 09:36:10 |
海外TECH |
DEV Community |
Blockchain Developer Road Map 💫. |
https://dev.to/akshaykurhekar/blockchain-developer-road-map--50i1
|
Blockchain Developer Road Map Hi all Welcome back to the very new and exacting blog “What is a Blockchain Developer Road Map In this blog we will see what steps need to take care to be a Blockchain Developer So let s get started quickly Before starting to blockchain journey we really need to understand a few points and the road map of the journey Very first we will see an evaluation of the Web in detail in terms of architecture and tech used It is important to understand Web and Web s their advantages and needs Now when you get a complete understanding of the web we can start talking about Blockchain Web its definition use cases and its structure its need in the market and how it going to evolve in the future After a basic understanding of Blockchain Web we will try to understand its core features like Why it is really important Advantages and impact on the current system in terms of economic and technically along with social impact If we understand this technology in detail in terms of concept and methodology now is a good time to talk about its tech Before looking into the tech list there is one important point to consider we have different types of the blockchain Public Private and Hybrid blockchain But It is always too good to start from a public blockchain Ethereum Solana Polygon etc In this blog we are highlighting the Public Blockchain roadmap only List of technology and tool you need to learn Starting from Data structure OOPCore understanding of any one programming language like C Java Python JavaScript JavaScript and SolidityReact js and Node jsAny Databases in detail like MySql MongoDB IPFS we need to learn about decentralized storage Now let s see which tools we requiredRemix editor VS CodeHardhat or TruffleMetamaskGanache or geth This is the basic list of tech but there are a few more things that are also required based on your job role and experience you will get to know these things gradually So now you know the tools and tech in Blockchain but this is not enough you need to understand all core concepts and need to do practice using these tools until you get confident in them Like any other technology Blockchain also has multiple job roles Now it is a good time to check out available job roles Blockchain DeveloperBlockchain Application DeveloperSmart Contract DeveloperCore Blockchain DeveloperConsultant Blockchain DeveloperBlockchain Tech LeadBlockchain ArchitectSmart contract AuditorSmart Contract TesterBlockchain Content Writer And a few more… Now you need to decide What you want to become whether you want to create applications on top of blockchain or create a blockchain from scratch or want to be a specialist in writing Smart Contract or Testing and auditing Smart Contracts On Blockchain Journey with me we will learn very first all basic to advanced topics and concepts of blockchain and writing production grade smart contracts creating an application on top of Blockchain and most important How to create our own Blockchain and so on…So If you decided to become Blockchain Application Developer or Smart Contract developer usually called a Blockchain Developer only In this case we need to understand there are multiple types of applications in blockchain example DAO DeFi Gaming NFT Marketplaces and Supply Chain and so many use cases are coming day by day But don t worry it s not mandatory to know all these use cases It is good to be a Master in any one use case So This is pretty much for anyone who wants to get started with Blockchain Please follow me to get started on your Blockchain Journey For more on Blockchain Content Checkout this Blockchain Youtube Channel Blockchain With Akshay Happy learning Keep reading it makes you more powerful See you in the next blog |
2023-02-18 09:30:57 |
ニュース |
@日本経済新聞 電子版 |
午後6時27分ごろに北海道沖に落下推定 防衛省
https://t.co/UgBXF3vtzY |
https://twitter.com/nikkei/statuses/1626875144093454336
|
落下 |
2023-02-18 09:23:54 |
ニュース |
@日本経済新聞 電子版 |
G7外相、ウクライナ支援の継続確認へ ロシア攻勢懸念
https://t.co/1dooxKLNXF |
https://twitter.com/nikkei/statuses/1626871377004474369
|
継続 |
2023-02-18 09:08:56 |
海外ニュース |
Japan Times latest articles |
North Korean missile expected to land in Japan EEZ off Hokkaido |
https://www.japantimes.co.jp/news/2023/02/18/asia-pacific/north-korea-missile-launch-south-us-korea-drills/
|
North Korean missile expected to land in Japan EEZ off HokkaidoThe launch comes a day after Pyongyang vowed an unprecedentedly strong response to joint military drills between the U S and South Korea set for next |
2023-02-18 18:28:45 |
ニュース |
BBC News - Home |
Christian Atsu found dead after Turkey earthquake |
https://www.bbc.co.uk/sport/football/64687384?at_medium=RSS&at_campaign=KARANGA
|
agent |
2023-02-18 09:09:26 |
ニュース |
BBC News - Home |
Baftas: Journalist Christo Grozev banned over security risks |
https://www.bbc.co.uk/news/entertainment-arts-64687330?at_medium=RSS&at_campaign=KARANGA
|
alexei |
2023-02-18 09:05:31 |
ニュース |
BBC News - Home |
New Zealand v England: Stuart Broad magic spell puts tourists on course for victory |
https://www.bbc.co.uk/sport/cricket/64659001?at_medium=RSS&at_campaign=KARANGA
|
New Zealand v England Stuart Broad magic spell puts tourists on course for victoryStuart Broad s devastating late burst puts England on course for victory over New Zealand on day three of the first Test in Mount Maunganui |
2023-02-18 09:08:02 |
ニュース |
BBC News - Home |
Tyson Fury v Anthony Joshua: Promoter Eddie Hearn still hopeful on fight this year. |
https://www.bbc.co.uk/sport/boxing/64682803?at_medium=RSS&at_campaign=KARANGA
|
Tyson Fury v Anthony Joshua Promoter Eddie Hearn still hopeful on fight this year Promoter Eddie Hearn says he has not given up hope on heavyweight Anthony Joshua fighting Tyson Fury later this year |
2023-02-18 09:01:52 |
海外TECH |
reddit |
【独占】ツイッターでヘイト発言を繰り返していた「桜ういろう」は、共同通信の社会部デスクだった(NEWSポストセブン) - Yahoo!ニュース |
https://www.reddit.com/r/newsokunomoral/comments/115b9o2/独占ツイッターでヘイト発言を繰り返していた桜ういろうは共同通信の社会部デスクだったnewsポストセブ/
|
ewsokunomorallinkcomments |
2023-02-18 09:10:49 |
コメント
コメントを投稿