投稿時間:2023-07-22 00:19:48 RSSフィード2023-07-22 00:00 分まとめ(24件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita ライブラリのインストール https://qiita.com/yuredzone/items/019697cb23d2efed7d0e nstallnumpymatplotlibpand 2023-07-21 23:49:50
Ruby Rubyタグが付けられた新着投稿 - Qiita tapioca の DSL compiler のしくみ https://qiita.com/tomoasleep/items/a9b8a7a7bbdab9bc7a44 dslcompiler 2023-07-21 23:59:01
Ruby Rubyタグが付けられた新着投稿 - Qiita 自作Brainf*ckインタプリタを使ってAtCoderをBrainf*ckで解く https://qiita.com/ohakutsu/items/275c8d306879dea43fe8 atcoder 2023-07-21 23:52:57
Ruby Rubyタグが付けられた新着投稿 - Qiita 顧客マイページ作成 https://qiita.com/mirimu/items/d75609a12ce42728c2af spacepublicdoresources 2023-07-21 23:36:22
Azure Azureタグが付けられた新着投稿 - Qiita AzureLogicAppsでCosmosDB内のドキュメントに一部変更を加える https://qiita.com/orc_jj/items/7006fc887a0eadbac283 azurelogicapps 2023-07-21 23:29:08
Git Gitタグが付けられた新着投稿 - Qiita gitに極力改行コードを変換させないための設定(最終版) https://qiita.com/himitune/items/16b61bf3338eceeb1596 config 2023-07-21 23:05:26
Ruby Railsタグが付けられた新着投稿 - Qiita 顧客マイページ作成 https://qiita.com/mirimu/items/d75609a12ce42728c2af spacepublicdoresources 2023-07-21 23:36:22
Ruby Railsタグが付けられた新着投稿 - Qiita rails モデル作成まとめ https://qiita.com/ryuuya0921/items/9578c789d08ca1987755 rails 2023-07-21 23:21:14
海外TECH MakeUseOf How to Fix an Apple Watch Not Recording Workout Data Accurately https://www.makeuseof.com/fix-apple-watch-not-recording-workout-data/ fitness 2023-07-21 14:30:22
海外TECH MakeUseOf Best Chromebook Deals: Save Money on Your New Favorite Laptop https://www.makeuseof.com/best-chromebook-deals/ favorite 2023-07-21 14:28:15
海外TECH DEV Community LaunchDarkly across multiple celery tasks https://dev.to/pjhoberman/launchdarkly-across-multiple-celery-tasks-1fb5 LaunchDarkly across multiple celery tasksWe were running into an issue recently where LaunchDarkly wasn t evaluating on celery servers Opening a python shell on the boxes showed the keys were setup correctly and that if we called the methods directly the flags evaluated as expected However when called as a delayed task the flags weren t evaluating LaunchDarkly makes use of fork in python and requires that only one LaunchDarkly client instance exists This post is a good primer on forking in python It appeared that this was the issue My coworker Doug explained it thusly The LaunchDarkly library makes use of threading Celery starts the main control process that uses fork to start n workers based on your concurrency setting Forking copies the current process into a new one but in Python it kills off all but the thread doing the forking All others are stopped So the threads that LaunchDarkly starts up during initialization e g EventDispatcher or StreamingUpdateProcessor end up defunct or unpredictable The Locks used within LaunchDarkly are thread independent but because threads are killed off in the child you end up with an invalid state and can t trust things will work Further LaunchDarkly recommends a post fork hook to initialize the client import uwsgidecorators uwsgidecorators postforkdef post fork client initialization ldclient set config LDConfig sdk key abc client ldclient get endHowever our Django application uses asgi which doesn t currently have this hook This is our current LaunchDarkly configuration launch darkly py import atexitimport sysfrom django conf import settings Sets up Launch Darkly for use across the site LD is already initialized See discovery service views ld check for example usage class LDClient def getattr self v if ldclient in sys modules import ldclient else import ldclient from ldclient config import Config ldclient set config Config settings LAUNCH DARKLY SDK KEY return getattr ldclient get v ld client LDClient atexit registerdef close ld args kwargs LD recommends closing upon app shutdown ld client close The LDClient class allows us to ignore new instantiations of the ldclient library if it s already been loaded And the general use is from launch darkly import ld clientdef flagged code flag ld client variation flag name key False False is the default in this case if flag do something if the flag is on else do something else if the flag is offAfter a lot of bashing through walls aka iterative development we discovered two things Module Level instantiationThere was a module level instantiation of the LaunchDarkly client that was causing the library to initialize before the fork Basically the above code but instead from launch darkly import ld clientflag ld client variation flag name key False False is the default in this casedef flagged code if flag do something if the flag is on else do something else if the flag is offSo that code was removed refactored Celery initializationIn our celery py code we added a worker process init hook to initialize the library properly This ensures that when the celery workers fork there is definitely a ldclient ready to go for any code that requires it worker process init connectdef configure worker signal None sender None kwargs Initialize the Launch Darkly client for use in Celery tasks try res ld client variation test flag key logging info f LD client initialized for Celery worker res except Exception import traceback traceback print exc logger error Error initializing LD client for Celery worker exc info True To aid in future discovery and debugging we also created a celery task that we can call on the fly to make sure things are working shared taskdef celery ld check flag test flag key default not found Test LaunchDarkly SDK connectivity from Celery print trying celery ld check try variation ld client variation flag key key default print f celery ld check variation except Exception as e print f celery ld check e Lastly we will likely iterate on the LDClient class to deal with issues regarding the fork on the fly Let me know if this helps you in your code or sparks any ideas for you 2023-07-21 14:36:36
海外TECH DEV Community How To Design A Login Form https://dev.to/gechiclazz/how-to-design-a-login-form-1mk9 How To Design A Login FormThe login form will be the main topic of this article s examination of HTML forms We will also discuss some CSS styling while doing this The coding used to create this form used Google fonts and box icons which is why the second link in the HTML document s header section and the imported URL in the CSS 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 Document lt title gt lt link rel stylesheet href style css gt lt link href css boxicons min css rel stylesheet gt lt head gt lt body gt lt div class wrapper gt lt form action gt lt h gt Login lt h gt lt div class input box gt lt input type text placeholder username required gt lt i class bx bxs user gt lt i gt lt div gt lt div class input box gt lt input type password placeholder password required gt lt i class bx bxs lock alt gt lt i gt lt div gt lt div class remember forgot gt lt label gt lt input type checkbox gt Remember me lt label gt lt a href gt forgot password lt a gt lt div gt lt button type submit class btn gt login lt button gt lt div class register link gt lt p gt Don t have an account lt a href gt Register lt a gt lt p gt lt div gt lt form gt lt div gt lt body gt lt html gt The link to the CSS and the link for the box icons are included in the head tag as is to be expected In order to potentially make decorating easier the block level element div gt parent div with a class of wrapper was used in this form as a container for the form Every HTML form starts with a form tag that as can be seen in the code has an action property that specifies the form s destination when it is submitted The placeholder element ensures that the text in the username and password input boxes stays in the box until the text is entered and the required tag ensures that the form cannot be submitted without the required fields being filled in The label for the checkbox input type has the text remember me and a hyperlink that reads forgot password that is included in a div with the class remember forgot The submit button type which is labeled login on the form is a very significant component of it Last but not least there is the hyperlink register that is linked to the don t have an account query A form closing tag and a div closing tag are used to close the form import url wght amp display swap margin padding box sizing border box font family Poppins sans serif body display flex justify content center align items center min height vh background url img jpg no repeat background size cover background position center wrapper width px background transparent border px solid rgba backdrop filter blur px box shadow px rgba color fff border radius px padding px px wrapper h font size px text align center wrapper input box position relative width height px margin px input box input width height background transparent border none outline none border px solid rgba border radius px font size px color fff padding px px px px input box input placeholder color fff input box i position absolute right px top transform translateY font size px wrapper remember forgot display flex justify content space between font size px margin px px remember forgot label input accent color fff margin right px remember forgot a color fff text decoration none remember forgot a hover text decoration underline wrapper btn width height px background fff border none outline none border radius px box shadow px rgba cursor pointer font size px color font weight wrapper register link font size px text align center margin px px register link p a color fff text decoration none register link p a hover text decoration underline This login form makes use of external styling and a separate CSS file is created The CSS document begins with the imported URL for the Google fonts which merges the file with the styling done on the CSS document The universal selector which selects everything on the page comes next then targeting the body which styles all of the page s content The class name wrapper which has a full stop in front of it is used to target the parent div It should be observed that the CSS targets all elements having a class in this manner for style Also note that the parent tag is targeted before the inner tag as specified in the HTML document 2023-07-21 14:17:37
Apple AppleInsider - Frontpage News Daily deals: $1,400 off M1 Max MacBook Pro, up to 48% off Beats, $60 off Apple Watch SE, more https://appleinsider.com/articles/23/07/21/daily-deals-1400-off-m1-max-macbook-pro-up-to-48-off-beats-60-off-apple-watch-se-more?utm_medium=rss Daily deals off M Max MacBook Pro up to off Beats off Apple Watch SE moreToday s hottest deals include off a Samsung Galaxy Tab S Lite a pack of Apple MFi certified iPhone chargers for off a Wavlink gaming WiFi router off a GB Apple memory module and more Save on an M Max MacBook ProThe AppleInsider crew combs the web for unbeatable deals at ecommerce stores to create a showcase of stellar bargains on popular tech items including discounts on Apple products TVs accessories and other gadgets We share the best deals daily to help you save money Read more 2023-07-21 14:31:38
海外TECH Engadget Redditors troll an AI content farm into covering a fake 'WoW' feature https://www.engadget.com/redditors-troll-an-ai-content-farm-into-covering-a-fake-wow-feature-145006066.html?src=rss Redditors troll an AI content farm into covering a fake x WoW x featureSome redditors seem very excited about a new World of Warcraft feature called Glorbo which some believe will quot make a huge impact on the game quot Their palpable enthusiasm for Glorbo caught the attention of a blog named The Portal which publishes quot gaming content powered by Z League quot an app that aims to bring gamers together nbsp Just one problem Glorbo isn t real The Portal appears to be using AI to scrape Reddit posts and turn them into content Redditor u kaefer kriegerin noticed that The Portal was seemingly turning discussions from some gaming subreddits into blog posts They decided to try and trick the content farm into covering a fake WoW feature The ruse was a success Other redditors played along as did some Blizzard developers as WoW Head notes Feels soooooo good to be able to talk about Glorbo finally I remember my first day at Blizzard we were just starting to work on implementation and that was almost years ago Excellent reporting to track this downpic twitter com WhhmgikMーZorbrix Zorbrix July The Portal s now deleted blog post even quoted u kaefer kriegerin as stating quot Honestly this new feature makes me so happy I just really want some major bot operated news websites to publish an article about this quot You almost couldn t make this up An archived version of the post is still available There appears to be at least some level of human input on The Portal The site added quot Satire quot to the headline of the post before eventually deleting it entirely It also published an article based on another Reddit troll post about WoW taking away players keys which is not a thing that s happening That blog post is also gone from The Portal Engadget has contacted Blizzard to find out whether it will address the hype for Glorbo and actually bring the feature to WoW As it happens Blizzard is reportedly using AI to help create character outfits and concept art We ve also asked Z League for comment and we ll let you know if it sends us a presumably AI generated statement Given the rise of generative AI in recent months we re likely to see a tidal wave of AI generated guff appearing on websites even including mainstream publications Earlier this year CNET had to correct dozens of AI generated finance posts after errors were found The site s staff has pushed back against CNET s plans to keep using AI amid efforts to unionize Gizmodo publisher G O Media is also forging ahead with AI generated blog posts despite one that was widely mocked for getting a chronological list of Star Wars movies and TV shows very wrong That and other AI generated articles that appeared across the G O network this month infuriated the company s human writers and editors Mistakes happen Human writers can t get everything right all of the time But any journalist worth their salt will strive to make sure their work is as accurate and fair as possible Generative AI isn t exactly there yet There have been many instances of AI chatbots surfacing misinformation However some believe AI can help to actually combat misinformation by for instance assisting newsrooms with fact checking Meanwhile Google appears to be working on an AI tool that can whip up news articles and automate certain tasks to help out journalists Some critics who have seen the tool in action have suggested that it takes the work of producing accurate and digestible news stories for granted This article originally appeared on Engadget at 2023-07-21 14:50:06
海外科学 NYT > Science ‘Lioness’ Spotted in Germany Was Probably a Wild Boar, Officials Say https://www.nytimes.com/2023/07/20/world/europe/lioness-berlin-germany.html Lioness Spotted in Germany Was Probably a Wild Boar Officials SayRepeated sightings of what some believed was a large cat near Berlin had prompted concern The authorities later said that a search did not turn up what they were expecting 2023-07-21 14:26:28
金融 金融庁ホームページ FATF2023年6月会合におけるFATF声明について掲載しました。 https://www.fsa.go.jp/inter/etc/20230721/20230721.html 年月 2023-07-21 16:00:00
金融 金融庁ホームページ 鈴木財務大臣兼内閣府特命担当大臣閣議後記者会見の概要(令和5年7月14日)を掲載しました。 https://www.fsa.go.jp/common/conference/minister/2023b/20230714-1.html 内閣府特命担当大臣 2023-07-21 15:30:00
ニュース BBC News - Home Husband who killed seriously ill wife cleared of murder https://www.bbc.co.uk/news/uk-england-tyne-66257865?at_medium=RSS&at_campaign=KARANGA cyprus 2023-07-21 14:20:41
ニュース BBC News - Home McDonald's abuse claims personally shocking, says UK boss https://www.bbc.co.uk/news/business-66265453?at_medium=RSS&at_campaign=KARANGA abuse 2023-07-21 14:13:07
ニュース BBC News - Home Hogwarts Express steam train cancelled over safety issues https://www.bbc.co.uk/news/uk-scotland-highlands-islands-66271357?at_medium=RSS&at_campaign=KARANGA fears 2023-07-21 14:50:58
ニュース BBC News - Home Uxbridge by-election: Khan defends Ulez after Starmer blames it for poll setback https://www.bbc.co.uk/news/uk-politics-66264893?at_medium=RSS&at_campaign=KARANGA ruislip 2023-07-21 14:39:11
ニュース BBC News - Home Ulez: What is it and why is its expansion controversial? https://www.bbc.co.uk/news/business-66268073?at_medium=RSS&at_campaign=KARANGA emission 2023-07-21 14:26:53
ニュース BBC News - Home Ros Atkins on... European flight disruption https://www.bbc.co.uk/news/uk-66265768?at_medium=RSS&at_campaign=KARANGA delays 2023-07-21 14:12:56
ニュース BBC News - Home The Ashes: Ben Stokes' reaction to Jonny Bairstow's 'massive' six https://www.bbc.co.uk/sport/av/cricket/66272335?at_medium=RSS&at_campaign=KARANGA The Ashes Ben Stokes x reaction to Jonny Bairstow x s x massive x sixWatch Ben Stokes amusing reaction to a massive Jonny Bairstow six on day three of the fourth Ashes Test at Old Trafford 2023-07-21 14:11:01

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

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

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