« first day (2287 days earlier)      last day (2660 days later) » 
00:00 - 15:0015:00 - 00:00

3:05 PM
> Since other U.S. tactical vehicles like the HMMWV utility vehicle and M1 Abrams tank also use JP8, adopting a scout motorcycle which runs on the same fuel would ease logistics.
they should've just made a turboshaft motorcycle engine
now that would be something
oh well, someone did it already
> McIntyre told Leno that the bikes would be sold only to select buyers, those he thought would take proper care of the turbine engine, which is warrantied for life, and not get themselves killed.
lol that power though
> 320 hp (239kW)@52000 RPM
 
3:26 PM
-8
Q: Is it possible to have WPF content in a C# Console app

ZerterCodesI'm wondering if its possible to have WPF Designs/Files in a C# Console app, please note I DON'T want code examples or any links, I just want an answer listing yes or no and how hard it is on a scale from 1 - 10. 1 being as simple as opening a bottle of water and 10 being as hard as making a AAA ...

/cc @Mysticial How good are you at opening water bottles?
 
3:37 PM
@R.MartinhoFernandes using mutexes does not automatically eliminate race, only if you use them properly. — Slava 41 mins ago
 
Ell
I think he is confusing racing with deadlocking
 
This may avoid deadlock but would not solve race condition problem as 2 mutexes would not be locked atomically. — Slava 21 hours ago
 
Ell
oh :V
 
He's probably thinking logical races, but I can't imagine what situation he thinks is race-y.
 
Voted to reopen, now that the code is in the question and I can read it (I don't follow links) this seems (to me) like a valid question. — Borgleader 8 secs ago
 
3:47 PM
also my bike got the official tests done on it (how's that in english actually), the papers have been sent for translation... I should be able to pick it up soon <3
now I want the winter to end asap
 
sbi
@wilx Who is @Ven?
Good afternoon.
 
@sbi A regular here.
@sbi Hi.
@BartekBanachewicz I second that!
 
sbi
@wilx That must be new. He wasn't a regular when I was around. And that's only about 4 years ago.
@CheukKinSing What about me?
 
@BartekBanachewicz technical checkup or smth maybe?
 
@Rerito ye. It's an import so needs that before I can register it here
and pay insurance for it, which is a bit less fun
 
Ell
3:56 PM
@BartekBanachewicz M.O.T.
MOT test
 
oookay
eh those are pretty limited here in general
 
Ell
> The MOT test (Ministry of Transport, or simply MOT) is an annual test of vehicle safety, roadworthiness aspects and exhaust emissions required in Great Britain for most vehicles over three years old
this kinda thing?
 
Yeah I guess it's the thing
 
just the lights, the brakes and overall "isn't completely broken or nonstock in a dangerous way"
 
we call it "technical checkup" in france
(hence my bogus translation)
 
4:18 PM
@R.MartinhoFernandes easily, for example mutex m1 is used as signal "data available", m2 to lock data. thread 1 locks m1 and m2 and pushes data. thread 2 checks m1 it is locked - data available, then locks m2 and unconditionally reads data. — Slava 21 mins ago
 
> Historically, C++ has definitely been THE language for doing graphics but if you are starting these days, you would have to have really compelling reasons to start with C++ and not JavaScript and WebGL.
 
It seems to me that the guy does not know about the existence of condition variables.
 
@sbi scroll up a little bit for context
 
sbi
@CheukKinSing Too lazy. (This chat, I have you know, provides the means to make it obvious when your messages refer to other messages.)
 
@CheukKinSing that's actually true
 
4:23 PM
@BartekBanachewicz That explains a lot :P
 
@R.MartinhoFernandes did I mention bribes
 
@sbi I am well aware and I intentionally didn't ping you
 
and dealerships having underground deals with checkup stations
 
sbi
@CheukKinSing No need to ping me. I was referring to you (not) referring to the message you were referring to.
 
@ratchetfreak exactly and as I said before mutexes have to be used properly, and that's why providing answer how to avoid deadlock with locking 2 mutexes does not provide any value to this question. — Slava 2 mins ago
what.
> Hasło musi się składać z conajmniej jednej litery, liczby, oraz jego długość musi zawierać się miedzy 5 a 25 znaków.
[Eng: The password must contain at least a letter, a digit, and its length must be between 5 and 25 characters.]
Or maybe the translation should read "we're bad at web security"?
 
4:31 PM
who cares really, it's just checkboxes in the password generator
I mean 25 is a bit low, but not terrible
 
that's not so bad
 
How would you explain the difference between a Database and an excel file?
 
@slaphappy it is
It also doesn't let me use special chars. What.
 
One of the hardware controllers my company makes has a "Harm mode".
 
@Griwes Oh, then it's bad, yeah.
 
4:32 PM
A big reason why it's bad is because it changes my password manager's saved settings.
 
@slaphappy 25 is bad.
 
I almost always have it at 75 + special chars, this changes that :|
 
@JohnDoe2 one is meant to be used by the db engines, the other by humans. Excel also has a fixed row/col structure, while a DB doesn't need to.
 
Anything that is measured in bytes is bad as an upper limit on password sizes.
 
I don't think "at least 1 digit, 1 letter, limit 25" is too bad. Most passwords are going to be at least alphanumeric with 15-20 chars anyway, no?
 
4:33 PM
I use 20-40 chars typically
I don't use a fixed length /cc @Griwes
 
@R.MartinhoFernandes It's bad, but it's not that bad
 
yes, it is
it is that bad
 
Ven
@BartekBanachewicz it doesn't need to
 
what doesn't need to?
 
Ven
be stored someway :P
 
4:42 PM
I... what?
 
Ven
yes
 
@R.MartinhoFernandes 1 (pinky finger held to mouth) million bytes!
 
nwp
@JerryCoffin That disadvantages non-ASCII people, you alphabetist!
 
nwp
The sense in those words may converge towards zero.
 
4:55 PM
@JerryCoffin That's measured in millions of bytes.
 
Ven
> Secondly you claimed it was a type, when its not, its a typedef of a basic_string template class, part of STL, it is not a native C++ type
I just found a case of severe retardation.
> Oh boy and i just remember some more drivel you posted. Claiming that Qt is purely C++, ever heard of PyQt
holy fuck.
 
wow that's pure gold
source?
 
@nwp In what way do you imagine it disadvantages anybody?
 
@milleniumbug trivially googleable
 
5:10 PM
@Griwes sure I could google, but why. The other person has a link just in front of them
 
@Ven more like moronix.com amirite
 
wow the discussion gets gold as early as the third post in there with the "algebraic types"
let's invite Cicada there
 
Ven
@milleniumbug no i closed it quickly. this damages my brain
 
nwp
@JerryCoffin ASCII usually allows more characters per byte than other encodings, therefore non-ASCII users are disadvantaged because they cannot use as many characters. In my defense it is not easy to argue that a 1MB password is insufficiently small and as stated the sense may not exist within those words.
 
I had a guy once tell me that in haskell it's impossible to have bugs
 
nwp
5:15 PM
was it bartek?
 
lol no
he's not an idiot
 
@nwp I wish, maybe Hate would be usable by now
 
@nwp It doesn't actually disadvantage non-ASCII users. What we care about isn't the number of characters, it's the number of bits of entropy. Using ASCII, you can use N characters, each of which adds about one bit of entropy. If you use the Canonese or Mandarin alphabet, you can't use as many characters, but the number of bits of entropy per character is higher, so you still get around 1 bit of entropy for every 8 bits of raw input.
@slaphappy I'm pretty sure it would be possible to define "bug" in a way that this was true (though, of course, that definition would be so narrow that the same would be true of most other languages as well).
 
@JerryCoffin Though, to be fair, this applies to any concept equally. Having <event> in <situation> is always impossible given a narrow enough definition of <event>.
 
5:26 PM
@JerryCoffin You mean each adds 7 bits.
 
nwp
although passwords may not be the same thing as english text
 
@R.MartinhoFernandes No. I mean each adds about one bit. If each added 7 bits, then the best possible lossless compression program would only get about 12% compression.
 
@JerryCoffin Are you talking about English text or random nonsense as passwords should be?
 
@R.MartinhoFernandes English text has obviously been studied much more closely. Machine-generated passwords can and do have considerably higher rates of entropy, but those are comparatively unusual. While the mangling most people do to passwords probably does increase the rate of entropy, I doubt it changes things very much.
 
Jerry is talking about "user-generated" passwords
 
nwp
sol crashes on me here because message is not null-terminated.
 
@ratchetfreak I haven't analyzed enough mangled text to be sure, but it wouldn't surprise me if the amount added was even less than that. To be honest, I wouldn't be terribly surprised if (at least in some cases) it actually even reduced entropy.
 
nwp
guess I install the latest lua lib and hope they fixed it
 
5:54 PM
@milleniumbug oh look it seems moronix.com can't go to the next page without JavaScript
 
6:27 PM
seems leejit
 
user1804599
7:22 PM
Sol being bad? Well I never.
 
nwp
that one was not sol's fault
 
i need help, someone around?
 

C++ Questions and Answers

Solve problems and approach solutions. Just ask and lurkers wi...
 
thank
 
@milleniumbug They didn't mention whether they needed help with C++ or not :p
 
7:54 PM
@Morwenn Let those guys worry about that.
 
hi guys!
sorry to bother, I am curious if there are any hinches about c++ recursion, or the call stack, any interesting and hidden thing that c++ might offer if you have any ideas on mind right now!
 
Can you be more vague?
That's, like, way too many details right now.
 
hi
can any one tell me how I can read a large file with the help of multi thread in C
 
Nobody can because we don't know C.
 
in C++
 
8:06 PM
@EtiennedeMartel sorry. I thought that would happen. So, my class teacher started teaching recursivity. The thing is she just gives stupid recursive algorithms
she asked us to print a series of numbers backwards
but recursively
 
@orlp The second track sounds a bit like what Squiban would do when he plays jazz.
 
void p() {
    char ch; cin >> ch;

    if (ch != '0') p();
    cout << ch << " ";
}
 
nwp
8:22 PM
@Victor I am disappointed that neither clang nor Asan nor UBsan catch the uninitialized read, not even when it actually happens.
But you should be aware that cin >> ch can fail in which case you read the uninitialized value from ch.
 
yep. I was also wondering why it worked. but my teacher considers it a very good strategy
that's what I mean with "hinches" above
 
nwp
well, the issue is not related to recursion
the only thing that comes to mind is tail recursion
 
9:20 PM
@Borgleader Admittedly depends on the physical characteristics of the cap, my hand, and the makeshift tools available to me. (like some cloth from my T-shirt)
There have been times where I've almost ripped the bottle before the cap budged.
 
@Mysticial the bottles with the small caps that really hurt your hand to open and don't budge
I've had that happen to me
there is a point where you think "Should I just use a can opener?"
 
 
1 hour later…
10:51 PM
I'm sick :/
 
nwp
did someone make you run after a truck?
 
Fortunately no.
But that's soooooo cute *-*
 
11:14 PM
I hate being sick
 
@Morwenn you always was
 
@Morwenn But are you more sick than this backflipping dog?
 
I'm not aware of any backflips
 
@StackedCrooked is Coliru alive? It's not responding for me
 
11:30 PM
How much worse is the Trump government than was Bush jr. government?
 
7.5. On the Richter scale
@LucDanton brillant
 
@wilx Much worse.
 
Hello, Cruel World!
 
Bush was thicker than two short planks, but he at least intended to make the world a better place, even if he was terrifically incompetent
 
Anyone else having trouble loading Coliru?
 
11:34 PM
@Ven wtf
 
Trump won't even try to make the world a better place
the best we can hope for is that he's terrifically incompetent at making it a much worse place.
 
@Puppy Hmm.
 
@Puppy But his cabinet has the IQ ever assembled
@Code-Apprentice So it was you
 
yah, probably. I broke it!
@sehe I think you a word.
 
@StackedCrooked ^ fyi :)
@Code-Apprentice which one?
 
11:37 PM
"cabinet has the IQ ever"?
 
So, which word would you deem missing
 
either "highest" or "lowest"...or some other modifier.
 
"hugest"
 
since I didn't click the link....until after I typed that previous message.
 
Ah. I was purposely leaving an awkward condensation (lazy...) but yeah. That's one word too little. Didn't even notice on third reading ;0
And a version that posts jobs on a worker thread pool: paste.ubuntu.com/23830495 (somehow Coliru is down :() — sehe 1 min ago
 
11:40 PM
lol, didn't even notice you asked about that just before I popped in
was gonna use Coliru to test a SO question myself...
 
Hm..
No idea what's going on.
 
Ven
11:55 PM
@sehe am i not allowed to rightfoldbait stars anymore??
 
I dunno. I just didn't get it I guess
Anyhoops. This is weird:
 
Seems like a user program on Coliru invoked the oom-killer.
 
The declamation is so marcato
 
Sick new avatar @sehe
 
00:00 - 15:0015:00 - 00:00

« first day (2287 days earlier)      last day (2660 days later) »