Montag, Februar 29, 2016

Nihilismus des Tages

http://dilbert.com/strip/2016-02-23 Kommentar dort:

Conventional wisdom: "good, fast, cheap -- pick two".
Wally: "bad, slow, expensive -- you're welcome".

Mittwoch, Februar 24, 2016

C++ What’s in a class?

http://www.gotw.ca/publications/mill02.htm Herb Sutter, 1998

With that example in mind, I'll propose the Interface Principle:

The Interface Principle
For a class X, all functions, including free functions, that both
   (a) "mention" X, and
   (b) are "supplied with" X
are logically part of X, because they form part of the interface of X.

Montag, Februar 22, 2016

Science* is clever

http://githubengineering.com/move-fast/ – Ruby library ‘Scientist’ from GitHub: run new code in production parallel to existing code it’s meant to replace; compare the results; user always gets the result of the existing code; devs see the deviations that would occur in a production environment.

via https://blogs.msdn.microsoft.com/dotnet/2016/02/17/the-week-in-net-2172016/

The Dark Side of Feature Toggle

http://martinfowler.com/articles/feature-toggles.html

http://dougseven.com/2014/04/17/knightmare-a-devops-cautionary-tale/

This is the story of how a company with nearly $400 million in assets went bankrupt in 45-minutes because of a failed deployment.

Freitag, Januar 29, 2016

9 bad programming habits we secretly love

http://www.infoworld.com/article/2992566/application-development/9-bad-programming-habits-we-secretly-love.html

Yes, we've all violated any number of the cardinal rules of programming, the ones that everyone agrees are bad. And we secretly liked it.

[…]

To make matters more complex, sometimes it's better to break the rules. (Shhhh!) The code comes out cleaner. It may even be faster and simpler. The rules are usually a bit too broad, and an artful programmer can improve the code by breaking them. Don’t tell your boss, but sometimes it makes sense to code your own way.

What follows is a list of nine rules that some may consider unimpeachable, but many of us break often, with both success and pleasure.

Montag, Januar 25, 2016

Open Live Writer

Zum Schreiben von Blog Posts war Windows Live Writer top. Jetzt hat Microsoft losgelassen und ihn frei gegeben, mit Quellcode! So geht auch Blogger wieder damit.

http://openlivewriter.org/ 

http://www.hanselman.com/blog/AnnouncingOpenLiveWriterAnOpenSourceForkOfWindowsLiveWriter.aspx

Den Code werde ich mir auch mal anschauen: https://github.com/OpenLiveWriter/OpenLiveWriter

Mittwoch, Januar 20, 2016

When a Hippo runs a company

http://www.forbes.com/sites/derosetichy/2013/04/15/what-happens-when-a-hippo-runs-your-company
Leaders like Johnson have a special name at Amazon: they’re called HiPPOs, which stands for “highest paid person’s opinion.” HiPPOs are leaders who are so self-assured that they need neither other’s ideas nor data to affirm the correctness of their instinctual beliefs. Relying on their experience and smarts, they are quick to shoot down contradictory positions and dismissive of underling’s input.

Donnerstag, Dezember 17, 2015

Zeitangabe des Tages

Wenn Sie im Büro sind, sind wir es auch

Mittwoch, Dezember 09, 2015

Unicode in C++

https://github.com/CppCon/CppCon2014/tree/master/Presentations/Unicode%20in%20C%2B%2B gute Präsentation

Design for clarity

 

Essential complexity

  • What is needed to defeat to solve the problem
  • Try to find the simplest solution

Accidental complexity

  • introduced by the expressions of the solution
  • Minimize it by using C++ well

Don’t over-abstract

  • Base generalizations on concrete solutions

Hide complexity

  • Good interfaces are essential

https://github.com/CppCon/CppCon2014/tree/master/Presentations/Make%20Simple%20Tasks%20Simple

.NET Demo Code von Microsoft

https://github.com/microsoft/healthclinic.biz

Dienstag, Dezember 08, 2015

Stroustrup C++ 11 FAQ

http://www.stroustrup.com/C++11FAQ.html

ganz interessant z.B. zu unique_ptr, thread, function und bind.

Montag, November 30, 2015

Dependency Management For Binaries

Am besten sprach-übergreifend und “on premises”.

Sprachspezifisch etabliert:

  • Java: Ant+Ivy, Maven, Gradle
  • PHP: Composer
  • Python: Pip
  • Ruby: Gems
  • Node.js: npm, bower?
  • Javascript / CSS: bower
  • R: CRAN
  • Perl: CPAN

Sprachspezifisch , entwickelt sich gerade:

  • .NET: Nuget
  • C++: Biicode (ohne on premises), CPM

Kandidaten für sprachübergreifende Lösungen:

Git Server

Git selbst macht keine Aussage zu Listen oder Verzeichnissen von Repositories, das muss man extern organisieren. Wie geht das in hübsch, z.B. Richtung GitHub, auf einem eigenem Server?

Kostenlos

Kostenpflichtig

Freitag, November 27, 2015

Spruch des Tages

Das Leben ist wie ein Bus. Fremde Menschen steigen ein, bekannte Menschen steigen aus.

Jenkins Tray Tracker

https://github.com/zionyx/jenkins-tray 

(Das ist eine verbesserte vom Hudson Tray Tracker, der ja nicht mehr gepflegt wird auf http://code.google.com/p/hudson-tray-tracker/)

Dienstag, November 17, 2015

Using Time Blocks to manage productivity

http://blog.fogcreek.com/using-timeblocks-to-increase-maker-efficiency-tech-talk/

The way TimeBlock works is this: we divide a week into 10 blocks. […]
When we get a project, we divide it into TimeBlocks. […]
a task can’t be longer than two TimeBlocks, so if you have a task that takes a week, you have to write 10 different, or five different time blocks for it. […]
We frame it like if I had to do the same task this week, what would I do differently, because we have to learn from our mistakes.

(Autor hat eine Firma draus gemacht: http://timeblock.com/blog/)

Montag, November 16, 2015

PowerShell ISE mit ByPass

Zum Starten von PowerShell Skripten im ISE im ByPass-Modus die ISE wie folgt starten (im Startmenü eingeben):

powershell -executionpolicy bypass ise

Der Fehler “File XYZ.ps1 cannot be loaded because the execution of scripts is disabled on this system.” kommt dann nicht mehr.

Siehe auch http://blogs.technet.com/b/heyscriptingguy/archive/2015/03/02/write-and-run-powershell-script-without-scripting.aspx und https://blog.netspi.com/15-ways-to-bypass-the-powershell-execution-policy/

(Nachtrag: Als ordentliche generische Skriptingsprache ist PS kaum zu gebrauchen. War wohl auch nicht so gedacht. Dennoch heißt die Kolumne bei MS dazu “Hey, Scripting Guy”? Hmm. Bleibt deutlich hinter meinen Erwartungen zurück.)