[ overboard / cytube] [ leftypol / b / hobby / tech / edu / games / anime / music ] [ meta ] [ GET / ref]

/tech/ - Technology

"Technology reveals the active relation of man to nature"
Name
Email
Subject
Comment
Flag
File
Embed
Password (For file deletion.)


File: 1608525846307.png (361.29 KB, 420x543, 8bc59c5b0e5d9e8e34df550d8c….png)

 No.296

One thing that would be useful would be rewriting >>[INTEGER] links in posts when threads are transferred across boards

Now how do?
>>

 No.297

>>296
What do you mean by "rewriting?" Isn't that already what happens when we move posts?
>>

 No.298

>>296
That already happens
>>

 No.299

>>298
>>297
You sure, it didn't used to see >>>/hobby/421 for example

If it is fixed, what else needs fixing?

How do we even contribute to the code?
>>

 No.300

>>299
I haven't looked at the code but I am pretty sure printing the integer is what takes place; I don't that is the issue with transferring threads that breaks >>xxxxxx If that is what you are asking anyways.

>How do we contribute to the code:

I think that lynxchans code is opensource. You can look it up. Our code, however, is going to be a forked version of that, ofc.
>>

 No.301

>>300
>I don't that is the issue with transferring threads that breaks >>xxxxxx If that is what you are asking anyways.
It's text as part of the post, fixing it means when threads are transferred between boards rewriting the >>[INTEGER] so posts keep their links to the posts they're referring to

That not happening is part of what kills transferred threads
>Our code, however, is going to be a forked version of that, ofc.
Yes, I know that's what I'm asking about
>>

 No.302

>>301
Actually, now that I am thinking about it, I don't think we have altered the code revolving around the integers for the transferring of threads. I am pretty sure you could find lynxchans code on github and point out what is wrong with it.
>>

 No.303

Another incredibly annoying bug that's related to the topic at hand is:
when I copy the post # (let's say "0000" to >>0 reply [b]without javascript[/b] (so, when I drag the mouse manually across the numbers and hit ctrl+c) there's like a nanometer difference between copying just that sequence of numbers and the sequence of number PLUS some hidden space, which I think has something to do with 0000's hyperlink. This results in the posts you sometimes see that come out like this:
>> 0000
&ltNow I disagree vehemently with your argued position…
Again, this is not a result of dragging so far to reach the actual space between "No." and "0000", but some sort of space that, I think, has to do with the 0000's hyperlink. It looks like you copy the same thing, the number, but a teeny tiny bit left/right and you got a hidden space in the ctrl+c.
>>

 No.304

>>302
https://gitgud.io/LynxChan/LynxChan/blob/master/src/be/engine/modOps/transferOps.js
Well the code in question is here
https://gitgud.io/LynxChan/LynxChan/blob/master/src/be/engine/modOps/transferOps.js

It's not exactly an easy thing otherwise it would already be done,a naive solution would be to build up an abstract model of what posts the links point to, feed the model the structure before the move and then post move grovel around and harmonize the links in the moved thread with the preserved model

There'll be edge cases like links to post outside the thread where the optimal default isn't clear, link back to the post in the board? like >>>/example/101 but that's not the desired behavior if a lot of threads are being moved around

Just preserving the link structure within the thread should be good enough to give the moved thread a bit more oxygen though
>>

 No.305

74
74
74
No. 74
>>304
I just turned off javascript in firefox and replicated this issue

What's really interesting is that this extra space doesn't occur when you copy the visible space as well
>>

 No.306

>>299
>You sure, it didn't used to see >>>/hobby/421 for example
Yes. That post was transferred before a lynxchan update that fixed this issue.

>If it is fixed, what else needs fixing?

>>>/gulag/3941
>How do we even contribute to the code?
[b]I will be making a post on this board later this week with information, etc.[/b] On friday I will have (hopefully) finished my college degree and have free time again.

>Our code, however, is going to be a forked version of that, ofc.

Nope. As of right now our backend code is 100% pure lynxchan, in which we have 3 plugins to provide additional functionality (fixing post history, anchord functionality, orangetext). Our frontend is a fork of the default frontend but is kept relatively close to it in order to be able to pull updates if we upgrade a version.
>>

 No.307

>>305
This was meant as a reply to >>303
>>

 No.308

>>306
I failed my degree so i will be having a little delay in being able to properly organise and start working off the backlog.
>>

 No.309

>>308
Are you OK BO?
>>

 No.310

File: 1608525847329.jpg (80.3 KB, 889x500, 1503544997_1486461000472.jpg)

>>309
Im somewhat upseti but the repair isnt that difficult. I missed two parts for my grade which I did make but did not document. Shouldnt take more than a week to fix my thesis and pass, maybe 3 weeks if im going to be really fancy and thorough. After that i should hopefully be completely done.

I was hoping to finish my education today though. Feels bad when you do all that work and then fail you. Im so fucking tired.
>>

 No.792

>>310
Any news on how we can help?
>>

 No.858

Is this related to go[i]ogle[/i]chan? Why did you make the database thread on /leftypol/ instead of here?
>>

 No.862

>>858
No.
I didn't make this thread. It was on leftypol to inform the users mainly.
.t rat
>>

 No.892

WHAT THE FUCK IS GOING ON

Unique IPs: 1

[Return][Go to top] [Catalog] | [Home][Post a Reply]
Delete Post [ ]
[ overboard / cytube] [ leftypol / b / hobby / tech / edu / games / anime / music ] [ meta ] [ GET / ref]