00:22:59 n-tech we'll see. it'll become more pertinent when the API actually works
00:23:01 __uguu__ i want to be able to do jsonrpc over a unix socket to the infinity-next instance
00:23:05 n-tech API stuff with Laravel is disgustingly easy
00:23:16 n-tech for instance if I wanted to return a list of users
00:23:17 StephenLynx why using an unix socket instead of basic http?
00:23:18 n-tech it goes like
00:23:21 __uguu__ StephenLynx: overhead
00:23:27 StephenLynx lel
00:23:29 StephenLynx k then
00:23:31 __uguu__ seriouslu
00:23:32 n-tech public function getUsers() { return User::get(); }
00:23:37 n-tech this returns all the users in the database as JSON
00:23:38 StephenLynx o-k
00:23:50 n-tech and the interesting thing is that the classes have tags for what fields to omitt in JSON returns
00:23:51 __uguu__ if it what i was doing used http over loopback that'd explode the server
00:23:52 StephenLynx have you ran a benchmark to know how much you would save on what
00:23:58 StephenLynx ah
00:23:59 n-tech so sensitive data like password and email are omitted
00:24:01 StephenLynx what are you doing?
00:24:13 n-tech and IPs :^)
00:24:39 __uguu__ i want to be able to talk with the infinity-next instance, i.e. post, ban, unban, set settings
00:25:00 __uguu__ everything that the infinity-next instance can do i want to be able to do externally
00:25:01 n-tech you want to issue post commands to the api as well?
00:25:13 __uguu__ post commands at the very least
00:25:38 __uguu__ the only things that are required is post ban and delete
00:25:42 StephenLynx again, that doesnt need to go that low level.
00:25:55 __uguu__ StephenLynx: would you seriously want to do it over http?
00:26:01 __uguu__ that's retarded
00:26:08 StephenLynx I already do that in lynxchan.
00:26:16 n-tech A full-featured API is great but that's very complicated. At that point I would need to start using tools to build API documentation as well lol
00:26:16 StephenLynx and by default every request is using it.
00:26:23 StephenLynx >complicated
00:26:24 StephenLynx lel no
00:26:29 StephenLynx you are just bad.
[...]
00:26:34 __uguu__ a GOOD api
00:26:38 __uguu__ a GOOD api is hard
00:26:42 n-tech very
00:26:44 StephenLynx no
00:26:44 __uguu__ an api is easy
00:26:44 StephenLynx is not
00:26:48 n-tech the issue isn't even technical
00:26:49 __uguu__ a GOOD api is not
00:26:50 n-tech it's organization
00:26:53 n-tech and logical
00:27:00 StephenLynx why a good api is hard?
00:27:03 n-tech and predictability
00:27:11 n-tech if every API call is different and your naming conventions suck
00:27:13 n-tech it's a shithouse
00:27:18 __uguu__ it's organization and careful high level design, both of which are not present in lynxchan :D
00:27:24 StephenLynx really?
00:27:26 n-tech oh my, shots fired
00:27:39 __uguu__ really, the code is getting to be almost as bad as vichan
00:27:42 __uguu__ except in js
00:27:45 StephenLynx hm hum
00:27:57 __uguu__ it's horrible
00:27:58 n-tech I don't want to bash on other people's code, I don't feel its appropriate
00:28:00 StephenLynx lol
00:28:01 n-tech but if you're feeling uh
00:28:05 n-tech picky
00:28:08 n-tech have you looked at mine yet?
00:28:10 __uguu__ dude, i complain about everything
00:28:12 n-tech I haven't gotten any strong feedback
00:28:25 __uguu__ n-tech: yours is pretty good because of the insane coding standards
00:28:31 n-tech uguu ~
00:28:43 n-tech copypaste likes it but I have trouble taking that seriously because anything to him is better than what we use now
00:28:47 n-tech so I take it with a lot of salt
00:28:47 n-tech lol