Some articles and discussions to read regarding performance of Angular apps Optimizing AngularJS: 1200ms to 35ms http://blog.scalyr.com/2013/10/31/angularjs-1200ms-to-35ms/ Bind-once directive https://github.com/Pasvaz/bindonce Expression Namespaces https://github.com/angular/angular.js/issues/6354 (read also the discussion below the readme)
Author Archives: David Votrubec
Hledáme programátora
Kdo jsme a co děláme Jmenujeme se ST-Software a jsme liberecká IT firma, spadající pod Swiss Timing. Dodáváme informační systémy pro velké sportovní události (automobilové závody, jachtařské závody, částečně olympiáda , atd …). Programujeme hlavně v C#, Javascriptu, TypeScriptu. Dáváme si záležet, aby výsledný software byl kvalitní, takže samozřejmě píšeme unit-testy, integrační testy, máme CI …
Dojmy z Dart Hackathonu 2014
15.2.2014 byl v Liberci (a na jiných místech) hackathon k příležitosti vydání stabilní verze Dartu. Těšil jsem se, že si zaprogramuju, a udělám nějakou skvělou a zábavnou věc jako minule, Dart Music. Buď, že na ni navážu a udělám další animaci reagující na hudbu nebo nějakou hru nebo něco využívající genetických algoritmů, protože mě láká …
How to call any function as a $filter in AngularJs
Recently I had this little trouble. I had a simple angular controller, which filtered some array of items. I did not want to define the filter in a “global space” because I knew it will be used only by this one controller. So this first thing was to define the custom filter function. Like this …
Continue reading “How to call any function as a $filter in AngularJs”
Speed up Visual Studio by disabling SourceControl plugin
My Visual Studio 2013 Professional with Resharper 8 was considerably slow and sluggish. Sometimes it took several moments for typed character to appear on screen. After trying several things, including disabling Resharper, which did not help, my colleague found a solution: Disable Source Control plugin. For some reason it was enabled after installation. That is …
Continue reading “Speed up Visual Studio by disabling SourceControl plugin”
OpenVPN – Can’t run unsigned TAP driver
I’ve installed OpenVPN but during the installation I got the error message saying “Windows can’t verify the publisher of this driver software”. So I chose not to install that driver. When I later tried to access VPN, I was not able to establish connection. The message in log always said something like “CreateFile failed on TAP …
Selenium WebDriver can’t start
After a few days of writing tests using Selenium, the WebDriver suddenly stopped working. It did not even start. I tried to restart my machine, check versions of Firefox and Selenium (both were up to date), restart Visual Studio, clean solution. Nothing worked. There was not even an exception description. All I got was a …
How to optimize SQL generated by NHibernate
If we query objects with lot of dependencies NHibernate can (and I believe by default will) load all of them. In many situations this is not necessary. For example all we want is to count objects with some properties or show only 3 properties of some object. The object has lets say 20 properties, some …
Continue reading “How to optimize SQL generated by NHibernate”
Učíme se cizí jazyky na Kindlu
Jedním skvělým způsobem jak se “pasivně” naučit cizí jazyk a rozšířit si slovní zásobu je v daném jazyku číst beletrii. Co ale dělat, když vaše jazykové znalosti nejsou na dostatečné úrovni, aby vás četba beletrie bavila a nestala se z ní hledání slovíček ve slovníku? Můžete si buď koupit nějakou dvojjazyčnou knihu nebo si ji sami …
LinkedIn endorsement je k ničemu
Když mě někdo “endorsne” (pozn. řekne o mně, že něco umím), tak mi to příjemně pohladí ego. Všichni máme rádi, když nás někdo pochválí. Problém je v tom, že na LinkedIn můžu o někom říct, že ovládá nějakou technologii (endorsnu ho), aniž by ji dotyčný ovládal nebo aniž by ten, kdo chváli dané technologii rozuměl. …