Click here to Skip to main content
15,894,362 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Communication & Language Pin
H.Brydon9-Aug-17 16:07
professionalH.Brydon9-Aug-17 16:07 
GeneralRe: Communication & Language Pin
markkuk8-Aug-17 21:14
markkuk8-Aug-17 21:14 
PraiseRe: Communication & Language Pin
TheGreatAndPowerfulOz9-Aug-17 6:16
TheGreatAndPowerfulOz9-Aug-17 6:16 
GeneralRe: Communication & Language Pin
Munchies_Matt9-Aug-17 1:08
Munchies_Matt9-Aug-17 1:08 
PraiseRe: Communication & Language Pin
TheGreatAndPowerfulOz9-Aug-17 6:16
TheGreatAndPowerfulOz9-Aug-17 6:16 
GeneralRe: Communication & Language Pin
Munchies_Matt9-Aug-17 21:41
Munchies_Matt9-Aug-17 21:41 
GeneralRe: Communication & Language Pin
BillWoodruff12-Aug-17 4:52
professionalBillWoodruff12-Aug-17 4:52 
RantWhy do people code this way? Pin
Marc Clifton8-Aug-17 8:24
mvaMarc Clifton8-Aug-17 8:24 
I've been looking for an implementation of Kademlia in C# (not, it's not a disease) and found this, which actually looks pretty good. It seems they have implemented all the concepts.

The only problem is that their implementation is entangled with RavenDB, and the fact that they are using a DHT for an audio player, UDP transport layer (that's fine, but not for testing, where you want to completely spoof the transport layer), and other annoyances (like, who the heck uses log4net anymore???) and WCF bindings Dead | X|

Why? Why can't people write a nice coherent, independent, library with proper inversion of control, interfaces, etc., that completely decouples the DHT from the specific application. Mad | :mad:

Now I have to go through the code and extract all this shyte, which I think is still more efficient that rewriting/debugging everything from scratch.

What's particularly disappointing is that code seems well written and documented, I would have expected better from the people that wrote this, given the quality of their stuff. The dichotomy makes me think they borrowed some stuff from somewhere else. Or, given that it's written by two people, maybe their architectural skills were orthogonal. Roll eyes | :rolleyes:

Example:

Log4Net is used almost everywhere. But then...
Console.WriteLine("Storing resource from peer " + peer);
WTF | :WTF:

Marc
Latest Article - Create a Dockerized Python Fiddle Web App

Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

Artificial intelligence is the only remedy for natural stupidity. - CDP1802

GeneralRe: Why do people code this way? Pin
TheGreatAndPowerfulOz8-Aug-17 8:57
TheGreatAndPowerfulOz8-Aug-17 8:57 
GeneralRe: Why do people code this way? Pin
Marc Clifton8-Aug-17 9:11
mvaMarc Clifton8-Aug-17 9:11 
GeneralRe: Why do people code this way? PinPopular
TheGreatAndPowerfulOz8-Aug-17 9:54
TheGreatAndPowerfulOz8-Aug-17 9:54 
GeneralRe: Why do people code this way? Pin
Erik Burd9-Aug-17 6:52
professionalErik Burd9-Aug-17 6:52 
GeneralRe: Why do people code this way? Pin
Jörgen Andersson8-Aug-17 10:00
professionalJörgen Andersson8-Aug-17 10:00 
GeneralRe: Why do people code this way? Pin
Slacker0078-Aug-17 9:13
professionalSlacker0078-Aug-17 9:13 
GeneralRe: Why do people code this way? Pin
PIEBALDconsult8-Aug-17 9:31
mvePIEBALDconsult8-Aug-17 9:31 
GeneralRe: Why do people code this way? Pin
rguilmette8-Aug-17 9:43
rguilmette8-Aug-17 9:43 
GeneralRe: Why do people code this way? Pin
GKP19928-Aug-17 22:12
professionalGKP19928-Aug-17 22:12 
GeneralRe: Why do people code this way? Pin
Marc Clifton8-Aug-17 11:23
mvaMarc Clifton8-Aug-17 11:23 
GeneralRe: Why do people code this way? Pin
harold aptroot8-Aug-17 9:46
harold aptroot8-Aug-17 9:46 
GeneralRe: Why do people code this way? Pin
CodeWraith8-Aug-17 20:00
CodeWraith8-Aug-17 20:00 
GeneralRe: Why do people code this way? Pin
maze39-Aug-17 0:42
professionalmaze39-Aug-17 0:42 
GeneralRe: Why do people code this way? Pin
CodeWraith9-Aug-17 0:57
CodeWraith9-Aug-17 0:57 
GeneralRe: Why do people code this way? Pin
maze39-Aug-17 4:00
professionalmaze39-Aug-17 4:00 
GeneralRe: Why do people code this way? Pin
sir_download_alot8-Aug-17 20:55
professionalsir_download_alot8-Aug-17 20:55 
GeneralRe: Why do people code this way? Pin
Marc Clifton9-Aug-17 2:20
mvaMarc Clifton9-Aug-17 2:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.