[02:24:48] gsingh93: you there? [02:24:59] yup [02:25:07] perfect, I can be lazy [02:25:18] can you see what the error is in the heroku logs? [02:25:25] i don't have a local instance up [02:26:18] inb4noerror [02:26:24] which happens way too often with heroku [02:26:59] lol [02:27:00] no error [02:27:15] sigh [02:30:51] wtf, it works on my computer [02:32:06] is it a Bad Idea(r) to enable stack traces [02:35:02] gsingh93: wat do [02:35:22] yolo [02:35:25] enabling stack traces [02:35:35] simplest solution [02:35:41] do you know how [02:36:03] was it app_debug or something? [02:36:14] yes, in uppercase [02:36:23] done [02:36:52] oh, it worked on my machine because my machine had no terms lol [02:39:49] o [02:39:52] fixed [02:40:08] though you might wanna wait a second in case there are more issues [02:40:41] k works, nuke stack traces gsingh93 [02:40:57] done [02:41:03] 👍 [02:41:26] https://hackers-voting.herokuapp.com/data/votes [02:41:55] so, it's showing the previous term that the app uses for some reason [02:42:02] might just hide term ID 1 [02:51:34] actually, tomorrow I think you can just delete term #1 [03:10:49] wait [03:10:53] why do i need to delete anything [03:10:59] its looking at the past term [03:11:02] which makes sense [03:11:31] when the election is over it needs to look at the past election [03:12:11] term #1 was never an election though [03:12:14] or a real term [03:12:28] so? [03:12:34] after tomorrow it should all work [03:12:36] right? [03:12:43] so it's cluttering the votes data :p [03:12:48] what data? [03:12:55] https://hackers-voting.herokuapp.com/data/votes [03:12:58] yea i saw [03:13:00] it's empty data [03:13:04] that'll always be there [03:13:09] oh [03:13:20] so it's not an issue [03:13:24] just a cleanup thing [03:13:26] yeah [03:13:30] kk [03:13:34] we can do that whenever [03:13:45] :+1 [03:13:48] dang it [03:13:52] 👍 [03:14:01] lol [03:14:17] whenever you guys use unicode symbols i just see the raw unicode codepoints [03:14:30] lol [03:14:36] terminal IRC client? [03:15:26] yea, weechat [03:15:53] ah [03:15:55] http://unicode-table.com/en/search/?q=01f44d [03:15:55] Title: Search - Unicode® character table [03:15:57] lol [03:16:14] i'll send photos of the emoji from now on [03:16:18] haha [03:16:30] nah, i'm fine with just memorzing codepoints [03:16:31] https://usercontent.irccloud-cdn.com/file/s0xk53b0/Screen%20Shot%202016-01-03%20at%203.16.19%20AM.png [03:16:49] in fact, from now on i'm just going to send you U+01F44D [03:17:01] you'll know what it means [03:17:11] 👍 [03:17:22] lol [03:18:16] https://github.com/wearehx/voting/blob/master/app/Http/Controllers/DataController.php#L27 maybe I shouldn't write this at 2AM [03:18:16] Title: voting/DataController.php at master · wearehx/voting · GitHub [03:19:00] haha [03:19:24] > TODO: There should be a better way to do this. [03:19:52] i've already written 'TODO: Refactor' elsewhere, so I had to reword [03:20:08] we can probably that in less sql queries [03:20:28] do that* [03:21:18] i think it's only three [03:21:30] i was looking up some complex stuff in eloquent [03:21:34] lots of oneliners [03:21:42] yeah [03:21:55] i hate how it makes you do ->get() on a query though [03:22:43] probably have to do it though with the chained function calls in PHP [03:24:38] alright, i'm going to bed [03:24:41] night [03:25:16] psh, only 12AM [03:25:27] gnite :p [15:53:34] *** Quits: vishwin_ (~alliek@wikimedia/O) (Ping timeout: 276 seconds) [15:59:11] *** Joins: vishwin_ (~alliek@wikimedia/O) [18:06:34] iangcarroll: 1 hour until the election ends [18:06:38] o shit [18:06:40] i forgot to post [18:06:43] lolol [18:11:42] kk, bit last minute but [18:12:45] so i'm pulling the winners manually from the db? [18:12:55] there has to be a one line eloquent query to do this [18:18:09] can you do a count on a group_by? [18:18:26] i can probably join the candidates with the votes and group by candidate [18:18:30] but i'd just want a count of each [18:19:01] wait, is your data thing going to show a count too or just the raw votes? [18:28:43] it just shows the raw votes [18:28:54] though I'm thinking of adding an array with the winners [18:30:11] can one liners include closures? :p [18:31:21] probably some way [18:31:36] https://stackoverflow.com/questions/18533080/laravel-eloquent-groupby-and-also-return-count-of-each-group [18:31:37] Title: Laravel Eloquent groupBy() AND also return count of each group - Stack Overflow [18:31:39] is that relevant? [18:33:10] possibly, lemme check [18:34:17] that [18:34:25] 's only pulling from one table though, right? [18:35:27] yea, but we can use it after we join [18:35:34] yea [18:52:14] k, 8 minutes left [18:52:33] do you have a query we can use? if we don't have a one liner that's fine [18:53:35] iangcarroll: ^ [18:55:01] o, gimme a sec and I'll (try) to make one [18:55:08] (try to) * [19:00:13] ... [19:00:17] i'm going to get started on the post, let me know [19:00:26] the data endpoint died [19:00:41] lol [19:02:34] fix going out maybe [19:03:11] nope, still broken [19:04:38] gsingh93: any logs? [19:04:45] this will be a shit time for heroku to not log [19:05:00] can't enable stacktraces without potentially exposing votes [19:05:05] lel. [19:05:47] don't see any errors [19:06:01] trying fix #3 [19:07:09] thank god it worked [19:07:10] alright [19:11:16] iangcarroll: honestly, we should have one script to parse the json from the results and give the winner [19:11:30] the whole point is that it's for validation, right? [19:11:56] yeah; I gave up on joins for now, writing a ->each() style counter atm [19:13:02] will write a script for others after [19:13:34] (y) [19:13:43] U+01F44D [19:14:00] lol [19:14:16] http://pastie.org/private/8uhkmgyrrns2bdcv7iiura [19:14:16] Title: Private Paste - Pastie [19:14:24] will print 3 candidate IDs [19:15:04] kk, one sec [19:15:11] finishing up the post, will add the names in a sec [19:15:14] http://pastie.org/private/8rpwyzmrdsucnvd6k0lfmq is a better version [19:15:15] Title: Private Paste - Pastie [19:15:16] kk [19:18:16] wait that script won't work lol [19:18:40] gsingh93: don't post those results LOL [19:18:44] i dunno if it'll work [19:18:47] but if it does... [19:20:27] PHP error: Undefined offset: 0 on line 1 [19:20:34] my post is pretty much done [19:20:37] just waiting on the winners [19:21:13] yeah [19:22:01] http://pastie.org/private/p6uscmjmvz3j1fobbunpyg [19:22:01] Title: Private Paste - Pastie [19:22:27] pls make sure the final output sanely matches the var_dump output [19:22:35] haven't tested iut [19:22:36] it [19:23:04] 60 45 37 [19:23:30] i don't get it [19:23:35] oh, it's outputting the counts... [19:23:36] sigh [19:23:43] oh lol [19:24:04] http://pastie.org/private/h1upaw3ctiw5btbdmuq9mw [19:24:04] Title: Private Paste - Pastie [19:24:12] i feel like I'm gonna fuck this up lmao [19:25:03] sigh [19:25:04] PHP error: Only variables should be passed by reference on line 1 [19:25:07] let me look at this script [19:25:13] i can probably handle it [19:25:13] i give up [19:25:16] lmao [19:26:51] my script works [19:26:59] [2]=> [19:26:59] int(60) [19:26:59] [6]=> [19:26:59] int(45) [19:26:59] [3]=> [19:27:00] int(37) [19:27:08] so candidates 2, 6, and 3 had the highest votes [19:27:20] oh nice [19:27:38] which is me, frank, and ari I believe [19:27:46] wait, how did you see 2, 6, and 3? [19:28:04] candidate_id [19:28:12] http://pastie.org/private/spffnhagbnojr0eel971ug [19:28:12] Title: Private Paste - Pastie [19:29:22] lol [19:29:32] why do i not see frank in the group? [19:29:39] lmao is frank not in hackers? [19:29:44] lmao, no clue [19:30:01] lmao he deactivated [19:30:10] i see his account [19:30:21] i don't [19:30:24] https://www.facebook.com/profile.php?id=1529116262 [19:30:25] Title: Frank Cash | Facebook [19:30:25] can't message him [19:30:30] wait [19:30:34] that's someone else [19:30:35] that is most definitely not frank [19:30:44] lol [19:30:49] wait [19:30:56] that's his second account, isn't it [19:37:06] gsingh93: "remember you had 3 nominatio ns," [19:37:48] and two "#"s for the channel name [19:38:21] *** Joins: majora (~majora@pool-71-100-152-244.tampfl.fios.verizon.net) [19:38:30] kk [19:41:33] alright [19:41:52] lol [19:41:56] now that we have some elected mods we've gotta figure out 'ratifying' the policies and appification of the group [19:42:12] yup [19:42:18] i'm inviting ari to irc right now [19:42:26] and then we can set up some meeting times to talk about that [19:42:32] sounds like a plan [19:43:11] oh yeah, all mods need to register their nicks [19:43:22] does Ari know how to use irc [19:43:22] or else I can't set any channel flags [19:44:33] i think so [19:44:36] she did earlier I believe [19:44:44] my nick is registered [19:45:34] ook cool [19:46:01] those join requests tho [19:46:30] lol, what join requests? [19:46:54] there are 20+ [19:47:02] https://usercontent.irccloud-cdn.com/file/L1WKBDCc/Screen%20Shot%202016-01-03%20at%207.46.41%20PM.png [19:47:06] Are these people we should leave out? lol [19:47:43] haha, bryan probably got lazy [19:48:09] *** ChanServ sets mode: +v iangcarroll [19:48:34] vishwin_: mods should also be irc ops [19:48:40] they are [19:48:45] they're all likely spam [19:48:56] via chanserv? [19:49:06] yeah, just not auto-op [19:49:10] kk [19:50:23] majora's frank right? [19:50:28] yes [19:50:31] cool [19:50:33] just making sure [19:50:47] *** ChanServ sets mode: +v majora [19:52:17] *** ChanServ sets mode: +o vishwin_ [19:53:00] *** vishwin_ changes topic to 'Hackers administration matters | https://github.com/wearehx | Mods are voiced | Admin policy draft: http://git.io/v06vT' [19:53:04] *** vishwin_ sets mode: -o vishwin_ [19:55:04] iangcarroll: i shouldn't be super involved anymore, you and majora take the lead on scheduling the next meeting [19:55:15] i have stuff i want to talk about there though, so let me know [19:55:23] sure [19:56:13] i'm fairly flexible so whatever works for you majora [19:56:39] hopefully ari will join soon [19:56:45] yeah [19:56:53] that is, if she can figure out IRC :-P [19:57:33] luckily, she says she has :p [19:57:49] good [19:58:03] well [19:58:07] she said she will be on soon [19:58:09] she's out [19:58:10] or something [19:58:12] so nbd [19:58:14] yea [19:58:16] cla$$ic [19:58:25] maybe a gchat might be more helpful [19:58:31] err is gchat still xmpp [19:58:39] actually yes [19:58:39] we could transcribe it to IRC as well [19:58:43] which is being logged? [19:58:45] purpose of IRC is for transparency, but if we bridge it [19:58:46] if we want [19:58:52] exactly [19:59:03] yeah I've been logging both channels since birth [19:59:10] is there a reason IRC isn't prefferable? [19:59:26] we can set +m if we want it to be read-only to others during meetings [19:59:33] was about to say [19:59:48] +m has been done in wikimedia foundation channel for meetings before [20:00:00] not that IRC clients don't usually suck, but irccloud is pretty nice [20:01:17] lol majora that response [20:01:22] lol [20:01:30] I figured that would be a good way to go about it [20:01:49] I mean I am an atheist but there was no need for that behavior from him [20:03:40] yeah [20:03:44] i just realize hackbot is dead [20:03:48] realized [20:04:15] rip [20:04:20] riperoni [20:07:01] any objections to me maintaining hackbot? [20:07:07] not that you can't maintain your own instance [20:07:10] though idk what would happen [20:07:27] go for it fam [20:14:19] i was waiting for ari [20:14:27] but i'll give my take on meetings now since you're talking about it [20:14:39] keep the channel -m [20:14:43] +v only the admins [20:14:51] let anyone who wants talk [20:14:57] if things get annoying, set +m [20:15:40] +m just redirects non-voiced messages to privmsgs [20:16:03] so? [20:16:09] we probably won't need it for a while [20:16:13] they wont be heard in the channel [20:17:29] oh wait I mean +z [20:17:46] *** Joins: ariari (87135111@gateway/web/freenode/ip.135.19.81.17) [20:17:54] +z redirects all non-voiced to any op [20:18:04] who would act as the debate/meeting moderator [20:18:08] yaaaaaay ari's here [20:18:17] sup ariari [20:18:59] but somebody took the nick ariari :-( [20:19:03] hi! [20:19:18] huh? [20:19:25] somebody else registered your nick [20:19:29] Ah [20:19:38] #ircnoob [20:19:51] wouldn't be a good idea to set flags on some rando who last connected from argentina :-\ [20:20:06] Lol. Will look into registering my own [20:20:19] lol [20:20:49] so i guess you need to pick a meeting time [20:21:09] as for the agenda, what if each meeting had a github gist describing the agenda [20:21:19] anyone could add suggestions then [20:21:22] true [20:21:29] Sounds awesome. [20:21:38] Yeah [20:21:40] I'm free most evenings [20:21:48] I've seen other orgs use issue for agendas but a gist is fine [20:21:58] Can orgs have gists? [20:22:03] let's find out [20:22:12] might be better to do issues if not [20:22:29] https://gist.github.com/wearehx [20:22:30] Title: wearehx’s gists · GitHub [20:22:44] looks like we can have them, but i might not have permissions [20:22:58] I can't create one either [20:23:02] oh wait [20:23:04] i see it [20:23:13] um [20:23:20] no, it went to my account [20:23:29] fail.exe [20:23:32] :( [20:23:42] we can do issues if gists don't work out [20:23:45] Issues it is [20:23:51] it's kind of an abouse of what an issue is [20:23:54] but i don't mind [20:24:05] People blog and do AMAs in issues, so :p [20:24:12] sure [20:24:17] doesn't mean it's a good thing :P [20:24:26] We can also do markdown files and PRs [20:24:36] seems a bit too heavy weight [20:24:41] but simpler is better [20:24:42] yea [20:24:56] anyways, the meeting should probably be wednesday or later [20:24:59] or [20:25:04] two days after an agenda is posted [20:25:06] is what i meant to say [20:25:16] i think two days is sufficient for people to comment stuff [20:25:21] maybe even a day [20:25:27] I kind of like the markdown/PR idea, because the agendas can all be turned into minutes and kept in a directory for easy viewing [20:25:35] hmm [20:25:43] we could do that with a tag on issues too [20:25:47] we could also post the agenda in HX Meta and get comments there? [20:25:59] iangcarroll: sure [20:26:06] It's kind of nice to close issues though and not have infinitely more being opened :P [20:26:14] archiving them in a repo sounds like a good idea though [20:26:20] maybe the transcripts as well [20:26:29] well, they could be closed after the meeting, but the continuously opening more is why i'd prefer gists [20:26:38] (rust-lang uses gists for meeting minutes) [20:26:46] PR/repo is fine [20:26:52] it's just more work for you guys [20:26:57] and the next admins that come around [20:27:30] well [20:27:36] we can always change how we do it too [20:27:52] sure, but we don't want to change every admin cycle [20:27:56] ofc [20:28:03] but for the first few weeks [20:28:04] sure [20:28:06] posting in meta sounds like the lowest friction options to get comments [20:28:07] we can try different things out [20:28:13] option* [20:28:24] iangcarroll: that's fine, the question now is where to put the agenda/minutes [20:28:42] in favor of PR/repo for that [20:28:46] Still in favour of repo [20:29:04] kk, majora you fine with that [20:29:25] yes [20:29:31] i'll let one of you make the repo, and get the first document started [20:30:15] the topics on my mind are getting the content/admin policies merged and hackbot stuff [20:30:38] well I don't think I'm currently part of the gh group [20:30:41] my usn is @frankcash [20:30:54] Guest68822, wake up! [20:31:18] aka wolfcore who forgot to nickserv identify himself [20:31:26] lolol [20:31:40] Can someone add @arirawr to github if not done already? [20:32:23] btw, neither itsariari nor arirawr have been taken on freenode IRC [20:32:56] your nick doesn't have to involve your name either [20:33:04] well yeah [20:33:08] freaks using your real names on the interwebs and shit [20:33:33] *** ariari is now known as arirawr [20:33:43] * vishwin_ has had this name for most of his internet name career [20:34:08] arirawr: this isn't a strict requirement, but most of us have IRC bouncers as well [20:34:24] I think most of us prefer ZNC [20:34:33] I will be setting mine up once I finish my move this week [20:34:57] or in my case, two BNCs [20:35:11] the thing is [20:35:18] ZNC is meant to handle multiple user accounts [20:35:27] yeah but Idk who I would split with [20:35:38] unless you're offering and I'd like to talk to you in private about that then [20:35:45] irccloud is also $5/mo or free for 2 hrs max idling [20:35:47] i'd need some time to figure it out [20:35:52] but i wouldn't mind once i do [20:35:57] okay :p [20:36:08] i also don't know how many accounts i can support [20:36:20] i have a $5 droplet i use for my website [20:36:25] and i don't want it to go down [20:36:32] yeah [20:36:36] i'm just pointing out its an option since most of us want a bouncer [20:36:36] I see [20:36:54] * vishwin_ has the other him on DO, this on a NUC [20:36:58] I tried fucking with some scripts that where supposed to get it going on heroku [20:37:05] but they didn't work b/c ruby shit [20:37:22] I have a ton of azure credits, that may be an option [20:37:52] currently I'm using them for random shit like pinging pocket's api and running minecraft servers [20:37:59] vishwin_: do you use both of your bouncer machines for other things? [20:38:15] i.e. would you mind adding some accounts to one of them [20:38:54] yeah I use em for other stuff [20:39:08] yeah, I have a lot of azure credits too if you want a Ubuntu server for ZNC majora [20:39:08] I'm actually setting up another droplet right now [20:39:23] that runs freebsd [20:39:32] cool, i definetly thing we should have at least two of us using a joint ZNC server [20:39:37] well tbh I was just going to have my RPi run a znc server [20:39:39] it'll make it easier whenever we get new admins [20:39:48] #irccloud [20:40:13] why would you pay $5 for a server *just* for IRC? [20:40:15] makes no sense [20:40:18] :p [20:40:34] every other client has a horrible UI though [20:40:42] terminal IRC clients ftw [20:40:46] irssi dawg [20:40:50] I'll be back in a few [20:40:55] kk [20:41:00] so meeting times? [20:41:07] also, what timezones are you guys in? [20:41:11] EST [20:41:14] i'm normally PST [20:41:16] EST [20:41:36] kk [20:41:36] I'm partially AFK for a bit. Evenings weekdays EST work best for me :) [20:41:55] so maybe wednesday or thursday evening [20:42:09] anything in the afternoon anyday usually works for me [20:42:20] wednesday sounds fine [20:42:24] * vishwin_ goes back to divvying NFS shares [20:46:18] *** Quits: arirawr (87135111@gateway/web/freenode/ip.135.19.81.17) (Ping timeout: 252 seconds) [21:00:06] alright, hackbot appears to be working [21:00:13] ari and majora have access to /close as well [21:05:09] EST is better for being a standard [21:05:27] and okay, thanks [21:06:45] are you frankcash on GitHub? [21:07:12] yes, @frankcash [21:08:01] kk, added to org [21:09:05] okay [21:09:15] ty [21:09:41] https://github.com/wearehx/moderation should work soon [21:09:41] Title: wearehx/moderation · GitHub [21:10:40] works \o/ [21:19:59] that's awesome [21:43:22] *** Joins: arirawr (87135111@gateway/web/freenode/ip.135.19.81.17) [21:43:40] *** ChanServ sets mode: +v arirawr