dotnetomaniak.pl - Najnowsze artykuły o .NET w dziale Sztuka programowania - Strona 38

Web idzie tak szybko do przodu, że łatwo się zgubić i zapomnieć, że pewne rzeczy nie są jeszcze tak powszechnie dostępne jakby się wydawało. Na przykład taka rzecz jak wgrywanie plików. Pamiętam czasy, że by to zrobić to trzeba było mieć flash. Potem się to robiło magicznie za pomocą iframe... a ja kto jest teraz?

Źródło: blog.gutek.pl
Dziel się z innymi:
Jedyny słuszny sposób na upload plików - Jakub Gutkowski

Sztuka programowania 2624 dni, 3 godziny, 29 minut temu Gutek 312 źrodło rozwiń

Siadam do kodu i piszę… i piszę… i piszę… a potem save, commit, push. Done? No, nie bardzo. Jeśli pracujesz w TDD, to dobrze wiesz co to jest: red, green, refactor. REFACTOR!, REFAKTORYZACJA! Czyli moment kiedy po prawie skończonej pracy porządkujemy kod. To  sprowadza się do posprzątania śmieci, usunięcia zbędnych zmiennych, metod i ...

Źródło: www.benedykt.net
Dziel się z innymi:
Sprzątaj swój kodzik nieustannie czyli o ciągłej refaktoryzacji.

Sztuka programowania 2624 dni, 3 godziny, 29 minut temu arek 194 źrodło rozwiń

Formatowanie kodu to jedna z podstawowych czynności jaką możemy zrobić w ramach refaktoryzacji. Jest proste i bezbolesne (pod warunkiem, że w Twoim języku programowania nie programuje się białymi znakami*). Daje szybki efekt w postaci czytelniejszego kodu a to jest bardzo ważne, zresztą pisałem już o tym tutaj. Visual Studio posiada ...

Źródło: www.benedykt.net
Dziel się z innymi:
Formatowanie kodu szybko i bezboleśnie

Sztuka programowania 2627 dni, 23 godziny, 1 minutę temu arek 214 źrodło rozwiń

Zmiany lub raczej poprawki i ulepszenia do out i ref w C#.

Tagi: C#, C# 7.0
Źródło: blog.gutek.pl
Dziel się z innymi:
C# 7: out i ref - Jakub Gutkowski

Sztuka programowania 2628 dni, 6 godzin, 4 minuty temu Gutek 160 źrodło rozwiń

It’s unbelievable how sometimes we can do simple things so complicated. Fortunately in programming world we have something what is called “refactoring” and we really should do it as often as we can.

Dziel się z innymi:
Detect overlapping periods in JS - how to make easy things complex - PoznajProgramowanie.pl

Sztuka programowania 2629 dni, 8 godzin, 52 minuty temu AdrianBystrek 41 źrodło rozwiń

Top mentioned books on stackoverflow.comPosted by Lazy

Top mentioned books on stackoverflow.com | Piotr Perak

Sztuka programowania 2629 dni, 8 godzin, 52 minuty temu trzyPe 114 źrodło rozwiń

As you may already know I really, really like LINQ. One day I'll probably join together all my posts about this incredible featureand release pretty neat compendium/one-oh-one about this great feature. But while I'm not sitting and joining every post from this blog that have word "LINQ" in it into one, big pile, let's talk a bit about joining and grouping collections in LINQ.

Źródło: hryniewski.net
Dziel się z innymi:
Hryniewski.NET | Joining, Grouping and GroupJoining in LINQ

Sztuka programowania 2633 dni, 17 godzin, 15 minut temu Rafał Hryniewski 127 źrodło rozwiń

Różnica pomiędzy ?: a ?? w nawiązaniu do posta http://rph-blog.pl/view/9/ pod tytułem "Niezwykły operator ternarny ?: w C++". Dementujemy kłamstwa.

Źródło: piatkosia.k4be.pl
Dziel się z innymi:
Mylące operatory – Zagubiona wśród własnych myśli – Piatkosia's blog

Sztuka programowania 2639 dni, 3 godziny, 15 minut temu piatkosia 192 źrodło 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 | mpustelak.com

Sztuka programowania 2640 dni, 18 godzin, 35 minut temu Mateusz Pustelak 198 źrodło rozwiń

Pewnego razu trafiło mi się na facebookach takie pytanie „dlaczego z listy konwertuje na IEnumerable a odwrotnie nie” -cytat jest skopiowany żywcem, autor wolałby pozostać anonimowy. Jako że nie ma głupich pytań i każdy kiedyś zaczynał, odpowiem koledze i innym ciekawym. Ciekawi? No to lecim:)

Źródło: piatkosia.k4be.pl
Dziel się z innymi:
List  a IEnumerable – Zagubiona wśród własnych myśli – Piatkosia's blog

Sztuka programowania 2641 dni, 22 godziny, 52 minuty temu piatkosia 357 źrodło rozwiń

For the last 2 years Angular Team at Google, with huge support of the community, has been working on a new Angular framework. It has been completely rewritten with better performance and ready to use even outside the browser. In this article I want to introduce you to the basics of Angular 2+; we will build a small web application using angular-cli tool.

Angular 2+ fundamentals based on angular-cli created app | Technical Blog - Future Processing

Sztuka programowania 2641 dni, 22 godziny, 52 minuty temu FutureProcessing 85 źrodło rozwiń

NUnit w wersji 3.6 wprowadził dość ciekawą funkcję – Assert.Multiple. Dzięki niej, dostajemy informacje na temat wszystkich testów, które nie przeszły. Przyjrzyjmy się temu bliżej… Do tej pory, używając kilku asercji naraz, jedna niespełniona asercja powodowała, że dalszy kod nie jest wykonywany.

Dziel się z innymi:
Assert.Multiple | DariuszWozniak .NET

Sztuka programowania 2645 dni, 18 godzin, 29 minut temu dariuszwozniak 162 źrodło rozwiń

Programowanie współbieżne – jeden z najbardziej zaawansowanych tematów programistycznych. Z jednej strony programowanie równoległe jest już standardem, z którym mają styczność (może w pewnym stopniu nieświadomie) nawet początkujący programiści. Z drugiej strony nadal tylko niewielu programistów potrafi pisać poprawny oraz efektywny kod współbieżny.

books#4 - "Programowanie równoległe i asynchroniczne w C# 5.0" - PoznajProgramowanie.pl

Sztuka programowania 2653 dni, 23 godziny, 50 minut temu AdrianBystrek 268 źrodło rozwiń

Nowadays, asynchronous programming isn’t something unusual. We all know that when it comes to do some I/O operations or HTTP request, we should do it async. Why? There’re several reasons but two most important  are:Efficiency. In many cases, the code might work faster. That’s because it’s not forced to wait for the result. Instead, it can work on some other stuff and then come back for the response when it’s ready. Simple is that.Comfort. Async improves the comfort of using our applications. We don’t blo...

Źródło: foreverframe.pl
Dziel się z innymi:
What lies beneath async/await in C# ? - Forever F[r]ame

Sztuka programowania 2653 dni, 23 godziny, 50 minut temu dpawlukiewicz 330 źrodło rozwiń

Aggregate is one of the most fun and powerful methods in LINQ. Sadly it's also of of the most underused and "scary" ones. I hope that after reading this post you will understand Aggregate a bit more, know when to use it and won't be afraid of doing so.

Tagi: aggregate, Linq
Źródło: hryniewski.net
Dziel się z innymi:
Hryniewski.NET | LINQ - don't be afraid of Aggregate

Sztuka programowania 2656 dni, 6 godzin, 10 minut temu Rafał Hryniewski 259 źrodło 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 | mpustelak.com

Sztuka programowania 2659 dni, 22 godziny, 59 minut temu Mateusz Pustelak 253 ź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 2660 dni, 22 godziny, 51 minut temu maklipsa 149 źrodło rozwiń

W trakcie naszej przygody z programowaniem zetknęliśmy się z książkami poruszającymi najróżniejsze tematy. Programowanie, branża IT, biznes, nowe technologie, design, rozwój osobisty, biografie znanych ludzi – było tego naprawdę mnóstwo. Wiele z nich zmieniło sposób w jaki teraz myślimy i podchodzimy do nauki oraz pracy.

Dziel się z innymi:
books#2 - "Czysty kod. Podręcznik dobrego programisty" - PoznajProgramowanie.pl

Sztuka programowania 2660 dni, 22 godziny, 51 minut temu AdrianBystrek 182 ź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 2663 dni, 23 godziny temu maklipsa 78 źrodło rozwiń

Niektórzy w tej chwili lepią pierogi, próbują nie wrócić do domu z pangą, latają za zapomnianym prezentem niczym Arnold za Turbo-Manem lub w ciepłym, przytulnym domku wieszają na choince bombki. Ja z kolei mam cały dzień dla siebie i jego część postanowiłem na napisanie krótkiego posta o tym jak możecie wykorzystać enumy jako flagi i obwiesić nimi swoje obiekty tak bardzo jak tylko chcecie, a żeby zachować choć pozory świątecznej atmosfery zrobię to z małym świątecznym akcentem (takim tycim).

Źródło: hryniewski.net
Dziel się z innymi:
Hryniewski.NET | Enumy jako flagi i wykorzystanie operatorów bitowych (XMASS Edition)

Sztuka programowania 2671 dni, 7 godzin, 41 minut temu Rafał Hryniewski 214 źrodło rozwiń

1 2... 36 37 38 39 40 41... 73 74

Najaktywniejsi w tym miesiącu