« first day (1635 days earlier)      last day (3539 days later) » 

18:01
Get a bigger monitor and set your wallpaper to be more colorful.
get high with LSD
you'll have all the colors for free
Get a dakimakura
user1804599
no :(
Most of them are colorful though :]
yep. It's been a long time since I had 1,2 and 4-bit color modes (Hercules, CGA, EGA)
18:07
Hercules <3 (I'm not old enough to remember it, but it seemed very nice for its time)
user1804599
> carpetright
> Like the IBM Monochrome Display Adapter it improved on, the Hercules Graphics Card had both a parallel printer port and a video output port
user1804599
Sounds about right.
> parallel printer port
That sounds like SRP violation.
user1804599
> €999
user1804599
18:09
too expensive :v
Hercules was as terrible as every GPU from that era
user1804599
Maybe I will buy this carpet: ikea.com/nl/nl/catalog/products/70251740
user1804599
But I'm not sure.
user1804599
I doubt its quality.
> (€ 33.02 excl. btw)
It's excluded by the way
user1804599
18:11
Btw is Dutch for VAT.
I've added state debug butan to jabbasnake and changed pill gen so it takes obstacles into account, should fix the disappearing bug @AndyProwl @Jefffrey
@CatPlusPlus whooo I can get past 150...
Only if you're good enough :smugsnake:
200 [rip] :smuggestsnake:
user1804599
18:15
DNS doesn't exist.
200 on hard size, much harder.
> Many electrical engineers would agree that, had it not been for the evaluation of suffix trees, the analysis of symmetric encryption might never have occurred.
that is how you start a great paper
Don't think preset values are in any shape or form balanced
@CatPlusPlus Not as bad as CGA--at least its resolution was a lot closer to adequate, at least for text-mode usage.
Why did we change the rule about not accepting students as flatmates? :(
18:19
@MarcoA. The bit about Sir Isaac Newton's work on symmetric multiprocessing was pretty good too.
Stupid day is trying all it can to piss me off.
@R.MartinhoFernandes Because you were hoping for a hot college chick to move in. Instead, you got a loud obnoxious punk.
woah... auto foo = function_that_returns_ref_to_T() appears to remove the 'refference' nature of foo, so foo is of type 'T' not 'T&'... is this 'normal'?
Ask yourself what language you're using
@thecoshman Yes. The rules are the same as template deduction.
Do auto& x = the_function(); if that's the case.
18:23
oh yeah, that works... and makes sense I now that I think about it
if (point === null) // jabbascript: TypeError: point is null thanks jabbascript
user1804599
holy shit
user1804599
> fresh onion
> $100 / ton
> min. order quantity: 12 tons
user1804599
MUST BUY
so do any of you have a fiddle with a styled google map?
t broken
18:30
Styled how
what happens is I reassign a string like
std::string name;
name = "foo";
name = "bar";
do I get a leak?
@CatPlusPlus any style, I feel lazy and am fishing for something to start from
of course.
not. It's the whole point of std library strings
user1804599
Is Ginger Ale good?
user1804599
I have no idea what ginger tastes like.
18:31
Gonna try to make a really light style as background for my contact page
user1804599
@Agostino This is C++, not C.
@sehe any way I can get a leak reassigning that?
user1804599
In C++ you don't get leaks.
@райтфолд ginger ale tastes nothing like ginger.
@Agostino ...
Do you want a leak?
Just write name = *new std::string("leakme"); // THAT will leak.
18:32
btw, since there were people here interested in the new deus ex
Don't use new. You will leak.
try EYE, deus ex's indie more complex and weirder brother
@sehe still safe if I use the copy initializer from a C string?
full name eye divine cybermancy
18:33
@AlexM. I'll try when it gets a discount on Steam.
@Agostino Is it still safe to be in the lounge if you repeat the same question three times without reading any of the answers?
Hell no
user1804599
Again, memory leaks are for C programmers.
user1804599
This is C++.
@milleniumbug dude it's 10 eur
that's like, a pizza and coke
I mean sure 5 eur is less than 10
@sehe ahem, sorry
just making sure
const char *other_name1 = "name1";
const char *other_name2 = "name2";
name = other_name1;
name = other_name2;
safe?
user1804599
18:35
Of course.
Fuck me...
user1804599
String literals have static storage duration.
DO NOT MAKE SURE. NOT IN OUR LOUNGE. bye
user1804599
Please read the language specification.
18:35
will have a look at it
@Agostino What I say three times is true. THERE IS NO LEAK.
@CatPlusPlus That's good news, thank you
@Agostino Seriously, you will have to learn to reason about these things. Because you're absolutely dead in the water if you can't answer this question. I'm willing to help you with answering it. In the spirit of "teach a man to fish".
But answering repeated inane (yes, dumb questions exist) for you instead doesn't help
Teach a man to fish and he will catch all your fish
10
That depends on who you taught and how
18:37
I don't really mean it
@AndyProwl Teach a man to fish and he will smell really bad.
it was just like... well nevermind
@MartinJames asking strangers on the net to "fuck you" is not recommended praxis.
user1804599
@AndyProwl That's my motto.
@MartinJames lol
user1804599
18:38
Screw those fuckers that want to take my job!
user1804599
Always keep them less competent than me!
3 hours ago, by Etienne de Martel
I came as fast as I could.
Give man a fire and he'll be warm for a day, set a man on fire and he'll be warm for the rest of his life
@FilipRoséen-refp Since virtual screwing is STD-safe, I suspect I'll be OK:) I couldn't take any more 'string leak' questions.
18:39
Except you'll probably end maintaining these fuckers' code instead.
@AndyProwl "Teach a man to fly a plane and he will wreck your twin towers" - also doesn't work if you only have single towers. Or fawlty towers
..or flowery twats
9/11 is the Godwin of terrorism religion debating
@MartinJames Is there any other kind? (inb4 deflowered twats)
@sehe Maybe
user3010322
... Wait a second.
18:41
Done
user3010322
public Vector2 getPosition() { return position; }
I'll wait two
@Jefffrey Hmm? What as-if rule are you going to invoke here?
user3010322
In Java, because that returns a reference, and there's no idea of const, I can't... stop the user from modifying my position through that reference?
@MartinJames if you wanna spend time reading stupid questions (and equally stupid answers) you should head over to ##c++ @ freenode.
user1804599
18:42
@sehe C++11 allows garbage collection.
@sehe You could still call delete on it no? You just have to use & to take the address. Or is that UB?
user3010322
That's...
user3010322
....
user3010322
Ugh.
6
A: Different behavior between libstdc++ and libc++ when constructing std::function with lambda

Filip Roséen - refpI'm surprised that there's any doubt regarding what implementation that is doing it right, and which is doing it wrong; the snippet should of course compile. libc++ has the wrong behavior, and below is a link to the relevant bug report. Bug 17798 - Regression: std::function cannot be assigned a...

18:42
@райтфолд But not on any raw dynamically allocated raw pointer, IIRC?
If you want immutable vectors then make them immutable
^ that just got downvoted, what the fuck?
user1804599
@sehe It does.
How should we know it's snack overflow
user1804599
There's even standard functions to manipulate the GC.
user1804599
18:43
It's just that nobody ever has implemented any of them.
@sehe Or he may just crash against a mountain for fun
@FilipRoséen-refp You must have some enemies
@AndyProwl and attention
@Jefffrey I blame racism.
18:44
@sehe Why? I did use the reply arrow
user3010322
@CatPlusPlus That's not really helpful. :(
jabbachat
Dear lord
jabbasnake at speed "cpu benchmark" crashes chrome
18:46
lol
Good
lol, it didn't crash mine
Let it burn
user1804599
But you should only need to call std::declare_reachable if you cast an manipulate pointers in silly ways and the current pointer safety is strict.
And cell size "your mom"
@AlexM. Except I'm a cheapskate
18:46
and grid size "hard"
@райтфолд Like in XOR linked lists
user1804599
:D
chrome is not a real browser
@Jefffrey are you still planning to write your snake game?
@CatPlusPlus Is it unreal?
user1804599
18:48
@Jefffrey so is my PENIS
@AndyProwl Yeah, just like I were in the past 2 years
user1804599
That reminds me.
user1804599
I should implement integers and arithmetic.
user1804599
And wrap bool.
user1804599
18:50
And I found a use-case for std::is_class.
Wrap a boot
user1804599
Although std::is_primitive would be terrific.
user1804599
Ah, std::is_fundamental. Nice.
You are fundamental to me.
<3
user1804599
static_assert(!std::is_fundamental<T>()); No message! #c++1z
18:55
@sehe absolutely true, just a random doubt. I'm having a problem elsewhere. I know that std stuff gets cleaned up when it "goes out of scope" (e.g. variable in a function). I don't know if "value lost by reassignation" is the same as "going out of scope". Probably not, since "scope" is for variables. I can't recall the right term for "unreferenced value".
rvalues?
rvalue is any value
Any value without a name. More or less.
I mean, a value that was "held" by a variable, but is not anymore.
In Java, it would be "garbage collection candidate"
Can you make an example?
18:57
The one about I got shouted at before
In C, "unreferenced value" sometimes is "leaked memory".
std::name = "name1";
name = "name2";
what is "name1"?
@Agostino read up on RAII
@Mgetz Resource Acquisition etc.
thanks
I'm trying to find a term
We will observe CloudFlare-proxied traffic to *.stackexchange.com over the next 18 hours before enabling #stackoverflow traffic tomorrow.
@Agostino Nothing. Some const char* that points to a zone of memory that is read only and used for static initialization of string literals. And it's there wether you change that string to something or you don't.
@Agostino Temporaries are c++ objects too. They get destructed right after the "full expression" that contains them ends (only 1 exception where life time gets extended, but destructors still run. Yes, also when exceptions happen during the evaluation of the expression).

« first day (1635 days earlier)      last day (3539 days later) »