« first day (2038 days earlier)      last day (2963 days later) » 

12:10 AM
@whatsisname lool
@whatsisname how on earth does that have 16 score o.O
is barmy
see, this nonsense rep inflation is how Jon Skeet became "Jon Skeet"
 
1:02 AM
@Ixrec more C++ shitness
1
Q: Compiler error with vector of deque of unique_ptr

user2736667The following code fails to compile on gcc 5.3 with compiler error complaining that the copy constructor of the unique_ptr is somehow invoked. Can someone explain why this happens? #include <iostream> #include <memory> #include <queue> using Foo = std::deque<std::unique_ptr<int>>; ...

 
1:32 AM
can i ask django installation question here?
 
I have no experience with django whatsoever
 
you can ask
doubt you'll get many answers
 
2:35 AM
suppose I ought to sleep
you quiet gits
 
If anything, I met Tomas Petricek today
 
that guy keeps writing "StackOverflow"
it's infuriating
 
Could this be considered a defect in the language? Because this is absurd. — BarryTheHatchet 2 hours ago
my first impression is that having a move constructor that isn't noexcept on any class seems like a really bad idea to me, since as we just discovered that makes it impossible to store the class in a standard container without breaking part of the standard container interface, so personally I would be willing to call that a language defect
is deque the only "STL container" with that property?
oh dear, according to cppreference std::vector also doesn't specify noexcept on its move constructors
I know std::deque is a bit wacky but what kind of std::vector implementation would require allocation during a move? assuming the move is actually implemented as an optimization and not just a dupe of the copy?
@BarryTheHatchet: Last time I poked about, it had something to do with stateful allocators. You can't tell at compile time if two allocators are equal, so you don't know at compile time if you can move or have to copy. — Mooing Duck 2 hours ago
oh right, that
supporting custom allocators ruins so many things
incidentally...it's likely you can blame my employer for a good chunk of the custom allocator support >_>
I'm really looking forward to when the core of our software gets broken up into modern C++ linux services instead of the current 4GB god executable and we can find out if those custom allocators are actually necessary or if they were just a hack to make up for all the other hacks
 
 
11 hours later…
2:07 PM
> Hello!
>
> We are looking for employees working remotely.
>
> My name is Lucas, am the personnel manager of a large International company.
> Most of the work you can do from home, that is, at a distance.
> Salary is $1000-$4000.
>
> If you are interested in this offer, please visit our site: --> [redacted]
>
> Best regards!
seems legit
uh oh, another spam email has my real name in it
and it's definitely unsolicited/phishing
dammit
 
2:42 PM
0
A: Is there a decent wait function in C++?

BarryTheHatchetLots of people have suggested POSIX sleep, Windows Sleep, Windows system("pause"), C++ cin.get()… there's even a DOS getch() in there, from roughly the late 1920s. Please don't do any of these. None of these solutions would pass code review in my team. That means, if you submitted this code fo...

 
hello barry
 
@BarryTheHatchet upvoted your answer and the other answer making a similar point
tbh I was completely unaware that /K was even a thing...will definitely use that or a .bat next time I write a CLI program through an IDE
 
:D
@Ixrec it's very handy
@JohanLarsson hello Johan
I need to get off crowdcube. already invested in two things this morning
 
to be even more honest, I was disappointed the question turned out to be about making the console window not auto-close as opposed to actual wait functions
I'm not aware of a portable/standard wait function in C++ either
 
2:59 PM
@Ixrec indeed
@Ixrec if std::this_thread::sleep_for is not good enough for you then all bets are off
 
ooooh they snuck it into the threading stuff
silly me looking in std::chrono
 
heh
std::this_thread::sleep_until too!
and don't forget condition variables
plenty of waiting options there
 
it'll be a while before I understand condition variables but I'm very aware they exist
 
they're a bit weird tbh
basically just a combination of a mutex and an if statement
 
that's why I never quite grokked them the last five times I read about them
one of those things I just will not understand until I finally have to write a piece of code that needs them
 
3:02 PM
plus an encapsulated loop around the whole thing because condvars can spuriously wake so the condition needs rechecking and the mutex may need to be locked again if it's still false
I make good use of them in a couple of places (@Jimmy helped me to get my new event loop off the ground and it's awesome) but I wouldn't say I grok them entirely.
purely because they're weird and I haven't quite figured out whether that's because I am missing something or because they are weird...
 
3:31 PM
I hate everyone in android enthusiasts. They deleted both of my questions told me to just go edit the other question which was already well stated, so they could take all the rep and told me to put a bounty on it. Then they kicked me from the chat room because I said "You know a site is inactive when the only bounty is yours"
And they also made it to where I can't answer questions
 
to be fair, I have the only bounty on Sci-fi.SE right now, and I don't think that site is "inactive"
 
3:59 PM
android enthusiasts is actually pretty inactive though probably have like a 2% answer rate
Thanks for not letting me answer nor ask this question @MathewRead — DeliriousSyntax 51 mins ago
 
this seems like the sort of thing where a custom mod flag or contacting CMs would be more constructive than comments like that
 
4:27 PM
I keep puting all my rep towards bounties on questions that has only MathewRead's answers that are already accepted, but he keeps deleting the bounties
 
4:53 PM
@DeliriousSyntax you also misspelt his name, so the notification won't work.
@DeliriousSyntax Why are you doing that?
I do find that the moderator community on smaller SE sites tend to be a little ... shall we say, childish. There's just not the same oversight and professionalism that there is on the larger sites.
Of course, that's a huge generalisation.
 
5:13 PM
@BarryTheHatchet If you got anything concrete, you may want to make a case to a community moderator.
 
@Mast It's not like I'm collecting a portfolio of documenting evidence for a legal trial. This is just my anecdotal experience.
(And, apparently, that of liri.)
 
I'll agree smaller communities have a different culture. But every site has it's own culture. The one of smaller sites are just more instable (even volatile).
 
5:34 PM
incepto ne desistam
 
@Mast Yep.
 
Hello!!! Is anyone of you familiar with coding theory?
 
Coding theory is the study of the properties of codes and their fitness for a specific application. Codes are used for data compression, cryptography, error-correction and more recently also for network coding. Codes are studied by various scientific disciplines—such as information theory, electrical engineering, mathematics, linguistics, and computer science—for the purpose of designing efficient and reliable data transmission methods. This typically involves the removal of redundancy and the correction (or detection) of errors in the transmitted data. There are four types of coding: Data ...
 
^^
Perhaps you had a more specific question in mind which we could answer with a more specific answer?
 
I want to find all k in N such that there is a binary cyclic [9,k] code.
 
5:45 PM
That's context, I sense a question is coming which may or may not need even more of that awesome stuff.
 
seen 37s ago, This means war
 
only one wiki article into trying to make sense of Evinda's question and I've already hit a "This article may be too technical for most readers to understand." banner
either I should stop now...or this is the most interesting thing I've never heard of that I'm going to hear of for several months
 
@Ixrec Be careful the article may cause your mmind to explode from the intensity of content
 
> An (n,k) quasi-cyclic code is a linear block code such that, for some b coprime with n, the polynomial x^bc(x) \pmod {x^n-1} is a codeword polynomial whenever c(x) is a codeword polynomial.
brain pressure rising
 
@Ixrec And this is why The Whiteboard will always be the best chat room (The humor)
 
5:53 PM
there doesn't seem to be a definition of codeword polynomial anywhere
 
Is this math or code?
 
The math behind the code probably.
 
"coding theory" is clearly a math thing
 
Yes, it's math... That's why I asked at the beginning ;)
 
That would explain why Evinda is interested in this Math is his/her favorite stack exchange site
 
5:57 PM
it would seem no one currently in this chat has any background in it
 
Professor Ixrec teach us :P
 
I haven't taught myself it yet
 
You asked whether we were familiar. We've heard of it. But it's not something many programmers concern themselves with unless they're in a specific field of academia.
 
Ok I'll give you 15 minutes to learn every detail of it. That should be enough for you
 
now tell me which episode that image is from
on the plus side I found a free online textbook on coding theory from some uni website and this looks entirely approachable and interesting
 
6:24 PM
2nd episode
Oh that's Dr Who
Isn't it a new doctor every episode or something
 
6:43 PM
No.
 
lol
there are only 12 to 20ish Doctors (depending on what you count), not over 800 Doctors
 
20ish?
are you counting Comic Relief?
heretic ;p
 
couldn't be bothered to look up the exact list of maybe-Doctors
looks like 18 is the most inclusive count that sticks to canon, so if you include Shalka and Comic Relief that'd get you to 20
 
Comic Relief had like 6 in a row
 
I need to rewatch that sketch
 
6:54 PM
@BarryTheHatchet is a fan to?
 
...and I just realized I still have not watched Scream of the Shalka
fail
 
So it wasn't second episode I'm guessing
 
I'm starting to wonder if there's a language barrier involved where the words for "doctor" and "episode" are getting mixed up
 
It was me hearing someone elses conversation walking down the hall like 5 years ago
misinterpretation of the information I overheard
 
user15026
I've not watched DW in a good long while.
 
6:59 PM
Let's go with 32nd episode
 
since there won't be any more DW for a year, now's a good time to catch up
 
I haven't watched it since... hmm... Never
 
32nd episode would be...somewhere in season 1, so no
 
It's a new doctor every season not episode?
 
there's no fixed rule, usually the Doctor changes whenever the current actor feels like leaving, which is typically after a couple of years/seasons
 
7:03 PM
What is it about? I flipped to the channel once and it looked really old so I went to another chanel
 
@Ixrec :(
@DeliriousSyntax Do some fscking research. Open Wikipedia and spend two minutes reading rather than ... this!
 
Doctor Who is a British science-fiction television programme produced by the BBC since 1963. The programme depicts the adventures of the Doctor, a Time Lord—a space and time-travelling humanoid alien. He explores the universe in his TARDIS, a sentient time-travelling space ship. Its exterior appears as a blue British police box, which was a common sight in Britain in 1963 when the series first aired. Accompanied by companions, the Doctor combats a variety of foes, while working to save civilisations and help people in need. The show is a significant part of British popular culture, and elsewhere...
 
@BarryTheHatchet I think you made a typo "fscking"
1963 Hmmm seems relatively new
 
have you never fscked your computer before? you should really take better care of your file system
 
The system utility fsck (for "file system consistency check") is a tool for checking the consistency of a file system in Unix and Unix-like operating systems, such as Linux and OS X. It is similar to the chkdsk command in Microsoft Windows. == Pronunciation == Like many computer jargon terms without vowels, fsck is essentially unpronounceable in most languages and so people are forced to improvise when speaking it aloud. It can be pronounced "F-S-C-K", "F-S-check", "fizz-check", "F-sack", "fisk", "fizik", "F-sick", "F-sock", "F-uck" (associated with how long it takes to run), "F-sek", the sibilant...
It's actually a wrod
 
7:05 PM
I would hesitate to call that a "word", but it is the name of a command line utility
 
It can be pronounced "F-S-C-K", "F-S-check", "fizz-check", "F-sack", "fisk", "fizik", "F-sick", "F-sock", "F-uck" (associated with how long it takes to run[2]), "F-sek", the sibilant "fsk", "farsk" or "fusk".
Starting ROOT
Connecting to Device, Please Wait

Connecting to Device, Please Wait

Device Now Flashing, Please wait
.......
Please work
 
F-sock?
Never heard of that one before.
 
You can't ever say that again now
 
7:26 PM
...
 
user15026
7:59 PM
I have no idea what is going on right now
 
8:13 PM
@AshleyNunn Long day at work?
 
user15026
@RobertHarvey Not too bad today, for the most part. A couple squeaky wheels but nothing I've not been able to handle. :)
 
user15026
Although I'm ready for my weekend to start (45 more minutes!)
 
8:29 PM
Moderator Private Message
from
Matthew Read♦
sent 29 mins ago
to
DeliriousSyntax

Hello,

I'm writing in reference to your Android Enthusiasts Stack Exchange account:

http://android.stackexchange.com/users/133386/delirioussyntax

Please stop abusing the bounty system. If you don't like the way Stack Exchange works, you are free to leave. If you have any constructive criticism, please create a Meta post rather than agitating in chat and creating these bounties.

We have temporarily suspended your account; you may return after 7 days.
:(
incepto ne desistam
 
Causing trouble again, Delirious?
 
No he kicked me from chat for saying "You know a site is inactive when the only bounty is yours", so I've been putting all my rep on bounties for his answers for kicking me
 
If you really want to cause havoc, the bounty system isn't the most obvious one to start with.
 
which site is good for learning about avr atmega and arm cortex m4
 
@user143252 The datasheet.
 
8:38 PM
Not android enthusiasts that's for sure
4 hours ago, by BarryTheHatchet
I do find that the moderator community on smaller SE sites tend to be a little ... shall we say, childish. There's just not the same oversight and professionalism that there is on the larger sites.
 
The one for the ATmega 3-something is 555 pages alone.
Tells you a lot about hardware interrupts, registers and specs.
 
i am lookinf for video tutorial or university lecture .. someting that helps me ... excluding datasheets
 
Hey @WorldEngineer Been a while since I last seen you in here
 
user20683
@user143252 programming or cpu design
 
user20683
@DeliriousSyntax I lurk a fair bit
 
user20683
8:40 PM
also I'm not allowed access to this at work
 
for beginner prograaming and basic architecutre related info
 
@user143252 If you want to learn about microcontrollers, you'll have to read datasheets. Otherwise you'll never get anything decent done.
 
user20683
@user143252 There is a good book on generalized embedded systems programming
 
user20683
let me get you the link
 
8:45 PM
I'm going to log out real quick and do something and come back
 
user20683
You might think that "1999" is too old to be of use but in this case it's not terribly relevant to the discipline as a general field
 
thanks @WorldEngineer
 
user20683
since a great many chips out there are still Z80s and the like from the early 80s
 
@DeliriousSyntax Yes, but also
4 hours ago, by BarryTheHatchet
@DeliriousSyntax Why are you doing that?
You're being deliberately provocative in the aftermath, so I'm not sure what you expected.
 
8:54 PM
can i ask atmega question ??
atmega programming question
thanks @WorldEngineer
 
user20683
@user143252 I've no experience with atmega
 
ok
still this is my code
i have problem with pinx and portx
 
thanks @WorldEngineer
 
user20683
@BarryTheHatchet hmm?
 
user20683
8:58 PM
@BarryTheHatchet thanks for?
 
user20683
@user143252 Stack Overflow has an atmega tag
 
5 mins ago, by user143252
thanks @WorldEngineer
14 mins ago, by user143252
thanks @WorldEngineer
just, whatever you're doing, keep it up I guess
 
user20683
@BarryTheHatchet same as I always do, helping when people aren't trying to burn the site down
 
whoosh
 
9:06 PM
@BarryTheHatchet Just returning the favor
 
9:25 PM
What could possibly go wrong?
 
9:48 PM
Nothing? The worst that could happen is I have to create another account, but that's no big deal
I'll still have the same name, picture, and menality
 
Ban evasion is not okay.
You should probably stop talking.
 
10:06 PM
I'm serious. There are moderators here from multiple sites, not to mention Stack Exchange employees. And here you are incriminating yourself, loudly planning to commit some of the worst disciplinary violations possible.
Does that seem like a good idea to you?
 
10:37 PM
mh... I have a stupid naming question, maybe someone can help. I have the following relationship model: User -has_many-> Memberships -has_many-> Tasks, what's a good name for the relation between tasks and memberships? What I want to express is something like Task has an assignee through membership ;)
 
user15026
10:49 PM
@DeliriousSyntax a) if you evade bans you will be caught b) that will mean more bans c) don't be stupid d) this is a google indexed chat
 
user15026
goes back to watching Twitch streams and waiting for dinner
 
@sled I'm confused. How can a membership "have" tasks?
Do you really mean User <-has_many-> Tasks? Perhaps you're struggling to find a name for a relation with Memberships because membership is the relation..
 
@BarryTheHatchet I though I would gain some benefits if I map it through the membership, since when you delete a membership the assignees will be nullified
 
you're talking implementation details about a project we have no idea about
 
true, it's like a simple todo list system - you can be employed at multiple companies and at each company you can have some assigned tasks ;)
first, I directly assigned it to the user, so the naming made some sense i.e "a task belongs to a user", then I thought, well what happens if you get "fired" from a company, then your assignments to task should get invalidated, I could do this either at the application layer or directly at the database layer with foreign key constraints.
maybe I should ask this on the DBA stackexchange
 
11:08 PM
you would have to be a lot clearer about the model
 
@BarryTheHatchet Here's a simple schema: i.imgur.com/y7HmLn7.png
aw...
@BarryTheHatchet i.imgur.com/YxIVY8A.png
 
11:37 PM
17
Q: Non-hidden directory doesn't show in Explorer, but the program that made it can access it

XophmeisterI'm using IMAPSize to backup my mailboxes. The process just dumps the contents of your mailbox into .eml files on your disk. Anyway, the first mailbox I backed up shows up as I expect. However, the next one doesn't show in Explorer and, if I enter it in the address bar, it tells me that it doesn'...

huh TIL
 

« first day (2038 days earlier)      last day (2963 days later) »