ROBOT |
ロボスタ |
AIカメラで動体検知・車番認証 フラップ板や入出庫ゲート、駐車券発券が不要なスマートパーキングシステムをNTTル・パルクが開始 |
https://robotstart.info/2023/04/17/smart-parking-launched.html
|
AIカメラで動体検知・車番認証フラップ板や入出庫ゲート、駐車券発券が不要なスマートパーキングシステムをNTTル・パルクが開始シェアツイートはてブNTTル・パルクはAIカメラによる動体検知・車番認証技術を活用した新しいコインパーキングシステム『NTTル・パルクスマートパーキング』を、年月日より提供を開始する。 |
2023-04-17 05:35:03 |
IT |
ITmedia 総合記事一覧 |
[ITmedia Mobile] Apple認定専門店「misumi STORE」でy.u mobileを取扱 基本料金最大3カ月間無料キャンペーンも |
https://www.itmedia.co.jp/mobile/articles/2304/17/news109.html
|
applepremiumreseller |
2023-04-17 14:20:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia PC USER] ワコム、「Wacom Cintiq 16/22」直販価格を値上げ 5月1日から |
https://www.itmedia.co.jp/pcuser/articles/2304/17/news108.html
|
itmediapcuser |
2023-04-17 14:13:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 大学生が働きたい会社 理系1位は「ソニー」、文系1位は? |
https://www.itmedia.co.jp/business/articles/2304/17/news101.html
|
itmedia |
2023-04-17 14:01:00 |
IT |
情報システムリーダーのためのIT情報専門サイト IT Leaders |
製パンのフランソア、WebEDIの受注に使うRPAツールを有償製品に乗り換え、実行時エラーを1/3に削減 | IT Leaders |
https://it.impress.co.jp/articles/-/24734
|
Autoジョブ名人Autoメール名人を提供したユーザックシステムが年月日に発表した。 |
2023-04-17 14:49:00 |
AWS |
AWS Japan Blog |
個人で無料で使用できる Amazon CodeWhisperer が一般公開されました |
https://aws.amazon.com/jp/blogs/news/amazon-codewhisperer-free-for-individual-use-is-now-generally-available/
|
amazoncodewhisperer |
2023-04-17 05:50:37 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Pipenv の Pipfile と steup.py の依存関係定義の比較・同期する方法 |
https://qiita.com/y_shinoda/items/bba9f5c76172d5768728
|
pipenv |
2023-04-17 14:43:45 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
天文データ解析入門 その25 (aplpy.FITSFigure 設定ほぼ全部盛り) |
https://qiita.com/Shinji_Fujita/items/acfddc6f327c2d94f2d2
|
almaphangs |
2023-04-17 14:35:09 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【Django】FormのCSS属性を設定する方法 |
https://qiita.com/ponponmaru1012/items/c081891cf89b8879e36a
|
django |
2023-04-17 14:23:54 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
Best Java Training Institute In Pune - IT Education Centre |
https://qiita.com/pkherde/items/f62d269322e9c31ea863
|
centrethe |
2023-04-17 14:58:39 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AWS経験1年のインフラエンジニアが10時間の勉強でAWS Certified Data Analytics - Specialtyに合格した方法 |
https://qiita.com/aoing_/items/5af98c6010553cd385bc
|
ieddataanalyticsspecialty |
2023-04-17 14:52:02 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
Dockerでしておいた方が良い設定Tips |
https://qiita.com/v1tam1n/items/39a8a5fab5004c950b4a
|
docker |
2023-04-17 14:49:32 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
UiPath Automation Suiteをインストールしてみた ~Azure編 |
https://qiita.com/hidecha/items/0af15f231c6bbd1f645c
|
azure |
2023-04-17 14:21:44 |
海外TECH |
DEV Community |
Build a Real-time Chat Application with Socket.io and Node.js [With Automated Testing] |
https://dev.to/pavanbelagatti/build-a-real-time-chat-application-with-socketio-and-nodejs-with-automated-testing-38h8
|
Build a Real time Chat Application with Socket io and Node js With Automated Testing In this tutorial let s learn how to use Socket IO and Node js and create a simple chat application We will set up a basic Node js app and install the necessary dependencies With a basic chat interface and add a simple feature where users can easily send and receive messages with the help of the Socket IO connection Socket io is a widely used library that helps with real time communication between web clients and servers Finally we will write a simple test with the Mocha framework and automate it through Harness CI PrerequisitesNode js installedNpm installedFree Harness CI account to automate testing TutorialInstall Node js on your machine You can download and install the latest version of Node js from the official website Create a new Node js project Open a terminal window and create a new directory for your project Navigate into the new directory and run the following command to create a new package json file for your project npm init yInstall Socket io Run the following command to install Socket io in your project npm install socket ioCreate a new Node js server Create a new file named server js in your project directory and add the following code const express require express const app express const http require http Server app const io require socket io http app use express static dirname public io on connection socket gt console log A user connected socket on disconnect gt console log A user disconnected socket on message message gt console log Received message message io emit message message http listen gt console log Server started on port This code adds an event listener for the message event which is emitted by the client when the user clicks the send button The server logs the message to the console and then emits a message event to all connected clients using the io emit method Create a new HTML file Create a new file named index html in the public directory and add the following code It adds an input field and a button to the index html file to allow users to send messages to the server Here s an example lt DOCTYPE html gt lt html gt lt head gt lt title gt Socket io Tutorial lt title gt lt head gt lt body gt lt h gt Socket io Tutorial lt h gt lt div id messages gt lt div gt lt input id message input type text placeholder Type your message here gt lt button id send button gt Send lt button gt lt script src socket io socket io js gt lt script gt lt script gt const socket io socket on connect gt console log Connected to server socket on disconnect gt console log Disconnected from server const messages document getElementById messages const messageInput document getElementById message input const sendButton document getElementById send button sendButton addEventListener click gt const message messageInput value socket emit message message messageInput value socket on message message gt const messageElement document createElement div messageElement innerText message messages appendChild messageElement lt script gt lt body gt lt html gt Start the server Run the following command in your terminal to start the server node server jsYou should see the output on your terminal below Server started on port And when you open the on your local you should see your chat app running This should be your application folder structure as of now socketio nodejs tutorial node modules public index html server js package json Add a Test Case to the Chat ApplicationSince Socket io is a real time framework it can be a bit challenging to write automated tests for it However we can write a simple test to verify that the client and server can communicate with each other and send receive messages Install the mocha testing framework and the chai assertion library by running the following command npm install mocha chai save dev Note Run the above command in the root of your app Make a new folder named test and add a file named test js in it with the following code const assert require chai assert const io require socket io client const serverUrl http localhost describe Socket io test function let client client before function done Connect to the server client io connect serverUrl client io connect serverUrl done after function done Disconnect from the server client disconnect client disconnect done it Should be able to send and receive messages function done client emit message Hello world client on message function msg assert equal msg Hello world done Now make sure your app is running In another terminal open the application and run the following command to test the application npm testYou should see a successful test passing message Push your application code to a source control management system such as GitHub My application code is here chat app tutorialYou can fork it or use your own the one you pushed to your GitHub to setup automated tests using a CI tool We are going to extend this tutorial to show you how you can automate tests Automate Tests using a CI toolHere we will be using the fastest CI tool Harness Sign in to your free Harness CI module Get started with creating your first pipelineAuthenticate with your GitHub account as your application code is present there Select your application repository Next start configuring the pipeline Select Node js from the list as our application is written in Node js What you will then see is a default yaml configuration for your Node js application Continue and click the Create the pipeline button You will the pipeline dashboard Click on the Build Node App stage you should see the run step added by default with pre configurations Click the Build Node App step that is under execution and you will see the default configurations We want the application to be running before testing it How to make the application run We will add a background step to run the server Configure the Background step with the commands shown below npm installnpm install express save devnode server jsThe screenshot of the same step is shown belowApply changes and add another step to test the application Choose the Run step from the step library Add the following commands to the run step npm installnpm testYou can see the screenshot of the run step with commands added Apply changes and save the pipeline At this point this is how your pipeline should look like Save everything and run the pipeline You should see a successful pipeline execution with test passing You have the pull and push triggers already enabled by default So when any developer pushes code to your main branch the pipeline gets triggered and runs the test This way the tests can be automated easily If you like to learn CI CD from scratch I have another tutorial you might like Take a look Learn How to Setup a CI CD Pipeline from Scratch Pavan Belagatti・Mar ・ min read tutorial devops go kubernetes |
2023-04-17 05:18:26 |
ニュース |
@日本経済新聞 電子版 |
爆発物、現場から約40メートル先で発見 首相演説会場
https://t.co/k2JMOG32zu |
https://twitter.com/nikkei/statuses/1647830497702350848
|
首相 |
2023-04-17 05:13:00 |
海外ニュース |
Japan Times latest articles |
Suspect in attack on Kishida sent to prosecutors as probe continues |
https://www.japantimes.co.jp/news/2023/04/17/national/crime-legal/kishida-explosion-probe/
|
wakayama |
2023-04-17 14:26:44 |
ニュース |
BBC News - Home |
Match of the Day Top 10: Gary Lineker's Everton statistic shocks Shearer and Micah |
https://www.bbc.co.uk/sport/av/football/65245096?at_medium=RSS&at_campaign=KARANGA
|
Match of the Day Top Gary Lineker x s Everton statistic shocks Shearer and MicahGary Lineker reveals his regret over not winning the league with Everton as Alan Shearer and Micah Richards relive their own title winning tales |
2023-04-17 05:16:01 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
株で勝ちたい? プロとは異なる手法を - WSJ発 |
https://diamond.jp/articles/-/321458
|
手法 |
2023-04-17 14:16:00 |
ビジネス |
東洋経済オンライン |
「岸田首相襲撃事件」1年前の悲劇と何が違ったか エリートSPの適切な動き、見直された警護要則 | 災害・事件・裁判 | 東洋経済オンライン |
https://toyokeizai.net/articles/-/666953?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
応援演説 |
2023-04-17 14:30:00 |
IT |
週刊アスキー |
10年の集大成! 横浜にぎわい座「三代目枝太郎まつり」を開催 |
https://weekly.ascii.jp/elem/000/004/133/4133102/
|
横浜にぎわい座 |
2023-04-17 14:20:00 |
IT |
週刊アスキー |
メタ、手描きイラストをアニメーションに変換するプロジェクトを発表 |
https://weekly.ascii.jp/elem/000/004/133/4133139/
|
animateddrawings |
2023-04-17 14:30:00 |
IT |
週刊アスキー |
エースコックのわかめラーメン/豚キムチの味がベビースターに 「ベビースタードデカイラーメン(エースコック わかめラーメン味/豚キムチ味)」 |
https://weekly.ascii.jp/elem/000/004/133/4133121/
|
豚キムチ |
2023-04-17 14:10:00 |
IT |
週刊アスキー |
新たに「立体成形方式」を採用してふっくらとしたおにぎりに! ローソン「金しゃりおにぎり」シリーズ刷新 |
https://weekly.ascii.jp/elem/000/004/133/4133133/
|
金しゃ |
2023-04-17 14:20:00 |
IT |
週刊アスキー |
「冷凍 完全メシ」にナポリタン・たらこパスタが登場 定期コースにめん好き向けのセットも |
https://weekly.ascii.jp/elem/000/004/133/4133135/
|
特別価格 |
2023-04-17 14:30:00 |
コメント
コメントを投稿