Anonymous ID: 2ad0a2 Codefags #1 Jan. 9, 2020, 9:25 a.m. No.7762733   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>2225 >>5695

Codefag #1

 

This is a thread where codefags can gather and collaborate on projects, provide updates on things like CSS and user.js, or discuss new ideas and solutions to old problems. Codefags in The GreatAwakening don't endorse #qanoning anyone's IPs. There's a 600 char restriction in order to create a new bread, so I apologize for this becoming wordy.

 

I have no idea if this bread will even fill to 751. There have been a few other codefag breads that can be found in the archives, and they ended up sliding off the catalog, so who knows.

 

NOT ENDORSEMENTS

Review code before using

>>7672772 bakertools v0.4.0 RELEASED https://pastebin.com/i9sF0Rd3

>>5223217 NopeScript https://pastebin.com/WjzNqPDC

 

What are you working on or thinking about?

Anonymous ID: 2ad0a2 Jan. 9, 2020, 9:44 a.m. No.7762867   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

>>>qrb/15636 QRB Codefags : Moar user.js

 

Back in >>7762363 (PB) Anon had suggested a 'preview before posting' concept and it seemed to me that it could be done in JS, using the current hover code in main.js. If we added some 'preview' buttons to the reply windows, and called the hover code it wouldn't be too bad.

 

I also have been thinking about a (PB) script. Seems like it wouldn't be too hard to do in JS either. I see a lot of anons post about wanting it. I've got some time today to see if I can hack something together on it.

Anonymous ID: 2ad0a2 Jan. 9, 2020, 12:37 p.m. No.7764290   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

This custom user.js script will add a green (PB) to all referenced posts that are not in the current bread.

 

Read thru the code before using.

Linkerizer v1

https://pastebin.com/RkJWAcSF

https://pastebin.com/RkJWAcSF

Anonymous ID: 4ffc83 Jan. 9, 2020, 12:42 p.m. No.7764337   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

8Kun Baker Tools v0.5.0

Latest version of Baker tools. Enjoy. I periodically search breads for references to the tools and requests.

 

Features:

Notables

  • Highlight posts that are marked notable (I.E. someone has replied and said

notable) in Yellow

  • Highlight nominating posts in Pink

  • Highlight nominating posts in posts mentions in Green

  • Filter to only nominating and notable posts, Q posts, Q replies

  • Generate notables post

  • Adds "Notable Nomination" button to posts that opens the

Quick Reply box and prefills it with a BAKER NOTABLE Template

  • Easy access to Breads

 

Q Posts

* Highlights Q Posts with white BG -DARK TO LIGHT!

* Highlights Q posts in mentions (I.E. posts that get (YOU)'ed)

* Highlights links to Q Posts

* Cycle through Q Posts

 

Comfyness

* Highlight PB links

* Thread stats overlay with

* color coded reply count that goes from green to red as bread ages

* UID Count

* Jump To Bottom Link

* Jump To Bottom Top link

* Option to blur images until hover

* Cycle through (You)'s

* Cycle through own posts

 

To Install:

  1. Copy this source code

  2. Go to 8kun

  3. Click "Options" in the top right

  4. Choose "User JS" tab

  5. Paste Baker tools JS

  6. WWG1WGA

 

Changelog:

0.5.0

  • Option to show Q/(YOU)/Own Post navigation controls in the boardlist

  • Option to hide Notable nomination button

  • List of research breads

  • BakerTools settings are now saved in local storage

 

0.4.0

  • Option to blur images until hover

  • Adds a "Notable Nomination" button to posts that opens the Quick Reply

box and prefills it with a BAKER NOTABLE Template

  • Add Q Post navigation links to the Baker Window

  • Add (You) navigation links to the Baker Window

  • Add own post navigation links to the Baker Window

  • Cleaned up baker window design

 

  • More code cleanup and linting changes

 

0.3.0

  • Highlights Q Posts with white BG -DARK TO LIGHT!

  • Highlights Q posts in mentions (I.E. posts that get (YOU)'ed)

  • Highlights links to Q Posts

 

  • Refactored code into classes for easier maint.

 

0.2.0

  • Highlight pb links

  • Thread stats overlay with

* color coded reply count that goes from green to red as bread ages

* UID Count

* Jump To Bottom Link

* Jump To Bottom Top link

 

0.1.0

Initial release:

  • Highlight notables and nominators

  • Filter to only show notables and nominators

  • Create notables post

 

https://pastebin.com/nEhm7yyY

Anonymous ID: b5e0d4 Jan. 12, 2020, 9:15 a.m. No.7792483   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

NUKE BUTTON

 

If anybody wants a "blacklist" for images so they will not show again, here is the j/s.

At the bottom of the script where it says 'NUKE' you can change that to make it say whatever you want.

When you click the button, it "nukes" all the images, and removes the post.

Those images will not show in future breads.

Go to Options-User J/S insert below script

Go to Options-Storage Export and there you will find all the "nuked" images.

 

// Nuke Button - Filters Images And User.

var imageBlacklist = [] ;

function loadImageBlacklist() { JSON.parse(localStorage.imageBlacklist || "[]").forEach(addToImageBlaclist); }

function saveImageBlacklist() { localStorage.imageBlacklist = JSON.stringify(imageBlacklist); }

function addToImageBlaclist(md5) { if (md5 && -1 === imageBlacklist.indexOf(md5)) imageBlacklist.push(md5); }

function blacklistPostImages(post) { $(post).find('img.post-image').each(function (i, el) { var md5 = el.getAttribute('data-md5'); addToImageBlaclist(md5); el.remove(); }); }

function removeBlacklistedImages() { var removed = 0; $('img.post-image').each(function (i, el) { if (-1 !== imageBlacklist.indexOf(el.getAttribute('data-md5'))) { el.remove(); removed += 1; } }); return removed; }

function onNopeClicked(event) { event.preventDefault(); event.stopPropagation(); loadImageBlacklist(); var post = $(event.target).closest('.post').hide(); blacklistPostImages(post); removeBlacklistedImages(); saveImageBlacklist(); }

function addNopeButtons() { $('.post').each(function(i, post) { if ($(post).find('.nope').length === 0) { $(post).prepend("<input type='button' class='nope' onClick='onNopeClicked(event)' value='NUKE'></input>"); } }) }

setInterval(function () { loadImageBlacklist(); removeBlacklistedImages(); addNopeButtons(); }, 500);

Anonymous ID: 4ffc83 Jan. 14, 2020, 5:17 p.m. No.7815789   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>9888 >>0479 >>0989 >>1020

8Kun Baker Tools v0.6.0

10k BREAD RELEASE!!

 

RALLY NIGHT!

 

<3 BAKERTOOLS

 

Features:

Notables

  • Highlight posts that are marked notable (I.E. someone has replied and said

notable) in Yellow

  • Highlight nominating posts in Pink

  • Highlight nominating posts in posts mentions in Green

  • Filter to only nominating and notable posts, Q posts, Q replies

  • Generate notables post

  • Adds "Notable Nomination" button to posts that opens the

Quick Reply box and prefills it with a BAKER NOTABLE Template

  • Easy access to Breads

 

Q Posts

  • Highlights Q Posts with white BG -DARK TO LIGHT!

  • Highlights Q posts in mentions (I.E. posts that get (YOU)'ed)

  • Highlights links to Q Posts

  • Cycle through Q Posts

 

Comfyness

  • Highlight PB links

  • Thread stats overlay with

* color coded reply count that goes from green to red as bread ages

* UID Count

* Jump To Bottom Link

* Jump To Bottom Top link

  • Option to blur images until hover

  • Cycle through (You)'s

  • Cycle through own posts

  • Image blacklist (AKA the NOPE button)

 

To Install:

  1. Copy this source code

  2. Go to 8kun

  3. Click "Options" in the top right

  4. Choose "User JS" tab

  5. Paste Baker tools JS

  6. WWG1WGA

 

Changelog:

0.6.0

  • Navigation bar shows scroll location of q/you/notable

posts and allows jumping to posts

  • Notable navigation controls in baker window and board list

  • Persistent Image Blacklist (AKA Nope Button)

  • Many bugfixes

 

'0.5.2

  • Fixes bread list table population bug

 

0.5.0

  • Option to show Q/(YOU)/Own Post navigation controls in the boardlist

  • Option to hide Notable nomination button

  • List of research breads

  • BakerTools settings are now saved in local storage

 

0.4.0

  • Option to blur images until hover

  • Adds a "Notable Nomination" button to posts that opens the Quick Reply

box and prefills it with a BAKER NOTABLE Template

  • Add Q Post navigation links to the Baker Window

  • Add (You) navigation links to the Baker Window

  • Add own post navigation links to the Baker Window

  • Cleaned up baker window design

 

  • More code cleanup and linting changes

 

0.3.0

  • Highlights Q Posts with white BG -DARK TO LIGHT!

  • Highlights Q posts in mentions (I.E. posts that get (YOU)'ed)

  • Highlights links to Q Posts

 

  • Refactored code into classes for easier maint.

 

0.2.0

  • Highlight pb links

  • Thread stats overlay with

* color coded reply count that goes from green to red as bread ages

* UID Count

* Jump To Bottom Link

* Jump To Bottom Top link

 

0.1.0

Initial release:

  • Highlight notables and nominators

  • Filter to only show notables and nominators

  • Create notables post

 

https://pastebin.com/YTSSmH7t

Anonymous ID: 87c9b0 Jan. 15, 2020, 5:56 p.m. No.7825774   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

Thought I'd share my fix

Anyone using the script;

  • q.js v2018.3-6.1.1

 

Having this issue with the number of posts showing below like the first image. I've developed a temp fix until the script gets updated.

 

Basically you just edit the line number shown below changing the value from 49 to 69 as shown. If you don't have line numbers you can search for "css(opt," and find it.

Anonymous ID: 2ad0a2 Jan. 16, 2020, 7:49 a.m. No.7829624   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

>Build timeline

If we had a single timeline of events populated from data in a bun, it would be simpler to understand and tell the whole story of what's been dug.

 

So I got this idea I've been thinking about, but I don't know if I could do it by myself. codefags++

It's a collaborative timeline of everything that we as anons have voted on. The idea is that it's agreed upon by everyanon here. I think it can be done completely on 8kun using js to display and an active anon/BO controlled board / thread.

 

Here's the idea.

Everything is now archivable to the blockchain for verification. Every thread here is available as JSON data. Timeline.js makes it easy to make timelines https://timeline.knightlab.com/.

 

Make a locked Timeline and an unlocked Timeline BunVote series of breads, committing all to Susucoin. Run it like a congress and vote on each datetime bun on the timeline. Each is a confirmed datetime/PostID then posted in the Timeline thread. If the Timeline thread is locked and pruned, then the JSON data available for that thread can be used to populate the data needed for Timeline.js. We could possibly jigger up a user.js/timeline.js that can be used here to display. Possibly need BO's help to get that to go.

 

Commit all to Susucoin

[Timeline Bun++ or QR post]

Anons submit their bun containing any data they want committed to the timeline.

 

[Timeline Bun Vote++] Thread for each day. Baker leads the votes with limited time for each vote.

Anons place their votes on each.

 

[Timeline++] Locked

Bun Post by BO Referencing the PostId of the Bun contained in the BunVote.

 

Thats all I got.

Anonymous ID: 2ad0a2 Jan. 16, 2020, 7:49 a.m. No.7829629   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

>Build timeline

If we had a single timeline of events populated from data in a bun, it would be simpler to understand and tell the whole story of what's been dug.

 

So I got this idea I've been thinking about, but I don't know if I could do it by myself.

It's a collaborative timeline of everything that we as anons have voted on. The idea is that it's agreed upon by everyanon here. I think it can be done completely on 8kun using js to display and an active anon/BO controlled board / thread.

 

Here's the idea.

Everything is now archivable to the blockchain for verification. Every thread here is available as JSON data. Timeline.js makes it easy to make timelines https://timeline.knightlab.com/.

 

Make a locked Timeline and an unlocked TimelineVote series of breads, committing all to Susucoin. Run it like a congress and vote on each datetime bun on the timeline. Each is a confirmed datetime/PostID then posted in the Timeline thread. If the Timeline thread is locked and pruned, then the JSON data available for that thread can be used to populate the data needed for Timeline.js. We could possibly jigger up a user.js/timeline.js that can be used here to display. Possibly need BO's help to get that to go.

Anonymous ID: 2ad0a2 Jan. 16, 2020, 7:51 a.m. No.7829645   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

>Build timeline

If we had a single timeline of events populated from data in a bun, it would be simpler to understand and tell the whole story of what's been dug.

 

So I got this idea I've been thinking about, but I don't know if I could do it by myself.

It's a collaborative timeline of everything that we as anons have voted on. The idea is that it's agreed upon by everyanon here. I think it can be done completely on 8kun using js to display and an active anon/BO controlled board / thread.

Anonymous ID: 2ad0a2 Jan. 16, 2020, 7:55 a.m. No.7829670   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

>Build timeline

If we had a single timeline of events populated from data in a bun, it would be simpler to understand and tell the whole story of what's been dug.

 

So I got this idea I've been thinking about, but I don't know if I could do it by myself.

It's a collaborative timeline of everything that we as anons have voted on. The idea is that it's agreed upon by everyanon here. I think it can be done completely on 8kun using js to display and an active anon/BO controlled board / thread.

 

Here's the idea.

Make a locked Timeline and an unlocked Timeline BunVote series of breads, committing all to Susucoin. Run it like a congress and vote on each datetime bun on the timeline. Each is a confirmed datetime/PostID then posted in the Timeline thread. If the Timeline thread is locked and pruned, then the JSON data available for that thread can be used to populate the data needed for Timeline.js. We could possibly jigger up a user.js/timeline.js that can be used here to display. https://timeline.knightlab.com/.

Anonymous ID: 2ad0a2 Jan. 16, 2020, 8:08 a.m. No.7829750   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

Maybe I'll just spam the fuck out of it sorry. Let it be known I have discovered that if you overshoot the 500 char limit on archiving when shitposting, it posts anyways, just not to susucoin.

Anonymous ID: d60ec5 Jan. 16, 2020, 8:26 a.m. No.7829888   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>0294 >>0416 >>1266 >>1373

>>7815789

Am now testing this very slick JS. (Thank you.) Checking the highlighting of Q posts in white โ€ฆ I don't see it. Tested the JS on

https://8kun.top/projectdcomms/res/20.html

and this is what shows up:

No Q posts in top nav bar,

no Q posts in side nav bar,

background of Q posts is not white or highlighted.

What am I missing? Is the fault with me, or with the JS? Does the JS only operate on QResearch board? Can't locate any other current breads that contain Q posts to test with.

I better read the code.

Still testingโ€ฆ

Again thank you for developing such a slick JS.

Anonymous ID: d60ec5 Jan. 16, 2020, 9:35 a.m. No.7830416   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>1290 >>1324 >>1373

>>7829888

Another question.

The right nav scrollbar and the elements within it appear slightly blurry on muh display (1920 x 1080) โ€“ pic 1. Is that because the canvas used to display the scrollbar is only 300 px high? Does the blurry navscrollbar bother anybody else?

 

Looking for where the colors are defined. Anon used to seeing only Q posts in yellow, muh posts and their replies pink, the color scheme is very disconcerting. Anon wants to tinker with colors for comfyness.

 

>>7830294 Not asking about sparkly Q. The JS purports to highlight Q posts in the right nav scrollbar white.

Anonymous ID: d60ec5 Jan. 16, 2020, 9:42 a.m. No.7830479   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>1296 >>1324

>>7815789

Is this intentional?

Only 1 instance of

bakertooks-notable-style

found in bakertools 0.6.0

class NotableHighlighter { /* * Construct notablehighlighter object, find and highlight * current notable sand setup listeners / constructor() { this.styleId = 'bakertooks-notable-style'; this.NOMINATING_REGEX = /notable/i;

Anonymous ID: 4ffc83 Jan. 16, 2020, 11:09 a.m. No.7831290   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

>>7830416

Dont know why its blurry for you. Not for me. I resize the canvas with window resize and every draw.

 

I can make colors configurable in the bakertools window. But ive been busting my ass making this. One thing at a time. Im trying to focus on big features first

 

You wont see q posts highlighte din dcomms because of OLD trip.

 

YOud have to try on recent q posts but they fell off the catalog unfortunately

Anonymous ID: d60ec5 Jan. 16, 2020, 11:35 a.m. No.7831533   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>1605 >>1672

>>7831266

You are fetching the tripcode from text in the bread by parsing this line:

>Q's Private Board: >>>/projectdcomms/ Q's Trip-code: Q !!Hs1Jq13jV6

Projectdcomms does not have "dough" in the bread defining Q's tripcode.

Q posted there with Q's current tripcode: !!Hs1Jq13jV6

It doesn't matter. Any post in projectdcomms is automatically Q.

 

I know you're busting your ass.

Major credit to bakertools codefag!

The code is well documented and readable (via the comments).

I'm not a JS fag but can sort of figure out what it does. My coding days began long before O-O and never got comfy with O-O langs. Could count the languages I've been fluent in on both hands. Retired tech fag.

 

Shall I be your QA fag, kek?

 

>>7831373 Detection of past Q trips isn't that important. Make it low priority.

 

>>7831324 Or just put color variables near the top where anyone who really cares can manually update them. The Bakertools window and Breadlist window are really nice. Everything you've implemented is well done. Congrats.

Anonymous ID: 4ffc83 Jan. 16, 2020, 11:50 a.m. No.7831672   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>1729 >>2345 >>2643

>>7831533

I think i tried to find a tripcode history somewhere when i first started but gave up so i could get it working.

 

If someone out there knows where all the q trips are and their timelines i could make the q highlighter smarter by knowing the exactly date ranges specific trips were used

Anonymous ID: 59a1c6 Jan. 16, 2020, 12:06 p.m. No.7831792   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>1898

>>7831745

The prev js I've been using since 3/2018 changed you posts, & the replies to you posts, pink, in body and in nav bar. Been heavily using that for navigation for a long time. Not having it threw me for a loop.

Carry on. Don't mind me.

o7

Anonymous ID: 59a1c6 Jan. 16, 2020, 12:47 p.m. No.7832137   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>2177

>>7831898

OK, I'm going with pic related color scheme for the time being, reserving colors that had meaning for 22 months. Pink not used at this time, to be available for highlighting yous and/or replies-to-yous if ever implemented. Yellow not used at this time since it has been muh color for Q posts.

 

/* * Create styles that determine how notables are highlighted / _createStyles() { $('head').append(&lt;style id=&#x27;${this.styleId}&#x27;&gt; .thread div.post.${NotableHighlighter.NOTABLE_CLASS} { background-color: #e5ffcc; /* replace #FFFFCC YELLOW with #e5ffcc LIGHT GREEN */ } /* less specificity than notable so it has less preference */ div.post.${NotableHighlighter.NOMINATOR_CLASS} { background-color: #cee5b7; /* replace #FFCCE5 PINK with #cee5b7 a darker light green */ } div.post.reply .mentioned .${NotableHighlighter.NOMINATOR_CLASS} { color: #00CC00; /* BRIGHT GREEN TEXT */ font-weight: bold; font-size: 1.5em; } &lt;/style&gt;); }

Anonymous ID: 4ffc83 Jan. 16, 2020, 12:52 p.m. No.7832177   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>2470 >>2502 >>2780

>>7832137

Just to verify:

 

  1. These are the colors that other apps have already been using, correct? If this is the case, I will change my defaults (but i still plan on making it UI configurable)

 

  1. You don't find that notable and nominator colors are kinda similar maybe easy to confuse for people of color blindness? Thats a big thing in UI design is UX for accessibility.

Anonymous ID: 59a1c6 Jan. 16, 2020, 1:22 p.m. No.7832470   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>2662

>>7832177

Yes, I confirm.

I'm the same anon who gave you the JS

https://pastebin.com/HTjaECNM

(combination of JS from multiple codefags) the functions of which you have been implementing one by one into Bakertools. (I change my ID frequently so as not to be too identifiable, since I'm a frequent presence on QR.)

I don't know how many anons have been using it โ€“ I presume a fair # of oldfags.

Pic 1 is what

the old comfy JS

https://pastebin.com/HTjaECNM

looks like.

The pink highlighting are OWN-POSTS and REPLIES-TO-OWN-POSTS.

It lacks your special functions to help the bakers.

Pic 2 is its yellow highlighting for Q posts that works on any 8kun board Q posts on.

Anonymous ID: 59a1c6 Jan. 16, 2020, 1:26 p.m. No.7832502   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

>>7832177

P.S. You're absolutely right about UI design requirements to offer comfy options for colorbindfags. You have been educated correctly, kek. I liked the similar shades of green for my own use (not colorblind).

I'm a memefag very attuned to color nuances so it works well for me personally.

Anonymous ID: 2ad0a2 Jan. 16, 2020, 1:45 p.m. No.7832643   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>2665

>>7831672

This is from my archive.

!ITPb.qbhqo โ€” First Seen:2017-11-10 04:07:15Z โ€” Last Seen:2017-12-15 06:04:43Z โ€” Count: 223

!UW.yye1fxo โ€” First Seen:2017-12-15 06:04:06Z โ€” Last Seen:2018-03-24 13:09:02Z โ€” Count: 583

!xowAT4Z3VQ โ€” First Seen:2018-03-24 13:09:37Z โ€” Last Seen:2018-05-04 20:02:22Z โ€” Count: 351

!2jsTvXXmXs โ€” First Seen:2018-05-04 20:01:19Z โ€” Last Seen:2018-05-08 23:46:39Z โ€” Count: 9

!4pRcUA0lBE โ€” First Seen:2018-05-08 23:47:17Z โ€” Last Seen:2018-05-19 22:06:20Z โ€” Count: 94

!CbboFOtcZs โ€” First Seen:2018-05-19 22:07:06Z โ€” Last Seen:2018-08-05 20:12:52Z โ€” Count: 399

!A6yxsPKia. โ€” First Seen:2018-08-05 20:14:24Z โ€” Last Seen:2018-08-10 18:24:24Z โ€” Count: 16

!!mG7VJxZNCI โ€” First Seen:2018-08-10 18:26:08Z โ€” Last Seen:2019-11-25 22:35:45Z โ€” Count: 1799

!!Hs1Jq13jV6 โ€” First Seen:2019-12-02 17:55:59Z โ€” Last Seen:2019-12-29 18:06:19Z โ€” Count: 136

Anonymous ID: 59a1c6 Jan. 16, 2020, 2:05 p.m. No.7832780   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>2907

>>7832177

To best of my knowledge, light green hasn't been used for anything before. Not wedded to it, but it seemed to work OK after ruling out yellow and pink.

 

A point: Any custom JS that plays with colors looks really weird on a board that has a default theme different than Yotsuba-B or its derivatives. For example >>>/qrb/ has a default dark color scheme and I found that BO's theme choice was incompatible with my preferred custom JS so had to set Yotsuba-B theme when visiting there.

Just something interdasting to know. Not a requirement in any way shape or form.

Anonymous ID: 59a1c6 Jan. 16, 2020, 3:53 p.m. No.7833681   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>3724 >>3747

>>7833087

Now testing Blacklist All Post Images

in Gen bread to find out what it does. I assumed it would make all the images in a post disappear but my assumption was incorrect.

 

Blacklist All Post Images button on a post makes that entire post disappear โ€“ image, text, not even a stub showing that something used to be there.

Other posts by that ID in that bread are still there.

The function applies to a single post in a single bread, and is not persistent across breads.

It's different from CM's Hide Post tool, which hides the post alright, but it honors one of CM's general options to "Show Stub" which only suppresses the text/graphics in a post but leaves the header portion intact so anon can see that a post is there but suppressed, the ID, date/time, post count, post # and any replies to that post.

 

Does it make sense to duplicate a function that already exists by default?

 

A clear explanation in the documentation would probably help.

 

Pics are examples of CM's hide post function.

  1. Unhidden

  2. After hide post

  3. Ability to unhide the hidden post

  4. The option that causes the post header to remain visible or disappear entirely (default)

Anonymous ID: 59a1c6 Jan. 16, 2020, 4:36 p.m. No.7834058   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>8987

>>7833747

Baker tools check boxes and nav options selected by user should persist across breads. Instead, they reinitialize every time a QResearch tab is opened.

 

  1. Set baker tools options per pic 1

  2. Copied URL and closed tab.

  3. Opened new tab with saved URL.

  4. Baker tools options have reset to initial values per pic 2.

 

Priority: low

Anonymous ID: 59a1c6 Jan. 17, 2020, 9:43 a.m. No.7838597   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>8931 >>9052

We need to think through some use cases for the Bakertools JS.

 

Use by a baker has received a lot of attention.

What about ordinary users who want to read down a thread as the thread is forming, and comment or or notable posts as they go, and return to the spot where they were reading?

The Bread List plus the highlighting of posts nominated notable is very useful for quickly scanning past full breads to catch up on the news & notables.

 

In the previous JS that anon used for 22 months (posted above, https://pastebin.com/HTjaECNM), all the nav controls seemed to work off a single model, so that no matter how anon advanced through the bread, the nav controls would update to match the current position in the bread (similar to how CM's JS updates the post number in the URL). Anon could scroll down with browser scroll bar, scroll by clicking the Next You/YouReply nav, click next/prev Q, etc. and the right nav scrollbar would update accordingly. It didn't matter what kind of navigation was used, the navigation was unified and worked off a single model.

 

The bakertools JS doesn't do this.

For example if anon posts, the Own Posts nav updates the # of posts and CM's JS updates the bread view to the just-posted post. But if anon clicks Own Posts right arrow (advance one own post), the location in the bread changes to one post after the one previously viewed via this nav tool.

 

I'm not sure what behavior is most desirable. Here is a suggestion for consideration:

What if after posting, all the Bakertools nav tools update to match the current position in the bread, BUT a NEW BUTTON is added so I can return to where I was reading before posting a comment or notable nomination? The lack of "return to where I was after posting" is probably the most irritating and time-consuming feature of 8kun's native JS.

 

Think (model - view - controller) ??

Anonymous ID: 4ffc83 Jan. 17, 2020, 10:30 a.m. No.7838931   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>9052

>>7838597

Good idea, i think this return to last reading point feature should be fleshed out and considered as something sep from the nav controls.

 

On the subject of the navigations. ive had it in the back of mind to somehow make them synced to page position but im not sure how to best do it UX wise. It could get confusing.

 

Right now they are independent of page location and just allow you to cycle through posts. I could make them work based on your current location in the bread but ill have to listen to scroll events and do something like checking for the closest index.

 

Other concernsโ€ฆ so if im before any of the notables, what does the current index of the nav display? 0 for before any of the indexed posts makes sense. How about if after all the posts?

 

This could use some more thought for sure. Eager to hear everyones thoughts

 

-bakertools guy (sorry i dont know how to get around being a namefag)

Anonymous ID: eb8909 Jan. 18, 2020, 10:46 p.m. No.7852871   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4333

I have 3 python services running 24/7, pulling data from the 8chan/8kun JSON APIs. One service stores new thread ids into a MongoDB, another services downloads all posts from new and any updated threads also loaded into MongoDB, and the third service downloads all attachments from posts and tracked in Mongo.

 

Been running this since 2018 and have over 1TB of content. Runs on linux and mac, not tested on Windows. Can be dockerized to run anywhere but never needed to.

 

I wanted to parse the notables and auto post to a simple website for normies. Started it but but never finished it.

 

I wish I could run this in the cloud and dump the data in elasticsearch but would probably have a lot of issues the the powers that be.

Anonymous ID: 2ad0a2 Jan. 19, 2020, 7:28 a.m. No.7854333   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>5083

>>7852871

Thanks for all you do archiveanon!

Have you been archiving JSON? My archive has #365+ and I managed to get some from CBTS before that board got nuked.

 

I looked into elasticsearch and discovered that I just wasn't going to be able to run it on my host in a cost effective manner. I have been playing around with a Lucene search component, but have been sidetracked working on other stuff.

 

I've got the notables all parsed out into their own threads and started working on a way to do the same thing.

Anonymous ID: eb8909 Jan. 19, 2020, 9:47 a.m. No.7855083   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>5248

>>7854333

Mongodb is native JSON in/out so all the archived posts are stored in that format. Text can be indexed in Mongo so searching can be sped up.

 

I'm running this on an old laptop with an external drive. Each service is set to sleep for 1 min. after pulling new data

 

Were you trying to run elasticsearch in a multi node cluster? It's possible to run as a single node in a Docker container. https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html

 

Another process I wanted to run is image analysis to parse text in memes and store the text in a database to make the memes searchable. That would be fun. AWS has Amazon Rekognition service and would probable be great for this but I'd have to upload a ton of content and I'd be a little worried about exposing myself by using that service for this.

Anonymous ID: 2ad0a2 Jan. 19, 2020, 10:08 a.m. No.7855248   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>5303 >>5549

>>7855083

>Were you trying to run elasticsearch in a multi node cluster?

 

Elasticsearch requires console access to install the service. I'm on shared hosting and so didn't have console access.

 

I settled in on this since I'm a C# codefag.

https://lucenenet.apache.org/

 

A searchable meme database would be hella handy. I wonder if you could use some of the MEGA.nz archives somehow. https://docs.mega.nz/sdk/doc/api.html

Anonymous ID: 2ad0a2 Jan. 19, 2020, 10:25 a.m. No.7855348   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>5424

>>7855303

>would require massive server capacity to run text recognition

 

I don't know. Depends on what you are using or how you are doing it. The OCR stuff I do at work, we just send an image into the machine and it returns it's results. Sometimes it works, sometimes it doesn't. OCR is a difficult tech to master, it's one of the reasons why we use them - because their tech can't read memes theoretically. It's the context of the meme that makes it difficult to read. It's an interesting idea though. Agree on the textless memes unless the machine had a way of contextualizing the image itself, but seems prone to error. IE: AOC head on bewbs.jpg.

Anonymous ID: eb8909 Jan. 19, 2020, 10:54 a.m. No.7855549   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>5586

>>7855248

Gotcha. I'm running this all locally. If I were running this on a hosted server, the costs would be too much also.

Yea the Mega archives would probably work. I haven't tried this before but I would assume the main factors are contrast of the text against the background, the size of the text, and the clarity/sharpness.

 

>>7855303

For an initial batch process, I'm sure would take a lot of time depending on the cpu. After that I'm guessing a lower end system could process images as they were posted to the boards/downloaded here.

There's a lot of interesting features of Amazon Rekognition. It can parse text in images, objects, faces and celebrities! It works with video also. The advanced features would need training data as it is machine learning.

 

The main thing I was interested in was loading the text in a database with a link to the image and also be able to tag the data so i could easily search for a meme to be able to share it. So many times I remember who/what/text is in a meme but I can't find it quick enough.

Anonymous ID: 7306d4 Jan. 19, 2020, 3 p.m. No.7857304   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>7332 >>1582

I did some quick testing with pytesseract and had mixed results. I didn't spend a lot of time on trying to tweak it. I tried running it without any training then training with the impact font(seems like a lot of meme images have that). I didn't get a clean output either way.

 

For anyone interested in trying this, you will need to install docker.

After you have docker installed:

Copy into Dockerfile:

=

FROM python:3.7

 

RUN apt-get update \

&& apt-get install tesseract-ocr -y

 

WORKDIR /app

 

COPY . /app

 

RUN pip install -r requirements.txt

=

 

Copy into requirements.txt:

=

pillow

pytesseract

opencv-python

=

 

Copy into ocr1.py:

=

from PIL import Image

import pytesseract

 

print(pytesseract.image_to_string(Image.open('memes/test1.jpeg')))

==

 

Then build the docker image:

docker build . -t ocr:latest

 

Then run the docker image and mount your code directory (this will allow you to make code changes without having to rebuild the image):

docker run -v ~/code/pytesseract:/app -it ocr:latest bash

 

NOTE: I have ~/code/pytesseract, you will need to change this if your code location is different

 

This will bring you into your docker container and you can run your code in there:

python ocr1.py

 

Under your code directory you can access your images. I have a 'memes' subdir. Whatever png or jpg image you copy there should be accessible for the OCR to run against.

 

This file:

http://ahijackedlife.com/wp-content/gallery/qanon-memes-3f/Anderson-its-OK.jpg

 

resulted in output:

ANDERSON, IT'S

CE

 

 

WE GOT THIS= WELL

Aa

IS A"CONSPIRACY THEORYโ€

 

And with the Impact font training data output:

ANpERSoNl lTS

YGoNEBEoK

 

 

WEGoTATHlSNWEfLL

TELL lEM THAT THE sToRM

lsAUcoNSPlRAcv THEonU

 

Larger example here:

https://www.pyimagesearch.com/2017/07/10/using-tesseract-ocr-python/

 

Free online font training:

http://trainyourtesseract.com/

 

If you train fonts, copy your trained data to your native OS code directory, then in your docker environment, copy it to the tesseract data directory inside of docker:

cp training/Impact.traineddata /usr/share/tesseract-ocr/4.00/tessdata/.

 

I hope this is readable!

Anonymous ID: 7306d4 Jan. 19, 2020, 3:04 p.m. No.7857332   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>8419

>>7857304

I forgot - to use font training data, add 'lang' to the image_to_string function.

For example: lang="Impact" will use the training data Impact.traineddata that was copied in the last step above

 

Full training data example usage:

print(pytesseract.image_to_string(Image.open('memes/test1.jpeg'), lang="Impact"))

Anonymous ID: 4ffc83 Jan. 20, 2020, 10:29 a.m. No.7861582   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

>>7857304

You will get better results if you know where regions of text exist.

 

THe project i worked on had a uniform layout so it was easier. So for instance like the common meme format of top and bottom text, you could feed in the top 1/4 and bottom 1/4 to tesseract.

Anonymous ID: 5ef417 Jan. 22, 2020, 2:06 p.m. No.7878736   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>0544

>>7843270

>>7843333

Have sometimes seen multiple same-numbered breads in 0.6.0 Bread List. I think it's a function of whether the json is working or not (json has been updating only intermittently for many days in a row). So the reported bug may not be a bug after all.

 

>>7838987 I will. Been busy off-board IRL. Will need to test with and without my cookie blocker and ad blocker.

Anonymous ID: 5ef417 Jan. 22, 2020, 4:17 p.m. No.7880409   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>0544 >>9169

>>7838987

The symptom is very easy for me to create.

Open baker tools. Set "Hide Blacklist buttons". The blacklist buttons disappaer. Pic 1 shows that the blacklist buttons are hidden.

Refresh tab. After refresh, "Hide blacklist buttons" became unchecked. (I didn't touch it.) Pic 2 shows the blacklist buttons reappeared.

Anonymous ID: 4ffc83 Jan. 22, 2020, 4:28 p.m. No.7880544   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

>>7878736

>>7880409

Thanks sorry I forgot to mention i fixed the blacklist button not being saved in the newest version. (not released yet but will have some nice new features)

 

I have noticed the site is being wonky lately . Probably because of whats currently going on in DC

Anonymous ID: 4ffc83 Jan. 24, 2020, 3:20 a.m. No.7897719   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

Probably going to release v0.7.0. I just have to prep some promo materials (i.e screenshots and changelog)

 

I want to thank OP and QA anon (sorry if youre the same person, if you are, you deserve double thanks)

 

You guys rock

Anonymous ID: 4ffc83 Jan. 24, 2020, 4:47 a.m. No.7898037   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>8255 >>9169 >>1193

8Kun Baker Tools v0.7.0

For God and Country! WWG1WGA. Put on the armor, pick up your tools and PATRIOTS FIGHT!

 

Special thanks to CodeFag thread

https://8kun.top/qresearch/res/7762733.html

 

Features:

Post Highlighting

  • Highlight posts that are marked notable (I.E. someone has replied and said

notable) in light green

  • Highlight nominating posts in dark green

  • Highlight nominating posts in posts mentions in light green

  • Highlight Q Posts in yellow

  • Highlight Q posts in mentions (I.E. on posts that get (YOU)'ed)

  • Highlight links to Q Posts in sparkle (Like q's trip)

  • Highlight previous bread links in blue

 

Navigation

  • Cycle through Q Posts

  • Cycle through (You)'s

  • Cycle through own posts

  • Jump To Bottom Link

  • Jump To Bottom Top link

  • NEW IN v0.7.0 Jump to last reading location (like when you post and it

sends you to bottom, you can jump right back)

  • Easy access to Breads via Bread List window

  • Scrollbar navigation shows location of Q/You/Notable/etc posts

  • NEW IN v0.7.0: Hover over post marker to preview post

  • Click on a post marker in scrollbar to jump to post

 

Filtering

  • Filter to only nominating and notable posts, Q posts, Q replies

  • Option to blur images until hover

  • Image blacklist (AKA the NOPE button)

  • NEW IN v0.7.0: SpamFader with multiple spam detection strategies:

  • NameFag strategy: Marks namefags as spam

  • Breadshitter strategy: Marks bread shitters as spam

  • High post count strategy: Marks those with high post count as spam

  • Flood fag strategy: Marks those who post in short intervals as spam

  • Mark user as not spam button

  • Spam badges tell WHY the algorithm marked as post as spam. TRANSPARENCY!

 

Customizable

  • NEW IN v0.7.0: Customizable post highlighting colors

  • Hide/Show features

  • Settings saved in localStorage

 

Notables

  • Generate notables post

  • Adds "Notable Nomination" button to posts that opens the

Quick Reply box and prefills it with a BAKER NOTABLE Template

 

Stats

  • Thread stats overlay with

* color coded reply count that goes from green to red as bread ages

* UID Count

  • Post rate chart shows how many posts per min

 

To Install:

  1. Copy this source code

  2. Go to 8kun

  3. Click "Options" in the top right

  4. Choose "User JS" tab

  5. Paste Baker tools JS

  6. WWG1WGA

 

Changelog:

0.7.0

  • Switched color scheme to match other tools

  • Post Per Minute Graph

  • Spam Fading with multiple strategies and spam badges to tell why post is spam

  • Allow customization of post highligting colors

  • Add go back to last reading location button

  • Improve Q post detection (all past trip codes)

  • Add post preview on hover to Scrollbar Navigation

  • Navigation controls are now aware of current page location

  • Bugfixes

 

0.6.0

  • Navigation bar shows scroll location of q/you/notable

posts and allows jumping to posts

  • Notable navigation controls in baker window and board list

  • Persistent Image Blacklist (AKA Nope Button)

  • Many bugfixes

 

0.5.2

  • Fixes bread list table population bug

 

0.5.0

  • Option to show Q/(YOU)/Own Post navigation controls in the boardlist

  • Option to hide Notable nomination button

  • List of research breads

  • BakerTools settings are now saved in local storage

 

0.4.0

  • Option to blur images until hover

  • Adds a "Notable Nomination" button to posts that opens the Quick Reply

box and prefills it with a BAKER NOTABLE Template

  • Add Q Post navigation links to the Baker Window

  • Add (You) navigation links to the Baker Window

  • Add own post navigation links to the Baker Window

  • Cleaned up baker window design

 

  • More code cleanup and linting changes

 

0.3.0

  • Highlights Q Posts with white BG -DARK TO LIGHT!

  • Highlights Q posts in mentions (I.E. posts that get (YOU)'ed)

  • Highlights links to Q Posts

 

  • Refactored code into classes for easier maint.

 

0.2.0

  • Highlight pb links

  • Thread stats overlay with

* color coded reply count that goes from green to red as bread ages

* UID Count

* Jump To Bottom Link

* Jump To Bottom Top link

 

0.1.0

Initial release:

  • Highlight notables and nominators

  • Filter to only show notables and nominators

  • Create notables post

 

Latest (v0.7.0 1/24/2020)

https://pastebin.com/6XuDuHYu

 

Version History:

https://pastebin.com/6XuDuHYu 0.7.0

https://pastebin.com/YTSSmH7t 0.6.0

https://pastebin.com/mPVxr7Lz 0.5.2

https://pastebin.com/nEhm7yyY 0.5.1

https://pastebin.com/i9sF0Rd3 0.4.0

https://pastebin.com/kz9LrcE9 0.3.0

https://pastebin.com/4aEFsPwK 0.2.0

https://pastebin.com/eNmTtzdi 0.1.0

Anonymous ID: 703c72 Jan. 26, 2020, 5:13 p.m. No.7925536   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>8647 >>4749

>>7924826

OK I've installed 0.7.1 and thankQ for it.

 

โœ… Got my Notables navigation on the top.

 

โŒ pic 1: Top row now occupies 2 lines of the screen. My screen is 1920 pix wide and currently using 150% browser magnification for comfy text size. Oh well. My magnification and choice to see 3 nav areas is not your problem.

 

โŒ Something weird is going on with loss of CodeMonkey's inlining function. Pic 2. Before, Enable Inlining worked like so.

A post contains a link to another post.

Anon clicks that link-within-a-post and it used to open up a post within a post (like pic 3, an old cap from before the loss of inlining). Now it no longer does that. Instead, it jump to the linked post elsewhere in the bread. Not sure when this behavior started.

Just tested without any user JS โ€“ and CM's default JS must have changed because inlining isn't working and it's def NOT the fault of Bakertools 0.7.1. So we'll have to wait & see if CM fixes it. I have no way to contact him - no Twitter.

 

Look like you smoothed the PPM graph - that's good.

Anonymous ID: 59a1c6 Jan. 28, 2020, 6:28 a.m. No.7939921   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>9926 >>0150

โŒ v0.7.1

Disable spam fader checked

Spam faded anyway

Pic

 

Tried toggling the control and spam gets unfaded, but after scrolling up/down the page spam is faded out again.

The main use for "Disable Spam Fader" is in breads with long duration, also in the Meme breads where there are typically many posts by the same ID.

 

โ˜• Low priority.

Anonymous ID: 59a1c6 Jan. 28, 2020, 6:28 a.m. No.7939926   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>0150

โŒ v0.7.1

Disable spam fader checked

Spam faded anyway

Pic

 

Tried toggling the control and spam gets unfaded, but after scrolling up/down the page spam is faded out again.

The main use for "Disable Spam Fader" is in breads with long duration, also in the Meme breads where there are typically many posts by the same ID.

 

โ˜• Low priority.

 

>>7939921

Anonymous ID: 4ffc83 Jan. 28, 2020, 7 a.m. No.7940150   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>3282

>>7939921

>>7939926

Yeah i prob forgot to turn off the new post event in the fader. Thanks!

 

Unless theres any other bugs that may be annoying - i may save the fix for a feature release. I have a feature in early stages that may be cool but need to check the feasibility time-wise, still have to pay the bills

Anonymous ID: 7794cb Jan. 29, 2020, 9:01 a.m. No.7954749   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4786 >>5759 >>9694

>>7925536

Shrank top Nav Bar a little bit to fit on muh screen.

Shortened text labels.

Tried to shrink PPM graph from 100 px wide to 80 px (I don't think this worked.)

Changed Posts Per Minute to ppm lower case (narrower) and 1 significant digit instead of 2.

To shrink it further, one could eliminate colons and use < or other narrow media forward backward symbols, instead of wide fa-fast-forward but I can't figure out how to do this - I can't figur out where those character symbols are defined.

 

Why is CM's watchlist floated to the right? (not important)

 

I'm NOT the bakertools codefag.

 

8Kun Baker Tools v0.7.1.1

https://pastebin.com/U6UuMtbz

Anonymous ID: 7794cb Jan. 29, 2020, 9:06 a.m. No.7954786   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>5759

>>7954749

It would be reasonable to combine the Own and You navigation into one nav control. A single control to nav through all own posts + all replies to own posts.

But if these post categories remain separate, I would reorder You and Own: Own posts first, followed by the You replies to own posts, because that's the order they occur in, to make the UI more natural. But can't figure out how.

 

โœ… We're in a good status with bakertools 0.7.1 or 0.7.1.1.

Anonymous ID: 4ffc83 Jan. 29, 2020, 10:47 a.m. No.7955759   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

>>7954749

Thank you for the initiative fren. I will add an enhancement to improve space usage in the boardlist.

 

Disclaimer: My reasons below are in the best interest of the board and security. please dont take offense

 

For security reasons and the fact that I have the code in a source repository, I'd prefer to keep sole ownership of the code and dont want to see people using any releases that arent "officially sanctioned"

 

I don't mind people suggesting changes/code but it would be better for me if they come in the form of a diff file of the changes from the latest official version.

 

If only one person is releasing bakertools and has the release history in the pastebin - it makes it easier for anons to verify code and make sure no one is slipping in something MALICIOUS.

 

-bakertools guy

 

P.S. Thanks for taking the initiative. Maybe what we can instead do is make it more configurable. I want bakertools to be at a spot where no one has to dig into the code for anything like this. It should be user friendly.

 

Some of these edge cases like small monitors are taken for granted because of limited time and pref towards feature parity with other tools and enhancesments that improve use.

 

CM's watchlist started floating after a recent 8kun release. he must have changed the boardlist in someway.

 

>>7954786

>It would be reasonable to combine the Own and You navigation into one nav control.

I'd have to think about these. I'd prefer to have it configurable to have combined or not. Some people might like being able to cycle them separately.

 

>But if these post categories remain separate, I would reorder You and Own

Ok ill add it in

Anonymous ID: 8f94ac Jan. 30, 2020, 6:19 p.m. No.7972662   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>2863

Feature request.

Reply window gets red border when bread is full. Anon can then avoid wasting time to click Reply and wait for upload.

Other JS had this feature.

>>7832470

>I'm the same anon who gave you the JS

>https://pastebin.com/HTjaECNM

 

Very very happy with the

"Return to where you were reading" button.

Huge time saver & stress reducer.

Anonymous ID: 3e448f Feb. 2, 2020, 7:11 a.m. No.8000917   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4501

โซธโซธโซธ Feature request.

 

Once in a while, a "helper anon" or somebody that appears to have legit inside info comes on the bread and starts dropping a pile of hints, images, etc.

When this happens, it is very difficult to screencap all their posts and images timely, for interaction and/or future study.

It should be possible to implement a filter that displays ONLY the posts from a specific ID so they can be quickly studied/capped.

For example in #10236, ID 499955 dropped about 26 posts after somebody asked if there were any oldfags on the board and what their favorite digs were.

Tried to cap them all manually, but was fatigued, as it was past anon's bed time and an adrenaline-filled race to cap 26 posts with the images was not a nice prelude to a night's sleep.

Anyway, a tool would help us study the breads and ID shills and isolate/study helpful posters.

Anonymous ID: 2ad0a2 Feb. 7, 2020, 6:49 p.m. No.8068654   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>6170

I wrote some code to gather up all the filenames that Q has posted, and then search all the Q drops for the text of each of those file names.

This is a visualization of the matches of filenames Q posts in a handy expandable zoomable format. Hover to see text of the drop.

Still working out the kinks.

Analysis of Q image filenames and post text

>https://qanon.news/Analytics/FileNameMap

Anonymous ID: 2ad0a2 Feb. 8, 2020, 1:24 p.m. No.8076753   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>9346

>>8076170

Thx. Ya, I like it. Lots of examples and tons you can do. There seems to be a click event wired up wrong or something. Clicking on the Drop node causes it to redraw the line. Ima try to get some links on there for the drops next.

Anonymous ID: 2ad0a2 Feb. 9, 2020, 7:23 a.m. No.8082553   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>8753

>>8079346

Look interesting! Broadcaster component is the link to the socials? I'd like to hear more about it. Mine is similar design, but I've been thinking about doing a a rebuild in .NET Core. Currently testing and making up my mind if I want to do that or just let it run and do something new.

 

Archiveanon! You and I started up about the same time. I think 'member your scrape DB.

Anonymous ID: b856b8 Feb. 9, 2020, 9:25 p.m. No.8088753   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>1320

>>8082553

Yea the broadcaster is what I am thinking of for pushing out info automatically once info comes in. With the amount of data constantly coming in, it will need to be specifically allowed for certain criteria. I have a couple of things in mind to start with from the main board and will probably use telegram first since I'm not on socials. Once I have my specific use cases down, I'll think about some other options to push out info.

 

I just did a bunch of work over the past 2 weeks on the archive system. I had it on an old laptop that started giving me a lot of problems so I started working on an update. I dockerized it so its self-contained, easily portable and can run almost anywhere, installed Tor in the image, configured the code to run over Tor and upgraded the MongoDB version and also upgraded the hard drive. I also found an issue where I wasn't saving all the linked content. In the API there are 'extra_files' that could have additional files and I was only saving the main file on each reply. After that update its looking like Im getting ~30% more data per day now.

 

I could push this out and anyone could build the docker image and start running this with an old computer (I'm tempted to try on a raspberry pi) and start their own archiving service with searchable database within minutes.

Anonymous ID: d4a9f8 Feb. 12, 2020, 10:46 p.m. No.8121498   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>3092

Hey QmapAnon

 

Every thought about open sourcing all your work on qmap.pub? You have built one of the most comprehensive sites today. Many anons don't have it all. If someone like you were to open source the site and data would be amazing. The only thing I would add would be to pull all images videos and links. I would help in any way possible to make this happen. I pull together a mirror where we could sync away from Kun and qmap. Any thoughts? Can stop an army if they are all armed with 3 years of gathering truth.

Anonymous ID: 89076c Feb. 14, 2020, 9:53 a.m. No.8135238   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>6706 >>0019

Bakertools 0.7.1

 

Bug report / enhancement request

 

โŒ Resolution of right nav scrollbar is too low. When there are few posts, the posts all appear in proper relative size and position. When there is a high number of posts, say 700, all highlighted posts are shown the same height with equal sized black spaces in between, and some posts are simply omitted from right nav scrollbar if they don't fit this scheme.

How to reproduce this bug: Make a post, or a few posts, near the end of a bread. Look at the scroll bar and see that your post near the end of the bread does not appear in the right nav scroll area. It is not possible to hover cursor over a post that does not appear. It is not possible to click and navigate to a post that does not appear.

Anonymous ID: 89076c Feb. 15, 2020, 10:43 a.m. No.8146644   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>6706 >>8775

Bakertools 0.7.1

 

Very minor usability issue

 

โŒ Place your cursor on the top horizontal nav bar over Notables, Q, You, or Own. Start clicking on forward arrow or backward arrow to navigate that post type, sequentially. When the post count increases from 1 digit to 2 digits, the position of the nav control is displaced to the right. Thus clicking repeatedly on the right arrow, in the same place, without moving the cursor, causes a click to land on the Fast Forward (go to last) arrow instead of the Forward (go to next) arrow, causing unexpected unintended navigation.

Anonymous ID: 4ffc83 Feb. 15, 2020, 3:47 p.m. No.8149253   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>9336

>>8149224

This is an old version. The latest version of bakertools is v0.7.1:

 

https://pastebin.com/dN5FhHCv

 

>>8149131

No, you shouldn't need to set the javascript for each bread. It sounds like you are experiencing a cached older version or something. Browsers can be weird like that.

 

Look up how to refresh a page with a clean cache for your browser.

 

For ex (Chrome):

https://superuser.com/questions/220179/how-can-i-do-a-cache-refresh-in-google-chrome

 

You can go as far as clean cache and restart browser completely

Anonymous ID: 4b7eaa Feb. 23, 2020, 5:26 p.m. No.8230019   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>0211

>>8135238

This screencap illustrates the problem with the right navbar. I'm harvesting memes in memes bread and a lot of the posts are mine โ€“ but not nearly all of them. In this cap there are 67 UIDs in the memes bread out of 312 posts. And the post I'm currently looking at is one of a series of 10 in a row made by somebody other than me. But look the right nav bar. There's no indication that there are any posts made by anybody else. It becomes useless.

The old JS

https://pastebin.com/HTjaECNM

formatted the nav bar as an accurate representation, with relative sizes and positions of posts depicted accurately.

Anonymous ID: 4ffc83 Feb. 23, 2020, 5:55 p.m. No.8230211   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

>>8230019

THank you for providing additional info. Had to change algorithm to fix issues with very close or overlapping posts in the bar. Will try to do ssome more tweaking in next release to get a good middle ground

Anonymous ID: 2ad0a2 March 1, 2020, 6:36 a.m. No.8291340   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

Decided to go ahead and rework some of the backend of the scrape machine. I fell victim to some poor file layout choices when first building out the archive in the beginning and now it's getting to where it's causing performance problems. All the file assets will now have their own (sub)folders and it will make backups and restores alot easier in the future. Once I can get this finished off I think I may rebuild my Q posts page with some different tech, or go back to building out a search engine, maybe finish off the notable scraper. If only I wasn't so ADD I could get so much more done.

Anonymous ID: 2ad0a2 March 13, 2020, 7:18 p.m. No.8408907   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>6905 >>5695

Allright - lets get a status report. What's everybody working on?

 

I wrote an app to posts memes + hashtags on Twatter using the API. Pretty sure it's gotten me deboosted but I'm 100% sure it doesn't violate any of their terms. It's step 1 in a new project I'm thinking about.

Anonymous ID: de0761 March 20, 2020, 7:12 a.m. No.8488239   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

In reference to what is happening.

In reference to Q521.

 

What is patriots day.

It's the third Monday in April.

This year that makes it 4/20/20

Ten days after DJT which is 4/10/20

Is this the marker of the beginning and ending of something

Anonymous ID: 4ffc83 March 22, 2020, 7:24 a.m. No.8515695   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

>>7762733

>>8307734

>>8408907

Anons, I believe the storm is upon us. I don't know where I'll be in the next coming weeks. Things are already getting crazy.

 

I want to make sure I share what improvements I have made to Bakertools. No major new features, just some bug fixes.

 

I have plans for syntax highlighting and post previews but its on the backburner right now, it may have to wait until after the storm.

 

=BakerTools v0.7.2:=

https://pastebin.com/L1p6iRzZ

 

0.7.2

  • Use flex layout in bakerwindow controls

  • Reorder navcontrols

  • Reduce space of controls in boardlist

  • Disable spamfader new post event listener on disable

  • Don't mark q posts as notable

  • Make windows resizable width, fix table formatting in breadlist

  • Use boardlist height in current index calcs

Anonymous ID: 4ffc83 March 24, 2020, 2:37 p.m. No.8550710   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

Hey guys, heres a quick way to archive q posts offline from the google spreadsheet that is in the research doughs.

 

On any *nix with bash, a similar windows .bat file could be created.

 

Create a .sh file with the following content:

#!/usr/bin/env bashGSPREADSHEETS='https://docs.google.com/spreadsheets/d'ID='1Efm2AcuMJ7whuuB6T7ouOIwrE_9S-1vDJLAXIVPZU2g'FORMAT=zipCURRENT_DATE=date +%m-%d-%Ycurl $GSPREADSHEETS/$ID/export\?format\=$FORMAT\&id\=$ID "Q Posts Spreadsheet $CURRENT_DATE".$FORMAT

 

Add execute bit to file:

chmod +x archive-q-posts.sh

 

To archive:

./archive-q-posts.sh

 

This will create a zip file with the date in the name like this: Q Posts Spreadsheet 03-24-2020.zip