IT |
気になる、記になる… |
M1Xチップを搭載したハイエンドの新型「Mac mini」は今後数ヶ月以内に発表 |
https://taisy0.com/2021/08/22/144441.html
|
apple |
2021-08-22 13:57:24 |
IT |
気になる、記になる… |
Appleの「iPad (第9世代)」は来月発売か |
https://taisy0.com/2021/08/22/144427.html
|
apple |
2021-08-22 13:03:26 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
GPUを活用した機械学習ツールNVIDIA RAPIDSをArch Linux + CUDA11.4 でビルドした(Ver21.08版) (3) CUgraph |
https://qiita.com/daisuzu_/items/e90d5798aeaadfbfbae8
|
ただし、ビルドまでにエライ手間がかかったので、皆さんへの共有も兼ねて基本構成その・・・Cupyのビルド方法についてはこちらの記事で紹介してます。 |
2021-08-22 22:31:18 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Pythonでオリジナルのドット絵エディタを作る(4) - ベクター出力機能の追加 |
https://qiita.com/Hisan_twi/items/625520882c566957772a
|
Pythonでオリジナルのドット絵エディタを作るベクター出力機能の追加はじめに前回の記事で作成したドット絵エディタに、描いたドット絵をベクター画像SVG形式で出力する機能を追加します。 |
2021-08-22 22:25:04 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
DFS(幅優先探索)解説動画のコード ABC213 D |
https://qiita.com/sano192/items/7dae6b694422e82d7b35
|
DFS幅優先探索解説動画のコードABCDDFS解説動画で使用しているコードの内容です。 |
2021-08-22 22:17:13 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
[Python] エラトスネス ABC215D |
https://qiita.com/tefuxu/items/5c5527d8792572ef7053
|
PythonエラトスネスABCDABCDこれはABCDCoprimeを参考にした、自分用のメモである。 |
2021-08-22 22:05:51 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
[Python] boto3でAthenaを使ったコードをMockでテストする |
https://qiita.com/nakamasato/items/bee298aef1e7c199e187
|
Falseの場合は、カスタムのAthenaResultというイテレータを返す。 |
2021-08-22 22:03:50 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
chart.jsでレーダーチャートを作成 |
https://qiita.com/naopin708/items/21c0630cf76805730180
|
typeradardata中に、labelsを設定すると、チャート周りにその設定したラベルが表示されます。 |
2021-08-22 22:53:05 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
深層学習でlossが下がらない理由 |
https://teratail.com/questions/355619?rss=all
|
つの隠れ層あたり個のニューロンがあり、活性化関数にはReLuを使い、その後ドロップアウトをかませています。 |
2021-08-22 22:42:48 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
【Rails】検索結果をフォームに自動入力したい |
https://teratail.com/questions/355618?rss=all
|
・ companies テーブル カラム は name が あり ます 。 |
2021-08-22 22:32:28 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Lilipopでpythonを動かす際のエラー |
https://teratail.com/questions/355617?rss=all
|
Lilipopでpythonを動かす際のエラーPythonFlaskを用いたプログラム上記の通り、Lolipopでブログのようなプログラムを動かしたいのですが、InternalnbspServernbspErrorが出てしまいます。 |
2021-08-22 22:31:00 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
【Laravel6】AWSのS3パッケージインストールの際,誤ったバージョンをダウンロードしてしまった。 |
https://teratail.com/questions/355616?rss=all
|
【Laravel】AWSのSパッケージインストールの際誤ったバージョンをダウンロードしてしまった。 |
2021-08-22 22:24:02 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
「To install the missing version, run `gem install bundler:2.1.4`」のエラーを解決したいです。 |
https://teratail.com/questions/355615?rss=all
|
「Toinstallthemissingversionrungeminstallbundler」のエラーを解決したいです。 |
2021-08-22 22:20:07 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
6章 アセンブラ |
https://qiita.com/motoka1t/items/34da190a5d06e5691d5e
|
プロジェクトに対するレポート目標Hackコンピュータのアセンブラを作成する章から章で作成したHackコンピュータを使い変換後の機械語を動作させる材料NandTetrisで定義しているアセンブラのAPI仕様RubyアセンブラCPUエミュレータハードウェアエミュレータ実装NandTetrisのアセンブラは文字列の変換のため、スクリプト言語が適していると考え、Rubyにより作成することとする。 |
2021-08-22 22:35:52 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
Railでの非同期通信(Ajax)を利用したいいね機能の実装 |
https://qiita.com/atsu123456789/items/04e0371570869bb577f8
|
いいね機能を実装していた箇所を以下のように変更してください。 |
2021-08-22 22:19:45 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
M1 MACでdocker-compose up -dを実行した際にERROR: no matching manifest for linux/arm64/v8 in the manifest list entriesが出た場合の対処方法 |
https://qiita.com/ms19780414/items/0dd17c6749b12b4635a7
|
MMACでdockercomposeupdを実行した際にERRORnomatchingmanifestforlinuxarmvinthemanifestlistentriesが出た場合の対処方法MmacのdockerでMySQLを利用しようとした際にエラーが発生したので対処方法をメモMmacでdockercomposeupdを実行するとERRORnomatchingmanifestforlinuxarmvinthemanifestlistentriesというエラーが発生することがあります。 |
2021-08-22 22:54:30 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
Dockerの基本的なコマンド集 その1 |
https://qiita.com/fy406/items/5058a1fab8f68aa2ccd2
|
dockerpushltリポジトリ名gtltイメージ名gtltタグ名gtrmiローカル環境上の特定のイメージを削除します。 |
2021-08-22 22:35:20 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
【初学者おすすめ!】Docker / Nuxt.js / Expressを使ってタスク管理アプリを作ろう! |
https://qiita.com/Ryo9597/items/780961917d28d7cd7fb1
|
・modelstaskjs・migrationsxxxxxxxxxxxxxxcreatetaskjsでは、作成されたファイルでマイグレーションを行いましょう。 |
2021-08-22 22:10:29 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
Azure Static Web AppsでNuxt.jsアプリを作成する |
https://qiita.com/jiru/items/0fefe54133ad07968687
|
たとえば、前述した「認証前にmypageにアクセスされたら、ユーザーへloginを表示する」を実現したい場合は、以下のようにルーティング設定を記載することで、認証されたユーザー以外にはmypageを利用させないことができます。 |
2021-08-22 22:41:22 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
Git ローカルで変更した内容を取り消す方法 |
https://qiita.com/saku2021/items/22b3525cbcdf497274fa
|
Gitローカルで変更した内容を取り消す方法目次gitaddする前の変更を取り消すgitaddした後の変更を取り消す直前のコミットをやり直したい場合gitaddする前の変更を取り消すgitaddをする前であれば以下のコマンドで取り消すことができます。 |
2021-08-22 22:58:04 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
Railでの非同期通信(Ajax)を利用したいいね機能の実装 |
https://qiita.com/atsu123456789/items/04e0371570869bb577f8
|
いいね機能を実装していた箇所を以下のように変更してください。 |
2021-08-22 22:19:45 |
海外TECH |
DEV Community |
Sharpen your Ruby: Part 1 |
https://dev.to/ericchapman/sharpen-your-ruby-part-1-18f
|
Sharpen your Ruby Part Follow me on Twitter EricTheCoder I develop in Javascript Python PHP and Ruby By far Ruby is my favorite programming language Together let start a journey and revisit our Ruby foundations You want to sharpen your Ruby In this series we will start from the beginning and will discover every aspect of Ruby one step at a time Each post will include some theory but also exercise and solution If you have any questions comments or you are new and need help you can comment below or send me a message Run your Ruby codeNo need to go through a complete install Just go to this website and start learning right now You will have plenty of time to figure out the Ruby installation on your local machine later on Ruby VariablesIf you re new to programming variables are the fundamental building blocks of a programming language as they are used to store different values that you want to process in your code Once the variable is store in program memory it can be used later on For example let say you want to store the user name you can use a variable call name and set its value to Mike Taylor name Mike Taylor In Ruby string is enclosed with quotation marks The variable name we just created is a string variable In Ruby we don t have to specify the variable type Ruby is a Just in time JIT interpreted language Which automatically recognizes the data type based on what variables are stored Here are some Ruby basic variables types and how to create them stringfull name Mike Taylor integer numbercount float numberbook price booleansactive trueadmin user falseRuby also has more advanced variables types like an array hash structure and class We will cover all of those in detail later OutputIn Ruby it is possible to output information to the console terminal For example let s send our name variable to the consolename Mike Taylor puts nameThe puts method will take any value we give him and print it to the console Mike TaylorOthers examplename Mike Taylor puts Hello World puts Hello nameHello WorldHelloMike TaylorAs you can see we can send multiple values to puts method and he will display all of them Another Ruby method very similar to puts is the method print Print can display something to the console but will not send the line break after each print Example name Mike Taylor print Hello nameHello Mike TaylorInputHow about getting info from the user In Ruby we use the method gets to do just thatprint Enter user name name getsThe console will then wait for user input Enter user name The gets method will return everything you type plus a line break characters If you don t want to read the line break characters use the chomp method to remove that last characterprint Enter user name name gets chompEverything in Ruby is an objectThe following concept will be a bit more advance Beginners could have hard time to fully understand this concept and it is ok In Ruby everything is an object Event types like integer string array are all objects All Ruby objects inherit properties and methods from their parent object Here an examplename Mike puts name upcase MIKEIn this example we use the method upcase to convert our string to upper case How is that s possible The name variable is a string and the string in Ruby is an object All string objects have already many pre build methods to help the developer The upcase method is not the only method provided by the string object There are many more methods available We will discover some of those in future posts If you want to know all available methods for string or any other Ruby objects you can consult Ruby official documentation We will come back later to this concept but just keep it in your mind Everything in Ruby is an object ExerciseCreate a little program that asks for the user name and age and save the result in the name and age variable Then display name and age variable in the consoleSolutionprint Enter user name name gets chompprint Enter user age age gets chompputs The user name is nameputs The user age is ageConclusionThat s it for today The journey just started stay tuned for the next post very soon If you have any comments or questions please do so here or send me a message on Twitter Follow me EricTheCoder |
2021-08-22 13:47:49 |
海外TECH |
DEV Community |
PWA || Mistakes While making pwa INSTALLABLE |
https://dev.to/shubham_ingale/pwa-mistakes-while-making-pwa-2le3
|
PWA Mistakes While making pwa INSTALLABLE The Mistakes that make your pwa not valid to install Or service and manifest does not meet installabilityToday I m writing the mistake that I created while making my pwas and grabbed some knowledge and now I am sharing that knowledge with you M Icons purpose In webmanifest we have to declare the purpose of our icon in icons purpose my purpose We write purpose maskable but it is not valid for Installiblity You have to declare purpose to any icons purpose any M Broken path It s more important that you have to write correct path every time If you write any broken path it will not meet Installiblity Where it s important While Adding caches sw js While writing paths of icon scope and start url manifest M Path have to smaller caseIn my appI was written And my folder was also APP but it s important that start url and scope in manifest have to match with the scope of registration of service worker with case sensitivity I replaced APP with app and my app became installable source codeIf you want to check pwa example Check NotableAPP Formal stack pdfs Make pdf from image markdown and more is coming Formal stack pdfsHey there this is app where you can create pdfs with jsPDF library and our ui ux this will help you to convert the images into pdfApp running at Currently under development View on GitHub NotableAPP NotableAPP github io The noting app BOOSTED View on GitHub |
2021-08-22 13:09:38 |
海外TECH |
DEV Community |
How are client hints really useful for web performance |
https://dev.to/hamiecod/how-are-client-hints-really-useful-for-web-performance-4491
|
How are client hints really useful for web performance IntroductionClient Hints are HTTP request header fields that a server can request from a client in order to get information about the client s device network etc The server can then determine the type of data to be displayed according to the client information received OverviewA server must tell the client that it supports client hints this can be done using the Accept CH header When a client that supports client hints receives the Accept CH header it can append client hint headers that match the advertised field values to subsequent requests For example on receiving Accept CH as a header from the server the client would append Width headers to all subsequent requests which sends some information about the client to the server in this format Accept CH WidthClient hints can also be specified in HTML using the lt meta gt tag with http equiv attribute The data from the client is not sent in the initial request to the server in the initial request the server returns Accept CH in the headers which informs the client that it takes data in the future request the client would append the header with the corresponding data Before client hints were a thing Vary HeaderThe client hints which determine which resources are sent in responses should be included in the Vary header This ensures that a different resource is cached for every different value of the hint header Usually client hints like Width and DPR are specified in the Vary header You may omit using Vary header if the values of the client hints change frequently causing a lot of cache enteries thus costing more money for maintaining the caches Example You would specify Width in Vary header generally as you want the response to be cached because the width of the device does not frequently change You would not specify the network speed in the Vary header as it changes frequently and you would not like to store multiple resources for different network speeds unless you want to burn your money spinning up multiple caches AnalogySuppose you want to dine at a restaurant so you look up the restaurant on google maps and it says that it has table reservations and you can specify the food beforehand to save you time You like specifying the food beforehand so you call up the restaurant and tell the staff the time you wanna dine and the food you will eat suppose chicken soup and kebab So when you go to the restaurant they give you the already specified food saving you time In this analogy the restaurant specifying on google maps that it accepts orders beforehand is Accept CH in client hints as the server specifies that it would take client data You calling up the restaurant and specifying the food beforehand is the data you send like your operating system device width or even browser dark or light mode The restaurant staff keeping the food ready beforehand is related to the server returning specific data corresponding to the data it received like it would show different colors if the client has dark mode and it would make the website responsive if the width of the client s device is shorter While departing from the restaurant you say that you really like the food and would come to the restaurant again to eat the same food the restaurant staff remembers that when you call them up next time and book a table and specify that you need the same food they would not need to ask you the specific food items as they remember that you ate chicken soup and kebab last time and they would serve the same thus saving you time Here you telling the staff at your first visit that you would eat the same food is the client hint in the Vary header the staff remembering it is related to caching the response for the request ExampleA client hint would require to know your operating system information and then show linux download files if it is a linux operating system or windows download files if it is a windows operating system A client sends the width and height of his device to the server via client hints This helps make the website responsive the width received by client hints is then used in media queries It is used for image delivery optimization if you want to send an image to the client you would usually send the same image for various device widths and sizes and then optimize them to suit the width of the client s device in the client side code this is really inefficient as suppose you are sending a k image to all the devices the image is about mb in size the image would be rendered nicely on a k monitor but for other devices suppose tablets and mobiles you would need to decrease the height and width of the image to suit it to tablets and mobiles Using client hints you would just send the required resolution image suppose a x image for a mobile phone and you would not have to send the huge k image to every device and then suit it to the device with client side code Here client side code is not the problem but bandwidth is you are sending huge images to devices which do not even need them hence lowering the performance of your website More InfoKeyCDNGoogle Developers blogWeb dev blog |
2021-08-22 13:01:30 |
Apple |
AppleInsider - Frontpage News |
M1X Mac mini with more ports could launch within months |
https://appleinsider.com/articles/21/08/22/m1x-mac-mini-with-more-ports-could-launch-within-months?utm_medium=rss
|
MX Mac mini with more ports could launch within monthsThe next Mac mini will feature both a new MX chip and an updated design a report claims one that will also include more ports than the current version and finally replace the Intel version in Apple s product catalog A render for what could be an updated Mac mini Jon Prosser Apple is expected to launch a number of new products during its fall events with one potential candidate being a new Mac mini A report on Sunday seems to double down on rumors relating to the desktop Mac including changes to its appearance and an improvement in performance Read more |
2021-08-22 13:35:56 |
ニュース |
@日本経済新聞 電子版 |
風速「50メートル以上」新設 気象庁、今秋にも新指標
https://t.co/K1neLzM34F |
https://twitter.com/nikkei/statuses/1429436397941710858
|
風速 |
2021-08-22 13:32:49 |
ニュース |
@日本経済新聞 電子版 |
国内コロナ感染、新たに2万2285人 累計130万5324人
https://t.co/8srKfRAccd |
https://twitter.com/nikkei/statuses/1429431240013205521
|
累計 |
2021-08-22 13:12:19 |
ニュース |
BBC News - Home |
Afghanistan: Tony Blair says sacrifices were not in vain |
https://www.bbc.co.uk/news/uk-58295384
|
decision |
2021-08-22 13:23:24 |
ニュース |
BBC News - Home |
Afghanistan: British evacuation improving, says armed forces minister |
https://www.bbc.co.uk/news/uk-58296816
|
heappey |
2021-08-22 13:25:16 |
ニュース |
BBC News - Home |
GB's Olympic BMX champion Shriever wins world title |
https://www.bbc.co.uk/sport/cycling/58298865
|
championships |
2021-08-22 13:48:46 |
LifeHuck |
ライフハッカー[日本版] |
冷蔵庫横の隙間を活用したい!幅14cmの小型台車で収納力アップ【今日のライフハックツール】 |
https://www.lifehacker.jp/2021/08/239868lht-sukima-ninja.html
|
隙間 |
2021-08-22 22:05:00 |
北海道 |
北海道新聞 |
自民、横浜市長選の敗北に衝撃 野党、次期衆院選へ弾み |
https://www.hokkaido-np.co.jp/article/580885/
|
横浜市長選 |
2021-08-22 22:18:04 |
北海道 |
北海道新聞 |
自衛隊機アフガン派遣へ 邦人、現地スタッフ退避で |
https://www.hokkaido-np.co.jp/article/580881/
|
治安悪化 |
2021-08-22 22:00:44 |
北海道 |
北海道新聞 |
生誕10年 とまチョップ祝福 親子ら、ふれあい楽しむ 苫小牧 |
https://www.hokkaido-np.co.jp/article/580846/
|
苫小牧市 |
2021-08-22 22:16:07 |
北海道 |
北海道新聞 |
91歳ギリヤークさん 気迫の舞踏 故郷函館で2年ぶり公演 |
https://www.hokkaido-np.co.jp/article/580877/
|
函館市松風町 |
2021-08-22 22:02:08 |
コメント
コメントを投稿