IT |
InfoQ |
Open Source SkyPilot Targets Cloud Cost Optimization for ML and Data Science |
https://www.infoq.com/news/2022/12/sykpilot-cloud-cost-optimization/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
|
Open Source SkyPilot Targets Cloud Cost Optimization for ML and Data ScienceA team of researchers at the RISELab at UC Berkeley recently released Skypilot an open source framework for running machine learning workloads on the major cloud providers through a unified interface The project focuses on cost optimization automatically finding the cheapest availability zone region and provider for the requested resources By Renato Losio |
2022-12-02 20:35:00 |
AWS |
AWS Machine Learning Blog |
Introducing one-step classification and entity recognition with Amazon Comprehend for intelligent document processing |
https://aws.amazon.com/blogs/machine-learning/introducing-one-step-classification-and-entity-recognition-with-amazon-comprehend-for-intelligent-document-processing/
|
Introducing one step classification and entity recognition with Amazon Comprehend for intelligent document processing“Intelligent document processing IDP solutions extract data to support automation of high volume repetitive document processing tasks and for analysis and insight IDP uses natural language technologies and computer vision to extract data from structured and unstructured content especially from documents to support automation and augmentation nbsp Gartner The goal of Amazon s intelligent document processing IDP … |
2022-12-02 20:10:30 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
[rails]Googlemap APIを使ってプチ食べログを作りたいのでテスト環境で途中まで実装してみた!(Googlemap表示位置の変更、新規投稿編) |
https://qiita.com/_soratanaka_/items/e751ec3a78db61f604e6
|
googlemap |
2022-12-03 05:43:27 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
[rails]Googlemap APIを使ってプチ食べログを作りたいのでテスト環境で途中まで実装してみた!(Googlemap表示位置の変更、新規投稿編) |
https://qiita.com/_soratanaka_/items/e751ec3a78db61f604e6
|
googlemap |
2022-12-03 05:43:27 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
[rails]Googlemap APIを使ってプチ食べログを作りたいのでテスト環境で途中まで実装してみた!(Googlemap表示位置の変更、新規投稿編) |
https://qiita.com/_soratanaka_/items/e751ec3a78db61f604e6
|
googlemap |
2022-12-03 05:43:27 |
海外TECH |
MakeUseOf |
How to Get Your Personal Festival Lineup From Spotify With Instafest |
https://www.makeuseof.com/instafest-create-spotify-festival-lineup/
|
artsits |
2022-12-02 20:02:44 |
海外TECH |
DEV Community |
Creating a Custom Language Code Editor Using React |
https://dev.to/kubeshop/creating-a-custom-language-code-editor-using-react-kg8
|
Creating a Custom Language Code Editor Using ReactIn this post we will showcase how we at Tracetest built a custom front end non simple code editor based on React for the advanced query language created by the team to target spans across an OTEL Trace Introduction to Our Advanced Selector Query LanguageTracetest allows users to create assertions targeting specific spans from a trace simply and reliably A Trace can be composed by N number of spans that at the same time can be nested repeated or split into multiple queue producer consumer sections Having a simple way to target the spans that matter for your assertions is instrumental to have good and reliable tests that will help you sleep at night To achieve this Tracetest uses a custom span selector language to target spans It inherits part of its syntax highlighting from CSS by using attribute matches pseudo selectors and child parent operators This query language enables users to create the selectors the Tracetest system uses to apply the different assertions Each section of the selector is composed of the following tokens Span Wrapper To start describing a query a span wrapper is the first thing that needs to be added Example span Attribute Matchers Inside the span wrapper a list of expressions can be added to narrow down the specific span that the user wants to match Example name get request tracetest span type database Pseudo Selectors Sometimes you ll need to be more specific around what span to choose from a collection and a pseudo selector similar to CSS can help with that Example span first Span Operators Currently the query language we ve built supports the child parent ancestor operator and Or operator You can write and combine both to match multiple spans or select one that is a child of a specific one Example span name get request span tracetest span type database span http status code contains Advanced Examples selects all HTTP spans which status code is span tracetest span type http http status code selects the first database span which database name is pokeshopspan tracetest span type database db name pokeshop first selects the second child of a span with name POST pokemon import which name is validate request span name POST pokemon import span name validate request nth child For more information about advanced selectors and the query language visit the Tracetest docs We Needed a Code Editor in Our UIThere are two main ways to use Tracetest The first is by using the CLI that can be fed by YAML text files allowing CI CD processes and automation The second is by using the UI to create tests execute requests and create assertions checks Tests created directly in YAML can be loaded into the UI and vice versa When using the YAML text files creating advanced queries is pretty straightforward as you can define the different selectors as text to trigger the process The complexity comes when trying to implement the same level of functionality the language provides in the UI as there can be many branches nested selectors operators etc The initial UI implementation only supported a single span wrapper with its attribute expressions and a separated input for pseudo selectors Another important issue is that if a user creates a selector that uses any of the language features that are not supported by the UI then when viewing it in the UI the selector won t match the original text version Trying to edit it will break the selector in most of the cases Creating the Non simple Code Editor in ReactAt Tracetest we knew we needed to let users build complex queries using some advanced query method in the near future And with that in mind we started thinking about the key features that we wanted to implement with the advanced editor They are Syntax HighlightingAutocompleteLint and Error PromptIn order to achieve this we started researching potential solutions and found Code Mirror Code Mirror is an all in one code editor for the web that can be extended to support multiple standard languages and themes like Javascript Go Ruby etc It also provides a simple way to build your own custom parsers and themes And that s just what we needed in order to accomplish the key features to come up with our own parser For that we used Lezer which is a tool to create custom grammar rules by specifying the different tokens and expressions As you learned at the beginning of this post we defined the query language tokens and based on that we started to mix them to create our expressions Things like BaseExpression Identifier Operator ComparatorValue orSpanOrMatch expression Comma list expression Once we had the grammar ready we could finalize the language setup using Typescript import LRLanguage LanguageSupport from codemirror language import styleTags tags as t from lezer highlight import parser from grammar export const tracetestLang LRLanguage define parser parser configure props styleTags Identifier t keyword String t string Operator t operatorKeyword Number t number Span t tagName ClosingBracket t tagName Comma t operatorKeyword PseudoSelector t operatorKeyword export const tracetest gt return new LanguageSupport tracetestLang Next we had to come up with a way to support Autocomplete and Linting The Code Mirror framework includes two separate packages to handle Autocomplete and Linting where you can add the different rules that combined with the parser can enable these features We created two custom hooks to handle this functionality that can be found here When complete the editor React component looked like this import useMemo from react import noop from lodash import CodeMirror from uiw react codemirror import autocompletion from codemirror autocomplete import tracetest from utils grammar import linter from codemirror lint import useAutoComplete from hooks useAutoComplete import useLint from hooks useLint import useEditorTheme from hooks useEditorTheme import as S from AdvancedEditor styled interface IProps testId string runId string value string onChange value string void const AdvancedEditor testId runId onChange noop value IProps gt const completionFn useAutoComplete testId runId const lintFn useLint testId runId const editorTheme useEditorTheme const extensionList useMemo gt autocompletion override completionFn linter lintFn tracetest completionFn lintFn return lt S AdvancedEditor gt lt CodeMirror data cy advanced selector value value maxHeight px extensions extensionList onChange onChange spellCheck false autoFocus theme editorTheme gt lt S AdvancedEditor gt export default AdvancedEditor Final Code Editor Look Feel and FunctionalityFrom the UI perspective this was the final result The video showcases the final version of the advance editor It includes a demo of the main features and how the React application switches the state of the Diagram when updating the code within the editor It also shows the invalid query state error message which validates if the input is valid before triggering the request to the backend At Tracetest we always try to provide you the best user experience No matter the platform UI CLI we want to ensure you have the tools to interact with the system in an easy way Having said that if you have any comments or suggestions feel free to join our Discord Community we are always looking for feedback that can help improve Tracetest in any way Using OpenTelemetry tracing you should be and want to give Tracetest a try Download Tracetest from Github MIT Licensed and experience the latest in trace based testing |
2022-12-02 20:31:06 |
海外TECH |
DEV Community |
What was your win this week? |
https://dev.to/michaeltharrington/what-was-your-win-this-week-43fp
|
What was your win this week Hey folks Hope y all all are having a fantastic Friday and that you enjoy your weekends Looking back on this past week what was something you were proud of accomplishing All wins count ーbig or small Examples of wins include Starting a new projectFixing a tricky bugDancing with your friends |
2022-12-02 20:06:47 |
Apple |
AppleInsider - Frontpage News |
Best portable power stations to keep lights on & iPhone charged in an emergency |
https://appleinsider.com/inside/accessories-and-io/best/best-portable-power-stations-to-keep-keep-lights-on-iphone-charged-in-an-emergency?utm_medium=rss
|
Best portable power stations to keep lights on amp iPhone charged in an emergencyPortable power stations come in many shapes and sizes We ve looked at a lot of them and we ve picked our favorites for a wide range of emergency and every day needs Find the best power station for your needsThere are many types of portable chargers that range from the tiny MagSafe Battery Pack to the hefty power station that can act as a whole home backup This roundup focuses on the medium size class of power stations that are larger than a power bank but still small enough to be considered portable Read more |
2022-12-02 20:10:16 |
海外TECH |
Engadget |
Pong's influence on video games endures 50 years later |
https://www.engadget.com/atari-pong-arcade-cabinet-anniversary-video-203045522.html?src=rss
|
Pong x s influence on video games endures years laterA game that is easy to learn but difficult to master This was the concept Atari founder Nolan Bushnell instilled into Allan Alcorn a then year old engineer prior to the development of one of the most recognizable games of all time Pong just over years ago Pong a video game in which a square is bounced between two rectangles controlled by players was released on November th of by Atari only a few days more than years ago Atari sold more than Pong arcade cabinets and a few years later the home version would become an instant success selling about units of a console that played nothing but Pong However despite how much time has passed and the massive changes the gaming industry has endured Pong s ーand Atari s ーinfluence on the world of video games remains prevalent today Watch the video below for the full story |
2022-12-02 20:30:45 |
海外TECH |
Engadget |
Google Messages starts testing end-to-end encryption for RCS group texts |
https://www.engadget.com/google-messages-testing-end-to-end-encryption-rcs-group-texts-200821838.html?src=rss
|
Google Messages starts testing end to end encryption for RCS group textsGoogle is starting to test end to end encryption EEE in Messages for RCS group chats on Android Some users who are enrolled in the Messages open beta program will gain access in the coming weeks ahead of a broader rollout The company said during its I O developer conference that an EEE beta for group chats would be available by the end of this year The move comes months after Google Messages started offering EEE for one on one conversations to shield chats from prying eyes It started testing EEE in Messages in November so it may be several months before the privacy feature is enabled for all group chats EngadgetMany carriers and phone manufacturers have gotten on board with RCS over the last several years to offer features such as high quality photos and videos read receipts and EEE The year old SMS format doesn t support any of those Still there s one company that s continuing to turn its nose up at RCS ーApple which is staying cozy inside the walled garden of iMessage Google has been publicly pleading with Apple to adopt RCS but so far those efforts haven t proven fruitful In September Apple CEO Tim Cook jokingly suggested that iOS users who are having trouble sending videos to a loved one with an Android device should just buy them an iPhone Nevertheless Google has been trying to improve iOS and Android messaging interoperability and it made another attempt to get Apple onboard with RCS in a blog post Today all of the major mobile carriers and manufacturers have adopted RCS as the standard ーexcept for Apple Messages group product manager Neena Budhiraja wrote Apple refuses to adopt RCS and continues to rely on SMS when people with iPhones message people with Android phones which means their texting is stuck in the s Still there are companies that are working on ways to make iMessage accessible on other devices Just this week the developers of an app called Sunbird claim to have gotten iMessage to work on Android |
2022-12-02 20:08:21 |
海外科学 |
BBC News - Science & Environment |
Bright-eyed tree frog wins ecology photo prize |
https://www.bbc.co.uk/news/science-environment-63838418?at_medium=RSS&at_campaign=KARANGA
|
competition |
2022-12-02 20:32:28 |
ニュース |
BBC News - Home |
Six children die with Strep A bacterial infection |
https://www.bbc.co.uk/news/health-63840591?at_medium=RSS&at_campaign=KARANGA
|
wales |
2022-12-02 20:00:41 |
ニュース |
BBC News - Home |
Prince William meets US President Joe Biden ahead of climate prize |
https://www.bbc.co.uk/news/uk-63837781?at_medium=RSS&at_campaign=KARANGA
|
earthshot |
2022-12-02 20:55:08 |
ニュース |
BBC News - Home |
World Cup 2022: Ecstasy and agony as South Korea progress at Uruguay's expense on another dramatic day |
https://www.bbc.co.uk/sport/football/63840635?at_medium=RSS&at_campaign=KARANGA
|
World Cup Ecstasy and agony as South Korea progress at Uruguay x s expense on another dramatic daySouth Korea s players are overwhelmed with joy while Luis Suarez and Uruguay cried tears of disbelief following a dramatic conclusion to Group H |
2022-12-02 20:02:37 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
日本電産EV事業に暗雲!トヨタ・ホンダら競合猛追で「永守流待ち伏せ戦法」封じ込めの危機 - 日本電産 永守帝国の自壊 |
https://diamond.jp/articles/-/313408
|
|
2022-12-03 05:25:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
値上げNOのサイゼリヤと値上げのすかいらーく、ロイホ、コメダ…外食4社の決算明暗 - ダイヤモンド 決算報 |
https://diamond.jp/articles/-/313892
|
|
2022-12-03 05:20:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
三菱商事と日本郵船「上方修正」、下方修正の村田製作所や東エレクと明暗【注目27社決算分析・後編】 - 最新決算反映! 円安、インフレ、金利上昇に負けない 強い株ランキング |
https://diamond.jp/articles/-/313400
|
三菱商事と日本郵船「上方修正」、下方修正の村田製作所や東エレクと明暗【注目社決算分析・後編】最新決算反映円安、インフレ、金利上昇に負けない強い株ランキング個人投資家やビジネスパーソンの注目度が高い企業の最新の四半期決算を回に分けて解説。 |
2022-12-03 05:15:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
富士ソフト社長が物言う株主の「自社オフィス持ち過ぎ」批判に反論、取締役ポスト巡り4日に臨時総会 - Diamond Premium News |
https://diamond.jp/articles/-/313891
|
計人の取締役ポストを巡る対立の背景にあるのが、富士ソフトの「過度な自社オフィス開発投資による低資本効率」Dだ。 |
2022-12-03 05:10:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「料理に凝りがちな男性」あるある、マイ包丁に高級食材…なぜこだわる? - 井の中の宴 武藤弘樹 |
https://diamond.jp/articles/-/313890
|
多種多様 |
2022-12-03 05:05:00 |
ビジネス |
東洋経済オンライン |
インドネシア高速鉄道、「G20」試運転の舞台裏 発車後の映像は「録画」でも実際に列車は走った | 海外 | 東洋経済オンライン |
https://toyokeizai.net/articles/-/635928?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
世界経済 |
2022-12-03 05:30:00 |
海外TECH |
reddit |
WWE: Report on ‘behind-the-scenes’ discussions regarding The Rock’s return plans |
https://www.reddit.com/r/SquaredCircle/comments/zawk7i/wwe_report_on_behindthescenes_discussions/
|
WWE Report on behind the scenes discussions regarding The Rock s return plans submitted by u Tornado to r SquaredCircle link comments |
2022-12-02 20:24:35 |
コメント
コメントを投稿