These are chat archives for arenanet/api-cdi

1st
Dec 2016
EIO cables are the best
and AE2 automation using level emitters can't be beat
Eearslya Sleiarion
@Eearslya
Dec 01 2016 00:17
I wanted to make LogiPipes work, because I always use AE, but...It just can't match up.
Archomeda
@Archomeda
Dec 01 2016 00:28
hmm, that xss game wasn't that hard
and i don't generally do webstuff
the hardest part was figuring out how to host my own js file at the end :P
Archomeda
@Archomeda
Dec 01 2016 00:46
but hey, it does make people aware of things they shouldn't be doing
in which it succeeds with the difficulty imo
Edgar Doiron
@Coffee4cr
Dec 01 2016 01:05
whoever did the french translation of the wiki down for maintenance page is horrible
Nous sommes actuellement en train de mettre àour les logiciels du wiki et la maintenance devrait êe terminéaux alentours de 02h00. Pour vous tenir au courant des derniès nouvelleerci de consulter notre Twitter. Nous sommes déléde la gê occasionnéet vous remercions pour votre patience.

Should be

Nous sommes actuellement en train de mettre à jour les logiciels du wiki et la maintenance devrait être terminé aux alentours de 02h00. Pour vous tenir au courant des dernières nouvelles, prière de consulter notre Twitter. Nous sommes désolé des inconvénients et vous remercions de votre patience.

@StephaneWithAnE_twitter please tell you me you didn't write that

I would have presumed it'd just be a mediawiki translation.
Edgar Doiron
@Coffee4cr
Dec 01 2016 01:09
it's pretty horrible. about half the stuff aren't words
Any of you tried The Secret World, it's in one of the humble bundle currently
been playing for a week, and I'm impressed by their "investigation" quest, which actually makes you search for stuff around the web. Like decoding Morse, or finding the length of a song, multiplying it by 4 to get coordinates on a map
TSW is pretty fun, but some of the investigation missions are crazy
like crazy hard -- admittedly I was pretty smashed and my friends were super into it but they were looking up bible verses and stuff
and I was like "you guys are taking this too seriously"
Edgar Doiron
@Coffee4cr
Dec 01 2016 01:34
haha
but yeah, it's the first time I see something like it
and the fact that it's a lot of lovecraft stuff <3
Archomeda
@Archomeda
Dec 01 2016 03:46
okay, remember last time we talked about updates for windows 10 and auto rebooting? well, i noticed it first hand when i went afk; apparently windows 10 does restart applications that were active before the reboot... hmm
so it kinda restores everything
and it waited like 30 minutes
now this makes me wonder why there's no option to auto restart applications after a normal shutdown :(
darthmaim
@darthmaim
Dec 01 2016 10:04
#48 is still kinda ugly, because we still have to parse the buff description for stuff like agony resistance (for example https://api.guildwars2.com/v2/items/49402), but now ignore the attributes that are in the attributes object already
windwarrior
@windwarrior
Dec 01 2016 13:13
huh what is that item
it looks like a crystalline band, but no upgrades
but all of a sudden it has AR?
it started!
Eearslya Sleiarion
@Eearslya
Dec 01 2016 14:38
Oh boy.
@darthmaim open up a new issue for agony resist if there isn't one already
IIRC it's a super weird attribute and isn't handled the way the rest of 'em are
smiley
@codemasher
Dec 01 2016 15:44
uhh, i'm not exactly up-to-date on the items but have these been fixed, @lye ? https://github.com/codemasher/gw2-database/blob/master/src/Updaters/Items/UpdateItemDB.php#L165-L173
uhh give me a few minutes to look up which items those are on
they might still be; IIRC I handed the issue over to LOC and they might have fixed it?
might crop up again in the future though
smiley
@codemasher
Dec 01 2016 15:45
re boon-duration: altruism/snowflake items
orz
smiley
@codemasher
Dec 01 2016 15:47
ew
IIRC giver's items pre-date concentration and use some silly shenanigans to have effects
and they were just never migrated to the new system
Archomeda
@Archomeda
Dec 01 2016 15:47
oh @lye, i'm unsure if you'll be able to use aws for screeps
smiley
@codemasher
Dec 01 2016 15:47
long live technical debt! :D
ah crap I totally forgot to set that up last night
Archomeda
@Archomeda
Dec 01 2016 15:48
apparently it's because of the cpu credit system in combination with the server running 24/7
cooking took significantly longer than expected and I just passed out afterwards
uhh
you can get ec2 instances that don't have burst cpu
Archomeda
@Archomeda
Dec 01 2016 15:48
true, but aren't those significantly more expensive?
oh i should have read the comment
Archomeda
@Archomeda
Dec 01 2016 15:49
but did you have a nice dinner though? :)
hmm looks like M4.* instances start around an order of magnitude higher than T2.*
no
Archomeda
@Archomeda
Dec 01 2016 15:50
:(
i didn't get around to cooking dinner
just making bread for lunches and some vegetable stock
Archomeda
@Archomeda
Dec 01 2016 15:50
oh wow
then I realized my potatoes are starting to sprout and kind of got upset
and the broth didn't turn out well
and I forgot to do the cuts on top of the bread so it burst a bit
pretty much an unprecedented disaster
Archomeda
@Archomeda
Dec 01 2016 15:51
:sob:
I have like 3 potatoes to prepare tonight
and mushrooms and chicken (which might have gone bad) and a bunch of peppers
my life is a mess
Archomeda
@Archomeda
Dec 01 2016 15:53
that sucks :(
gonna cook something tasty tonight though, rest assured
so a T2.medium has a base utilization of 40% and has 2 CPUs
since screeps is nodejs, it's going to be single-threaded so it's unlikely you'll burn through all your credits
it's $34/month on-demand though, so that's about as expensive as I'd go before just jumping to cheap dedicated hardware
I'm not really sure why screeps would burn CPU though if you set the tick rate reasonably :/
Archomeda
@Archomeda
Dec 01 2016 15:56
by default i think the tick rate is 1 per second
if it ends up using more than 1 second, it overflows and the server "lags" :P
are they running a non-default tick rate on the official server?
also ... is there only one official server for that massive subscription fee? wtf
Archomeda
@Archomeda
Dec 01 2016 15:59
i think i've read something along the lines they aim for 2.5-3s per tick
but yeah :(
that's outrageous for $8/month
Archomeda
@Archomeda
Dec 01 2016 15:59
try €9 per month w/o discounts
Run-time computations are done in parallel on 20 quad-core dedicated servers on OVH using 80 x Intel Xeon CPU E3-1231 v3 processor cores (with respective number of node instances).
okay, that's a bit more reasonable
I didn't realize their compute was distributed
Archomeda
@Archomeda
Dec 01 2016 16:00
apparently some people are running the server on digitalocean
what are the network requirements like? I have a pool of unused hardware at my house
presumably the network bits are fairly light
Archomeda
@Archomeda
Dec 01 2016 16:01
ehm... afaik all the computations are done server sided
the only network transfer should be when people are viewing it with the client and when people are uploading scripts
so i don't think it's that high
Eearslya Sleiarion
@Eearslya
Dec 01 2016 16:04
I'm actually gonna get in on advent of code the day it starts rather than halfway in
I'm excited
pfft, binge or bust
Eearslya Sleiarion
@Eearslya
Dec 01 2016 16:04
Yeah, it is gonna suck having to wait for them but oh well
Archomeda
@Archomeda
Dec 01 2016 16:05
i saw it last year, but completely forgot about it :P
smiley
@codemasher
Dec 01 2016 16:07
Archomeda
@Archomeda
Dec 01 2016 16:10
there's also a 60-day subscription token on the official servers that you can trade with other players
but i think it will take a lot of resources when you're not paying :P
lye @lye signs up for the gw2e christmas lottery
Eearslya Sleiarion
@Eearslya
Dec 01 2016 16:33
the hwat
Eearslya Sleiarion
@Eearslya
Dec 01 2016 16:34
Holy jeez dat 25th
windwarrior
@windwarrior
Dec 01 2016 16:36
oh what a lovely world we live in, order something from the US, pay 21% taxes because you are importing it... fine... and also pay 13 euro's to your postal service because they - without consulting you - covered that cost for you until you picked it up
also be sure to participate in Secret Santa once it reappears
Secret Toymaker*
Eearslya Sleiarion
@Eearslya
Dec 01 2016 16:47
I wonder if my collection of ugly wool clothing will pay off this year
darthmaim
@darthmaim
Dec 01 2016 16:50
I could run screeps on my server
David Reeß
@queicherius
Dec 01 2016 17:59
@lye Good luck :)
:D
windwarrior
@windwarrior
Dec 01 2016 18:10
if @queicherius is not using secure random, you might be able to rig the roll!
David Reeß
@queicherius
Dec 01 2016 18:15
@windwarrior I'd be so impressed, I wouldn't even be mad
windwarrior
@windwarrior
Dec 01 2016 18:16
David Reeß
@queicherius
Dec 01 2016 18:17
// Give Eternity to myself, I need it in my life
Oops wrong chat
windwarrior
@windwarrior
Dec 01 2016 18:18
well you could have not added it to the loot table
why is rifle so useless in GW2 :(
David Reeß
@queicherius
Dec 01 2016 18:19
Lmao, I just checked the stats. About 1000 people that entered for the 1st but didn't for the big price
windwarrior
@windwarrior
Dec 01 2016 18:19
what am I going to do with all my pretty rifle skins including The Predator now ;(
David Reeß
@queicherius
Dec 01 2016 18:19
Rifle Thief pls
windwarrior
@windwarrior
Dec 01 2016 18:20
make rifle engi great again
Got the White Mantle rifle last week, was like this is a pretty skin
to be immediately reminded of the lack of use for rifles :(
Jonathan Andrist
@rwfrk_twitter
Dec 01 2016 18:22
Is there an issue for Stronghold Champion Skins somewhere I missed?
smiley
@codemasher
Dec 01 2016 18:23
oh shit, i just realized that my GW1 acc turned 9 years old :D
Jonathan Andrist
@rwfrk_twitter
Dec 01 2016 18:23
Grats!
smiley
@codemasher
Dec 01 2016 18:23
ty!
@rwfrk_twitter AFAIK there isn't one yet
Jonathan Andrist
@rwfrk_twitter
Dec 01 2016 18:25
Opened as 396.
smiley
@codemasher
Dec 01 2016 18:27
WTB 4K-GUI update for GW1! https://chillerlan.de/gwcom/gw002.jpg
windwarrior
@windwarrior
Dec 01 2016 18:28
thats also an issue in GW2 right?
smiley
@codemasher
Dec 01 2016 18:28
and many other games
tbh, the GW2 UI/UX is a mess now
GW1 was near-perfect
Eearslya Sleiarion
@Eearslya
Dec 01 2016 18:30

Lmao, I just checked the stats. About 1000 people that entered for the 1st but didn't for the big price

...oops

Thanks for bringing that up XD
I had just assumed it was only there to show, not to enter yet XD
smiley
@codemasher
Dec 01 2016 18:31
About 1000 people that entered CANNOT READ
:D
Archomeda
@Archomeda
Dec 01 2016 18:32
is that surprising @codemasher? :P
smiley
@codemasher
Dec 01 2016 18:32
no, just matter of fact :D
Archomeda
@Archomeda
Dec 01 2016 18:32
:D
smiley
@codemasher
Dec 01 2016 18:33
btw. i got a white rabbit from that birthday gift! enjoy your jennah minipets :D
Archomeda
@Archomeda
Dec 01 2016 18:33
also, wth CoA... y u no accept my answer
oh wait
windwarrior
@windwarrior
Dec 01 2016 18:35
am I the only one that likes the clarity of the GW2 UI?
Archomeda
@Archomeda
Dec 01 2016 18:35
wth node...
smiley
@codemasher
Dec 01 2016 18:35
what
Archomeda
@Archomeda
Dec 01 2016 18:35
why is -1 % 4 = -1?
smiley
@codemasher
Dec 01 2016 18:35
nah, mine was @windwarrior :D
Archomeda
@Archomeda
Dec 01 2016 18:36
i'm expecting -1 % 4 = 3
smiley
@codemasher
Dec 01 2016 18:36
also @Archomeda why not? :D
#MATH
Archomeda
@Archomeda
Dec 01 2016 18:36
because modulo of negative numbers
smiley
@codemasher
Dec 01 2016 18:36
(irony)
#JAVASCRIPTMATH
Archomeda
@Archomeda
Dec 01 2016 18:37
argh
smiley
@codemasher
Dec 01 2016 18:38
btw. has anet finally given up on banning goldsellers from GW1?
have a look at the kamadan AE1 party search...
the good thing about javascript, if you have no clue why something works, the documentation is pretty explicit
Archomeda
@Archomeda
Dec 01 2016 18:41
meh
i've worked around that stupid issue by doing (-1 + 4) % 4 = 3
windwarrior
@windwarrior
Dec 01 2016 18:42
why is [] + [] == "", thats because of the way + coerces its arguments
Archomeda
@Archomeda
Dec 01 2016 18:42
yeah, but i'm at least expecting proper math :P
smiley
@codemasher
Dec 01 2016 18:43
in JS...
...
windwarrior
@windwarrior
Dec 01 2016 18:43
well Javascript could have been PHP, where the specification of the language is the same as the implementation
smiley
@codemasher
Dec 01 2016 18:43
but php is at least better at math
windwarrior
@windwarrior
Dec 01 2016 18:43
like, if you wish to reimplement PHP it has to behave the same as Zend (the most used PHP engine)
darthmaim
@darthmaim
Dec 01 2016 18:46
I think there is not a single (common) programming language that has a proper module operator
And by that mean a mathematically correct modulo operator
smiley
@codemasher
Dec 01 2016 18:49
just wondered why my mes was equipped with daggers, but then i remembered i was trying crazy stuff with https://wiki.guildwars.com/wiki/Illusionary_Weaponry
but why again...?
ChieftainAlex
@ChieftainAlex
Dec 01 2016 19:10
signet buffs/attack speed.
Eearslya Sleiarion
@Eearslya
Dec 01 2016 19:20
Advent of Code day 1 complete
woo
Archomeda
@Archomeda
Dec 01 2016 19:24
Points: 0
that leaderboard is bs :P
Eearslya Sleiarion
@Eearslya
Dec 01 2016 19:28
It kinda is XD
Wow, though
It was at 2500 people when I looked at it this morning
Now 3600
Eearslya Sleiarion
@Eearslya
Dec 01 2016 19:36
I should finish advent of code 2015 at some point
But there were some pretty tough ones (for me, at least)
Edgar Doiron
@Coffee4cr
Dec 01 2016 19:48
TIL that negative modulo in JS is broken as shit
darthmaim
@darthmaim
Dec 01 2016 19:48
not only in JS
here is a table with all the broken languages: https://en.wikipedia.org/wiki/Modulo_operation
Archomeda
@Archomeda
Dec 01 2016 21:18
well, rip my old ip address
after 2 years or so, i've now a new ip
Edgar Doiron
@Coffee4cr
Dec 01 2016 21:26
stupid day 1_2 made me recode what I had
Archomeda
@Archomeda
Dec 01 2016 21:28
:D
Edgar Doiron
@Coffee4cr
Dec 01 2016 21:29
and at first I didn't understand day 1_2
I was looking for the end location... doesn't santa Teleport?
guess not
it's where he crossed path again
darthmaim
@darthmaim
Dec 01 2016 22:00
I made the same mistake
Eearslya Sleiarion
@Eearslya
Dec 01 2016 22:01
Yeah part two messed up my original implementation; I just split them into 2 functions
Archomeda
@Archomeda
Dec 01 2016 22:50
mine wasn't that much different :P
what were your approaches then?
Eearslya Sleiarion
@Eearslya
Dec 01 2016 23:15
unsigned char map[1024][1024];
I even added unit tests and coverage because I'm insane
Archomeda
@Archomeda
Dec 01 2016 23:17
wow
Archomeda
@Archomeda
Dec 01 2016 23:18
oh holy shit, in c even
Eearslya Sleiarion
@Eearslya
Dec 01 2016 23:18
Yeeep.
Unit tests were fun to figure out.
Archomeda
@Archomeda
Dec 01 2016 23:19
for the first part, i just followed all the directions, applied it to a currentCoords variable, and in the end i calculated the distance
for the second one, i only needed to keep track of every block i've been in, and check on every step if it already exists
performance wise not the best, but it did its job
i suppose i could've done it by creating a 2d array, or by using hashes, because right now i just throw it in an array and manually check if it exists in there :P
Eearslya Sleiarion
@Eearslya
Dec 01 2016 23:43
That's pretty much exactly what I did
Except C doesn't have the luxury of creating array elements out of thin air
..Er, wait
You mean you push the coordinates into an array, like..a string? And then check if that string is in there?
Archomeda
@Archomeda
Dec 01 2016 23:44
well, sort of, except it's not a string but an object :P
Eearslya Sleiarion
@Eearslya
Dec 01 2016 23:47
Ouch XD
Archomeda
@Archomeda
Dec 01 2016 23:49
it was still fast enough :D
they should base the leaderboard on that
but then they need to host and run the code
Eearslya Sleiarion
@Eearslya
Dec 01 2016 23:50
Leaderboards based on code size/speed would become a battle of languages
Archomeda
@Archomeda
Dec 01 2016 23:50
true
Eearslya Sleiarion
@Eearslya
Dec 01 2016 23:51
CodInGame did that well though
I feel like there's a really snazzy way to do the second part
@Eearslya also my input has R191 which ... well there's always realloc :D
Eearslya Sleiarion
@Eearslya
Dec 01 2016 23:53
That's kinda why I did [1024][1024]
Archomeda
@Archomeda
Dec 01 2016 23:53
i've got a L185, R51, R78 and R188 in mine :D
Eearslya Sleiarion
@Eearslya
Dec 01 2016 23:53
L193
Adding travis and codecov to my project now
I'm going all the way
Archomeda
@Archomeda
Dec 01 2016 23:56
can't be bothered :D
lol