投稿時間:2023-07-05 05:23:05 RSSフィード2023-07-05 05:00 分まとめ(28件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
海外TECH MakeUseOf ChatGPT With Browsing vs. ChatGPT Plugins: Which Version of ChatGPT Should You Use? https://www.makeuseof.com/which-version-of-chatgpt-should-you-use/ chatgpt 2023-07-04 19:30:21
海外TECH MakeUseOf How to View a Batch File's Contents on Windows 11 https://www.makeuseof.com/view-batch-file-contents-windows-11/ windows 2023-07-04 19:15:18
海外TECH MakeUseOf 9 Free Chat Apps to Message on Your Phone or Computer https://www.makeuseof.com/tag/messaging-apps-phone-computer/ computerwant 2023-07-04 19:05:19
海外TECH DEV Community The Golang Saga: A Coder’s Journey There and Back Again. Part 1: Leaving the Shire https://dev.to/olgabraginskaya/the-golang-saga-a-coders-journey-there-and-back-again-part-1-leaving-the-shire-4ago The Golang Saga A Coder s Journey There and Back Again Part Leaving the ShireThe idea of learning Golang has been circulating in my head for quite some time However like many of us I constantly found excuses to put it off Just the other day though I was reading this compelling article that talked about how the key to effective learning lies in actually applying what we learn through side projects and making personal commitments along the way There was this one sentence that caught my attention immediately and it felt like a sign “making your goals and progress public can help keep you on track and encourage others to do so That s when it became clear to me ーI realized I needed a side project in the Go language where I could openly share my progress with others during the development process Welcome to the beginning of a brand new adventure I will be writing a series of technical articles detailing my journey of creating a side project from scratch using Go It ll be almost like watching a reality show where you get to witness the project come to life step by step Much like Bilbo I have no idea what lies ahead but I m excited about the prospects But I won t be doing this alone No great adventure is completed single handedly That s why I ve got my companion ChatGPT right there with me and let s not forget about the power of good old Google Also your insights feedback and shared experiences will make this adventure even more enriching and enjoyable On the DoorstepWithout thinking twice I invested bucks in ChatGPT Plus and turned to a prompt “Give me some ideas for a side project in the data engineering field that I can develop using Go I had no interest in going for something common and overdone like a to do app or a web scraper Additionally it would be fantastic if the project could be related to the realm of data engineering which is my area of expertise After a few tries I finally got something that grabbed my attention So why it was interesting to me Any use of any API leads to HTTP requests exception handling and JSON parsing Additionally it opens up possibilities for potential ETL ELT processes where you can extract transform and load the data into some database for your application Moreover you can create engaging and insightful visualizations from this data In general the idea sounded like a great opportunity to explore the language from different angles Following that I asked ChatGPT a few times to get more details on how I could utilize the weather API and it gave me another good suggestion Then I wrote “elaborate on “Climate Change Visualizer and that s what I got As you could see I got a full plan for my future side project and I was even advised on potential future improvements In the article I mentioned earlier there was another really valuable piece of advice “Think smaller Instead of diving into a massive project that takes hours to complete try envisioning something you can build within hours for your first attempt So in the first part of my saga I m going to take that advice to heart I ll be focusing on creating a local environment for a Go language project and developing my very first script This script will fetch some data from a public weather API setting the groundwork for my upcoming project Talking about public weather API I asked ChatGPT for some recommendations on the best API to use for accessing historical weather data for free Since none of these APIs were familiar to me I chose the first one If it wasn t good enough I could change it any time during the development Preparing the Development Environment Installing GoTo get started I followed the instructions provided by the official Go website and installed it as a MacOS user and created a folder for Go workspace mkdir goNext I needed to specify the location of the Go workspace GOPATH and the directory where Go executables were installed GOBIN in my environment variables I also added the Go binaries directory to the system s PATH variable to allow me to run Go commands and executables from the command line without specifying their full path I edited my zsh profile file located at “ zshrc vi zshrcexport GOPATH HOME goexport GOBIN GOPATH binexport PATH PATH GOBINand reloaded the configuration file for the Zsh shell source zshrcAfter those changes I could run Go commands from any terminal on my computer Creating a git repoFor my project I obviously needed a public GitHub repository I mean who wouldn t want the world to admire their brilliant ideas and clever code Therefore I created a public repository named “weather project in my GitHub account which you can see in the image below Then I copied the link and cloned this project on my computer git clone I must confess that I enjoy using GitHub Desktop to manage my repositories Even though true programmers prefer the command line interface and have mastered it like true Git wizards I don t feel any shame in using GitHub Desktop Its visual simplicity and user friendly experience make the development process much more enjoyable and less challenging So I added my weather project folder as an existing repository in GitHub Desktop and created the api cli tool branch as my first step After completing this important step I was all set and raring to go in creating my project Creating a Go projectI opened Getting Started Go tutorial and it said In actual development the module path will typically be the repository location where your source code will be kept For example the module path might be github com mymodule Alright as suggested I named my module github com weather project and proceeded to run the next command from the tutorial in my terminal inside weather project folder go mod init github com weather projectIt was finally time to put it to the test and see if I could use VSCode with Go projects Preparing VSCodeSince I m used to working with VSCode as my trusty IDE it was essential for me to confirm its compatibility with Go and Go projects Before opening my weather project folder in VSCode I came across the Go extension for VSCode and installed it After that I discovered that a new file called go mod was created for me when I ran the go mod init command As I read further I learned that this file is meant to track the modules that provide those packages It sounded quite logical as it would help keep track of the dependencies and ensure a smooth management of the project I decided to test my setup and began with the classic Hello world script To be honest I simply copy pasted the hello world code from the tutorial and created a hello go file It was a straightforward way to ensure that everything was working correctly and to get a feel for running a basic Go program package mainimport fmt func main fmt Println Hello World After that I run the next command in VSCode terminal go run Wow it worked I needed one more thing to make myself feel at home something I usually use with Python When working with data I often turned to the Jupyter VSCode extension for its convenience To my relief I discovered that a Go kernel existed tailored perfectly for my needs I ran the following command in the terminal and then I restarted VSCode go install github com janpfeifer gonb latest amp amp go install golang org x tools cmd goimports latest amp amp go install golang org x tools gopls latest amp amp gonb installFinally I created a new Jupyter notebook and was able to select the Go kernel in it Thus I copied my Hello World code into the first code cell of the Jupyter notebook and ran it Everything looked good Now the moment had come to write my own code in Go As ChatGPT would say “I was ready to embrace the challenges and growth that lay ahead in the world of Go programming Really hate this overly enthusiastic AI thing I m simply writing in Go I m not eating a birthday cake here CDO APII came across Getting Started for the CDO API that was recommended by ChatGPT Step Request token In order to access the CDO web services a token must first be obtained from the token request page I followed the instructions provided by the token request page above and successfully obtained my token via email Thus I was ready to proceed with implementing the CDO API into my Go project Another prompt to ChatGPT Sure I could have relied on prompts in ChatGPT like write an HTTP request in Go but I preferred to take a more controlled approach Sometimes ChatGPT may not fully understand the context or provide accurate information I also wanted to comprehend the code rather than blindly replicate it I found an example demonstrating the usage of the net http package in GO documentation For control over HTTP client headers redirect policy and other settings create a Client client amp http Client CheckRedirect redirectPolicyFunc req err http NewRequest GET nil req Header Add If None Match W wyzzy resp err client Do req In the Endpoints section in Getting Started I came across a comprehensive list of available API endpoints Thus as my second step in this chapter I decided to fetch all available datasets from the CDO API What I did in this script First of all I didn t create a client as it was suggested in the documentation I simply used DefaultClient object from http module I used http NewRequest to generate an http Request value with request method “GET and the URL was set to datasets endpoint which is “ or handle the error if the value can t be created As you can see I sent created request using http DefaultClient Do with my token for authentication in the headers ーreq Header Set Replace if you want to try this code with your actual token I got the response in the resp variable The resp Body was read using ioutil ReadAll and the response body data was stored in the body variable Finally the response body was printed using fmt Println string body I saw that the response returned in the form of a JSON formatted list of datasets in the results field Although the response was quite large I ll share a snippet of it here to give you an idea metadata resultset offset count limit results uid gov noaa ncdc C mindate maxdate name Daily Summaries datacoverage id GHCND I thought that I would like to make the JSON response more manageable and user friendly I guessed that I needed some kind of structure to match JSON response to it Prompted by my inquiry on how to map JSON to a variable ChatGPT offered a suggestion involving json Unmarshal However the example code it provided didn t yield the desired results I got the next error json cannot unmarshal number into Go struct field Dataset results datacoverage of type intThat was the perfect moment to dive into the documentation and explore the concepts of types in Go and how to perform JSON data unmarshaling So by defining a struct with the appropriate fields that matched the result JSON structure I could create a structured representation of the data Using json Unmarshal function I was able to convert the JSON response into the corresponding Go struct Below you can find an updated version of the code What I did in the code So I looked at JSON structure where all fields were strings except datacoverage which was actually float uid gov noaa ncdc C mindate maxdate name Daily Summaries datacoverage id GHCND Then I defined two struct types Dataset and Datasets The Dataset struct mirrored the results field of the JSON response including the corresponding data types for each field On the other hand the Datasets struct served as a list of Dataset objects After that I sent GET request the same way as it was done in the first script version and I used json Unmarshal to match results field from body variable into the datasets variable Then I used a loop to iterate over the Results field of the datasets variable and print the Name field of each dataset You can also observe the error handling mechanism errors were handled by printing the error message and returning from the function As expected I run my code and I got my list of datasets names as a result go run It seems that the “Daily Summaries dataset could be a suitable candidate for our project s needs Saving AchievementsAfter successfully creating my initial Go script that received a response from the CDO API I decided it was time to push my changes to the repository and merge my branch Additionally I made sure to exclude the DS Store file which is a macOS specific file from version control using the gitignore file Carefully reviewing my changes I pushed it to my branch Then I opened a PR to main branch and merged it ConclusionIn this part I have come across an interesting idea for my personal project as part of my journey to learn the Go language I ve successfully set up my local development environment selected a weather API and retrieved some data from it with the assistance of ChatGPT With these important steps completed I am now prepared to move forward with my project In the next part I will focus on exploring and analyzing the data I have obtained from the API Keep following this adventure to witness the progress I make in my Go journey 2023-07-04 19:27:11
Apple AppleInsider - Frontpage News Apple's Windows Game Porting Toolkit gets faster with new update https://appleinsider.com/articles/23/07/04/apples-windows-game-porting-toolkit-gets-faster-with-new-update?utm_medium=rss Apple x s Windows Game Porting Toolkit gets faster with new updateApple has updated the Game Porting Toolkit with version of the development tool now working at a higher level of performance when running Windows games on a Mac The introduction of the Game Porting Toolkit during WWDC offered a way to show developers what a game made for Windows could look like when running on a Mac The kit included elements such as an emulation interface to give developers an idea of how their game will run under macOS Updated on June and first reported by Andrew Tsai via YouTube on Tuesday Game Porting Toolkit Beta is a refresh of the original release However while Apple doesn t offer any documentation about what s different in the release there are a number of good changes to the kit Read more 2023-07-04 19:36:35
海外TECH Engadget Judge blocks federal officials from contacting tech companies https://www.engadget.com/judge-blocks-federal-officials-from-contacting-tech-companies-192554203.html?src=rss Judge blocks federal officials from contacting tech companiesA judge has blocked the Biden administration and other federal officials from communicating with social media companies in a case that could have far reaching implications On Tuesday a Trump appointed judge granted the state attorneys general in Louisiana and Missouri a temporary injunction against the federal government reports The Washington Post The two Republican lawyers sued President Joe Biden and other top government officials including Dr Anthony Fauci and Surgeon General Vivek Murthy last year accusing them of colluding with Meta Twitter and YouTube to remove “truthful information related to the COVID lab leak theory election and other topics Although he has yet to make a final ruling in the case Judge Terry A Doughty wrote in his order that the Republican attorneys general “produced evidence of a massive effort by Defendants from the White House to federal agencies to suppress speech based on its content While the order grants some exceptions for the government to communicate with Meta Twitter and YouTube it also specifically targets more than a dozen individual officials Among those are Jen Easterly the director of the Cybersecurity and Infrastructure Security Agency and Alejandro Mayorkas the secretary of Homeland Security The lawsuit is the latest effort by some Republicans to allege the Biden administration pressured social media platforms to censor conservative views The GOP has aired that grievance in a few different venues ーincluding most notably a contentious House Oversight Committee hearing at the start of the year related to the so called “Twitter Files The lawsuit from the attorneys general of Louisiana and Missouri takes a different tack Instead of directly targeting Meta Twitter and YouTube which argue they have a First Amendment right to decide what content is allowed on their platforms the attorneys general sued the federal government Whatever happens next that strategy has already led to the most successful effort yet to counter online content moderation nbsp Separately it s worth noting Meta Twitter and YouTube have all recently scaled back their moderation policies in one way or another In the case of YouTube for instance the company said last month it would begin allowing videos that falsely claim fraud occurred during the election Meta meanwhile last month back its COVID misinformation rules for Instagram and Facebook in countries where the pandemic is no longer deemed a national emergency nbsp This article originally appeared on Engadget at 2023-07-04 19:25:54
海外TECH CodeProject Latest Articles Using Decorators to Instrument Python Code with OpenTelemetry Traces https://www.codeproject.com/Articles/5364037/Using-Decorators-to-Instrument-Python-Code-with instrument 2023-07-04 19:48:00
Linux OMG! Ubuntu! Firefox 115 Released with Intel GPU Video Decoding on Linux https://www.omgubuntu.co.uk/2023/07/firefox-115-intel-gpu-video-decoding-on-linux Firefox Released with Intel GPU Video Decoding on LinuxA brand new version of the Mozilla Firefox web browser is rolling out ーand it s a real doozy Linux users with Intel GPUs will be pleased to hear Mozilla Firefox supports hardware video decoding by default Most devices with Intel graphics hardware benefit from this feature which is powered by the open source Video Acceleration API VA API Those on devices lacking platform support for H video decoding will benefit from a fallback to Cisco s OpenH plugin when playing compatible content in this release and up Linux users can also middle click on the new tab button to open clipboard This post Firefox Released with Intel GPU Video Decoding on Linux is from OMG Ubuntu Do not reproduce elsewhere without permission 2023-07-04 19:01:37
海外科学 NYT > Science Edward Fredkin, 88, Who Saw the Universe as One Big Computer, Dies https://www.nytimes.com/2023/07/04/science/edward-fredkin-dead.html Edward Fredkin Who Saw the Universe as One Big Computer DiesAn influential M I T professor and an outside the box scientific theorist he gained fame with unorthodox views as a pioneer in digital physics 2023-07-04 19:34:47
海外科学 NYT > Science Frank Field, Who Brought Expertise to TV Weathercasting, Dies at 100 https://www.nytimes.com/2023/07/02/business/media/frank-field-dead.html Frank Field Who Brought Expertise to TV Weathercasting Dies at The first meteorologist to forecast the weather on New York television he later became known for among other things publicizing the Heimlich maneuver 2023-07-04 19:19:51
医療系 医療介護 CBnews 金額ベース目標導入で変化する後発医薬品採用戦略-データで読み解く病院経営(179) https://www.cbnews.jp/news/entry/20230704164727 代表取締役 2023-07-05 05:00:00
ニュース BBC News - Home Partygate: Police reopen investigation into Tory 'jingle and mingle' event https://www.bbc.co.uk/news/uk-politics-66103922?at_medium=RSS&at_campaign=KARANGA Partygate Police reopen investigation into Tory x jingle and mingle x eventThe Met reopens probe into Tory HQ party but will not investigate Boris Johnson over further alleged breaches of Covid rules 2023-07-04 19:37:21
ニュース BBC News - Home Mason Mount: Midfielder says move from Chelsea to Man Utd is right step for his career https://www.bbc.co.uk/sport/football/66103235?at_medium=RSS&at_campaign=KARANGA manchester 2023-07-04 19:43:49
ビジネス ダイヤモンド・オンライン - 新着記事 キーエンスを競合企業がマネできない4つの理由、構造化と再現性こそが高収益の要【動画】 - キーエンス流 営業・企画・戦略の強化書 https://diamond.jp/articles/-/324494 キーエンスを競合企業がマネできないつの理由、構造化と再現性こそが高収益の要【動画】キーエンス流営業・企画・戦略の強化書キーエンスが実践する経営戦略の最も根幹にある思想とは特集『キーエンス流営業・企画・戦略の強化書』最終回は、競合企業がキーエンスほどの収益性を実現できないつの理由を解説します。 2023-07-05 04:50:00
ビジネス ダイヤモンド・オンライン - 新着記事 FRB「利上げ再加速」はあるのか、“利上げ不十分説”がくすぶる理由 - 経済分析の哲人が斬る!市場トピックの深層 https://diamond.jp/articles/-/325589 引き締め 2023-07-05 04:45:00
ビジネス ダイヤモンド・オンライン - 新着記事 日本株は「中国の逆風」恐れるに足らず!米著名投資家が“懐疑論者”を無視する理由 - 政策・マーケットラボ https://diamond.jp/articles/-/325587 株式市場 2023-07-05 04:40:00
ビジネス ダイヤモンド・オンライン - 新着記事 社会主義運動の先駆者、荒畑寒村が解説する「大正時代の労働組合」 - The Legend Interview不朽 https://diamond.jp/articles/-/325531 thelegendinterview 2023-07-05 04:35:00
ビジネス ダイヤモンド・オンライン - 新着記事 米雇用統計の盲点、就業者数増は過大? - WSJ PickUp https://diamond.jp/articles/-/325586 wsjpickup 2023-07-05 04:30:00
ビジネス ダイヤモンド・オンライン - 新着記事 ブランディングは企業経営そのもの 生き残りに欠かせない最良の一手 - サステナビリティ・ブランディング https://diamond.jp/articles/-/325460 ブランディングは企業経営そのもの生き残りに欠かせない最良の一手サステナビリティ・ブランディング『サステナビリティ・ブランディング選ばれ続ける企業価値のつくりかた』伊佐陽介著は、人それぞれの捉え方が異なり曖昧なものでありながら、企業経営にとって欠かすことのできない「サステナビリティ」と「ブランディング」というつの要素を再定義し組み合わせることで可能になる企業の成長戦略をまとめた注目の書籍である。 2023-07-05 04:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 「心が疲れやすい人」でもメンタルがすぐ回復する“シンプルな方法” - 「静かな人」の戦略書 https://diamond.jp/articles/-/324915 静か 2023-07-05 04:22:00
ビジネス ダイヤモンド・オンライン - 新着記事 【全米屈指のデータサイエンティストが教える】「充実感」と「幸福感」が同時にアップするお金の使い方 - JUST KEEP BUYING https://diamond.jp/articles/-/324895 【全米屈指のデータサイエンティストが教える】「充実感」と「幸福感」が同時にアップするお金の使い方JUSTKEEPBUYING【発売たちまち大重版】全世界万部突破『サイコロジー・オブ・マネー』著者モーガン・ハウセルが「絶対読むべき一冊」と絶賛。 2023-07-05 04:19:00
ビジネス ダイヤモンド・オンライン - 新着記事 【中川政七商店・中川政七さん】「どこかピンとこない企業理念」には何が足りないのか? - 理念経営2.0 https://diamond.jp/articles/-/323893 【中川政七商店・中川政七さん】「どこかピンとこない企業理念」には何が足りないのか理念経営年以上の歴史を誇る中川政七商店は、工芸をベースにした生活雑貨の企画・製造・販売を手がけると同時に、企業や地域などのコンサルティング事業も展開する会社。 2023-07-05 04:16:00
ビジネス ダイヤモンド・オンライン - 新着記事 【成長株の見つけかた】棚卸資産の動きで、会社の危ない兆候をチェックする - 株の投資大全 https://diamond.jp/articles/-/325601 「株投資をはじめたいけど、どうしたらいいのか」。 2023-07-05 04:13:00
ビジネス ダイヤモンド・オンライン - 新着記事 【精神科医が教える】 自己肯定感が高まる“逆転の発想法”ベスト1 - 精神科医Tomyが教える 40代を後悔せず生きる言葉 https://diamond.jp/articles/-/323906 【精神科医が教える】自己肯定感が高まる“逆転の発想法ベスト精神科医Tomyが教える代を後悔せず生きる言葉【大好評シリーズ万部突破】誰しも悩みや不安は尽きない。 2023-07-05 04:10:00
ビジネス ダイヤモンド・オンライン - 新着記事 【お金を増やす】元手10万円を1億円に増やす方法・ステップ1 - 10万円から始める! 小型株集中投資で1億円 【1問1答】株ドリル https://diamond.jp/articles/-/324310 【お金を増やす】元手万円を億円に増やす方法・ステップ万円から始める小型株集中投資で億円【問答】株ドリル【大好評シリーズ万部突破】東京理科大学の大学生だったとき、夏休みの暇つぶしで突如「そうだ、投資をしよう」と思い立った。 2023-07-05 04:07:00
ビジネス ダイヤモンド・オンライン - 新着記事 お茶の水女子大学のキャンパスはどんな雰囲気?【キャンパスミニレビュー付き】 - 大学図鑑!2024 有名大学82校のすべてがわかる! https://diamond.jp/articles/-/325567 2023-07-05 04:04:00
ビジネス ダイヤモンド・オンライン - 新着記事 職場にいる「仕事で結果を出せる人」と「仕事で結果を出せない人」の決定的な差とは - 1秒で答えをつくる力 お笑い芸人が学ぶ「切り返し」のプロになる48の技術 https://diamond.jp/articles/-/325566 2023-07-05 04:01:00
ビジネス 東洋経済オンライン 京急線の「要衝」が激変?京急川崎駅の未来図 品川・羽田・横浜つなぐ「トライアングル」の中心 | 駅・再開発 | 東洋経済オンライン https://toyokeizai.net/articles/-/684170?utm_source=rss&utm_medium=http&utm_campaign=link_back 京急川崎駅 2023-07-05 04:30:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)