投稿時間:2021-06-06 19:34:23 RSSフィード2021-06-06 19:00 分まとめ(34件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
TECH Engadget Japanese 次期iPadOS 15(仮)ではマルチタスク機能が改善、プライバシー保護も強化のウワサ(Bloomberg報道) https://japanese.engadget.com/ipados-multitask-improve-privacy-091509002.html bloomberg 2021-06-06 09:15:09
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] 「大学院卒生を採用したい」経営者は58.9%、理由は? https://www.itmedia.co.jp/business/articles/2106/06/news032.html itmedia 2021-06-06 18:46:00
AWS lambdaタグが付けられた新着投稿 - Qiita 学校に帰宅したらSlackに通知するシステム作ってみた https://qiita.com/shinbunbun_/items/215f3f0b022c2ea06ae3 学校に帰宅したらSlackに通知するシステム作ってみた学校に帰宅したらSlackに通知するシステム作ってみたはじめにこんにちは、会津大学学部一年のしんぶんぶんです。 2021-06-06 18:04:16
python Pythonタグが付けられた新着投稿 - Qiita androidにTermux+adb+sshで画像処理自動化をスタンドアローンで動かせる説が浮上!! https://qiita.com/m_tani_july/items/638fa8b43c94998828f3 2021-06-06 18:37:34
python Pythonタグが付けられた新着投稿 - Qiita ModuleNotFoundError: No module named 'widget_tweaks' https://qiita.com/salem333/items/e139d27d885575c56d60 ModuleNotFoundErrorNomodulenamedxwidgettweaksxwidgettweaksモジュールを使用してマイグレーションを行う際にModuleNotFoundErrorNomodulenamedwidgettweaksが発生する時。 2021-06-06 18:29:30
js JavaScriptタグが付けられた新着投稿 - Qiita Javascriptで実装するKuwaharaフィルタ https://qiita.com/m-naoki/items/e9fca5b0ce3e53cfc2df 終わりに今回は、ブラウザで動作する画像処理を実装してみました。 2021-06-06 18:54:45
js JavaScriptタグが付けられた新着投稿 - Qiita 作ったゲームを他言語化(英語のみ)してみる https://qiita.com/saitotsushin/items/db48a29cebc4d57e086b janumbertextnumbertext連勝ennumbertextWINnumbertext記述は日本語or英語numbertextnumbertextnumbernumbertext日本語「連勝」英語「WIN」のように挟んで誤魔化したテキストありの画像部分テキストありの画像だったのはテキストに変更タイトル部分は画像をつ用意して切り替え画像の切り替えはタイトルのみ地味に面倒ですが、タイトル部分の変更はテンションが上がります。 2021-06-06 18:03:24
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) WordPressのエラーページ「このサイトで重大なエラーが発生しました」を差し替え https://teratail.com/questions/342504?rss=all WordPressのエラーページ「このサイトで重大なエラーが発生しました」を差し替え「このサイトで重大なエラーが発生しました」を見せたくないWordpressをfunctionsphpなどカスタマイズして使用しています。 2021-06-06 18:59:55
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) SpringbootのRestTemplateを利用してjsonをデシリアライズ方法 https://teratail.com/questions/342503?rss=all SpringbootのRestTemplateを利用してjsonをデシリアライズ方法SpringbootのRestTemplateを利用してjsonをデシリアライズを試みていますが、想定通りに変換されません。 2021-06-06 18:58:24
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) 3次元の数値をテキストファイルに書き込みたい https://teratail.com/questions/342502?rss=all 次元の数値をテキストファイルに書き込みたいgnuplotにおいて次元の関数の数値をテキストファイルに書き込みたいのですが、次元のものでしか書き込むことができません。 2021-06-06 18:49:35
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) 足音の再生について。異なるマテリアルで~~ https://teratail.com/questions/342501?rss=all 足音の再生について。 2021-06-06 18:48:31
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) python3のpygameのゲームを起動させるには https://teratail.com/questions/342500?rss=all pythonのpygameのゲームを起動させるにはこつらのサイト参照してpygameをインストールしサイトの項目の『pygameを動かしてみる』でpythonmpygameexamplesaliensと打ちましたがSyntaxErrorinvalidsyntaxと出てしまいます。 2021-06-06 18:38:32
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Bash の出力結果を「標準エラー出力 + 異常終了」にしたい https://teratail.com/questions/342499?rss=all Bashの出力結果を「標準エラー出力異常終了」にしたい環境は、WindowsnbspWSLubuntuです。 2021-06-06 18:35:49
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) PHPのargvでの定義ミスについて https://teratail.com/questions/342498?rss=all PHPのargvでの定義ミスについて前提・実現したいことプログラムの内容自体はほぼmintiaさんのコマンドライン引数を自然数かどうか判別したいにあるPHPで作成したの約数で文章が変わるものです定義がされていないというエラーみたいなのですがただ普通にコマンドラインでの入力を成功させたいです。 2021-06-06 18:29:35
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) pd.DataFrame、列を追加するには https://teratail.com/questions/342497?rss=all pdDataFrame、列を追加するにはpandasにて作成したDataFrameの列に、列加えるには、どうしたら良いでしょうか。 2021-06-06 18:23:48
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) 【MySQL】コマンド実行時のsocketの参照場所を変更したい https://teratail.com/questions/342496?rss=all 【MySQL】コマンド実行時のsocketの参照場所を変更したい前提・実現したいことローカルのMySQLを使用するため、mysqlnbspunbsprootを実行すると下記エラーが発生します。 2021-06-06 18:18:45
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) アンサンブル学習(VotingClassifier)のエラー https://teratail.com/questions/342495?rss=all アンサンブル学習VotingClassifierのエラーオリジナルのデータセットを用いてLightGBMで機械学習モデルを作成しnbspseednbspxnbspnbspcvnbspの計モデル、それらをsklearnのVotingClassifierのsoftvotingでアンサンブルする際にエラーが発生しました。 2021-06-06 18:02:45
Ruby Rubyタグが付けられた新着投稿 - Qiita [Ruby]破壊的メソッドと非破壊的メソッドを使ったときの挙動の違い https://qiita.com/Jackson123/items/a707ea7405d8fdbb55a5 破壊的メソッドを使った場合と非破壊的メソッドを使った場合でどういう動きをするかを見てみます。 2021-06-06 18:37:17
AWS AWSタグが付けられた新着投稿 - Qiita AWSを使ってWordPressサイトを公開しよう https://qiita.com/ymktmk_tt/items/e2d59e9ddc5cd081edd9 接続を作成したVPCにしてサブネットグループは先ほど作成したものを選択しましょう。 2021-06-06 18:31:07
AWS AWSタグが付けられた新着投稿 - Qiita AWS Glue DataBrewとAWS Glue Studioの比較&使い所の検討 https://qiita.com/h_nide/items/49f4d88fbb811dea1fd7 現時点で出来ないこと現時点で出来ないこととして以下のようなものがある・全角半角の変換・和暦西暦の変換使いどころAmazonGlueDataBrewの利用が適している場面・AWS自体の見識があまりないユーザがデータの中身に対して変換を行いたい場合・データの傾向を確認をAWSマネジメントコンソール上で完結させたい場合AmazonGlueStudioの利用が適している場面・同様のデータ形式のファイルに対して繰り返し同じ処理を定期的に行いたい場合DataBrew、GlueStudioの両方を併用する場面・細かいデータ変換を行なった上で最終的にGlueDataGatalogに反映させたい場合→ソースデータをDataBrewで加工、その結果ファイルをsに格納、その結果ファイルをGlueStudioに取り込んで必要に応じて加工の上でOutputとしてGlueDataCatalogに反映させる・変換処理の大部分はDataBrewで賄えるが一部の処理はコーディングによる作り込みが必要な場合→DataBrewで必要な処理を実装、その後にコーティングを求められる部分のみGlueStudioで実装比較してみての感想DataBrewとGlueStudioでは単に想定ユーザDataBrew→データアナリスト・データサイエンティスト、GlueStudio→ETLデベロッパーが違うという以上に「データ変換」の意味合いが違うように感じられる。 2021-06-06 18:10:18
Docker dockerタグが付けられた新着投稿 - Qiita docker-ceをRHEL8へインストール https://qiita.com/60681z/items/68d55f22e97d57b8dc68 dockerceをRHELへインストールdockerceをインストールしたのでメモOSバージョン確認catetcredhatreleaseRedHatEnterpriseLinuxreleaseOotpaリポジトリを追加dnfconfigmanageraddrepoUpdatingSubscriptionManagementrepositoriesrepoの追加リポジトリの有効を確認dnfrepolistvロードされたプラグインbuilddepchangelogconfigmanagercoprdebugdebuginfoinstalldownloadgeneratecompletioncacheneedsrestartingplaygroundproductidrepoclosurerepodiffrepographrepomanagereposyncsubscriptionmanageruploadprofileUpdatingSubscriptionManagementrepositoriesDNFversioncachedirvarcachednfDockerCEStablexkBskBRepoiddockercestableReponameDockerCEStablexReporevisionRepoupdated年月日時分秒RepopkgsRepoavailablepkgsReposizeMRepobaseurlRepoexpire秒最終年月日時分秒RepofilenameetcyumreposddockercerepoRepoidrhelforxappstreamrpmsReponameRedHatEnterpriseLinuxforxAppStreamRPMsReporevisionRepoupdated年月日時分秒RepopkgsRepoavailablepkgsReposizeGRepobaseurlRepoexpire秒最終年月日時分秒RepofilenameetcyumreposdredhatrepoRepoidrhelforxbaseosrpmsReponameRedHatEnterpriseLinuxforxBaseOSRPMsReporevisionRepoupdated年月日時分秒RepopkgsRepoavailablepkgsReposizeGRepobaseurlRepoexpire秒最終年月日時分秒Repofilenameetcyumreposdredhatrepo総パッケージdockerceのパッケージを確認dnflistdockerceshowduplicatessortr利用可能なパッケージメタデータの期限切れの最終確認時間前の年月日時分秒に実施しました。 2021-06-06 18:54:19
Docker dockerタグが付けられた新着投稿 - Qiita Docker Deskopを使ってGitLabを立ててみた https://qiita.com/yukijigen3/items/d936e7b07d08ee34b076 流れdockercomposeymlの用意イメージの取得と、コンテナの作成と起動ブラウザでアクセスdockercomposeymlの用意dockercomposeymlは、「ここ」に用意されています。 2021-06-06 18:43:32
Docker dockerタグが付けられた新着投稿 - Qiita (こんな原因も) vagrant@127.0.0.1: permission denied (publickey)の解決方法 https://qiita.com/Sicut_study/items/74e31c33f8c6466f1100 こんな原因もvagrantpermissiondeniedpublickeyの解決方法はじめに普段はDockerDesktopを利用している私ですが、久しぶりにVagrantを利用して環境構築を行いました。 2021-06-06 18:29:40
Docker dockerタグが付けられた新着投稿 - Qiita 【Rails6】DockerでRails6の開発環境構築【ゼロからデプロイまで】 https://qiita.com/oniki_ds/items/0a491abe01a7683502df herokuloginherokucontainerloginHeroku上にコンテナをPUSHするherokucontainerpushwebahoge※ご自身の設定したHerokuアプリ名herokucontainerreleasewebahoge※ご自身の設定したHerokuアプリ名Heroku上のDBを設定しマイグレーションを実行herokuaddonsattachpostgresqlabcdefahoge※Herokuアプリ名herokurunrakedbmigrateahoge※Herokuアプリ名※postgresqlabcdefには「Postgreコンテナのアドオンを追加」でメモしたPostgreコンテナの識別番号を入れてくださいブラウザでデプロイしたHerokuアプリケーションを開くherokuopenahoge※Herokuアプリ名ここまで問題なく作業ができていれば、開発環境と同様にタスクの閲覧・追加ができるアプリケーションがHeroku上にデプロイされているはずです、お疲れ様でした注意事項無事にDockerでの開発環境作成からHerokuへのデプロイまで一気に駆け抜けることはできたでしょうか点だけ注意事項を書かせてください。 2021-06-06 18:17:52
Ruby Railsタグが付けられた新着投稿 - Qiita 【Rails6】DockerでRails6の開発環境構築【ゼロからデプロイまで】 https://qiita.com/oniki_ds/items/0a491abe01a7683502df herokuloginherokucontainerloginHeroku上にコンテナをPUSHするherokucontainerpushwebahoge※ご自身の設定したHerokuアプリ名herokucontainerreleasewebahoge※ご自身の設定したHerokuアプリ名Heroku上のDBを設定しマイグレーションを実行herokuaddonsattachpostgresqlabcdefahoge※Herokuアプリ名herokurunrakedbmigrateahoge※Herokuアプリ名※postgresqlabcdefには「Postgreコンテナのアドオンを追加」でメモしたPostgreコンテナの識別番号を入れてくださいブラウザでデプロイしたHerokuアプリケーションを開くherokuopenahoge※Herokuアプリ名ここまで問題なく作業ができていれば、開発環境と同様にタスクの閲覧・追加ができるアプリケーションがHeroku上にデプロイされているはずです、お疲れ様でした注意事項無事にDockerでの開発環境作成からHerokuへのデプロイまで一気に駆け抜けることはできたでしょうか点だけ注意事項を書かせてください。 2021-06-06 18:17:52
Ruby Railsタグが付けられた新着投稿 - Qiita Rails マイグレーションでテーブル作成とデータ移行を同時に行う https://qiita.com/enghst/items/4446e1b6c5bb54cbdd5c Railsマイグレーションでテーブル作成とデータ移行を同時に行う概要本番運用中プロダクトへの機能追加対応によりつのテーブルをつにわける必要がありました。 2021-06-06 18:02:03
海外TECH DEV Community Cryptography- Shift Cipher https://dev.to/sirri69/cryptography-shift-cipher-2oki Cryptography Shift CipherShift cipher is the most basic and simple substitution cipher ever existed It was used by numerous kings and common people in ancient times because of its simplicity It is also known as the Caesar cipher as he used a generalized form of it known as ROT How Shift Cipher Works Shift cipher is nothing but substitution of letters to their left or right by some specific number of letters and that number of letters will be known as the key of the cipher Once the key is decided and the plaintext is encrypted to ciphertext we can send the cipher text to whomever we want If he she will have the key then he she will easily decrypt the message and read it and can reply to that encrypting the message with the same key Encrypting the text using Shift CipherSelect a key if you want to shift your letters to right choose a number which is positive a negative number will result in shifting of letters to left side Once the key is selected convert the letters to their respective numeric positions where A gt B gt and so on Now apply the given formula to every number C P K Where P is your plaintext converted to numeric positions K is the key and C is the numeric positions of the letters in ciphertext Now convert the numeric positions of ciphertext C to alphabets according to gt Z gt A so on and you have your plaintext encrypted Example Let our plaintext to be “ Then numeric positions of our plaintext will be killthekingtonightLet our key be after using the formula for encryption the number will look like And finally converting the numbers back to letters will give us our ciphertext RPSSAOLRPUNAVUPNOALetters after conversion are RPSSAOLRPUNAVUPNOA The gibberish above is ciphertext it is often written without any spaces to add complexity to the ciphertext Writing Python code for Shift CipherWriting code for this cipher is really easy a one liner some might say Here s the code def shift encrypt plain text str key int cipher text stores encrtypted text plain text plain text lower replace reduce complexity for i in list plain text cipher text append chr ord i key real encryption happens here return join cipher text The code up here is pretty self explanatory except a few lines Let s go through all the lines on by one cipher text stores encrtypted textplain text plain text lower replace reduce complexityThese two lines define a list names cipher text to store the text after encryption and reduces the complexity of the plain text by converting the text to lower case and removing all the whitespaces Then comes the most important line in the code cipher text append chr ord i key First of all this line of code converts the letters to their ASCII representation using the ord function which means a will become b will become and so on Then it will subtract from the ASCII code which will convert to hence placing a at th position and placing z at th position This is done to simplify the operation of shifting After that is done we proceed and add the KEY to shift and actually encrypt the data Then we do mod because after subtracting our alphabets lies from to and doing mod makes sure that nothing goes out of range of our alphabets is added in end to convert the the shifted numbers back to their ASCII representations After this much is done we convert the shifted ASCII codes back to characters using the chr function And the encryption is done You can see that this line is inside a for loop that is to ensure that the transformation in this line of code is applied to every single letter of the plain text In the end return join cipher text We convert the encrypted characters to a string and return it Decryption part of the cipher is also pretty much the same except a small thing def shift decrypt cipher text str key int plain text cipher text cipher text lower replace for i in cipher text plain text append chr ord i key return join plain text Instead of adding KEY we subtract it this time to perform a inverse of the shift operation we did in the encryption process You can try the code here JUST CLICK ON THE RUN gt BUTTON 2021-06-06 09:45:15
海外TECH DEV Community Building a compiler – basic concepts https://dev.to/siddharthshyniben/building-a-compiler-basic-concepts-1j1d Building a compiler basic conceptsBe sure to check out the previous part for more info on this seriesLet s talk about how a compiler works Most compilers seperate their work into three parts Parsing is taking raw code and turning it into a more abstract representation of the codeTransformation is taking the abstract structure and transforming it into something more like the language you want to compile toCode Generation is generating code from the transformed structure ParsingParsing typically gets broken down into steps Lexical analysis takes the raw code and splits it apart into these things called tokens by a thing called a tokenizer or lexer Tokens are basically objects which show a piece of the code and what it is They could be numbers variables punctuation operators whateverSyntactic analysis takes the tokens and adds more meaning to themFor example It s not very helpful to see a number followed by an operator followed by an operator in it s raw form It makes more sense to group them together and that s exactly what this step does The output of this step is an Abstract Syntax Tree An abstract syntax tree or AST is a deeply nested object which gives us a lot of info about the code in a way which is easier to work with For the following syntax let the variable x be The tokens might look like this type identifier value let type extrapunct value the type extrapunct value variable type identifier value x type punctuator value be type number value type punctuator value type number value And the AST may look like this type Program body type VariableDeclaration declarations type VariableDeclarator id type Identifier name x init type BinaryExpression left type NumericLiteral value operator right type NumericLiteral value If you read through this you should get a good idea of what this means TransformationThe next thing to do is to transform the AST This step just takes the AST from the last step and makes changes to it The kind of manipulation depends on the compiler We can manipulate the AST in the same language TypeScript for example or we can translate into a different language our case Since we are compiling to a new language we ll focus on creating an entire new AST that is similar to the target language More on this later Moving through the ASTWe need to be able to navigate through all the parts of an AST We do so depth first i e we go deeper and deeper through the first part or node until we reach it s end then go to the next node So for the following AST type Program body type VariableDeclaration declarations type VariableDeclarator id type Identifier name x init type BinaryExpression left type NumericLiteral value operator right type NumericLiteral value We would go like this Program The top levelVariableDeclaration The first node in ProgramVariableDeclarator The first declarationid The name of the variable being declaredinit Whatever the variable is initialized toBinaryExpression We are initializing an expression with two sides so binary which is If we were directly manipulating this AST we would have to make all sorts of changes but visiting each node is enough for creating a new AST I use the word visiting is because there is this pattern of how to represent operations on elements of an object structure VisitorsThe basic idea here is that we are going to create a visitor object that has methods which will handle different nodes const visitor NumberLiteral CallExpressiom When we traverse the AST we can call the methods on this visitor whenever we visit a node of a matching type We also want to pass in the node and a reference to the parent nodeconst visitor NumberLiteral parent node CallExpressiom parent node But there s a few cases we need to talk about Let s take our previous AST ProgramVariableDeclarationVariableDeclaratorIdentifierinitBinaryExpressionNumericLiteralNumericLiteralAt some point we are gonna reach a dead end in the tree so we have to go up a level or exit So going down the tree we enter each node and going up we exit gt Program enter gt VariableDeclaration enter gt VariableDeclarator enter gt Identifier enter lt Identifier exit lt VariableDeclarator exit gt init enter gt BinaryExpression enter gt NumericLiteral enter lt NumericLiteral exit gt NumericLiteral enter lt NumericLiteral exit lt BinaryExpression exit lt init exit lt VariableDeclaration exit lt Program exit So to support this we need to change our visitor one last timeconst visitor NumberLiteral enter parent node exit parent node Rest of the stuff Code generationThe last thing to do is to generate code This may sometimes overlap with transformation but most of the time it is just taking our final AST and stringifies it into code Code generators work several different ways some compilers reuse the tokens from earlier others will have created a separate AST so that they can print nodes linearly but from what I can tell most will use the same AST we just created which is what we re going to focus on Effectively our code generator will know how to print all of the different node types of the AST and it will recursively call itself to print nested nodes until everything is printed into one long string of code And that s it That s all the different pieces of a compiler Every compiler won t look the same way Compilers have many purposes but some of them may need more steps than shown here But you should have a high level idea of what compilers look like Now that I ve explained all of this you re all good to go write your own compilers right Just kidding that s what I m here to help with PSo we ll begin in the next part 2021-06-06 09:25:03
海外ニュース Japan Times latest articles Ryota Yamagata sets national record with 9.95-second 100m sprint https://www.japantimes.co.jp/sports/2021/06/06/more-sports/track-field/ryota-yamagata-100-meter-japan-record/ japanese 2021-06-06 18:00:40
ニュース BBC News - Home British Normandy Memorial unveiled in France to honour veterans https://www.bbc.co.uk/news/uk-57373932 normandy 2021-06-06 09:40:06
ニュース BBC News - Home Foreign aid: Charities criticise 'devastating' cuts ahead of G7 https://www.bbc.co.uk/news/uk-politics-57359119 credibility 2021-06-06 09:53:27
ニュース BBC News - Home Monkey found at Cambuslang rail station reunited with family https://www.bbc.co.uk/news/uk-scotland-57374984 glasgow 2021-06-06 09:04:48
北海道 北海道新聞 巨2―4日(6日) 伊藤が3勝目 https://www.hokkaido-np.co.jp/article/552423/ 勝ち越し 2021-06-06 18:17:00
北海道 北海道新聞 D4―3ロ(6日) DeNAの大和がサヨナラ打 https://www.hokkaido-np.co.jp/article/552424/ 今季初 2021-06-06 18:10:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)