python |
Pythonタグが付けられた新着投稿 - Qiita |
【AWS】AWS Glue + PySparkでお手軽なサーバレス分散処理 |
https://qiita.com/uni_ezobafun/items/1615f605a81e4da14541
|
サンプルコード↓AWSGluePySparkによる分散処理のメリットフルマネージドなサーバレスサービスで、煩雑な保守作業は不要データ量や処理の重さに応じて、コンソールから分散処理の台数をいつでも変更できる台台利用台数x利用時間分のみ課金公式ドキュメント↓やることSに置いたPySparkスクリプトをAWSGlueと紐付けて実行する要素が個の整数型リスト個用意して、それぞれ重い処理の疑似としてバブルソートする分散処理する場合としない場合でパフォーマンスを比較するもくじPySparkスクリプトを用意するSbucketにPySparkスクリプトを設置するAWSGlueに割り当てるIAMロールを作成するAWSGlueJobを新規作成するJobを実行してパフォーマンスを比較するPySparkスクリプトを用意するデータを分割amp複数のworkerで分担できていることを確認するために、ある程度まとまった量のダミーデータを用意して、それらを順にバブルソートしていくようなスクリプトを種類用意した。 |
2021-11-03 22:51:01 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
addEventListener の第3引数の false |
https://qiita.com/TatsuyaIsamu/items/66b1005c48f21ee0c0ce
|
addEventListenerの第引数のfalseなんかのテキストでaddEventListenerの第引数にfalseをつける箇所があったconstlistsdocumentgetElementByIdlistsconsttargetdocumentgetElementByIdbtntargetaddEventListenerclickfunctionconstformdocumentgetElementByIdnameconstlistdocumentcreateElementlilisttextContentformvaluelistsappendChildlistformvaluefalse←こここれってなんだって思って調べたどうやらキャプチャフェーズとバブリングフェーズの制御をしているらしいイベントの伝播が親要素から起こるのとイベント発生部から起こるかの違いとのことなるほど全然分からん。 |
2021-11-03 22:45:45 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
亭主関白をサポート★ぱっと見では分からない「缶ビールの残量」をAIが判定 |
https://qiita.com/Izumi0711/items/756f10c5d8bf63b9f347
|
亭主関白をサポートぱっと見では分からない「缶ビールの残量」をAIが判定疲れた旦那さまを癒したいということで、旦那さんのビールがなくなる前に、新しい缶ビールをそっと持ってくるのが、私の夜のお仕事笑でも、ちょっとテレビを見たり、目を離すと、気付いたらなくなってしまっていて、「おかわりちょうだい」と言われて、イラっとしちゃう自分がいるのも事実笑缶の中身が分かる居酒屋で働いていることもあり、お客様の飲み物の残量には敏感で、実はグラスの中を見ているのではなく・・・肘やグラスの角度を見て残量を把握しています。 |
2021-11-03 22:14:50 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
【JavaScript】上スクロールすると出現するheaderの作り方【jQuery未使用】 |
https://qiita.com/ryowakitazawa82/items/75e41dbe5660ab789cf5
|
逆に上スクロールしたときには、removeクラスが外れてheader要素が出現します。 |
2021-11-03 22:08:14 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
【Next.js】Next.js 12について本気出して和訳してみた |
https://qiita.com/nowvilla_physi/items/1424810ad1e2db5a4737
|
Nextjs で は 、 これ が デフォルト に なり まし た 。 |
2021-11-03 22:05:33 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
unityで移動座標を記録する |
https://teratail.com/questions/367629?rss=all
|
unityで移動座標を記録する前提・実現したいことUnityで、オブジェクトの移動座標データxyzをcsvファイルに書き出しましたが、現在は写真のように同じ座標も記録されてしまいます。 |
2021-11-03 22:47:30 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
javascriptでform値をonclickで取得したい |
https://teratail.com/questions/367628?rss=all
|
javascriptでform値をonclickで取得したい前提・実現したいこと金種別を計算するアプリをjavascriptで作りました。 |
2021-11-03 22:26:59 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
複数マシン上でのROS実行がうまくいかない |
https://teratail.com/questions/367627?rss=all
|
複数マシン上でのROS実行がうまくいかない環境UbuntunbspnbspLSTROSnbspnbspmelodicnbsp発生している問題ノートPCmasterとラズパイslaveでROSを動かそうとしましたが、ラズパイ側から適切にROSMASTERURIとROSIPを設定してもnbspUnablenbsptonbspcommunicatenbspwithnbspmasternbspのエラーが出てきてしまい、実行することができませんでした。 |
2021-11-03 22:06:13 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
【Flutter】The operation couldn’t be completed. Unable to locate a Java Runtime. |
https://teratail.com/questions/367626?rss=all
|
【Flutter】TheoperationcouldntbecompletedUnabletolocateaJavaRuntimeMnbspMacBookでAndroidnbspStudioをからArcticnbspFoxnbspnbspにアップグレードすると、以下のエラーによりリリースビルドができなくなりましたデバッグはできます。 |
2021-11-03 22:00:46 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
where メソッドに配列を渡すとインスタンスを配列で返してくれる |
https://qiita.com/TatsuyaIsamu/items/d5de6f47e782cae2ce52
|
|
2021-11-03 22:06:18 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AWS:便利なAutoScalingを設定してみた。 |
https://qiita.com/takazo/items/6cfc6fde418e42a700aa
|
AutoScalingグループを作成AutoScalinggtAutoScalingグループAutoScalingグループを作成名前や作成したテンプレートを選択し、容量を選択。 |
2021-11-03 22:53:25 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【AWS】AWS Glue + PySparkでお手軽なサーバレス分散処理 |
https://qiita.com/uni_ezobafun/items/1615f605a81e4da14541
|
サンプルコード↓AWSGluePySparkによる分散処理のメリットフルマネージドなサーバレスサービスで、煩雑な保守作業は不要データ量や処理の重さに応じて、コンソールから分散処理の台数をいつでも変更できる台台利用台数x利用時間分のみ課金公式ドキュメント↓やることSに置いたPySparkスクリプトをAWSGlueと紐付けて実行する要素が個の整数型リスト個用意して、それぞれ重い処理の疑似としてバブルソートする分散処理する場合としない場合でパフォーマンスを比較するもくじPySparkスクリプトを用意するSbucketにPySparkスクリプトを設置するAWSGlueに割り当てるIAMロールを作成するAWSGlueJobを新規作成するJobを実行してパフォーマンスを比較するPySparkスクリプトを用意するデータを分割amp複数のworkerで分担できていることを確認するために、ある程度まとまった量のダミーデータを用意して、それらを順にバブルソートしていくようなスクリプトを種類用意した。 |
2021-11-03 22:51:01 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
Mastodonアップデート v2.0.0->v2.7.0 |
https://qiita.com/AkiraTouno/items/ea2cd8e437db83301654
|
コンテナ内の証明書チェーンファイルを新しいもので上書きし、期限切れルート証明書チェーンのファイルを削除し、必要なISRGのルート証明書をコピーすることで対応します。 |
2021-11-03 22:26:04 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
where メソッドに配列を渡すとインスタンスを配列で返してくれる |
https://qiita.com/TatsuyaIsamu/items/d5de6f47e782cae2ce52
|
|
2021-11-03 22:06:18 |
海外TECH |
MakeUseOf |
Engwe Engine Pro 750 Review: Does This Fat-Tired Thicc Boy Belong in Your Garage? |
https://www.makeuseof.com/engwe-engine-pro-750-review/
|
engine |
2021-11-03 13:55:25 |
海外TECH |
MakeUseOf |
The 7 Best X570 Motherboards |
https://www.makeuseof.com/best-x570-motherboards/
|
motherboardsinvest |
2021-11-03 13:50:11 |
海外TECH |
MakeUseOf |
Grammarly vs. Microsoft Editor: Which Is the Best Grammar Checking Tool? |
https://www.makeuseof.com/grammarly-vs-microsoft-editor/
|
Grammarly vs Microsoft Editor Which Is the Best Grammar Checking Tool Looking for the best grammar checking tool between Grammarly and Microsoft Editor but not sure which to pick Find out which one to choose here |
2021-11-03 13:30:12 |
海外TECH |
MakeUseOf |
Why Netflix's New Mobile Games Suck |
https://www.makeuseof.com/why-netflix-mobile-games-suck/
|
experiences |
2021-11-03 13:25:37 |
海外TECH |
MakeUseOf |
Should You Use a VPN Extension or the Client App? |
https://www.makeuseof.com/vpn-extension-vs-app/
|
client |
2021-11-03 13:15:11 |
海外TECH |
DEV Community |
Webhook vs APIs |
https://dev.to/suspir0n/webhook-vs-apis-50h0
|
Webhook vs APIs Quer saber o que éum webhook e como funciona Imagine a facilidade e a praticidade que vocêteráusando o webhook neste artigo iremos descrever o que webhook como funciona e de bônus deixaremos um exemplo simples e prático usando python mas também pode ser utilizado em outras linguagens deixarei referencias em outras linguagens para poder ajudar no seu estudo O que éWebhook De acordo com o blog do Vindi Webhook éuma forma de recebimento de informações passadas quando um evento acontece Dessa forma o webhook na prática éa forma de receber informações entre dois sistemas de uma forma passiva Além disso o webhook também conhecido como retorno de chamada web ou HTTP e ainda impulso API éuma maneira prática para um app ou sistema fornecer outras aplicações com informações em tempo real Da mesma forma ele fornece dados para outros aplicativos e são muito eficientes tanto para o prestador de serviço como para o consumidor Simplificando webhooks são eventos que acionam uma ação Como funciona Webhook Então supondo que vocêesteja criando um bot para o telegram e vocêacaba criando uma API para isso nesta API vocêtem uma rota que executa uma determinada ação do bot com isso vocêprecisa fazer o set Webhook na API do telegram para que quando for requisitado aquele Webhook ele ira acionar a ação daquele determinado evento Observando estáimagem acima vocêpercebe que Webhook e APIs são duas comunicações totalmente diferente enquanto a API ele pega os dados de um servidor o Webhook puxa os seus dados APIs estão em constante votação para obter as assinaturas Webhook na práticaNeste exemplo prático iremos utilizar PythonFramework FlaskVamos começar criando um servidor para receber o webhook Neste código vocêobserva que criamos apenas uma rota chamada webhook do método do tipo POST logo a nossa rota irápermitir requisição com este método Com isso basta vocêexecutar dois comandos o primeiro para escrever seu server como uma variável de ambiente e o outro para executar o server No windows set FLASK APP nomedoseuarquivo pyflask runNo Linux export FLASK APP nomedoseuarquivo pyflask runApós vocêter criado um server vamos agora criar um arquivo onde vocêirar enviar o seu webhook o código ficaria desta forma Neste código fizemos um exemplo de requisição fazendo o envio do nosso webhook finalizando nosso exemplo nesta etapa Repare que neste exemplo usamos localhost caso vocêdeseje aplicar esses conhecimentos utilizando a API do telegram por exemplo vocêpode usar o ngrok pois o telegram não aceita localhost então vocêpode utilizar o ngrok para isso sendo que ele serve apenas para testar sua aplicação não para ir em produção Decorrerei sobre o ngrok em outro artigo deixarei o link logo abaixo Este foi o diário de bordo vamos nos despedindo por aqui Voltaremos com mais um diário de bordo Este artigo foi útil para você Deixe um comentário abaixo |
2021-11-03 13:45:33 |
海外TECH |
DEV Community |
Shoot Your Shot – Stop Counting Yourself Out with Anne Griffin |
https://dev.to/newrelic/shoot-your-shot-stop-counting-yourself-out-with-anne-griffin-555i
|
Shoot Your Shot Stop Counting Yourself Out with Anne GriffinRelicans host Aisha Blake talks to Product Leader Advisor and Consultant Anne Griffin about being the only woman and Black person in the room that one of the worst things you can do is give up your own power by thinking you don t have any and helping people to leverage LinkedIn better Should you find a burning need to share your thoughts or rants about the show please spray them at devrel newrelic com While you re going to all the trouble of shipping us some bytes please consider taking a moment to let us know what you d like to hear on the show in the future Despite the all caps flaming you will receive in response please know that we are sincerely interested in your feedback we aim to appease Follow us on the Twitters LaunchiesShow Shoot Your Shot Stop Counting Yourself Out with Anne Griffin Launchies Your browser does not support the audio element x initializing × Jonan Scheffler Hello and welcome to Launchies proudly brought to you by New Relic s Developer Relations team The Relicans The Launchies podcast is about supporting new developers and telling their stories and helping you make the next step in what we certainly hope is a very long and healthy career in software You can find the show notes for this episode along with all of The Relicans podcasts on developer newrelic com podcasts We re so glad you re here Enjoy the show Aisha Blake Hello and welcome to Launchies the podcast for early career developers and developers with non traditional backgrounds My name is Aisha Blake and I m a Senior Developer Relations Engineer at New Relic Today I m your host and I am here with Anne T Griffin She s a manager of both people and products an expert in AI and blockchain as well as an accomplished speaker Welcome and thank you so much for being here Anne Griffin I m super thrilled to be here And I really love what this podcast is about because you said some things where I m like wow that makes me feel really great about myself I do all those things But I m like I started off not in that place And before this we were talking a little bit about what my first job out of college was like and that kind of thing And I just really want to be on this podcast and be able to speak to those people who are experiencing either out of bootcamp or however else or out of college or any other way that they re getting into development or tech and hopefully be able to help some of them Aisha Awesome I really really appreciate that So let s maybe start off with a little bit of that feeling of what it s like to start out in the industry without that confidence of feeling like I know what I m doing I know what I m about and I have something to offer Anne Yeah So the first job out of college I was the only woman in that specific office For a while I was the only black person which for those of you who are listening to this you can t see me I m very ethnically ambiguous looking So if I m the only black person in your office you have a very big problem I just remember being like okay I m the only one who looks like this that kind of thing I stood out and I felt pressure like oh my God I have to be really good and all this other stuff And also feeling like there was also a double standard for me about I felt like when other people work together it felt like oh this is just like bros hanging out talking But when I asked for help it felt like there was some deficiency in me and my knowledge and how I solve problems And some of that was maybe slightly in my own head And some of that was also projected onto me in the way people reacted when I did ask for help which now I m in a place where I know okay these were super toxic situations But I think a lot of people when they re starting out you have that like oh my gosh I m a little anxious because I haven t done this before But especially when you re in a situation where you stand out because you come from a non traditional background or because of who you are how you look or other things it is very nerve wracking because people as much as they like to think that they re not biased respond to you differently and have different standards for your work or how you ask for help when you ask for help And it can be nerve wracking and it becomes like trauma whether it s a minor level or a major level that you end up carrying into your next job as well Aisha That s such a huge reason why I think it s important for people to as early as possible try to find community Because I ve heard that so many times where someone will describe a situation that s going on at work and meanwhile I m on the other side of the computer horrified like no no no they should not be treating you this way This is not how we do things And someone who doesn t have the experience or doesn t feel like they have the power even to say something when they re in that situation it s hard for some people to recognize that they have options and that that s not something that they have to put up with Anne Yeah exactly There s this saying about I can t remember how it s worded so please forgive me if it s not going to be eloquent But the thing is that one of the worst things you can do it s like you give up your own power by thinking you don t have any And it s this terrible thing where it s like believing that you don t have any power in the situation like oh I can t leave this job because I ve been here less than a year or I can t stand up to this person because they re so and so s manager and dah dah dah And obviously there are situations where you re like this is going to make my life hell and I don t want to deal with that But thinking that I don t have the option to start looking for a job somewhere else or I don t have the option to transfer to another team or decide maybe I don t want to do this thing I don t want to explore a different part of tech And we give that away And I think there are jobs where I stayed longer than I should have especially at that first job I got out of college I stayed in that job as long as I did because I thought well it s a recession and what are the options I have And how bad will it look if I didn t even make it a year in the first job I got out of college And now I see people changing jobs I ve seen people in this pandemic who have changed jobs two or three times whether it s because they were in toxic work environments or because of layoffs And people will ask about it But it s really not the same where it s like oh you re never going to get a good job at one of these amazing companies It s not this thing that s like a death sentence for your career And I used to see it that way and I didn t have a community to talk about it with So I just internalized all these thoughts on my own and just suffered in silence and in isolation Aisha So how would you recommend folks begin to look for that community Anne So obviously we re in a pandemic So in person if you re not comfortable I ll say I m not comfortable doing things in person right now Definitely online whether it s different types of Twitter communities there are different ones I m part of BlackTechTwitter which is amazing There are other ones for Latinx people There are ones for just I don t think there s a hashtag for it but there s this group of people where I consider them my sensitive tech community where we all have the same thoughts and feelings that like I would say maybe the people who are stereotypical tech bros are like no you got to grind harder and do this and this doesn t matter And it s legal so who cares And then there s what I call my sensitive tech community and people who are more like you whether you find it on Twitter There s this amazing group I m in Sista Circle Black Women in Tech that I m in on Facebook They also have a LinkedIn community for those who aren t on Facebook That is really amazing Basically there are tons of Slack communities I m in which also all these communities I m mentioning you don t have to find obviously everyone here is from different communities Find the ones that make sense for you and build there Because the thing is it s not just like these are the people that are going to tell you this is normal this is not normal These are also going to be the people who help you find your next job if you are in a situation where you need to exit a toxic situation My current job I got this because of a Slack group I didn t know about this job until Slack and someone referred me And I met my current manager and we hit it off and I ve been working there almost two and a half years now Aisha Wow Anne And I have a manager who s so supportive We share a lot of the same values which I m like I ve had so many bad managers at this point or at least very mediocre managers that I m just like oh my gosh it s such a relief to not have to fear all the things you fear when you have a bad manager And so building that community is really vital for your full career but also early in your career because you need someone to tell you That s not okay You shouldn t have to do that Or like This is what you should do in this situation Or You can do that but here are some things to think about repercussions I m not saying you shouldn t do that but you might decide to handle it in a different way than you originally were thinking about doing it And so those are things where building an online community is really important If you re in a place where you do it in person or whenever we get to a post pandemic world hopefully meetups are great But I recommend going to meetups that have a vibe that you are like I would maybe go to this even if this wasn t about tech Because I found that when I went to tech meetups that were like this is the best in mobile development in New York City they were really cool things And I never spoke to anyone that I took their business card or that took my business card like ever again not intentionally there just wasn t anything in common So it felt weird like hey I met you once at a meetup There wasn t really anything to cause follow ups There s this summit in Philly they d been doing it remote during the pandemic called HUE Tech Summit where I ve met so many amazing women of color at the HUE Tech Summit And several of those people I ve started going there since their first year and this is their fifth year now Oh my gosh I can t deal with how time is passing But I met so many amazing women that I am friends with to this day Both people who there was one where it was before she even became a developer and now she s pretty much a dev influencer And there are other people where they are way already rock stars in their career And if I need help I can just text them And I m like oh this is kind of amazing I didn t ever think I would be in this part of my career where I would have this kind of community and network And so I would say like that s my advice go to the places where you feel like you re home and you would hang out with these people even if they weren t in tech Aisha I love that Oh my goodness yes The thing that I miss most about meetups really is that that s how I found friends And that s how I think about networking For a lot of people I feel like networking is this dirty word But in my opinion if you approach it like I m just out here trying to make some friends who happen to have some overlapping professional interests it s not only easier but it comes off as being more authentic Anne It s way more authentic Aisha Yeah You end up with deeper connections that way Anne It s way better and also takes a lot of the anxiety out of networking I remember when I first started to network I would just go to events that sounded super important And again I never stayed in touch with any of those people and it wasn t intentional It didn t happen because in my head that s how networking went Because also I never was really taught how to network in that kind of way and things that I was actually already doing as networking I didn t see as networking So I was just like okay I m going to put less focus on that And so once I started being like I m going to actually focus all my energy on going to the things that seem like fun then it actually completely changed networking for me altogether And it helps me wake up to just because it s not boring and hyper business y doesn t mean that it s not networking Aisha Exactly So we ve talked about hopefully in the future in person meetups Twitter as well is absolutely huge And I know you do a lot of work around helping people to leverage LinkedIn better Could you talk a little more about that Anne Yeah So one of the things that I do especially because…I hate to say this but it s true where it s as people of color you could end up in a job for ten years because you love it Or it could be you have no idea when it s going to be time to go So you don t know what s going to happen Like you get a new manager or something else happens or there s some incident Or we have happen and suddenly people decide that they want to write a thesis on what counts as racism and what doesn t So the thing is partly because earlier in my career I didn t necessarily always have the support and guidance I had to be really good at finding new jobs very quickly And then also living in New York I freelanced when I first moved here And there were certain jobs I had where I was like okay it s definitely time to go And so I learned for myself how to leverage LinkedIn to actually get recruiters to regularly come to me And it got to a point where I remember I d get random recruiters But I remember one day I got a recruiter from eBay who reached out to me for a job that was hyper specific for what I wanted to do in the future It was like I had made up the job title myself and I was like how did this happen Because I wasn t in a place where I necessarily it was a product management role that dealt with machine learning And I was like okay I didn t lie about my experience Because at that point I was like I m interested in machine learning but I had l zero experience I hadn t done anything in that space And I asked the eBay recruiter How did you find me And they said I typed it in product manager New York machine learning into LinkedIn And you were the second person to come up Mind you New York City is a big place I m pretty sure there s someone who s a product manager who s done machine learning who lives in this city but I was ranking higher than them And I was like oh that s really interesting And so over the years I ve done a lot of things and tweaked things and learned okay this is how you do this And so I basically packaged that up into a course I teach called Attract Your Dream Job It s like part course part coaching where I teach black people and people of color especially Most of the people I work with are in tech to actually use LinkedIn for themselves and understand the algorithm so that they can get recruiters coming to them There are times where even just in this pandemic where I was getting seven recruiters a day And I was getting recruiters like Facebook Twitter Dropbox Amazon I have a whole list actually that s in my phone of all the companies that are like I ll say the name brand companies who ve hit me up at once or more times even just in the last year And I teach that to other people But part of it is really just like you can get all the recruiters coming to you But if you re like I don t believe in myself I don t have the confidence you re not going to get the job And then if they do give you the job they re going to sense how insecure you feel and you re already a person of color So they re already going to have the markdown And they re going to pay you crap for something they should probably be paying you like to more for that job And so it also addresses your mindset talks about imposter syndrome And so we just go through our past career trauma or even just trauma in the job search Because getting rejected repeatedly is hard and that s something where I want people to be able to talk about it And I ll be honest it s very emotional for me and also the people in the course because I ve broken down crying talking about some of the things And I ve had people in the course who weren t even saying anything and cry And then they come to me later and they re like Oh my God that s literally the exact situation I m in right now And I thought I was the only one who s gone through that And I feel my mental health deteriorating and it s impacting how I m performing in interviews And just knowing they re not alone facing that is such a game changer And so that s what I do where it s like LinkedIn is like the hey I can use LinkedIn to get you a new job faster But on top of getting you the new job faster it s not just getting a new job faster but it s also giving you options so you don t have just one option where you re like well I have bills to pay so I better take it And then it s also making sure you get paid what you re worth and also helping you address that imposter syndrome and doubt in that process Aisha That s so powerful That feeling of just being beaten down after a while after you ve been searching in order to just sustain yourself has to be life changing for so many people to one recognize that they re not alone in that feeling and then to actually get some actionable advice on how to work through it Anne Absolutely And there ve been times where I ve reached out to some of my students and coached them through again I m not a programmer but you just coach them through more mindset things to help them get through upcoming programming interviews because I understand it can be intimidating It can be like oh I failed all these other ones How am I going to get through this one And what makes it even worse is sometimes you re trying to build community and you don t realize sometimes the people you initially put in your community especially if you re in the beginning of your career in tech are really insecure themselves and therefore they can t admit that they re struggling So they re like I don t know what you re talking about I thought this interview was actually super easy and I did really well Or like Oh by the way I got offers from Amazon and Facebook and Google and I m just choosing And the thing is they re never going to talk about what it took for them to get there They re never going to talk about how their mental health was maybe impacted They kind of project this like oh man I just did five extra hours a week of LeetCode or something And for some people their mental health is already hanging on by a string Five extra hours a week is either detrimental to their mental health or it s literally not possible if maybe you took a bootcamp and you re working two jobs until you get into a tech job Sometimes that s not an option for you and people will make it sound like it s just you Like oh did you just start studying Or maybe you re just not trying hard enough And the reality is there are tons of people facing that and people are too insecure to talk about that it makes them miserable and sad to go through some of these processes It doesn t make you less good of a programmer or product manager designer But a lot of people are too insecure to admit how it makes them feel And it makes other people feel like I can t talk about this because it s easy for everyone else but me Aisha Yeah absolutely Like I said to have that space where you re encouraged to say Hey you know what Actually I m not okay This is really hard and it s having this effect on me That s huge And I just really commend you for creating that for people Anne Yeah I think people need that space Aisha Definitely What s your maybe most common step that you have people take in that situation What maybe is the most common issue that you see that can be addressed Anne Again there s the mindset stuff and then there s like the hey you can do this on LinkedIn and this will help this But I think there are two things where one is slowing down enough to identify where you are psyching yourself out where you are actually doing all the work for the enemy And I m like make them do it Make them say those things those terrible things you re saying in your head that you think they re going to say Make them say it Don t say it to yourself You have to be focused on what am I great at Let me focus on that Here s what I have to bring Yeah I might mess up this part but guess what There s always going to be someone in the interview that s going to mess something up I m still going to show up I m going to do great And I ve told people like if you have to do the thing where you create an alter ego for yourself for like this interview self and this is outside of interview self…And I use this example a lot like Beyoncécreated Sasha Fierce as an alter ego Because she herself is like I feel like I m actually very shy And I needed this other persona to help me be this amazing diva pop star on stage And I think a lot of us really know I mean even though she considers Sasha Fierce retired but Sasha Fierce basically birthed the version of Beyoncéwe know now And I think a lot of us know Beyoncéas a post Sasha Fierce Beyoncéor Sasha Fierce Beyoncé And not a lot of us really think about Beyoncé the homebody who doesn t really want to talk to anybody period She just wants to go home and hang out do regular everyday Beyoncéthings that don t involve people or performing or that kind of thing And sometimes you have to be like here s how I would act if I showed up to interviews full of confidence knowing that I can do everything And one of the things I ve also told people is when Donald Trump was elected president and maybe you guys have to cut this out I don t know I said to myself you know if he gets to be president…because there are a lot of people where I was like maybe they have something I don t have that makes them better at being president And then when Donald Trump was president I was like I think I would still struggle but I absolutely could be president and do that And I was like if he gets to be president of United States at this point all bets are off I get to literally do anything I want to do It might take me a while to figure it out But why is everyone else getting to do things I m realizing there s so much stuff out there where the people we think know so much more than us really don t and it s really just us scamming ourselves into thinking that we don t know the things that we actually know And then we see somebody else doing it and we re like wow I really scammed myself out of that bag And that s sad That hurts I m like don t scam yourself Don t cheat yourself out of things Make other people do the work of closing the door in your face Stop closing doors in your own face because it s not endearing It s not helping you And you re like oh what if I embarrass myself Everyone embarrasses themselves Even Beyoncéhas fallen on stage She got her wig stuck in a wind machine and we still love her It s okay If your wig gets stuck in a wind machine in your interview stop handle it and then keep going And so that s one of the mindset things where you really have to remind yourself you know things and it s okay to not know the things But you just need to sound really confident when you say You know I don t know that but I m really interested in it And that s the thing And the other part is really no one can help you in your job search if they don t know you re looking And people oftentimes feel shame They re like oh I m looking for a job I ve been looking for so long I promise you a lot of people are not even thinking about Oh why does that person not have a job yet So number one you need to tell people even if you re like I have a job right now and it s just miserable In private the people you trust email those people It doesn t have to be people in your workplace if you don t trust those people People you know in the industry that kind of thing or in some of these private groups we just talked about message them saying Hey here s my situation dah dah dah I m looking for… and be specific as possible about what you re looking for the type of role the level you re at those kinds of things If there s a specific geographical area say This is what I m looking for People cannot help you look…And then also even if you re like oh my gosh but how do I use LinkedIn to leverage that I can t go through all the things you need to do with your LinkedIn in just this one podcast But one thing I will tell you is the more visible you are on LinkedIn the more likely recruiters will reach out to you So if you re in a position where you can t say Hey I m looking for a job on LinkedIn write about something completely different and be like Hey I took a course four months ago in Python dah dah dah And it was really great And I did this project from Kaggle If that s it write that and get in the regular habit of you don t have to write something really corny on LinkedIn You can just write like oh I m going to sign up for this course Or oh I read this blog post I thought it was really interesting and posting that Because the more you are active on LinkedIn LinkedIn actually increases your ranking in their algorithm which means that when somebody searches for your role geographic area on whatever specialty it is it means you re going to be ranked higher when the recruiters come looking for you And I do know this not just because the eBay person but I have a very good friend who s in recruitment at a company here in New York City and they literally text me once a quarter They re like You have no idea how many times you came up in my searches this quarter So my thing is be visible Even if you can t say Hey I m looking for a job talk about something else because it doesn t matter We don t need the recruiters to necessarily see like hey Aaron is looking for a job They just need to see oh the LinkedIn algorithm says that they re very relevant for that role and relevance is actually related to your activity So also another thing I m going to tell you is always reply to your LinkedIn DMs Even if that recruiter is wildly off about what they re looking for just reply and say Hey not looking for this but if you know about… the type of role you re looking for insert that name there let me know And if you re usually getting a lot of messages for roles that have nothing to do with what you re doing then I would just update your keywords on your LinkedIn because that s usually the culprit So those are the two things where I know there s a lot but the two main categories of things people can do Aisha Awesome Thank you so much It s a very freeing thought that if my wig gets stuck in a wind machine I can pause untangle and move on with my life But I want to come back to something that you said about essentially let s not talk ourselves out of the bag This is something that I talk about a lot when it comes to speaking Somebody thinks to themselves oh I don t have anything interesting to say I don t have anything that s worthy of XYZ conference I don t have the presence to be up there with these famous speakers And I m like hold up that s not your job It s not your job to decide who gets to be on stage That is the job of the selection committee It is your job to present your thoughts and ideas in the best way that you can Anne Yeah it s really like I m in a shoot your shot world when it comes to career opportunities whether it s speaking opportunities anything like that I used to think the same thing where I m like oh I m not like this person I m not like that person I spent so much time comparing myself to other people that I thought oh my God well that person is so amazing and I don t think that way I don t talk that way And I realized that was my superpower was that I don t think like those people and those people could be at the same conference as me And like that s why they would have you alongside with those other people because you don t think that way and they want to have people that are different They don t want of the same person And it s not your job to filter yourself out for them That s why they have a committee You are not getting compensated for filtering yourself out of the process There is no benefit for you And like I said we re in a post shoot your shot world I get to be anything I started just saying like when opportunities came by I would just be like I m just going to put my name in the hat and see what happens I worked at this blockchain startup that was part of ConsenSys for a bit ConsenSys for those who aren t aware they re like an incubator accelerator for blockchain specifically Ethereum based startups And ConsenSys sent out this email to everybody like Hey who s interested in doing blockchain talks at Morgan State as like a guest lecture And I was like oh my God that sounds terrifying And I don t think any university would ever let me speak to their undergrads because I m not a professor I didn t go to grad school I have no idea what I would talk about And I was like but maybe they ll have an idea and it ll be an idea I can bounce off of So I was like I m going to reply and say Hey I m interested in this and so I did And they were like Great here are the different topics What do you want to talk about And I was like Okay let s talk about Initial Coin Offering scams because scams are kind of fun to talk about and so that was my talk And they were like Cool let s do it Actually this was pre pandemic I went to Morgan State did this guest lecture and everything And I m like holy shit I just guest lectured at a university But my first reaction was the university is not going to be like okay cool You go talk to the students about the blockchain things And also I had been in the blockchain world for less than a year at that point And I was ready to filter myself out And like you said until someone starts paying me a lot of money and we re talking about enough money to like I can retire now I m not going to filter myself out Aisha There you go It s exactly the same for salary positions I came across a job at Gatsby and I was like wow this job description It s exactly the kind of thing that I wanted to do This is the work that I m doing on the side right now And the only thing was like oh but it s a Staff Software Engineer position And I m like ooh I m not a Staff Software Engineer And lo and behold I go for it anyway I m like what do I have to lose I go for it I get the job And here I am doing Staff Software Engineer work eventually as a staff software engineer at Gatsby And I m like huh imagine if I had just decided for them that I wasn t capable of this you know Anne Yeah That s the thing It s like you could have decided for them But then it s like what would that serve you At the end of the day what does shrinking ourselves do for us How does getting paid less for performing It s like having the ability to perform at a higher level but being in a lower title How is that serving us or anything that we want And the answer is it doesn t And it makes our anxiety I guess feel good But then at the end of the day it s kind of like a self fulfilling prophecy where it feeds the anxiety and makes you the next time be like well I was right for not applying to that thing or maybe not even right There s no proof that you were right because you didn t shoot your shot But you re like well we chose not to apply for that one So we re not going to apply for this one either Aisha Absolutely And it just keeps going like that What you said about making ourselves small that actually reminds me a lot of something that a career coach said to me once She was basically like Well it seems like in this one aspect of your life you re doing all these things and you re leading communities and you re teaching and speaking and whatnot But in this other part of your career you are making yourself small and it s really hurting you And in that scenario I was not being recognized for the work that I was doing And I was playing the work I was doing down to myself and not promoting what I was doing and it made it so much more difficult for me to move forward in that space And so I think that really trying not to stifle your own shine in that way is huge Anne And it s hard but identifying why you re trying to talk yourself out of that because that s the bigger thing It s like why do we feel like we have to shrink ourselves And it s usually tied to some sort of past trauma where somebody said something about us in a previous job or we got one bad review And we let that one thing define us moving forward There was I remember and this is not to put them against each other an article once where somebody said Well Beyoncéis no Ashanti And granted they are two very different musicians But it s also like had Beyoncébeen like I m never going to achieve Ashanti s level of presence and fame and success that doesn t make any sense And again it s doing other people s whatever like terrible stuff they re going to do or whatever they re going to say or filtering they re going to do for you It s like we re preemptively doing it because we re scared of getting hurt for whatever the reason is that we re scared of getting hurt by hearing no And it s kind of like training ourselves to be able to say yes to us and let other people be the ones responsible for saying no Aisha Absolutely Rolling it back a little bit I want to talk about some of the pieces that you have cultivated over the years You do a workshop called Human First Product Second And I d love to hear a little bit about how that came to be and what you offer in that workshop Anne Yeah So this workshop actually started out as a talk And it was maybe one of my first five talks ever And I pitched it for Write Speak Code You clearly know what it is but for those of you listening Write Speak Code is an amazing organization for women and non binaries who basically want to help them produce more thought leadership pieces And it s basically they have workshops on writing the speaking part and also code things and then combining them all together for thought leadership But I put this together because I was like as a product manager and as someone who s like an ethnically ambiguous black woman and this kind of thing and being in America and being in tech but being in an industry where a lot of my ancestors weren t given the opportunities that would have even let them in even if they weren t barred from being in this industry And it really talks about how tech for so long excluded so many people whether it s because of LGBTQ or ableism or racism all the isms and how oftentimes those are left out and how that s leading to biases that we see today And focusing on our human sides first which for me is partly identity but also identities of people that I don t represent thinking about how is this serving humans even humans who aren t our customers but it might impact them How do we build products that aren t just we re going to ignore everything except for the North Star metric And as long as it hits the North Star Metric we don t care about the destruction it leaves in its path And so that was the talk I gave and I decided to expand it into a workshop series which I gave for the first time this spring with LACMA which is the LA County Museum of Art with one of their digital teams And really it just expands on those points and teaches people about both design thinking and design justice also tech ethics in general Because some of these people know a little bit about this but they need more of an intro into like how do I get into more resources What are some of the deeper concepts in these things so that we can apply them in our workplace And I was like how do I make this into a thing that s not just like I go in and do a cute little minute talk but I help companies where they want a starting place for doing better with their products and they want to make their products more human rather than just being we are robots and we just follow the metrics without any consideration of how the metrics impact real humans And that s really where that came from Aisha Awesome That s exciting So between that work with your workshop and speaking and writing how does all of that work fit into your career right now Anne That s a great question I m going to be honest where I think my career really when I say quote unquote started where it s like the part where I actually started having fun is when I decided both to stop counting myself out but also just doing the things that felt right When I first started doing the writing and speaking there was really no master plan These were just things that I was like I m interested in it and there s not a lot of people talking about this right now We re talking about in the way I m talking about it from my perspective as a product manager and as a black woman And so that was where that started And where it fits in my career is that it s something where I learned that you could have a lot of fun in your day job but there s no day job you re going to have that s going to let you do all the things that interest you from a professional standpoint Because your day job pays you to do a certain realm of things and you re not going to get to do all the things But how do you get to develop your interest in AI or blockchain or talking about certain topics in those areas if that s not what your company does And even if you go to that type of company there s going to be other things that that company is not interested in doing or talking about and that kind of thing And so for me those things make my career feel complete because it s not just like oh this will help me get more product management jobs but it s also like yeah showing them I can do this does help my career and getting another nine to five or whatever But also it really helps me feel complete because it s not like oh I wish I could learn that But do I have to now become a data scientist full time if I m interested in AI It helps me feel fulfilled in the areas I m interested in without being like I have to abandon my first love career which is product management to do these things And being like I could be a product manager who does these things and cares about these things without necessarily always being like I m in an AI company or I m in a blockchain company or I am a full time tech ethicist or whatever I can do those things and all those things have a place And once you start doing the things that really interest you even outside of your nine to five it really helps you better understand what you look for in your nine to five and what you re like I would rather continue to do this separate And then also it gives you the outside experience that if you ever were like actually I m really interested in doing this full time now You can at least say well I m taking a data science class I ve written these articles here and here they are I m interested in going much more deep in the data science world as a PM You have a starting point instead of being like well I didn t know what to do And I wasn t interested in being a data scientist so I just did nothing And so it makes me feel a lot more complete because it s harder for people to put me in a box because no matter what people let me do at work or don t let me do I have all these other things that go on regardless of what happens in my day job Aisha I love that Thank you So as we wrap up here I just want to say thank you one more time because this has been a really really wonderful conversation and I just really appreciate your time What s the best way for folks to find you Anne Yeah you can find me on Twitter annetgriffin So that s A N N E T G R I F F I N Or you can go to annetgriffin com So again that s A N N E T G R I F F I N com Those are the two best ways to find me It s the same also for LinkedIn the Anne T Griffin thing If you add me on LinkedIn leave a message saying you listened to this podcast Also that s really good LinkedIn etiquette pro tip So I d love to talk to you and I just wish all the best for everyone listening to this podcast Aisha Fabulous And thank you so much for listening Be sure to check out our other podcasts Polyglot Podcast as well as Observy McObservface Jonan Thank you so much for joining us We really appreciate it You can find the show notes for this episode along with all of the rest of The Relicans podcasts on therelicans com In fact most anything The Relicans get up to online will be on that site We ll see you next week Take care |
2021-11-03 13:37:02 |
海外TECH |
DEV Community |
🔐 Creating a Crypto Token Gated Express application |
https://dev.to/julien51/creating-a-crypto-token-gated-express-application-1i62
|
Creating a Crypto Token Gated Express applicationWeb encompasses a plethora of elements that empower us to build a more accessible web for everyone including Non Fungible Tokens Token Gating and decentralization One perk from the emergence of web is moving away from the monetization of our personal data to sell ads Win win for us all I m here to show you how simple the process is for token gating content in an Express js application using the Ʉnlock Protocol Ʉnlock is a protocol for memberships that allows anyone to deploy a lock a membership smart contract The contract specifies the terms of the membership including price duration number of members and many more parameters necessary to run a thriving membership subscription When a supporter wants to join your membership they simply pay the specified amount to the contract and will receive an NFT that represents the purchased membership app get premium membersOnly req res gt unchanged TL DR that s all you need to monetize your application Try it CodeLet s get started Requirements you need to use an ethereum web wallet such as MetaMask We will be using a the Rinkeby test network for this tutorial no need to spend real money get some fake Ether on this faucet and when you decide to ship you can use Ethereum s mainnet or the xDAI and Polygon networks if you want to skip the high gas fees Deploying a lock This is the first step Unlock Inc provides a front end for this to be a bit easier but know that you could also do it directly from the smart contracts Go to the Unlock Dashboard Connect your wallet and then click on the Create Lock button You can then complete the form to specify the name of your membership contract the duration in days of each membership the amount of members as well as the price for each membership Clicking on Submit will prompt you to submit a transaction that will deploy your lock It usually does not take much more than a few seconds but you will be able to see the address of your lock right away This is the address of the smart contract you just deployed It is yours and only yours The one I deployed is called Another Lock and its memberships are valid for day and they cost Ether It is at the address xBeCeFcfFabdafEcEA and we can inspect it on Etherscan The side bar shows lets you enable credit cards for users who do not have a crypto wallet withdraw its funds and more feel free to tinker with it Express application for date and timesIf you re familiar with Express you won t learn much so skip to next section For this demo I created a dummy Express application that gives the time in all timezones The free version just includes cities around the world but the premium version offers a list of cities Here is how the code looks like const express require express const cookieParser require cookie parser const zones require zones const app express const port process env PORT app use cookieParser Helper function that returns date as a string in a cityconst dateInZone zone city gt const d new Date return d toLocaleString en US timeZone zone in city Main root of the application that only shows citiesapp get req res gt res send lt h gt World Clocks lt h gt lt p gt It is now lt p gt lt ul gt lt li gt dateInZone Asia Tokyo Tokyo lt li gt lt li gt dateInZone Asia Kolkata Kolkata lt li gt lt li gt dateInZone Europe Paris Paris lt li gt lt li gt dateInZone America New York New York lt li gt lt ul gt lt p gt Premium version lt a href premium gt select any time zone lt a gt lt p gt Premium route where times in all timezones are displayed app get premium req res gt res send lt h gt World Clocks lt h gt lt p gt Thank you for your support lt p gt check github for code that renders all zones lt p gt Premium version select any time zone lt p gt app listen port gt console log Example app listening at http localhost port As you can see it is a pretty standard Express application The list of zones is stored in zones js file that you can find on the repo Adding the lockThere are multiple ways to integrate Ʉnlock in application from the lowest levels by hooking into smart contracts directly all the way to the front end where some JavaScript can be used to hide show content Here we will use the unlock protocol unlock express npm module This module provides a middleware that can be added to any Express route in order to ensure that members only can indeed access the content Add the plugin through yarn add unlock protocol unlock express or npm i save unlock protocol unlock express and then let s include it in our application const configUnlock require unlock protocol unlock express After this it s just a matter of configuring the express and using the middleware The configuration has important elements yieldPaywallConfiggetUserEthereumAddressupdateUserEthereumAddressLet s go through them one by one yieldPaywallConfigThis one is used by the plugin to ask the application what configuration it should use The main aspect of this is of course to list what locks should be used specifically You can find more details in the Unlock docs but here is what we ll use yieldPaywallConfig request gt return locks xBeCeFcfFabdafEcEA network Quite simply we say that we only have a single lock that we accept memberships from and it is on the network the Rinkeby test network getUserEthereumAddressThis one is a way for the middleware to ask the application for the user s Ethereum address if it knows about it Here for example the application could look up its user database and just yield the address of the user etc However in this example we do not have a user database table so we will only use a cookie So here is what that looks like getUserEthereumAddress async request gt return request cookies userAddress updateUserEthereumAddressFinally the middleware has a way to inform the application of the user s wallet address so that the application can store it There again the application could decide to store that information in a database or like we do it here just store the address in a cookie updateUserEthereumAddress async request response address message gt response cookie userAddress address And that s it here is how the full configuration looks like const membersOnly configureUnlock yieldPaywallConfig gt return locks xafafEDDDEAAaEFBCcFc network getUserEthereumAddress async request gt return request cookies userAddress updateUserEthereumAddress async request response address gt response cookie userAddress address app Please note that the configuration block yields the membersOnly middleware that we ll use in the last step Adding the middleware to our premium routeNow that the middleware exists we can very easily plug it into our premium route and here is how it looks like app get premium membersOnly req res gt unchanged As you can see it s quite trivial Final touchesA nice addition is to let the user log out by just deleting the cookie For this we re adding a route app get logout req res gt res clearCookie userAddress res redirect Want to try it out We deployed the application on Heroku Want to look at the code It is all on Github A note on security one could note that the cookie itself could be spoofed This is true but also easily fixable using multiple approaches One of them is to change how updateUserEthereumAddress is implemented by using the th and th arguments passed to this function that include a signature and the message signed by the user By recovering the signature the application can get the certainty that the user s address actually matches the visitor especially if the message signed includes a timestamp or some kind of unique nonce configurable in the paywall config Closing thoughts Using this express plugin means that a developer can start monetizing their application from anywhere in the world in a matter of minutes There is no need to agree to terms of service apply for an API key and no approval or review of your application Additionally you as a developer can decide of the benefits you want to offer to your members whether its access to unique content special features One of my favorite feature is that the locks themselves are not even tied to a specific platform For example if you decide to do support over Discord you could use a bot like SwordyBot to easily identify paying members or grant them access to a special channel Examples of Projects using Unlock If you enjoyed this and want to learn more please join the Unlock Discord I would also recommend that you apply for an Unlock grant Oh And we re hiring a Dev Evangelist Is that you |
2021-11-03 13:34:48 |
海外TECH |
DEV Community |
If The Code Works, Don't Touch It ! |
https://dev.to/zairiaimendev/if-the-code-works-dont-touch-it--om4
|
If The Code Works Don x t Touch It This is a repost with little modifications of a post originally in my blog zairiaimen comIf you don t want to read the post you can also watch the video version of it The sentence “if the code works don t fix it is sometimes taken as a rule by newbie developers Though most of the times it works i Personally think it is just an excuse from lazy developers What is even a bigger problem are people who learn frameworks without learning the basic concepts which causes them to write spaghetti code and when they see this Rule they think it s something everyone does Why You Should Fix Your The CodeBecomes more readable by other Improve the code Improve the code having testable having extensible code When To Not Touch The CodeNew To The JobNot Experienced Enough With The TechnologyA Part Of the Code That Won t Change Over TimeUsage Of Open Close Principle Add New Features Without Removing The old Ones How To FixRead The Code Multiple Times Until You Understand It We All Know that our old code can only be understood by GOD but still give it a try Separate Logic From State UI ManagementUse Design Pattern To Turn The Logic Into Small Testable and Extensible Pieces |
2021-11-03 13:33:27 |
海外TECH |
DEV Community |
Communication Counts – Leading a New Generation of Developers with Chris Mar |
https://dev.to/newrelic/communication-counts-leading-a-new-generation-of-developers-with-chris-mar-2i87
|
Communication Counts Leading a New Generation of Developers with Chris MarRelicans host Kirk Haines talks to Custom Ink s Chris Mar about building an architecture practice having a responsibility to give back to the engineers that are beginning in their careers and helping them grow in leadership roles and why as a leader it is imperative that you model positive behavior Chris and Kirk even dive into a little crypto chat and discuss and break down things like the blockchain and NFTs in simpler terms Should you find a burning need to share your thoughts or rants about the show please spray them at devrel newrelic com While you re going to all the trouble of shipping us some bytes please consider taking a moment to let us know what you d like to hear on the show in the future Despite the all caps flaming you will receive in response please know that we are sincerely interested in your feedback we aim to appease Follow us on the Twitters PolyglotShow Communication Counts Leading a New Generation of Developers with Chris Mar Polyglot Your browser does not support the audio element x initializing × Jonan Scheffler Hello and welcome to Polyglot proudly brought to you by New Relic s developer relations team The Relicans Polyglot is about software design It s about looking beyond languages to the patterns and methods that we as developers use to do our best work You can join us every week to hear from developers who have stories to share about what has worked for them and may have some opinions about how best to write quality software We may not always agree but we are certainly going to have fun and we will always do our best to level up together You can find the show notes for this episode and all of The Relicans podcasts on developer newrelic com podcasts Thank you so much for joining us Enjoy the show Kirk Haines So welcome to Polyglot My name is Kirk Haines You can find me wyhaines pretty much anywhere on the internet on Twitter and everywhere else And today I d like to welcome my guest Chris Mar Chris tell us a little bit about yourself Chris Mar Thanks Kirk Thanks for having me So I m Chris Mar I work at Custom Ink and I ve been working at Custom Ink for the past eight years I think my total software career is a little over years at this point Interestingly I ve had this unique experience where I ve worked at small to very large companies So I ve had the opportunity to work at different sized companies from two to three people up to plus people because I had a stint at Oracle for a while I bring a lot of experiences that maybe I never once had the opportunity to just as the software industry has changed And I was looking forward to talking to you today about Polyglot architecture and NFTs laughs Kirk Awesome That sounds great So when did you work at Oracle I m just curious Chris So I was actually in acquisition because I worked at Sun Microsystems So I worked at Sun Microsystems for many years And we were doing Java there I really enjoyed working at Sun When I was growing up Sun was one of the real big companies so you always aspired to work for Sun And some of the smartest engineers before all worked there So I really looked forward to working there And then I actually got into Sun through an acquisition So I was at a startup and we were doing monitoring and management of computer systems and then we got acquired by Sun And I had a long stint at Sun then we got acquired by Oracle and I had a year at Oracle And then that just got to be a really large company So I actually went from Oracle at plus down to a small startup of two people to three people So it was a pretty big jump but it was exciting Kirk Yeah early in my career I did a lot of work actually on the system side I was working for one of the Baby Bell companies And all of the engineering staff like engineers all had SPARC s or SPARC s as their workstations And I was responsible for maintenance on all of those at the operating system level as well as larger systems all running on various Sun Microsystems workstations operating software And so yeah Solaris Sun Microsystems hardware formed the foundation of a lot of the early parts of my career Chris Sure And the advertising used to be We put the in com So every startup during that com era and the turn of the century you immediately bought stacks and stacks of Sun hardware to build your com Kirk Yeah that was all everybody ran on for a while because it was a high risk proposition to run on Linux That s kind of cool So you went from Oracle to tiny little companies And then at some point in time you transitioned from Java to other languages and found yourself in the Ruby world Do I have that right Chris Yeah that s exactly right So I was working at Sun at the time I remember the JRuby guys I saw them speak at one of the Java conferences and they came to work for Sun Just listening to them talk about JRuby and then a lot of it was obviously about Ruby on Rails at the time And I was like wow this was just mind blowing the way they talked about it And I remember it was in San Francisco the conference center there They were talking about this And I went right out and I remember I walked right over And Bruce Tate had written a book about getting started with Ruby on Rails I went and bought that book immediately And at the hotel I was reading that book And all along the flight home I just read that book And I was just amazed considering the way we were writing the JEE applications for the web and all what we were doing the deploying the JARs and just the complexity that we had just to make webpages and the beautiful story of Ruby on Rails I remember buying that book and reading it I got home watched that DHH video on how quickly he started a blog with the generators and things I was hooked And so then I just spent the next few years still doing my day job but Ruby and Rails just learning building side projects and connecting with the community And that was one of the things that really attracted me It was just this open community of people building cool things and sharing versus kind of like I guess at that time it felt like Java was really corporate and maybe not even sharing that much with each other So then when the opportunity came and I found a job that I could transition to there was sort of a startup in my local area Spree Commerce So if you know the Ruby on Rails e commerce project they were starting a company using that on top of that project so I went to work there And it was a really big jump into the Ruby and Rails world and the open source community It was a huge transition And most people I remember at the time were like Why are you going from this big company enterprise software job to a start up with an open source community where they re giving away the software for free But I felt like I had to do it And it s been great ever since Kirk So what timeframe was that Because I remember I think it was RubyConf was in San Francisco And then there was JRubyConf right at the end of RubyConf Was it then or was it somewhere Chris It was a little bit past there It was in Baltimore There was RailsConf in Baltimore Kirk Okay Oh it was the Baltimore RailsConf Okay Chris And that s where I was like I m going to see if I can network because I lived in Washington D C near Washington D C So I was just like I m going to see if I can network and I was able to find the guys from Rails Org and Spree at the time And I connected with them and then I was able to make the transition Kirk Okay that s really cool That kind of sets the connections in my head I was at that Baltimore RailsConf Chris Yeah that was a really good one And I remember everybody came to Baltimore and most people at the conference what they knew about Baltimore was from The Wire laughter So they expected many people I met there were like This is not like The Wire It s really nice Kirk Yeah that was my experience not so much expecting The Wire but just that it was a nice venue It was a nice place The weather was great It was really a lot of fun being there So that covers your history and how you got into Ruby and how you got into Rails And in that time you ve moved through quite a few different roles it sounds like So what are you doing today Chris I m building an architecture practice or I lead an architecture practice at Custom Ink I went to that startup and it was all Ruby and Rails But after a couple of years I thought it was time to transition And Custom Ink is a local company And I got to know again with the Ruby on Rails community I got to know a lot of engineers at Custom Ink just because there were so many great meetups It was like a really small community of people who just really loved and were passionate about Ruby on Rails And so when I made the transition I went over to Custom Ink And I worked there for a few years as a senior software engineer As we started to really grow fast and expand the size of the teams we really needed to build an architecture practice I was asked to help do that So I ve been doing that for the last five years Kirk Cool And you mentioned to me when we were talking before we started recording that you ve really been focusing on topics related to growing a new generation of programmers and developers and leadership topics around that And I was wondering if there were things you wanted to talk about with regard to that Chris Sure I think as you grow in your role and experience It s a long time I ve been programming you start to realize I got to give back is one thing that s top of mind for me Like there have been a lot of great mentors over the years who have helped me grow in my career And as being in a leadership role so architecture is obviously a leadership role at the company But I also have a responsibility to give back to the engineers that are growing in their careers and so paying it forward or paying it back I have a debt and a Lannister always pays his debts I always think about this Kirk laughs Chris I got to help that next generation And it s a challenge We ve been around a long time and the experiences that we grew into our careers are different than the challenges that engineers meet now But I do think it s important to give back and help the next generation So when you re in an architect role one of your responsibilities is to drive a vision and challenge the team to go in new technical directions or solve big business problems And the engineers need to be able to take those challenges and carry them forward And if your engineers are not helping lead the way it puts too much responsibility on you to try to just move the challenges I can ask but if I can t have more people taking up working with me getting inspired by the same vision and helping lead that change it makes it a much more difficult job So I realized one of the ways you can give back is just to help engineers grow in their leadership This is something I started about I actually just took a whole group of my cohort of engineers through a leadership program And one of the things I realized when starting this was that I would maybe talk to engineers and they re like Well we can t do that or We don t have authority to do that They just don t have the skills to lead in place or even have exposure to this is how you lead And leadership I don t think it s a natural ability Some people may have a natural ability But if you think about the great leaders you have at your company or the great leaders you admire they ve all learned some of these leadership tools And they just get a lot of reps at practicing that and that s how they become great leaders But for technical engineers you ve always been like the smartest person in the room You always solve problems by engineering You can solve problems with code You think critically and you can solve problems But leadership is not that You can t necessarily just code people to do what you want You can t influence somebody like laughter So it s different It s just another challenge And when I started I told the engineers this is just another language These are skills you can learn and you can apply just as if you were learning another framework that you want to use It s just another set of tools that you can have to help you And so when you think about important things in leadership like change management influencing people having critical conversations there are good techniques that you can learn that you can apply And as with the reps you can build it up to where you are very comfortable leading in place and even leading your team where you don t necessarily have authority A senior engineer might not have authority over the mids and juniors on his team or her team but they need to influence them They need to help them grow They need to inspire them to take action where they need them to take And so those are the kinds of skills that I ve really been focused on teaching our teams Kirk And so how do you teach it Chris That s a really good question So at Custom Ink we have a whole department that teaches leadership skills And traditionally they teach it to new managers new directors vice presidents They learn these leadership skills They have all day programs where you get the firehose of all these whatever the management techniques of the day are But you see that your engineers like we talked about need to have some leadership skills if you expect them to take on these huge challenges and move your engineering and your technical practice forward So I went to them and they said These are the programs that we use And so I accepted those programs for example change management s a huge one If you re in your group and if you see something that needs to change you can t just tell people This is wrong Everyone start doing it this other way laughs That doesn t work Most of the time it doesn t work And then you just get frustrated like it s obvious that this way is better laughter But with some change management techniques we learn that it s important to communicate and have an understanding of other people s views and understand maybe why they don t necessarily and communicate and then to bring them along so that they feel like they have ownership in that change too and they re not just listening to your change Those techniques you can learn So then I was able to take the materials they would use maybe for a traditional manager role and apply them to teaching engineers Kirk So do you run actual classes for the engineers or is it brown bag sessions Or how do you structure that so that you reach the engineers who need it and so that it s a productive use of time I m curious about the logistics of how you do that Chris So the way I did it was I broke it up into different modules So like these next two weeks we re going to talk about change management And there were some class materials Some of it is just like a LinkedIn learning video you would watch and maybe a reflection sheet with a couple of questions to think about how you might apply some of those to your job And all I asked engineers was like let me have an hour a week so about two hours over a two week period And then we would meet and have a we called them a reflection session So we would just get together And I thought it was important that the cohort the group that we would meet was all the same So we had all senior engineers So they are all dealing with the same situations the same issues feeling the same pressures from the company They can share They can be vulnerable and just share and say I have trouble with this How do you get your team to change How do you do these things And I will admit that I think a lot of engineers were cynical at first which as a technical person you re always solving with code and technical just saying Hey these skills will help you But over time I felt like the entire group felt like they were learning and they started to understand after a while So then we went through months of it And we ended up just having a little graduation ceremony like hey we went through this whole program all these different lessons And we built a cohort and it was like a team building session So all of our seniors and juniors had this team building session and now they can rely on each other And now within our organization we have a tier of senior leaders that as architecture I can come to them and say Here are some of the big challenges we have to face Here s what we have to do And then they can take that back to the teams and they can lead in place and lead their teams Kirk Okay that s really cool Yeah that s really cool I like that structure So do you teach it to the seniors and then rely on them to trickle that down Or do you bring the juniors in and work with them as a separate group How do you structure that Chris That s something that I ve thought about a lot Right now what I m doing is I m challenging the seniors that yes you are now a senior You have to give back So you need to mentor the next generation And it s a great opportunity for them to have leadership because in a mentor role you re leading and helping somebody And you start to actually feel the pain and like when you were a mid person you knew everything laughs And you re helping them so they get that perspective of helping the next generation and helping the mids and the juniors And then I think that helps bring that next level up so that they can then level up to become a senior Because the way I see it is as you re progressing in your career the different roles like as a junior and then as a mid you re really good at you re on keys you re on screen you re writing beautiful code and you re solving the problems But when you re asked to be a senior you have a little bit it s not just time in a role I don t think it s you have three years here so you re a senior now I think it s you re starting to lead and starting to influence so you re given the opportunity to become a senior engineer But you re not just looking at the code You look up and now there s a whole team here and I have to help that team be successful And you have to start looking up above your team and looking around the organization like how does what we re doing the changes we re doing affect the rest of the organization How does it fit in the bigger architecture in the bigger vision of where the technology is going And so they naturally get into more of a bigger role to start to lead Kirk All right that makes a lot of sense to me Forward thinking looking down the road I m curious do you see this as something that within Custom Ink it s sort of like you ve built the structure and this is what it is and it ll just continue like this Or are there other layers and other places that you want to grow this and take this Chris It s still new to me I was trying to solve a problem I needed to challenge the teams to hey this is what we need We need to be using AWS more so I need us to be thinking like how do we move more to Lambda for example And when you have a lot of pressure on you it s oh I don t have time to do that I don t have time to think about that You have to ask the business if we can have time You feel like all this pressure We all feel this in our roles But you can lead And it s how can I teach these techniques so then I can do bigger challenges So it was kind of I needed to solve this problem of being able to have bigger challenges and have the engineers lead to bigger efforts And so then it was can I teach them some leadership skills Because I can kind of see it but when you re in your role and you feel stuck no one s giving me time to do this No one teaches No one s telling me it s okay to learn this And you can t see it but you can learn it And I think that was like the big aha moment for me like oh if they can learn it they can get inspired They can start leading and then we could all together tackle bigger challenges Kirk Okay that makes a lot of sense I like where you went with that because that s one of the things that for a lot of personalities and the way that a lot of people come into this work and the way that a lot of teams function it can be a very difficult transition You re focused on okay here are my tasks and my sprint and I ve got to get these things done And the larger perspective of how that interacts with your teammates and with the direction that the technology is going you can lose sight of that or not even have sight of it to begin with Not even lose sight of it but just never have the sight of it And learning that it s okay to explore and to take some ownership of okay I am a knowledgeable person with opinions that I don t have to ask permission to express and to use to help steer things that s a hard thing to learn And so I think that s really cool that you ve taken this structured approach to teaching some of that so that then that can trickle on down And hopefully then your juniors that are now in this environment won t have quite as much difficulty making that transition and moving into that mindset as they advance in experience That s really neat I like that Chris Yeah for sure One of the asks of leaders is to model the behaviors And so if you re a team leader and your seniors are cynical or just feel like they can t make change then you re going to model that behavior and we don t want that We want them to feel like they can lead and make change And we want the next generation thinking like oh I could start doing it I could start modeling that behavior and I ll become a leader It kind of becomes a virtuous cycle when the next generation becomes leaders And I think across the organization especially as you start to scale up there s this spirit of leadership that engineers have that it s beyond just the code and the keyboards and PRs That s not their only job They can drive big change I tell the seniors as senior engineers they can effect the most change in the organization If a senior says I want us all to start using some new library they re the ones that can network with the other senior and say Hey we re the ones making the decisions We re the ones with hands on the keyboards Let s start using that and prove that we can do it And so as a senior engineer you really have a lot of power and a lot of authority to make change Kirk Yeah that s something that I think that there are a lot of organizations that lose sight of that And when they lose sight of it those engineers then feel disempowered Then that s where you get into situations where you start having morale problems and things like that And by empowering your developers and letting them make use of the responsibility and the power that they do have to make good decisions or to make bad decisions and learn from them I think that that s how you build a strong engineering organization Chris Sure if you just have the smartest people we all try to hire the smartest engineers in our hiring practice So we have a room full of the smartest people But if they re only going to just be coding as an organization you re not getting the best from everybody If everyone feels agency that they have ownership and they know that they can be heard and that they can effect change then they re going to take on the bigger challenges Kirk Mm hmm So a tangential question just because I m curious So in your role you re doing all of this architecture and leadership and things like that Do you ever still have opportunities to actually write code and get down into the lower level technical direction of anything Chris Not as much as I would like I think as you take on these bigger responsibilities especially in architecture you re not necessarily going to be hands on keyboard Kirk And time is finite Chris Yeah time is finite And I do force myself to get engaged with projects I need to be able to boot up the apps I d be embarrassed if I couldn t at least boot up one of our apps and commit some code if I had to But the way I look at it because for years I actually kind of thought this The first years of my career I feel like I was a very successful software engineer And I was like I am never doing any kind of leadership I m just going to code all day And I feel like I was pretty good at it But I was challenged The organization needed some architecture and needed someone to get into architecture so I stepped into the role And after time just the responsibilities that came with that role I just haven t been able to make the time to code But something I wish I had told myself earlier And this is for people who are thinking about coming into architecture is you re still solving problems Like the fun stuff of a challenging problem and whiteboarding out the solutions you re still doing that You re just not necessarily coding it up And it s the same considerations boundaries communication path single responsibility model all the same stuff you apply to your code You re just applying it on a more macro scale across the systems across the teams and communications So you re still solving technical challenges So I do feel a lot of reward from solving problems like that But no as my day job I don t necessarily code it up as much Kirk Yeah I was just kind of curious about that because that seems to be my experience is that even when people really want to keep their fingers in the pie there s only so much time And it can be hard for people to make that transition But during your day job do you have projects outside your day job that have your passion and have your focus Chris I do So I had mentioned one of the things I m very interested in right now is blockchain And it took me a while to understand just the momentum and what s actually changing Everyone knows Bitcoin and crypto and people who are getting rich and buying Lamborghinis and stuff But there s something else there And it took me a while to realize that Ethereum and the Ethereum blockchain is built to have smart contracts put on top of it And those smart contracts are code So you re actually writing code that lives forever on the blockchain And then on top of that then you can start to build applications So all of a sudden you re building these decentralized applications that just run And they can run forever on this blockchain And it s pretty amazing when you think about it Like if I were to write a and a lot of people write exchanges You give me some crypto and I ll give you a different one back If you write that in a centralized fashion we would spin up a Rails app and we just would write that stuff to the database and my balance would be in that database But that is me owning that So everybody in the world has to trust that I m not getting into the database and changing things But if I wrote that same app and deployed it to Ethereum in a decentralized fashion now every transaction that makes a change of the data in my application is visible in the ledger And anyone can go in and just see the transactions over time And I don t have to maintain it It s immutable code once you deploy it to the blockchain So that was really interesting to me And to see the world that was being built beyond the crypto thing just the crypto Bitcoin stuff but this worldwide computer of Ethereum and being able to deploy code to it and transact with it is really interesting to me So what I m saying is that s kind of my hobby now I find something interesting and I just dig in and learn about the technology Then obviously that feeds back into my role of like hey I know about this emerging technology And maybe or maybe not it s useful at my company That s where there s a lot of thought being put into and maybe it s going to transition the industry Kirk So I m going to step you back just a second because my hunch is that there are probably people listening to this right now who ve heard the term blockchain But a lot of what you said they hear the words and the words make sense But the concept doesn t quite come together because that definition of what is a blockchain I think can be hard for people to easily grasp And I was wondering if you could distill it down into a bite sized piece the TLDR of blockchain Chris Well I m definitely not the expert And there are people that have a lot more experience that could explain it to you But I could connect it to as a software engineer I think that s where I can maybe connect that So if you have a data store this is a data store of let s say balances of an account or something And to make a change to that data store you have to do a transaction And so today in the storage is You make a transaction and subtract from it Tomorrow you do a transaction to add to it Then all of a sudden you have a history of all the changes that happened to that record in the data store And you can think about it like now I have a record of how that value got there That list of transactions that made the changes to it is public It s a public ledger And it was agreed upon by hundreds of people around the world running these they call them miners the nodes So you say I d like to make a transactional change to this field Then hundreds of people agree that yes we can make that change and now it s all agreed upon And so no one s going to change it that s it It s in the record forever So if you start to think about it it s really a big huge data store On top of that what if you can also write code and deploy it and it can make those changes for you Now you have applications running in this worldwide computer Kirk So would it be fair to say that just as a concept blockchain is essentially a public immutable database in the sense that once data goes in you can change the data but there is an immutable transaction log of every change and it s all public Chris That s exactly what it is Kirk Okay See I think that that s the part that is difficult for some people to grasp when they hear blockchain and they hear blockchain being discussed And there are various descriptions of running code and transactions and stuff like that That very simple definition I know gets lost on a lot of people because there s so much vocabulary flying around that is hard to associate back to your everyday experience outside of that It s a really interesting field I think it has a lot of implications that we haven t even really figured out yet Chris I agree I think it s just emerging like the possibilities I had mentioned exchanges You can define an organization that s an immutable code on the blockchain that just runs You can do loans on the blockchain instead of having a bank If you wanted to loan me money you would deposit money in a bank and that bank would loan me that money I would pay them They would give you and that bank keeps And it is dependent on trusting that that bank is maintaining it and they re just keeping values in some database they have And imagine you could just remove the bank The code is not hard You deposit this money it gives me that money I owe back that money and it pays you such and such amount of interest You could code that up and that could just run in a decentralized way There s no one person or no one database that is maintaining that And when I hear that I get so excited just thinking about what s emerging and what s growing and what can happen When people start to realize they call it a smart chain but it s really that you can write code and deploy it and have these applications that are running in a decentralized fashion Kirk And so then how does and this gets into a topic area that I think there s also a lot of partial knowledge or lack of knowledge about and also maybe a lot of controversy about it But how do NFTs layer on top of this And are NFTs something that are just GIFs of cats or Chris Yes yes they are laughter So I mentioned that you can deploy code that runs in the blockchain Imagine you wrote a piece of code that was just an array of pictures of cats different pictures of cats And that array just had an association to like here s the address of who owns each one Then you deploy that code up to Ethereum And then you can ask that contract assign cat number two to my address and now I own it Then when I make a deal I sell that to you for assign cat two to your address But the beauty is that the decision making and the assignment is all happening as a smart contract that s living in the blockchain Kirk Okay Yep So that makes sense So then what and this is the part that I think if you just go hop on Twitter and you go find any thread talking about this you ll see lots of opinions back and forth But the gist of it is that okay so I buy that GIF of that cat What does that really mean if somebody else can also just copy that image Chris Yes Well the example I always hear is that there s one Mona Lisa And you can take a picture when you go visit The Louvre but you don t own the Mona Lisa But somebody does own the Mona Lisa So there s a difference between you just having a copy of it and you owning it But I think realistically if you ve collected anything if you ve collected comics or you ve collected Star Wars statues I have too many action figures downstairs laughs they have a value There s a small subset of those And they become collectible because people want them There s a demand for them and only a handful of people can have them So for you to get my Star Wars figure I m going to charge you money for it So it has a perceived value And you can look online on proxy figures or trading cards And there are websites to tell you here s the current value for trading these things and so we can trade them So that s practically a currency And so I think that s where NFT instead of those it s pictures of cats But what s even better if I have a basement full of action figures now I have to maintain these things dust them And if I want to sell one I had to sell it on eBay and pack it and ship it to you whereas these pictures on the blockchain it s just a computer transaction It s a transaction So I can sell you the picture of that cat on my phone basically I don t need to pack and ship things And then if you hold on to it and more people want the cats you can sell it to somebody else Kirk Okay All right that makes sense I think it s hard sometimes to find on the internet a nice clear concise description of these concepts All you have to do is go look on Twitter And while there are definitely very clear expressions of how it works there are also a lot of confused expressions And so I appreciate that simple distillation of the concepts That s really appreciated And I think a lot of people will understand that But is there anything else that you really would like to talk about or like to share with people Anything that you re working on anything that you want to communicate out the floor is yours Chris It s a practice As I ve gotten better in this architecture role one of the clear attributes you have to have or clear traits you have to have is trust And I think this is something that people have a hard time transitioning Engineers have their code Any change you want to make to it I m going to PR that code And it s got to be exactly indented the way I like it laughs But as you re going to tackle bigger problems you have to step away and say I trust that the next person is going to do a good job with that code And I can t spend my days watching your semicolon usage I have to just trust you re going to make the best decision And as you move up you have to be able to trust people on it and even more and more trust And then I think a lot of people fall into the trap of like I ll trust them but I m going to review it I ll trust but verify And that s not going to work I don t think that works My experience is you hire the best people And you ask them to do the job and they re smart and they re going to do a good job And you trust that they re going to do a good job And then that really frees you up to focus on other problems And as you start to trust more and more people it just really helps free you up to solve these bigger problems Because if I m solving a problem moving systems around I can t be concerned about are they going to make the right decisions on every little thing I have to just trust that they re going to make the best decisions And so to anybody who s thinking about an architecture role that s something you have to start early in your career because engineers don t necessarily trust We write lots of tools chuckles to do things because we don t trust the next person But you have to start And I think that s a really important trait You have to start practicing in order to grow and to be able to take on bigger challenges Kirk That s really fantastic feedback because it is absolutely true Every engineer has usually pretty strongly held opinions on it should be done this way It should be done that way Do we use tabs Do we use spaces At some point those sorts of things just like you say become less important to what you need to do Because it doesn t matter at the end of the day whether the next person down makes the same low level decisions that you did They re going to make decisions that work and that frees you up to do the other things that you need to do to empower them to continue to make those decisions that work Yeah that s great advice I like that Chris Yeah So trust first and just trust in your practice that you re hiring the best people and they re smart and they re going to do a good job Kirk Yep Well I think that that s a great place to wrap this up and end this Do you want to let everybody know where they can find you online Or if they want to reach out or if they want to learn more about you where they can look where they can find you Chris Sure I mostly interact with Twitter So it s cmar on Twitter And please DM me or tweet at me And if you want to talk crypto that s my current outside work hobby I d love to talk about it Kirk All right Fantastic Well thanks again for joining me on here And for everybody that s listening thanks for joining us on Polyglot As I mentioned at the beginning you can find me wyhaines on Twitter and elsewhere And you can find the show PolygotShow also on Twitter So this is Kirk Haines for The Relicans and thanks so much Find us online at therelicans com And we ll catch you next week Jonan Thank you so much for joining us We really appreciate it You can find the show notes for this episode along with all of the rest of The Relicans podcasts on therelicans com In fact most anything The Relicans get up to online will be on that site We ll see you next week Take care |
2021-11-03 13:31:03 |
海外TECH |
DEV Community |
Cats and Clouds – There Are No Pillars in Observability with Yoshi Yamaguchi |
https://dev.to/newrelic/cats-and-clouds-there-are-no-pillars-in-observability-with-yoshi-yamaguchi-2epo
|
Cats and Clouds There Are No Pillars in Observability with Yoshi YamaguchiJonan Scheffler talks to Developer Advocate at Google Cloud Yoshi Yamaguchi about the way OpenTelemetry has brought together metrics and traces profiling data logging and the importance of always enjoying the technology that you work on Should you find a burning need to share your thoughts or rants about the show please spray them at devrel newrelic com While you re going to all the trouble of shipping us some bytes please consider taking a moment to let us know what you d like to hear on the show in the future Despite the all caps flaming you will receive in response please know that we are sincerely interested in your feedback we aim to appease Follow us on the Twitters ObservyMcObserv Cats and Clouds There Are No Pillars in Observability with Yoshi Yamaguchi Observy McObservface Your browser does not support the audio element x initializing × Jonan Scheffler Hello and welcome back to Observy McObservface proudly brought to you by New Relic s Developer Relations team The Relicans Observy is about observability in something a bit more than the traditional sense It s often about technology and tools that we use to gain visibility into our systems But it is also about people because fundamentally software is about people You can think of Observy as something of an observability variety show where we will apply systems thinking and think critically about challenges across our entire industry and we very much look forward to having you join us You can find the show notes for this episode along with all of The Relicans podcasts on developer newrelic com podcasts We re so pleased to have you here this week Enjoy the show Hello and welcome back to Observy McObservface I m Jonan And I m joined today by my friend Yoshi How are you Yoshi Yoshi Yamaguci Hi how are you Jonan I m pretty much excited to talk about observability stuff with you Jonan I m pretty excited to hear about observability stuff You have a lot to say about this given your role Well speaking of what is it that you do Yoshi Yoshi I m a Developer Advocate for Google Cloud especially focusing on observability and SRE practices in the developer relation team there I think that s the reason why I was invited to your show Jonan I think so Yoshi Maybe otherwise because I m a Japanese developer so laughs you d like to talk about some Japanese stuff Jonan laughs I like to talk to Japanese developers very much Yoshi laughs Jonan I am excited about all of those things I ve heard of Google They re quite large And I ve been playing with GCP for a long time I got into using Google Cloud stuff because I was playing with a device the Google Home device I was trying to put together Google action to touch things up I had one that would tell me at any moment how popular cats were on the internet by checking Twitter I could ask it for the cat popularity score and it would tell me back out of the last tweets how many times people talked about cats It was pretty important software Yoshi laughs Interesting I was in the Google Assistant Developer Relation team before joining the Google Cloud Developer Relation team So I m glad that you enjoyed Google Assistant before Jonan Oh cool So you worked on Google Assistant for how long How long have you been at Google Yoshi So I ve been in Google for ten years plus Jonan Wow Yoshi So this year is the eleventh year So I ve been in the Google Cloud Developer Relation team for almost three years And before that I was in the Partner Developer Relations team which is kind of difficult to explain So that handles all the client side technologies such as Android Chrome Chromecast and Google Assistant and blah blah blah And then we were focusing on creating the new use cases of using the latest technologies or latest features released by Google So before the public release we worked closely with the big companies or startups that are willing to use the EAP technology Early Access Program technologies before the public release And then we launch that feature or that technology in public Then we showcase those big integrations with those companies And then we worked on it Jonan So you would work with like if you were working on Google Assistant there then you would work with Jonan s Cat Company Jonan Cat Corporate to build this important integration and then we would launch Yoshi Yes Jonan I see Okay So in that sense Partner Developer Relations is the name of the team Yoshi Yes Jonan Okay And now you re not doing so much work with Partners like the Early Access Program stuff What sort of stuff do you do now Yoshi For example I give a talk about our technologies or latest technologies heavily relevant to Google or cloud in general at developers conference Or I give a talk about specific technologies relevant to Google Cloud to our customers in private sessions And also we do workshops as well as talks And internally we try out the new features or new products before the release and then give the friction log to the product team And then also I collect the feedback from the customers who use the EAP program and I aggregate all of them and then share the feedback on improvement points to the product team And also I give comments to the design documentation before the actual implementation of the specific features or product Jonan Wow Yoshi So we behave like the DevRel s user of the specific product and then to make the developers experience with that product better So that s my day to day work And also I oftentimes work closely with the open source people for example OpenTelemetry or other things Jonan Let s talk about that So you ve been working with OpenTelemetry for a while well since OpenTelemetry existed Because before that you were working with OpenCensus the Google half that became so it was OpenCensus and Open…Yoshi OpenTracing Jonan OpenTracing The two projects combined to become OpenTelemetry and that was about what two years ago three years ago Yoshi Two years ago Jonan Two years ago okay And so what sort of stuff have you been talking about with OpenTelemetry lately Yoshi So actually I was not the core member of OpenCensus or OpenTelemetry But as a DevRel I introduced OpenCensus for external developers because it reduces the effort to instrument the application and also it gives wider options for the purpose which backends to use So I did a lot of talks externally And then for that I had to communicate with the internal OpenCensus team such as Bogdan who is now in the OpenTelemetry core team and also Jaana who now is working for the AWS observability production team I think So I started my relationship with OpenCensus at that time And also Morgan McLean now is the PM of Splunk He was the main person who worked for OpenCensus and then he tried to make OpenCensus and OpenTelemetry the first choice for the instrumentation for Google Cloud Trace and Cloud Monitoring So that s the reason why I had to work with those libraries or the project So Morgan McLean was really keen on communicating with the OpenTracing team because the objectives of instrumentation for trace were the same in the OpenTracing project and OpenCensus project And he was really good at communicating with other people So we did a really good competition with the OpenTracing team And then we decided to merge into one so that s the origin of OpenTelemetry And also OpenCensus had instrumentations for the metrics part And it is a really good benefit for the OpenTracing team because they only focus on distributed tracing So our OpenCensus metric part gave them a good benefit to have wider instrumentation tracing and metrics So we merged And now the tracing part of OpenTelemetry was released as GA stable So it s good Jonan How long ago was that they released that Yoshi You mean OpenTelemetry tracing part GA Jonan Yeah the tracing spec Yoshi So the stable spec was released six months ago The stable spec was released in March this year And then recently the Go language stable library was released In terms of that Java is leading the implementation So Java s stable release was maybe June I guess So Java and Python already have the stable release And now the Go is counted as the stable one as well Jonan Java is cheating though They ve been around a long time Java always has an advantage in these things They have so many hooks in the JVM already You mentioned when I spoke to you earlier about the profiling stuff that you ve been working on with pprof It s just continuous profiling generally The GCP does this but is there a feature name for it Yoshi So as you mentioned pprof is just for one short collection of profiling It s so confusing So pprof is included in Go s standard library Go users can utilize pprof as an out of the box experience but it is actually the extension of pprof So pprof itself is just a visualizer So you need to have the profile data in advance of using pprof And then Go s standard tools include the profile collection tools as well So that s the reason why Go s pprof is considered as a profile collection and a visualizing tool But the original pprof itself is just a visualizer So that s the context And what we do in Google Cloud is that we still use the pprof But it s a kind of forked version of the pprof because the visualization part is totally different So we give that tool as the Cloud Profiler So that is the product name And then the difference between the pprof and a Cloud Profiler is that Cloud Profiler provides the agent library for each famous programming language such as Java Python Node js and Go And then what you need to do is to just write to lines of code in a new application That launches the profile agent in your application as a subsidiary thread of the main thread And then that thread periodically collects the profile data of the application and then sends that data back to Google Cloud and the Cloud Profiler Jonan But it s not a separate process It has to run in the main process Yoshi Yes In the case of Java you can attach the external agent JAR file is the main application and then do the same thing Jonan Which is why Java is cheating because you could just attach to the running process It s like strace is tracing the thing Okay so we have a lot of things we talked about here We talked a little bit about the way OpenTelemetry brought together the metrics and the traces And then we ve talked a little bit about profiling data But we left an important piece out of this conversation which I m hearing more and more about in OpenTelemetry recently which is logs I think it has become unpopular to talk about observability being composed of MELT or the pillars of observability There are no pillars observability is just all of it together But logs are certainly important here And it s a place where we could use a lot of standardization I think a lot of people don t even treat their logs as data right now They don t really use all that structured logging Do you know anything about this the progress of the logging piece Yoshi So log has a long history So I do not know the whole of them But at least the parts that relate toOpenTelemetry logs I know some because OpenTelemetry is now focusing on OpenTelemetry Collector which collects the telemetries such as trace and metrics and aggregate them in one binary one demo and then sends it back to each backends like for traces and for metrics But the OpenTelemetry teams thought like so we now run the Daemon for traces and metrics And then still the log agent is working in the same instance But it would be great if the OpenTelemetry Collector can get the log information as well then everyone can unify the whole agent that leads to the telemetry collection So that s the start of the log part in the OpenTelemetry project And then they contacted some famous log collection projects such as the Fluent Bit and also others like Stanza as well as Syslog I guess And I didn t read the whole thread of the conversation around log collection But now they set the Stanza as the first implementation of OpenTelemetry logs And in Stanza the observIQ with Stanza is merged under the OpenTelemetry log repository so that s the status And then they try to standardize the format of logs based on the Stanza format such as what kind of information should be included in log Jonan Yeah this part has always been kind of confusing to me because I think of logs as being very rich data I can report all kinds of things in my logs I could report the number of cat tweets found in the last hour for example But it s not like we re going to have a bucket for that There s not going to be a key that is part of the standard that is like cat count They re pretty free form by their very nature You think that that s a thing that is achievable Certainly But is it valuable You think people are going to end up going off the rails anyway or is that all just built into it Much like we have labels where you just have a bucket of key value whatever you want in there Yoshi I think the number with cat tweets could be the label because that totally depends upon the application So log is basically the record of the events in the application So there should be some mandatory fields such as timestamp for example because it is the most important information of the event and also the severity levels So the importance of which is the label of the importance of the event itself This is kind of easy information to have easy information to come up with But they d like to standardize which kind of information should be included as the mandatory field So for example in the era of microservices maybe some instance know the related information should be important especially in the case of Kubernetes maybe then the pod information Node information namespace information That information should be included in a log So what they are trying to do is to standardize the attribute of logs in general and try to set out what information is mandatory and what is not I m just observing how it goes but it s a very interesting conversation Jonan It s very interesting I think Kubernetes is a good example of this because it s a standardization We re trying to come to these standards not because we want to force people to behave in any certain way but because we re making everyone s lives easier In the near term I think it s hard to say that Kubernetes has made anyone s life easier It s new and so there are a lot of things that change very rapidly And there s a lot to learn and the resources to learn those things are not there For context I ve spent the last week fighting with Kubernetes in a robot that I built where I have Kubernetes running on a bunch of little Raspberry Pi things But when you start to understand the pieces of it it s incredibly powerful and I really quite like it I am shocked by what I m able to get away with in terms of effort of deploying a large resilient fleet of web applications onto a bunch of Raspberry Pis and blowing them away with ephemeral file systems It s fantastic from that perspective I have my own little cloud running on my desk but it s very hard to get up to speed quickly I feel like the OpenTelemetry ecosystem is still in its very early days and a lot of that still applies How do you think people are going to get up to speed quickly on those Kubernetes has things like KubeCon running And a lot of companies are running Kubernetes now so they re all very motivated But what do you think is going to motivate people to start using these sorts of things in the OpenTelemetry project How is it going to be driven to the people Yoshi That s an interesting question I think OpenTelemetry has good features or good nature from its beginning because the motivation of starting out the OpenTelemetry project comes from the challenges that many instrumentation libraries or instrumentation methods had So the reason why OpenTelemetry started is because a number of APM vendors or monitoring SaaS vendors provided their own instrumentation away And the developers struggled with applying those instrumentations into their system one by one so that was hard So from the developer s point of view having one single way to instrument application I think it s good stuff In the case that they would like to have the multiple output for example for standard out as well as the managed services then what they need to do is to just write single configuration in a configuration file and then that s it So I think that s a good benefit for developers And only that one gives enough motivation for developers still Jonan I agree with you Yoshi And also the good thing about the OpenTelemetry is that they start everything from having the spec the common spec among the many languages So the developers can understand how those libraries are implemented and how they can use those libraries in their application because the way to instrument is always the same among the many libraries many languages so that gives the easier understanding of the OpenTelemetry libraries itself So I think that s another good point of the OpenTelemetry project as well So I think that compared to new technologies such as Kubernetes or other CNCF projects OpenTelemetry has a long history before its beginning So now OpenTelemetry is a joint project among the many SaaS vendors and also observability related open source projects such as Prometheus Jaeger Zipkin And then in terms of the APM vendors including your company like New Relic Google AWS Splunk or Microsoft Datadog Dynatrace and Lightstep all of those companies are getting together to make the best solution to instrument the application And each of those companies have their own struggles and then they share those struggles and efforts with the community So all the spec includes those histories and now get into one So I think the OpenTelemetry project itself is new but the outcome is the summary of their long history So from the developer point of view though the OpenTelemetry seems relatively new the idea itself I think it s well considered And it looks like really common old tools such as Linux command line and so on So yeah I think it s easier for developers to start out OpenTelemetry once they read the documentation Jonan It s a more mature project than it might appear Yoshi Yeah maturity In terms of the idea itself it s mature Though the implementation of the library is still young and not matured enough to use it in production except for traces The idea itself is mature so it s easy to get along with Jonan Yeah I m a big fan I ve only really dipped my toe into learning about the OpenTelemetry project but it s an impressive collaboration I have a hard time thinking of a time when companies have come across all together with so much consensus around what this thing should be Even with things like the browser wars and stuff we ve never really had so many people on the same team And it gets this big enough snowball at some point that it becomes unstoppable where you have a choice to embrace OpenTelemetry or be left behind It s a very exciting project I have a couple of questions that I like to ask people on this show And the first one is what you think is coming in the near future I want you to make a prediction so that we can have this podcast again in a year and we can tell you that you were wrong So it has to be a risky one Yoshi laughs Jonan So you re pretty sure that it s going to be a bad one and then we can No But what do you think is coming for our industry or even just software generally over the next couple of years A year maybe is too short Five years is too long Do you have any predictions about where things are headed maybe in the OpenTelemetry space Do you think that pprof is going to be incorporated here and everyone s going to have continuous profiling as part of some common spec Yoshi So my focus is on observability and I m not really looking at other areas like security and so forth So I cannot make the assumption of those areas But in terms of observability I think in the next couple of years especially in the OpenTelemetry area I think more and more plugins are coming into the project For example recently Google announced that Sqlcommenter will be merged into OpenTelemetry So Sqlcommenter is the open source to put the SQL comment into the actual SQL actual SQL issued by ORM mappers in applications or query libraries of each programming language And then this is a good example This is just an extension of SQL But once it is integrated with OpenTelemetry they can attach the tracing information in the query information like SQL And then as an example Cloud SQL gives the tracing information into the Google Cloud Trace And so that gives the information around slow query on a Cloud Trace But now Sqlcommenter is merged into OpenTelemetry So other tracing libraries can collaborate with our RDBMS solutions So if the RDBMS backend can provide the tracing information of a specific query to the trace visualizer such as Jaeger and Zipkin then developers can get the SQL query really easily And I believe that in the next couple of years OpenTelemetry will be expanded in such a way So for example if the security team can give information log information around the latency of encryptions or like I don t know the number of suspicious attacks from the attackers I don t know…So every single observability related information can be an extension of the OpenTelemetry So I think in the coming couple of years OpenTelemetry can have more and more SIG team in the project And then they can be established expanded more and more in a variety of areas So that s my expected expectation of OpenTelemetry Jonan This SQL feature is very interesting to me So the Sqlcommenter that we re talking about is concretely a request ID And we could include a lot of other things but this query happened on this request It suddenly allows me to see every request from every query instead of what is often happening now where you re kind of bundling up the queries because that s a lot of information You run EXPLAIN PLANS on all of these queries And then you dump all of that into a payload that goes with your telemetry data rather than just being able to pull it out of the database because it s in the query comments on any given query That s the thing that s merged right now Sqlcommenter was just recently merged Yoshi So it s announced they will merge in the near future And so the Sqlcommenter is located under Google s Organization in GitHub But now OpenTelemetry is preparing for the place to the migration preferred migration And also the OpenTelemetry team is now asking for the maintenance and approvals of the Sqlcommenter after it is merged Jonan Cool Yoshi So it s pretty much new and ready to be merged Jonan It s an exciting project Yoshi Yeah Jonan Okay I have another question for you and then we re going to call it a show But this one s maybe a little bit more personal This is about what you might tell yourself starting out in your career I imagine that there are a lot of people out there listening who aspire to be in your shoes today You ve worked at Google for more than a decade You have a long and successful career What advice do you have for them getting started Or what advice do you wish you had for yourself What would you tell yourself just starting out Yoshi I do not think of myself as a successful engineer but I managed to survive until today Jonan laughs Yoshi And the reason why I could survive is because always I tried to enjoy the technology that I work on regardless of my will For example when I joined the Google Cloud team in the developer relations team the area I focused on the observability was not my choice I was assigned to work on the observability area because not many people were working on it on that day At the time I did not have much attention to observability itself But I felt like why don t I give it a shot And then I started out researching what observability is and also what kind of products are around that area and also what kind of companies and people are there And now I m pretty much enjoying observability itself And I am so excited to talk about it like now And also before joining the Google Cloud team I was always like that So I had worked on Google Assistant for a while And then before that I had never worked on voice command related devices or applications And then I started learning how to design the application based on the voice only voice That was a good experience for me because that gave me a lot of ideas around accessibility for example And then that kind of view gave me a good idea on considering what the information should be when we give specific information to other people So I think the key is to enjoy the area you work on and make everything fun by yourself Jonan And not necessarily only work on the things that you think are fun already because that s how you stretch yourself You find the new things that are fun Yoshi Yes Jonan That s very smart advice I ll take it I m going to go and learn how to do some Google Assistant programming now because I feel like the cat tweet analyzer needs to exist It s an important project The world needs more cat tweet analysis Yoshi Yeah I ll personally watch how it goes So yeah looking forward to more features to come Jonan Please follow the repo It s going to be a great one I really appreciate you coming on the show Yoshi Do you have any parting thoughts for our listeners or should we just call it a day Yoshi So if you come up with any ideas or any opinions then just feel free to reach out to me on Twitter I think Jonan will put a link to my account somewhere here Jonan I will absolutely We will have all of the links in the descriptions And it s nice of you to invite people to reach out if they have questions about any of the things you talked about They can reach out to you on Twitter is the best way Yoshi Yeah Twitter is the best way Jonan All right Well thank you very much Yoshi I hope you have a wonderful day Yoshi I m glad I had a good talk with you Thank you for the invitation I m looking forward to talking with you again Jonan Thank you so much for joining us We really appreciate it You can find the show notes for this episode along with all of the rest of The Relicans podcasts on therelicans com In fact most anything The Relicans get up to online will be on that site We ll see you next week Take care |
2021-11-03 13:21:48 |
海外TECH |
DEV Community |
Day 26 of 100 Days of Code & Scrum: A Life Full of Hardships |
https://dev.to/rammina/day-26-of-100-days-of-code-scrum-a-life-full-of-hardships-a83
|
Day of Days of Code amp Scrum A Life Full of HardshipsTRIGGER WARNING The content of this post can be emotionally disturbing I politely ask you to turn back if you don t want to suffer from negative emotional reactions Hello there Today was an extremely rough day I m even having trouble writing this down However I still managed to do what was required for the challenge Suicidal TendenciesMy wife has been suffering from severe anxiety depression and suicidal tendencies for how many years by now And I m no different either I have severe RSI on both hands I ve always fought an uphill battle in trying to become a developer Our lives are definitely ones full of hardships To summarize today was pretty bad in terms of emotional distress My wife and I were already going through so much the past month and we re not exactly in the best state mentally I m sorry you had to meet me It s something that should have probably not happened I wanted you to be happy but instead it s like this So many others could have been good for you I really wish life could have been different Earlier we ve had a really bad interaction which pushed both of us downwards Instead of providing emotional support and respecting her boundaries I just made her and myself feel a lot worse and she was seriously talking about suicide Is she fine I don t know and only tomorrow will tell All I can do is continue doing what I m supposed to and be there by her side at all times All Journeys have HardshipsI know this isn t really the place to be talking about this and I m not asking for help or advice either I just see myself writing down my story for these days of coding These are all the things I ve done and went through And no one s journey is going to be always happy I m sure most people go through multiple tough times in their careers whether be it personal or professional hardships Anyway let s move on to my daily report YesterdayI learned about Next js web crawling indexing and rendering strategies I wrote Agile user stories for my company website I read about team arrangements for multiple Scrum teams TodayHere are the things I learned and worked on today Next jsfinished the official Next js tutorial learned about performance and core web vitals Largest Contentful Paint measures the time it takes for the largest element to load in a page loading performance First Input Delay perception of an end user s experience while interacting with the page interactivity and responsiveness Cumulative Layout Shift measure of a site s overall layout stability learned about using Google Lighthouse to monitor the quality of a webpage Scrumwrote user stories and tasks for my company website finished reading Scrum and XP from the Trenches I read about scrum of scrumsdealing with distributed teams is a lot more difficult than in person because of communication issues lack of proximity different cultures and so on I wish everyone the best and that you overcome the difficulties you face Thank you for reading Resources Recommended ReadingsOfficial Next js tutorialScrum and XP from the Trenches The Scrum GuideMikhail Lapshin s Scrum Quizzes DISCLAIMERThis is not a guide it is just me sharing my experiences and learnings This post only expresses my thoughts and opinions based on my limited knowledge and is in no way a substitute for actual references If I ever make a mistake or if you disagree I would appreciate corrections in the comments |
2021-11-03 13:07:41 |
Apple |
AppleInsider - Frontpage News |
Netatmo debuts new HomeKit-compatible smart CO detector |
https://appleinsider.com/articles/21/11/03/netatmo-debuts-new-homekit-compatible-smart-co-detector?utm_medium=rss
|
Netatmo debuts new HomeKit compatible smart CO detectorSmart home accessory maker Netatmo has announced a new carbon monoxide alarm that s compatible with Apple s HomeKit platform Credit NetatmoThe Netatmo Smart Carbon Monoxide Alarm can monitor carbon monoxide levels in various rooms through a home and alert users when it detects the odorless glass As with normal carbon monoxide alarms it s equipped with an alarm but it will also notify users via smartphone That should give additional peace of mind if a user isn t at home Read more |
2021-11-03 13:53:28 |
Apple |
AppleInsider - Frontpage News |
Arm chip boss warns of Christmas disappointments from ongoing chip shortage |
https://appleinsider.com/articles/21/11/03/arm-chip-boss-warns-of-christmas-disappointments-from-ongoing-chip-shortage?utm_medium=rss
|
Arm chip boss warns of Christmas disappointments from ongoing chip shortageBacking up reports from across the technology industry Arm says that if buyers have not already ordered their devices they may not get them in time for Christmas As chip delivery delays increase and the global shortage worsens Arm CEO Simon Segars says the gap between supply and demand is the most extreme he has seen According to BBC News Segars told the Web Summit in Lisbon that this unprecedented crisis will not be completely fixed by Christmas either Read more |
2021-11-03 13:50:25 |
海外TECH |
Engadget |
Google News returns to Spain after a seven-year absence |
https://www.engadget.com/google-news-spain-european-copyright-directive-eu-publishers-135511123.html?src=rss
|
Google News returns to Spain after a seven year absenceGoogle News will once again be available in Spain in early after the country s government introduced a Royal Decree that changes its online copyright laws In short Google will be able to negotiate licensing fees with individual publishers rather than paying all of them That brings Spain s rules in line with a European Union framework In December Google shut down its News service in the country just before a law came into force that would have forced the company to pay publishers for using any of their content including headlines in the News tab Publishers weren t able to opt out Now they have the choice and Google can determine whether or not to pay them after the country implemented the European Copyright Directive Soon after Google closed News in Spain a group representing newspapers in the country urged the government to act and get Google to restore the service The Spanish Newspaper Publishers Association said that losing News would quot undoubtedly have a negative impact quot on the public and publishers Google says the return of News will provide readers in Spain find coverage on stories from a range of publications and help to fight misinformation It claims the move will be beneficial to publishers and journalists as well in terms of more visibility for their work and driving traffic to their websites In addition the company plans to bring Google News Showcase to Spain That s a product and program designed to curate high quality news from publishers in Google News and Discover and pays them for it Google has also paid some publishers to offer some of their paywalled stories in Showcase at no cost to readers |
2021-11-03 13:55:11 |
海外TECH |
Engadget |
The best smartwatches, fitness trackers and wearables to gift |
https://www.engadget.com/holiday-gifts-best-wearables-130050343.html?src=rss
|
The best smartwatches fitness trackers and wearables to giftWhat better way to show someone you love them than getting them a gadget that they can wear on their person all day Okay maybe there are plenty of better ways but a wearable can not only convey how much you care but it can also help the user take better care of themselves Our list of the best wearables includes not only obvious things like smartwatches and fitness trackers but also a touch sensitive backpack that will let the hiker on your list keep their hands free while trekking through the mountains Though the typical price here of about to might be steep for some it might be a good range for those looking for something that a few friends can all chip in on But we ve also included budget friendlier options if you prefer Apple Watch SE img alt Apple Watch SE for the Engadget Holiday Gift Guide src Will Lipman Photography for EngadgetA smartwatch is a great gift for anyone that s trying to stay on top of their busy schedules keep tabs on their health or remain connected without having to look at their phone every seconds The Apple Watch SE is a solid choice for any first timer ーit has all of the core features of the more premium Series but costs significantly less Your loved one will be able to use it to track their workouts and sleep while getting their iPhone alerts and messages on their wrist The watch will also detect if they ve fallen and alert the user s emergency contacts not to mention warn the wearer of any heart rate irregularities Of course no smartwatch is meant to replace a consultation with a doctor so think of it more as a way to get some data than as a tool for diagnosis If you believe your friend could benefit from a bigger screen longer battery life ECG readings and an always on display the Series is a better choice But you ll have to decide if those main differences are worth the premium Buy Apple Watch SE at Amazon Buy Apple Watch Series at Amazon Samsung Galaxy Watch img alt Samsung Watch for the Engadget Holiday Gift Guide src Will Lipman Photography for Engadget AppleThe Apple Watch is the best smartwatch around Unfortunately it won t work with Android phones Thankfully there are plenty of options for those over in Google land and the best of them is the Galaxy Watch It runs the new Wear OS co engineered by Samsung and Google marrying an intuitive side scrolling interface and great health tracking with a plentiful third party app library That means your friend can reply to your texts from their wrist get updates on their cab rides or takeout orders track their calorie intake or log workouts through their favorite apps Those who are into their physical and muscular composition will also appreciate the Watch s body fat scanning tool If the person you re shopping for prefers a more classic looking timepiece and doesn t mind a chunkier device they might enjoy the Galaxy Watch Classic It features a spinning bezel that lets the user whiz through widgets quickly and easily and the etchings on the frame lend a traditional look to the smartwatch Buy Galaxy Watch at Samsung Buy Galaxy Watch Classic at Samsung Fitbit Charge img alt Fitbit Charge for the Engadget Holiday Gift Guide src Will Lipman Photography for EngadgetThose looking for something with a lower profile will prefer a Fitbit band Despite its relatively small size the Fitbit Charge packs a ton of hardware including a heart rate monitor onboard GPS and an electrodermal activity EDA sensor Altogether it can help your loved one track their pulse fitness and even stress levels Fitbit also has one of the more insightful sleep logging tools around using cardio readings to determine if they ve entered deep REM or light sleep zones The company also made its touchscreen full color on the Charge which is a vast improvement over the last model s greyscale version This does diminish battery life but the Charge still manages to last up to seven days though that drops to two with the display set to Always On Buy Charge at Amazon Fossil Gen img alt Fossil Gen for the Engadget Holiday Gift Guide src Will Lipman Photography for EngadgetFor the Android smartwatch user who wants a little more fashion cred on their wrist the Fossil Gen is a worthy option These are the company s first to run the new Wear OS but with some custom watch faces and tweaks for health tracking They have bright crisp inch AMOLED screens and offer continuous heart rate monitoring as well as a blood oxygen sensor Battery life has always been a big shortcoming of smartwatches and Fossil is attempting to make up for that by offering fast charging on the Gen It promises you can get up to percent in minutes so your giftee doesn t have to spend too long waiting around for their watch to power back up And since this is a Fossil wearable there are plenty of attractive strap and case options that will suit your loved one s tastes Buy Gen smartwatch at Fossil Amazon Echo Frames img alt Amazon Echo Frames for the Engadget Holiday Gift Guide src Will Lipman Photography for EngadgetNot all wearables are watches there s been a recent surge in speaker glasses hybrid devices The Amazon Echo Frames are the most comfortable though Like the Bose Frames and Razer s Anzu they offer open ear style speakers built into the arms of the eyewear so that the wearer can hear what s playing on their computer or phone without blocking out the rest of the world Amazon s version also offers easy access to Alexa so the user can get hands free help with setting timers or turning on their smart lights The Echo Frames can be fitted with prescription lenses and come in an inoffensive style that should fit most faces there s only one size available Those who don t need glasses can also opt for blue light filtering lenses or shades instead If you know someone who wants to listen to music or their favorite YouTube livestream at work while still being able to hear when their boss calls them into the office the Echo Frames are a good option Buy Echo Frames at Amazon Withings Steel HR img alt Withings Steel HR for the Engadget Holiday Gift Guide src WithingsSome diehard watch aficionados don t like the idea of a black mirror staring up at them when smartwatch batteries die but still want a timepiece that can track basic health metrics For these folks the Withings Steel HR is an attractive well rounded product It has a traditional analog watch face with a tiny round black and white screen that shows step counts and small status indicators A sub dial displays progress towards the wearer s daily move goal and runners can link the watch to their phone s GPS to map their routes The device s onboard heart rate and blood oxygen sensors help the user gauge their cardio performance and swimmers or divers will appreciate the water resistance of up to meters Best of all since this doesn t have a large battery draining screen it can last up to days on a charge Buy Steel HR at Withings Garmin Forerunner img alt Garmin Forerunner for the Engadget Holiday Gift Guide src Will Lipman Photography for Engadget GarminThe hardcore runner or marathoner in your life will most likely have heard of Garmin The company is known for its GPS and heart rate monitors and athletes swear by their running watches The Forerunner is a great device for those looking for something that excels at sports tracking with long lasting battery It ll last up to two weeks while monitoring the user s respiration heart rate step count and more The wearer can also get basic notifications music playback controls and apps on the watch But it s Garmin s robust sports features that will win your giftee over These include comprehensive run coaching with cadence alerts pace suggestions estimated finish time and recovery guides The Forerunner also tracks stress and menstrual cycles and offers emergency contact tools when the wearer feels unsafe Buy Forerunner at Amazon Samsonite x Google Konnect i backpack img alt Samsonite Konnect i Slim Backpack for the Engadget Holiday Gift Guide src Will Lipman Photography for Engadget SamsoniteWho knew a backpack could be smart The Samsonite Konnect i bag features touch sensitive fibers woven into its strap to enable Google s Jacquard technology This lets the wearer tap and swipe on the surface to do things like answer phone calls play or pause music and more by connecting to their phone For those who need to pay attention to their commute instead of fumbling around with a phone when they re on the go the Konnect i backpack can keep their hands free and eyes alert If you have the money to spare and want to give your friend a serious style upgrade Google also teamed up with Saint Lauren on a branded version Buy Konnect i backpack at Samsonite |
2021-11-03 13:15:10 |
海外TECH |
Engadget |
Waymo will start testing self-driving cars in New York City |
https://www.engadget.com/waymo-self-driving-cars-new-york-city-130044539.html?src=rss
|
Waymo will start testing self driving cars in New York CityMuch of Waymo s self driving vehicle testing has largely focused on warm climates but it s about to give those machines a harsher trial Waymo will start driving its autonomous Chrysler Pacifica vans in New York City on November th This and a later wave of Jaguar I Pace EVs will rely on human drivers to map streets and learn from the environment but the goal is clearly to achieve full autonomy The test will focus on Manhattan below Central Park aka midtown and lower Manhattan including the financial district and a portion of New Jersey through the Lincoln Tunnel All tests will operate during daylight The dry run will help Waymo s Driver AI cope with New York City s notoriously heavy traffic of course but the company is particularly interested in weather testing Like many northern cities NYC has its fair share of ice and snow both of which remain huge challenges for driverless cars This test will give Waymo further opportunities to test its navigation in winter conditions not to mention the heavy rainfall more common in the region Waymo said it was quot encouraged quot by the responses from politicians regulators industry and non profits With that said it s easy to see the potential for a backlash NYC has been highly protective of its taxi business at times and is heavily dependent on ridesharing While fully driverless ride hailing services like Waymo One may not arrive for a long time in the city taxi and rideshare operators alike likely won t be thrilled at the prospect of being replaced by autonomous systems |
2021-11-03 13:00:44 |
海外科学 |
NYT > Science |
This Fish Loses 20 Teeth Each Day, Then Grows Them All Back |
https://www.nytimes.com/2021/11/03/science/fish-teeth-pacific-lingcod.html
|
inner |
2021-11-03 13:17:17 |
ニュース |
BBC News - Home |
Owen Paterson: Boris Johnson backs shake-up of MP standards rules |
https://www.bbc.co.uk/news/uk-politics-59143727?at_medium=RSS&at_campaign=KARANGA
|
conduct |
2021-11-03 13:36:13 |
ニュース |
BBC News - Home |
Philippa Day: Payout after mum died following benefit errors |
https://www.bbc.co.uk/news/uk-england-nottinghamshire-59147464?at_medium=RSS&at_campaign=KARANGA
|
benefit |
2021-11-03 13:15:20 |
ニュース |
BBC News - Home |
COP26: Did Boris Johnson and Sir David Attenborough break face mask rules? |
https://www.bbc.co.uk/news/newsbeat-59149998?at_medium=RSS&at_campaign=KARANGA
|
attenborough |
2021-11-03 13:09:44 |
ニュース |
BBC News - Home |
Emery rules himself out of contention for Newcastle job |
https://www.bbc.co.uk/sport/football/59152304?at_medium=RSS&at_campaign=KARANGA
|
villarreal |
2021-11-03 13:52:40 |
ニュース |
BBC News - Home |
New Zealand win to knock Scotland out of T20 World Cup |
https://www.bbc.co.uk/sport/cricket/59148461?at_medium=RSS&at_campaign=KARANGA
|
dubai |
2021-11-03 13:45:57 |
ニュース |
BBC News - Home |
Fan jailed over racist rant at Rashford, Sancho and Saka after Euro 2020 final |
https://www.bbc.co.uk/news/uk-england-london-59148078?at_medium=RSS&at_campaign=KARANGA
|
defeat |
2021-11-03 13:27:42 |
LifeHuck |
ライフハッカー[日本版] |
腰痛予防、骨盤ケアには安定のBackJoy「メディコアリリーフ」はドライバーにもおすすめ!【今日のライフハックツール】 |
https://www.lifehacker.jp/2021/11/244784lht-backjoy.html
|
backjoy |
2021-11-03 22:05:00 |
北海道 |
北海道新聞 |
近代五種の馬術除外の報道 英紙ガーディアン |
https://www.hokkaido-np.co.jp/article/607657/
|
競技種目 |
2021-11-03 22:11:00 |
北海道 |
北海道新聞 |
ロシアのコロナ死者最多更新 3州で連休延長決定 |
https://www.hokkaido-np.co.jp/article/607656/
|
新型コロナウイルス |
2021-11-03 22:11:00 |
北海道 |
北海道新聞 |
NY円、113円後半 |
https://www.hokkaido-np.co.jp/article/607655/
|
外国為替市場 |
2021-11-03 22:03:00 |
コメント
コメントを投稿