« first day (2429 days earlier)      last day (2536 days later) » 
00:00 - 15:0015:00 - 00:00

3:08 PM
user image
4
 
@TheWanderer ceiling cat walking with its back to the ground.
 
@DavidFoerster and floating on the floor
(⌐■_■)(⌐■_■)
@NathanOsman you have that ^ emoji in the menu, so why doesn't it parse?
 
@TheWanderer Is that your cat? xD
@NathanOsman I got a Go question, when you get a moment
 
no
nor my GIF
 
Ah, gotcha. Still funny xD
 
3:24 PM
@RPiAwesomeness Iz curious
 
@Seth Nothing crazy, I'm working on a notification system that makes use of RethinkDB's changefeeds.
For the bot project I'm a part of
 
Ah. Cool!
 
Yeah. I think I figured it out, I just want to get some clarification, and he knows a fair bit :P
It's actually a really good project though, makes use of goroutines and channels and websockets, so lots of learning experiences \o/
Go is pretty cool.
And it makes pretty code.
 
3:48 PM
I've barely used go but I loved every bit of it when I did.
@RPiAwesomeness Oh that's awesome
 
4:05 PM
@RPiAwesomeness Yes?
Grafana is a cool tool:
The top half is metrics from my server and the bottom half is data fed from my sensor here.
 
@NathanOsman Oh sweet, you're here. My question is about the init() function.
I have a few objects/structs that keep track of pointers. I declared the variable outside of init() (that makes it global to that file, right?) and then assigned the values to the variable within init() with a few function calls.
The issue is that if I try to access those pointer things in main() they're set to nil, even though they were fine in init().
I was able to fix it by not using pointers, but I was curious if you knew why that was happening.
 
@RPiAwesomeness Yes, variables declared outside a block are global.
Depending on the capitalization of the first character of the variable name, they are either package-local or exported.
@RPiAwesomeness That's strange since init() functions always run before main().
 
That's what I expected
But it works fine if I don't use pointers and it works fine WITH pointers, but only if I use them in the same function.
 
Are you able to show a snippet where you initialize the variable?
 
@SergiyKolodyazhnyy I only just saw your comment on my answer on 21st May, and only just noticed you'd answered that Q too
 
config, err := LoadConfig()
^--- that line's your problem
You have just created two local variables limited to that function.
The := operator not only assigns but declares variables.
 
But I have to do that since err is local.
I guess I could put var err error before it
 
That is one way to do it.
Or... another way would be this way:
c, err := LoadConfig()
//...
config = c
Sidenote:
err = rdbConn.Connect()
if err != nil {
...can be written:
if err := rdbConn.Connect(); err != nil {
Then err becomes local to the if block.
I'm still not sure why rdbConn.Session is nil in main() though...
 
My guess is it has something to do with scoping and pointers interacting weirdly.
 
4:27 PM
Can you verify that it is non-nil at the end of init()?
 
Yup
I could add to the repo. It's private currently, but then I could ask questions and you could point out other silly things I do :P
 
Is this the package you're using? godoc.org/github.com/GoRethink/gorethink
 
Yup
@NathanOsman I invited you on GH for the repo
Make looking around and figuring this out a bit easier
 
Okay.
 
If you have the time of course, don't want or need to impose on you :P
 
4:32 PM
I have a few minutes, no problem.
@RPiAwesomeness so just to be clear, the code in there now works? Or it doesn't?
 
It should work
It requires RethinkDB to run though
 
GREETINGS MINIONS
uh, i mean, hello!
anyone seen @Rinzwind around?
 
@ThomasWard Hello Thomas ! :) Welcome back evil and darkness ... :D
 
@ThomasWard probably preparing for the football match Ajax-Manchester.
 
@ThomasWard I think @Rinzwind is preparing to watch Ajax vs. United European soccer cup final. :)
Hey @JacobVlijm ! :)
 
4:45 PM
ah, well he owes me a sample of WannaCry[pt] because I said so :p
we want to do testing here at a lab environment xD
 
Hey Boxy! @cl-netbox
 
@RPiAwesomeness from what I can tell, what you have now is probably the best way to do it.
 
@ThomasWard if Ajax wins, he'll give it to you
 
@JacobVlijm If Ajax looses @Rinzwind gives all his points to our most evil mod @ThomasWard ! :D :D :D So, Thomas, who do you want to win the finals ? :D :D :D
 
E: Sport not tracked, no opinion available
E: getOpinion(Sports("Ajax v. United European")) returned "False"
 
4:55 PM
@ThomasWard clarification and explanation : if Ajax match points < United match points then Thomas reputation points + 159000 ! :D :D :D
 
@NathanOsman Sweet. Thanks again!
 
5:17 PM
i.stack.imgur.com/8l34w.png @Avery is this gonna affect my installation in anyway?
 
@SumeetDeshmukh unlikely
 
@Avery huh, peace of mind. thanks for making me try this stuff :)
 
hey, I'm not making anyone do anything :P
 
@ThomasWard yo
 
(I know that the thanks now will turn into swearing later when OS breaks randomly, heh)
 
5:20 PM
@Avery yes, but thanks for saying that it's easy
 
@cl-netbox if ajax looses I will downvote 159000 answers
 
@Avery that's the strategy for blaming other people in poor decisions || but it's not gonna break easily, is it?
 
I didn't have my setup break yet
or at least in a way that I can't fix
 
@Avery anyways i've dual booted it with Ubuntu so apparently i'm safe
 
ah, that's nice
 
5:25 PM
@Rinzwind hahaha ... then let's all hope that Ajax wins ! :D :D :D
 
Questions, questions... should I write decent code or a dirty hack?
obligatory 🤔
 
yes
 
@Avery go for the "decent hack"
 
@Rinzwind can't think of a decent hack
thing is, none of the system status report tools are working for us so I've made one myself and am thinking on how I should display the data, and I have no idea how to make a decent hack
 
0
Q: Running 32-bit prorgram with 64-bit Unbuntu 13.04

stevephysI have looked and tried all the on-line suggestions for running 32-bit programs on 64-bit ubuntu and none have worked. I keep getting "dependencies" still needed to install other i386 requirements etc... I have tried: sudo dpkg --add-architecture i386 I have tried: sudo apt-get update sudo ap...

nuke!
 
5:40 PM
with a dirty hack... I'd store stuff in files and just read from there
with a decent code, I'd need to set up a database (sqlite probably) but I hate sqlite
 
@Avery: How much information is there two store and how complex is it (i. e. how many records and database tables would you create typically or ideally).
 
@Rinzwind done ! :)
 
@DavidFoerster 7 rows, one record added every minute, one table.
 
@Avery Over how long (i. e. how many records in total), how often are you going to read the records and in what manner (sequential/bulk or random-access)?
 
I might rotate the stuff daily, it'll be sequential and bulk, i'll read it... everytime dashboard is opened, which is like, kinda rare but also not.
agh
I dropped in linux discord to rant about yaourt being displayed as example on emojione, had an editor war, DE war and we're now arguing if arch is bloated or not.
:thinking:
 
6:07 PM
@cl-netbox advice from police: do not come to amsterdam. 150000 people already there on the main squares in amsterdam
 
@Rinzwind why exactly? I had someone say that too, but why are people out?
 
@Avery UEFA cup final starts in 20 minutes. Ajax is in it
 
ah
 
@Avery a comma-separated text file or depending on the data even a binary record list file should be fine in that case. Don't overcomplicate things with a relational database if you don't even have relations.
 
Ajax could be the 1st team ever to win all 5 different cups the UEFA had/has
(the old 3 are:europa cup 1, 2 and 3. The new 2 are: Champions league. And now the UEFA cup)
 
6:11 PM
"I don't need a girlfriend. I'm a DBA. I have more than enough relationships to handle already."
11
 
24 years ago on -this- day Kluivert scored the winner in the CL final.
His son is now part of the main squad today so he could do the same :D
@DavidFoerster so true
and when I need children I start apache :=D
 
@DavidFoerster There are so many good DBA jokes...
 
When did God create the DBA ? The day before he had his rights revoked.
 
There is a definite correlation between temperature and humidity:
No idea if the humidity sensor is accurate - I have nothing to callibrate it with.
 
@NathanOsman what do you use to visulize that data?
 
6:19 PM
ok BBL.turning on beamer to watch the game :=D
 
@Avery Grafana.
 
and nice I don't need to deal with setting up mu own dashboard probably \o/
 
@NathanOsman Of course. Relative humidity decreases when temperature increases and absolute humidity stagnates.
 
See, I learned something new today :D
 
I'm going to make a huge tomato salad for dinner. It appears the Netherlands are dumping all their tomatoes and now they're only 0.75 €/kg.
I wish I hadn't cut the tip of my right digit earlier. Tomato juice stings in wounds. :-/
Good thing I have a grind stone and thus can reduce the juice leaks to a minimum.
 
6:42 PM
@Rinzwind good luck :)
 
@DavidFoerster by using a supersharp knife?
 
@Zanna exactly
 
Sounds yummy. I got some tomatoes today. Going to make a fritata and spicy tomato sauce
 
7:13 PM
freakin allergy is driving me up the wall
@Zanna sorry, which question are we talking about ?
 
@SergiyKolodyazhnyy floor allergy? ;-]
 
7:24 PM
@DavidFoerster yeah, the tiles make me sneeze, haha
But in all seriousness, I've no idea what causes my allergy
 
Did you ever take an allergy test?
 
I've been living in Colorado for almost 10 years, and had the allergy for whatever many years
@DavidFoerster too broke for that
 
Is it limited to certain seasons or weather conditions?
Did you live in the same house the whole time since you moved to Colorado?
 
more active in spring and summer but over all, it seems to constantly be therr
 
Did you live in North America before that?
 
7:27 PM
@DavidFoerster same house, same rooms . . .
@DavidFoerster never before
 
Could be related to something in the house then, e. g. mite excrement or fungi spores.
 
I tend to think it's related to plants growing nearby, because I do have seizures outside the house, on my college campus occasionally
but yeah, could be the house
 
There are charts with clinically relevant allergy provokers and their typical intensities throughout the year. You could start with that to look for possible correlations.
Also, how expensive could that allergy test be? I just did one and the doctor can bill a public health insurance 200–300 € for that.
It's probably not even an allergy but a different kind of auto-immune disease but he had one done on the off chance that it's a rare allergy with the same symptoms as the far more likely alternative.
 
@NathanOsman what data source do you use exactly
 
7:43 PM
I bought a temperature / humidity sensor and connected it to an Arduino. I wrote a program to sample the sensor and send the current values over serial to a connected Raspberry Pi. A program I wrote for the Pi then takes those values and pushes them to InfluxDB.
 
ah
 
@NathanOsman fancy. By the way, my sd card is apparently a toast, but the raspberry is fine
 
@SergiyKolodyazhnyy this one
 
aghhhhh
why does no one ever supply non-amd64 binaries ever
you know, I'm just too lazy to deal with compiling that
 
@Avery Package it for them in a PPA :)
Or create a job on the openSUSE build service.
 
7:56 PM
@Zanna yeah, i answered and commented on it like two days ago. It's recent thing
 
I'll do it the easy way
aka "spend bizspark money so former startup can yell"
 
Lol.
 
as with my great naming scheme, that's ao3, though I have 6 machines. Fun.
 
I really need to overclock this Pi...
I forgot how slow these things were.
 
arm is slow in general
 
user136984
8:08 PM
@ByteCommander: It's been a while since I heard anything about Powerwolf having a new album. Is everything ok with them or have I just been missing their activity? :)
 
/shrug
 
user136984
I see, you haven't heard anything either then.
 
Can't tell you any more than what you will find on powerwolf.net
 
user136984
By the way, I was attacked by a squirrel today because he climbed up me and I prevented him with my hand from climbing up underneath my shirt... :D
 
o.O
You seem to attract quite a lot of unusual things... malware, bugs, pigeons, now squirrels...
 
user136984
8:12 PM
Did I tell you that I tried to sit on a smallish hedge and fell right through it onto the ground where some particularity stern old women just happened to be walking by? :D
 
user136984
Plus a few weeks ago my soup just suddenly exploded out of my bag for no apparent reason onto my friend and I...
 
@SergiyKolodyazhnyy two days is years in AU addicted time
 
user136984
I have just got used to the fact that bad comedy follows me around relentlessly. :P
 
@Rinzwind WannaCrypt email sample. Give. ITSec "Prod the Virus and Play with It" time in a lab environment.
 
user136984
If something bad and strange can happen, it will happen to me.
 
user136984
8:14 PM
I think it's probably just a mixture between bad karma and some god's sense of humour as well as my own.
 
user136984
:D
 
 
@DavidFoerster thanks for adding to my answer to make it address the question more directly :D I changed the original loop back to a one-liner to show both ways of arranging it and take up less space
 
got +10 for one answer and -10 because user was removed . . . so far so good . . . question mark . . . .
 
 
8:25 PM
YAY
I HAVE OFFICIAL LINEAGEOS FOR MY TABLET
 
Cool.
 
@Seth so well drawn!
 
why do they call them nightlies if they're weeklies though?
 
Random fact of the day: on Mercury, nightlies would be equivalent to one release every two months.
 
8:30 PM
You're welcome.
 
Sir Pedant has arrivéd!
 
At your service.
 
:p
o_O
still parses ^
 
Yes, It's still on my TODO list.
 
tsk tsk
 
8:33 PM
@NathanOsman Two Microsoft patch cycles per day.
 
lel
 
Thanks to yesterday, our chat Twitter account has nearly two weeks worth of content queued.
 
@NathanOsman how does your database scheme look like?
or rather, how do you push the data?
 
user136984
@NathanOsman: Remind me again how you filter the content?
 
8:45 PM
@ParanoidPanda Which content?
 
user136984
The content that gets queued.
 
user136984
What is the criteria that is for it being Tweeted? Or does it all get Tweeted?
 
It is hand-picked.
 
user136984
Which Twitter account is it again?
 
@ChattyCapybaras, Stack Exchange HQ
Random. Funny. Weird. Wise. Ask Ubuntu chat. Come join us in room 201! (attr. https://t.co/w1vFXRbQZV)
230 tweets, 18 followers, following 9 users
 
user136984
8:49 PM
@Seth: Thanks :)
 
You should set something up like twitter.com/burnedyourtweet @NathanOsman
 
No, that's too much of a fire risk.
 
user136984
 
user136984
 
user136984
So funny to see that there... :D
 
8:58 PM
It's not the first time we've seen that one..
 
user136984
PSA: we are permanently closing this account in favor of opening accounts on Reddit and Instagram. So long and thanks for all the fish! 😉
 
user136984
Was that a joke? Because you carried on posting to it...
 
@ParanoidPanda Look closely at the date.
 
ugh I have to update to Nougat though
 
user136984
@NathanOsman: It says it was on the 31st.
 
9:02 PM
In other timezones, it was April 1 :D
 
user136984
That makes it extra funny! :D
 
oh that was actually kind of painless
 
@NathanOsman agh, can you give me a hand on configuring grafana? I just can't get it to display the data.
 
user136984
@ByteCommander Sounds like your duck population might get rather out of control... :P
 
user136984
And don't ask how I randomly found that... :P
 
9:06 PM
>_>
 
@Avery What's up?
 
user136984
And another ducky highlight:
 
user136984
Jun 23 '16 at 20:19, by Serg
"Rate my duck" thread on 4chan, literally rating the ducks people breed O.o
 
user136984
I must now stop searching this room for duck related things... :P
 
9:08 PM
o_O
@NathanOsman ^
 
ಠ_ಠ
 
@NathanOsman the documentation on neither sites is good enough from what I've seen, and 1) i'm not sure how exactly I should form the database (it's just cpu, ram and hard drive percentages) 2) probably due to #1, I can't find a way to show the data on a dashboard on grafana
 
user136984
:D
 
@Avery What are you using to collect the data and deliver it to InfluxDB? Telegraf?
 
9:09 PM
own script
 
user136984
It feels like a good time for somebody to post a large ASCII duck... :P
 
the premade stuff doesn't work for some reason
 
you're still searching the transcript for duck stuff panda?
 
user136984
@Seth: Yes, and now they've become a really nice and special thing for me.
 
@Avery Do the databases you're pushing to and using in Grafana match?
 
user136984
9:10 PM
I just love everything about them! :D
 
Yes
 
Do any of the metrics show in the query editor?
 
user136984
They're so fat and waddley and yellow and make such a cute little noise! :D
 
...until the food makes its way through their digestive system...
 
the rows? yes
 
9:11 PM
Okay, but the data doesn't show up?
(I assume you're using a graph.)
 
Tried something else, sec
I'm pushing report cpu_percentage=72,ram_percentage=58,download=23,upload=3 $(date +%s) and trying to read like this and I'm not sure what's the issue here, probably both.
 
@Avery You can omit the date part - it uses the current timestamp by default.
That might be the problem since InfluxDB uses nanoseconds by default IIRC.
 
what do you know
that might've worked
 
user136984
9:33 PM
                           ,..--------...
                     ,.--'|              /''-..
                 ,-''      \            /      `-.
              ,-'           \          /          `-.
            ,'               |        /              `.
          ,'                 .       /                 '
         ,\_              _,,'-------`._             ,- `.
        /   `._       .-''              `-.        ,'     \
      ,'       `._ _,'                     `.   ,-'        \
     /           .'                          `\'            \____
 
user136984
:D :D :D
 
user136984
 
Just had this review audit... an ASCII trollface codeblock... askubuntu.com/review/low-quality-posts/715050
 
user136984
@ByteCommander: Hahaha! :D
 
user136984
Maybe if I posted that duck as an answer it would get deleted and become a review audit... >;P
 
9:38 PM
This guy posted one rather bloated answer (I think most of it is unformatted and unnecessary terminal output though...) and then posted a bunch of answers just containing links to that first one...
Maybe someone should look into that
 
user136984
Anyway
 
user136984
Goodnight folks! :)
 
user136984
Ducks out of room... :P
 
@NathanOsman hmm, have any idea why the lines don't work?
ahh, it's about the fill thing
 
10:14 PM
end result
 
Cool.
^--- pretty similar to what I have
 
0
Q: scp files from particular folder in parallel

davidI want to scp files from machineA into my machineB and this is how I am doing it. I am copying bunch of files one by one from primary folder of machineA to primary folder of machineB and secondary folder of machineA to secondary folder of machineB. trinity@machineB:~$ scp trinity@machineA:/data0...

 
10:41 PM
@Avery cuz ur an scrub
 
ok
 
yehs
 
@ParanoidPanda Just checked the OpenWeather extension in a fresh install (without Extend Settings) and it does provide a setting for the location on the top bar on its own.
 
11:27 PM
this is what we ended up with
(the storage and ram freakout is due to me accidentally forgetting it open on testing environment)
 
halp
oh there it goes
 
00:00 - 15:0015:00 - 00:00

« first day (2429 days earlier)      last day (2536 days later) »