Docker |
dockerタグが付けられた新着投稿 - Qiita |
M1MacのDockerでyarn installがエラーになる件について |
https://qiita.com/snow_swallow/items/7ce97587dc873b3f1297
|
docker |
2023-06-05 06:24:09 |
海外TECH |
DEV Community |
The Two Pillars of Algorithm Performance: Time and Space Complexity |
https://dev.to/guaregua19/the-two-pillars-of-algorithm-performance-time-and-space-complexity-1118
|
The Two Pillars of Algorithm Performance Time and Space ComplexityHey Coders Have you ever looked at your code and wondered why it s taking ages to run or why it s eating up your memory like there s no tomorrow Well fret no more Let s dive deep into the world of Time and Space complexities and decode their mysteries Time Complexity The Need for SpeedSimply put time complexity is how long your code takes to run But as the cool kids of computer science say we express it using Big O notation because who doesn t like a little math in their life O Constant Time When your code is lightning fast and doesn t care about the size of the input it s got O complexity Like when you just get the first item from an array function getFirst arr return arr O n Linear Time This one s a straight shooter Your code takes time proportional to the input size A good old fashioned linear search is a perfect example function linearSearch arr target for let i i lt arr length i if arr i target return i return O n Quadratic Time Here s when things start to slow down a bit For every input you re running another loop like a clumsy bubble sort function bubbleSort arr let len arr length for let i i lt len i for let j j lt len i j if arr j gt arr j let temp arr j arr j arr j arr j temp return arr O log n Logarithmic Time Now this is where it gets fancy Your code becomes faster as the input size increases like with a binary search function binarySearch arr target let left let right arr length while left lt right const mid left Math floor right left if arr mid target return mid if arr mid lt target left mid else right mid return Space Complexity How Much Room Do You Need Space complexity is all about how much memory your code needs Because while time is money memory isn t free either If your code creates a new array of the same size the space complexity is O n Like doubling the elements of an array function doubleArray arr let newArray for let i i lt arr length i newArray push arr i return newArray If your code uses a fixed amount of space no matter the size of the input it has O space complexity Like summing up an array function sumArray arr let sum for let i i lt arr length i sum arr i return sum So there you have it folks Understanding time and space complexities is a game changer It helps us write more efficient code and who doesn t love that But remember balancing time and space efficiency is an art So keep experimenting keep coding and most importantly keep having fun Stay tuned for more exciting dives into the world of coding |
2023-06-04 21:18:48 |
海外TECH |
DEV Community |
6 Keys to Human-Centric Software Development |
https://dev.to/linearb/6-keys-to-human-centric-software-development-1e3h
|
Keys to Human Centric Software Development“Treating devs like human beings may sound like it should be an obvious idea Yet we see the opposite happening on a regular basis developers measured on lines of code managers who expect engineers to act like automatons and too many practices that sacrifice developer happiness and decay teams for short term delivery To discuss how to fix these negative practices that too often damage our industry I was joined by experts in making the transition from churn and burn software development to more successful human centric development Here are the major takeaways from my conversation with Kelly Vaughn Director of Engineering at Spot AI engineering leadership coach Lena Reinhard and VP of Engineering at Range Jean Hsu Humanize InterviewsSometimes we must remind each other that developers are knowledge workers not robots During our conversation Kelly shared her view on one of the roots of this problem the belief that engineers shouldn t be required to code as part of the interview process Her reason Such tests don t reflect actual working conditions After all when was the last time anyone stood over your shoulder at work and watched you code Instead she advocates for more problem oriented system design interviews that showcase how candidates think Jean aligned with this saying interviews should focus more on what it s like to work with a person instead of how technically strong they are However humanizing interviews starts before the interview itself it means thinking about what your job descriptions and interviews cater to Do they support people who have kids People who already have a second job Or do they hone in on “super passionate developers who often have more free time API for HumansBeyond interviews Jean thinks that treating your working developers as humans is one of the industry s biggest gaps People moving into leadership and management roles are not trained to communicate and figure out “Hey what s important to this other human She recalls one communication workshop where a person shared the takeaway “I feel like I just learned an API for humans Kelly Vaughn brings a unique perspective to this discussion that of a trained therapist She leverages this training to monitor behavior and patterns of speech to see when interventions are needed and to understand the needs of her developers It s interesting to compare this approach to other managers who don t get the same in depth training in communication and in improving their emotional intelligence So many times we promote developers to managers and actually set them up for failure As a leader it s crucial to view developers not just as resources but as complex humans so that you can help them understand what they really want and how to create mutual value as part of the team If we solely focus on the value to the business and not the developer experience in building that business value we sacrifice for short term productivity bursts and decrease retention rates causing major issues and costing the business money in the longterm One of my favorite examples of how to approach this dichotomy comes from Jean one of her engineers told her they were having challenges balancing full time work with other goals This engineer was talented and a valuable member of the team so Jean worked with them to transition them into a part time role that let them have more time back for personal projects and more closely fit what they were looking for This kind of relationship is challenging to develop but when done right can both deliver for the business s needs and recognize each human s unique challenges Can a Dev Manager Be Non Technical With this focus on communication and humanization vs technical skills the natural next question is whether or not developers need to be led by managers with technical skills From Lena s experience many great engineering managers are people who haven t been developers and likely never will It doesn t take someone from a technical background to enjoy working in tech and understand the motivations of their developers Yet we continue to see companies where leaders seem to think that the way to fill gaps is pattern matching their engineers They re making people leaders who have similar skills or behaviors to their subordinates or who excelled as an individual contributor without necessarily having leadership skills This contributes to engineers who struggle or burn out in poorly fitting roles Part of the joy of engineering leadership is seeing your engineers grow Part of letting them grow is to stop fixing for them and start coaching them to do the solving themselves And when you come from a non technical background that temptation is less which is part of why many great managers are not from a technical background Bringing Your Full Self to WorkOur panelists views one on ones not as a place to give performance advice but as a place for engineers to share their dreams personal endeavors and concerns Kelly Lena and Jean all felt that one on ones were a powerful tool for leaders to break through the dehumanizing barriers of software development as production line In fact because of Kelly s background as a trained therapist she views a successfull one on one as something close to the therapy though she cautions this approach doesn t fit everyone However just like a therapy session a good one on one should be individualized confidential difficult to cancel and devoid of surprises A leader also needs to bring their whole self to the meeting or the employee won t bring their whole self Lena resonated deeply with this It can be tricky for people to bring their whole selves due to culture and a leader should figure out what their employees boundaries are between personal and work life It s also important to recognizes that it s not just regional or company culture but also generational culture that affects those boundaries At Range Jean s team report their mood for the day as well as what they re working on during check ins She shared a story where she was explaining this process to another older engineering leader and that that person laughed in surprise that people would want to share something like mood in the workplace Jean feels strongly that the way a company talks is really representative of how they view their employees For example consider when companies call it “resource allocation instead of “how employees spend their time In a higher level position you need to watch the way you talk and how you re feeling about the people who work for you MetricsKelly had a great example of humanizing vs dehumanizing metrics time to close a ticket vs the impact of closing a ticket The latter is much more powerful and speaks more to the nuance of what s going on with a team Metrics shouldn t just track information but also give people something to look forward to People want to be doing their best work and as I ve written we can use metrics to improve productivity without sacrificing developer experience You can get a feel for how humanizing or dehumanizing a company is by what metrics they use when measuring their devs For example lines of code is a dehumanizing metric because it s meaningless to the actual value a developer can bring One key to humanizing metrics is making sure the metric is something that a developer is aware of and has direct influence over Kelly had a great example of humanizing vs dehumanizing metrics time to close a ticket vs the impact of closing a ticket The latter is much more powerful and speaks more to the nuance of what s going on with a team As we talk about ad naseum at LinearB metrics should focus more on team performance than individual performance Metrics shouldn t just track information but also give people something to look forward to People want to be doing their best work and as I ve written we can use metrics to improve productivity without sacrificing developer experience BurnoutAnother crucial challenge that stops people from doing their best work is burnout Jean shared about a time when her company shut down for a short break and people were hoping everyone would come back from the break refreshed But the break was amid the COVID pandemic and instead of returning refreshed she came back tired During a morning check in she shared how tired she still felt and how the short break didn t make up for months of pandemic stress One of her direct reports told her later how relieved they were that Jean shared because they felt the same way Acknowledging the elephants in the room is crucial as a leader everything can t always be rosy and your team wants to feel seen in the challenges you share Another important thing to understand about burnout is that it s not just something you need to accept Kelly pointed out that burnout is recognized as a mental health syndrome Knowing that leaders must be aware that cultural influences impact people s willingness to talk about mental health including regional and national cultural considerations Your team members may not want to talk about it so you have to look for signs before the burnout hits full force Address these signs as soon as you can and give the employee the time and the space they need to heal from it You ve also got to manage upwards around burnout When the pandemic hit many companies said “We care about you but didn t take action Instead of reducing capacity to and telling people they could be less productive during that time they tightened goals They worried more about their performance than their employees humanity As a leader within your organization you need to raise your voice in leadership discussions and challenge the organization s negative actions by showing that there is a better way to lead Humanizing Means PerformanceHumanizing developers is critical and isn t divorced from performance As Jean says it s not like you can say “Let s just get the team running then we can focus on caring about them Caring about your team allows them to perform with great results Watch my whole conversation with Jean Kelly and Lena on our YouTube A part Summer Workshop Series for Engineering ExecutivesEngineering executives register now for LinearB s part workshop series designed to improve your team s business outcomes Learn the three essential steps used by elite software engineering organizations to decrease cycle time by on average and deliver better results Benchmark Automate and Improve Don t miss this opportunity to take your team to the next level save your seat today |
2023-06-04 21:02:34 |
Apple |
AppleInsider - Frontpage News |
Compared: OnePlus Pad vs iPad 10th Generation |
https://appleinsider.com/inside/10.9-inch-ipad/vs/compared-oneplus-pad-vs-ipad-10th-generation?utm_medium=rss
|
Compared OnePlus Pad vs iPad th GenerationThe first tablet from smartphone producer OnePlus directly takes on the tenth gen iPad in what could be a compelling Android alternative to Apple s tablet OnePlus Pad left vs th gen iPad right OnePlus has gained a reputation for creating good quality Android smartphones such as the OnePlus Pro With its design and hardware knowledge the company has now turned to a slightly bigger device Read more |
2023-06-04 21:51:47 |
Apple |
AppleInsider - Frontpage News |
Apple Park faces WGA strike on first day of WWDC |
https://appleinsider.com/articles/23/06/04/apple-park-faces-wga-strike-on-first-day-of-wwdc?utm_medium=rss
|
Apple Park faces WGA strike on first day of WWDCThe Writer s Guild of America will be making its presence felt by Apple with it continuing its strike action at Apple Park on Monday the same day as Apple s WWDC keynote Apple ParkMonday is a big day for Apple with it presenting to developers around the world its next wave of operating systems and technological advancements However not all who are paying a visit to Apple are doing so with pleasant intentions Read more |
2023-06-04 21:28:08 |
海外TECH |
CodeProject Latest Articles |
Wexflow - Open Source .NET Workflow Engine |
https://www.codeproject.com/Articles/5346143/Wexflow-Open-Source-NET-Workflow-Engine
|
automation |
2023-06-04 21:41:00 |
ニュース |
BBC News - Home |
New business body launched as CBI faces crunch vote |
https://www.bbc.co.uk/news/business-65804767?at_medium=RSS&at_campaign=KARANGA
|
business |
2023-06-04 21:32:35 |
ニュース |
BBC News - Home |
Man charged over Epsom Derby track protest |
https://www.bbc.co.uk/news/uk-65804941?at_medium=RSS&at_campaign=KARANGA
|
horse |
2023-06-04 21:42:10 |
ニュース |
BBC News - Home |
Zlatan Ibrahimovic retires: Swedish great ends football career at 41 |
https://www.bbc.co.uk/sport/football/65806224?at_medium=RSS&at_campaign=KARANGA
|
final |
2023-06-04 21:51:33 |
ビジネス |
東洋経済オンライン |
国際・地域秩序の構築におけるASEANの重要性 インド太平洋地域の安定に日本ができること | 地経学の時代-地政学と経済の融合 | 東洋経済オンライン |
https://toyokeizai.net/articles/-/676460?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
asean |
2023-06-05 07:00:00 |
コメント
コメントを投稿