/g/ - Technology & Programming

Gustavo was here

GIqSnWaDsEx55 KB551x181Capture.png
>>3637610 #
>>3666877 #
Looks like it's not just the post number.
>Quote someone by selecting a part of their post and then clicking the post number
>Upload an image without writing anything yourself
Results in the same thing, except the selected part also shows up twice.
Lat would it be possible to implement the functionality that pigpol has where users can just hit 'paste' into the message box and it automatically uploads whatever they have saved to clipboard?
Thanks mane.
>>3689627 #>>3692980 #
>>3689004 #
The userscript on /a/ add that feature. It would probably be easy to add to meguca, just an even listener for paste.

>>3660382 #
I have OCD. But fine, I'll try to indulge you. Please post on questchan.org/qc and add it to the README.md after. Is that reasonable?
>>3661119 #
>>3660471 #
No. First of all, I said no, because I have no reason to participate. You should use 4chan-X as a base if you want to add functions for reading threads.
>>3661484 #
>>3661119 #
What reason would you deem as valid then to participate? I can't see why you're so against a dialogue; I don't believe I have done anything bad. It's like you don't want people to use your userscript. If I haven't made it clear, I'm not interested in 4chan-X's thread reading functionality, only CatChan's VirtualBoard system.

13th century Persian poet Ibn Yamin said there are four types of men:
One who knows and knows that he knows... His horse of wisdom will reach the skies.
One who knows, but doesn't know that he knows... He is fast asleep, so you should wake him up!
One who doesn't know, but knows that he doesn't know... His limping mule will eventually get him home.
One who doesn't know and doesn't know that he doesn't know... He will be eternally lost in his hopeless oblivion!
>>3662598 #
>>3661484 #
> posting poems
> Implying you have wisdom
Crazy shit you are. Do you think you know everything? No, definitely.

> VirtualBoard system.
You should have said this at first, this makes it clear. While I'm consistent no, because you don't fill my criteria; your site is too young. You might not know, but running a chan is a quite painful work; nobody thank you, while everybody complain about you. So you must have got accustomed to chans in advance, this requires 1 year usually. For example, admins of 76chan, systemspace and sushichan quit about less than 1 year. And miserable things happened in lainchan.jp because of their lacking maturity. When you want to be trusted, you must show it by yourself. Experience of 1 year of admin is one thing, and your conversation skill is also one thing. As I said, you should have mentioned about virtual board AT FIRST. Then, we might get successful discussion. But we wasted our time because of your poor conversation skill. This is also under criteria. BTW, one reason why I trust Lat is this; he tends to anticipate result of discussion and put it in early stage, therefore we can get result with less time and efforts. Participate or not will be an endless discussion if you want some reasons, this just wastes our time. This is clear from the beginning, why didn't you want to quit? You should have shown your conversation skill if you want me to participate. And you posted >>3656267 # without any clue, so you will never fill my criteria. Why do you want to waste my time? I said no at the first post, and that's all.

From technical aspect,
1. VirtualBoard System will be integrated in distchan. Then you can change your chans software from vichan to distchan.
2. If you want to utilize VirtualBoard, the best solution is server-side. You require PHP code, not CatChan.
3. I'm busy to prepare distchan.
>>3663947 #
>>3662598 #
Oh come on. Don't be like that. You are too quick to jump to conclusions. I'm the guy with the limping mule.

I'm sorry I didn't get right to the point with you, but with most people it's expected you ease them into whatever you want to talk to them about. I'm well aware of the nuances of a chan, and I'm also aware most don't make it to their first birthday. For the record, systemspace and sushichan are back; continuity is what matters not some months of downtime. It seems there is nothing I can say or do that will sway you so I will just ask again in a year. I'm willing to wait to wait a year, but don't be self-righteous and pretend you would've wanted to help me otherwise if my conversation skill had been up to par. You already seem to have other ideas of your own going on. I guess sincerity does not count for anything with you even though no one else cares about the existence of your userscript. I was just trying to be friendly in my supplication.


「Meguca Custom CSS」

AnonymousExpandLast 100
GIqSnWaDsEx307 KB765x1070gap css.png
Old thread died. Posting some new stuff.

§§ Minimizing the vertical gap between images

Drawback: Text does not flow around images anymore.
Better results can only be achieved by reordering the HTML elements. Or possibly through some ugly float hacks.

article {
padding: 2px;
display: grid;
grid-template: "media meta"
"media header"
"media post"
"media backlnk";
grid-template-rows: min-content min-content 1fr min-content min-content;

.post-container { display: contents; }
article figure { grid-area: media ; margin: 0px; padding: 0px 1em 0px 0px; }
article blockquote { grid-area: post; }
article header { grid-area: header; margin-top: 2px; }
article figcaption { grid-area: meta; margin: 0px; }
article .backlinks { grid-area: backlnk; margin-left: 0.3em; }
article.media blockquote { margin: 2px 1.5em; }
article:not(.media) header { padding: 0px; margin-left: 0.3em;}
blockquote:empty {display:none !important; }
It still has some warts. The new post form for example.


「DistChan or TagChan」

AnonymousExpandLast 100
GIqSnWaDs37 KB540x500network-distributed.gif
I'm thinking about writing an ultra light imageboard engine for distributed chans. I can write JavaScript, since I wrote CatChan, but I'm not webdev and I don't know PHP, SQLite, CSS, Captcha, Apache or Nginx, so anyone who provide technical advice are welcome. However, it will be an conceptual one, so I'll refuse all conceptual advice probably. Anyway, helps or advice are welcome. And also, anyone who want to try this in your site are also welcome.
101 posts and 1 image omitted See all
>>3526358 #
Shitting on Go then saying you'll write it in PHP with sqlite is like saying you'd rather eat pickled bull testicles over McDonald's.

A distributed community web application will always need a centralized backend. There are no exceptions. Key term web application. At least one that's feasible for typical end users (even accounting for chan users to be more tech-inclined on average). Maybe this won't always be true; maybe in the future people will be able to distribute computing directly through their browser using some blockchain without any other setup, download, or installation on their part, but that's not happening any time soon. So you can either expect users to download some specialized client which turns themselves into a network node (and have almost no imageboard audience), or you're basically just creating a regular modern web app.

Perhaps you're expecting a select group to be "supernodes", but their home connections are generally not going to be able to handle the computing and network requirements of a popular website. So you'd end up using a bunch of regular VPSs or dedicated servers as supernodes, and then you're back at square 1 with a centralized web application. You can distribute frontend mirrors of the site if you want, but it doesn't buy you much.

And this is without even thinking about coordination issues like banning and deleting and spam.

The best you can hope for is some sort of totally ephemeral P2P JS app with WebRTC and such, in which case you're reduced to making a shared chatroom that looks kind of like an imageboard with no persistence. And that still carries a lot of moderation issues.

There also isn't really a need for new imageboard software, to be honest. Tinyboard is dead and vichan has officially announced it's no longer in active development and that other solutions should be used. There's Infinity, but it has a lot of issues, is niche and tailored exactly for 8chan, and is based on the ancient, awful (1/2)
>>3541031 #>>3543358 #
>>3540961 #
(2/2) Tinyboard/vichan PHP codebase. If you want to contribute to imageboard culture, just contribute to meguca, seriously. It's right there: https://github.com/bakape/meguca

There are a lot of features you can implement both on the server- and client-side, and bugs you can fix. You can have a tangible impact right now. Meguca is arguably the strongest and most actively developed imageboard software out there right now, and is increasingly looking like it'll be the future of imageboards, despite the fact that only one person is contributing heavily to it right now. Golang is not fun to write in, no, but it's still a way better-designed language than PHP, and the meguca codebase is already out there and totally production-ready. So if what you care about is imageboards, contribute to meguca.

If what you really care about is not imageboards but some form of truly decentralized social app, then you need to decide whether it should be a normal web app that people can access through their browsers like any other website (in which case it's not going to be an imageboard in any normal sense), or some custom alternative application that only ubernerds are ever gonna use and which probably won't have a large enough userbase to actively post on the site, let alone constantly run nodes. If I were you, I would just contribute to meguca.
>>3543358 #
>>3540961 #
>>3541031 #
Go is shit and I'll never touch it. I might use Node.js as a default platform, but I'll use PHP probably. This comes from deployment matter; All cheapest servers have PHP, but Node.js.
And I won't participate development of meguca, because distchan and meguca have opposite concept. While I have read all posts in the dev thread of meguca, and I have replied if I could answer.

Distchan is not a P2P application. It's just a group of servers with same protocol. It's similar to 8ch, but it has native tag feature to kill bad mods and admins. Therefore, I told this concept to HotWheels, but he refused. And also, I proposed this to admin of lainchan and Lat here, but they refused. So, I'll make it by myself. You'll realize what I think after I release it, but it's difficult to explain without concrete software, so I'll make conceptual model.

> If I were you, I would just contribute to meguca.
You can do it at anytime, and meguca can adopt my codes at anytime.

I'm always redirected to mewch.net. Why?

>>2852828 #
This board is pretty good. I'm enjoying.


「Please make a small change」

AnonymousExpandLast 100
GIqSnWaDsEx181 KB309x431composed.png
Put the cancel button to the right of the browse button, having it right next to the done button leads to too many accidental cancels and upsets a lot of people too retarded to ask you to change it.
28 posts and 10 images omitted See all
>>3499007 #
I find I already present enough options to satisfy fast posters, retarded posters and phonefags alike already. On a phone, where you cursor is generally as large as your finger, having that Done on the side is optimal, but keeping the Cancel next to Done is still good design for desktop GUIs.
>>3499007 #
I have a feeling the modern user has been spoiled by buttons the size of planets. If you really feel it is a problem, just add
input[type=button], input[type=file], input[type=submit] {
padding: 1em;
to your custom CSS. But I assume most users don't need this. So I keep my stance.
>>3499016 #
>>3499009 #
Ahahah, no i don't need anything like that. Thanks for indulging me on this though, your explanation makes enough sense for me to not whine about it again. Made the thread mostly because i'd seen a number of people frustrated after accidentally hitting cancel, I'll direct them to the CSS changes here nest time.
>>3498998 #
>Cancel should be next to Done (OK). That is cannon and conforming to the standard leads to intuitive interfaces most of the time.
Yeah, but it's also standard to have some kind of confirmation pop up in situations where hitting cancel or closing a page might mean lost work. That might actually be a superior solution although I have no idea how much work it will be. I'll use the CSS offered though.
I on the other hand would just get rid of Cancel outright. Gucas should learn how to live with their mistakes.
>>3505314 #


「Image-Dumping/Multi file upload script」

AnonymousExpandLast 100
GIqSnWaDsEx68 KB822x252multi-upload.png

New fixes and features
>shuffle file list
>you can now post text while dumping. just type while it's uploading an image and the post won't auto-submit, dump will continue after closing the post
>FF57 and Greasemonkey 4 compatibility

Older features
>automatic detection of multi-file drop (single-file is handled natively by meguca)
>filename editing
>file deduplication (queue and current thread)
>adjustable delay between posts
>numeric sort by filename

I dev and dogfood on firefox, feedback from other browsers welcome.
12 posts and 2 images omitted See all
well, if you feel like exposing that information as API I could just query it.

>>3330548 #
Chrome might be throttling background tabs, browsers started that to save CPU resources and battery. Firefox is not quite as aggressive about that and it can also be turned off. Would have to look into chrome specifics if you want me to work around that.
But then... dumping while lock-screened? Seems super-lazy.
>>3458854 #
>>3451318 #
I have a hunch this is due to some mutation observer. Maybe integrating the script into meguca could solve this.
>>3458863 #
what's your current policy on contributions anyway? does it even make sense to do JS stuff since you're doing the C++ rewrite?
>>3459129 #
>>3458877 #
C++ rewrite is still far off. Any not outright shit/useless contributions are always welcome.

install gentoo
What's your use case?
Doesn't really make a difference for light VM use.


「I broke meguca with 1 character」

Mega MilkExpandLast 100
GIqSnWaDsEx252 KB373x56769868751b40437ab8664e86df57914c4-imagepng.png
I posted unicode that crashed meguca. I will not post this character as in the wrong hands will destroy your site. There is an exploit in Chrome based browsers that don't allow a certain Unicode character to be posted.

The bug is being reported to Google so it should be fixed soon. Be careful guys. Use Firefox on any realtime imageboard until this is confirmed to be fixed.

Mods should sticky this as a warning on the front page.

- Your friends at mewch.net
2 posts and 0 images omitted See all>>3210359 #>>3337913 #
Server is written in go, so a Unicode character breaking it is pretty unlikely.
Breaking the c++ mess that is chrome seems more likely.
>>2716698 #
>People actually use Chrome
Disgusting. They deserve everything they get. Here's a bump anyways, because this should be stickied.
It's amazing how dedicated the mewchan shills are in keeping this thread bumped. Do you guys like have your own organized shilling taskforce?

Pay me for a better one. Cheap is cheap.
Put a crypto miner on the website

This one is only one virtualized server rented from a VPS provider. I don't have the cash to deploy and manage my own.