IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 最低賃金の引き上げに関する実態調査 66.2%が賃金の引き上げに「反対」 |
https://www.itmedia.co.jp/business/articles/2109/18/news021.html
|
itmedia |
2021-09-18 15:24:00 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【2021】モダンなPython開発環境の紹介 |
https://qiita.com/edge-m/items/846715217fc3dd481a84
|
【】モダンなPython開発環境の紹介はじめにPythonで開発を行うにあたり、リンタやフォーマッタ、パッケージマネージャ等のツールの選定は非常に重要な問題です。 |
2021-09-18 15:04:12 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
モダンなPython開発環境をpypjコマンドで構築する |
https://qiita.com/edge-m/items/06ca686b319a88712fac
|
コマンドエイリアスMakefileを用いたコマンドエイリアスが定義されていますCICDunittestをpushpullrequestのたびに実行するワークフローが定義されていますリポジトリにタグが打たれるとpypiへのPublishを行うワークフローが定義されていますdependendabotを用いた依存パッケージのバージョンチェックが定義されていますモダンなPython開発環境とは出来上がる環境→参考【】モダンなPython開発環境の紹介使い方pypjコマンドを実行し、パッケージ名を入力するだけです。 |
2021-09-18 15:03:05 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
javascript: filterとmap |
https://qiita.com/haisan_yhtt/items/acd002a33461f92c9f59
|
javascriptfilterとmapはじめにこれはGASでスプレッドシートを処理する中で理解したことを忘れないための備忘録ですデータ検証に利用する配列CurretGradeObjectcreateObjectsです。 |
2021-09-18 15:30:07 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
BashのAWKコマンドで、複数個の空白文字を扱い、出力したい |
https://teratail.com/questions/360137?rss=all
|
BashのAWKコマンドで、複数個の空白文字を扱い、出力したい前提・実現したいことbashのawkコマンドで、カンマ区切りのデータを解析したいのですが、以下のポイント困っております。 |
2021-09-18 16:00:06 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
UILabelがどうやっても複数行に出来ない(ならない) |
https://teratail.com/questions/360136?rss=all
|
UILabelがどうやっても複数行に出来ないならないやりたいことUILabelの複数行表示起こっている問題UILabelで文字が途中で三点リーダになってしまい、行しか表示されない問題のラベルはわかりやすく赤色の背景色にしています。 |
2021-09-18 15:58:19 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Python 仮想環境 |
https://teratail.com/questions/360135?rss=all
|
Python仮想環境上記のwebページを参考にしながら仮想環境を作ろうと試みています。 |
2021-09-18 15:57:33 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
PACファイルで二つのプロキシにトラフィックを振り分けたいのですが、失敗します |
https://teratail.com/questions/360134?rss=all
|
PACファイルで二つのプロキシにトラフィックを振り分けたいのですが、失敗しますどなたかご存じの方、お助けください。 |
2021-09-18 15:52:51 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
api python実行エラー |
https://teratail.com/questions/360133?rss=all
|
apipython実行エラーopenweathermapのapiを使って天気を取得しようとし以下のコードを実行しているのですが、apiに関するエラーコードが発生します。 |
2021-09-18 15:50:12 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
コンパイルと実行をCtrl shift bで行いたい |
https://teratail.com/questions/360132?rss=all
|
コンパイルと実行をCtrlshiftbで行いたいVscodeでCを行う際に今までは例えばmaincppというCで記述するファイルがあった場合にCtrlnbspshiftnbspbでコンパイルしてmainexeをいうファイルが生成されこのexeファイルをmainexeとターミナルに書き実行していました。 |
2021-09-18 15:47:37 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
enabledでのオブジェクトの非表示について |
https://teratail.com/questions/360131?rss=all
|
enabledでのオブジェクトの非表示についてオブジェクトを順番に非表示にするスクリプトを初心者ながら、見よう見まねで作成しましたが、下記のようなエラーがでます。 |
2021-09-18 15:34:43 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
wrapの使い方について |
https://teratail.com/questions/360130?rss=all
|
内容は確認方法と正しいコードをかけているか、「wrapの使い方としてセレクタの前後に付与すでにある親要素や子要素にclassを付与できない認識が正しい」のかについてです。 |
2021-09-18 15:34:12 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
クライアント側で加工したデータを同期するための設計について |
https://teratail.com/questions/360129?rss=all
|
|
2021-09-18 15:34:08 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
herrokuでデプロイした後,application errorが発生する |
https://teratail.com/questions/360128?rss=all
|
herrokuでデプロイした後applicationerrorが発生するrailsnbspapiモードとnuxtjsでポートフォリオを作っていますnuxtjsアプリケーションをherokuにデプロイしてページにアクセスしようとしたところアプリケーションエラーとなってしまいます。 |
2021-09-18 15:32:34 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Google Play ConsoleにおけるApp bundleが二段になる意味と対処 |
https://teratail.com/questions/360127?rss=all
|
GooglePlayConsoleにおけるAppbundleが二段になる意味と対処GooglenbspPlaynbspConsoleで、再度、アプリを登録する際に、画像のように二段になってしまいます。 |
2021-09-18 15:26:19 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
【再度】投稿したプロトタイプをトップページで表示させたい |
https://teratail.com/questions/360126?rss=all
|
【再度】投稿したプロトタイプをトップページで表示させたいNoMethodErrornbspinnbspPrototypesindexundefinednbspmethodnbspidaposnbspfornbspnilNilClassと表示される。 |
2021-09-18 15:23:02 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
VScodeの設定をTerminalで開いた時に引き継ぎたい |
https://teratail.com/questions/360125?rss=all
|
ところが最近Terminalを使って「Codenbsp」で開いたところ、拡張機能などの設定が消えてしまっていました。 |
2021-09-18 15:13:53 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
PHPUnitでテストをしたときに通知を送らない様にしたい |
https://teratail.com/questions/360124?rss=all
|
下記のようなコードに対してテストを行う際に、slack通知が送られないようにテストを書きたいです。 |
2021-09-18 15:00:37 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
RedisをソースからインストールしたDockerイメージを作成する |
https://qiita.com/urushibata/items/fef9d1eb80d2ae341eac
|
RedisをソースからインストールしたDockerイメージを作成するソースからredisをインストールする方法を記述します。 |
2021-09-18 15:54:34 |
golang |
Goタグが付けられた新着投稿 - Qiita |
Go httpサーバー&リソースをワンバイナリにする |
https://qiita.com/hiro_nico/items/306e3a44a7443bd4c3cf
|
ページが表示できましたこの状態でも、exeファイルとstaticフォルダとtemplatesフォルダを持っていけば動くのですがgoembedでワンバイナリにしてみましょう。 |
2021-09-18 15:00:26 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
長い命名規則に則った Git ブランチを楽に作成して切り替えるコマンド作った |
https://qiita.com/Showy1/items/ab56e29245e50ce662f0
|
featureyamadacreatesomethingブランチを作成して切り替える場合gcbcreatesomethingfixupyamadatypoブランチを作成して切り替える場合gcbftypoupdateyamadaaddbtnブランチを作成して切り替える場合gcbuaddbtn参考今回作成したgcbファイル内に登場するコードで不明点があれば、下記を参照いただけると解決すると思われます。 |
2021-09-18 15:07:46 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
railsのsassでimage-urlを使用したら画像がぼやけた時の対応 |
https://qiita.com/sssssatou/items/875283d7741b9421aa21
|
railsのsassでimageurlを使用したら画像がぼやけた時の対応事象ローカル環境で検証していてsassでimageurlを使っていて画像を指定したら何故かぼやけているような画像が表示された。 |
2021-09-18 15:23:16 |
技術ブログ |
Developers.IO |
Trello の Slack 通知で特定のイベントのみ通知する設定方法(Slack App編) |
https://dev.classmethod.jp/articles/notify-trello-to-slack-02/
|
slack |
2021-09-18 06:17:42 |
海外TECH |
DEV Community |
Simple Search Tool In HTML and JavaScript. No Server Needed! |
https://dev.to/biah/simple-search-tool-in-html-and-javascript-no-server-needed-1hme
|
Simple Search Tool In HTML and JavaScript No Server Needed As I was going to make a search tool for my website I decided to document how it could be done client side without the use of a server What are we going to make We are going to make a simple tool which will help us to find articles on dev to based on the title we provide We will use a simple lightweight javascript libary called js search For the data we will fetch it from dev to using their API which will be returned in a JSON format Designing the HTML and CSSSo we need to write down our HTML to make our page look nice right Yeah lt DOCTYPE html gt lt html lang en gt lt head gt lt meta charset UTF gt lt meta name viewport content width device width initial scale gt lt title gt Dev to Article Finder lt title gt lt style gt html font family Roboto sans serif h text align center form box margin px auto input type search margin auto width display block padding px font size px title color FEEF text align center font weight bold title a text decoration none color inherit description padding px color gray results display flex flex flow wrap align content center justify content center post margin px width px border radius px border px solid post hover background DDD cover image height px width media max width px input type search width post padding px lt style gt lt head gt lt body gt lt h gt Dev to Article Finder lt h gt lt div id form box gt lt input type search placeholder Enter the title gt lt div gt lt div id results gt lt div gt lt body gt lt html gt The code above is the HTML for our simple project Your HTML page should look like this Now to the JavaScriptBelow the body tag create a script tag and insert the following code inside lt script src dist umd js search min js integrity sha LDUsSATk xTzAbknDgAbjHKvetXtCMDAFkMKQ crossorigin anonymous gt lt script gt lt script gt const get data async gt let data await fetch let json await data json return json window addEventListener load gt const articles get data then async data gt const search new JsSearch Search id search addIndex title search addDocuments data document querySelector input type search addEventListener input event gt let value event target value let results search search value let html results forEach res gt let div lt div class post gt lt p class title gt lt a href res url gt res title lt a gt lt p gt lt p class description gt res description lt p gt lt div gt html div document querySelector results innerHTML html lt script gt So in the first script tag we imported the search js module Then in the next script tag we defined an asynchronous function called get data this function makes a fetch request to this URL and it returns a list of dev to articles in JSON format To the next part we add an event listener to the load event of the page when the event is fired we retrieve the articles from the get data function then we create a new search js instance The constructor of search js requires an identifier so we use the id of the articles The search addIndex title tells search js to search for our query in the titles only then finally search addDocuments is used to add the articles JSON data to the search js instance To the next part we added an event listener to the input event of the search box on every input we run a function to get the search results search search value takes the user s input and tries to search for it in the JSON we provided to it earlier it then returns a new array based on the search results We then iterate over each data item and create HTML elements for them Finally we insert the HTML elements into the HTML documents Preview Of The ProjectSo if you followed the tutorial correctly your page should be working and looking like the gif bellow |
2021-09-18 06:23:50 |
海外TECH |
DEV Community |
6 Tips and Tricks Every Developer Should Know in Visual Studio Code 🤩 |
https://dev.to/zahab/6-tips-and-tricks-every-developer-should-know-in-visual-studio-code-48mo
|
Tips and Tricks Every Developer Should Know in Visual Studio Code One of the most common text editors used by developers is Visual Studio Code Microsoft created it to be the first cross platform programming tool in the Visual Studio family that supported OS Linux and Windows Visual Studio Code is by far one of the most popular code editors for web mobile and hardware developers In this article we will talk about the most essential tips every developer should know in VS Code Go to DefinitionYou may come across a lot of variables or methods that you are unfamiliar with when programming By selecting the “Go to Definition option from the right click menu of the required variable or method in Visual Studio Code you may quickly get to the definition Zen ModeIt s a view with no distractions All of your window s superfluous toolboxes and bars will be gone allowing you to concentrate just on your code To use zen mode simple go to View gt Appearance gt Toggle Zen Mode Split viewGo to the split view if you re skilled at multitasking and are working on two separate files of the same project at the same time or if you need to compare two files You can open as many editors as you like side by side vertically or horizontally Quick OpenIf you want to open a file quickly without using sidebar you can simply use quick open To open quick open press cmd p on Mac and for Windows Linux you can use ctrl p Command PaletteThe command palette allows you to quickly access any registered command including those offered by extension In addition if a key binding is connected with a specific command it will be presented in the type to search drop down list You can open Command Palette by pressing cmd shift p in Mac and ctrl shift p for Windows Linux Multi cursor selectionYou may utilise multi cursor editing to modify several lines of text in various areas of your document This function allows you to add modify or remove text by using several cursors in separate locations You can do this by clicking anywhere in your text document while holding down the Alt or Option keys on your keyboard Gif by Nacimota from SOF |
2021-09-18 06:16:23 |
海外TECH |
DEV Community |
Empowering everyone to code with Google's Eye |
https://dev.to/aniket762/empowering-everyone-to-code-with-google-s-eye-49e9
|
Empowering everyone to code with Google x s EyeIn India more than of schools don t allow smartphones in class Being a Computer Science teacher becomes very difficult as it is nearly impossible to check the handwritten code of each student line by line Also talking about India in most schools the students don t have the privilege to have one computer each for them so that they can run their code on their own So it becomes a nightmare for the teacher as they might have to manually type each code of each student and run it or take the risk of missing out on bugs While in recent times the world has started moving towards Codelisation being a good programmer is not easy it requires consistency determination problem solving ability and a lot more but most importantly it requires you to get started I did a small survey in my community and got to know more than of them started properly coding after joining university and the major reason was lack of the personal computers and laptops In developing countries out of people have access to computers in comparison to out of people who have access to smartphones Let s see how project playground solves this problem and empowers even someone from a remote village in India to start coding To solve these issues we came up with playground How it works Playground empowers everyone to write code Write on any piece of paper take a photo and upload it Unlike humans computers make mistakes so we have built a code editor where the code can be edited and finally with the click of submit button the code gets compiled Not only does this empowers students to become better coders but also helps teachers in evaluation let s see how How we built it We used Next js in the frontend and Node js in the backend with MongoDB as our database Next we used the Google Vision API for scanning the image and retrieving the handwritten text The handwritten text was displayed in a code editor with full syntax highlighting and available for currently two languages c and python When you click submit we generated a new code file for the corresponding language and displayed it s output on the screen Playground was built in Teacher s Hack powered by MLH in which we were the overall winner but there are a lot of features we have planned and some which need the support of community What s next for Playground Next we want to increase the support by providing more options for languages like javascript java c and so on We also want to increase the variety of questions varying through a variety of topics and difficulty levels In addition to that we plan to create a neural search framework that will allow us to filter the questions on the basis of topic and difficulty and help you find similar questions Lastly we wish to build our very own OCR model for text extraction This will solve our problems of billing while using external models Support us to empower everyone Taking this prototype to production needs your help The code is open sourced and would love to see your contribution Check the Github Repo Fork the Repository Star the Repo ️Send the PR or create an issue Incase you like the project and help our community and empower everyone to code drop a star to increase the visibility And if you want to discuss more you can connect with me on LinkedIn |
2021-09-18 06:15:20 |
海外TECH |
DEV Community |
Time Complexity and Big O Notation |
https://dev.to/atultrp/time-complexity-and-big-o-notation-35l4
|
Time Complexity and Big O Notation An analogy to a real life issue This morning I wanted to eat some pizza So I asked my brother to get me some from Dominos which is km away He got me the pizza and I was happy only to realize it was too little for friends who came to my house for a surprise visit My brother can get pizzas for me on his bike but pizza for friends is too huge of an input for him which he cannot handle What is Time Complexity Time Complexity is the study of the efficiency of algorithms It tells us how much time is taken by an algorithm to process a given input Let s understand this concept with the help of an example Consider two developers Shubham and Rohan who created an algorithm to sort n numbers independently When I made the program run for some input size n the following results were recorded No of elements n Time Taken By Shubham s AlgoTime Taken By Rohan s Algo elements ms ms elements ms ms elements ms ms elementss msWe can see that at first Shubham s algorithm worked well with smaller inputs however as we increase the number of elements Rohan s algorithm performs much better Quick Quiz Who s algorithm is better Time Complexity Sending GTA to a friend Imagine you have a friend who lives km away from you You want to send him a game Since the final exams are over and you want him to get this GB file worth of game from you How will you send it to him in the shortest time possible Note that both of you are using JIO G with a Gb day data limit The best way would be to send him the game by delivering it to his house Copy the game to a hard disk and make it reach him physically Would you do the same for sending some small sized game like MineSweeper which is in KBS of size Of Course no because you can now easily send it via the Internet As the file size grows the time taken to send the game online increases linearly O n while the time taken by sending it physically remains constant O n or O Calculating Order in terms of Input Size In order to calculate the order time complexity the most impactful term containing n is taken into account Here n refers to Size of input And the rest of the smaller terms are ignored Let us assume the following formula for the algorithms in terms of input size n Here we ignored the smaller terms in algo and carried the most impactful term which was the square of the input size Hence the time complexity became n The second algorithm followed just a constant time complexity Note that these are the formulas for the time taken by their program What is a Big O Putting it simply big O stands for order of in our industry but this is pretty different from the mathematical definition of the big O Big O in mathematics stands for all those complexities our program runs in But in industry we are asked the minimum of them So this was a subtle difference Visualizing Big O If we were to plot O and O n on a graph they would look something like this So this was the basics of time complexities You don t have to worry about things passing you by We ll learn more deeply in the coming videos For now just stay with me Thank you for being with me throughout the tutorial I hope you enjoyed it If you appreciate my work please let your friends know about this post too Reference from codewithharry |
2021-09-18 06:06:34 |
海外ニュース |
Japan Times latest articles |
China conducts military exercises southwest of Taiwan |
https://www.japantimes.co.jp/news/2021/09/18/asia-pacific/china-taiwan-military-exercises/
|
China conducts military exercises southwest of TaiwanThe Chinese Defense Ministry said military exercises will be conducted regularly based on the situation in the Taiwan Strait and the need to maintain sovereign |
2021-09-18 15:07:50 |
ニュース |
BBC News - Home |
Holiday surge expected after travel rules change |
https://www.bbc.co.uk/news/uk-58606870?at_medium=RSS&at_campaign=KARANGA
|
amber |
2021-09-18 06:40:12 |
ニュース |
BBC News - Home |
Brazil legend Pele says he is 'recovering very well' after surgery |
https://www.bbc.co.uk/sport/football/58604541?at_medium=RSS&at_campaign=KARANGA
|
intensive |
2021-09-18 06:35:23 |
ニュース |
BBC News - Home |
Planes turned into graffiti canvasses by street artist |
https://www.bbc.co.uk/news/uk-wales-58573703?at_medium=RSS&at_campaign=KARANGA
|
vision |
2021-09-18 06:00:57 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
和田興産(8931)、「増配」を発表して、配当利回り 4.69%にアップ! 年間配当額は1年間で8.5%増加、 2022年2月期は前期比3円増の「1株あたり38円」に! - 配当【増配・減配】最新ニュース! |
https://diamond.jp/articles/-/282625
|
和田興産、「増配」を発表して、配当利回りにアップ年間配当額は年間で増加、年月期は前期比円増の「株あたり円」に配当【増配・減配】最新ニュース和田興産が、年月期の配当予想の修正増配を発表し、配当利回りがに和田興産は、年月期の年間配当を前回予想比で「円」の増配、前期比では「円」の増配となる「株あたり円」に修正すると発表した。 |
2021-09-18 15:25:00 |
北海道 |
北海道新聞 |
ナワリヌイ氏のアプリ削除 アップル、グーグル |
https://www.hokkaido-np.co.jp/article/590699/
|
反体制派 |
2021-09-18 15:17:00 |
北海道 |
北海道新聞 |
秋の高校野球支部予選・9月18日の試合結果 |
https://www.hokkaido-np.co.jp/article/590658/
|
試合結果 |
2021-09-18 15:15:04 |
北海道 |
北海道新聞 |
旭川で6人感染 新型コロナ |
https://www.hokkaido-np.co.jp/article/590698/
|
新型コロナウイルス |
2021-09-18 15:11:00 |
IT |
週刊アスキー |
セブン-イレブンに「お店で揚げたクリームパン」(東京エリア) |
https://weekly.ascii.jp/elem/000/004/069/4069685/
|
自然 |
2021-09-18 15:40:00 |
コメント
コメントを投稿