« first day (1514 days earlier)      last day (2306 days later) » 

12:00 AM
[ SmokeDetector | MS ] Bad keyword in link text in body, bad keyword in title, bad keyword in username, pattern-matching website in body, phone number detected in title: Norton Support Number USA 1-855-251-5999 by Norton Support Number USA on civicrm.SE
 
@SmokeDetector k
!!/test supportnumberusa.us
 
> Pattern-matching website in body, pattern-matching website in title
----------
Title - Position 1-20: supportnumberusa.us
Body - Position 1-20: supportnumberusa.us
 
@ArtOfCode what's the difference between save and save!
the usual Ruby meaning doesn't make sense here
(not in-place?)
 
the usual meaning is "more dangerous / extreme version of the former". It could mean more aggressive defaults.
 
@quartata save returns a success boolean, save! throws exceptions
use save
 
12:13 AM
ah, gotcha
all right that's one controller down
 
if x.save then do thing end
 
[ SmokeDetector | MS ] Username similar to website in answer: Meltdown and Spectre Vulnerabilities by Zach Pfeffer on security.SE
naa- by Yvette
 
@SmokeDetector self disclosed - but link only
 
@ArtOfCode what is current_user if the user is not logged in?
 
nil
 
12:16 AM
figured
 
use SNO if you're referring to it in a non-authenticated view
 
hmmm here's a problem
 
[ SmokeDetector | MS ] Bad keyword in link text in answer, pattern-matching website in answer: Norton Support Number USA 1-855-251-5999 by Steve Clark on civicrm.SE
 
I need all workers to rebuild their methods when a bot's config is updated, not just the one serving the request
which incidentally means that the git mutex I put into MS does not work hahaha
 
@quartata wat
oh, Puma workers?
 
12:22 AM
yes
 
[ SmokeDetector | MS ] Offensive answer detected: Connecting points (grouping) on 4x4 grid by JF Uribe on stackoverflow.com
 
you can ignore that problem by running the server on one worker
 
That's... not good
These are functions so they can't go in the DB
 
it's fine
 
tpu- by DJMcMayhem
 
12:22 AM
MS runs on one
 
So if it's a class variable each process has its own
@ArtOfCode well I don't want this to break if we ever change that
especially if it takes design work
 
the only time I've ever had to use more than one worker is when someone told me I had to scale to 1k simultaneous users
just keep speed optimization in the back of your mind while writing the thing, and it'll be fast enough to run on one worker for any conceivable workload that it's going to get
 
the only reason I'm doing this is for speed
 
do your speed optimization in your code, not by increasing worker threads
 
Rather than looking up various configuration values in the DB whenever we're sending something off to the bot or posting a message I'm having it build a function with the logic hardcoded
But since these are functions I was going to keep it in a class variable
 
12:25 AM
yanno how quick DB lookups are right?
 
yes I do
 
I doubt those are going to bottleneck you anywhere
 
With the volume of posts/edits/comments/CVs SE gets?
I'm trying to make this so that we don't get too bad of a dip in post scan rate
which is already on the fritz
Also I dare say this will make the code a little easier to work with
 
throw it in a repo, I'll see if I can come up with something
Marshal comes to mind
 
I guess I'll do this as is for now and not worry about the workers
yeah all right
@ArtOfCode Ooh yes
Ruby has something like Python's marshal?
Python's marshal is literally what .pyc files are
It was made for storing code
 
12:27 AM
Marshal.dump, throw that in the DB, and load it when you need it
 
12:41 AM
tpu- by DJMcMayhem
[ SmokeDetector | MS ] Offensive answer detected, blacklisted user: Does Apple allow crypto-currency mining in ios app? by Fagbag on apple.SE
 
@ArtOfCode Actually I just remembered that I was going to have the requests done with a pool of processes anyways. So I can message them to rebuild. The real trouble now is how to get the workers to share a pool...
 
tpu- by DJMcMayhem
 
[ SmokeDetector | MS ] Manually reported answer: Norton Support Number USA 1-855-251-5999 by Steve Clark on civicrm.SE
 
^ that's an answer there, another account
 
12:45 AM
@SmokeDetector tpu-
!!/watch support number
 
@micsthepick That pattern looks like it's already caught by Bad keyword in body and Bad keyword in answer; append -force if you really want to do that.
 
@quartata what requests?
 
tpu- by Tetsuya Yamamoto
 
so then, why did that post not get detected?
 
!!/test nortonantivirussupportaustralia.com
 
12:47 AM
> Pattern-matching website in body, pattern-matching website in title, pattern-matching website in username
----------
Title - Position 17-36: upportaustralia.com
Body - Position 17-36: upportaustralia.com
Username - Position 17-36: upportaustralia.com
 
!!/watch nortonantivirussupportaustralia.com
 
@TetsuyaYamamoto That pattern looks like it's already caught by Pattern-matching website in body and Pattern-matching website in answer; append -force if you really want to do that.
 
!!/test Support Number
 
> Bad keyword in body, bad keyword in title, bad keyword in username
----------
Title - Position 1-15: Support Number
Body - Position 1-15: Support Number
Username - Position 1-15: Support Number
 
@ArtOfCode processing api response, sending off to the bot, posting to the appropriate rooms
that's what the function that gets built does
but I think I need to think about this some more
maybe I'll do the bodyfetcher first
 
1:03 AM
Blurg. I hate ruby TCPServer/TCPSockets.
 
[ SmokeDetector | MS ] Misleading link: understand inkscape bezier flattening alrorythme by bakaou on stackoverflow.com
fp- by Tetsuya Yamamoto
 
1:46 AM
[ SmokeDetector | MS ] Mostly dots in answer: Weather and temperature effects on leather armor by user46526 on worldbuilding.SE
naa- by DJMcMayhem
[ SmokeDetector | MS ] Repeating words in body: Trying to make a clicker game and don't know how by NinjaKitty on stackoverflow.com
 
@SmokeDetector f
 
2:08 AM
@ArtOfCode bigger problem: I can't even figure out a way to start a thread before the workers fork off (if I do it afterwards, it'll spawn one per worker) that works everywhere. Puma and Unicorn have before_fork, but not Passenger
 
@quartata just assume a server
 
[ SmokeDetector | MS ] Blacklisted website in answer: Splitting an MP4 file by Lauren Smith on askubuntu.com
 
Puma is the default, so may as well use that
 
it's weird how something so fundamental isn't even given the time of day; I googled and found people asking about this and everyone said to have a separate application that runs ActiveRecord standalone which is kinda absurd
 
it's not fundamental, that's why
literally never needed this
 
2:13 AM
never needed a separate thread not running from a request?
I suppse the alternative is to have it occur in initilization then set something in the DB so that none of the other workers try
yeah ok I think I'll have a singleton row that I lock on
then the Bot model just needs a bool flag to indicate that the config has been updated
not so bad
 
2:36 AM
hang on
@quartata what do you need to lock?
 
[ SmokeDetector | MS ] Few unique characters in body: How to get all comments of a single user with youtube API? by John Smith on stackoverflow.com
 
honestly you could make it all quite a lot easier by using multiple threads instead of multiple workers
then they'd share code
 
no no it's not that
This is just about spawning one thread to listen to the SE websocket
Only certain servers let you run code before it forks off a bunch of workers, and if you have the thread spawn in a piece of code every worker runs (like say boot.rb) then you have one thread per worker
 
[ SmokeDetector | MS ] Link at end of answer: "Hello, World!" by a deleted user on codegolf.SE
 
What I'm doing is just a boolean flag that I set (and lock on the row) so that only one of the workers spawns the thread
 
2:43 AM
@quartata so either (a) assume you're running on Puma; (b) don't use multiple worker processes, use multiple worker threads, and set a variable somewhere when you've initialized the listener from one thread.
DB is for data persistence, using it for application-level signaling feels wrong
 
Passenger always does processes, cause it's Nginx
 
@quartata Puma lets you config 1 worker with multiple threads
it's probably gonna have nginx in front of it anyway
 
Why do that though
This works and it isn't so bad of a solution
Whereas assuming things about the environment is nasty
 
@quartata no less nasty than using the DB for signaling :P
 
especially since we give up parallelism if you didn't use processes
 
2:47 AM
@quartata uh
no
threads still give you parallelism
 
Not Ruby threads. GIL.
 
huh?
 
Python and Ruby have what's called a global interpreter lock. They use kernel threads, but they all try to acquire this one reentrant lock so only one thread can run at a time.
That's why they use processes
At any rate I don't see a whole lot of difference between using the DB and Redis or shared memory. It's not so bad
 
Huh, TIL
@quartata Redis would be a better option than the DB
 
But typically the GIL is good enough because threads sleep sometimes. (if I'm remembering what I've heard about the GIL)
 
2:54 AM
except using Redis for one thing is a little ridiculous
 
Conceptually, the DB does persistence for the app's data, but Redis is just long-term K-V storage. Redis fits better
@quartata it'll be there anyway
websockets use it
 
@thesecretmaster Oh no it's not about pre-emptive scheduling. We're talking about leveraging multiple cores -- you can't use threads for that
 
Oh. Sorry, I'm keeping a half an eye on this conversation because it's interesting, but I'm missing some things.
 
@quartata it's also likely going to be on AWS, though, where you only get one core
 
3:00 AM
I suppose I could also use Redis for the "needs rebuild" flag
 
fp by ArtOfCode
fp by ArtOfCode on "Hello, World!" [MS]
fp by ArtOfCode on Splitting an MP4 file [MS]
 
@quartata I'd bug you less about using Redis for signaling :P
 
Actually, what does Rails use for sessions by default?
 
@quartata it doesn't
 
hm?
 
3:05 AM
user sessions?
 
yeah
 
hm
custom by the looks
 
Restart: API quota is 15914.
 
@ArtOfCode What port does Rails's Redis run on by default?
 
@quartata whatever you make it
 
OK, where is it set?
 
you have to install and run Redis manually
it's not included with Rails
 
3:28 AM
I thought you said ActionCable needed it?
 
realistically, yeah
hold on, lemme figure out exactly why
 
Cause honestly if we aren't using it now I could use a named pipe
or shmem if we don't care about Windows which we don't
 
Yeah, so AC has different adapters. By default it uses async in dev and test, and redis on prod. async has never actually worked for me; I've always had to set dev to redis to make it actually work.
You still have to install it separately, though
 
hm ok
 
you're looking for config/cable.yml to set URL and port
 
3:34 AM
Is MS currently using Redis then?
 
yup
likely on 6379
 
well all right
 
fp- by Rob on "Hello, World!" [MS]
 
Do you start it from the rakefile
 
fp- by Makyen
 
3:40 AM
@quartata no, you make it a system service
@Undo I have a suspicion that #306 is a student whose course told them to make a PR/get a PR merged
 
that is super weird
why us and why that branch
 
I hope we're not on some assignment somewhere.
 
@Undo it'd be amusing, but also a pain if the college doesn't know how not to annoy people
 
Say, I think the bodyfetcher queues could also go into Redis
 
sure why not
 
3:53 AM
The previous max IDs definitely need to be in the DB but
I think the queues woud be better in memory
 
@Undo I'd reject it. They are attempting to merge the domain-tracking branch into master
Also...their python repositories make me want to cry
 
@Andy I looked at the names and promptly closed the tab
 
[ SmokeDetector | MS ] URL in title, bad keyword in body, bad keyword in title, blacklisted website in body, blacklisted website in title, +3 more: greentoneproblog.net/zen-labs-cbd-oil/ by almllyskahgm on meta.SE
tpu- by ArtOfCode
 
...I thought 1-rep users couldn't post on Meta? or am I way out of date
 
4:10 AM
What's that merging?
 
the last like 3 months of commits
 
@ArtOfCode I'm just curious about what that is.
 
shrug
if you've looked at the PR you know as much as I do
 
@ArtOfCode I'd just like to know how they got here.
 
not a clue
like even less clue than I usually have
 
4:18 AM
@ArtOfCode PR 306 non-existent?
 
@iBug on metasmoke
 
On Metasmoke
 
I'm looking at SmokeDetector, having a feeling I'm wrong.
Uhh, that's a rather absurd PR.
Most changes make sense, but that's obvious for being commited by you admins.
 
just re-committing stuff that was committed months ago
 
It looks like they are merging one of our other branches into master
 
4:29 AM
@Andy that doesn't make sense though, there's a bunch of commits from a bunch of different branches on there
 
As humourous as the strange blacklist removal request from a strange guy a few days ago.
 
conspiracy theorist: they're somehow related
 
[ SmokeDetector | MS ] URL in title, bad NS for domain in body, bad NS for domain in title, bad keyword in body, bad keyword in title, +5 more: www.healthoffersreview.info/american-cbd-oil/ by euissenger on apple.SE
 
@SmokeDetector tpu-
 
Maybe they are merging all the branches?
 
4:32 AM
I think an autoflag upon feeding back would be good.
@Andy That'd the ruin the whole idea of having branches.
 
Well...
 
If I were to deal with such an absurd one, I would close it directly.
 
well I'm not about to merge it that's for sure
mostly leaving it open just to see if any interesting information comes along
 
Yeah watch a comedy going on can be a lot fun.
Plus, there's a grammatical error in the title.
I'm quite sure "an" should not precede a consonant (request).
 
given the username I'm gonna assume this user is Chinese, i.e. ESL, so it's not entirely surprising
 
4:45 AM
[ SmokeDetector | MS ] Bad keyword in body, bad keyword in title: Muscle SS Boost - Improves Immune System by sylviagardner on superuser.com
tpu- by ArtOfCode
 
@Andy hey, then we'd have SVN! Good idea.
 
@ArtOfCode Most likely Chinese. I can confirm.
The GitHub user is strange, too.
Claims to be a Java programmer, but I see no Java in his 4 non-empty repos on front page. Three of them contains a (probably) templated code and the last one contains a .tar.gz
 
[ SmokeDetector | MS ] URL-only title, bad NS for domain in body, bad NS for domain in title, bad keyword in body, bad keyword in title, +6 more: foreverhealthy786.com/luxury-lean-forskolin/ by luot on askubuntu.com
 
@SmokeDetector k Good to engage.
@SmokeDetector f
Most of his repos contains nothing meaningful.
 
\o morning
 
4:58 AM
@SurajRao k
 
Anyone got the SmokeDetector swag mail? has a google form link. But for some reason giving me a warning popup "This link has been flagged as suspicious."...
 
@SurajRao I haven't. What's the mail you got it?
Wait, there it is.
 
Anonymous
@SurajRao I think Gmail just flags all Google Forms links as suspicious
 
Anonymous
Too many scammers trying to get bank/CC details via email
 
@Mego I believe so.
 
5:01 AM
 
don't share the link
 
@Undo its an image..
 
I know
 
Am not sharing the form
just wanted to know if I need to take the suspicious warning seriously
 
you don't
 
5:03 AM
@Undo alright.. Thank you!
 
:)
 
It's from João
 
A J
@iBug That's JNat's real name.
 
Rob
It was likely flagged because it's a new shortened link, and was mass emailed. But it's nothing to worry about
 
So I can fill the form for sure?
 
Rob
5:06 AM
The one from jnat? yes
 
How do I enter Chinese address?
 
!!/tea
 
@micsthepick brews a cup of jasmine tea for @micsthepick
 
I know how to "convert" to English.
The problem is, the address I have is:
AAA Bldg, 123 BBB Rd, CCC District, DDD (City).
Where AAA, BBB, CCC, DDD are each 10~15 letters converted to English.
 
Hmm do they romanize shipping addresses for overseas packages
 
Rob
5:16 AM
@iBug Might be possible to just use Chinese for the address, but write 'China' in English. I'd ping one of the SE team to be sure, though
 
Obviously the form itself doesn't accept non-Latin characters.
 
Rob
If they're just printing labels, I doubt it'd be an issue
 
@iBug oh then just put the romanized one
 
I think I can reply the mail, telling JNat I'm in China.
 
[ SmokeDetector | MS ] URL-only title, bad NS for domain in body, bad NS for domain in title, blacklisted website in body, blacklisted website in title, +4 more: auvelacreamreviews.com/tinnitus-911/ by Tinnitus 911 on askubuntu.com
[ SmokeDetector | MS ] Bad NS for domain in body, bad keyword in body, bad keyword in title, bad keyword in username, blacklisted website in body, +2 more: Exilera Male Enhancement by Exilera Male Enhancement on graphicdesign.SE
tpu- by iBug
[ SmokeDetector | MS ] URL in title, bad NS for domain in body, bad NS for domain in title, bad keyword in body, bad keyword in title, +5 more: foreverhealthy786.com/luxury-lean-forskolin/ by user271332 on apple.SE
tpu- by iBug
[ SmokeDetector | MS ] Bad NS for domain in body, bad keyword in body, bad keyword in title, blacklisted website in body, link at end of body, +2 more: What do you mean by Core Max Ultra? by BarMcC12 on askubuntu.com
tpu- by iBug
[ SmokeDetector | MS ] Bad NS for domain in body, bad keyword in body, bad keyword in title, blacklisted website in body, link at end of body, +2 more: Core Max Ultra Fitness is like a lot by Visameggaa on askubuntu.com
tpu- by iBug
 
5:34 AM
!!/tea SmokeDetector
 
@iBug brews a cup of jasmine tea for @SmokeDetector
 
!!/coffee SmokeDetector
 
@iBug brews a cup of Latte for @SmokeDetector
[ SmokeDetector | MS ] URL-only title, bad keyword in body, blacklisted website in body, blacklisted website in title, link at end of body, +3 more: alphajackedhelp.com/erx-pro/ by BartonLuman on askubuntu.com
tpu- by micsthepick
tpu- by iBug
[ SmokeDetector | MS ] Pattern-matching website in answer, potentially bad keyword in answer: How do diabetics manage their diet and meal planning? by ritu parkar on health.SE
tpu- by iBug
[ SmokeDetector | MS ] Blacklisted user: Creating an interactive menu in python console by ÇR2875 on stackoverflow.com
 
sd k
 
5:50 AM
!!/watch cursesmenu\.blogspot\.com
 
@iBug You don't have code privileges, but I've created PR#1464 for you.
[ SmokeDetector | MS ] Bad keyword in body, bad keyword in link text in body: What is the reson behind not downloading attachment in yahoo mail? by Adam Smith on superuser.com
Merged SmokeDetector #1464.
CI on 6cda495 succeeded. Message contains 'autopull', pulling...
tpu- by Tetsuya Yamamoto
Restart: API quota is 15063.
 
@SmokeDetector why
!!/test emailhelpline.co.uk
 
> Would not be caught as a post, title or username.
 
!!/watch emailhelpline\.co\.uk
 
@TetsuyaYamamoto You don't have code privileges, but I've created PR#1465 for you.
[ SmokeDetector | MS ] URL in title, bad keyword in body, bad keyword in title, bad pattern in URL body, blacklisted website in body, +2 more: www.selfybuzz.com/erx-pro-male-enhancement-pills-review/ by bafkalidsy on graphicdesign.SE
tpu- by iBug
[ SmokeDetector | MS ] URL in title, bad NS for domain in body, bad NS for domain in title, bad keyword in body, bad keyword in title, +5 more: foreverhealthy786.com/luxury-lean-forskolin/ by luot on apple.SE
 
6:05 AM
!!/test testrot
@SmokeDetector k
 
> Would not be caught as a post, title or username.
 
!!/blacklist-keyword erc\W?pro
 
@iBug You don't have code privileges, but I've created PR#1466 for you.
 
Oh No!!!
Important! I made a typo. It should have been erx\W?pro.
 
!!/watch testrot
 
6:06 AM
@micsthepick You don't have code privileges, but I've created PR#1467 for you.
 
@iBug just make a comment in the PR to ignore
 
Someone close that wrong PR.
!!/blacklist-keyword erx\W?pro
 
and make a new one with the correct one
 
@iBug You don't have code privileges, but I've created PR#1468 for you.
 
@iBug you have a GH account correct?
 
6:07 AM
@micsthepick Of course.
 
I made the same mistake
 
[ SmokeDetector | MS ] Bad NS for domain in body, bad keyword in body, blacklisted website in body: Can I display notifications on my non-primary Or on both displays? by Shr buj on apple.SE
tpu- by micsthepick
[ SmokeDetector | MS ] Bad NS for domain in body, blacklisted website in body, pattern-matching website in body, repeated URL at end of long post: Calminax how to use - price - reviews Eliminate hearing by Joshuamerrill on astronomy.SE
tpu- by micsthepick
 
!!/test calminax
 
> Would not be caught as a post, title or username.
 
!!/watch calminax
 
6:21 AM
@micsthepick You don't have code privileges, but I've created PR#1469 for you.
 
6:32 AM
[ SmokeDetector | MS ] Bad keyword in title, phone number detected in body, phone number detected in title: TFN 1(866) 206 7232 Bitcoin support number Bitcoin support phone number DEG by john leo on sharepoint.SE
tpu- by Videonauth
[ SmokeDetector | MS ] URL-only title, bad NS for domain in body, bad NS for domain in title, bad keyword in body, bad keyword in title, +6 more: foreverhealthy786.com/luxury-lean-forskolin/ by yrotnezz on askubuntu.com
 
sd k
 
6:48 AM
[ SmokeDetector | MS ] URL in title, bad NS for domain in body, bad NS for domain in title, bad keyword in body, bad keyword in title, +5 more: foreverhealthy786.com/luxury-lean-forskolin/ by kathari stros on astronomy.SE
[ SmokeDetector | MS ] Blacklisted website in body, repeated URL at end of long post: Erx Pro - Enhance your Size and Performance by horacemith on astronomy.SE
 
sd 2k
 
[:42169207] That message is not a report.
[:42169202] <processed without return value>
 
sd 2- 2k
 
sd 3- k
 
[ SmokeDetector | MS ] Bad NS for domain in body, blacklisted website in body, pattern-matching website in body: Tinnitus 911 Review: Does this really work? by Tinnitus 911 on superuser.com
tpu- by Makyen
[ SmokeDetector | MS ] URL-only title, bad keyword in body, blacklisted website in body, blacklisted website in title, link at end of body, +1 more: mumybear.com/luxury-lean/ by Luxury Lean on askubuntu.com
tpu- by Makyen
[ SmokeDetector | MS ] Bad keyword with email in answer, email in answer: What is the difference between metaphysical and spiritual? by Tim Stinson on english.SE
[ SmokeDetector | MS ] Bad keyword in body, bad keyword in title, link at end of body: Slim fit 180 canada by regoneju on askubuntu.com
tpu- by Videonauth
[ SmokeDetector | MS ] Bad NS for domain in answer, bad keyword in answer, blacklisted website in answer: High Sierra reFind/ dual boot by Michaelmato on apple.SE
 
6:56 AM
@SmokeDetector why
 
Body - Position 5407-5428: timblacksps@gmail.com
Post - Keyword *Bless* with email timblacksps@gmail.com
 
@SmokeDetector k
 

« first day (1514 days earlier)      last day (2306 days later) »