Strona głównaUżytkownik

maklipsa | użytkownik

maklipsa
maklipsa
1 200,08
67 dni, 12 godzin, 23 minuty temu
6 maja, 2016
dotnetomaniak.pl

Reading time ~7 minutes This article is Part 4 in a 4-Part Series. Part 1 - Refactoring to Data Driven TestsPart 2 - How to get data for Data-Driven Tests?Part 3 - Tips, tricks, and good practices for Data-Driven Testing. Part 1.Part 4 - This Article This post is a continuation of a previous tips, tricks, and good practices for Data-Driven Testing entry. This one with more code. I will be converting this series into an ebook with additional source code and examples. If you want to get it, please su...

Dziel się z innymi:
Tips, tricks, and good practices for Data-Driven Testing. Part 2. – IndexOutOfRange

Sztuka programowania 66 dni, 12 godzin, 27 minut temu maklipsa 32 źrodło rozwiń

Reading time ~7 minutes This article is Part 3 in a 3-Part Series. Part 1 - Refactoring to Data Driven TestsPart 2 - How to get data for Data-Driven Tests?Part 3 - This Article As promised here and here, this will be tips, tricks, and good practices for data-driven tests. If You want to know more about data-driven testing see my previousposts on this topic. Here we go. I will be converting this series into an ebook with additional source code and examples. If You want to get it please subscribe:G...

Dziel się z innymi:
Tips, tricks, and good practices for Data-Driven Testing. Part 1. – IndexOutOfRange

Sztuka programowania 77 dni, 11 godzin, 28 minut temu maklipsa 49 źrodło rozwiń

Reading time ~6 minutes This article is Part 2 in a 2-Part Series. Part 1 - Refactoring to Data Driven TestsPart 2 - This Article The previous post was meant to be an encouragement and a warmup to data-driven testing. This post describes why I love this way of testing. Understanding a simple fact about testing moved me from “Oh, I should write tests” to “I want it all! And I want it now!” and Data-Driven Testing. And the simple truth is: Anyone who is a bit interested in machine learning heard sta...

Dziel się z innymi:
Data is the new king (in tests). How to get data for DDT? – IndexOutOfRange

Sztuka programowania 81 dni, 12 godzin, 10 minut temu maklipsa 58 źrodło rozwiń

Reading time ~7 minutes I am not a big fan of writing tests. I like having them, but I find writing them to be boring. That said, retesting manually is even more annoying, so I write tests. The thought that there has to be a better way, never passed. I tried a few approaches. After some experimentation, I think I have the answer - DDT (Data Driven Testing) Before we dig into what Data Driven Tests are, let’s look at some standard, non-DDT tests.What we will be testing? There is a fragile line for cod...

Dziel się z innymi:
Refactoring to Data Driven Tests – IndexOutOfRange

Sztuka programowania 88 dni, 11 godzin, 16 minut temu maklipsa 39 źrodło rozwiń

Reading time ~4 minutes NoSQL PaaS databases like AWS DynamoDB or Cosmos DB offer incredible capabilities in scale, speed, and availability. There is also a dark side to those databases. They will punish anyone greatly for mistakes. And no mistakes are punished more than choosing the wrong partition key. Below is an ORDERED list on how to approach selecting the partition key.1. Transaction boundary I can’t stress this enough.This is the most critical factor. If our transaction boundary is wrong, pleas...

Dziel się z innymi:
How to choose the partition key in CosmosDB – IndexOutOfRange

Bazy danych i XML 95 dni, 10 godzin, 56 minut temu maklipsa 20 źrodło rozwiń

Patoarchitekci Uwaga, rzucamy mięsem, czyli lekki podcast o niby poważnym temacie jaki jest nowoczesna architektura w IT. O podcaście Słuchaj na:YouTubeSpotifyAnchorKontakt 2019 © Szymon Warda & Łukasz Kałużny2019, Aug 12     Odcinek poświęcony robieniu architektura w czasach Agile. Czy można w ogóle robić dobrą architekturę, kiedy wszystko jest niby zwinne? Ciekawe linki i inne znaleziska z tego odcinka:Człowiek vs Komputer10x engineersWhat is a 1x Engineer?It’s 2019, and one third of businesses ...

Tagi: podcast
Źródło: patoarchitekci.io
Dziel się z innymi:
#1 Architektura vs Agile - Patoarchitekci

Architektura 95 dni, 10 godzin, 56 minut temu maklipsa 140 źrodło rozwiń

Reading time ~3 minutes I’ve seen multiple people struggling with trying to mock the ILogger calls. This post will hopefully save some people from wandering this path. Here it goes:Please stop trying to mock the ILogger methods from .net core. Here is why: Most ILogger methods that we use for logging are extension methods - static methods. While mocking them is possible using Prig, or Microsoft Fakes it is not easy or pleasant. Mocking a static method boils down to replacing the code at runtime using...

Dziel się z innymi:
Stop trying to mock the ILogger methods – IndexOutOfRange

Sztuka programowania 105 dni, 12 godzin, 6 minut temu maklipsa 127 źrodło rozwiń

Reading time ~7 minutes I will be back to the series about data modeling in noSQL databases, but for now, I want to note down a few arguments that are still hot after an interesting discussion with a friend. The talk boiled down to a simple question:Should I use a service mesh or use a bare bones Kubernetes? I know how strange the combination of bare-bones and Kubernetes sounds, but this is the world we are living in :). I’m standing firmly on the position that service mesh is the only way to go. Her...

Dziel się z innymi:
Use Kubernetes or a service mesh?– IndexOutOfRange

Architektura 111 dni, 22 godziny, 44 minuty temu maklipsa 79 źrodło rozwiń

Reading time ~6 minutes This article is Part 2 in a 2-Part Series. Part 1 - How to model hierarchical data in noSQL databasesPart 2 - This Article The problem of storing draft state and auditing is not limited to noSQL databases, and as previously, below patterns can be applied to SQL modeling. But because noSQL databases are, in most cases, lacking transactionality over multiple partitions, the problem is harder there. Making it more interesting :) Additionally, smart use of neet features of noSQL ...

Modeling version and temporary state in noSQL databases – IndexOutOfRange

Bazy danych i XML 120 dni, 11 godzin, 31 minut temu maklipsa 35 źrodło rozwiń

Reading time ~6 minutes Querying hierarchical data is always where the big boys of SQL shined. And I really mean the big boys part since only Oracle, and Microsoft SQL Server have support for CTE (Common Table Expressions) that allow for executing one SQL statement what will fetch a subtree. There are data modeling approaches that allow for doing hierarchical data reads with noSQL databases and databases without support for CTE. The most common and obvious example of hierarchical data is the family tr...

Dziel się z innymi:
How to model hierarchical data in noSQL databases – IndexOutOfRange

Architektura 128 dni, 11 godzin, 38 minut temu maklipsa 79 źrodło rozwiń

Reading time ~11 minutes So, Yes. I hit a pause button on writing because many things were happening, and as it turns out, you can only squeeze 24 hours in one day. Who knew? However (hopefully) my blog will come back to life. One of the things that kept me busy during this time was realizing one of my goals: Make a video course for Pluralsight. And I made it: Now that it is done, and I had a few months to reflect, a few lessons for those thinking about doing any video course.Choosing the course ...

Dziel się z innymi:
Czego nauczyłem się robiąc kurs dla Pluralsight – IndexOutOfRange

Inne 134 dni, 11 godzin, 31 minut temu maklipsa 180 źrodło rozwiń

Reading time ~3 minutes This article is Part 2 in a 2-Part Series. Part 1 - The missing Azure Functions documentationPart 2 - This Article As I wrote in the previous post there are two ways to run precompiled .NET code in Azure Functions - .NET 4.6.x or .NET Core. Why did I decide to go with the old .NET runtime? For the current moment, F# on .NET Core does not support type providers (there is a workaround, but I didn’t want to go with it for the current moment). I went to work thinking that it will...

Troubleshooting compiled Azure Functions in F# – IndexOutOfRange

Cloud 671 dni, 10 godzin, 52 minuty temu maklipsa 20 źrodło rozwiń

Reading time ~3 minutes This article is Part 1 in a 1-Part Series. Part 1 - This Article Trying to understand how to run code in Azure Functions is not an easy task since this product has evolved on its own and thanks to the rise of .NET Core. This post will give You a history background necessary to understand the documentation and, most of all, all the blog posts talking about Azure Functions.v1.0 - script files The initial way to run code in Azure Function was to write a script file in Azure Fun...

Dziel się z innymi:
The missing Azure Functions documentation – IndexOutOfRange

Cloud 685 dni, 10 godzin, 37 minut temu maklipsa 23 źrodło rozwiń

Reading time ~10 minutes This article is Part 2 in a 2-Part Series. Part 1 - What is the simplest database?Part 2 - This Article The previous post laid out the most minimum requirements for something to be called a database. While they may be too bare bones for many, there are a lot of databases that don’t fulfill even half of them, and this isn’t stopping from using them on a daily basis. The last time I’ve looked at files, this time something a bit more complex - key-value databases. The idea be...

Want unlimited scale and performance? This is where to start – IndexOutOfRange

Architektura 964 dni, 11 godzin, 6 minut temu maklipsa 43 źrodło rozwiń

Reading time ~3 minutes The world of databases is a fascinating topic. It is very diverse. Many of them are extremely complex systems, but there are also very simple ones. There are the general purpose ones, and ones that do only one thing good, but they do it excelent. Despite all of this we tend to pick them just like we order food in a restaurant:I’ll take the same as last time. It wasn’t ideal for what I wanted, but I could pick worse.Hmm… Everyone is taking this one, so I’ll take it also. Well, m...

Tagi: DATABASE, design
Dziel się z innymi:
What is the simplest database? – IndexOutOfRange

Architektura 973 dni, 9 godzin, 58 minut temu maklipsa 93 źrodło rozwiń

Reading time ~5 minutes Configuration as code movement isn’t anything new and is here to stay. I haven’t had time to actually do a from zero to the desired state configuration script until a few weeks ago. Below are my thoughts after three weeks with PowerShell Desired State Configuration. What I wanted to do First, let me describe the goal I’ve set before myself. I wanted to write a script that would go from a clean Windows machine to a fully configured TeamCity server with SQL Server storage and t...

Dziel się z innymi:
Developers perspective on PowerShell Desired State Configuration – IndexOutOfRange

Narzędzia 987 dni, 10 godzin, 28 minut temu maklipsa 21 źrodło rozwiń

Reading time ~6 minutes In most cases .NET manages to solve the DLL hell problem pretty well, but sometimes it all falls apart, and when it does in best case scenario we see something like this:Could not load file or assembly 'XXXX, Version=X.Y.Z.W, Culture=neutral, PublicKeyToken=eb42632606e9261f' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) The much worst case is this:The method 'XXXX' was not fou...

Dziel się z innymi:
Could not load file or assembly or one of its dependencies. – IndexOutOfRange

Narzędzia 988 dni, 10 godzin, 39 minut temu maklipsa 72 źrodło rozwiń

Reading time ~16 minutes While I’m working on the next angle on how to speed up calculating similarities I started investigating how to get better telemetry from cookit. Getting telemetry is easy - making sense of it is the hard part. This also brought another pain point of current setup - logging and monitoring. Since cookit is my pet, nonprofit project it was time to do something. There is a comparison table at the end, and what I’ve choose.The current state of logging and monitoringRequirementsThe ...

Choosing centralized logging and monitoring system – IndexOutOfRange

Architektura 1002 dni, 7 godzin, 35 minut temu maklipsa 213 źrodło rozwiń

Reading time ~5 minutes In my ongoing series on calculating similarities one angle always seemed worth trying, and was pointed out many times on Reddit - use C++ and matrix manipulations. Similarity calculation fits very nicely into matrix representation, and there are algorithms targeting sparse matrix manipulation. So why did I delay it for so long? Because I had other angles I wanted to try and, from the looks of it required significant changes in the existing code base. But since last op...

Understanding OutOfMemoryException – IndexOutOfRange

Sztuka programowania 1044 dni, 54 minuty temu maklipsa 147 źrodło rozwiń

Reading time ~4 minutes This post is an analysis of a very interesting optimization proposed by Nicholas Frechette in the comments under the previous post. He proposed to use one of the oldest tricks in performance cookbook - divide and conquer. Well, it did not turn out as I expected.Saga Before I go further here are some link to the previous posts on the problem of calculating similarities and then optimizing. This thread grew to a few post. Here are all of them:How I calculate similariti...

Dziel się z innymi:
Dividing a bit in two for performance – IndexOutOfRange

Sztuka programowania 1047 dni, 1 godzinę, 3 minuty temu maklipsa 78 źrodło rozwiń

1 2
Sklep z gadzetami

Najaktywniejsi

1
(32 891,59)
2
(32 816,53)
3
(27 178,29)
4
(21 178,88)
5
(20 336,33)
6
(13 018,14)
7
(10 512,23)
8
(9 775,28)
9
(8 388,27)
10
(6 822,96)
11
(6 214,22)
12
(5 393,84)
13
(4 127,41)
14
(4 026,72)
15
(3 863,06)
16
(3 599,51)
17
(3 448,35)
18
(3 318,39)
19
(3 224,66)
20
(3 105,41)