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

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
TECH Techable(テッカブル) GPT-4を自社専用に。嘘をつかない情報特化型自然会話AI作成サービス「Nolie」 https://techable.jp/archives/206137 hashlab 2023-05-14 13:00:57
python Pythonタグが付けられた新着投稿 - Qiita Databricks ノートブックにて Markdown 形式の文字列を整形して表示する方法 https://qiita.com/manabian/items/44c5fbc1b51caccd74a9 displa 2023-05-14 22:53:06
python Pythonタグが付けられた新着投稿 - Qiita 【個人開発】LINE BOT x GPT4 x Wolfram 学習アプリ ~ 宿題モードの追加 https://qiita.com/bizposan/items/317c040ddc910417a7fb linebotxgptxwolfram 2023-05-14 22:20:19
python Pythonタグが付けられた新着投稿 - Qiita [参考記事共有]IT資格についての記事共有について Part10 https://qiita.com/momozo_trademen/items/798dd5d4a85e1915ab20 qiita 2023-05-14 22:13:18
Ruby Rubyタグが付けられた新着投稿 - Qiita DynamoDbException: Conditions can be of length 1 or 2 only の対応方法 https://qiita.com/thiri-aung/items/4f6efc1a866f991a9a05 nconditionscanbeoflengtho 2023-05-14 22:53:32
Ruby Rubyタグが付けられた新着投稿 - Qiita NoMethodErrorに対応する https://qiita.com/Egyh/items/21fce244b38e5365520e nomethoderror 2023-05-14 22:48:12
Linux Ubuntuタグが付けられた新着投稿 - Qiita systemdを使ってプログラムの自動起動が上手く行かなかった時の備忘録 https://qiita.com/3dy3day/items/d521c4f685914a54f4f3 systemd 2023-05-14 22:45:54
Ruby Railsタグが付けられた新着投稿 - Qiita NoMethodErrorに対応する https://qiita.com/Egyh/items/21fce244b38e5365520e nomethoderror 2023-05-14 22:48:12
技術ブログ Developers.IO ChatGPT plugins のベータ提供が開始され、約70種類のプラグインが利用可能になっていました https://dev.classmethod.jp/articles/chatgpt-plugins-beta/ chatgpt 2023-05-14 13:55:30
技術ブログ Developers.IO AWS SDK for Python (Boto3)を使ってパブリックアクセスが可能なS3を作成してみた https://dev.classmethod.jp/articles/used-aws-sdk-for-python-boto3-to-create-s3-with-public-access/ awssdkforpythonboto 2023-05-14 13:39:39
海外TECH MakeUseOf 8 Ways to Fix Ghost Touch Problems With Android https://www.makeuseof.com/how-to-fix-ghost-touch-problem-android/ androidis 2023-05-14 13:45:16
海外TECH MakeUseOf How to Use gomphotherium: A Complete Fediverse Client for Your Linux Terminal https://www.makeuseof.com/use-gomphotherium-fediverse-client-linux/ How to Use gomphotherium A Complete Fediverse Client for Your Linux TerminalWant a terminal friendly way to scroll through your fediverse toots Consider installing gomphotherium a terminal based client for the fediverse 2023-05-14 13:30:18
海外TECH MakeUseOf 4 Reasons to Buy the Pro iPhone Models https://www.makeuseof.com/reasons-to-buy-pro-iphone-models/ extra 2023-05-14 13:16:18
海外TECH DEV Community Part 2 - Collecting repositories data with GitHub Actions workflow 🚀 https://dev.to/giorgiolasala/part-2-collecting-repositories-data-with-github-actions-workflow-4c Part Collecting repositories data with GitHub Actions workflow Mergestat is a powerful tool that allows users to analyze Git repositories and gather important insights related to the commit history but not only it It comes in two different modes Mergestat LiteMergestat Full The main difference between the two is that Mergestat Lite is a fast and lightweight local command line tool that uses SQL queries and SQLite to analyze Git repositories It doesn t load data into a SQLite database file but fetches data directly from the source like Git repositories on disk as queries run This makes it great for analyzing small repositories quickly but it might not be the best option for larger ones On the other hand Mergestat Full has a worker process that analyzes the repository and syncs the collected data into a PostgreSQL database This mode provides a more robust and scalable solution for collecting data from larger repositories and analyze it at a later stage Although my initial plan for GitHubHack challenge was to use Mergestat Lite to analyze the repository where the workflow was launched perform the analysis and create an issue via the GitHub API to summarize all the information collected using the mergestat summarize commits command I eventually chose to pursue a more complex solution Despite being more challenging I believed that this approach would be more versatile and capable of fully utilizing the potential of the tools available on GitHub In the end I decided to build a GitHub Action workflow that launch mergestat docker containers to analyze the repository store the results in a PostgreSQL database and export it as workflow artifact Workflow implementationThe workflow itself was not complex and used standard GitHub Actions jobs start runs on ubuntu latest steps name Checkout uses actions checkout v name Start containers run docker compose f docker compose yaml up d working directory scripts ci name Setup node uses actions setup node v with node version x cache npm cache dependency path scripts ci package lock json name Install run npm ci working directory scripts ci name Run script run npm start config json http localhost graphql working directory scripts ci name Postgres Dump run docker exec i postgres pg dump U postgres Fc Z postgres gt backup mergestat dump uses actions upload artifact v with name pg dump path scripts ci backup mergestat dump name Stop containers if always run docker compose f docker compose yaml down working directory scripts ciThe only challenging part was finding a way to instruct Mergestat to index the selected repositories using the command line as it is normally done via the UI Let s take it step by step Startup containers and install requirementsThe first step is to download the source code and start all the required containers for mergestat using docker compose To do this I used the YAML script available on the mergestat website removed the container for the graphical interface and most importantly simplified the authentication process towards the GraphQL API by modifying the default role of the Graphile Engine This way all API calls even those not authenticated will use the admin role and it will be possible to bypass the authentication call There might have been other ways but for the project s purposes this seemed to be the quickest and safest approach I had also started to figure out how to apply GitHub Services Container instead of docker compose to run PostgreSQL and the worker but from what I ve seen it s not yet possible to start a service container in our case the worker only when another container in our case PostgreSQL is ready After that I set up the environment for Node js installed the necessary packages and started compiling the TypeScript scripts Preparation script to indexing repositoryFor the writing of this script I had mainly two options either to understand the internal details of the database and write the appropriate SQL queries to insert the data or alternatively to use the same APIs that are used by the web portal In the end I chose the second option and to speed up the process I partly analyzed the calls made to the GraphQL endpoint using browser developer tools and partly studied the code reusing useful portions such as the schema queries and mutations I also made extensive use of Codespaces to have a ready to use environment when needed to spin up all needed tools async function main let configPath process argv if configPath console error ConfigPath is not valid configPath process exit console log configPath const config ConfigRoot ConfigReader read configPath let endpoint process argv console log Endpoint endpoint if endpoint endpoint defaultEndpoint graphQLClient new GraphQLClient endpoint await create config repositories let syncCompleted false const total config repositories length do const status await getReposStatus console log status console log Wait completing count repositories total syncCompleted await checkSyncCompleted status total await sleep while syncCompleted The script is quite long which is why you won t find it all in this article but it is of course available on the GitHub repository I don t write much Typescript code in general I mainly work on NET projects but apart from the initial configuration of the compilation scripts using ts node the rest went smoothly and it s just simple query and mutation GraphQL calls actually it was a great opportunity for me to deepen my knowledge of GraphQL with a different technology stack To make the script configurable a JSON configuration file is read such as repositories url syncs Git Commits Git Files url syncs Git Files where there is url repository absolute URLsyncs an array with the names of the synchronization types to enable on the repository here you can find other types However I would like to integrate in the next few days the association of a GitHub Personal Access Token PAT to enable all possible types of indexing Final stepsThe last step is to export the database and upload it as an artifact on GitHub In this case too there were many ways to perform the dump from using GitHub Actions available on the Marketplace or using command line and exporting plain scripts or gzip compressed tarballs I chose to use pg dump which is directly available inside the PostgreSQL container and export a dump in custom archive compressed mode docker exec i postgres pg dump U postgres Fc Z postgres gt backup mergestat dumpwhere U username parameter Fc custom archive output Z maximum compressionIn conclusion we upload the artifact to GitHub and shut down all the containers Don t miss out on next blog post where we ll explore how to set up Codespace to get all the tools you need for analysis Stay tuned 2023-05-14 13:13:37
Apple AppleInsider - Frontpage News Rumored next-generation Apple Silicon processor expected in fall 2023 at the earliest https://appleinsider.com/articles/23/05/14/rumored-next-generation-apple-silicon-processor-expected-in-fall-2023-at-the-earliest?utm_medium=rss Rumored next generation Apple Silicon processor expected in fall at the earliestApple s first Macs running M chips could arrive by the end of at the earliest a report from a reliable leaker claims with an M Pro variant of Apple Silicon variant expected to arrive as well A current M Max MacBook ProWhile Apple is currently introducing more Macs running on M chips it may not be that long before M becomes more of a focus for consumers Apple is apparently testing its M chips which will be set to succeed the M generation possibly by the end of Read more 2023-05-14 13:49:38
Apple AppleInsider - Frontpage News How to find AirPods that have been lost or stolen https://appleinsider.com/inside/airpods/tips/how-to-find-airpods-that-have-been-lost-or-stolen?utm_medium=rss How to find AirPods that have been lost or stolenApple s Find My network can help users locate their lost or stolen AirPods Here s how Find My AirPodsAlmost every Apple product connects together to create a mesh network over Bluetooth Wi Fi or Ultra Wideband This crowdsourced network is called Find My and it can help you get into the general vicinity of any missing Apple product even AirPods Read more 2023-05-14 13:20:23
Apple AppleInsider - Frontpage News Apple bracing for potential mixed reality headset production issues https://appleinsider.com/articles/23/05/13/apple-bracing-for-potential-mixed-reality-headset-production-issues?utm_medium=rss Apple bracing for potential mixed reality headset production issuesWhile Apple is apparently planning to ship its mixed reality headset later in the company is apparently preparing for problems to arise in manufacturing the device A render of a potential Apple headset AppleInsider The keynote of WWDC is expected to be dominated by Apple s headset an Apple VR or AR device that may ship to the public months later However in one report it seems that Apple is preparing for the introduction of a new hardware platform to be tougher than usual Read more 2023-05-14 13:36:36
ニュース BBC News - Home Labour considers extending voting rights to EU citizens https://www.bbc.co.uk/news/uk-politics-65590121?at_medium=RSS&at_campaign=KARANGA decisions 2023-05-14 13:47:12
ニュース BBC News - Home Coventry held by Middlesbrough in play-off first leg https://www.bbc.co.uk/sport/football/65528372?at_medium=RSS&at_campaign=KARANGA middlesbrough 2023-05-14 13:40:19
ニュース BBC News - Home Indian Premier League: Joe Root out for 10 as Royal Challengers Bangalore thrash Rajasthan Royals https://www.bbc.co.uk/sport/cricket/65589921?at_medium=RSS&at_campaign=KARANGA Indian Premier League Joe Root out for as Royal Challengers Bangalore thrash Rajasthan RoyalsJoe Root out for in his first Indian Premier League innings as Rajasthan Royals are thrashed by Royal Challengers Bangalore 2023-05-14 13:27:19

コメント

このブログの人気の投稿

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

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

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)