- Artykuły z tagiem dotnet

Jakiś czas temu pojawił się problem z moją drukarką. Zdarza się czasem, że kiedy trzeba wydrukować więcej dokumentów, drukarka drukuje pierwszy dokument i przez długi czas nie chce go usunąć z kolejki drukowania, co uniemożliwia drukowania kolejnych dokumentów. Rozwiązaniem jest wyłączenie usługi Print Spooler w Windows. Potem wyłączenie i włączenie drukarki, a następnie włączenie usługi. To rozwiązanie nie jest zbyt wygodne, chociażby ze względu na to, że za każdym razem trzeba uruchamiać Usługi, znaj...

Dziel się z innymi:
Zarządzanie usługami w systemie Windows poprzez .NET – Łukasz Kot Blog

Daj się poznać 2017 3 dni, 12 godzin, 50 minut temu Mister 62 rozwiń

Podczas przygotowywania prezentacji na var Sovia = new Tech(); natrafiliśmy na problem który dawał nam miejsce do pastwienia się nad dotnetem i z którego ja bardzo chciałem skorzystać ;) Dobrze, że tego nie zrobiliśmy. Po raz kolejny wyszła na jaw pewna prawda i jeden z podstawowych sposobów analizowania i debugowania aplikacji. Zapraszam do lektury

Dziel się z innymi:
Wspóldzielenie plików w parallels i debugowanie dotnet - Jakub Gutkowski

Narzędzia 10 dni, 20 godzin, 9 minut temu Gutek 60 rozwiń

POPRAWNA instrukcja instalacji dotnet core na mac z boxen i zsh

Dziel się z innymi:
dotnet core na macOS z boxen - Jakub Gutkowski

Daj się poznać 2017 15 dni, 22 godziny, 38 minut temu Gutek 22 rozwiń

Engineers love the new tools – that’s a fact. New IDE release is kind of Christmast Eve for all developers of a platform. Releasing Visual Studio 2017 is not an exception! It has tens of cool features which are widely described all over the Internet. The problem is, that those tutorials and reviews are all in English and my Visual Studio installed in… a default language of my system – Polish. I can’t get so deep into a idea of translating IDE...

Dziel się z innymi:
How to change language in Visual Studio 2017 – Kuba Matjanowski

Narzędzia 43 dni, 19 godzin, 23 minuty temu Kuba Matjanowski 27 rozwiń

Tworząc nowy projekt w Visual Studio mamy do wyboru dużo szablonów startowych. Możemy wygenerować prostą aplikację webowa, która posłuży nam za podstawę do dalszej pracy. Zaoszczędza nam to dużo czasu na konfiguracji całego projektu. Pracując na systemie Linux czy macOS niestety nie ma takiej możliwości. Na szczęście jest Yeoman – narzędzie, które zawiera dużo szablonów startowych. Wywodzi się on ze świata JavaScriptu, ale dostępne są również szablony do .NET Core.

Dziel się z innymi:
Yeoman oraz inne pomocne narzędzia dla developera .NET Core – Paweł Skaruz o dotnecie i bezpieczeństwie

Sztuka programowania 44 dni, 9 godzin, 50 minut temu paw3lx 121 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 45 dni, 20 godzin, 10 minut temu maklipsa 64 rozwiń

I had a small problem, I need to grep IIS logs and search for few lines. There was only one problem - the size of logs. A few gigabytes of compressed data with 15% compress ratio. The interesting stuff for me happened between 9:00 and 10:00 AM, so everything after 10:00 AM I can just skip.Using a log aggregator. The best option for st...

Tagi: dotnet
Dziel się z innymi:
[EN]Search through archives using C# in

Narzędzia 53 dni, 10 godzin temu Piotr Stapp 64 rozwiń

Hi there! I’ve just had to sort some list alphabetically with specific values on top. Here is one of the possible solution. Worth to know:OrderBy sorts items in ascending order [a, b, c, d] [1,2,3,4]Can be use with boolean functionFalse = 0True = 1 So if we use: list.OrderBy(item => item == "Cat"); Item that equals „Cat” will be placed as last element, because as the only element returns true(1) as a result + as it was mention before OrderBy s...

Tagi: .Net, C#, dotnet, problem
Dziel się z innymi:
OrderBy with boolean value | How to put specific values on top of the list | Build solution

Sztuka programowania 57 dni, 7 godzin, 20 minut temu j_boczek 75 rozwiń

In the previous post about Topshelf and Quartz.NET I mentioned that there is a chance to configure the inversion of control container instead of manually pointing which implementation we want to use. In this post, I will explain how to do just that, using a few popular inversion of control containers – Ninject and StructureMap. If you prefer any other container, please let me know. I’ll do my best to include it here. Plain projec...

Topshelf and Quartz.NET with dependency injection |

Sztuka programowania 81 dni, 6 godzin, 9 minut temu Mateusz Pustelak 80 rozwiń

I often work on applications whose sole task is to execute a script at certain time or day. You may approach it in several ways, eg.: Task Scheduler (Windows), SQL Job (if it is a SQL task) or CRON in Linux. You may also write application, which would run in background and execute a script at certain time. The only question is – do you really want do it? In this post, I would like to introduce other solution to tasks like this. ...

Scheduled jobs made easy - Topshelf and Quartz.NET |

Programowanie rozproszone 88 dni, 18 godzin, 8 minut temu Mateusz Pustelak 131 rozwiń

How often in your code do you see ifs checking whether the object is not null? Often? Very often? What would happen if you didn’t have to check it out? Surely code would be easier to maintain – no ifs = no test cases. This can all be achieved using Null Object pattern.

Null Object pattern - how and when to use it |

Sztuka programowania 100 dni, 10 godzin, 33 minuty temu Mateusz Pustelak 248 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 101 dni, 10 godzin, 25 minut temu maklipsa 145 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 104 dni, 10 godzin, 34 minuty temu maklipsa 78 rozwiń

Reading time ~2 minutes This post was inspired by a discussion on Reddit that followed my previous post In this post, I will cover a suggestion by BelowAverageITGuy that cut down the total execution time by almost one hour. Saga Before I go further here are some link to the previous posts on the problem of calculating similarities and then optimizing it grew to few post. Here are all of them:How I calculate similarities in cookit?How to calculate 17 billion similaritiesIndependent code in ...

Dziel się z innymi:
Making bits faster – IndexOutOfRange

Sztuka programowania 115 dni, 18 godzin, 50 minut temu maklipsa 94 rozwiń

Reading time ~1 minute This will be a fast errata to the previous one. This time I will expand the oldest performance mantra: The fastest code is the one that doesn’t execute. Second to that is the one that executes once Last time I’ve forgot to mention one very important optimization. It was one of two steps that allowed me to go from 1530 to 484 seconds in the sample run.Saga Before I go further here are some link to the previous posts on the problem of calculating similarities and then...

Dziel się z innymi:
Independent code in performance optimizations – IndexOutOfRange

Programowanie rozproszone 128 dni, 20 godzin, 19 minut temu maklipsa 46 rozwiń

Reading time ~6 minutes Last time I’ve shown how I’ve gone from 34 hours to 11. This time we go faster. To go faster I have to do less. The current implementation of Similarity iterates over one vector and checks if that ingredient exists in the second one. Since those vectors are sparse the chance of a miss is big. This means that I am losing computational power on iterating and calling TryGetValue. How to iterate only over the mutually owned ones and do it fast? Saga Before I go furth...

Dziel się z innymi:
Using bit masks for high-performance calculations – IndexOutOfRange

Sztuka programowania 125 dni, 19 godzin, 59 minut temu maklipsa 55 rozwiń

Reading time ~5 minutes The previous post described the methodology I’ve used to calculate similarities between recipes in cookit. If You haven’t read it I’ll give it 4 minutes because it will make understanding this post easier. Go one, I’ll wait. It ended on a happy note and everything seemed to be downhill from there on. It was until I tried to run it. It took long. Very long. How long? I don’t know because I’ve canceled it after about one hour. Going with a famous quote (probably from E...

Dziel się z innymi:
[EN]How to calculate 17 billion similarities – IndexOutOfRange

Sztuka programowania 131 dni, 19 godzin, 54 minuty temu maklipsa 140 rozwiń

Reading time ~5 minutes Warning this post contains some math. Even more, it shows how to use it for solving real life problems. This post describes how I calculate similarity between recipes in my pet project For those of you that don’t know, cookit is a search engine for recipes. It crawls websites extracting recipe texts, then it parses it and tries to create a precise ingredient list with amounts and units. 182 184 recipes2936 ingredients This scale may not seem huge, but tr...

Dziel się z innymi:
How I calculate similarities in cookit? – IndexOutOfRange

Sztuka programowania 139 dni, 18 godzin, 46 minut temu maklipsa 56 rozwiń

Reading time ~6 minutes This post is covering a subset of what I am talking in my talk How I stopped worrying and learned to love parallel processing (currently only in polish). This will cover on how, in terms of performance, AsParallel can kick you in a place where it hurts a lot, simultaneously being a blessing in terms of… performance. How is that? Let’s look at someHistory AsParallel was introduced as an extension to LINQ with TPL in .NET 4.0. In theory, it’s God’s sent. The promise w...

Dziel się z innymi:
[EN] Problems with AsParallel – IndexOutOfRange

Architektura 141 dni, 16 godzin, 52 minuty temu maklipsa 108 rozwiń

Nowa seria: Tajemnice CLR. Dziś na tapetę biorę to jak działa metoda GetType() czyli skąd obiekt wie jakiego jest typu.

Tagi: CLR, coreclr, dotnet
Dziel się z innymi:
Blog Kokosa | Tajemnice CLR - jak działa GetType()

Inne 164 dni, 14 godzin, 38 minut temu KonradKokosa 228 rozwiń

1 2
Szkolenia SecurITum




Zobacz wszystkie



macko (32 816,53)


http://pawlos.blo... (31 603,45)


pzielinski (27 178,29)


gordon_shumway (21 178,87)


paduda (20 336,33)


psz750 (13 018,14)


rroszczyk (10 383,88)


Damian (9 041,08)


danielplawgo (7 235,99)


arek (6 807,91)


burczu (6 214,22)


PaSkol (5 393,84)


lukaszgasior (4 097,38)


jj09 (3 578,06)


jedmac (3 313,39)


http://jakub-flor... (3 224,66)


CaMeL (2 954,87)


spetz (2 783,21)


mnikolajuk (2 596,93)


lkurzyniec (2 590,68)