python |
Pythonタグが付けられた新着投稿 - Qiita |
オリジナルCコンパイラ neo-c2 version 2.0.0リリースです。BoehmGCのみとなりました。Python, viクローンもBoehmGCに対応 |
https://qiita.com/ab25cq/items/b6afb08e85d2ce02c0e8
|
少しソースコード本体にはオリジナルヒープシステムのコードも混じってますがとりあえず、マニュアル、Pythonviの方はBoehmGCのみとしました。 |
2021-11-26 00:58:08 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Pythonのテスト patch()関数のautospec指定でパッチ対象の関数/メソッドの仕様を保証する |
https://qiita.com/k_uchida_____/items/8cbb29d0e389a5b7c32c
|
|
2021-11-26 00:24:05 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
iOS coredata マイグレーション後 データか保存されない |
https://teratail.com/questions/371020?rss=all
|
iOScoredataマイグレーション後データか保存されない機能拡張のためcoredataの更新をしています。 |
2021-11-26 00:46:53 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Laravel herokuデプロイ後 特定のページだけ表示されない |
https://teratail.com/questions/371019?rss=all
|
Laravelherokuデプロイ後特定のページだけ表示されない前提・実現したいことLaravelを使ってPHPでwebサイトを作っていたのですが、herokuでのデプロイ後に特定のページだけ表示れないエラーが発生してしまいました。 |
2021-11-26 00:33:34 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
headerにfixedを設定している状況で、スムーススクロールのずれを改善したい(aos.css、aos.jsのアニメーションを維持しながら) |
https://teratail.com/questions/371018?rss=all
|
headerにfixedを設定している状況で、スムーススクロールのずれを改善したいaoscss、aosjsのアニメーションを維持しながら改善したい内容は「headerにfixedを設定している状況で、スムーススクロールのずれを改善したい」です。 |
2021-11-26 00:26:52 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
GitHubを用いたサイト制作について |
https://teratail.com/questions/371017?rss=all
|
CSSで文字のレイアウトや配置などを変えた結果をすぐにサイト上で表示させて、動作確認しながら作業を進めるにはどうすればよろしいのでしょうかサイトはvpsを利用して表示させています。 |
2021-11-26 00:21:16 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
checkがつきません |
https://teratail.com/questions/371016?rss=all
|
checkがつきません前提・実現したいことここに質問の内容を詳しく書いてください。 |
2021-11-26 00:17:57 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
tensorflow実行時のエラー”creating @tf.function repeatedly in a loop”について |
https://teratail.com/questions/371015?rss=all
|
tensorflow実行時のエラーcreatingtffunctionrepeatedlyinaloopについてPythonのkerasで機械学習を行っているのですが、グリッドサーチでパラメータを調整しているため、重for文を構成してしまっております。 |
2021-11-26 00:06:48 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AWS ネットワーク |
https://qiita.com/haruki_uejima/items/edb3bad42056d875233e
|
セキュリティを担保して、プライベートサブネットからインターネットに接続可能にするパブリックサブネットに配置し、ルーティングの設定をする。 |
2021-11-26 00:40:16 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
Railsのセットアップの時、mysql2というgemのせいでbundle installができない時に見る記事 |
https://qiita.com/masahiro_fukatsu/items/670d625d40d0c504aab0
|
参照元いろんな記事にて、bundleconfiglocalbuildmysqlwithldflagsLusrlocaloptopenssllibこのコマンドを実行すると解決するみたいなことがよく書かれていると思いますが、これは上記のopensslのライブラリの場所をwithldflagsというオプションに渡してあげるとopensslというライブラリ自体を参照するようにしてくれるみたいです。 |
2021-11-26 00:59:39 |
技術ブログ |
Developers.IO |
AWSのデータ転送無料枠が拡張されます。リージョンからの転送は月100GBまで無料、CloudFrontからの転送は月1TBまで無料に。 |
https://dev.classmethod.jp/articles/aws-free-tier-data-transfer-expansion/
|
erexpansiongbfromregionsa |
2021-11-25 15:51:49 |
海外TECH |
MakeUseOf |
How to Use Facebook Two-Factor Authentication and Mobile Code Generator |
https://www.makeuseof.com/tag/how-to-use-facebook-login-approvals-code-generator-android/
|
How to Use Facebook Two Factor Authentication and Mobile Code GeneratorHere s how to set up two factor authentication on your Facebook account and use the Facebook Code Generator for better security |
2021-11-25 15:45:41 |
海外TECH |
MakeUseOf |
How to Change the Default Web Browser on Android |
https://www.makeuseof.com/how-to-change-default-web-browser-android/
|
default |
2021-11-25 15:30:12 |
海外TECH |
MakeUseOf |
The Silicon Lottery: Why No Two Processors Are the Same |
https://www.makeuseof.com/silicon-lottery-why-no-two-processors-are-the-same/
|
variables |
2021-11-25 15:16:11 |
海外TECH |
DEV Community |
Removing people using UTF-8 👩👩👦👦 |
https://dev.to/jancizmar/removing-people-using-utf-8-3d2f
|
Removing people using UTF While I was writing my new article I found out about really cool thing I am going to share with you Check out this emoji containing people While I was trying to delete in VSCode using backspace it didn t disappear but it just changed to this After hitting another backspace it changed to then to and then it finally disappeared So it goes⌫⌫⌫⌫ Why this happens When we look on the decoded symbols we can see that the symbols are equal to this in hex xf xd xf xd xf xd xf xf xd xf xd xf xf xd xf xfWhile xd character is a ZERO WIDTH JOINER which tells the renderer that the preceding and following characters should join each other So it is like Cool isn t it PS Removing of single woman works as well so this can transformed to the hex code like this xf xd xf xd xf |
2021-11-25 15:37:32 |
海外TECH |
DEV Community |
I made a working Gameboy CSS art: try it out 🕹 |
https://dev.to/mustapha/i-made-a-working-gameboy-css-art-try-it-out-4m1j
|
I made a working Gameboy CSS art try it out Here is the story Last year I went to a interview for an Angular position and the interviewer asked me about a maze solving algorithm So I completed the algorithm and just for fun I went ahead and did an Angular project where you had to solve a maze generating a maze is also a good exercise So I had a fully working maze game in my laptop and I also had a CSS art of a Gameboy I figured I would be fun to merge these two together Try it out here if you re on laptop you can use your keyboard Contribute here or if you d like to give a ️ Demo here Mustapha Aouas theangularguy Check out this CSS art of a Gameboy I made with a small peculiarity it s actually playable Link theangularguy github io playable gameb…What s your highest score Mine is almost Use your keyboard if you re on a laptopMade with the angular game engine amp javascript html css PM Nov Follow me on Twitter at twitter com theAngularGuy as I tweet almost every day about the things I learned in my years journey in web development In this post we will talk about a couple of things that went into this project First we will talk about the maze generation algorithm and the maze solving algorithm Then we will talk about some CSS art key concepts Maze generation algorithmThere is a lot of algorithm for this The one I went with is the recursive generation for two reasons Because I love solving problems with recursion Scheme changed me Because the generated maze is prettier to look at with long alleys There s four steps in this algorithm Delimit the maze areaDivide the area vertically in the middle or at a random point and make an opening in the divisionTake the two halves and divide them horizontally in the middle and make an opening in each divisionTake each new portion and go to step This will go on and on until there s not enough room to make a division Here is a gif with the full process of generation You can visualize the maze as a binary tree each node represents a part division of the maze Maze solving algorithmFor solving the maze I used the depth first search algorithm It s not the most performant algorithm for solving a maze but it get s the job done and it s fairly easy to implement Also I use it to go thought the maze and find the longest path possible then I use that as the exit point goal location some might call it of the maze Here is a gif illustrating this algorithm I won t go too many details here but tell me in the comments if you would be interested in a maze solving article CSS art key conceptsWe are gonna talk about some CSS properties I wanted to highlight We can divide these properties into two categories Shape and Lightening impression of light and shadows Shape border radiusThe first one is the good old border radius You might use it to make circle or ellipses But this property can achieve more You can specify horizontal and vertical radius of each border Have a look at this snippet bellow plate border radius I used this to shape the gameboy plate and the black screen aspect ratioThis property is very useful it sets a preferred aspect ratio for the box which will be used in the calculation of auto sizes For example I can set the width and an aspect ratio and the height will be calculated automatically Have a look plate width px aspect ratio The height will be px I used this on almost every element Yeah I know I love this property transform skewYou might use transform for rotations scaling resizing or translation moving but you can also use it for distortion skewing The skew CSS property defines a transformation that skews an element on the D plane I use this for the sound holes grid Have a look at the image bellow with skewing right and without left There s also a rotation that is applied on the grid in both pictures Also for the sound grid I used a grid layout If you want to learn more about CSS grid I wrote an article where I explain every concept of it CSS Grid illustrated introduction Mustapha Aouas・Sep ・ min read css webdev tutorial beginners Light and shadow box shadowTo give an impression of volume lighting is essential Look at the two examples bellow left is without shadow and right is using shadows text shadow amp box shadow To achieve this effect of lighting we have to understand where to put light and where to put some shadow and that depends on if something is in relief or depression Have a look at the image bellow If we apply this to the buttons we would have something like this assuming the light is at the top left of the screen That translates to this code button box shadow inset px px px px rgb inset px px px px rgb px px px px rgb px px px px rgb The inset keyword changes the shadow to one inside the frame text shadowFo the texts we use the same principle either the text is in relief or depression Here is an example of a text that is in relief text text shadow px px px rgb px px px rgb That s it for this post I hope you liked it If you did please share it with your friends amp colleagues and follow me on Twitter at theAngularGuy where I tweet about web development and computer science Cheers What to read next amazing CSS properties you may not know yet Mustapha Aouas・Apr ・ min read css webdev design beginners |
2021-11-25 15:19:55 |
海外TECH |
DEV Community |
Getting started with Web Sockets in NodeJS |
https://dev.to/codesphere/getting-started-with-web-sockets-in-nodejs-49n0
|
Getting started with Web Sockets in NodeJSIn the day and age of live streaming video conferencing and remote work one of the primary concerns of any user is latency A seamless experience is the name of the game Traditional HTTP being dependent on client requests is simply not capable of fulfilling this need They re simply too slow It needs to be upgraded literally Let me introduce you to Websockets An event driven web friendly alternative to HTTP Websockets don t require a client request to fetch data from the server every time fulfilling the need for real time updates Wondering how Let s find it out What are Websockets In simple terms websockets are an upgrade to traditional HTTP Whenever a websocket request is made to regular HTTP it is actually upgraded to a websocket connection However this happens only at the protocol level meaning that your underlying TCP connection will remain the same as it was when working on HTTP protocol In order to use a websocket a client first sends a request to upgrade the server If the server supports websockets which these days it usually does it will accept the request and switch the protocols from HTTP to websocket Once the protocol switching is successful the http server becomes a websocket server and a persistent connection is created between the client and the server Next the websocket server waits for an event to happen and once it does it performs the function attached to the event For example in a chat application you don t have to place a request for the next message every time Being a websocket connection event driven the server simply pushes every new message the event it receives directly to the client Websockets are mostly used at places where real time updates are necessary For example Chat applications Location based apps Social feeds Collaborative work Multi player gaming Live streaming Financial and sports updates Each of the above renders an enhanced user experience thanks to WebSockets Websockets always maintain their state unlike HTTP which is stateless and utilize a full duplex connection Furthermore headers in WebSockets are sent only once while sending the upgrade request This is why WebSockets have speeds times better than traditional HTTP Sounds exciting It does but this is all well and good in theory Nothing like the feeling than to see it in action and better yet implementing it yourself So let s get right to it Setting up the development environmentFirst things first we need to set up our development environment by installing the required files and packages and creating our workspace We will be using the ws library to create a simple chat application using websockets in NodeJS First in our project folder create two folders named client and server Now fire up the node terminal and go to the server directory and run the following commands one by onenpm init y initializes node and creates a package json filenpm install websocket installs websocket librarynpm install ws installs ws library a websocket implementationnpm install express installs express for creating a simple http servernpm install nodemon installs nodemon package to track changes in our code and restart serverAfter this is done create a file named index js inside your server folder This index js will be our server side javascript file Now we move on to the client folder In the client folder create a file called index html and another file called script js The HTML file will be the frontend for the application and script js will be the client side javascript file Implementing the serverNow let s code the server side javascript Add the following code to index js in the server folder Implementing the clientAs we are done with the server side time to implement the client We start with index html Add the following code to it Moving to the script js file Add the following code to it Websockets in ActionAnd there you have it When you deploy your app make sure to run both the server and client sides your HTML page will open up If you type anything in the input box and click Send Message the server will echo it back to you But where s the fun in that We want to see two clients chatting Open another browser or another instance of the same browser Now go to the same URL as above Place both browsers side by side on your screen Now when you send a message from one it will reflect in the other while echoing in the same as well You can try the same with both browsers and it will work just the same You can notice that the echo and the message in the other browser appear at practically the same time That s your WebSocket at work There you go I hope you found this simple implementation of a chat application using WebSockets in NodeJS fun to work with Get creative with it When you re ready to show off your project deploy it on Codesphere the only cloud platform that takes the headache out of configuring your cloud services It only takes minutes to deploy That was it from our side Let us know what amazing real time application you re going to build down below |
2021-11-25 15:18:49 |
Apple |
AppleInsider - Frontpage News |
8 Black Friday Apple deals on Amazon you won't want to miss |
https://appleinsider.com/articles/21/11/25/8-black-friday-apple-deals-on-amazon-you-wont-want-to-miss?utm_medium=rss
|
Black Friday Apple deals on Amazon you won x t want to missAmazon has slashed prices on Apple gear for Black Friday delivering AirPods Apple Pencils Apple Watch Series markdowns triple digit MacBook discounts and more With Black Friday sales in full swing Amazon s latest round of price drops on Apple products offer some of the year s best prices on the latest hardware Discover our top eight picks this Thanksgiving ーbut beware many are likely to sell out soon Read more |
2021-11-25 15:48:22 |
海外TECH |
Engadget |
Arturia's V Collection instruments now have native M1 Mac support |
https://www.engadget.com/arturia-v-collection-m1-mac-support-150035533.html?src=rss
|
Arturia x s V Collection instruments now have native M Mac supportIt s now that much easier to use Arturia s softsynths on your brand new MacBook Arturia has released a free V Collection update that adds native support to the currently discounted suite for Macs with M processors That should improve performance as you might guess but it could also help with battery life if you need to play unplugged Other speed updates are in store The update boosts the performance of K interfaces through a new framework and presets from the V Collection factory libraries now load up to twice as quickly You ll also find ODDSound MTS ESP microtuning compatibility for the Clavinet V DX V Piano V and Stage V This might be an important update if you use softsynths for music making Arturia has a reputation for virtual instruments that are both meticulous and relatively accessible This both makes V Collection more viable on M Macs and gives you more incentive to rely on digital synths instead of hunting down their costlier real world counterparts |
2021-11-25 15:00:35 |
海外科学 |
NYT > Science |
As Young Kids Get Covid Shots, Families Feel a 'Huge Weight' Lifted |
https://www.nytimes.com/2021/11/25/health/covid-vaccine-children-immunocompromised.html
|
As Young Kids Get Covid Shots Families Feel a x Huge Weight x LiftedMany households with immunocompromised or vulnerable relatives are racing to get Covid shots for their to year olds ーand finally experiencing a long awaited sense of relief |
2021-11-25 15:36:46 |
海外科学 |
BBC News - Science & Environment |
Roman mosaic and villa complex found in Rutland farmer's field |
https://www.bbc.co.uk/news/uk-england-leicestershire-59391650?at_medium=RSS&at_campaign=KARANGA
|
britain |
2021-11-25 15:47:04 |
金融 |
RSS FILE - 日本証券業協会 |
株券等貸借取引状況(週間) |
https://www.jsda.or.jp/shiryoshitsu/toukei/kabu-taiw/index.html
|
貸借 |
2021-11-25 15:30:00 |
金融 |
RSS FILE - 日本証券業協会 |
株主コミュニティの統計情報・取扱状況 |
https://www.jsda.or.jp/shiryoshitsu/toukei/kabucommunity/index.html
|
株主コミュニティ |
2021-11-25 15:30:00 |
金融 |
金融庁ホームページ |
「デジタル・分散型金融への対応のあり方等に関する研究会」(第3回)議事録について公表しました。 |
https://www.fsa.go.jp/singi/digital/gijiroku/20211006.html
|
Detail Nothing |
2021-11-25 17:00:00 |
金融 |
金融庁ホームページ |
金融安定理事会による「LIBOR公表停止に向けた準備を支援するためのステートメント」について掲載しました。 |
https://www.fsa.go.jp/inter/fsf/20211125/20211125.html
|
libor |
2021-11-25 17:00:00 |
金融 |
金融庁ホームページ |
金融安定理事会による本会合議事要旨について掲載しました。 |
https://www.fsa.go.jp/inter/fsf/20211125_2/20211125_2.html
|
金融安定理事会 |
2021-11-25 17:00:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
米テスラ、バッテリー製造装置の生産拠点をカナダ・オンタリオ州に開設 |
https://www.jetro.go.jp/biznews/2021/11/4cd2bba145b46c25.html
|
生産拠点 |
2021-11-25 15:40:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
米議会の米中調査委員会、年次報告で米企業の対中投資の審査制度を提言 |
https://www.jetro.go.jp/biznews/2021/11/43956f42221e21d9.html
|
対中投資 |
2021-11-25 15:20:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
反汚職掲げた新党が議会選挙で勝利、ラデフ大統領が再選 |
https://www.jetro.go.jp/biznews/2021/11/28feaa555274d556.html
|
議会選挙 |
2021-11-25 15:10:00 |
ニュース |
BBC News - Home |
Channel deaths: More boats arrive after 27 people drown |
https://www.bbc.co.uk/news/uk-59412329?at_medium=RSS&at_campaign=KARANGA
|
dover |
2021-11-25 15:14:00 |
ニュース |
BBC News - Home |
Caroline Glachan: Three charged with 1996 murder of schoolgirl |
https://www.bbc.co.uk/news/uk-scotland-glasgow-west-59414360?at_medium=RSS&at_campaign=KARANGA
|
august |
2021-11-25 15:55:03 |
ニュース |
BBC News - Home |
Ralf Rangnick: Manchester United set to appoint German on six-month contract |
https://www.bbc.co.uk/sport/football/59421961?at_medium=RSS&at_campaign=KARANGA
|
contract |
2021-11-25 15:56:56 |
ニュース |
BBC News - Home |
Richard Madeley to leave I'm a Celebrity |
https://www.bbc.co.uk/news/entertainment-arts-59414721?at_medium=RSS&at_campaign=KARANGA
|
celebritythe |
2021-11-25 15:43:28 |
ニュース |
BBC News - Home |
National Trust bans trail hunting on its land |
https://www.bbc.co.uk/news/uk-59420935?at_medium=RSS&at_campaign=KARANGA
|
hunts |
2021-11-25 15:53:20 |
ニュース |
BBC News - Home |
Amazon workers plan Black Friday strikes |
https://www.bbc.co.uk/news/technology-59419572?at_medium=RSS&at_campaign=KARANGA
|
busiest |
2021-11-25 15:25:24 |
ニュース |
BBC News - Home |
Berney Arms: Quietest rail stop sees eight-fold passenger rise |
https://www.bbc.co.uk/news/uk-england-norfolk-59418071?at_medium=RSS&at_campaign=KARANGA
|
numbers |
2021-11-25 15:17:51 |
ニュース |
BBC News - Home |
Roman mosaic and villa complex found in Rutland farmer's field |
https://www.bbc.co.uk/news/uk-england-leicestershire-59391650?at_medium=RSS&at_campaign=KARANGA
|
britain |
2021-11-25 15:47:04 |
ニュース |
BBC News - Home |
Channel migrants: Why can't crossings be stopped? |
https://www.bbc.co.uk/news/uk-59419972?at_medium=RSS&at_campaign=KARANGA
|
options |
2021-11-25 15:28:58 |
ニュース |
BBC News - Home |
Why do migrants leave France and try to cross the English Channel? |
https://www.bbc.co.uk/news/uk-53699511?at_medium=RSS&at_campaign=KARANGA
|
boats |
2021-11-25 15:35:46 |
ニュース |
BBC News - Home |
Peter Jackson on how Tolkien stopped a Beatles LOTR film |
https://www.bbc.co.uk/news/entertainment-arts-59387182?at_medium=RSS&at_campaign=KARANGA
|
letdown |
2021-11-25 15:47:12 |
北海道 |
北海道新聞 |
受診控え、がん患者6万人減 20年、コロナ影響で初めて |
https://www.hokkaido-np.co.jp/article/615711/
|
国立がん研究センター |
2021-11-26 00:19:00 |
北海道 |
北海道新聞 |
首相、3%賃上げ経済界に要請へ 来春闘、4年ぶりに数値示す |
https://www.hokkaido-np.co.jp/article/615701/
|
岸田文雄 |
2021-11-26 00:04:05 |
北海道 |
北海道新聞 |
道内シシャモ2年連続で過去最低更新へ |
https://www.hokkaido-np.co.jp/article/615679/
|
過去最低 |
2021-11-26 00:13:24 |
北海道 |
北海道新聞 |
札幌市長83%減 2020年分の政治資金収支報告書 |
https://www.hokkaido-np.co.jp/article/615709/
|
政治資金収支報告書 |
2021-11-26 00:08:00 |
北海道 |
北海道新聞 |
政治団体収入28%減 20年道内収支報告 国政選挙なく |
https://www.hokkaido-np.co.jp/article/615707/
|
政治資金収支報告書 |
2021-11-26 00:06:00 |
北海道 |
北海道新聞 |
鈴木知事、8割減1669万円 2020年政治資金収支報告書 |
https://www.hokkaido-np.co.jp/article/615708/
|
政治資金収支報告書 |
2021-11-26 00:07:00 |
北海道 |
北海道新聞 |
新型コロナワクチン、受験生の接種進む 12~19歳の2回接種率58・3% 専門家「希望する場合は早めに計画を」 |
https://www.hokkaido-np.co.jp/article/615702/
|
新型コロナウイルス |
2021-11-26 00:05:16 |
コメント
コメントを投稿