« first day (1689 days earlier)      last day (3485 days later) » 

00:34
@nabijaczleweli If only this were true. Unfortunately, rather the opposite is actually the case in my experience. On tiny benchmarks, Java does pretty well, because it uses only a tiny bit of code, all of which gets compiled and executes as machine code. On a large program (the bigger it is, the worse it gets) the cache of compiled code fills, and pieces of code end up being discarded from the cache, so more code is interpreted, and code is re-compiled repeatedly.
Worse then that. The GC in Java can break. For example, file handles might prevent large images from being collected, then we wonder why memory usage keeps going up.
@milleniumbug Is it constexpr
@Rapptz Thank god Steve Klabnik for Rust!
Steve Klabnik is god.
Join the Church of Klabnik, get a free Quran written in Rust!
Ell
Ell
00:47
I am afraid
@Ell Fear not, for with Rust your lifetime is determined at compile time!
3
Ell
Ell
Will you determine my life time please?
rustc ell
@Rapptz Sadly, no
01:30
@buttifulbuttefly If you want to join a church, send me a virgin (or money--I never turn that down).
Jerry your requests for virgins have intensified in the past weeks, is this due to inflation?
or increasing in the supply - you know increased supply must be met with increased demand to prevent deflation
01:49
Good morning, Loungers!
Today is the happy first day of June. :)
My birthday!
Happy world children day ...
Children's Day is recognized on various days in many places around the world, to honor children globally. It was first proclaimed by the World Conference for the Well-being of Children in 1925 and then established universally in 1954 to protect an "appropriate" day. International Day for Protection of Children, is observed in many countries as Children's Day on June 1 since 1950, was established by the Women's International Democratic Federation on its congress in Moscow (22 November 1949). Major global variants include a Universal Children's Day on November 20, by United Nations recommendation...
too bad we don't have many children here
Yeah, where else are we gonna find virgins?
02:10
@chmod711telkitty Or too many :P
Online bible/quran, they are written in PHP?
> Universal Children's Day takes place annually on November 20.[3] First proclaimed by the United Nations General Assembly in 1954, it was established to encourage all countries to institute a day, firstly to promote mutual exchange and understanding among children and secondly to initiate action to benefit and promote the welfare of the world's children.
I hate OpenGL
@Rapptz Date 1 June ; 20 November
children's days ...
@buttifulbuttefly Happy birthday : ) : )
02:17
@buttifulbuttefly have fun celebrating the day with all the children around you :p
Always worrying when @easyJet are duct taping the plane together :-s #finaldestination http://t.co/daYKgR9ssp
lol
People are so eager to take everything out of context
It's much easier to understand than, say, actually be informed about something
02:49
lol at all the people getting so indignant
pay a little more and you can fly with a fancier airline, it's not that hard
03:02
@DeanSeo Thank you!
@buttifulbuttefly Happy buttifulday
Grazie mille
03:21
Why can't auto appear on top-level arrays? Like auto vals[4] = {ui.qsbOne->value(),ui.qsbTwo->value()};?
Because it gets deduced to an initializer list
hmm, but then it should be okay to do auto foo ={value(),value()};?
Yes, that's okay.
and foo is std::initializer_list<decltype(value())>
@buttifulbuttefly Happy birthday!
Sailing towards quarter-life crisis with gleeful joy!
03:31
I'll be sailing towards eighth-life crysis near the end of July.
Or sixth-life.
Dunno, math is hard.
Scrying is harder
@Mikhail You should make a make_array utility or something
auto vals = make_array(...)
std::array ofc.
03:47
Doesn't say if it's a terrestrial year
Light years are implied?
ugh tab indented
 
1 hour later…
05:06
Last-minute course change: Let's see if we can hit Steve's house.
4
Guys,
why does my std::vector object get destructed when returning std::move(vec) `before it reaches the caller function`?

I know I shouldn't use std::move for std::vector like 'return std::move(vec)' but I just accidently did it.
Is this because of the RVO?
(ㅡ__ㅡ?)a
@DeanSeo What's the return type of the function?
@MarkGarcia Terribly (for my code), std::vector<T>&&.
std::vector<int>&& Bar()
{
std::vector<int> vec { 1, 2, 3 };
return std::move(vec); // The caller will get the destructed vec.
}
user562566
Don't return with ::move at all
@TechnikEmpire I know I shouldn't. But when is the vec exactly destructed?
05:37
You shouldn't do that in the first place. Local objects in a function always gets destroyed, even when you return a reference to it.
@DeanSeo afaik, you are returning a reference to a local variable
remove the && in the return type
@DeanSeo Always at the end of scope (in your case, the function's).
user562566
yes
@StackedCrooked And std::move.
user562566
return by value and don't explicitly use ::move in your returns, let the compiler sort that out
05:38
@MarkGarcia that too
the std::move only makes the code slower here
user562566
84
A: Is returning by rvalue reference more efficient?

Johannes Schaub - litbBeta_ab&& Beta::toAB() const { return move(Beta_ab(1, 1)); } This returns a dangling reference, just like with the lvalue reference case. After the function returns, the temporary object will get destructed. You should return Beta_ab by value, like the following Beta_ab Beta::toAB() con...

So is that NOT relevant to RVO?
I expected the compiler to catch the std::move(vec) before it calls the destructor.
(ㅡ__ㅡ)a
(ㅠ__ㅠ)
@DeanSeo move constructor is never invoked when returning a reference
@StackedCrooked I am writing that down on my post it.
Because the return value is already an r-value when not a reference.
VERY GOOD
05:57
To a C programmer strong typing means pressing the keys harder. — Dan Dyer Jan 10 '09 at 0:28
4
The compiler is a typist scum.
user562566
just got a m$ notification giving me a free copy of windows 10
> m$
unleash the kraken
user562566
lol
user562566
nice, I entered my email in but it did nothing
user562566
06:01
I smell spyware
@TechnikEmpire Those insider stuff?
The notification appears directly on your taskbar you know
user562566
@buttifulbuttefly yeah I know. It seems broken though. It gives me a link to read about it on microsoft.com, but it's broken
@TechnikEmpire rip
user562566
@MarkGarcia lol
user562566
06:04
oh nvm, you don't get the email till it's actually out
user562566
I'm excited, I can't wait for cortana to snoop through all my shit and upload it to ms servers
@TechnikEmpire Maybe Cortana might do something special for you, knowing your stuff. ;)
I actually have Windows 10 preview installed on this laptop. Pretty neat stuff, except for the various minor glitches.
user562566
yeah I installed it on my brothers machine to test it out, seems decent. the icons are disgusting though but I assume (hope) they're not final
I think the newest build's (redesigned) icons are pretty.
user562566
06:11
oh, haven't seen them, this was a while ago
Is this a place for noobish questions?
I just have it updated. Too lazy to get back to Win 8.
@Jackalope read the rules!
@Jackalope That is a noobish question. :P
user562566
06:12
@buttifulbuttefly that was evil
user562566
@StackedCrooked I'm too old to be watching videos of children that aren't mine, alone in the dark at 2 am. It's just not right.
It's legal, albeit borderline.
user562566
lol
user562566
I'm almost 1 billion seconds old
06:21
hello there
Hi from here.
how is the beginning of a new week?
It usually starts with Monday.
I started with hangover
Any one who are expert in MFC Html Dialog?
06:35
I'm an expert in HTML, but not MFC and Dialog. What can I help you with?
I am using MFC Html Dialog.
I remove title bar from windows form.
Now how can i move windows form?
With html?
create some button or something to movie windows form is this possible?
here, I googled your error for you. — khajvah 16 secs ago
Oh man.
This episode of Arslan Senki was so hype :(
I won't be able to experience that 2v1 against silver mask for a long time I fear
06:50
@TechnikEmpire lol
> I can’t tell you what it’s like to use Vim for the first time. Well, hm, I suppose I can, since I still remember — it’s pretty much like my experience with Emacs, except with Vim you have to learn “press i to type words” first. After that, they’re pretty much the same: ancient relics of immeasurable power that you must learn one agonizing keystroke at a time. eev.ee/blog/2015/05/31/text-editor-rundown
New post
@buttifulbuttefly And good night :)
Sir, Mark Garcia any idea?
@StackedCrooked Music video about teen angst?
more or less
user562566
@MuhammadRaza this isn't a helpdesk and you're sure to invite a universal negative response by randomly showing up and poking everyone to answer your questions
06:52
ok sorry.
@StackedCrooked: "...I wish I could be like the cool kids..." -- Sung by a chick who has probably never been considered un-cool.
user562566
@MuhammadRaza np, use the main site to post your questions. That's where we go when we actually want to answer questions.
@wilx a fail-proof recipe
@sehe You too :)
07:03
@wilx old times
Hi guyz
@wilx I can't agree. A hot chick singing about how she wishes she was cool is funny as hell. People bragging about how cool they are is just pathetic (whether they are or not).
The Guild crew is cool though.
And Felicia was kinda hot back in the day before she commercialized shit out of her fanbase in such a ridiculous style
@BartekBanachewicz She does provide some value back for those who like her stuff/production.
I mean, I do not see what she did as bad.
Besides what I see in the Echosmith's video, that's being pretentious. The Guild at that time was genuine.
@wilx It was just gradual degeneration for me. Dr Horrible's Sing-Along Blog was still good, but then it was just... I dunno. When The Guild ended it became a tad apparent that what she wishes to do with herself diverges a bit.
@JerryCoffin also uh she's barely 18
@Ell Parsec, as a monadic parser, is able to work statefully on the processed data for example. In general, it means that for a parser/parser gen the code runs as a monad.
07:15
ITT Bartek monadvertising
@BartekBanachewicz It'd be better if they weren't. People who are genuinely and honestly dwelling on how they got picked on in eighth grade really need to get lives.
I meant genuine, not literal. :S
Why does Qt moc me?
lol
I am going to watch this just to see if he does or not. :D
that's the AoA guildmaster!
you're making me watch The Guild again
07:23
@BartekBanachewicz Why is that a problem? I can have legal sex with 15 years old chicks here. :)
Hi there.
I'm full of phlegm. Just saying
user1804599
Hello, world!
07:25
@R.MartinhoFernandes Keep your snots to yourself! :)
Ash
Ash
C:\whatsapp-purple-master\imgutil.c:2:23: fatal error: FreeImage.h: No such file or directory
what library should I add to my project ?
Ash
Ash
I am using windows xp 32 bit
@Ash wat?
07:27
I am using windows debian 47.2 bits, rare edition.
Ash
Ash
:)
NOOB, mine is 48 bits
@Ash Depends heavily on what you want to do. Personally, I like LibRaw, but it is fairly specialized.
user1804599
@Ash Boost.
user1804599
07:28
And the C++ standard library.
user1804599
They're very useful.
@buttifulbuttefly Mine is 80.0000000 bits but only operates on floats
user562566
@Ash del /F /Q .
and please, don't use windows xp
user1804599
Also jQuery.
user562566
07:29
yeah and bootstrap
user562566
and notepad
Ash
Ash
actually I don't know much of c++ or any other programming language
We could tell!
Ash
Ash
I was trying to compile libwhatsapp.dll
user1804599
4270
Q: The Definitive C++ Book Guide and List

grepsedawkThis question attempts to collect the few pearls among the dozens of bad C++ books that are published every year. Unlike many other programming languages, which are often picked up on the go from tutorials found on the Internet, few are able to quickly pick up C++ without studying a well-written...

Ash
Ash
07:30
@rightfold thnx
user1804599
@fredoverflow In Go you just have one interface error which everybody uses for all errors.
learn rust. c++ sucks
just twhat the fuck
> Gamer
user1804599
You then typically write predicates like func IsEOF(error) bool that can be used to find out what kind of error it is.
07:33
@BartekBanachewicz just twat the fuck
user1804599
@BartekBanachewicz "douchebag"
> Tab user
@StackedCrooked Dat accent tho
@BartekBanachewicz There are people who create fb accounts just to play candy crush and the likes (using aliases), which is not abiding by fb rules
user1804599
user image
4
@BartekBanachewicz is this a race track?
@khajvah Nordschleife
lol someone created a Facebook event for the opening of the Berlin-Brandenburg airport with the date set for 20 June 2029.
Ash
Ash
07:42
I was trying to compile https://github.com/davidgfnet/whatsapp-purple to get a dll file.
code blocks is saying : C:\whatsapp-purple-master\imgutil.c:2:23: fatal error: FreeImage.h: No such file or directory
before I had to add glib-2.0 and libpurple to the project and links were available to them from git hub issues forum.
So I added to project via pkg-config.
can I do the same for FreeImage ?
I have a header file that I found googling ,FreeImage.h.is it enough to place this header files to some libraries thats already present.
lol codeblocks
@rightfold Not allowed to browse Mature Humor category
@Ash ask on SO we already ignored you once here
Ash
Ash
@BartekBanachewicz ok
user1804599
07:46
@wilx Go work somewhere else, problem solved.
@rightfold :( If it was that easy.
? Any specific reason for the flag?
user1804599
Firewalls are for savages (as is Savage Chickens).
Or just trolls?
> The left side of his face swollen beyond recognition, Bugorski was taken to a clinic in Moscow so that doctors could observe his death over the following two to three weeks. on the left were gone in two years, paralyzing that side of his face. (...) Still, not only did Bugorski not die, but he remained a normally functioning human being, capable even of continuing in science.
Uh how they assumed he'd die :/
07:53
Because of the amount of radiation he received?
well, it was a very narrow beam
...and the hits just keep on coming:
-1
Q: How to use case-solutions

Tomek ZsoWelcome! Can anyone give me combine these three programs in order to be able to pick their own between them using the case. Please write code in the comments. Here are the 3 programs: #include <stdio.h> #include <stdlib.h> short PESEL[12]; int valid = 0; int getBirthYear() { int year; ...

> switch( liczba )
fucking Poles again
lol someone keeps flagging the comments /cc @Columbo
user1804599
08:06
bartek are you a north pole or a south pole?
Actually nvm @rightfold is a tryharder
user1804599
I like how they ship tools to fix the code.
user1804599
Go also does this.
user1804599
It makes it easier to improve the language by breaking stuff and shipping a tool that automatically fixes the code for the new version.
08:18
why am I reading /r/programming, help. this thread is a graveyard @Rapptz
$ javac -classpath sendgrid-2.2.1-jar.jar:. SendGridExample.java && java -classpath sendgrid-2.2.1-jar.jar:. SendGridExample
Someone took inspiration from Lucas Films
Xeo
Xeo
aaah, finally 16gb ram at work
You mean, you're finally using it?
> It's C++. There are probably a dozen edge cases that you won't know about until you get bitten.
:D
user1804599
@sehe y u no class path environment variable.
fuck environment verbibols
08:23
It's not my code
> It's a necessary consequence of OOP demoting functions to second class citizens.
user1804599
Also Maven.
What a huge amount of bs there
user1804599
Objects are tuples of functions.
@rightfold pfft. Premature assumptions suck. You should feel suck
user1804599
08:24
OOP is all about functions!
user1804599
Never not use Maven.
so who exactly thought a timeout of 1 minute for tcp connect was a good idea
Nobody. Next.
> I only put definitions in header files in all my projects and I have one single main.cpp.
I find it's vastly superior in almost every regard. For one it simplifies builds and dependencies. You write a header file and include it and voila, it works plain and simple
wut
I do the same
> Compile times do end up requiring a crap load more RAM
but I've found they are orders of magnitude faster in most cases. Like we're talking faster by entire multiples.
Sloppy thinking at it's best
08:27
It's not that bad frankly
I'm tired of constantly editing .cpp and .hpp
@buttifulbuttefly the reasoning is completely bogus, though
Use advanced_file_switch.py to make the switch easy.
@buttifulbuttefly Me too. I have everything in headers routinely. And only start creating a "header interface" if I decide to make the interface public/documented etc.
08:29
VS has Ctrl-K Ctrl-O to switch between .hpp and .cpp. It works one time out of twenty, even when both files are open side by side.
@Rapptz the switching wasn't the problem
I hit F9 which does :A. Job done
I've been trying to find ways of making it easier.
Using Rust is a nice first step
but it's hard
4
@sehe No it's not!
08:31
?
oh that's starred
I have a video on top blocking the stars
> static bool IsIncludedInRemoveMissingViaHeaderOtherBypassFieldTrial();
- chromium is the best
user1804599
@buttifulbuttefly write a tool that generates header files.
@Rapptz I don't mind too much. It's pretty easy already. I just don't sweat splitting interface/implementation all the time (it's hardly relevant with templates anyways).
@rightfold Ah! The good old IDE anti-pattern
@rightfold Actually I think that's a saner approach
user1804599
08:33
@sehe IDE vomit is necessary in languages that require lots of boilerplate, such as C++ and Java.
Write everything in a single file, compilation generates interface
It /is/ saner of course.
@rightfold That's the point. C++ doesn't require this boilerplate. It's the project organization/build configs that induce it
ah hangover shucks
Ven
Ven
Hi.
generic_generate :|
08:47
Where's that from (hi)
good morning
@sehe I generally (hah) use generic_foo rather than e.g. basic_foo. And now I’m generalising generate.
Hehehe.
Ven
Ven
@LucDanton you mean FactoryFactory
08:49
underscore vs uppercase letter
Ven
Ven
lol-underscores-vs-uppercase
@LucDanton metafy
If I have generate produce move-only ranges, what do I call a variant that produces saveable (i.e. copyable) ranges :v
user1804599
Anyone else receiving "Bonusita" spam? It's evading spam filter with very high efficacy.
Seems they might have issued DMCAs?
user562566
08:52
@rightfold its a fact
user1804599
No, it's pure sexism and imbecility.
Well, the real trick is that we’re relaxing the produced ranges, so relaxed_generate it is.
Nah. That DMCA looks legit and related to some pirated software thing
user562566
@rightfold If you listen to the sound of the earthquake at 1/4 speed reversed, the earth is saying "no jeans, must wear bed sheets, more burkas good"
user1804599
The Earth is mute.
08:55
@sehe Russia. Everything has been said.
user1804599
@sehe Then the spam filter is bugged.
user1804599
user1804599
> Min.Order Quantity: 28 Ton/Tons
user1804599
Only $300 per ton.
08:58
Not too expensive
user1804599
If you really want to troll somebody, and you have a lot of money, order 28 tons on their home address. XD
lol
Don't give anyone ideas :P
@rightfold The question is "how". Because that's too much of a coincidence :) It ran through my filter at home (which was my own fairly trained classifier based on c4m114. And it also passes through the one at fastmail.com

« first day (1689 days earlier)      last day (3485 days later) »