python |
Pythonタグが付けられた新着投稿 - Qiita |
[Python] pptx2md パワーポイントの資料をマークダウンに変換する。 |
https://qiita.com/hanaseleb/items/44742fd5881f4d159c8a
|
markdown |
2022-05-06 22:35:09 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
<Rails>jQueryインストール |
https://qiita.com/mochi93kou/items/e106adc2cbed10580bb2
|
macosmontereyruby |
2022-05-06 22:06:42 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AWS ECSの概念図をMermaidで書いてみた |
https://qiita.com/yas99en/items/c4828d04a006ab8bd711
|
gtserviceservicegttaskdef |
2022-05-06 22:12:58 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
<Rails>jQueryインストール |
https://qiita.com/mochi93kou/items/e106adc2cbed10580bb2
|
macosmontereyruby |
2022-05-06 22:06:42 |
技術ブログ |
Developers.IO |
リファラル採用への4ステップ |
https://dev.classmethod.jp/articles/referral-recruiting/
|
統括 |
2022-05-06 13:13:37 |
海外TECH |
MakeUseOf |
7 Warning Signs of a Bad Remote Job |
https://www.makeuseof.com/warning-signs-of-bad-remote-job/
|
remote |
2022-05-06 13:30:13 |
海外TECH |
MakeUseOf |
Spotify Is Discontinuing Duo Mix: Here's What You Need to Know |
https://www.makeuseof.com/spotify-duo-mix-discontinued/
|
playlists |
2022-05-06 13:17:28 |
海外TECH |
MakeUseOf |
Learn Piano Easily with PopuPiano, the Portable MIDI Keyboard and App |
https://www.makeuseof.com/popupiano-review/
|
device |
2022-05-06 13:05:13 |
海外TECH |
DEV Community |
Build a QA database |
https://dev.to/neuml/build-a-qa-database-5959
|
Build a QA databaseThis article is part of a tutorial series on txtai an AI powered semantic search platform txtai executes machine learning workflows to transform data and build AI powered semantic search applications Conversational AI is a growing field that could potentially automate much of the customer service industry Full automation is still a ways away most of us have been on a call with an automated agent and just want to get to a person but it certainly can be a solid first line before human intervention This article presents a process to answer user questions using a txtai embeddings instance It s not conversational AI but instead looks to find the closest existing question to a user question This is useful in cases where there are a list of frequently asked questions Install dependenciesInstall txtai and all dependencies pip install txtai datasets Load the datasetWe ll use a Hugging Face dataset of web questions for this example The dataset has a list of questions and answers The code below loads the dataset and prints a couple examples to get an idea of how the data is formatted from datasets import load datasetds load dataset web questions split train for row in ds select range print row question row answers what is the name of justin bieber brother Jazmyn Bieber Jaxon Bieber what character did natalie portman play in star wars PadméAmidala what state does selena gomez New York City what country is the grand bahama island in Bahamas what kind of money to take to bahamas Bahamian dollar Create indexNext we ll create a txtai index The question will be the indexed text We ll also store full content so we can access the answer at query time from txtai embeddings import Embeddings Create embeddings index with content enabled The default behavior is to only store indexed vectors embeddings Embeddings path sentence transformers nli mpnet base v content True Map question to text and store contentembeddings index uid url row url text row question answer join row answers None for uid row in enumerate ds Asking questionsNow that the index is built let s ask some questions We ll use txtai SQL to select the fields we want to return See the list of questions asked and best matching question answer combo def question text return embeddings search f select text answer score from txtai where similar text limit question What is the timezone of NYC answer North American Eastern Time Zone score text what time zone is new york under question Things to do in New York answer Chelsea Art Museum Brooklyn Bridge Empire State Building The Broadway Theatre American Museum of Natural History Central Park St Patrick s Cathedral Japan Society of New York FusionArts Museum American Folk Art Museum score text what are some places to visit in new york question Microsoft founder answer Bill Gates score text who created microsoft windows question Apple founder university answer Reed College score text what college did steve jobs attend question What country uses the Yen answer Japanese yen score text what money do japanese use question Show me a list of Pixar movies answer A Bug s Life Toy Story Ratatouille Cars Up Toy Story Monsters Inc The Incredibles Finding Nemo WALL E score text what does pixar produce question What is the timezone of Florida answer North American Eastern Time Zone score text where is the time zone in florida question Tell me an animal found offshore in Florida answer Largemouth bass score text what kind of fish do you catch in florida Not too bad This database only has over question answer pairs To improve quality a score filter could be put on the query to only return highly confident answers But this gives an idea of what is possible Run as an applicationThis can also be run as an application See below from txtai app import Application Save indexembeddings save questions tar gz Build application and index dataapp Application path questions tar gz Run search queryapp search select text answer score from txtai where similar Tell me an animal found offshore in Florida limit answer Largemouth bass score text what kind of fish do you catch in florida Wrapping upThis article introduced a simple question matching service This could be the foundation of an automated customer service agent and or an online FAQ For a full example see codequestion which is an application that matches user questions to Stack Overflow question answer pairs |
2022-05-06 13:41:35 |
海外TECH |
DEV Community |
My Personal Weekly Reviews in Dendron |
https://dev.to/mshiltonj/my-personal-weekly-reviews-in-dendron-3929
|
My Personal Weekly Reviews in DendronI ve struggled with time management staying focused and organization for my entire life I ve tried different processes and many tools both real and digital but nothing sticks It s a vicious and frustrating cycle But finally I think I found something that works for me Dendron is a VS Code extension and a knowledge management tool It s part wiki part todo list part journal part calendar and much more And it s all based on using plain markdown files But as a vscode extension it works inside the same tool I write code in That s the magic ingredient It s barely a context switch for me when I m coding vs writing notes in Dendron It s easy for me to move back and forth If you want to use Dendron as a team tool you can check your dendron vault into a git repository and share it as any regular codebase However I m using it as an individual planning tool to help me manage my time personal organization and goal setting Dendron has a built in daily journal feature that s easy to use But I also wanted a weekly review built in to my workflow So I created one To do this I create a schema and a template Schemas are a way to describe a file naming convention and which template to use when creating a new note with that convention All dendron notes are in the same directory There is no tree structure on the file system But don t worry you won t be using the Workspace view very much The Dendron extension comes with its own sidebar and its own views Dendron files use a dot namespaced notation to build a virtual tree structure For example a file named foo bar md will be a peer of foo bar md and the two notes will be in the foo namespace These files Creates this tree A common convention for managing templates is to put the notes in a templates namespace I press ctrl l to create a note named templates weekly review with this text loosely based on the David Allen s Getting Things Done methodology Secondly I create my weekly report schema file I press shift ctrl l to create a new schema and type in weekly review This create a new file called weekly review schema yml and I type in my schema document This document describes a file pattern with parts Schema files can be more complex where each part has multiple children but this one is fairly simple Each part gets its own id a possible pattern and the last one gets a template You can see we defined a template named templates weekly review md for the last schema part Notes named in the format of weekly report will match this schema Let s create it I press ctrl n to create new note I name it weekly report you don t give it the md extension and it comes pre populated with the template text we defined earlier Now every time I create weekly report note it is pre populated with questions for me to answer I can edit the template and it will be used for next week s report I am still ramping up my usage of dendron and my tree of notes is growing as I gather my thoughts outside my head and work toward managing my time and energy better It s working for me so far Maybe it s worth a try for you as well Also If you have ideas for a better weekly review template I d like to hear your suggestions |
2022-05-06 13:18:39 |
海外TECH |
DEV Community |
This website doesn't have an API, so I made my own, with extra features. |
https://dev.to/dhravya/this-website-doesnt-have-an-api-so-i-made-my-own-with-extra-features-3fd6
|
This website doesn x t have an API so I made my own with extra features The poet this twitter bot I made used to use selenium to extract tweets from literally going to the website pasting link taking a screenshot This had several several issues Very costly to hostInefficient by designSlowHighly prone to errors and crashesIt was time to change this So I went ahead and created a python script that uses the Python Image Library to generate the image This was quite challenging because I had to very painfully plot stuff pixel by pixel and also had to ensure that the tweet fits in the box for which I made my own trick where I vertically expanded the image I ll write a bigger blog explaining the code An API that anyone and everyone can useA frontend for the APIAn overall framework that works for twitter stuff for now but I ll also be able to implement the same for reddit posts and comments etc you get the pointIt was a lot of hassle to make things like mentions hashtags and link appear in blue color media support and the replies but I did it You can visit the website here To use it instantly on any tweet mention poet thisSo yeah it s time to change the name from poet this to beautify this lol But isn t this the same as poet so Well it is for the most part but I ve also added a very few but important extra features like replies showing up with a preview of the original tweet with the website doesn t have I also think that my updated design is betteralso THANK YOU SO MUCH for showing so much love on the last post Because of your support I got a forem shop voucher Even though I ll be unable to afford the shipping costs it means a lot to me to just receive the voucher |
2022-05-06 13:14:54 |
Apple |
AppleInsider - Frontpage News |
Apple's first Apple Store in Japan will be demolished in late 2022 |
https://appleinsider.com/articles/22/05/06/apples-first-apple-store-in-japan-to-be-demolished?utm_medium=rss
|
Apple x s first Apple Store in Japan will be demolished in late Apple Ginza was opened in and the building it is in will be demolished starting in September Apple Ginza was originally opened on November Based in the Sayegusa Building in Tokyo it was store was briefly closed over a bomb scare in Now according to Japan Property Central the entire story building is to be demolished A new story building with office and retail space will take its place from late Read more |
2022-05-06 13:46:52 |
Apple |
AppleInsider - Frontpage News |
Apple's Ireland subsidiary paid Apple US $24.8 billion for 2021 |
https://appleinsider.com/articles/22/05/06/apples-ireland-subsidiary-paid-apple-us-248-billion-for-2021?utm_medium=rss
|
Apple x s Ireland subsidiary paid Apple US billion for New filings from Apple s Irish head office show that the company s European operations earned billion in revenue of which it paid out billion to its US parent View from Apple s latest Cork offices Image Credit CorkBeoApple s counts as one of Ireland s biggest companies because it funnels income from the company s subsidiaries across Europe Traditionally it has done so in order to benefit from Ireland s low tax rate although that is now changing Read more |
2022-05-06 13:10:31 |
Apple |
AppleInsider - Frontpage News |
Alexa voice data sold for advertising, Ive's exit from Apple, and more on the AppleInsider podcast |
https://appleinsider.com/articles/22/05/06/alexa-voice-data-sold-for-advertising-ives-exit-from-apple-and-more-on-the-appleinsider-podcast?utm_medium=rss
|
Alexa voice data sold for advertising Ive x s exit from Apple and more on the AppleInsider podcastOn this week s AppleInsider Podcast your hosts talk about how developers can apply to attend WWDC in person examine a YouTuber s behind the scenes look at Apple s Fitness studio discuss Amazon s sale of Alexa voice data to over advertising partners and more Starting May existing Apple developers can apply to attend a special in person event on June at the Worldwide Developers Conference Details remain sparse on what the in person attendees will actually experience though Still the invitation states that attendees will watch the keynote and State of the Union videos alongside Apple engineers and experts ーplus explore the all new Developer Center Next YouTube creator iJustine has toured the Apple Fitness studio in Santa Monica California She interviewed VP of Fitness Jay Blahnik and several Fitness instructors on the planning rehearsal and production process of Fitness workouts Read more |
2022-05-06 13:05:45 |
海外TECH |
Engadget |
UK regulator will have the power to impose steep fines on Big Tech |
https://www.engadget.com/uk-cma-dmu-big-tech-regulator-powers-135032758.html?src=rss
|
UK regulator will have the power to impose steep fines on Big TechThe UK s recently established Big Tech regulator will have extensive authority to punish giant companies it deems anti competitive As TechCrunchnotes the country s Department for Digital Culture Media amp Sport DCMS has revealed that the Digital Markets Unit will have the power to levy fines of up to percent of a company s worldwide annual turnover if it doesn t honor codes of conduct plus up to five percent of daily turnover for each day the violations continue Firms will also have to make it easier to switch between platforms such as mobile devices and social networks break away from default apps including search and take more control of data sharing Big Tech will also have to report acquisitions to the Competition and Markets Authority before they close to determine if any quot further investigation quot is necessary The DMU could block acquisitions meant to stifle competition reducing the chances that the unit has to regulate when damage has already been done The CMA might not have ordered Meta to undo its acquisition of Giphy as an example The moves may require tech heavyweights to notify smaller companies when they change algorithms that could hurt their business the DCMS said Google might have to warn stores if changes will affect search rankings for example while Meta could alert media outlets if they ll be less prominent in Facebook s feed App creators meanwhile could also expect quot fairer and more transparent terms quot for offering their wares The UK also intends to borrow cues from Australia and Canada by ensuring that news publishers are quot paid fairly quot for online content The DMU could intervene to address pricing disputes for instance While the CMA clarified that it will consult with everyone involved before implementing a conduct code it already saw a need to address an quot imbalance of bargaining power quot that let online platforms strong arm publishers The effectiveness of the DMU will depend on the exact codes put in place and it doesn t yet have the authority DCMS promised It s not yet clear when that will happen If the new promises hold up though they could mandate sweeping changes at large tech companies Apple and Google might have to loosen restrictions on apps and operating system defaults while the likes of Amazon and Meta may have to increase transparency and be cautious when changing recommendation algorithms While fines taking a cut of global turnover are nothing new the DMU s maximum penalties are particularly steep and could leave Big Tech with little choice but to fall in line |
2022-05-06 13:50:32 |
海外科学 |
NYT > Science |
He Spurred a Revolution in Psychiatry. Then He ‘Disappeared.’ |
https://www.nytimes.com/2022/05/02/health/john-fryer-psychiatry.html
|
He Spurred a Revolution in Psychiatry Then He Disappeared In Dr John Fryer risked his career to tell his colleagues that gay people were not mentally ill His act sent ripples through the legal medical and justice systems |
2022-05-06 13:17:39 |
ニュース |
BBC News - Home |
Sir Keir Starmer investigated over alleged lockdown breach |
https://www.bbc.co.uk/news/uk-politics-61352174?at_medium=RSS&at_campaign=KARANGA
|
office |
2022-05-06 13:34:05 |
ニュース |
BBC News - Home |
McColl's collapses into administration |
https://www.bbc.co.uk/news/uk-61351412?at_medium=RSS&at_campaign=KARANGA
|
convenience |
2022-05-06 13:44:21 |
ニュース |
BBC News - Home |
Does football need a 60-minute 'stop-clock'? |
https://www.bbc.co.uk/sport/football/61342349?at_medium=RSS&at_campaign=KARANGA
|
champions |
2022-05-06 13:07:09 |
ニュース |
BBC News - Home |
Manchester United boss Ralf Rangnick defends Jesse Lingard decision |
https://www.bbc.co.uk/sport/football/61348096?at_medium=RSS&at_campaign=KARANGA
|
Manchester United boss Ralf Rangnick defends Jesse Lingard decisionManchester United interim manager Ralf Rangnick defends a decision not to give midfielder Jesse Lingard an Old Trafford farewell appearance |
2022-05-06 13:07:53 |
ニュース |
BBC News - Home |
How can I offer a UK home to Ukrainian refugees? |
https://www.bbc.co.uk/news/60735121?at_medium=RSS&at_campaign=KARANGA
|
ukrainian |
2022-05-06 13:40:01 |
北海道 |
北海道新聞 |
異分野タッグで地域課題解決 道内の経営者4人が新会社 比布町と連携協定 |
https://www.hokkaido-np.co.jp/article/677790/
|
得意分野 |
2022-05-06 22:29:00 |
北海道 |
北海道新聞 |
将棋の藤井五冠、王座戦で敗退 22年度は最大で六冠 |
https://www.hokkaido-np.co.jp/article/677787/
|
藤井聡太 |
2022-05-06 22:11:00 |
北海道 |
北海道新聞 |
NY円、130円前半 |
https://www.hokkaido-np.co.jp/article/677786/
|
外国為替市場 |
2022-05-06 22:10:00 |
北海道 |
北海道新聞 |
認可外施設で1歳児死亡、愛知 昨年6月、パン詰まらせ窒息か |
https://www.hokkaido-np.co.jp/article/677777/
|
愛知県内 |
2022-05-06 22:09:58 |
北海道 |
北海道新聞 |
ロシア、日本海でミサイル演習 対潜水艦、日米けん制か |
https://www.hokkaido-np.co.jp/article/677771/
|
太平洋艦隊 |
2022-05-06 22:08:09 |
北海道 |
北海道新聞 |
米4月の就業者数42万人増 伸び堅調、失業率3・6% |
https://www.hokkaido-np.co.jp/article/677785/
|
雇用統計 |
2022-05-06 22:07:00 |
北海道 |
北海道新聞 |
中ロの中央銀行、決済で協力 米撤退で銀聯の利用拡大 |
https://www.hokkaido-np.co.jp/article/677784/
|
中央銀行 |
2022-05-06 22:07:00 |
北海道 |
北海道新聞 |
機能集約、新庁舎始動 古平・複合施設「かなえーる」 |
https://www.hokkaido-np.co.jp/article/677724/
|
複合施設 |
2022-05-06 22:03:53 |
北海道 |
北海道新聞 |
クルーズ船、函館にもっと 待望の本年度寄港第1号 市、誘致に力 |
https://www.hokkaido-np.co.jp/article/677767/
|
商船三井客船 |
2022-05-06 22:01:00 |
仮想通貨 |
BITPRESS(ビットプレス) |
[日経] 日本に広がるWeb3ブーム Web2.0の教訓をいかせるか |
https://bitpress.jp/count2/3_9_13193
|
日経 |
2022-05-06 22:49:10 |
コメント
コメントを投稿