python |
Pythonタグが付けられた新着投稿 - Qiita |
面倒な文字起こしに音声認識AI whisperを使ってみた話 |
https://qiita.com/broccolibroccolibroccoli/items/9a862cf279853f7a3fbc
|
aiwhisper |
2023-05-30 00:22:01 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【メモ書き】無数のPDFをPythonで黒塗りする |
https://qiita.com/Hiromasa_H/items/e178ce3b16c76778de80
|
acrobat |
2023-05-30 00:11:03 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
パレートの法則をPythonで表現する |
https://qiita.com/hideh_hash_845/items/ec75ebd4521f5ca0ea5b
|
表現 |
2023-05-30 00:10:55 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
Rubyバージョンのアップグレード手順 |
https://qiita.com/yukisakakima/items/bbb42a606787140a1a5e
|
記述 |
2023-05-30 00:52:55 |
Linux |
Ubuntuタグが付けられた新着投稿 - Qiita |
【Ubuntu 22.04】Sphinxの文書生成を1からめちゃくちゃ丁寧にやる |
https://qiita.com/Nenshu_agetai/items/3dc7b2d7717e7bb07c47
|
qiita |
2023-05-30 00:41:49 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
ROSA with Hosted Control Plane の Tech Preview |
https://qiita.com/1ksen/items/2c57887daf9f2e45c880
|
redhat |
2023-05-30 00:08:22 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
イメージで掴む、Dockerの環境構築&Dockerコマンド基礎【Dockerコンテナ・グレートジャーニー②】 |
https://qiita.com/Toyo_m/items/94de894a8558d94b02d1
|
docker |
2023-05-30 00:59:48 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
Dockerとは |
https://qiita.com/am9/items/96c13850e46251c4d0fb
|
docker |
2023-05-30 00:15:09 |
技術ブログ |
Developers.IO |
[アップデート]Amazon Detectiveが検出結果の相関を可視化するFinding Group Visualization機能が追加されました |
https://dev.classmethod.jp/articles/detective-support-finding-group-visualization/
|
amazondetective |
2023-05-29 15:48:03 |
技術ブログ |
Developers.IO |
AWS Security Hubの統合コントロール結果をCloudShellから全リージョン設定変更してみた |
https://dev.classmethod.jp/articles/security-hub-consolidated-control-findings-modified-with-cloudshell/
|
awssecurityhub |
2023-05-29 15:10:48 |
海外TECH |
MakeUseOf |
How to Pin Almost Anything to the Windows 11 Taskbar |
https://www.makeuseof.com/windows-11-taskbar-pin-almost-anything/
|
access |
2023-05-29 15:16:17 |
海外TECH |
DEV Community |
ElectronJs How to minimize/close window to system tray or in the background |
https://dev.to/brojenuel/electronjs-how-to-minimizeclose-window-to-system-tray-or-in-the-background-11c6
|
ElectronJs How to minimize close window to system tray or in the backgroundClosing apps in the system tray or taskbar is a common practice to manage computer resources and improve system performance In this article let us look at how we can set it up on our electron projects Full Article On How We Can Achieve this |
2023-05-29 15:36:16 |
海外TECH |
DEV Community |
Changelog #0024 — ✨️ Improved variables and more |
https://dev.to/pie/changelog-0024-improved-variables-and-more-149h
|
Changelog ー️Improved variables and moreCheck out what s new in HTTPie for Web amp Desktop and HTTPie for Terminal Summary🪆Recursive variables ー Keep your variables DRY and atomic ️Inline name editing ー Quickly rename requests and collections Save body as file ーSave body as file directly from the client Re order variables ー Bring order to your variables Re order environments ー And to your environments as well Other enhancements ー Use longer collection amp request names etc CLI v ー A compatibility bug fix release HTTPie for Web amp Desktop 🪆Use variables recursivelyReferencing a variable from another variable s value Why not‽HTTPie now resolves variables recursively to help you keep your Spaces DRY ️Edit names inlineQuickly change the name of a request or collection with a double click Just like that Simple Save body as fileYou could always copy the request and response body Now you can also save it as a file directly from the client Re order variablesHTTPie orders your variables by the creation time by default Now you can use any ordering system that makes sense for your variables Re order environmentsAnd you can now re order environments as well 🪷 Other enhancementsCollection and request names now may be up to characters long Numerous under the hood stability and performance improvements HTTPie for Terminal HTTPie for Terminal v is now available This version fixes compatibility with urllib Happy API testing and see you again soon ️Thoughts Questions Shoot us an email at feedback httpie io You can also help us improve by completing a quick survey Follow httpie and join our Discord community to stay up to date We re looking for new colleagues in engineering and design roles Originally published on |
2023-05-29 15:21:36 |
海外TECH |
DEV Community |
Deferred and Promise Object in jQuery |
https://dev.to/aryan_shourie/deferred-and-promise-object-in-jquery-3gib
|
Deferred and Promise Object in jQueryjQuery is an open source JavaScript library that simplifies the interactions between an HTML CSS document or more precisely the Document Object Model DOM and JavaScript The only library available today that meets the needs of both designers and programmers is jQuery Deferred ObjectThe Deferred Object in jQuery is an object that can create a Promise and change its state to resolved or rejected It is created when a function that performs an asynchronous task is called The basic syntax of using the Deferred Object is var deferred Deferred deferred done function result success callback fail function error failure callback progress function progress progress callback Promise ObjectThe Promise Object is a promise about a future value It can be used to register callbacks that will be executed when the asynchronous task is completed successfully The basic syntax of using the Promise Object is var promise ajax url example com api data promise done function result success callback fail function error failure callback always function callback to be executed regardless of success or failure Methods used in Deferred Object resolve args It resolves the deferred object and triggers all the successful callbacks reject args It rejects the deferred object and triggers all the failed callbacks done callback It registers a callback to be executed when the deferred object is resolved successfully fail callback It registers a callback to be executed when the deferred object is rejected progress callback It registers a callback to be executed when the deferred object sends a progress update always callback It registers a callback to be executed regardless of whether the deferred object is resolved or rejected Methods used in Promise Object done callback It registers a callback to be executed when the promise object is resolved successfully fail callback It registers a callback to be executed when the promise object is rejected always callback It registers a callback to be executed regardless of whether the promise object is resolved or rejected then successCallback failureCallback It registers the success and failure callbacks all at once catch failureCallback It registers a callback to be executed when the promise object is rejected Including jQuery in the project There are multiple ways to start using jQuery in your project Use the Google hosted Microsoft hosted Content Delivery Network CDN to include a version of jQuery Download your own version of jQuery from the official jQuery website and host it on the server or the local filesystem Example In this example we will see the working of the Deferred object using jQuery Write the following code in your HTML file lt DOCTYPE html gt lt html gt lt head gt lt title gt Deferred Object Example lt title gt lt script src gt lt script gt lt head gt lt body gt lt h gt This is an example of Deferred Object in jQuery lt h gt lt h gt welcome to DEV lt h gt lt div id result gt lt div gt lt script gt function fetchData var deferred Deferred Simulate an asynchronous operation that takes seconds setTimeout function var data id name John deferred resolve data return deferred promise document ready function Call the fetchData function and register callbacks for success and failure fetchData done function data result text Data retrieved JSON stringify data fail function error result text Error error lt script gt lt body gt lt html gt OUTPUT The JavaScript code begins with a function called fetchData This function creates a new Deferred object using Deferred and assigns it to the deferred variable Inside the fetchData function there is a simulated asynchronous operation represented by the setTimeout function It delays the execution for seconds and then resolves the Deferred object with a data object containing an ID and a name Inside the document ready function the fetchData function is called The returned promise is used to attach callbacks using the done and fail methods Example In this example we will see the working of a Promise object using jQuery Write the following code in your HTML file lt DOCTYPE html gt lt html lang en gt lt head gt lt meta charset UTF gt lt title gt Promise Object Example lt title gt lt head gt lt body gt lt h gt This is an example of Promise object in jQuery lt h gt lt h gt welcome to DEV lt h gt lt div id data gt lt div gt lt script gt function fetchData return new Promise resolve reject gt setTimeout gt const data id name John Doe simulate a successful API call resolve data simulate an error response from the API reject new Error Failed to fetch data fetchData then data gt const dataDiv document getElementById data dataDiv innerText JSON stringify data catch error gt console error Error error lt script gt lt body gt lt html gt OUTPUT The JavaScript code defines a function fetchData In this function a new Promise object is created using the Promise constructor The Promise constructor takes a callback function with parameters resolve and reject These parameters are functions used to indicate the success or failure of the asynchronous operation Outside the fetchData function the Promise object is used to attach callbacks using the then and catch methods Advantages and Disadvantages of Deferred Object Advantages The use of Deferred objects allows the users to easily combine the asynchronous operations together The Deferred objects provide a consistent interface for handling both successful and failed asynchronous operations Disadvantages The Deferred object is exclusive to jQuery so it can t be used in other JavaScript frameworks Using the Deferred objects can add some overhead to the code both in terms of processing time and memory usage Advantages and Disadvantages of Promise Object Advantages Promises can be easily chained or combined together This makes it simpler to handle multiple asynchronous operations Promises provide a more standardized interface for handling asynchronous operations as compared to callbacks and deferred objects Disadvantages Promises do not have built in support for canceling asynchronous operations which can be problematic in some scenarios The syntax for working with promises can be more complex as compared to other approaches And thats it You have successfully learnt about the Deferred and Promise objects in jQuery Connect with me on Linkedin LinkedinDo check out my Github for amazing projects GithubView my Personal Portfolio Aryan s Portfolio |
2023-05-29 15:21:17 |
海外TECH |
DEV Community |
Changelog #0023 — 🛠️ Internal refactoring and improvements |
https://dev.to/pie/changelog-0023-internal-refactoring-and-improvements-41ga
|
Changelog ー️Internal refactoring and improvementsHTTPie for Web amp Desktop v x is out and it s probably our biggest release yet ーregarding lines of code changed anyway What s newAdded the ability to sync requests with binary data in text bodiesAdded the ability to sync requests with binary data in form field valuesFixed various sync issues preventing some users from fully syncingFixed the auto update dialog to appear only once for each versionFixed an occasional crash when re ordering items via drag and dropNumerous small fixes and improvements throughout the app️A comprehensive refactoring and re architecture of the entire codebase️Internal DX optimizations for rapid development of upcoming features ️Internal refactoringWe focused on reducing technical debt accumulated over the past releases This led to a comprehensive refactoring and re architecture Our codebase v is much leaner and cleaner and our internal DX and development pace has greatly improved Most impactful has been reworking our data model layer and state management system The original codebase had evolved to keep much of its business logic inside jotai atoms and we generally had very little abstraction in the model layer This made the model layer code complex rigid and bug prone Our new data layer is powered by an internal framework where all entities are defined as classes inheriting from a base Model connected to a Backend The latter provides implementions of reactive CRUD on top of localStorage RxDB etc The decision to write our solution came after carefully evaluating existing options Our app is highly data driven and we couldn t find a solution to satisfy all our criteria class based models support for relationships swappable storage backends sync and React interface as an add on etc We took inspiration from the many frameworks we worked with throughout our careers And maybe surprisingly Django s ORM layer impacted our design choices and the API quite a bit The resulting framework relies on Zod for schemas and validation and Valtio for React integration We re extremely pleased with the result and hope to open source the framework soon We cannot wait to ship our upcoming AI collaboration and scripting features we re building already using the new framework Happy API testing and see you again soon ️Thoughts Questions Shoot us an email at feedback httpie io You can also help us improve by completing a quick survey Follow httpie and join our Discord community to stay up to date We re looking for new colleagues in engineering and design roles Originally published on |
2023-05-29 15:13:25 |
Apple |
AppleInsider - Frontpage News |
Foxconn raises joining bonuses in preparation for iPhone 15 |
https://appleinsider.com/articles/23/05/29/foxconn-raises-joining-bonuses-in-preparation-for-iphone-15?utm_medium=rss
|
Foxconn raises joining bonuses in preparation for iPhone Foxconn is offering sign up bonuses to new employees at its Zhengzhou factory in advance of its annual busy period when it mass produces the next model of iPhone A Foxconn workerEvery year Foxconn tries to get its workforce as large as possible at its Zhengzhou facility in Henan province China so it can keep up with orders for Apple s iPhone The swelling of the workforce to its potential maximum of employees is a seasonal affair with Foxconn typically offering bonuses to those who join the company s production lines Read more |
2023-05-29 15:35:53 |
Apple |
AppleInsider - Frontpage News |
Crash Detection feature & Apple Watch alert police to fatal car crash |
https://appleinsider.com/articles/23/05/29/crash-detection-feature-apple-watch-alert-police-to-fatal-car-crash?utm_medium=rss
|
Crash Detection feature amp Apple Watch alert police to fatal car crashPolice are investigating a fatal car crash in Ohio after an Apple Watch alerted them to the scene and anyone with information is asked to call the sheriff s office Crash Detection can alert emergency servicesAccording to the sheriff s office a single vehicle collision occurred between am and am near I North and I The crash was brought to the attention of Grove City police officers by an Apple Watch according to WBNS TV Read more |
2023-05-29 15:29:45 |
海外TECH |
Engadget |
Tesla will open its Supercharger network to other EVs in Canada |
https://www.engadget.com/tesla-will-open-its-supercharger-network-to-other-evs-in-canada-150057481.html?src=rss
|
Tesla will open its Supercharger network to other EVs in CanadaTesla s plan to open up Superchargers is now extending to Canada after the government revealed that the company will open access to some of its existing Supercharger network to other brands EVs The effort starts later this year with a pilot route between the capital city of Ottawa and Sudbury There will be opened stations by the end of and quot at least quot of those will be speedy kW Superchargers That performance is important given the focus on long distance travel ーthe open charger route will include a very large Trans Canada Highway stretch between Ottawa and Calgary The announcement comes alongside a plan to make EV chargers more accessible in the country The government is teaming up with partners to help install nearly EV chargers in multi use residential buildings offices public places and fleets Most of them will be modest Level chargers but this will include Level chargers Funding is going toward five ongoing projects installing as many as EV chargers The Canadian news comes just as Tesla promised Ford EV drivers access to North American Superchargers starting in spring Ford is also switching to Tesla s open source charge port standard with model year cars This is in addition to previous efforts to open Superchargers in the US and Europe While this isn t ubiquitous coverage it could be reassuring if you want a non Tesla EV but are worried about inconsistent charger quality Canada isn t a major EV hub like the US or China but it s taking steps to make itself an industry cornerstone Volkswagen will build its first North American EV battery plant in southern Ontario A deal for a Stellantis EV battery plant is on shaky ground but could be influential if it goes through Add the country s existing car manufacturing base and it may play an important role going forward Not that the nation has much choice ーif it s going to ban sales of combustion engine passenger cars by it needs to foster demand for EVs well in advance This article originally appeared on Engadget at |
2023-05-29 15:00:57 |
海外科学 |
NYT > Science |
When Is the Next Manhattanhenge? 2023 Dates, Times and Where to Watch |
https://www.nytimes.com/article/manhattanhenge-sunset-time.html
|
dates |
2023-05-29 15:13:17 |
海外科学 |
NYT > Science |
Ian Hacking, Eminent Philosopher of Science and Much Else, Dies at 87 |
https://www.nytimes.com/2023/05/28/science/ian-hacking-dead.html
|
Ian Hacking Eminent Philosopher of Science and Much Else Dies at Never limited by categories his free ranging intellect delved into physics probability and anthropology establishing him as a major thinker |
2023-05-29 15:52:35 |
金融 |
◇◇ 保険デイリーニュース ◇◇(損保担当者必携!) |
保険デイリーニュース(05/30) |
http://www.yanaharu.com/ins/?p=5201
|
cloud |
2023-05-29 15:14:12 |
金融 |
金融庁ホームページ |
実施計画の認定について公表しました。 |
https://www.fsa.go.jp/news/r4/ginkou/20230529/20230529-1.html
|
認定 |
2023-05-29 17:00:00 |
金融 |
金融庁ホームページ |
第30回金融機能強化審査会 議事要旨を公表しました。 |
https://www.fsa.go.jp/singi/soff/gijiyoshi/20230511.html
|
Detail Nothing |
2023-05-29 17:00:00 |
金融 |
金融庁ホームページ |
基盤的サービス維持計画の認可(株式会社八十二銀行、株式会社長野銀行)について公表しました。 |
https://www.fsa.go.jp/news/r4/ginkou/20230529/20230529-2.html
|
株式会社八十二銀行 |
2023-05-29 17:00:00 |
金融 |
金融庁ホームページ |
株式会社八十二銀行に対する子会社取得の認可について公表しました。 |
https://www.fsa.go.jp/news/r4/ginkou/20230529/20230529-3.html
|
株式会社八十二銀行 |
2023-05-29 17:00:00 |
金融 |
金融庁ホームページ |
金融審議会「公開買付制度・大量保有報告制度等ワーキング・グループ」(第1回)を開催します。 |
https://www.fsa.go.jp/news/r4/singi/20230605.html
|
金融審議会 |
2023-05-29 17:00:00 |
金融 |
金融庁ホームページ |
バーゼル銀行監督委員会、BIS決済・市場インフラ委員会及び証券監督者国際機構による報告書「2022年中の中央清算されるコモディティ市場における証拠金のダイナミクス」の公表について掲載しました。 |
https://www.fsa.go.jp/inter/ios/20230529.html
|
証券監督者国際機構 |
2023-05-29 16:59:00 |
金融 |
金融庁ホームページ |
「デジタル・分散型金融への対応のあり方等に関する研究会」(第10回)議事次第を公表しました。 |
https://www.fsa.go.jp/singi/digital/siryou/20230529.html
|
Detail Nothing |
2023-05-29 16:00:00 |
ニュース |
BBC News - Home |
Ukraine war: General Kyrylo Budanov promises revenge after latest Kyiv attack |
https://www.bbc.co.uk/news/world-europe-65740839?at_medium=RSS&at_campaign=KARANGA
|
attackthe |
2023-05-29 15:37:32 |
ニュース |
BBC News - Home |
Cheese rolling race: Hundreds compete in Coopers Hill event |
https://www.bbc.co.uk/news/uk-england-gloucestershire-65748124?at_medium=RSS&at_campaign=KARANGA
|
women |
2023-05-29 15:43:22 |
コメント
コメントを投稿