These are chat archives for arenanet/api-cdi

1st
Dec 2017
darthmaim
@darthmaim
Dec 01 2017 09:05
@Eearslya haha, 132 lines of c vs 1 line haskell :D
smiley
@codemasher
Dec 01 2017 13:55
effing windows10
again, some windows service locks up one core
brb reboot

thanks microsoft for stealing half an hour of my time each day*

*since the force-update to w10

Enno G.
@SchoolGuy
Dec 01 2017 14:00
Linux will always welcome new users 😊
No reboots needed 🤗
smiley
@codemasher
Dec 01 2017 14:00
we both know linux isn't an option
car != motorbike
Enno G.
@SchoolGuy
Dec 01 2017 14:01
Why? I am using it and it is beautiful (except for Gaming)
smiley
@codemasher
Dec 01 2017 14:01
see
Enno G.
@SchoolGuy
Dec 01 2017 14:01
Well this is true, but only when in relation to gaming
Rest is no problem anymore
smiley
@codemasher
Dec 01 2017 14:01
i have linux on y servers, VMs, routers mobile devices etc
and it's completely fine
but it's not an option for desktop to date
and probably never will be
Enno G.
@SchoolGuy
Dec 01 2017 14:02
Yeah ok true, but the only reason I am using it for Desktop is Gaming
smiley
@codemasher
Dec 01 2017 14:03
the last time i've installed a "desktop" linux (earlier this year) i wanted to throw my pc outta the window
like... wtf y u need break with all conventions???
nah, just leave my my win7
Enno G.
@SchoolGuy
Dec 01 2017 14:05
Ok, after years of searching I found my holy KDE Ubuntu 😊
I will now worrys
*no
smiley
@codemasher
Dec 01 2017 14:06
linux desktop UX will continue to be horrible as there's literally no coordination
which is what made windows what it is
(except... win8-10)
smiley
@codemasher
Dec 01 2017 14:19
image.png
thefuck
Eearslya Sleiarion
@Eearslya
Dec 01 2017 14:45
@darthmaim fite me XD
darthmaim
@darthmaim
Dec 01 2017 14:50
:P
Eearslya Sleiarion
@Eearslya
Dec 01 2017 14:51
@darthmaim if we're being fair, the part that actually solves it is 17 lines; the rest is just file reading, timing, and formatting
darthmaim
@darthmaim
Dec 01 2017 14:51
still 17 more lines than haskell :P
Eearslya Sleiarion
@Eearslya
Dec 01 2017 14:52
Well I could make it 1 line if I really wanted to, since C doesn't care about line breaks XP
darthmaim
@darthmaim
Dec 01 2017 14:52
well yeah, still <80 chars length for me
I kinda want to use a different language everyday
so sooner or later I have to write a long solution too
Eearslya Sleiarion
@Eearslya
Dec 01 2017 14:53
I like C99
And half the reason it's even 17 lines is because I decided to go with the always braces style
no oneliners
it could easily be 7 lines if I shrunk down the if blocks
Eearslya Sleiarion
@Eearslya
Dec 01 2017 15:01
the puzzle said we had 1 millisecond; I did both parts in 0.1ms :D
darthmaim
@darthmaim
Dec 01 2017 15:01
You only read the first part of the puzzle then :P
Eearslya Sleiarion
@Eearslya
Dec 01 2017 15:02
Yeah, yeah, every millisecond is like 24 hours, hush
darthmaim
@darthmaim
Dec 01 2017 15:02
:P
Eearslya Sleiarion
@Eearslya
Dec 01 2017 15:02
I still did it
Archomeda
@Archomeda
Dec 01 2017 15:02
why :D tho? D:
Eearslya Sleiarion
@Eearslya
Dec 01 2017 15:02
also realized I can cut a few lines with a ternary operator
Archomeda
@Archomeda
Dec 01 2017 15:02
just embrace the :D
Eearslya Sleiarion
@Eearslya
Dec 01 2017 15:02
because I don't want the emoji
Archomeda
@Archomeda
Dec 01 2017 15:02
\:D
:(
Eearslya Sleiarion
@Eearslya
Dec 01 2017 15:03
the emoji must die
Archomeda
@Archomeda
Dec 01 2017 15:03
escaping doesn't even work
:​D
zero width spaces ftw
Eearslya Sleiarion
@Eearslya
Dec 01 2017 15:05
but yeah, I'm well aware I'm not winning any code golf challenges or getting on the leaderboard, but it's still fun
Archomeda
@Archomeda
Dec 01 2017 15:07
i really should try to actually complete the whole advent
but i always forget about it after a few days :')
Eearslya Sleiarion
@Eearslya
Dec 01 2017 15:07
I should too, my last two years are spotty
but more so because the challenges get difficult
Archomeda
@Archomeda
Dec 01 2017 15:11
also, my steam link is finally shipping, but the code isn't valid yet :(
Eearslya Sleiarion
@Eearslya
Dec 01 2017 16:27
What format was the uisz entry in the mumble link?
Archomeda
@Archomeda
Dec 01 2017 16:34
hold on
int
0 = small, 1 = normal, 2 = large, 3 = larger
Eearslya Sleiarion
@Eearslya
Dec 01 2017 16:41
much obliged
wiki hadn't been updated
@Archomeda You doing advent of code?
Archomeda
@Archomeda
Dec 01 2017 16:50
maybe
probably not
Eearslya Sleiarion
@Eearslya
Dec 01 2017 16:55
Aw.
Edgar Doiron
@Coffee4cr
Dec 01 2017 16:55
I finished it
decided to go with GO
not sure I like the language
Eearslya Sleiarion
@Eearslya
Dec 01 2017 16:55
I was pondering the idea of going through all 3 years and making a fancy CURSES application that works with all challenges
Edgar Doiron
@Coffee4cr
Dec 01 2017 17:02
why is there so much type casting in GO
it was my first time using it, and I had my solution in like 5 minutes, but it took me an hour to get it to work, with all the type error I was getting
Eearslya Sleiarion
@Eearslya
Dec 01 2017 17:12
Never used it; I'm used to C where you have to specifically define types anyway
idivait
@idivait
Dec 01 2017 17:43
@Archomeda There are a few of us on the GW2Bot Discord that are beta testing it - It's using the Mumble link functionality to determine character/location, then using the API to determine what spec you're using. It's pretty nifty, but also somewhat buggy cause true beta lol. @Maselkov has been doing some great work.
Archomeda
@Archomeda
Dec 01 2017 18:15
yeah, i kinda got it when i was talking to that guy who was running it :)
also, a bunch of items got whitelisted: https://en.gw2treasures.com/
3h ago
i don't know how, if lye is still away
/shrug
Quaggan BooOOoot
@QuagganBooOOoot
Dec 01 2017 18:15
¯\_(ツ)_/¯
Archomeda
@Archomeda
Dec 01 2017 18:17
@darthmaim maybe gw2treasures had some issues, as @Darqam did mention something about the items...
or are you certain these items just showed up?
darthmaim
@darthmaim
Dec 01 2017 18:18
nope, my server was broken
I still had an old IP in the /etc/hosts
Archomeda
@Archomeda
Dec 01 2017 18:18
:cry:
well, that explains it
darthmaim
@darthmaim
Dec 01 2017 18:19
funny enough, some stuff (like daily achievements) were still working
Archomeda
@Archomeda
Dec 01 2017 18:19
maybe the old servers are still running, partly?
darthmaim
@darthmaim
Dec 01 2017 18:19
but the updater crashed with failed to open stream: Redirection limit reached, aborting
I was checking another service running also on my server to see if the gw2treasures updater was broken
they are both totally different, so since both showed no items, I assumed no items were added
Archomeda
@Archomeda
Dec 01 2017 18:21
ah
smiley
@codemasher
Dec 01 2017 21:54
when you find code blocks like for($i = 1; $i < 1; ++$i)...
Eearslya Sleiarion
@Eearslya
Dec 01 2017 21:56
what
how
...
also for ($i = 1;$i < 2;++$i)
$i THO
Eearslya Sleiarion
@Eearslya
Dec 01 2017 22:56
copy-pasting withing understanding the code
smiley
@codemasher
Dec 01 2017 22:57
the whole code is v weird
...but it works!
smiley
@codemasher
Dec 01 2017 23:03
and it has christmas trees in it!
image.png