« first day (1845 days earlier)      last day (3118 days later) » 

7:02 AM
I think not
I need to read the code more
The relaxed still seems fishy
> How to make an GUI interface in C++
 
@GregorMcGregor It's an all time classic question.
For any programming language.
 
-3
Q: How to make an GUI interface in C++

Fahad SheikhI'm gonna make an project on C++ language. I need some information. Actually I want to build an Database for my project and wanna make an GUI interface. Please suggest me for this project. How can I make GUI interface. And how can I connect it with the database? Please help me

 
GUI interface pls
How to make an graphical GUI interface in C++
 
7:15 AM
@sehe why'd you want her to have a beard?
 
@StackedCrooked You're reading it wrong, he wants her to have a bear d
 
What's a bear d?
 
@sehe I think it's offensive as well.
 
@StackedCrooked @sehe pls illustrate
> Riga, Michigan
ffs, naming
 
7:30 AM
hi
 
guys, I'm reading the c++ guidelines (from bjarne and co) and in the section about "don't overflow" they have an example of bad code pastebin.com/H4sV7H2Z
it's not obvious to me what is twice wrong with line 6
could someone give me a hint please?
 
because it's convoluted
 
but it's a section about overflow
I expected it to be relevant
 
It's Bjarne. Not surprising.
 
it was another advice to write clear code (thanks captain), but here it's dedicated to overflows :-S
okay thanks
 
7:40 AM
I guess the rationale is "don't index into an array with an index whose value may exceed the size of the array"
or something
not sure really
 
7:58 AM
Hello
 
Ell
Ugh dizzy
 
Ugh gillespie
@zerkms makes sense (for me) because overflow could be defined as writing out-of-bounds.
 
8:16 AM
sehe, the stream is awesome in case my text yesterday could be interpreted otherwise
 
true << 0 - what is that trying to achieve — sehe 5 secs ago
I hate when people just change their question
@JohanLarsson What text? The fact you said "nite"?
 
I wrote that I used it as a sleeping aid
 
Oh. That. No I get that. In fact that's one of the first "uses" I can see livestreams as having: background noise. Comforting "working" noises.
 
It is more that it is a de facto sleeping aid but most things airing aroun midnight probably are
 
Yes
Anything that is part of the late-night routine is de facto sleeping aid.
Including feeding the cat and the dish-washer
 
8:22 AM
Pretty sure your stream is one of the best resources for learning c++
@sehe I have pics that shows how I made emptying the dishwasher an O(1) operation :)
 
I'm pretty sure it's not. Unless maybe for intermediate to advanced. It could work for curious souls, like me
@JohanLarsson Wow. How. Using a small forklift?
 
Gonna take a pic when it is full of clean dishes, the pic will explain it
 
Ah. You use double buffering?
 
It is simpler than that
And thread safe
 
I'm streaming btw
 
8:26 AM
I'm working
 
@JohanLarsson No cloth required?
@JohanLarsson I'm broken
 
@sehe it's not out of bounds there though
 
@zerkms where isn't it? You mean the a[10] = 7 isn't ? Or a[-1]=0? IDGI
 
@sehe at line 6
 
a[-1] is OOB
 
8:28 AM
there is no -1 there
 
It's pretty obvious
 
n is [1; 10] there
hence n-1 is [0; 9]
 
Ah. You're right. It's so subtle that indeed it's convoluted, but not technically OOB. Perhaps the sample went wrong for the same reason I minread it
 
yep, it's really tangled
 
I'd concur with the comment that it's even worse than straight up OOB :) But the sample is confusing and should be amended. Send PR :)
Being a little bit facetious there
 
user1804599
8:33 AM
Hello.
 
it was probably meant to be an OOB example but it was accidentally written correctly
 
you guys never work?
 
never
 
8:44 AM
open an issue maybe
@Dean ?
 
@sehe Skype?
 
@Elyse lol. I predicted the histograms by opus :) It's on the live stream now (will have to wait for recorded version)
@Ramy visit me livecoding.tv/sehe
@Dean working gives you cancer
Of course we work
 
@sehe do you normally work from home?
 
Nope
 
interesting time to stream
 
8:46 AM
@sehe Boost? Nice
I will subscribe.
 
user1804599
@sehe I have no Flash so no livestream for me.
 
Livecoding is blocked at my workplace (or at least the stream wouldn't play)
 
as in, time of day
 
I've got a violin melody stuck in the head and can't remember the piece it's from :(
 
@sehe Did you find a new job?
 
We are anti hiring at the moment
 
@Elyse you're such a poor boy
@JohanLarsson you mean layoffs?
 
@sehe My thought precisely at that moment but I didn't dare
 
@sehe yeah
 
8:52 AM
@Rerito You'll have to sing it
@Rerito why the fear o.O
@JohanLarsson Sigh. Any risk/danger?
 
@sehe Coz too bad :p
 
@sehe dunno, but don't think so as I have been here many years.
 
@JohanLarsson we planned 20,000 layoffs this year :p
 
@Rerito Ah. Never fear bad puns. Bad puns are karma neutral
 
@Mr.kbok oh, huge number, what company?
 
8:55 AM
@Mr.kbok wow. Large-ass company
 
^ I will prescribe.
 
user1804599
@sehe ?????????????????????????????????
 
Skipped breakfast this morning. I'm starving
 
@JohanLarsson secret :) but I left cluez
 
Xeo
I skip breakfast every morning.
I'm usually not hungry until lunch, or sometimes even dinner
 
8:58 AM
@Xeo I usually eat a looooot at breakfast
 
@Mr.kbok strange secret imo, kinda like being secret about what planet you live on :)
 
Like ~800kcal
 
gah, smiled with an architecty beard
 
I used to eat only dinner, but didn't work very well for health and weight
 
@JohanLarsson Well, it's not as obvious though. Truth is, I don't want to make it too easy for people IRL to find me here.
 
9:00 AM
@AndyProwl In my students days it would happen a lot of times to me as well
 
user1804599
@AndyProwl fail
 
@Mr.kbok no problem, I respect that of course, not important either, was just curious.
 
@Xeo I'm rewriting some algos from the speedsolving wiki with tons of additional notation for both easy fingertricking and memorisation. This H-perm (L R U2 L' R' (y) L' R' U2 L R) becomes just [L/R: U2]: y] if I make use of all notational shortcuts described in the SS wiki and a few additional annotations of mine. Ya think it's worth it?
 
@AndyProwl yea ideally you want to eat the most at breakfast
and then eat progressively less
 
well, not necessarily the most but yes, definitely less during the evening than during the day
 
9:04 AM
@AndyProwl I also eat a lot at dinner :p
 
I can't afford that :P
I have trouble staying lean even when doing a decent amount of physical activity
 
-1
A: Why linking to a LIB significantly increases binary's size

Andre ValdestilhasThe lib file will always increase the size of the executable file, because you are executing a preprocessor with your application when you call a .h file.

 
@AndyProwl have you tried to #define ANDY_LEAN_AND_MEAN?
 
@AlexM. lol
I wanna make a joke about mom and linking with /bigobj but I'm too tired
 
Ven
ahoy y'all
 
Xeo
9:10 AM
@R.MartinhoFernandes If it helps people remember, sure.
@AndyProwl I'm currently only eating dinner.
The best part about that is, that I can eat a huge meal :D
 
@Xeo That's why it didn't work for me :P
 
Xeo
yesteday it was self-made bifteki, the day before twas meatballs
today's gonna be a rib-eye steak
 
For me, eating a lot in the evening made it pretty much impossible to lose weight
 
Xeo
I think.
 
Star this if you're reading it in 2015
Gregor attempting the youtube technique
 
9:13 AM
Might work
Star this if you're reading it in 2012
Let's see
Reddit brought me here
 
fake and gay
 
★ star this if your a butifl potate
 
gake
 
name of song pls????
darude - sandstorm
 
luc danton - no free lunch
 
9:15 AM
lol a few days ago someone wrote two comments on my hitler video:
1. ODR = ????
2. SFINAE = ????
 
i'm a 12 year old and i listen to the beatles my generations music tastes suckss!!!
 
sports videos also have quality comments
 
le lounge army
 
like, I'm 5 and I can swim 100 mt freestyle in 52'', is it good?
 
comment on classical music
ug my friends all waste time with shit like pitbull and niki minaj why cant they see that this is real music
 
9:18 AM
@Xeo Is bifteki like meat from a cow raised by Bartek?
@Xeo Actually, it'd be a fun project to write an automated rewriter of algos. Hmm.
 
@R.MartinhoFernandes tastes great but without the side effects of weight gain etc.
I should refrain from jokes
Bad period
 
speaking of bartek
in bartekland they have a school of wizardry now cowlarp.com
> College of Wizardry is a four-day Wizard School larp event, where you can act out your dreams of being a student witch or wizard at a beautiful fairytale castle in Poland.
 
isn't that a bit gay
like, no offense
 
CoW LARP?
lol
@AndyProwl isn't that a bit gay, like, no homo
 
@AndyProwl hey I couldn't do it but some can
 
9:22 AM
SE chat pages took for ever to load, I am all suspicious ~_~
 
Guys, quick, let's figure out how that happened
:P
 
@AndyProwl First step: reproduce the problem
hehehe
 
lol
 
Xeo
@R.MartinhoFernandes It's ground beef filled with feta cheese. Greek-style food.
 
Morning.
 
9:27 AM
WHERE'S MY NAME LIST
 
Robert :: Andrew :: nil
there you go
 
too many colons no?
 
idk it's pseudo-ocaml syntax
lemme check
 
ah, ok
I can't OCaml
 
@Morwenn Wesh ti'zef
 
9:30 AM
@Rerito Zyva, kes t ve??! :o
 
Should be "Robert" :: "Andrew" :: []
not far of
 
@Morwenn wallah radim jv te hagar stu prends trop la confiance
(wesh skill > 9000)
 
@Rerito J'avoue ma lamentable défaite. Vous êtes un maître en matière de wesh.
 
user1804599
@GregorMcGregor let nil = [].
 
@Morwenn L'astuce c'est de connaitre qques mots clés en arabe
 
9:37 AM
RACISTE
 
user1804599
parle English s'il vous plaît
 
@Rerito I don't think I know more than just a few.
 
user1804599
 
user1804599
So simple.
 
user1804599
9:50 AM
Oh cool the DMD frontend has been rewritten in D.
 
Ell
Lots o work to do tomorrow
 
@GregorMcGregor youtube.com/watch?v=CbwIbHe5IGM unbox
 
10:06 AM
lol
 
(The best part: "enculé de ta race", I'm never tired of this line)
 
ugliest cutie <3 <3 <3
so quiet at this hour ...
 
I'm shitfaced, so there's that
 
Ell
Its ten in the morning you drunk ;)
 
Ven
@Elyse not rewritten. "transpiled"
 
10:21 AM
@Ell From yesterday
 
Ell
Yeah I was drunk earlier too :P
 
Wine rum and beer
That's my trinity hehehe
 
Ell
I had southern comfort n lemonade
 
user1804599
 
Ven
@Elyse :)
I don't remember the part where Go invented transpiling..;)
 
10:23 AM
@Rerito Wine-induced hangovers are the worst.
 
user1804599
@Ven got rid of S-expressions.
 
user1804599
Now you just end things with periods:
 
user1804599
data List a.
  Nil : List a.
  Cons : a -> List a -> List a.
end.
 
Ven
... You told me yesterday on IRC. Twice.
 
user1804599
Oh. :v
 
user1804599
10:25 AM
I'm forgetful.
 
Ven
that's okay. means you like this project
 
user1804599
Gonna write parser tonight.
 
user1804599
10:27 AM
Already implemented AST constructors.
 
Ell
what linguo?
 
@Ven transpiled isn't a thing
 
Ven
heh, if my function "foo" returns a unique_ptr<T>, why does unique_ptr<T> val = foo(); try to invoke T's copy ctor? shouldn't I just be the owner? (explicitly calling move on that changes nothing, obviously)
 
it just doesn't exist
it's a word for retards who don't understand compilation (javascript "devs" most of the time)
 
Ven
@GregorMcGregor sssh. "compiled". here, it's okay.
 
user1804599
10:29 AM
@Ven SSCCE.
 
Ven
Don't worry @GregorMcGregorm you're definitely fighting the good fight. The world needs people like you who'll fight for every word they deem misunderstood. Thanks
 
@Ven Check for constnesses.
 
I won't fight against retards they are too expert in their own field
 
Too many consts is the #1 case of copies instead of moves.
 
I'm just trying to help you out of your pit of misery
 
Ell
10:31 AM
@GregorMcGregor why not?
Doesn't it usually mean compiled to language which is not usually compiled to? :P
 
What is "not usually compiled to"?
 
Ell
VB.net for instance
 
@Ell ...that doesn't mean anything
 
Ven
@Ell nah, people argue it's just compilation anyway. which is correct, but who the fuck cares in this context. I used it for the "people expect this meaning" side
 
const: not fun since 2011.
 
10:33 AM
You can flag anyone who uses the word "transpiler" as a complete ignorant of compilation and hence a dynamic language user
it's really easy
works everytime
exhibit A
 
Ell
idk, I think transpiler just gives a little more context than compiler
 
anyone else had problem loading the SE chat pages in the past 2-3 hours?
 
@Ell it gives context about the person speaking, not the process
 
std::not_fun was almost a thing.
 
Ell
@GregorMcGregor I suppose so
 
Ven
10:36 AM
@Morwenn almost
@Elyse it's definitely me not understand map. if I don't try to insert it in the map, it works. coliru.stacked-crooked.com/a/6efab86c564d98ab
 
fucking pedants ^^
 
user1804599
 
Ven
shit, I've been using insert all that time?
@Elyse yep... thanks >.>
 
user1804599
function is_exported(module, name)
    return string.match(name, "^%u") and module.members[name] ~= nil
end
 
user1804599
:D
 
Ven
10:39 AM
ugh explicit return :[
 
user1804599
%u matches uppercase characters.
 
What kind of matching language is that :S?
 
Oh ew ew ew
 
user1804599
It works very well.
 
user1804599
10:41 AM
I'm so happy.
 
Ven
"you thought it couldn't be worse than PCRE... but they did it!"
 
user1804599
@Ven I'm only gonna store types of var expressions in typed ASTs.
 
I dont understand this v
 
user1804599
Types of other expressions can be trivially decided.
 
Ell
I don't either
 
user1804599
10:43 AM
A submarine sandwich, also known as a sub, wedge, hoagie, hero, grinder, baguette, or one of the many regional naming variations, is a type of sandwich that consists of a long roll of bread split widthwise into two pieces, and filled with a variety of meats, cheeses, vegetables, seasonings, and sauces. The sandwich has no standardized name, and many U.S. regions have their own names for it; one study found 13 different names for the sandwich in the United States. The usage of the several terms varies regionally but not in any pattern, as they have been used variously by the people and enterprises...
 
user1804599
☞ Subway
 
FYI, links 1,3 and 4 don't seem to work (404). — Ralf 11 mins ago
 
yeah
 
@Ralf Dagnabbit! livecoding.tv seems to have eaten the bits. Thanks for the heads up. Good thing the code is still there, just sad that a bit of the commentary/discussion has been lost :( — sehe 15 secs ago
Thanks, Obama!
 
Obama Oriented Programming
 
Ell
10:44 AM
that's a boat though
 
user1804599
So f x 5 becomes (f : int -> int -> int) (x : int) 5, not ((f : int -> int -> int) (x : int) (5 : int)) : int.
 
@Mr.kbok tbh @Lalaland didn't either
it's neither a 360 deg video nor something showing the titanic wreck
 
Me neither
@DavidSchwartz They can just point to the OpenSSL docs (iff they use OpenSSL backend on all platforms, to start with). And they could document any additional considerations (like: stateful callback objects). There is choice. Right now, I can look at OpenSSL docs all I want, but there's no reason for me to safely extrapolate to Boost ASIO (except gut feeling and intuition) — sehe 1 min ago
@DavidSchwartz That's the state of affairs. Of course that's the only way to arrive at an answer today. If you have vetted all of this wrapper with the implications (like the callbacks I mentioned), you should write an answer, instead of telling me I should have done this. — sehe 7 secs ago
Fuck it.
I'm off. Getting the kids. Maybe they'll laugh
 
user1804599
uh funny
 
user1804599
data FiniteList a = Nil | Cons a !(FiniteList a)
data InfiniteList a = Cons a (InfiniteList a)
 
10:57 AM
Yay, two days without alcohol in a row.
 
Why not in a glass ._.
 
Ven
@Morwenn pretty sad :(
 
@Ven That I can keep track of them? Yeah, probably.
 
Ven
I'm out drinking both tomorrow and friday. it seems so far away :(
 
user1804599
I've been doing two years without alcohol.
 
11:00 AM
@Elyse That is impressive.
 
Ven
well, to each their own or something. I need alcohol in my life. or something else I haven't found yet.
 
user1804599
cum
 
oh come on
 
I don't think I need it. I've just grown too accustomed to it and ended up drinking everyday, even when I'm alone :( So... it's probably time to step back a bit.
 
why was that even flagged :/
 
11:02 AM
what was flagged?
 
Ven
@Morwenn ah, probably, yes. it gets a bit worrying when you start drinking alone just because you're accustomed :|
 
1 min ago, by Elyse
cum
 
Ven
@Elyse nope, p sure that's not it. but thanks for volun-Turing
 
@Ven Yes. I will at least try to get back to the stage when I only drink when I'm not alone.
 
@AndyProwl ah, classic rightfold
 
11:03 AM
yeah, also classic flagger
 
On the other hand, I'm hungover less often since I often have to drive.
 
user1804599
type family Typ a b :: Constraint
type instance Typ Int  b = Show b
type instance Typ Bool b = Num b

func :: Typ a b => a -> b -> b
func = ...
 
user1804599
so cooool
 
Ven
@Morwenn well, if you come near paris, I'd love to hear about crazy c++ stories for sure :P
 
11:05 AM
@Ven Haha, I tend to avoid Paris :D
 
Ven
I can get behind that.. having been in paris for so long ;)
 
user1804599
Morvenn
 
user1804599
hookup!
 
@Ven Well, I sometimes want to get that feeling that I'm in what seems to be an infinite city, but for sure I don't want to live there.
@Elyse With?
 
user1804599
You and Ven in Paris.
 
11:06 AM
Oh xD
 
I'd sleep with @Rerito any day
2
 
even for free
 
Ven
@Morwenn well, idk about living it inside, but the suburb is. okay-ish? I guess.
 
Lounge<Promiscuity>
 
11:07 AM
Wesh Ven t francé?
 
@Ven Too big for my everyday life anyway.
4
 
@GregorMcGregor but you have to grow the potatoes instead, yeah?
 
What have I done ._______.
 
Ven
@Morwenn ...that wasn't very smart of oyu.
 
@Morwenn Cock to the top
 
Ven
11:09 AM
mmh, is there a compiler attribute I can add to a function to say "this is always gonna throw, if you see it used, don't worry about missing returns there"? something like [[noreturn]]?
 
@GregorMcGregor They all would y'know bby
 
I suspect that I have just been bullied, suppressed, even violated again today.
 
@Ven [[noreturn]] does the job.
 
user1804599
@Ven [[noreturn]] void fail() { throw "bukkake"; }.
 
std::rethrow_exception uses [[noreturn]] so I guess that it works for always-throwing functions.
 
user1804599
11:13 AM
Always-throwing functions never return, so [[noreturn]] is appropriate.
 
Ven
(@Elyse, @Morwenn)>>.++
 
wish there was an instrumental version of this :< youtube.com/watch?v=RRul5Q-3jUA
without the dumb rapping
 
@Elyse Ven? The diagram guy?
 
Good morning.
 
Ven eye for the diagram guy
 
11:25 AM
@Elyse That's a nice one.
Ellex M. is still the best IMO.
 
lol ellex m
 
Or more recently, Ellim Garak.
 
I can't think of anything with alex first in ellex :<
 
Alell.
 
allele lol
 
11:28 AM
Lol
 
Ven
@fredoverflow please don't make her send me MORE Venn diagrams
she sends me daily already :(
 
braaag about it
 
@chmod666telkitty Isn't that a tad paranoid?
 
Ven
@Nooble make a Venn diagram containing people who brag about Venn diagrams
 
@Ven Sounds like a job for @Lalaland
 
11:40 AM
git checkout -b white-master - that could be a good joke
 
hi @Nooble! How are you today?
 
@Rerito It could be. Sometimes I think I am paranoid too. But consider I had my website, iCloud, & a popular forum hacked because of me, and knowing the number of people on the internet who love to violate me. I would not surprised that it wasn't my hallucination.
took the whole 5 minutes before it timed out :/ ... yes it's just SE and not any other sites. And yes, it loaded fine when I was using tor. I only had problem loading when I used a no tor browse on this site.
BTW, everything is fine now.
 
Great.
Apple's version of git runs xcodebuild every single fucking time for some goddamn reason.
So everything is fucking slow as molasses.
Fuck Apple.
Why do they even make their own version.
 
user1804599
Oh, Coq can extract JSON.
 
Just go fuck yourselves.
 
11:50 AM
@R.MartinhoFernandes fap fap fap
 
user1804599
??? :'(
 
@R.MartinhoFernandes so they can add "i" as prefix
 

« first day (1845 days earlier)      last day (3118 days later) »