/g/ - Technology & Programing


Anonymous
When using catchan with 4chan-x in waterfox(and I assume firefox) it treats 4chan-x's catalog view as index view. All the threads are displayed as if you were browsing index view, rather than as tiles.
>>2455583 #>>2455602 #
Anonymous
>>2453664 #
CatChan doesn't support 4chan-X's catalog, because 4chan-X tweaks HTML so much, it's hard to support. However, CatChan supports 4chan's native catalog. They are different URLs, for example,
4chan's native catalog: http://boards.4chan.org/a/catalog
4chan-X's catalog: http://boards.4chan.org/a/
As you see, url of 4chan-X's catalog is the same as url of index view, there is a historical reason. As far as I know, 4chan-X had provided catalogs before the native, and 4chan adopted it after that with different url, so 4chan-X's catalog has the url of index page, and 4chan-X rewrite whole HTML to make catalog. This is why it's hard to support. You can switch which catalog the [Catalog] link refers in index view in 4chan-X's setting,

Anonymous
maybe try setting some unused subdomain. foobar.meguca.org and see how that propagates. since it does not exist it shouldn't be in any cache.
>>2443127 #
Anonymous
>>2443115 #
>foobar.meguca.org
Set. I have to go now. I'll try this from a different network later and see, if it works.
>>2443131 #
Anonymous
>>2443127 #
Ok, doesn't resolve. So that probably means that whatever you put into the web interface doesn't immediately get written to their DNS servers or something.
Anonymous
Would it be possible to see the formatting while you are liveposting? I think it would be cool if

>this was greentexted as I was typing to see if the formatting was going to come out ok

or this
>>2449846 #
Anonymous
>>2448055 #
Building a rich text editor in a browser is a very complicated problem, that can only be solved with a lot of hacks. I have tried and concluded it's not worth the trouble.

/g/

「hydron dev thread」

AnonymousExpandLast 100
GIqSnWaDsEx11 KB191x191proton.jpg
Hydron is a much faster Hydrus alternative backend.
Version 1.0.0 released. Basic API now complete.

README: https://github.com/bakape/hydron/blob/master/README.md
API docs: https://github.com/bakape/hydron/blob/master/docs/client_development.md
Static Windows binary: https://github.com/bakape/hydron/releases/download/v1.0.0/hydron-v1.0.0_windows_x86_64.zip

Anyone interested in developing or co-developing a GUI frontend? Any language is fine.
47 posts and 5 images omitted See All
Anonymous
>>1926561 #
If you going to start a tag war with diverged features, please don't. Helping is good.
Reimplementing Hydrus is fine, there are more new features for Hydrus on the way.
t. Hydrus user
>>2060679 #
Anonymous
>>2060241 #
I decided to not. Hydrus tag spec are a clusterfuck and very inefficient to scrape. I'd rather just sync tags from various boorus.
Anonymous
>>2320594 #
I've just been busy with other things. The CLI is pretty complete already, but I have not had the time to work on the GUI in a while.
Anonymous
Reworked Qt frontend and added file removal. bump

Anonymous
test test2

Anonymous
>>2114864 #
update for IRC mode

/* grid */
article:not(.reply-form) {
display: grid;
grid-template: "a c d"
"a b d";
grid-template-columns: min-content minmax(144px, auto) auto;
}
article:not(.reply-form) header {grid-area: a;}
article:not(.reply-form) figure {grid-area: c;}
article:not(.reply-form) .backlinks {grid-area: b;align-self: end;}
article:not(.reply-form) .post-container {display: contents;}
article:not(.reply-form) blockquote {grid-area: d;}

/* stack backlinks*/
article:not(.reply-form) .backlinks {display:flex;}

/* strip non-essentials */
article:not(.reply-form) header time {display:none;}
article:not(.reply-form) header .name {display:none;}
article:not(.reply-form) header .control {display:none;}
article:not(.reply-form) figcaption {display: none;}

/* spacing */
article:not(.reply-form) header {margin-right:5px;}
article blockquote {margin: 0px;}

/* kill reddit-spacing */
article:not(.reply-form) blockquote br { line-height: 0px;display: block;}
Anonymous
so, I made some random CSS a while back - combined it makes a really comfy Ashita/Console mix.

Horizontal posting

#thread-container {display:flex;flex-direction: row;flex-wrap: wrap;align-items: stretch;}

--

Ashita/Console

body {
margin: 0;
padding: 0;
font-family: Monaco, "Andale Mono", Courier, monospace;
font-size: 10pt;
background-color: #000
}
#threads:not(.custom-BG) section > article.editing:not(:first-child) {
background-color: #B2B2B2;
border-color: #B2B2B2;
color: #000
}
aside,
.modal,
.side-panel {
background-color: #000;
border: 1px solid #000;
}
.embed {
background-color: rgba(0,0,0,0.4);
color: white;
}

--
Liveposting/YT embed

#threads:not(.custom-BG) section > article.editing:not(:first-child) {
background-color: #B2B2B2;
border-color: #B2B2B2;
color: #000
}
.embed {
background-color: rgba(0,0,0,0.4);
color: white;
}

>>2401200 #
Anonymous
GIqSnWaDsEx73 KB1282x721CSS.png
>>2401177 #
here's the whole combined thing for lazy fucks
''body {
margin: 0;
padding: 0;
font-family: Monaco, "Andale Mono", Courier, monospace;
font-size: 10pt;
background-color: #000
}
#threads:not(.custom-BG) section > article.editing:not(:first-child) {
background-color: #B2B2B2;
border-color: #B2B2B2;
color: #000
}
aside,
.modal,
.side-panel {
background-color: #000;
border: 1px solid #000;
}
.embed {
background-color: rgba(0,0,0,0.4);
color: white;
}
#thread-container {display:flex;flex-direction: row;flex-wrap: wrap;align-items: stretch;}''
>>2401237 #

Anonymous
>>2317842 #
You would need a separate option (templates/specs.go, client/options/spects.ts) and then language definitions in lang/*/server.json. Then you would need to test it. I can't be assed to do it all.

Anonymous
I'm here.


Anonymous
GIqSnWaDsEx158 KB1020x11214chan_qa_1380723.png
As I posted in 4chan, I can't understand the situation. I'll repost them here. See 1389936 and later.

----
Overdetection might be caused by a bug of 4chan. I can't understand why this situation was occurred. Pic related. Can anyone explain this?

Pics are contents of catalog.json.
Pic0: thread at page 0.1, time of last post was 1497199058. (threadA)
Pic1: thread at page 0.2, time of last post was 1497198820. (threadB)
Pic2: thread at page 0.3, time of last post was 1497199203. (threadC)
ThreadA and threadB was overestimated clearly.
Pic3: details of detection. Time of last post in a thread at page 0.5 was 1497199210, and later was seems to be ordered correctly. (last 3 letters were 210, 209, 209, 202, 200, 201(probably sage), 200, 199) But threads at page 0.3 and 0.4 were also overestimated.

This thread will be pruned, so I'll wait in meguca also.
----