These are chat archives for arenanet/api-cdi

4th
May 2016
Christian
@zeeZ
May 04 2016 08:01
I like client cert auth
but the UX is horrible
That's how the hip people say it, right? UX
Aralicia
@Aralicia
May 04 2016 08:09
I don't consider UX something hip. That simply a way to not have say the whole "User Experience". We tend to be lazy in the domain, so we put acronym on everything. Even things like l10n and i18n.
Christian
@zeeZ
May 04 2016 08:13
took me many years to figure out what's up with those lions
Christian
@zeeZ
May 04 2016 09:34
Never!
Edgar Doiron
@Coffee4cr
May 04 2016 13:13
is full cleric ele still a thing?
I run Zealot armor with cleric trinkets, I love how versatile it is in group fights
Christian
@zeeZ
May 04 2016 13:31
I somehow ended up with a soldier cleric with altruism runes
Edgar Doiron
@Coffee4cr
May 04 2016 13:31
if you run aura, check out radiance
Christian
@zeeZ
May 04 2016 13:32
I run away, mostly
Edgar Doiron
@Coffee4cr
May 04 2016 13:32
LOL
Christian
@zeeZ
May 04 2016 13:33
with the occasional spear of justice pull off a wall or a hammer bash off a cliff
Christian
@zeeZ
May 04 2016 17:01
adulting is hard. you're reduced to a table of numbers and labels you're supposed to know and fill out, but they're all supposed to be foreign keys that nobody set up properly, so you've got to figure it all out on your own
Aralicia
@Aralicia
May 04 2016 17:02
... doing taxes ?
... running MySQL ?
Christian
@zeeZ
May 04 2016 17:02
feels pretty nosql
new job
luckily you can pay people to do taxes for you
darthmaim
@darthmaim
May 04 2016 17:25
you can pay people to work for you, too
smiley
@codemasher
May 04 2016 17:31
can i pay people to live my life for me, too?
i'd take another one then
Edgar Doiron
@Coffee4cr
May 04 2016 18:01
lol
what the heck
does anyone have item ids for recipes that unlock multiple recipes?
like, that the API says unlocks multiple recipes
Aralicia
@Aralicia
May 04 2016 18:06
hmmm.
Nabrok
@Nabrok
May 04 2016 18:06
I know there are some recipes that are different but have the same name
I'm looking for one that has .details.extra_recipe_ids or something along those lines
Aralicia
@Aralicia
May 04 2016 18:06
Not on hand, but I can search that quickly. The precursor recipes does that, right ?
For the v2 legendaries, yeah, but the API doesn't show it
perfect, that's exactly what I was looking for
no idea why my script didn't pick that up -_-
Aralicia
@Aralicia
May 04 2016 18:09
Maybe because it's not a "Recipe: ", but a "Box of Recipes: " ?
Yeah but there are other boxes that encode the extra recipes differently
and it doesn't show up in the API
Edgar Doiron
@Coffee4cr
May 04 2016 18:10
what about those recipe that craft a full armor set?
are they the same mechnic
Aralicia
@Aralicia
May 04 2016 18:10
ho. Well, I got lucky then. because I litterally took the first one I tried.
@Coffee4cr no, those recipes just produce a container
Edgar Doiron
@Coffee4cr
May 04 2016 18:11
k
Archomeda
@Archomeda
May 04 2016 19:54
@lye, if you still need another one, here's one too https://api.guildwars2.com/v2/items/73247
Thanks, I'm all set -- just needed one to see what was going on on the content side
Working on the fix now and it's a total catastrophe
Archomeda
@Archomeda
May 04 2016 19:55
:fire:?
:cthulhu:
Archomeda
@Archomeda
May 04 2016 19:57
woot, almost completed my first wvw reward track finally
Aralicia
@Aralicia
May 04 2016 19:57
So is it an issue in the API, or do we actually have two distinct ways that have been used to do the same thing ?
Archomeda
@Archomeda
May 04 2016 19:58
just one more tick
The recipes that are "broken" use a script to unlock recipes rather than using the "recipe unlock" fields. So I'm investigating parsing scripts directly.
Archomeda
@Archomeda
May 04 2016 19:58
@Aralicia wouldn't surprise me
that's... just wow
There's a reason why they did it that way but I'd rather take on more technical debt than fix it.
Archomeda
@Archomeda
May 04 2016 19:59
what was that thing again that could be encoded in 3 different ways?
it was a couple of months ago :p
I don't even remember
Aralicia
@Aralicia
May 04 2016 20:00
Ho ? that bad ? usually, it would be better to lower the technical debt.
oh, I think it was like increased boon duration or something
Archomeda
@Archomeda
May 04 2016 20:00
oh yeah
the icons for the skill facts
yeah, except lowering it means changing the structure of content to allow for an additional checkbox, then adapting all code that touches the recipe unlocks to use the new structure
Archomeda
@Archomeda
May 04 2016 20:00
i think for unblockable
which is all pretty far outside my purview
yeah unblockable is another one that has multiple encodings for the tooltip
Aralicia
@Aralicia
May 04 2016 20:02
Arf. yeah. that would be something to notice through a internal ticket.
... that will probably be read once and never acted upon.
Nothing against ANet. But that the kind of shit that usually happens with "not broken" bugs.
features > fixing debt
darthmaim
@darthmaim
May 04 2016 20:02
This message was deleted
pretty typical in almost all software development
Aralicia
@Aralicia
May 04 2016 20:03
yup.
Archomeda
@Archomeda
May 04 2016 20:03
:D
Aralicia
@Aralicia
May 04 2016 20:04
Let's not forget also the fact that we'll do the documentation "later"
Better: the code is the documentation
We should go back to the drawing board w.r.t software
Anyway I'm being all high and mighty but pretty much doing the same thing
Archomeda
@Archomeda
May 04 2016 20:23
don't we all?
at least i'm complaining when there's stuff that's either not documented (or not properly) or the code is a mess; but i happily "forget" documentation myself too and sometimes my code is also a mess :P
Archomeda
@Archomeda
May 04 2016 20:30
actually, when i think about it, i think i would rather think that my code is a mess and can be improved upon, than saying that my code is perfect while it actually isn't
windwarrior
@windwarrior
May 04 2016 20:43
OHH semi related, best comment found in sourcecode: http://stackoverflow.com/a/769443
(updated map tiles are up)
smiley
@codemasher
May 04 2016 21:55
gz!
@windwarrior oh yest, the .psd rant, i remember that one :D

evergreen:

// Magic. Do not touch.

// Here be dragons
smiley
@codemasher
May 04 2016 21:59
i use that a lot :D
Archomeda
@Archomeda
May 04 2016 22:00

OHH semi related, best comment found in sourcecode: http://stackoverflow.com/a/769443

LOL

smiley
@codemasher
May 04 2016 22:01
that whole thread is gold :D
Archomeda
@Archomeda
May 04 2016 22:02
that const int TEN=10; though, although i have to admit, in my course my partner and i were almost thinking of doing that too, since that java code quality checker or whatever that we had to use, was complaining about every number that was not a -1, 0, 1 or 2 for being a "magic number"
later we decided to disable that rule
not worth the effort
const int TEN = 10 is useless, but const int REQ_DELAY_MS = 10 is not
just sayin'
Archomeda
@Archomeda
May 04 2016 22:12
well yeah, that's true; if we ended up making a sensible const for every number we used, we would end up with a screen full of them, since the code that we had to built upon already contained lots of them
oh, and we had to write tests for them as well; compare the calculated values against precalculated values... imagine the consts!
that was a university course about software quality and testing btw
Eearslya Sleiarion
@Eearslya
May 04 2016 22:14
I remember a similar comment of my own
Can't remember the formula, but I got it off the internet and it was so convoluted I just put // I have no idea why this works, but it does. Do not disturb the voodoo magic.
Archomeda
@Archomeda
May 04 2016 22:15

A long time ago, I accidentally fixed a segfault in Java3D by adding a comment. It was 100% reproducible; if I removed the comment, it crashed. As long as the comment was there, it worked fine. I assume it was some bizarre timing issue, but I never did figure out exactly what was happening.

Wait wut

Eearslya Sleiarion
@Eearslya
May 04 2016 22:16
Gotta be an interpreter bug
Archomeda
@Archomeda
May 04 2016 22:29
heh, that \uxxxx comment is actually quite funny
tbh, that's a terrible IDE if it tries to convert it in hex unicode and saves it that way in the file
Archomeda
@Archomeda
May 04 2016 22:36
but i do have quite a funny story
a long time ago i wanted to compile zeroc ice library (or whatever it's called) for my qnap ts112 (arm cpu), since there weren't any precompiled distributions
but it was constantly crashing on one spot
i tried debugging, which was quite an effort on that system, but i couldn't find anything that was causing the issue, because during debug it worked fine
also, i had never used c++ at that point, so yeah...
eventually i learned about the volatile keyword
oh god what
Archomeda
@Archomeda
May 04 2016 22:40
i put that on a method, and it didn't crash anymore
apparently the compiler optimized something away from that method that caused a segfault every single time
i blame the developers for writing such code that it behaved differently on different compilers...
while the code was meant to be cross platform :cry:
No, blame them for writing code with undefined behavior
Archomeda
@Archomeda
May 04 2016 22:42
well yeah, actually that
If volatile changes the semantics and you're not touching hardware (e.g., a read-only memory-mapped register) then you've done something horribly horribly wrong
Archomeda
@Archomeda
May 04 2016 22:43
i wonder if i still have the code somewhere (probably not)
e.g., given
// whatever
actually that's not a good example
https://lwn.net/Articles/342330/ <-- this is what I was trying to express
There's other fun common undefined behavior like signed wraparound being undefined
tl;dr use Haskell instead
Archomeda
@Archomeda
May 04 2016 22:52
that went partly way over my head, wow
in any case, i'm pretty sure i deleted my edited source code
however, i did find the old .ipk files, i think it was one of these packages that i created myself: ice34-slice, ice34-translators, libiceutil34, libslice34, libzeroc-ice34, libzeroc-ice34-dev (why did it have to be so many packages...), also it was version 3.4.2-7.1 apparently
from 2012 :P
back then i was actually trying to make murmur (mumble server) work with ice
Archomeda
@Archomeda
May 04 2016 22:57
i gave up with ice after a while, but i did succeed with murmur though
then after a year or so i decided to just wipe the qnap firmware and install debian instead; not even a year after that i decided to get a decent debian server XD
i had even compiled Qt 4.7.3 and Mono 2.11.4, it took the whole evening because i didn't even know what crosscompiling was back then
but hey, it was fun messing around with it though; except that volatile thing