Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
pythonでのcsvファイルの平均の計算 |
https://teratail.com/questions/368755?rss=all
|
pythonでのcsvファイルの平均の計算前提・実現したいことcsvファイルで、特定の行ごとに列ごとで平均を出したいです。 |
2021-11-11 03:18:16 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Unity C#について |
https://teratail.com/questions/368754?rss=all
|
UnityCについてUnityを使用して勉強しているのですが、プログラミングでエラーが出て直し方がわかりません。 |
2021-11-11 03:17:25 |
海外TECH |
Ars Technica |
Theranos tests detected prostate-cancer marker in prostateless women |
https://arstechnica.com/?p=1811924
|
biomarker |
2021-11-10 18:25:57 |
海外TECH |
MakeUseOf |
7 Reasons You Should Keep Hold of Your PS4 |
https://www.makeuseof.com/reasons-you-should-keep-your-ps4/
|
console |
2021-11-10 18:45:37 |
海外TECH |
MakeUseOf |
Nvidia DLSS vs. AMD FidelityFX: What's the Difference & What Looks Better? |
https://www.makeuseof.com/nvidia-dlss-vs-amd-fidelityfx/
|
Nvidia DLSS vs AMD FidelityFX What x s the Difference amp What Looks Better Nvidia s DLSS and AMD s FidelityFX both help you get better framerates by upscaling your games in real time But what s the difference between each |
2021-11-10 18:30:12 |
海外TECH |
MakeUseOf |
5 Ways to Fix a Malfunctioning Windows Taskbar |
https://www.makeuseof.com/ways-to-fix-malfunctioning-windows-taskbar/
|
taskbar |
2021-11-10 18:15:37 |
海外TECH |
DEV Community |
Welcome Thread - v150 |
https://dev.to/thepracticaldev/welcome-thread-v150-33go
|
Welcome Thread v Welcome to DEV Leave a comment below to introduce yourself You can talk about what brought you here what you re learning or just a fun fact about yourself Reply to someone s comment either with a question or just a hello Great to have you in the community |
2021-11-10 18:54:58 |
海外TECH |
DEV Community |
Learn SQL: Microsoft SQL Server - Episode 9: Aggregation in Where Clause |
https://dev.to/ifierygod/learn-sql-microsoft-sql-server-episode-9-aggregation-in-where-clause-25bb
|
Learn SQL Microsoft SQL Server Episode Aggregation in Where ClauseMany times we might need to use aggregated values in our Where Clause as a way of limiting the result set of aggregated values You would think it would be as easy as adding a Where Clause in our query statement however we will see in this episode this is not the case By using the previous episode as an example you can check that out on the link below to get up to speed It s a quick read so once you re done head on back here Learn SQL Microsoft SQL Server Episode NULL values in Aggregation Goran Kortjie・Nov ・ min read sql database beginners challenge We might want to select all those customers whose order count is less than two times or more than two three four five etc The Count is in this example the aggregated value However a Where Clause does not take in an aggregated value In this episode we are going to discuss how to use aggregated values to select our records Lets move into SMSS and see this in practice In this example we will be using the Sales SalesOrderHeader table As we know this table stores the information for every order the customer has placed There is essentially one record for each sales order then there are CustomerID s that stores information about the customer who placed this order What we are trying to do here is to find the CustomerID Where the sales count is more than X less than XFirst we will start by using a SELECT statement and select the CustomerID and the SalesOrderID What we need now is the Count of Sales Orders Therefore we wrap the salesOrderId in the Count function Notice we are grouping by the Customer level meaning for each customer give us the count of their salesOrderId s Finally we need to tell SQL where to group it by and in this case we group it by the CustomerID To make it easier to understand we could add an Alias to the Count function that wraps around salesOrderId In order to only select the customers whose sales order Count is less than two in this scenario normally we would use the Where clause However if we try this we will see SSMS throws an error Instead of Where we replace it with Having Also notice we cannot use an Alias when we use Having we must use the complete Count function query string containing the salesOrderId Voila Now we can see all the customers whose sales order Count is less than two We could even change the operator to less than equal to two which in this case will return customers whose sale orders are two and less than two in the result set Awesome right Keep in mind for any of the aggregated functions such as MIN MAX AVG or SUM you will have to use HAVING if you want to restrict your result set by those aggregated values I hope you enjoyed this episode happy learning |
2021-11-10 18:48:00 |
海外TECH |
DEV Community |
Who can be a Programmer? |
https://dev.to/vickilanger/who-can-be-a-programmer-33fm
|
Who can be a Programmer Who can be a programmer Everyone Coding is for everyone and anyone regardless of our differences Coding also doesn t require you to be a math wizard That doesn t mean understanding some math won t make things easier At the very least a basic understanding of addition subtraction multiplication division and remainders from division will be helpful There are tons of people just like you throughout the not too distant past and the present who have done and are doing amazing things with code People who have done and are doing cool things with codeTimnit Gebru is a computer scientist who led a team on the ethics of artificial intelligence AI She works to remove bias that has been built into programs that make unethical decisions She helps others make programs that are inclusive Victoria Chávez took a coding class in school and was hooked During a hackathon she built an app SNAPy that helped people find out which stores accept food stamps She s also helping disabled people have better access to programming John Henry Thompson created a whole language that makes visuals in computer software He basically made video games modern cartoons and web design possibleRaúl Rojas González led a self driving car company He has also won a Robot Soccer World Cup competition with a team of small AI robots He also created a prize for scientific achievement Raj Reddy has done many things with robotics and AI He laid the groundwork for us to have the voice assistants like Siri Google Home Alexa and more He also founded the Robotics Institute at Carnegie Mellon University You are reading this and are about to create so many cool projects Whether or not you pursue a career with code you will have learned many new ways to think about things You will go on to do big things with your life |
2021-11-10 18:41:36 |
海外TECH |
DEV Community |
Incident Remediation With Jenkins and Terraform |
https://dev.to/youngshatner/incident-remediation-with-jenkins-and-terraform-4a7i
|
Incident Remediation With Jenkins and TerraformExperienced DevOps personnel are very familiar with tools like Jenkins to create workflows and Terraform to automate orchestration But are these the best tools to use when firefighting production cloud incidents What is Jenkins Jenkins is an open source automation server for DevOps Jenkins has plugins that support many of the tools used in build and deployment scenarios The plugins cover build management source code management administration platforms and UI Jenkins was designed specifically for CI CD continuous integration continuous delivery environments as well as automating other routine development tasks Jenkins still requires scripts to be written for the steps but gives a framework for integrating the entire chain of build test deploy These pipeline scripts are stored in a file called Jenkinsfile which is stored in your repo What is Terraform Terraform is an open source infrastructure as code IaC software tool Terraform allows you to write code in a higher level language to manage operations in the cloud Terraform supports cloud providers and gives you the ability to create new resources manage existing ones and destroy those that are no longer needed Terraform has a concept called modules Terraform modules are like functions in programming languages They provide a standard interface input output for creating resources Essentially modules allow for consistent and debugged common actions again just like you d create a function that encapsulates many actions to perform a higher level action Are Jenkins and Terraform suitable for incident remediation To answer this question we can look at the tools used to respond to and resolve cloud incidents First a monitoring tool needs to detect the issue Popular products in this space include Datadog and New Relic When inspecting the Datadog plugin for Terraform you quickly learn that Terraform is simply configuring and deploying Datadog resources When you get the next step in resolution you typically use an incident management tool like PagerDuty or Opsgenie Inspecting the Terraform plugins for those tools reveals the same situation Terraform is designed primarily for creation configuration and destruction of cloud resources due to its declarative nature Could Terraform be used to automate portions of a cloud incident runbook workflow Absolutely but since this wasn t the intended use case a lot of custom code will need to be written to tie the tools together requiring not only on going maintenance but also opens the door to edge cases and bugs Facebook s outage in late is a classic example of this problem They stated they had written code to check for errors in deployment scripts but that code had a bug in it and allowed the error to propagate across the entire Facebook Instagram WhatsApp footprint cutting it off from the Internet Now take a look at Jenkins Again incident response and remediation was never the intended use case for Jenkins It excels at CI CD automation making the lives of developers and DevOps personnel much easier However This is even more of a square peg into a round hole type of approach The pipelines do operate like workflows but have none of the logic or connections built in for the remediation steps required You would essentially be writing most of the code required to make this work and at that point you might as well just ditch Jenkins and wire everything together by hand Fylamynt has created the world s first enterprise ready low code platform for building running and analyzing SRE cloud workflows With Fylamynt an SRE can automate the parts of the runbook that are the most time consuming allowing them to make decisions where their expertise is needed Try Fylamynt for free gt |
2021-11-10 18:38:24 |
海外TECH |
DEV Community |
Simple typing test project using Javascript, HTML,CSS |
https://dev.to/lucifer25x/simple-typing-test-project-using-javascript-htmlcss-3006
|
Simple typing test project using Javascript HTML CSS Project created for beginners Github Source For try |
2021-11-10 18:23:02 |
海外TECH |
DEV Community |
Python : OS Module |
https://dev.to/anjalikumawat2002/python-os-module-ccb
|
Python OS ModuleThe os module is a part of the standard library or stdlib within Python Python os module provides methods that help us to perform file processing operations Let s explore these basic functions one by one Using osBefore you use the os module you first need to bring it up by means of the Python import command import osIf you try to run os without importing it you will see an error message NameError name os is not definedTo get a list of functions supported by os module run the below command print dir os FilesSome of the methoods of the os module to work with files rename method It is used to rename a file or directory os rename old filename new filename Exampleos rename “file txt “user txt remove method It is used to delete the file Path This is a path like object which represents a file system path This path like object is either a string or bytes object os remove path of file Exampleos remove “d user txt Directories CWD CWD Current working directory getcwd method returns current directory or To check the path of the current working directory we will use the getcwd method print os getcwd Note The folder where the Python script is running is known as the Current Directory This is not the path where the Python script is located mkdir method It is used to create a directory in current directory os mkdir d This method raises FileExistsError if the directory to be created already exists chdir method Suppose we have a folder for example info inside our current directory we can switch to the info folder using the chdir function or It is used to change the current directory os chdir info rmdir method It is used to delete a directory The directory must be empty before it is deleted os rmdir dirname listdir method Returns a list containing names of files and subdirectories in the specified directory print os listdir Keep Learning Keep Coding ️ |
2021-11-10 18:07:33 |
Apple |
AppleInsider - Frontpage News |
Apple releases second public betas of iOS 15.2, tvOS 15.2, watchOS 8.3, macOS Monterey 12.1 |
https://appleinsider.com/articles/21/11/10/apple-releases-second-public-betas-of-ios-152-tvos-152-watchos-83-macos-monterey-121?utm_medium=rss
|
Apple releases second public betas of iOS tvOS watchOS macOS Monterey A day after the developer betas Apple has debuted the second public beta versions of iOS iPadOS tvOS watchOS and macOS Monterey Credit Andrew O Hara AppleInsiderThe public betas should be identical to the developer releases on Tuesday Members of Apple s public software testing program can acquire the new beta from the appropriate web portal Read more |
2021-11-10 18:58:32 |
Apple |
AppleInsider - Frontpage News |
AirPods 3 review: An excellent AirPods evolution, but fit can be problematic |
https://appleinsider.com/articles/21/11/07/airpods-3-review-an-excellent-airpods-evolution-but-fit-can-be-problematic?utm_medium=rss
|
AirPods review An excellent AirPods evolution but fit can be problematicAirPods as a whole have earned their status as the most popular true wireless earbuds and the AirPods brings more new features but they fit in a strange spot in the Apple and Beats lineup The new third generation AirPodsNew buds same AirPods Read more |
2021-11-10 18:44:01 |
Apple |
AppleInsider - Frontpage News |
How to teach Siri to pronounce names correctly in iOS 15 |
https://appleinsider.com/articles/21/11/10/how-to-teach-siri-to-pronounce-names-correctly-in-ios-15?utm_medium=rss
|
How to teach Siri to pronounce names correctly in iOS Some names can be difficult for Siri to get right on its first try It used to be easier to get this done but here s how to teach Siri correct pronunciation of names in iOS While you used to be able to verbally coach Siri on how to pronounce a contact s name that s not the case in iOS Now you ll need to resort to adding in a phonetic guide directly How to teach Siri to say a name phonetically Read more |
2021-11-10 18:46:16 |
Cisco |
Cisco Blog |
UCS X-Series – Computing for the next decade |
https://blogs.cisco.com/datacenter/ucs-x-series-computing-for-the-next-decade
|
UCS X Series Computing for the next decadeCisco UCS X Series offer the flexibility to support modern traditional enterprise and scale out apps helping IT teams gain agility and better respond to dynamic business requirements |
2021-11-10 18:00:59 |
海外科学 |
NYT > Science |
SpaceX to Launch NASA Crew-3 Astronauts: How to Watch |
https://www.nytimes.com/2021/11/10/science/nasa-spacex-launch-today-live-stream.html
|
dragon |
2021-11-10 18:02:15 |
海外科学 |
NYT > Science |
Africa's Leaders Say Rich Countries Need to Quit Oil and Gas First |
https://www.nytimes.com/2021/11/09/climate/africa-fossil-fuel-gas-cop26.html
|
Africa x s Leaders Say Rich Countries Need to Quit Oil and Gas FirstAs negotiators at the Glasgow climate talks try to agree on greenhouse gas cuts African leaders say poorer countries can t be expected to remake their systems as quickly as wealthy ones |
2021-11-10 18:47:43 |
海外TECH |
WIRED |
How to Watch RE:WIRED 2021 |
https://www.wired.com/story/how-to-watch-rewired-2021
|
watch |
2021-11-10 18:18:00 |
海外TECH |
WIRED |
Moderna's CEO on the Fight Over the Covid-19 Vaccine's Future |
https://www.wired.com/story/rewired-2021-stephane-bancel-nahid-bhadelia
|
contentious |
2021-11-10 18:09:17 |
ニュース |
BBC News - Home |
UK is not a corrupt country, says Boris Johnson |
https://www.bbc.co.uk/news/uk-politics-59238464?at_medium=RSS&at_campaign=KARANGA
|
boris |
2021-11-10 18:50:38 |
ニュース |
BBC News - Home |
Covid-19: Covid-resistant people offer clues to aid vaccines and Germany warns of virus surge |
https://www.bbc.co.uk/news/uk-59237487?at_medium=RSS&at_campaign=KARANGA
|
coronavirus |
2021-11-10 18:13:26 |
ニュース |
BBC News - Home |
Caerphilly dog attack: Woman, 28, is arrested by police |
https://www.bbc.co.uk/news/uk-wales-59237518?at_medium=RSS&at_campaign=KARANGA
|
attack |
2021-11-10 18:32:37 |
ニュース |
BBC News - Home |
T20 World Cup: New Zealand end England's hopes with dramatic semi-final win |
https://www.bbc.co.uk/sport/cricket/59235773?at_medium=RSS&at_campaign=KARANGA
|
dhabi |
2021-11-10 18:32:38 |
ニュース |
BBC News - Home |
Oxford Mosley donation needs explanation, say Jewish students |
https://www.bbc.co.uk/news/education-59232955?at_medium=RSS&at_campaign=KARANGA
|
jewish |
2021-11-10 18:12:02 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
パート収入で知りたいことトップ3とは!あなたの「働き損年収」はいくら? - 老後のお金クライシス! 深田晶恵 |
https://diamond.jp/articles/-/287174
|
最新情報 |
2021-11-11 03:55:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
テスラ株が分ける明暗、弱気派には痛恨の一撃 - WSJ PickUp |
https://diamond.jp/articles/-/287170
|
wsjpickup |
2021-11-11 03:50:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
FRB22年後半利上げ開始で進む円安、1ドル「115~120円」へ - マーケットフォーカス |
https://diamond.jp/articles/-/287169
|
金利上昇 |
2021-11-11 03:45:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【社説】米国は駐日・駐中大使の不在埋めよ - WSJ PickUp |
https://diamond.jp/articles/-/287171
|
wsjpickup |
2021-11-11 03:40:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
米がグアムでアイアンドーム試験、中国ミサイル想定 - WSJ PickUp |
https://diamond.jp/articles/-/287172
|
wsjpickup |
2021-11-11 03:35:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
サッカーJ1、川崎フロンターレが派手な補強とは無縁に黄金時代を築けた理由 - ニュース3面鏡 |
https://diamond.jp/articles/-/287046
|
|
2021-11-11 03:30:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「そのパーパスはどこまで本気か?」パーパスブームに違和感を覚える理由 - ワールドクラスの経営 |
https://diamond.jp/articles/-/287002
|
違和感 |
2021-11-11 03:25:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
プロ翻訳者の給与、低すぎ!間違いだらけの多言語サイトで危ぶまれる翻訳の未来 - 消費インサイド |
https://diamond.jp/articles/-/287089
|
人材育成 |
2021-11-11 03:20:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
執着の手放し方 - 精神科医Tomyが教える 1秒で不安が吹き飛ぶ言葉 |
https://diamond.jp/articles/-/284790
|
voicy |
2021-11-11 03:15:00 |
GCP |
Cloud Blog |
Using Firestore and Apache Beam for data processing |
https://cloud.google.com/blog/topics/developers-practitioners/using-firestore-and-apache-beam-data-processing/
|
Using Firestore and Apache Beam for data processingLarge scale data processing workloads can be challenging to operationalize and orchestrate Google Cloud announced the release of a Firestore in Native Mode connector for Apache Beam that makes data processing easier than ever for Firestore users Apache Beam is a popular open source project that supports large scale data processing with a unified batch and streaming processing model It s portable works with many different backend runners and allows for flexible deployment The Firestore Beam I O Connector joins BigQuery Bigtable and Datastore as Google databases with Apache Beam connectors and is automatically included with theGoogle Cloud Platform IO module of the Apache Beam Java SDK The Firestore connector can be used with a variety of Apache Beam backends including Google Cloud Dataflow Dataflow an Apache Beam backend runner provides a structure for developers to solve “embarrassingly parallel problems Mutating every record of your database is an example of such a problem Using Beam pipelines removes much of the work of orchestrating the parallelization and allows developers to instead focus on the transforms on the data A practical application of a Firestore Connector for BeamTo better understand the use case for a Beam Firestore Pipeline let s look at an example that illustrates the value of using Google Cloud Dataflow to do bulk operations on a Firestore database Imagine you have a Firestore database and have a collection group you want to do a high number of operations on for instance deleting all documents within a collection group Doing this on one worker could take a while What if instead we could use the power of Beam to do it in parallel This pipeline starts by creating a request for a partition query on a given collectionGroupId We specify withNameOnlyQuery as it will save on network bandwidth we only need the name to delete a document From there we use a few custom functions We read the query response to a document object get the document s name and delete a document by that name Beam utilizes a watermark to ensure exactly once processing As a result the Shuffle operation stops backtracking over work that is complete already providing both speed and correctness While the code to create a partition query is a bit long it consists of constructing the protobuf request to be sent to Firestore using the generated protobuf builder Creating a Partition Query There are many possible applications for this connector for Google Cloud users Joining disparate data in a Firestore in Native Mode database relating data across multiple databases deleting a large number of entities writing Firestore data to BigQuery and more We re excited to have contributed this connector to the Apache Beam ecosystem and can t wait to see how you use the Firestore connector to build the next great thing Related ArticleAnnouncing a Firestore Connector for Apache Beam and Cloud DataflowGoogle Cloud announces a Firestore connector for Apache Beam making data processing easier than ever for Firestore users Read Article |
2021-11-10 18:30:00 |
コメント
コメントを投稿