Chat Log: #8chan-dev on rizon (2015-05-19)

Back

Share: http://irclogs.8ch.net/rizon/%238chan-dev/2015-05-19

Time Prefix Text
02:26:14 << Bladee (~Blade@dont.act.dumb) has quit (Ping timeout: 240 seconds)
05:36:28 << lancee (~lancee@digite.13.e.confirme) has quit (Killed (irc.vmnode.pw (4 joins/parts in #iRPG within 10 seconds.)))
05:36:48 >> lancee (~lancee@digite.13.e.confirme) has joined #8chan-dev
10:01:52 ~copypaste Bui: Edgeforums admin is a big step up from STI tbh.
10:26:25 >> maksev (~leftrvert@sermlansk.vertry.leftrz038543672..osmn) has joined #8chan-dev
11:20:44 >> rndpln (~rndpln@the.dlorw.is.upsidenwod) has joined #8chan-dev
11:48:37 rndpln are you guys running php7 with laravel?
11:53:48 >> KillDeer (~KillDeer@Rizon-D4260EDB.dsl.teksavvy.com) has joined #8chan-dev
11:54:31 << KillDeer (~KillDeer@Rizon-D4260EDB.dsl.teksavvy.com) has left #8chan-dev
12:47:32 ~copypaste rndpln: HHVM.
12:57:09 rndpln on nginx?
12:57:38 >> nugger (~nugger@8chan.JJoUM) has joined #8chan-dev
15:09:06 maksev any issues with board listing some people are claiming they see the same boards showing up twice in the master list https://8ch.net/operate/res/18921.html#18923
15:11:35 Bui only showing once for me
15:50:50 << rndpln (~rndpln@the.dlorw.is.upsidenwod) has quit (Quit: leaving)
16:23:59 << n-tech (~n-tech@dont.fail.me.now.fullchan) has quit (Ping timeout: 240 seconds)
16:57:56 maksev is fine here
16:58:03 maksev i think some people just have sht browsers
17:01:10 >> Bladee (~Blade@dont.act.dumb) has joined #8chan-dev
17:48:28 ls nearly anything is a step up from sti (except in entertainment value perhaps)
18:51:09 << maksev (~leftrvert@sermlansk.vertry.leftrz038543672..osmn) has quit (Quit: Leaving)
19:09:24 << Tenicu (~Tenicu@unlimited.rerailment.works) has quit (Ping timeout: 240 seconds)
19:54:16 >> n-tech (~n-tech@dont.fail.me.now.fullchan) has joined #8chan-dev
20:42:48 __uguu__ sti == stupid tinyboard inventor?
20:44:24 n-tech mean
20:44:48 __uguu__ no really, what is sti?
20:45:27 __uguu__ single time investment?
20:55:57 __uguu__ stupid tiny idiot?
20:57:33 __uguu__ sex through insight?
20:57:48 __uguu__ septic tank inspector?
20:58:07 __uguu__ scientific testing incentive?
20:58:26 __uguu__ somebody that's irate?
21:00:00 __uguu__ semiconductive temperature indicator?
21:04:01 __uguu__ singleton transient idiom?
21:04:09 __uguu__ someone plz tell me what sti means
21:04:37 __uguu__ n-tech: halp
21:06:42 n-tech Save the Internet
21:06:55 __uguu__ oh
21:07:01 __uguu__ never would've guessed
21:07:17 ~copypaste lmao
21:07:21 n-tech septic tank inspector was my favorite
21:07:32 ~copypaste i like "single time investment"
21:07:37 ~copypaste describes tinyboard most succintly.
21:07:38 __uguu__ ;-;
21:08:22 __uguu__ copypaste: i'm deprecating the jsonrpc api since i'll be touching the db directly with infinity-next
21:08:31 ~copypaste great!
21:08:33 __uguu__ :>
21:08:40 ~copypaste then other people can write shims
21:08:45 ~copypaste who knows, some turbonerd might make a kusaba X one
21:08:46 ~copypaste lmao
21:09:15 __uguu__ i have 2 options for db in the db config section: type and schema
21:09:21 __uguu__ type is mysql postgres sqlite etc
21:09:46 __uguu__ schema is what the database schema type is, i.e. infinity-next vs kusabax vs srnd
21:09:56 ~copypaste oh i forgot. there's another IB script called Wakaba.
21:10:06 ~copypaste Basically n-tech, the main "competitors" are all way out of date.
21:10:26 >> Tenicu (~Tenicu@unlimited.rerailment.works) has joined #8chan-dev
21:10:30 __uguu__ there's also 4chan's proprietary stack that does not respect you're gnu/freedom
21:10:44 n-tech If I thought there was any competition I'd of not as been as motivated
21:10:57 n-tech I did browse around for alternatives but there wans't anything that interesting
21:11:43 ~copypaste GazouBBS was the first. Gazou is "image" in Japanese, the name is ImageBBS then. Then there's your Kusaba X, one of the first, because moot refused to release changes because he's a jew so people wanted the things they knew he added in other chans like 7chan. 7chan still runs KX, but they've hacked it a ton and also don't release changes back.
21:12:51 ~copypaste Then there's your Futallaby, I know very little about this one but I know it was replaced by Wakaba.
21:13:00 ~copypaste Then there's Mitsuba. The author killed himself.
21:13:03 ~copypaste RIP
21:13:33 ~copypaste Then there's the Tinyboard series, one of the most popular right now, launched in 2010, it was abandoned in 2012 but picked up by czaks and I in vichan and hacked a ton by me for infinity.
21:14:08 ~copypaste There are also a few other ones. There's also one called "chieftain", it's a Python Django imageboard. It doesn't work right, I've never seen a site with it in production. I tried it out and it was very complicated.
21:14:27 ~copypaste And that's it really. :3
21:15:01 n-tech I always saw moot as a prodigy back in the day
21:15:04 n-tech when I was learning how to code
21:15:09 n-tech how does someone at 14
21:15:09 ~copypaste Oh, far from it.
21:15:11 n-tech build something so cool
21:15:12 ~copypaste desuwa does all the work.
21:15:17 ~copypaste Back then he had friends help him too.
21:15:20 ~copypaste desuwa wrote modern Yotsuba.
21:15:31 __uguu__ with nntpchan there's more than just srnd, there was one written in haskell that used inn2
21:15:55 __uguu__ the source for hschan was never released so it's lost to time ;-;
21:16:10 __uguu__ hschan looked exactly like a regular ib
21:16:25 ~copypaste yes good
21:16:28 ~copypaste that's what it should look like
21:16:32 ~copypaste you want users to know what to do
21:16:32 __uguu__ i know
21:16:53 __uguu__ srnd can look like a regular imageboard but you'd need to hack the templates (which use string.format)
21:17:06 ~copypaste lol
21:17:22 __uguu__ string.format + sanitize_html() is the real man's way to webapp
21:17:22 lancee there's doushio that uses node.js and redis and is realtime
21:17:31 __uguu__ there's also livechan
21:17:33 lancee https://github.com/lalcmellkmal/doushio
21:17:54 __uguu__ livechan is basically doushio but it's being rewritten in go now since the node.js version is a mess
21:18:00 ~copypaste oh jesus
21:18:07 ~copypaste fuck that doushiou chan
21:18:08 ~copypaste no really
21:18:15 ~copypaste people watch you type
21:18:20 ~copypaste it's so creepy, that chan is fucking weird
21:18:24 __uguu__ wuuuut
21:18:27 ~copypaste yeah
21:18:31 __uguu__ why would you DO THAT? D:
21:18:32 ~copypaste every keystroke raises an event
21:18:43 ~copypaste i didn't include it because i blocked it out of my memory
21:18:46 ~copypaste due to the traumatic experience
21:18:53 __uguu__ ptsd kills
21:18:58 ~copypaste lol
21:19:24 ~copypaste no idea what the dev was thinking.
21:23:11 >> StephenLynx (~Stephen@Rizon-108C2124.user.veloxzone.com.br) has joined #8chan-dev
21:23:13 StephenLynx hey
21:23:16 StephenLynx livechan dev
21:23:23 StephenLynx why do you run a IRC server on livechan?
21:23:27 __uguu__ huh?
21:23:40 __uguu__ there's an irc server where?
21:23:46 StephenLynx I saw in the docs.
21:24:00 __uguu__ link>
21:24:02 __uguu__ ?
21:24:03 StephenLynx it listens for IRC, doesn't?
21:24:13 __uguu__ uh... no?
21:24:24 StephenLynx sec, looking for the repo
21:24:48 StephenLynx and btw, did you know mongoose is about 6x slower than the native mong odriver and express causes a 20% performance loss?
21:24:58 __uguu__ mongodb is suck
21:25:12 __uguu__ is this the node.js version or the go version?
21:25:21 StephenLynx node.js version I am talking about.
21:25:27 StephenLynx didn't even know you were doing a go rewrite.
21:25:29 __uguu__ idk anything about the node.js version
21:25:38 StephenLynx :v
21:25:41 StephenLynx nvm then
21:25:55 StephenLynx all I had to talk about is on the node version.
21:27:48 StephenLynx so, what db is being used for the go rewrite, __uguu__?
21:27:58 __uguu__ sqlite now, postgres later
21:28:09 StephenLynx why a relational db?
21:28:15 __uguu__ because that only makes sense
21:28:25 StephenLynx really? does the system needs joins?
21:28:31 __uguu__ yes
21:28:34 StephenLynx really?
21:28:36 __uguu__ it makes things SO much easier
21:28:56 __uguu__ when you use traditional sql things get gud
21:29:04 * __uguu__ gets a query from livechan go
21:29:21 StephenLynx so you don't see value in no-sql solutions for certain scenarios?
21:29:30 __uguu__ nosql can be useful sometimes
21:29:31 __uguu__ WITH chan(id) AS ( SELECT id FROM Channels WHERE name = ?)
21:29:33 __uguu__ SELECT file_path FROM Chats WHERE channel IN chan
21:29:35 __uguu__ AND ip IN ( SELECT ip FROM Chats WHERE channel IN chan AND count = ? )
21:29:48 __uguu__ most of the time sql works best
21:30:07 StephenLynx do you have n*n relations on livechan?
21:30:25 __uguu__ in some places yes we do
21:30:31 StephenLynx like what?
21:30:46 __uguu__ bans
21:30:49 __uguu__ i think
21:31:12 StephenLynx does livechan stores uploads?
21:31:18 __uguu__ yes
21:31:26 __uguu__ only for a short time
21:31:30 StephenLynx will you cache the files for requests?
21:31:40 __uguu__ the files are stored on the filesystem
21:32:08 StephenLynx and will it cache them on RAM?
21:32:09 __uguu__ if needed the file root can be mounted via tmpfs
21:32:42 __uguu__ i see no reason to over-engineer livechan right now
21:32:59 __uguu__ caching is usually done with a multi server setup
21:33:20 __uguu__ you have 1 core database server and many leaf servers that cache
21:33:40 __uguu__ that's the usual architecture that i've seen
21:34:04 __uguu__ you cache as much as possible and hit the db as infrequent as you can with very very optimized queries
21:34:22 __uguu__ that approach scales very well and is the tried and true method
21:34:38 __uguu__ it's very powerful
21:36:12 __uguu__ if you have a fuckton of money then you can marry aws and use ebs and amazon's cloud db stuff
21:36:25 __uguu__ amazon takes very good care of customers
21:43:45 StephenLynx you can always set your own cluster.
21:43:57 __uguu__ you could
21:44:00 __uguu__ but like, effort
21:44:15 StephenLynx mongo even allows to add servers without shutting the cluster down.
21:44:37 __uguu__ so does /dev/null
21:44:42 __uguu__ :>
21:45:31 StephenLynx plus it has its own cache.
21:45:44 __uguu__ so does /dev/null
21:45:55 StephenLynx I am missing something here.
21:46:13 StephenLynx are you telling me you can use the filesystem to use RAM to cache readings from the disk?
21:50:51 __uguu__ tmpfs /var/www/tmp tmpfs nodev,nosuid,size=2G 0 0
21:50:56 __uguu__ put that in fstab
21:51:14 __uguu__ then you'll get a ram based filesystem that is 2G mounted at /var/www/tmp
21:51:34 __uguu__ when the system shuts down it goes away
21:51:35 StephenLynx hm
21:51:47 __uguu__ this has been a thing for a few decades
21:53:57 StephenLynx and with that method, how is decided what to drop and when?
21:54:03 StephenLynx is the RAM reserved for this cache all the time?
21:54:33 __uguu__ if the filesystem is full the filesystem is full
21:55:12 StephenLynx so when you fill these 2gb it won't add or remove anything from it anymore?
21:55:19 __uguu__ yup
21:55:23 StephenLynx I see.
21:55:32 __uguu__ why would you want a ram based fs to grow?
21:55:35 __uguu__ that makes no sense
21:56:24 StephenLynx and I didn't get into the details of that technique, but it seems the files will only reside on this cache, right?
21:56:41 __uguu__ if your os starts swapping it'll use the swap space
21:57:02 StephenLynx so the application would have to manually copy files from the disk filesystem to this RAM filesystem?
21:57:53 __uguu__ no, you use the tmpfs to store transient files that come and go fast
21:58:01 __uguu__ i.e. livechan uploads
21:58:10 StephenLynx all the uploads die when the system shuts down?
21:58:14 __uguu__ yup
21:58:45 __uguu__ with livechan, the rollover rate is anywhere from 1 hour to 30 second
21:58:54 __uguu__ depending on board speed
22:00:09 __uguu__ when hw tweeted the beta instance of livechan the rollover rate reached 30 seconds
22:00:22 __uguu__ meaning, each post had a lifetime of 30 seconds
22:02:32 n-tech @ copypaste
22:02:32 n-tech http://infinitydev.org/infinity/thread/1
22:02:34 n-tech i hope you're happy
22:02:37 n-tech i gave my website autism
22:03:41 Bui >killing (USER WAS BANNED FOR THIS POST)
22:03:42 Bui plsno
22:04:38 __uguu__ n-tech: i will now get every tor exit banned
22:04:40 __uguu__ n-tech: yw
22:10:09 __uguu__ n-tech: jesus fucking christ post takes forever
22:10:27 __uguu__ 23 s
22:11:21 n-tech it shouldn't
22:11:27 n-tech it's on the same site as another website
22:11:32 n-tech that's been having troubles
22:11:33 n-tech idk why
22:12:05 * __uguu__ git pull
22:12:28 ~copypaste very nice n-tech
22:12:32 ~copypaste one last thing
22:12:39 ~copypaste the text is huge
22:13:17 n-tech font-size: 105%;
22:13:25 ~copypaste i can't even find where you set it
22:13:27 n-tech i don't understand
22:13:28 ~copypaste it should be like 10px
22:13:33 ~copypaste look at a thread on 8ch
22:13:35 n-tech the TEXT? for the POST?
22:13:39 ~copypaste yes.
22:13:41 ~copypaste the post text is huge.
22:13:45 n-tech why the fuck would anyone want to read a post at 10px
22:13:48 n-tech that's fucking abysmal
22:13:49 ~copypaste it's like 2.5x what it should be
22:13:54 ~copypaste that's the right size that's why
22:13:55 ~copypaste ;_;
22:14:10 n-tech It's not, and this is driving me up the fucking wall
22:14:18 ~copypaste um
22:14:23 ~copypaste you can compare 4chan too you know
22:14:27 n-tech I work 16 hour days without taking weekends so that I can get everything done in under a month
22:14:36 n-tech and the only thing anyone GIVES A FUCK ABOUT is the fucking post box and font size and blue
22:14:40 n-tech I'm so hideously insulted
22:14:44 ~copypaste ;_;
22:15:06 ~copypaste i'm just trying to prevent this from happening in your thread n-tech
22:15:15 ~copypaste rather you tell me you're insulted than them
22:15:16 ~copypaste ( ???)
22:15:32 n-tech I have absolutely no confidence in this succeeding because the criteria for success is completely superficial
22:15:40 faggetttss i am insulted at the size of this post box
22:15:45 n-tech people like to gloat that they're totally NOT like reddit because reddit is so web 2.0
22:15:52 n-tech but the only thing they care about is design shit
22:16:16 ~copypaste oh, it's 12px actually.
22:16:20 ~copypaste not 10px.
22:16:33 faggetttss i will say the site has quick response tho n-tech
22:16:40 faggetttss gj on that
22:16:44 faggetttss very quick load
22:16:44 ~copypaste current size is 16px, so that's only 4px different.
22:17:25 n-tech it is a gargantuan difference if I drop the base font size to 12.
22:17:49 ~copypaste i guess the font size isn't so important.
22:17:54 n-tech http://i.imgur.com/dWxLir2.png
22:18:02 n-tech this is 12px
22:18:14 ~copypaste oh
22:18:17 ~copypaste that's not so bad though
22:18:21 ~copypaste that looks just like what we have now
22:18:27 ~copypaste gotta click carefully for that little [D] thingg
22:18:29 ~copypaste lol
22:20:52 ~copypaste anywho. font size isn't that important. that can wait for the themes i suppose
22:21:03 ~copypaste i am partial to 12px though, for familiarity. i'm going to bed now
22:21:11 ~copypaste tomorrow morning we can post about it. good work n-tech
22:38:18 nugger goodnight copypaste
22:41:12 @linear ls: do you get it from the relay or do you use the relay in your chain
22:41:24 @linear (I'm turning into you, respinding like 24h after lines)
22:44:20 @linear @image, what are the right boxes for? looks obtrusive if ads
22:44:31 @linear also curious why 'author' instead of 'name'
22:44:38 StephenLynx n-tech, will the rewrite cache uploaded files?
22:45:08 n-tech as in, permanently store them with md5 uris so redundant uploads don't happen?
22:45:11 n-tech that's already done
22:45:25 StephenLynx no, cache the content so the disk won't be hit as much?
22:46:03 n-tech That might be a good idea. I don't know enough about that sort of thing to do it without researching first, though
22:46:12 n-tech The file system obviously needs a lot of fine attention once the audience grows
22:46:17 n-tech i'm worry about a crash tomorrow tbh lol
22:46:31 n-tech worried*
22:46:35 StephenLynx I use mongo to store files, it has its own cache and cache management.
22:46:46 @linear https://8ch.net/tech/src/1432010687557.png
22:47:21 StephenLynx because from what HW told me on two occasions, the main bottleneck he had was on disk usage.
22:47:46 n-tech i've experienced the disk io bottleneck both with my own website and at my job
22:47:52 n-tech it's a very expensive and hard to deal with problem
22:52:20 @linear n-tech: boxes on the right?
22:52:31 n-tech what boxes
22:53:49 @linear in the preview image you linked
22:54:10 n-tech https://infinitydev.org/
22:54:12 n-tech view it live here
22:57:41 @linear I have JS off but I don't see anything in them
22:57:46 @linear I was curious if they were intended to be ad slots?
23:07:39 StephenLynx https://infinitydev.org/contribute n-tech from what I understand here, you estimate a month's work worth 2 thousand dollars?
23:07:56 n-tech no, but that's what people told me to write.
23:08:03 StephenLynx ah
23:08:05 n-tech I work 16 hours a day and spend about $300 a week
23:08:08 n-tech but if I wrote
23:08:10 n-tech $5/hr
23:08:12 n-tech $1400/mo
23:08:16 n-tech people would think im full of shit.
23:09:45 n-tech pricing my work is hard because everyone is very critical of these fundraisers now
23:09:49 n-tech i just want enough to get by.
23:09:54 n-tech i don't care about anything except programming.
23:10:30 @linear nice
23:10:36 @linear so
23:10:36 StephenLynx it seems that where you live is expensive.
23:10:38 @linear what are the boxes for n-tech
23:10:53 n-tech can you screencap the boxes
23:10:58 n-tech oh the 300x250
23:11:06 n-tech those are advertisement placeholders for copy's 2ch agreement
23:11:10 @linear okay
23:11:30 @linear I assumed that, they seem pretty instrusive if they stay on the side
23:11:36 @linear while you scroll, esp. under the post box
23:11:49 @linear If they were like that on 8ch I think a lot of users would be quite upset
23:11:52 n-tech ok. i can move them under posts. it's just css.
23:12:04 n-tech css is very easy to change. design stuff is very trivial and easy to change.
23:18:42 >> brkk (brkk@It.is.not.my.fault.that.I.am.not.cute) has joined #8chan-dev
23:34:49 StephenLynx how do you reply to a thread on the rewrite?
23:35:00 StephenLynx or enter the thread's page?
23:35:56 StephenLynx why does it takes an arbitrary number after the board name but a string will give a 404 page?
23:37:09 StephenLynx is there a reason for the /res/ between the board name and thread page in the current version? (http://8ch.net/tech/res/9176.html for examle)
23:37:43 StephenLynx couldn't it be tech/9176.html?
23:41:59 StephenLynx ah
23:42:16 StephenLynx it serves files using the same subdomain