Welcome Guest ( Log In | Register )

1321 Pages V « < 315 316 317 318 319 > »   
Reply to this topicStart new topic
> 中文討論區: 變態道的原罪 [禁無意義的水跟簽到], The Chinese discussion thread of declining quality.

 
post Jan 12 2023, 20:24
Post #6321
Lady_Slayer



Member of the Bal'masqué
*********
Group: Catgirl Camarilla
Posts: 5,672
Joined: 20-December 16
Level 500 (Ponyslayer)


唉。经常我清一下浏览器的cookie然后就有些东西不工作了。不过还是感谢楼上的两位大佬看了看我的问题。 (IMG:[invalid] style_emoticons/default/smile.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 12 2023, 21:33
Post #6322
susancat



Newcomer
********
Group: Gold Star Club
Posts: 2,763
Joined: 7-August 14
Level 500 (Ponyslayer)


QUOTE(deaf-mute @ Jan 11 2023, 10:17) *

https://e-hentai.org/g/2430678/9c4306c797/
因為這部二創花了一整個下午看完孤獨搖滾的漫畫最新進度
一方面很憧憬漫畫中「結束Band」在音樂路上不斷前進的朝氣
另一方面覺得沒有付出任何努力,
就隨意小並感地說「很憧憬」「很厲害」「很想成為他們」的自己很卑鄙幼稚
沒有資格仰望這些耀眼的繁星

我曾經也很憧憬日本的電子音樂製作者(像Laur, Kobaryo, C-Show, Camellia之類的)
但我遲遲沒有付出任何努力

最近跟高中時的恩師聚舊,他談起佛教中的「不死尋思」
即是人潛意識誤以為自己不死/死期未臨近,可以將要做的事不斷推托延遲
正好給我一個當頭棒喝

或許新一年的我應該先買一個FL Studio,開始認真學習

---
不過我想一想,寫了這一小段,其實也只是一種尋求他人認同、安慰的自我滿足
我寧願大家罵我不長進,好讓我從網上世界逃回現實
嗚...

這樣你還是沒有擺脫拖延的迴圈,
不過是把一個很遙遠的目標換成一個你以為能夠達到實際上很空泛的目標,
你以為你跟他們之間的差距就只是fl studio嗎?
以你現在的心態就算學了也只是fl studio技術操作員,而不是音樂製作人。
因為他們就算沒有電腦也會用嘴唱出來,只剩一根手指也會在桌子上敲出來,
他們心中的旋律。
如果你心中真的有名為音樂的猛獸要撲躍而出的話,又豈是一個軟件能阻止?

如果你只抱著為了逃避無聊的生活那點鬥志,
就不要妄想能達到他們賭上自己生命去達成的高度。
你有為此拼搏生命的覺悟嗎?


(模仿日本少年漫畫的風格寫的。看太多異世界才發現原來少年漫畫那麼熱血。)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 12 2023, 22:12
Post #6323
米凯拉的卫兵



一三五强鳖,二四六咩鳖,周日停电
****
Group: Gold Star Club
Posts: 333
Joined: 28-March 16
Level 484 (Dovahkiin)


QUOTE(susancat @ Jan 13 2023, 06:33) *

這樣你還是沒有擺脫拖延的迴圈,
不過是把一個很遙遠的目標換成一個你以為能夠達到實際上很空泛的目標,
你以為你跟他們之間的差距就只是fl studio嗎?
以你現在的心態就算學了也只是fl studio技術操作員,而不是音樂製作人。
因為他們就算沒有電腦也會用嘴唱出來,只剩一根手指也會在桌子上敲出來,
他們心中的旋律。
如果你心中真的有名為音樂的猛獸要撲躍而出的話,又豈是一個軟件能阻止?

如果你只抱著為了逃避無聊的生活那點鬥志,
就不要妄想能達到他們賭上自己生命去達成的高度。
你有為此拼搏生命的覺悟嗎?
(模仿日本少年漫畫的風格寫的。看太多異世界才發現原來少年漫畫那麼熱血。)



有一说一,波奇酱每天一个人孤独地练琴6小时持续三年多,有这种毅力还有什么不能做成的呢,起码冲着这一点
是绝大多数人所不能比较的了。波奇酱是社恐,大多数人是颓废
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2023, 02:31
Post #6324
yunyunxiaoxiaoyang



Casual Poster
****
Group: Catgirl Camarilla
Posts: 345
Joined: 12-January 16
Level 500 (Ponyslayer)


H@H 大佬们快回来呀,我好想念你们啊 (IMG:[invalid] style_emoticons/default/cry.gif)

我本来只计划提供 EH 全站 1% 左右的 H@H 带宽,H@H 在半夜大致提供 25MB/s 左右,剩下的都作为冗余带宽...
现在有2位大佬掉量,负载全跑我这边,把我冗余带宽都给吃满了,半夜居然都跑到 35MB/s 了 (IMG:[invalid] style_emoticons/default/cry.gif)
现在我 H@H 带宽居然给提高到 EH 全站的 1.42% 了,还因为冗余带宽长期被占天天吃告警了 (IMG:[invalid] style_emoticons/default/cry.gif)

help!

(IMG:[blog.wtf.day] https://blog.wtf.day/wp-content/uploads/2023/01/image-2023-01-13-343834.png)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2023, 02:46
Post #6325
Lady_Slayer



Member of the Bal'masqué
*********
Group: Catgirl Camarilla
Posts: 5,672
Joined: 20-December 16
Level 500 (Ponyslayer)


QUOTE(VVFGV @ Jan 12 2023, 18:31) *

H@H 大佬们快回来呀,我好想念你们啊 (IMG:[invalid] style_emoticons/default/cry.gif)

我本来只计划提供 EH 全站 1% 左右的 H@H 带宽,H@H 在半夜大致提供 25MB/s 左右,剩下的都作为冗余带宽...
现在有2位大佬掉量,负载全跑我这边,把我冗余带宽都给吃满了,半夜居然都跑到 35MB/s 了 (IMG:[invalid] style_emoticons/default/cry.gif)
现在我 H@H 带宽居然给提高到 EH 全站的 1.42% 了,还因为冗余带宽长期被占天天吃告警了 (IMG:[invalid] style_emoticons/default/cry.gif)

help!

(IMG:[blog.wtf.day] https://blog.wtf.day/wp-content/uploads/2023/01/image-2023-01-13-343834.png)


建议再多开几台,这样你就是全球H@H第一人了XDDD
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2023, 03:10
Post #6326
tsXor



Newcomer
**
Group: Members
Posts: 55
Joined: 20-July 20
Level 51 (Expert)


QUOTE(OnceForAll @ Jan 12 2023, 13:02) *

没记错的话,那个函数是叫 getTimeZone()、干的事情是从 User Center 首页获取时区配置。


我发现我出的错不是因为这个。
我出错的那句是:
CODE

        var threadTitle = tr.children[2].getElementsByTagName('span')[0].textContent;
        var threadNumber = tr.children[2].getElementsByTagName('span')[0].getElementsByTagName('a')[0].href.match(/showtopic=(\d+)/)[1];

这句话所在的函数是在一个文档(参数data)上处理(应该是xhr下来的)
然后我发现他在处理https://forums.e-hentai.org/index.php?showforum=76 时崩了 (IMG:[invalid] style_emoticons/default/dry.gif)
最后定位到html元素就是shank发的那个Announcement: The Quests & Activities Board
至于为什么它会崩,其实是一个trick不那么适用了。目前论坛帖子列表中的标题几乎都是一个span里套一个a,但是
个Announcement出了例外,它长这样:
<b>Announcement: <a href="https://forums.e-hentai.org/index.php?act=announce&amp;f=76&amp;id=20">The Quests &amp; Activities Board</a></b>
它是b套a,于是匹配机制寄了。

加一点fallback:
CODE

        var threadTitleTBlock = tr.children[2]
        var threadTitleContainer = threadTitleTBlock.getElementsByTagName('span')[0];
        var threadHrefElement;
        if (threadTitleContainer) {
            // 正常,直接获取链接
            threadHrefElement = threadTitleContainer.getElementsByTagName('a')[0]
        } else {
            // 没有span,fallback到格内第一个a元素的父元素
            threadHrefElement = threadTitleTBlock.getElementsByTagName('a')[0]
            threadTitleContainer = threadHrefElement.parentElement
        }
        var threadTitle = threadTitleContainer.textContent;
        var threadNumber = threadHrefElement.href.match(/showtopic=(\d+)/)[1];

然后在threadNumber寄了。因为那个announcement本来就不是一般的thread,正则匹配出来是空的 (IMG:[invalid] style_emoticons/default/huh.gif)
那直接套个try罢
CODE

        try {
          var threadNumber = threadHrefElement.href.match(/showtopic=(\d+)/)[1];
        } catch(err) {
          continue;
        }


This post has been edited by tsXor: Jan 13 2023, 03:44
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2023, 03:18
Post #6327
Kagoraphobia



✝️ Ascension of Angel ✝️
***********
Group: Global Mods
Posts: 12,272
Joined: 12-August 19
Level 500 (Ponyslayer)


QUOTE(Mayriad @ Dec 23 2020, 08:07) *
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2023, 03:36
Post #6328
yunyunxiaoxiaoyang



Casual Poster
****
Group: Catgirl Camarilla
Posts: 345
Joined: 12-January 16
Level 500 (Ponyslayer)


QUOTE(dongmian @ Jan 13 2023, 08:46) *

建议再多开几台,这样你就是全球H@H第一人了XDDD


算了下,我需要开15台大陆公有云机器才能在10天内霸榜,19台量级能勉强上10万(没有冗余带宽)
但独立IP和独立带宽太贵了,等我把我 OC 的插画都委托完了再考虑吧(

This post has been edited by VVFGV: Jan 13 2023, 03:37
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2023, 03:52
Post #6329
tsXor



Newcomer
**
Group: Members
Posts: 55
Joined: 20-July 20
Level 51 (Expert)


QUOTE(dongmian @ Jan 12 2023, 13:24) *

唉。经常我清一下浏览器的cookie然后就有些东西不工作了。不过还是感谢楼上的两位大佬看了看我的问题。 (IMG:[invalid] style_emoticons/default/smile.gif)



结果我修完我报的那个错,脚本就(暂时)正常了 (IMG:[invalid] style_emoticons/default/huh.gif)
您能不能再出一下那个错,然后点一下第一个at后面的白字,告诉我跳到哪了 (IMG:[invalid] style_emoticons/default/blink.gif)

我的修复1:https://pastebin.com/Tv3xUt1A

This post has been edited by tsXor: Jan 13 2023, 03:56
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2023, 04:18
Post #6330
Lady_Slayer



Member of the Bal'masqué
*********
Group: Catgirl Camarilla
Posts: 5,672
Joined: 20-December 16
Level 500 (Ponyslayer)


QUOTE(tsXor @ Jan 12 2023, 19:52) *

结果我修完我报的那个错,脚本就(暂时)正常了 (IMG:[invalid] style_emoticons/default/huh.gif)
您能不能再出一下那个错,然后点一下第一个at后面的白字,告诉我跳到哪了 (IMG:[invalid] style_emoticons/default/blink.gif)

我的修复1:https://pastebin.com/Tv3xUt1A


太牛逼了大佬。您修完了我这也正常了。

第一个at是原脚本115行
CODE
//If you haven't read the latest post, highlight the thread
    if (!/Ignore/.test(tr.children[5].textContent) && ((!storage.latestRead[threadNumber] || storage.latestRead[threadNumber] < tr.threadDate) && !userId.test(tr.children[4].getElementsByTagName('a')[0].href))){
      if (!/auction/i.test(tr.children[1].textContent))
        atLeastOneHighlighted = true;
      [].forEach.call(tr.children, function(td){
        td.style.backgroundColor = unreadColor;


第三个是99行。
CODE
trs.forEach(function(tr){

第四个是282行
CODE
    cleanContent();

第五个是384行
CODE
      done(r.response);

User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2023, 04:39
Post #6331
tsXor



Newcomer
**
Group: Members
Posts: 55
Joined: 20-July 20
Level 51 (Expert)


QUOTE(dongmian @ Jan 12 2023, 21:18) *

太牛逼了大佬。您修完了我这也正常了。

第一个at是原脚本115行
CODE
//If you haven't read the latest post, highlight the thread
    if (!/Ignore/.test(tr.children[5].textContent) && ((!storage.latestRead[threadNumber] || storage.latestRead[threadNumber] < tr.threadDate) && !userId.test(tr.children[4].getElementsByTagName('a')[0].href))){
      if (!/auction/i.test(tr.children[1].textContent))
        atLeastOneHighlighted = true;
      [].forEach.call(tr.children, function(td){
        td.style.backgroundColor = unreadColor;


第三个是99行。
CODE
trs.forEach(function(tr){

第四个是282行
CODE
    cleanContent();

第五个是384行
CODE
      done(r.response);




呃...怎么说呢,是这个的锅。
QUOTE(OnceForAll @ Jan 11 2023, 11:37) *

CODE
localStorage.improvedControlPanel = "{}"

应该是这个 (IMG:[invalid] style_emoticons/default/duck.gif) 刷新再试试


正确的方式是使用脚本开头的注释:
CODE

//If forum timezone settings are changed, uncomment the next line and reload the page once
//localStorage.improvedControlPanel = ''; alert('localStorage cleared'); return;

也就是控制台执行
CODE

localStorage.improvedControlPanel = ''


这是因为这里:
CODE

if (!localStorage.improvedControlPanel){
  getTimeZone();
  return;
}

这一步没有JSON.parse
你执行OnceForAll的这一句之后,localStorage.improvedControlPanel是非空字符串"{}"而不是反序列化出来的空对象{}
因此你这么清空之后不会触发这个脚本的初始化。


因此我推断你重装了脚本。如果你是更新的,还会报这个错。

This post has been edited by tsXor: Jan 13 2023, 04:41
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2023, 04:40
Post #6332
ericeric91



Sleepy Poster
*********
Group: Catgirl Camarilla
Posts: 5,438
Joined: 6-July 10
Level 500 (Ponyslayer)


你們把能運作的腳本回傳的原帖,讓協助除錯的 ID 被印刻在歷史上
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2023, 04:43
Post #6333
tsXor



Newcomer
**
Group: Members
Posts: 55
Joined: 20-July 20
Level 51 (Expert)


QUOTE(ericeric91 @ Jan 12 2023, 21:40) *

你們把能運作的腳本回傳的原帖,讓協助除錯的 ID 被印刻在歷史上


好的,这就回原贴发英文 (IMG:[invalid] style_emoticons/default/smile.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2023, 04:51
Post #6334
Lady_Slayer



Member of the Bal'masqué
*********
Group: Catgirl Camarilla
Posts: 5,672
Joined: 20-December 16
Level 500 (Ponyslayer)


QUOTE(tsXor @ Jan 12 2023, 20:39) *


因此我推断你重装了脚本。如果你是更新的,还会报这个错。


其实我周一清cookie之前还是能用的。然后就出了问题。然后我就重装了一下脚本。。。。。。 (IMG:[invalid] style_emoticons/default/blink.gif)

再一次感谢大佬为我解决了一个遗留了几个月的问题 (IMG:[invalid] style_emoticons/default/biggrin.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2023, 05:00
Post #6335
tsXor



Newcomer
**
Group: Members
Posts: 55
Joined: 20-July 20
Level 51 (Expert)


QUOTE(dongmian @ Jan 12 2023, 21:51) *

其实我周一清cookie之前还是能用的。然后就出了问题。然后我就重装了一下脚本。。。。。。 (IMG:[invalid] style_emoticons/default/blink.gif)

再一次感谢大佬为我解决了一个遗留了几个月的问题 (IMG:[invalid] style_emoticons/default/biggrin.gif)


所以我要不干脆把那个删除设置的代码做成个按钮吧 (IMG:[invalid] style_emoticons/default/mellow.gif)
这就做成按钮 (IMG:[invalid] style_emoticons/default/mellow.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2023, 06:14
Post #6336
ericeric91



Sleepy Poster
*********
Group: Catgirl Camarilla
Posts: 5,438
Joined: 6-July 10
Level 500 (Ponyslayer)


社群就是這麼好玩,一堆有趣事情XD
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2023, 06:39
Post #6337
亡霄雨kc



Casual Poster
***
Group: Gold Star Club
Posts: 131
Joined: 14-October 15
Level 388 (Godslayer)


不当哥的动画作画真是太强了
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2023, 06:49
Post #6338
fmnijk



初心者
******
Group: Gold Star Club
Posts: 998
Joined: 31-August 19
Level 500 (Ponyslayer)


越用Excel越感覺到Excel的強大
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2023, 07:21
Post #6339
Kagoraphobia



✝️ Ascension of Angel ✝️
***********
Group: Global Mods
Posts: 12,272
Joined: 12-August 19
Level 500 (Ponyslayer)


中文樓無論被轟炸多少次都很快會有一堆回覆
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2023, 07:30
Post #6340
qwd1234321



Casual Poster
***
Group: Members
Posts: 140
Joined: 30-April 16
Level 459 (Dovahkiin)


QUOTE(PrincessKaguya @ Jan 13 2023, 07:21) *

中文樓無論被轟炸多少次都很快會有一堆回覆

毕竟国内用户也不少,而且很多都是潜水党,靠每月保底过日子就够了
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


1321 Pages V « < 315 316 317 318 319 > » 
Reply to this topicStart new topic
5 User(s) are reading this topic (3 Guests and 1 Anonymous Users)
1 Members: T-L-F

 


Lo-Fi Version Time is now: 23rd August 2025 - 02:35