Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 24 18:06
    StevenLiekens commented #59
  • Mar 24 18:05
    StevenLiekens closed #59
  • Mar 24 18:05
    StevenLiekens commented #59
  • Mar 24 17:47
    StevenLiekens closed #58
  • Mar 24 17:47
    StevenLiekens commented #58
  • Mar 19 13:02
    Friesinator edited #59
  • Mar 19 13:01
    Friesinator opened #59
  • Mar 18 12:38
    StevenLiekens commented #58
  • Mar 15 15:19
    GHOSCHT commented #58
  • Mar 14 22:01
    Seeker1437 commented #58
  • Mar 14 20:08
    GHOSCHT commented #58
  • Mar 12 15:40
    StevenLiekens commented #58
  • Mar 10 15:46
    GHOSCHT opened #58
  • Apr 15 2018 16:43

    Ruhrpottpatriot on ServiceClient

    Remove superfluous compression … Add simple caching to Core proj… Move files into different folde… and 8 more (compare)

  • Apr 10 2018 21:09

    Ruhrpottpatriot on ServiceClient

    Add fluent api to create HttpRe… Fix Stylecop errors Remove dead code and 3 more (compare)

  • Mar 29 2018 13:11

    Ruhrpottpatriot on NetCore2.0

    Remove disabled and superseded … Delete unused leftover code fro… Move V1.Guild test to appropria… and 8 more (compare)

  • Mar 29 2018 12:17

    Ruhrpottpatriot on NetCore2.0

    Update .gitignore to exclude St… Add Api builder class (compare)

  • Feb 01 2018 09:33

    Ruhrpottpatriot on master

    Refactorize ServiceClient.GetHt… Merge pull request #57 from Kor… (compare)

  • Feb 01 2018 09:33
    Ruhrpottpatriot closed #57
  • Dec 27 2017 17:37
    Korjam opened #57
Steven Liekens
@StevenLiekens
yea
Darnell Williams
@Seeker1437
gottcha sorry for the offtopicness
shurne
@SamHurne
Oh man that moment when you look at your old code and ask yourself "wtf was I thinking, this is so bad..."
Steven Liekens
@StevenLiekens
It's a really cool app though
And I've seen much worse
Written much worse, too 😂
Darnell Williams
@Seeker1437
hehe XD
Robert Logiewa
@Ruhrpottpatriot
@/all Sorry, for not writing anything in the last month or so. Preparation for exams, which come up the next three weeks have been particular stressfull this semester. But I looked at the current HttpClient branch and saw that it's nearly finished. There are some bugs to iron out, but nothing major. So if anyone is interested, he can take over.
Some things to note: Converter structure has been left almost entirely intact, so nothing to do here and I don't want to touch it until we got the underlying system robust enough. I have some ideas how we can throw most of the code out of the window. Most of it deals with JSON.Net (there's really no reason anymore, to not use it as default) and it's internal parser (it uses Attributes, which @StevenLiekens doesn't like, but if it makes better code, I'm willing to use it).
The new repository structure is entirely the same for "standard" api endpoint layout, so a user only has to implement two interfaces and he's done. For anything else there needs to be a custom interface describing the layout. That should be put into core obviously.
That's it basically. I'll try to read more often here, so if there are questions just ask.
Steven Liekens
@StevenLiekens
I'm in the middle of getting a new job
I don't have the motivation to work on it right now
Maybe things get better in my new job
Robert Logiewa
@Ruhrpottpatriot
It's ok, but when playing with the new .NET Standard, I saw that it doesn't support embedded ressources, so we have to think of a new way to support events.
Darnell Williams
@Seeker1437
Oooh...
Why .netstandard?
Robert Logiewa
@Ruhrpottpatriot
Currently we are using PCL to make GW2.NET available to as many users as possible, but .netstandard, or the thing replacing .netstandard, whose name I forgot, is replacing PCL, therefore we are migrating to it
after we implemented HTTP client ofc
Darnell Williams
@Seeker1437
oh .net core?
Robert Logiewa
@Ruhrpottpatriot
yeah, that
Darnell Williams
@Seeker1437
resources are embedded b default :O
{
  "version": "1.0.0-*",
  "compilationOptions": {
    "emitEntryPoint": true
  },

  "resource": [
    "fakedata.json"
  ],

  "dependencies": {
    "Microsoft.AspNet.IISPlatformHandler": "1.0.0-rc1-final",
    "Microsoft.AspNet.Owin": "1.0.0-rc1-final",
    "Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-final",
    "Nancy.Linker": "0.3.0"
  },

  "commands": {
    "web": "Microsoft.AspNet.Server.Kestrel"
  },

  "frameworks": {
    "dnx451": {
      "dependencies": {
        "Nancy": "1.4.3",
        "Nancy.Owin": "1.4.1"
      }
    }
  },

  "exclude": [
    "wwwroot",
    "node_modules"
  ],
  "publishExclude": [
    "**.user",
    "**.vspscc"
  ]
}
var assembly = Assembly.GetExecutingAssembly();
var resourceStream = assembly.GetManifestResourceStream("MyNamespace.fakedata.json");

using (var reader = new StreamReader(resourceStream, Encoding.UTF8))
{
    return reader.ReadToEnd();
}
Or did you mean something different?
Robert Logiewa
@Ruhrpottpatriot
Dunno if it's the same, but I meant our embedded xml event rotation ressource files
Darnell Williams
@Seeker1437
ah I see, what I have here is resource not embedded resource
Robert Logiewa
@Ruhrpottpatriot
I don't think that'll work. It's simply a list of events and when they startz
I was thinking of making the events into a json file and upload them to static github pages and then query them like any other API endpoint
Steven Liekens
@StevenLiekens
yeah that does make it a lot easier to maintain
Robert Logiewa
@Ruhrpottpatriot
Currently I only have it locally. I also changed the format to make it more readable. Each event now sports a start and end time as well as a time delta
we need to cahgne the code for that a bit, but since events are at regular intervals, this makes things much easier
Steven Liekens
@StevenLiekens
honestly though I'd like to vote to remove it
Robert Logiewa
@Ruhrpottpatriot
or that
Steven Liekens
@StevenLiekens
a lot of maps have timed rotations now
Robert Logiewa
@Ruhrpottpatriot
care to explain? I've been out of the loop since before the HoT release
Steven Liekens
@StevenLiekens
have you played Dry Top?
that was the first map to have events on schedules
now all of the HoT maps have it
Robert Logiewa
@Ruhrpottpatriot
how does it work?
i think I played it
but I'm not sure
Steven Liekens
@StevenLiekens
dry top has sandstorms
and all of the events start at specific times
which is entirely against the philosophy behind dynamic events
but it's very similar to world boss rotations
Robert Logiewa
@Ruhrpottpatriot
ah
another question:
Steven Liekens
@StevenLiekens
I died while I was typing all that :c
Robert Logiewa
@Ruhrpottpatriot
xD