python |
Pythonタグが付けられた新着投稿 - Qiita |
VSCodeにFlaskを導入する方法ー補足ー |
https://qiita.com/Euphysics/items/45044dac795b6d0f80e4
|
approuteadditionltintnumgtltintnumgtについて変数の型を指定することもできる。 |
2022-02-11 23:26:25 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Flask-loginでタイムアウト設定(記録) |
https://qiita.com/yutamugiruru/items/b09e2c262fc33d96960c
|
Flaskloginでタイムアウト設定記録FlaskにてFlaskloginを使用してsessionのタイムアウト設定を行いました。 |
2022-02-11 23:26:01 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【備忘録】画像処理 #2 RGB、ヒストグラム、統計量 |
https://qiita.com/haratena9/items/2f1cdf0c65216438a523
|
【備忘録】画像処理RGB、ヒストグラム、統計量この備忘録について最近会社でディープラーニングや動画像処理に触れる機会があったのだが、パラメータの触り方やデータ増幅について分からないことが多かったため動画像処理をから勉強していくことにした。 |
2022-02-11 23:25:57 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
分類モデル比較(データ可視化→学習→予測結果可視化→評価関数の比較)※testver |
https://qiita.com/panchoooon/items/c577d5b211e04843eece
|
XtrainXtestYtrainYtesttraintestsplitXYtestsizerandomstateのデータを学ロジスティック回帰モデルYpialphaXbetaロジスティック関数πpifracexexfromsklearnlinearmodelimportLogisticRegressionfromsklearnlinearmodelimportLogisticRegressionmodelLRLogisticRegressionロジスティック回帰モデルのインスタンスを作成modelLRfitXtraintonumpyYtraintonumpyロジスティック回帰モデルの重みを学習サポートベクターマシンマージン識別境界と、識別境界と最短距離のサンプルとの距離を最大化fromsklearnsvmimportLinearSVCmodelLinearSVCLinearSVCサポートベクターマシンのインスタンス生成modelLinearSVCfitXtrainYtrainサポートベクターマシンモデルの重みを学習Kmeansクラスター数KとK個の重心を決める。 |
2022-02-11 23:01:31 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
プライベートAPI Gatewayでプライベートサブネット内の Fargate API をコールする |
https://qiita.com/kuromame1020611/items/0016dad116de16fd63d2
|
その他のAWSリソースに関しては、構築済みとします。 |
2022-02-11 23:24:34 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
【Docker】Dockerに関する用語について |
https://qiita.com/P-man_Brown/items/0c475907fe83fc76689d
|
Dockerのソフトウェアを使用して素早くコンテナを起動し、さまざまなアプリケーションを実行することができます。 |
2022-02-11 23:31:30 |
golang |
Goタグが付けられた新着投稿 - Qiita |
# 【Go】関数にポインタ引数を渡すメリット(※かなり基礎的なこと) |
https://qiita.com/endo-yuki/items/145c837f11a407d9fd50
|
ポインタは変数のアドレスを持っていますので、関数へポインタ引数を渡すことで、関数が間接的に渡された変数を更新することができるようになります。 |
2022-02-11 23:16:47 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
Azure DataFactoryでファイル分割する |
https://qiita.com/masahiro-yamaguchi/items/5dc66fb545f29b027319
|
基本は「分割対象となる入力ファイル用のデータセットの作成」と同じなので、似たような場所は割愛し、各種プロパティの設定から記載します。 |
2022-02-11 23:40:02 |
技術ブログ |
Developers.IO |
[Jest] clearAllMocks()とresetAllMocks()の違いについて確認してみた |
https://dev.classmethod.jp/articles/jest-the-difference-between-clearallmocks-and-resetallmocks/
|
jestdelightfuljavascrip |
2022-02-11 14:52:45 |
海外TECH |
Ars Technica |
Elon Musk provides an update on Starship: “It’s been mindbogglingly difficult” |
https://arstechnica.com/?p=1832686
|
fragile |
2022-02-11 14:49:26 |
海外TECH |
MakeUseOf |
Threema vs Signal: Comparing the Best Privacy-Focused Messengers |
https://www.makeuseof.com/threema-vs-signal-messengers/
|
Threema vs Signal Comparing the Best Privacy Focused MessengersSignal and Threema are two of the best privacy oriented messengers you can use today But does one come out on top over the other Let s find out |
2022-02-11 14:30:13 |
海外TECH |
MakeUseOf |
How to Set Your Vacations and Days Off on Todoist |
https://www.makeuseof.com/how-to-set-vacations-days-off-todoist/
|
todoist |
2022-02-11 14:30:12 |
海外TECH |
MakeUseOf |
13 Basic SQL Commands and Queries Programmers Should Know |
https://www.makeuseof.com/tag/important-sql-commands-programmer-know/
|
Basic SQL Commands and Queries Programmers Should KnowEvery big or dynamic website uses a database in some way and when combined with Structured Query Language SQL the possibilities for manipulating data really are endless |
2022-02-11 14:16:49 |
海外TECH |
MakeUseOf |
How to Build a COVID-19 Tracker in JavaScript |
https://www.makeuseof.com/build-covid-19-tracker-in-javascript/
|
javascript |
2022-02-11 14:16:48 |
海外TECH |
DEV Community |
Javascript Dev Heart Messages |
https://dev.to/jarvisscript/javascript-dev-heart-messages-5hl4
|
Javascript Dev Heart MessagesRemember those Valentine s Candy Conversation hearts For this project I m recreating them using vanilla JavaScript and CSS Why cause I had an idea to do it Draw a heartIf we re going to write on a heart we need to build the heart first This is made with some basic shapes a square and two circles To make a CSS Circle you make a square and give it a border radius of I added borders so you can see the individual shapes Once the shapes are made use transform rotate deg to turn the heart so the point is straight down I added a drop shadow to make the heart standout from the background Javascript MessagesNext we need a list of messages Here s some of the messages used for the project I didn t them list all to save some space var messages Will you be my variable Be the Fizz to my buzz This Stickers if you date lt lt br gt call me You “My heart I will always write tests git commit m heart lt br gt Next we need a function to pull a random message from the list and put it in the heart Id div that is on top of the Bigheart the CSS heart function sweetHeartMsg var randomNumber Math floor Math random messages length document getElementById heart innerHTML messages randomNumber heart style display block The function is activated by clicking a button lt div class login screen gt lt h gt Hello World lt h gt Click the button for random candy heart message lt input type submit value Dev Hearts class btn btn primary btn large btn block id submit onclick sweetHeartMsg gt lt div gt That puts the message on the heart Wrap upThis was a good exercise if I would make a version I ll allow users to enter their own messages to display on the heart I would also like to thank my friends Meg and Julia at VirtualCoffee for helping with message suggestions Heart shape inspired by this post |
2022-02-11 14:09:07 |
Apple |
AppleInsider - Frontpage News |
Daily deals Feb. 10: $100 off 27-inch LG Ultragear monitor, $30 off Kindle Paperwhite, more! |
https://appleinsider.com/articles/22/02/11/daily-deals-feb-10-100-off-27-inch-lg-ultragear-monitor-30-off-kindle-paperwhite-more?utm_medium=rss
|
Daily deals Feb off inch LG Ultragear monitor off Kindle Paperwhite more Friday s best deals include a discount on ESR HaloLock MagSafe charger off GoPro Hero and a Keychron K mechanical keyboard for Best deals February As we do every day we ve collected some of the best deals we could find on Apple products tech accessories and other items for the AppleInsider audience If an item is out of stock it may still be able to be ordered for delivery at a later date Read more |
2022-02-11 14:42:20 |
Apple |
AppleInsider - Frontpage News |
Over 6.5 million terabytes of flash storage ruined because of contamination at factory |
https://appleinsider.com/articles/22/02/10/factory-contamination-ruins-65-million-terabytes-of-flash-storage-prices-may-rise?utm_medium=rss
|
Over million terabytes of flash storage ruined because of contamination at factoryWestern Digital and Kioxia cut production at two plants in Japan after contamination was discovered in raw materials which will likely lead to price hikes and further strain on the already taxed supply chain Western Digital and Kioxia flash memory production impacted by contaminated materialsWestern Digital and Kioxia are some of the largest producers of flash memory in the industry Contaminated materials in plants at Yokkaichi and Kitakami have led to limited production of flash memory which is expected to impact the rest of the industry Read more |
2022-02-11 14:05:54 |
海外TECH |
Engadget |
European publishers lodge EU antitrust complaint against Google's ad tech |
https://www.engadget.com/european-publishers-council-google-antitrust-eu-142715898.html?src=rss
|
European publishers lodge EU antitrust complaint against Google x s ad techGoogle is facing more antitrust pressure in the EU over its advertising tech Reutersreports the European Publishers Council EPC has filed an EU complaint against Google alleging the company has an illegal quot stranglehold quot on ad tech and the press The Internet giant s ad suite is claimed to be quot rife with conflicts of interests quot as it not only represents the buyer seller and auction house but supposedly exploits that control to profit at the expense of its customers Council Chairman Christian Van Thillo saw the complaint as prompting the EU to take action where it was otherwise reluctant The move should make Google quot actually change quot its behavior after years of quot minor commitments quot that don t provide any substantial impact Van Thillo said The EPC pointed to antitrust cases in multiple countries to support its case including a multi state US lawsuit The EU began its newest probe into Google s ad business in June It shares the EPC s general concerns about potential abuse It didn t set a deadline for the investigation however and has already fined Google three times over its ad practices Antitrust hunts like these can take years to wind down and the complaint theoretically accelerates the process In a statement Google argued companies enjoyed its ad tech but didn t address the unfair competition issues Publishers keep the quot majority of revenue quot which climbs to quot billions quot of US dollars a representative said There s no certainty the EPC complaint will prompt the EU to demand significant changes to Google s ad policies It might ramp up the pressure on Google to act however even if it s just to minimize any potential penalties |
2022-02-11 14:27:15 |
海外TECH |
Engadget |
My iPhone knows my inside leg measurement |
https://www.engadget.com/scanatic-faceid-3d-body-scanning-fashion-140040343.html?src=rss
|
My iPhone knows my inside leg measurementTailoring is fancy sufficiently fancy that you may go your entire life and never once experience the art It s expensive having garments custom made to suit your body shape even if there are a legion of benefits in doing so Mass produced clothes meanwhile are never going to do the job if you ve got a body that diverges from what s expected or treated as “normal There are two real problems Measurement and manufacturing issues that the fashion industry is wrestling with right now A Taiwanese company TGD has at least discovered a way to solve the first part of the equation with little more than an iPhone It has developed a method of using FaceID to scan the geography of your body to give you a suite of measurements in minutes I first encountered TGD back in when the company was showing off its wares at Computex in Taipei The system then required you to step into a booth the size of a changing room which housed pillars full of infrared cameras When activated the system would scan your body and help you determine the ideal sizes for trying on clothes Since then the company has been working to shrink this technology down to something that requires a lot less investment Any FaceID equipped iPhone can now offer a similar albeit less accurate scanning solution enabling users to test sizes for off the peg clothes Co founder Rick Yu explained that the project was designed for ready to wear fashion to “solve the issue of huge returns Returns are after all a key problem for e commerce fashion brands since buyers can t be sure that their preferred size will actually fit them “A lot of consumers buy three different sizes and return the other two which is bad for both the planet and most retailers bottom lines If you know ahead of time what you need to order the wastage and expense should decrease I tested the system and found that much like it did in it reminded me how much timber I need to drop from my waistline All you need to do however is stand your phone up on a flat surface and it does need to be perfectly flat so grab a book or some sticky tack Then just stand in view of the camera ideally just in your underwear and when ready start turning around on the spot with your arms away from your sides All in all the scanning process takes less than a minute and the analysis only takes a further two or three Once you ve previewed your avatar to check it is more or less in the right shape you can then send it off to the cloud to be properly analyzed You may notice that in use your face hands and feet are replaced with something blank and generic This says Yu was an intentional move to protect user privacy given that you ll be partially clothed during the scanning process The data produced by FaceID isn t by itself accurate enough to produce a fully measured avatar however Once captured it s sent to TGD s server to be analyzed “we have an AI engine that identifies the landmarks explained Yu “We identify the landmarks we position the landmarks and then based on that we extract up to measurements automatically he said Daniel Cooper TGDMuch of this data and the conclusions generated from it have been curated through years of interviews with tailors and pattern makers “These measurements that make sense to them said Yu when I asked for an explanation for some of the more arcane terminology Yu explained that the margin of error using the iPhone system is at most inches Yu also explained that the data can be exported in a variety of formats so as well as being used for tailoring there are other solutions in play For instance an avatar file could be exported in a OBJ file which can be used for D modeling and sculpting And naturally it s also possible to capture this data and create an avatar for any potential metaverse that could require it TGD s solution isn t the only thing on the market and plenty of other companies are operating in this space looking for a magic bullet Shopify for instance was recently granted a patent for a body measuring concept to help folks choose garments Amazon s Echo Look had a fairly rudimentary system to judge a fit based on how well it flattered your body MTailor offers a scanning service by analyzing a video clip its users upload for similar results All of this is going to be vital in order to help reduce fashion s already problematic waste problem The industry reportedly consumes percent of the world s total greenhouse emissions and percent of its water That s both down to sourcing and manufacturing through the waste involved in the buying and returns process when it reaches our homes But the consequences of this overproduction and overconsumption are piling up One fairly pernicious example is blighting the Atacama desert in Chile Garments made in South Asia will first be sold in Europe and the US before the unsold sock is sent to South America for resale Anything that remains unsold is dumped in huge piles left to rot in the daylight with the price tags still on This isn t the only example of this however and there are toxic waste piles piling high in Ghana right now Measurements are only half the problem and manufacturing still remains a huge issue with the industry today Attempts by companies to automate this process have not been successful Adidas Speedfactory concept for instance was abandoned back in Yu whose technology has most prominently been used by H amp M in its flagship Stockholm store to create custom jeans with partner Unspun also waxed lyrical about the future of fashion He showed me the concept of an online retailer that was entirely virtual A user can plug their body scan into the outfits on screen and get instant previews of how they would look in them But this could happen before the garment is even made ensuring that only what s good gets produced For now I can be confident that my iPhone at least knows my inside leg measurement The next step is for every fashion brand to work out how to stop my thighs rubbing the seat of my jeans to dust |
2022-02-11 14:00:40 |
ニュース |
BBC News - Home |
Labour MP Neil Coyle suspended over racist comment claim |
https://www.bbc.co.uk/news/uk-politics-60347836?at_medium=RSS&at_campaign=KARANGA
|
british |
2022-02-11 14:19:07 |
ニュース |
BBC News - Home |
Russian figure skater's failed drug test confirmed |
https://www.bbc.co.uk/sport/winter-olympics/60329120?at_medium=RSS&at_campaign=KARANGA
|
december |
2022-02-11 14:32:24 |
ニュース |
BBC News - Home |
Kurt Zouma: West Ham boss David Moyes says defender available for Leicester City game |
https://www.bbc.co.uk/sport/football/60345306?at_medium=RSS&at_campaign=KARANGA
|
Kurt Zouma West Ham boss David Moyes says defender available for Leicester City gameWest Ham boss David Moyes says Kurt Zouma is available for Sunday s game at Leicester amid the controversy of the defender being filmed kicking his cat |
2022-02-11 14:38:33 |
ニュース |
BBC News - Home |
Yorkshire regain right to host England matches |
https://www.bbc.co.uk/sport/cricket/60332592?at_medium=RSS&at_campaign=KARANGA
|
march |
2022-02-11 14:02:49 |
ニュース |
BBC News - Home |
Winter Olympics: Bobsleigh blunder & White's emotional last run - day seven best bits |
https://www.bbc.co.uk/sport/av/winter-olympics/60352162?at_medium=RSS&at_campaign=KARANGA
|
Winter Olympics Bobsleigh blunder amp White x s emotional last run day seven best bitsWatch some of the best moments from day seven of the Winter Olympics including an epic bobsleigh blunder history making Hirano and an emotional Shaun White |
2022-02-11 14:50:47 |
ニュース |
BBC News - Home |
Winter Olympics: Great Britain have mixed fortunes in curling |
https://www.bbc.co.uk/sport/winter-olympics/60343106?at_medium=RSS&at_campaign=KARANGA
|
Winter Olympics Great Britain have mixed fortunes in curlingGreat Britain s men s curlers recover from an earlier defeat by the United States to beat Norway while the women suffer a tough defeat by South Korea |
2022-02-11 14:40:54 |
北海道 |
北海道新聞 |
ぷかぷか~流氷にラッコ 納沙布岬沖、元飼育員が撮影 |
https://www.hokkaido-np.co.jp/article/644677/
|
納沙布岬 |
2022-02-11 23:03:11 |
北海道 |
北海道新聞 |
地元食材のスムージー人気 釧公大とふたみ青果 300袋完売、12日も販売 |
https://www.hokkaido-np.co.jp/article/644769/
|
釧路公立大 |
2022-02-11 23:01:13 |
海外TECH |
reddit |
What is your five year plan? |
https://www.reddit.com/r/AskReddit/comments/sq08p6/what_is_your_five_year_plan/
|
What is your five year plan submitted by u Grogenhymer to r AskReddit link comments |
2022-02-11 14:06:58 |
コメント
コメントを投稿