|
Custom default values for not existing dictionary items (and a lesson learned)
-
nicolaiarocci.com
-
5 years ago
-
eng
When dealing with dictionaries, a typical problem is when an operation attempts to retrieve an element using a key that does not exist in the dictionary. In .NET, a KeyNotFoundException is raised, and that’s the desired behaviour in most circumstances. Sometimes, however, you know that your program will frequently try to retrieve keys that do not exist. In such cases, it is more efficient to use the TryGetValue method: This method retur..
|
|
Custom default values for not existing dictionary items (and a lesson learned)
-
nicolaiarocci.com
-
5 years ago
-
eng
When dealing with dictionaries, a typical problem is when an operation attempts to retrieve an element using a key that does not exist in the dictionary. In .NET, a KeyNotFoundException is raised, and that’s the desired behaviour in most circumstances. Sometimes, however, you know that your program will frequently try to retrieve keys that do not exist. In such cases, it is more efficient to use the TryGetValue method: This method retur..
|
|
Understanding the software supply chain security requirements in the cybersecurity Executive Order
-
snyk.io
-
5 years ago
-
eng
Learn more about the software supply chain security requirements in President Biden’s Executive Order on Improving the Nation’s Cybersecurity and how Snyk can satisfy them.
|
|
Located 350 km (217 miles) southeast of Puerto Rico, the British island of Montserrat is sometimes called ‘The Emerald Isle of the Caribbean’ for its verdancy and early Irish settlers. However, far from a paradise, Montserrat also boasts an unfortunate history, and not just because of the British slave trade that brutally ensnared many ancestors of the present population. The island has been a magnet for natural disasters. An earthquake in ....
|
|
This blog post continues from my Hello World tutorial and adds a master layout that you can use to add a consistent HTML structure to all pages. This is very similar, in a Rails context, to application.html.erb. Step 1: Create a layouts Directory In your application directory, start my creating the directory: mkdir resources/views/layouts Step 2: Create a master.blade.php Layout In your application directory, create the layout fil....
|
|
This blog post continues from my Hello World tutorial and adds a master layout that you can use to add a consistent HTML structure to all pages. This is very similar, in a Rails context, to application.html.erb. Step 1: Create a layouts Directory In your application directory, start my creating the directory: mkdir resources/views/layouts Step 2: Create a master.blade.php Layout In your application directory, create the layout fil....
|
|
If you're like me, you: have to look up Dockerfile quirks each time you write one, never know whether a container you exec into will have bash, sh, or whatever other shell, and are never sure which container init is currently the best practice. I definitely still don't know what the hell Moby is. Overall, packaging applications into Docker container images isn't very ergonomic, and the "repeatable" part isn't all that reliable (have y....
|
|
Recently I haven’t been as productive as I’d like. Sure, the pandemic took its toll. The summer is coming and if there is a time to consume what life has to offer, instead of producing what you have to offer, this is it. Productivity should never be the goal in itself. Nevertheless, I could be better at focusing on what’s important. Significant amount of time gets wasted. It’s rarely caused by an unexpected, huge time sinks. It’s usually ..
|
|
Engaging the whole team through a Team Charter remote session
-
www.thoughtworks.com
-
5 years ago
-
eng
Remote work has been an increasingly present companion for all of us in software development. It was in the spotlight especially in 2020, when the pandemic kept us all locked in our homes. In this remote work "Big Bang", we realized that the challenges of teamwork are intensified due to variables that go beyond the project itself. The team is made of people, and people have different routines, habits, and in most cases, different time zones..
|
|
The aesthetics of modern Chinese digital products can look very different to primarily English-based apps and websites. If you explore some of China’s most popular websites and apps, such as 163.com (news), Jing Dong (e-commerce), Taobao (e-commerce) and Didi (ride-sharing), you will find that they have high information and feature density and highly saturated colors. Why is this? This article explores some possible hypotheses about why th..
|
|
Application Modernization: How targeted change can kickstart transformation
-
www.thoughtworks.com
-
5 years ago
-
eng
For your organization to quickly adapt to change and make the most of fresh, cost-effective cloud-based capabilities, modernization is the key to success.
|
People go into technology because they love building new things, solving business problems, and making businesses operate better. The last thing on earth most technologists want to say is “no”. When your technology team starts telling you no it may be that they are feeling overwhelmed. There are many unintuitive signs that indicate a technology team might be overwhelmed or underfunded, such as buying premium support contracts, or using exp..
|
|
The following is a README I give to all of my new managers. Think of it like a step-by-step guide to the broader 90-day plan you would offer your manager when you start in a new role.
|
|
The following is a README I give to all of my new managers. Think of it like a step-by-step guide to the broader 90-day plan you would offer your manager when you start in a new role.
|
|
We’re pleased to announce our new Snyk extension for Visual Studio, making it easier for developers to stay both secure and compliant as they code within their favorite IDE.
|
|
My new favourite thing in JS is Nullish coalescing: The nullish coalescing operator (??) is a logical operator that returns its right-hand side operand when its left-hand side operand is null or undefined, and otherwise returns its left-hand side operand. — Nullish Coalescing Operator return this . thing1 ?? this . thing2 ?? ' default ' Also works well with the Optional Chaining Operator , which is also great..
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. A Project of One’s Own TLDR: The article, titled “Own”, is written by Paul Graham and was published in June 2021. It discusses the concept of working on a project of one’s own and how it differs from ordinary work. Here are the key points: Working on a project of one’s own is compared to skating, which is more fun and produc....
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. A Project of One’s Own TLDR: The article, titled “Own”, is written by Paul Graham and was published in June 2021. It discusses the concept of working on a project of one’s own and how it differs from ordinary work. Here are the key points: Working on a project of one’s own is compared to skating, which is more fun and produc....
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. A Project of One’s Own TLDR: The article, titled “Own”, is written by Paul Graham and was published in June 2021. It discusses the concept of working on a project of one’s own and how it differs from ordinary work. Here are the key points: Working on a project of one’s own is compared to skating, which is more fun and produc....
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. A Project of One’s Own TLDR: The article, titled “Own”, is written by Paul Graham and was published in June 2021. It discusses the concept of working on a project of one’s own and how it differs from ordinary work. Here are the key points: Working on a project of one’s own is compared to skating, which is more fun and produc....
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. A Project of One’s Own TLDR: The article, titled “Own”, is written by Paul Graham and was published in June 2021. It discusses the concept of working on a project of one’s own and how it differs from ordinary work. Here are the key points: Working on a project of one’s own is compared to skating, which is more fun and produc....
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. A Project of One’s Own TLDR: The article, titled “Own”, is written by Paul Graham and was published in June 2021. It discusses the concept of working on a project of one’s own and how it differs from ordinary work. Here are the key points: Working on a project of one’s own is compared to skating, which is more fun and produc....
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. A Project of One’s Own TLDR: The article, titled “Own”, is written by Paul Graham and was published in June 2021. It discusses the concept of working on a project of one’s own and how it differs from ordinary work. Here are the key points: Working on a project of one’s own is compared to skating, which is more fun and produc....
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. A Project of One’s Own TLDR: The article, titled “Own”, is written by Paul Graham and was published in June 2021. It discusses the concept of working on a project of one’s own and how it differs from ordinary work. Here are the key points: Working on a project of one’s own is compared to skating, which is more fun and produc....
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. A Project of One’s Own TLDR: The article, titled “Own”, is written by Paul Graham and was published in June 2021. It discusses the concept of working on a project of one’s own and how it differs from ordinary work. Here are the key points: Working on a project of one’s own is compared to skating, which is more fun and produc....
|
|
Proper (Java) application life cycle management in Kubernetes
-
tech.trivago.com
-
5 years ago
-
eng
|
|
Repository: @knadh/listmonk GitHub release page: v1.1.0 This is an unplanned interim release that fixes a critical bug in subscriber deletion: https://github.com/knadh/listmonk/issues/384 Changelog b361292 Display app version the settings UI a3b285f Fix Buefy number input width
|
|
Proper (Java) application life cycle management in Kubernetes
-
tech.trivago.com
-
5 years ago
-
eng
|
|
As new core functionality within banking apps shifts to third-party integrations, what does this mean for banking customer loyalty when customers will prefer to engage a bank via an alternative platform that is more in-touch with their day-to-day living?
|
|
In this series (see Part 1 if you missed it) we explore how customers’ use of their banking apps will decrease and their desires to have transactional information injected into richer platforms more integrated into their daily activities. In this second and last part, we explore how the proliferation of aggregated, open banking fuelled experiences will allow customers to open accounts and meet more needs without ever engaging a bank’s sales..
|
|
This is the second part of two part series blog, discussing how you can achieve continuous delivery for machine learning (CD4ML) using Jenkins and DVC pipelines. In part One, we explained what is CD4ML, why you should care, and how Jenkins pipelines can be used to implement it
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. Ask HN: Favorite Blogs by Individuals? TLDR: The discussion on the provided Hacker News link revolves around various topics, primarily focusing on the appreciation of a historian’s blog that frequently appears on Hacker News. The blog is praised for its detailed and technical descriptions of mechanical processes, which some user....
|
|
Best viewed on the original page , where extended functionality like the footnote helper is available. Ask HN: Favorite Blogs by Individuals? TLDR: The discussion on the provided Hacker News link revolves around various topics, primarily focusing on the appreciation of a historian’s blog that frequently appears on Hacker News. The blog is praised for its detailed and technical descriptions of mechanical processes, which some user....
|