« first day (2358 days earlier)      last day (1003 days later) » 

11:00 PM
I have searched high and low. No method.
And even if there was, sync-ing it with the websocket code would be a nightmare.
 
@Serg Heh :) Seen and comprehensively answered.
 
let me look
or just open inspector lol
 
I did.
There is no method.
 
user image
6
It finally came! Only took them a year and half xD
 
11:05 PM
\o/
 
@Seth Yay!
 
@KazWolfe That isn't the same data as in the page.
On the page, you get data like this:
{
    id: 1345,
    name: ("Nathan Osman"),
    email_hash: ("11e74c6cb64be4d24fdee076ddb374b0"),
    reputation: 102077,
    last_post: 1489520362,
    is_moderator: true,
    is_owner: true
}
 
@NathanOsman That data comes from https://chat.stackexchange.com/user/info (POST)
 
Yes, but it isn't vectorized.
You must call that once for each user.
 
no you don't.
 
11:08 PM
Wat.
 
you can pass in a list.
 
Wait, what, how?
Begins head-smacking-on-desk procedure...
 
ids takes a list
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d 'roomId=201&ids=1345%2C 97389' "https://chat.stackexchange.com/user/info"
 
I'm sure I tried that and it didn't work.
 
@terdon seen and comprehensively upgoated
 
11:10 PM
Resumes head-smacking-on-desk procedure...
 
I just tried it.
worked ok for me
 
You're not helping my head.
:P
 
@Serg Thanks. I channeled my inner Eliah there a bit.
3
 
but you're right, i'm pretty sure there's no direct way to actually pull a list of users currently in the room.
I thought there was, though. I seem to recall using it in WolfBot-SE once or twice...
 
Do you guys think it would be better if I left AU for a while ?
 
11:13 PM
@terdon You mean Eliah?
 
It looks like CE6 uses a scraper too, @NathanOsman.
 
@NathanOsman Dammit! I keep doing that!
@Serg For us? No. For you? Only you can tell.
 
@KazWolfe I wonder if there's a good reason.
 
@NathanOsman because there's no method for currently-present users?
 
AHA!
 
11:16 PM
I keep saying that I need to get my life in order but it always ends up being just plans that never get to the starting phase at least
 
I literally discovered that as you were writing your last message.
And THAT'S why I needed to parse the page.
@KazWolfe thank you, you have been most helpful.
 
@DougSmythies Yes I saw that Jarno guy posting on my Q&A. It actually sparked me to learn up on your server-edition and this is what I've got so far:
 
There is a way to get users (through the POST), but there is no way to get the current users except through scraping for no good reason.
 
^^ The default colors are weird but hey its server edition :p
 
probably because a chat API is "low priority"
 
11:18 PM
@WinEunuuchs2Unix nice, youre improving in scripting
 
My Go package is quickly fixing that.
 
@Serg Thank you kindly Serg. Funny thing is when I was googling dialog function you and Byte were in the answers :p
Back in 2015 I think it was...
 
@NathanOsman wolfbot is already "complete" lol
plus your go package is still going to have the inefficiencies related to using a scraper.
 
Inefficiencies?
 
Scraping is slow.
 
11:29 PM
It's a package - the scraping function is provided to the app using the function.
It doesn't have to call it.
Besides, Go is comparable to C in speed.
So, let's be honest, it's not really that slow.
 
It's slow vs API is what he means
you have to pull the entire page
 
It's just a couple KB of HTML...
 
parsing.
 
How is that different from an HTTP request to an API?
API responses need to be parsed too.
 
Not data-scraped and parsed.
API responses would already be designed in such a way that machines can easily read them.
 
11:33 PM
Both cause an HTTP request. Both result in data that needs to be "parsed".
 
@KazWolfe parsing is a silly distinction.
 
still, scraping and pulling usable data out of the garbage that is HTML is a lot harder and more inefficient than requesting from an API.
 
@KazWolfe how does WolfBot get the list of current users in the room?
 
@NathanOsman same way everyone else does, a scraper.
 
:P
So don't throw stones at my package :P
 
11:34 PM
I wasn't throwing stones at the package.
I was throwing stones at SE for not implementing an API.
 
Ah, okay.
Throws a stone as well...
 
on an unrelated note...
Mar 14 16:31:24 somehost.com postfix/smtpd[9847]: warning: hostname vps863.hidehost.net does not resolve to address 91.200.12.140: Name or service not known
Mar 14 16:31:24 somehost.com postfix/smtpd[9847]: connect from unknown[91.200.12.140]
Mar 14 16:31:25 somehost.com postfix/smtpd[9847]: lost connection after AUTH from unknown[91.200.12.140]
Mar 14 16:31:25 somehost.com postfix/smtpd[9847]: disconnect from unknown[91.200.12.140] ehlo=1 auth=0/1 commands=1/2
git gud, haxxorz
 
I have nearly endless logs on my mailserver full of that.
 
guh
why doesn't RemoteViews support tinting?
 
sandwich thicker than my grip . . .gotta chanel my inner hamster
4
 
11:47 PM
i just banned a whole ISP from my server. I feel evil :D
 
@Serg oh man, now I'm starving for a sandwich..
but I'm trying to avoid wheat and processed soy D:
 
@Seth sowwy :3 i can
 
@Seth soydo make me a sandwich?
 
share half
 
Pancakes for supper.
\o/
 
11:49 PM
@terdon lol
 
Ask Ubuntu General Lunchroom
3
 
sudo apt lunch
 
In my case, it's more like:
at now + 6 hours < coffee
 
@KazWolfe unmet dependency: fork
 
oh, cool. i'm getting hammered on port 23.
i wonder why.
 
11:54 PM
Telnet is supposed to be insecure, isn't it?
 
whats on 23 , telnet ?
i forgot
 
yeah, telnet.
 
Maybe it thinks it's an insecured router?
 
exactly why i'm surprised people are trying to connect to it.
 
One word: IoT.
 
11:55 PM
that's three
 
HAHAHA
[UFW BLOCK] IN=eth0 OUT= MAC=[redacted] SRC=89.248.172.16 DST=[redacted] LEN=70 TOS=0x00 PREC=0x00 TTL=123 ID=45725 PROTO=UDP SPT=40266 DPT=1604 LEN=50
 
i saw that
 
people are checking if I have a RAT on my box.
that's kind lol
they're also checking for another RAT, and NTP?
What secvulns exist in NTP?
 
all teh vulnz
 
clearly it is automated attack. A human attacker would at least scan the open ports
 
11:59 PM
also poking dns
 
@WinEunuuchs2Unix : That looks petty cool.
 
Although。。。no i didnt make sense there
 
ooo, nice question
 
@Serg if a human attacker would scan my box, their IP would get nuked.
 
3
Q: Ubuntu Core with Raid 1

RinoI'm trying to set up my Nextcloud on a Raspberry Pi 3 on Ubuntu Core. I want to have a Raid 1 setup, so a disk failure doesn't wipe out all the data (next to weekly backups I'll do with another disk attached) The issue right now is that Ubuntu Core does not come with mdadm to create the RAID. Al...

 

« first day (2358 days earlier)      last day (1003 days later) »