This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reactive.Disposables; | |
using System.Reactive.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Net.Sockets; | |
using System.Net; | |
using EventStore.ClientAPI; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✘ ~/Code/fsharpbinding/vim master make install | |
xbuild /Users/greg/Code/fsharpbinding/FSharp.AutoComplete/FSharp.AutoComplete.fsproj /property:OutputPath="/Users/greg/Code/fsharpbinding/vim/ftplugin/bin" | |
XBuild Engine Version 12.0 | |
Mono, Version 3.6.0.0 | |
Copyright (C) 2005-2013 Various Mono authors | |
Build started 10/12/2014 6:24:28 PM. | |
__________________________________________________ | |
Project "/Users/greg/Code/fsharpbinding/FSharp.AutoComplete/FSharp.AutoComplete.fsproj" (default target(s)): | |
/Users/greg/Code/fsharpbinding/FSharp.AutoComplete/FSharp.AutoComplete.fsproj: error : Target named 'Build' not found in the project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Do you like interesting problems? Do you keep a notepad/laptop next to your bed because you tend to solve problems while sleeping? We might be a good fit. | |
We are a totally distributed team. Everyone works from home (even if home tends to be in airplanes). Most of the code we write is Open Source and is available on github http://github.com/eventstore/eventstore if you want to look through it. The team completely owns the project. | |
Perhaps we could be a good fit for you, we are seeking developers who are: | |
1) Always improving | |
2) Highly Technical | |
3) Capable of working in a remote environment | |
4) Independent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void ParkMessage(ResolvedEvent resolvedEvent, string reason, int count) | |
{ | |
_settings.MessageParker.BeginParkMessage(resolvedEvent, reason, (e, result) => | |
{ | |
if (result != OperationResult.Success) | |
{ | |
if (count < 5) | |
{ | |
Log.Info("Unable to park message {0}/{1} operation failed {2} retrying.", e.OriginalStreamId, | |
e.OriginalEventNumber, result); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static void Startfsi(string tag) | |
{ | |
var startInfo = new ProcessStartInfo(); | |
startInfo.EnvironmentVariables["MMProfiler_TAG"] = tag; | |
startInfo.EnvironmentVariables["Cor_Enable_Profiling"] = "1"; | |
startInfo.EnvironmentVariables["COR_PROFILER"] = "{5D789D88-EEE7-46C4-909F-E39D5606544D}"; | |
startInfo.UseShellExecute = false; //needed for env variables | |
startInfo.UseShellExecute = true; //needed for a new window | |
startInfo.CreateNoWindow = false; | |
startInfo.WindowStyle = ProcessWindowStyle.Normal; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module ouch = | |
[<DllImport(@"mydll.dll", | |
EntryPoint="add")>] | |
extern int add(int a, int b); | |
let a = ouch.add(10,20) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Let's say I have an application that must run locally but I want to license it. It offers a browser interface. | |
The application itself is not capable of making calls out to a central server for license checks etc. When a user loads up the browser however it may be possible to talk to a central server. Are there any known algorithms for handling licensing in this way where the browser UI talks back to a central server? | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Data transfer objects are simple reflection of domain model parts. In anemic model DTO are unnecessary since they are the same as domain "objects". In more complicated scenarios with "real" object when they are built on top of anemic model, it's trivial to convert object to it's corresponding DTO. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ConsoleApplication2 | |
{ | |
class Program | |
{ | |
private static readonly IDoSomething[] messageHandlers; | |
private static readonly Dictionary<BridgeMessageType, IDoSomething> handlers; | |
static Program() | |
{ | |
var evParser = new DoesSomething(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A single computer can also be viewed as a distributed system in which the central control unit, the memory units, and the input-output channels are separate processes. A system is distributed if the message transmission delay is not negligible com- pared to the time between events in a single process. | |