[00:02:20] *** Quits: vishwin60 (~psu-clc@wikimedia/O) (Quit: Later.) [01:10:57] *** Quits: vishwin (~alliek@wikimedia/O) (Ping timeout: 276 seconds) [01:38:51] *** Joins: vishwin (~alliek@wikimedia/O) [02:28:57] *** Joins: nimajneb (~roytenber@casewireless10.cwru.edu) [04:04:39] *** Quits: nimajneb (~roytenber@casewireless10.cwru.edu) (Quit: nimajneb) [04:05:58] *** Joins: nimajneb (~roytenber@casewireless10.cwru.edu) [04:18:44] *** Quits: nimajneb (~roytenber@casewireless10.cwru.edu) (Quit: nimajneb) [08:46:53] wolfcore: yep [08:47:29] !c22 [08:47:29] woodruffw: You have no respect for excessive authority or obsolete traditions. You're dangerous and depraved, and you ought to be taken outside and shot! [12:44:19] *** Joins: DarkNova (~DarkNova@c-68-35-150-201.hsd1.al.comcast.net) [12:47:40] *** Quits: DarkNova (~DarkNova@c-68-35-150-201.hsd1.al.comcast.net) (Remote host closed the connection) [12:50:16] *** Joins: DarkNova (~DarkNova@c-68-35-150-201.hsd1.al.comcast.net) [12:51:26] *** Quits: DarkNova (~DarkNova@c-68-35-150-201.hsd1.al.comcast.net) (Remote host closed the connection) [13:22:32] *** Joins: nimajneb (~roytenber@casewireless03.CWRU.Edu) [14:13:08] *** Quits: nimajneb (~roytenber@casewireless03.CWRU.Edu) (Quit: nimajneb) [14:43:38] *** Joins: kpath001 (~KevinPath@client-130-203-90-79.mobility.psu.edu) [14:46:24] now don't forget to not automatically reconnect when you shut your laptop kpath001 :-P [14:46:40] haha this is true [14:49:35] or else everybody gets to deal with somebody with a shitty cumcrap or windshit connection [14:50:14] but holy shit http://www.washington.edu/news/2016/02/23/uw-engineers-achieve-wi-fi-at-10000-times-lower-power/ [14:50:15] Title: UW engineers achieve Wi-Fi at 10,000 times lower power | UW Today [15:08:22] *** Joins: nimajneb (~roytenber@casewireless03.CWRU.Edu) [15:11:02] *** Quits: nimajneb (~roytenber@casewireless03.CWRU.Edu) (Client Quit) [15:12:05] *** Joins: nimajneb (~roytenber@casewireless03.CWRU.Edu) [15:12:59] *** Quits: nimajneb (~roytenber@casewireless03.CWRU.Edu) (Client Quit) [15:37:54] *** Quits: kpath001 (~KevinPath@client-130-203-90-79.mobility.psu.edu) (Ping timeout: 244 seconds) [15:52:54] *** Joins: kpath001 (~KevinPath@client-130-203-90-79.mobility.psu.edu) [15:58:01] *** Quits: kpath001 (~KevinPath@client-130-203-90-79.mobility.psu.edu) (Ping timeout: 240 seconds) [16:10:00] *** Joins: nimajneb (~roytenber@casewireless03.CWRU.Edu) [16:42:23] >UW [16:42:29] >ultra-low-power wifi [16:42:34] gollakota's team? [16:56:13] *** Quits: nimajneb (~roytenber@casewireless03.CWRU.Edu) (Quit: nimajneb) [16:58:40] *** Joins: nimajneb (~roytenber@casewireless03.CWRU.Edu) [17:03:45] *** Quits: nimajneb (~roytenber@casewireless03.CWRU.Edu) (Quit: nimajneb) [17:12:38] any dyslexic people here? [17:12:40] https://geon.github.io/programming/2016/03/03/dsxyliea [17:12:40] Title: Dsxyliea [17:40:53] gsingh93: discussion on HN is interesting https://news.ycombinator.com/item?id=11218677 [17:40:53] Title: Dsxyliea | Hacker News [17:41:29] wolfcore: i've seen one guy saying it's nothing like what he sees and another guy say it's close [17:41:31] so i'm confused now [17:41:50] Dyslexia is different for different people it seems [17:41:56] yea [17:42:16] that page was kind of fun to read though :P [17:43:04] Yes xD though it would be terrible to have to do it your whole life [17:43:18] Imagine spotting errors in code [17:43:19] wow [17:43:27] lol yea [17:44:32] This one was linked and also interesting http://www.economist.com/blogs/analects/2014/09/dyslexia-chinese [17:44:32] Title: Dyslexia in Chinese: Disability of a different character | The Economist [17:45:40] holy crap, i never thought about what dyslexia feels like for people who speak different languages [17:45:47] chinese would be especially bad [17:48:21] since dyslexia is more pattern matching failure in /written/ languages, wouldn't "read" be a far better fit than "speak"? [17:48:32] yes it would [17:49:26] What I find really awesome is that the blind can still program [17:49:34] yea [17:49:38] although i can't imagine doing it [17:49:46] I imagine they develop a much higher capacity for holding the programs in their head [17:49:55] yea [17:49:57] but [17:50:09] i mean the speed at which i multitask just couldn't be acheived without site [17:50:19] i.e. switching between different sites, IRC, etc. [17:50:24] i'd get so impatient [17:50:34] and i meant sight up there [17:54:33] Have you seen http://emacspeak.sourceforge.net/ [17:54:33] Title: Emacspeak --The Complete Audio Desktop [18:39:31] *** Quits: vishwin (~alliek@wikimedia/O) (Ping timeout: 250 seconds) [18:41:09] *** Joins: vishwin (~alliek@wikimedia/O) [19:15:18] tfw you paste a screenshot of "the best designed website I've ever seen" in lynx [19:23:41] gsingh93: I think you'd be surprised--have you ever seen someone who uses a screenreader on a daily basis? [19:24:42] I can't quite find what I'm thinking of, but a guy who was a programmer gave a talk on how he uses computers (because it's very different to what most people experience) [19:24:55] and the screen reader spoke so quickly that it was almost impossible for me to grasp what it was saying [19:27:14] huh [19:27:21] i haven't seen anyone use one [19:27:25] i've just heard stories [19:27:30] about how much harder it is to use computers [19:28:04] https://soundcloud.com/freecodecamp/zersiaxs-screen-reader [19:28:04] Title: Zersiax's Screen Reader by Free Code Camp | Free Listening on SoundCloud [19:28:07] here's an example [19:28:24] "For those of you who can't follow this, it's my computer reading out the first bit of this very blog post that I'm writing in NotePad++." [19:32:39] that actually reminds me [19:32:59] I feel like with all this flashiness in web design these days, the accessibility needs can easily be forgotten [19:33:12] this isn't anything new [19:33:21] accessibility has been "forgotten" in a ton of software for decades [19:33:41] yeah true [19:34:02] it's just easier to fix in web design…if you're willing to go back to basics [19:53:10] *** Quits: vishwin (~alliek@wikimedia/O) (Ping timeout: 250 seconds) [19:55:14] *** Joins: kpath001 (~KevinPath@104.39.98.215) [19:58:38] *** Joins: vishwin (~alliek@wikimedia/O) [20:44:15] *** Quits: vishwin (~alliek@wikimedia/O) (Ping timeout: 264 seconds) [20:50:10] *** Joins: vishwin (~alliek@wikimedia/O) [20:59:12] hey iangcarroll, you there? [20:59:22] 👋 [20:59:34] i'm writing a project in hack [20:59:43] but i'm also learning about the php shit that i need to use [20:59:45] like composer [21:00:07] so i'm trying to figure out how i should be doing autoloads [21:00:28] do i have to include 'vendor/autoload.php' in all my classes? [21:00:35] i'm confused [21:01:31] you only need to include composer on the 'first' class that gets run [21:02:11] like, if run.php requires vendor/autoload.php and then uses a class that composer autoloads, you do not need to require it in that class's file [21:02:36] do you know how PSR-4 works? [21:02:43] i read about it yesterday [21:03:14] v easy with composer, as you might know already [21:03:23] yea [21:03:39] so what's the proper structure for utility functions related to one type of thing [21:03:41] for example [21:04:00] i have a levels.php file right now [21:04:16] that contains a bunch of "utility" functions for quering the "levels" table of the db [21:04:19] we're not using an ORM [21:04:41] would you put this in a namespace, or make it a static class, or what? [21:05:24] so like db querying and connection stuff? [21:05:37] we have one DB class to do the querying [21:05:51] and then a bunch of files that have top level functions to essentially query the data [21:05:54] let me get an example [21:06:14] so like [21:06:16] if you want an example for autoloading: https://github.com/certly/yara/blob/master/composer.json#L14 provides all classes in that git repo's root under the \Certly\YARA namespace [21:06:16] Title: yara/composer.json at master · certly/yara · GitHub [21:06:17] `create_level` [21:06:23] `delete_level` [21:06:26] all top level functions [21:06:30] that use this DB class we have [21:06:32] to query the db [21:06:39] would you put these in a namespace or something? [21:06:56] yeah [21:07:17] like \DB with static methods if it doesn't need state [21:07:29] kk [21:07:35] i would ask if you need to do that tho [21:07:58] you can integrate laravel's ORM without any hassle into any PHP project: https://github.com/illuminate/database [21:07:58] Title: GitHub - illuminate/database: [READ ONLY] Subtree split of the Illuminate Database component (see laravel/framework) [21:08:09] ok, we might try it out [21:08:16] "autoload": { [21:08:18] "classmap": ["game/", "common/"], [21:08:20] "files": ["common/utils.php"] [21:08:22] } [21:08:24] that's my autoload right now [21:08:30] i'm trying to figure out why functions from utils.php aren't loaded [21:09:26] fyi, PSR-4 autoloading is probably better practice [21:09:39] pretty much the same thing but you just specify a root namespace with the directory [21:10:10] and its autoloader is only updated when you `composer update`, so did you do that? [21:10:39] i wonder if i should change the "PHP" on my resume to "Hack", lol [21:11:01] is Hack a full language or just a PHP runtime? [21:11:02] hack changes a lot of things you might want to learn first :p [21:11:10] hack is a language, HHVM is the runtime [21:11:24] gotcha [21:11:31] how much does it change? [21:11:58] lol, what would you want to learn in PHP? [21:12:17] ? [21:12:29] answer is nothing [21:12:34] hack saves you so much trouble [21:12:42] i didn't understand the "question' [21:12:43] we've already caught multiple bugs from switching over [21:12:58] iangcarroll said "hack changes a lot of things you might want to learn first" [21:13:03] i mean like learn the differences/new things between php and hack :p [21:13:08] I thought he meant things to learn in hack [21:14:10] !mail vishwin nice bike [21:14:10] woodruffw: I'll give your message to vishwin the next time I see them. [21:14:57] iangcarroll: i'll switch to namespaces later [21:15:00] i have a deadline here [21:15:02] lol [21:15:19] but it's still not autoloading this file [21:15:22] like [21:15:25] did you composer update [21:15:26] i see it in /composer/autload_files.php [21:15:30] huh [21:15:34] i did that as well as dump-autload [21:15:38] dump-autoload [21:15:46] do you mean /vendor? [21:16:02] /vendor/composer/autoload_files.php [21:16:08] which gets included from something [21:16:17] and i include /vendor/autoload.php [21:16:34] wait fuck [21:16:41] one sec [21:16:43] silly question but you are starting it with i guess you figured it out :p [21:17:32] i didn't exactly figure it out [21:17:40] but i can see it's not including vendor/autoload properly [21:17:45] i'm using a relative path [21:17:50] `../vendor/autoload.php` [21:17:58] even though should be using the server root [21:18:00] but w/e [21:18:06] it says it's not there [21:18:08] when it's clearly there [21:18:23] and yes, the file starts with is there a reason you're including it outside of the web server root? [21:18:53] so vendor is in the webroot, common is next to it in the webroot, and i'm including it in common/db.php [21:19:10] why not include it in index.php or whatever? [21:19:13] (because the include in index.php didn't seem to be working) [21:19:36] are you require'ing it? [21:19:42] require_once, yes [21:19:49] hm [21:22:46] i don't suppose this is somewhere I can view the code? [21:23:12] also psysh is a great debugging tool for this kind of thing [21:33:03] i'll see if i can get you a snippet of code [21:33:13] it's not like super secret [21:33:25] is this for your ctf? :p [21:33:39] yes [21:33:42] now the secret is out [21:33:43] oh :| [21:33:47] we have no idea what we're doing [21:34:03] haha [21:34:33] who does? [21:34:39] this is the platform where all the challenges are hosted [21:34:48] we're doing a rewrite this year [21:34:50] of the entire thing [21:34:53] and it looks badass [21:34:55] we just started a bit late [21:36:57] *** Quits: kpath001 (~KevinPath@104.39.98.215) (Ping timeout: 244 seconds) [21:37:19] iangcarroll: we're adding you to our github repo, lol [21:37:28] lol [21:37:55] lmao [21:43:27] is there a fb event for the ctf at michigan yet? [21:44:53] Clinteger: you guys are on break right? [21:44:57] yep [21:44:58] i think there will be when you get back [21:45:11] ok cool [21:45:48] ugh i have to write so many problems for it [21:45:55] i told the ctf team to help out [21:45:59] but i always tell them that [21:46:01] and they never do [21:52:33] i'll help ;p [22:10:05] *** Joins: vishwin60 (~clc-mac@wikimedia/O) [22:12:03] hmm [22:12:07] I need a large tweet dataset [22:12:19] and I requested one that's academic-use only but they still haven't gotten back to me, about 2 weeks later :\ [22:13:09] it was particularly useful because it was 200 million tweets that was already labeled for gender and age.. [22:27:16] even checked academictorrents.com and it doesn't have much :( [22:33:05] *** Joins: kpath001 (~KevinPath@h254.112.232.68.dynamic.ip.windstream.net) [22:42:02] *** Joins: lablayers (uid55894@gateway/web/irccloud.com/x-gippwikimdcjlpry) [23:28:38] *** Quits: nsgomez (~nsgomez@108.61.229.127) (Ping timeout: 268 seconds) [23:29:16] *** Joins: nsgomez (~nsgomez@108.61.229.127) [23:29:52] *** Quits: yossarian-bot (~yossarian@104.131.177.124) (Ping timeout: 268 seconds) [23:29:59] *** Joins: yossarian-bot (~yossarian@104.131.177.124) [23:30:02] *** ChanServ sets mode: +v yossarian-bot [23:58:31] *** Quits: kpath001 (~KevinPath@h254.112.232.68.dynamic.ip.windstream.net) (Ping timeout: 244 seconds)