« first day (870 days earlier)      last day (4087 days later) » 

2:00 PM
ok well it's perfectly reasonable for a segfault to happen
 
you can't copy from one explorer window and paste in another in Ubuntu?
 
well, as in, it's a thing
 
Xeo
@DeadMG apt-cache search shit?
 
what's up with that?
 
It broke itself?
 
Xeo
2:00 PM
@DeadMG Ubuntu sucks. Also, what the fuck are you doing in an "explorer" on Linux? :)
 
Ubuntu is made for muggles...
 
@TonyTheLion what about dereferencing smart pointers? Doesn't it throw?
 
cp file1 file2
screw windows on Linux
 
@Xeo no way I'm using CLI
 
2:01 PM
also, maybe it's just /usr/lib that I can't paste anything into.
 
@DeadMG Yep.
 
Xeo
@DeadMG Likely.
 
does Ubuntu do that really annoying shit where you're not allowed to do shit with your own system?
 
man, Windows was bad enough.
 
Xeo
2:01 PM
$ sudo cp shit /usr/lib/
 
'Security'?
 
@BartekBanachewicz yes, may throw
 
@Xeo That still seems wrong.
 
Xeo
Although I usually just ln -s libs.
Well, for libc++ atleast
 
2:02 PM
Yeah don't solve Y.
 
fuck "may throw" what does it mean anyway -.-
 
@DeadMG Oh, linux infinitely better/worse for actualy doing shit without continual chown/chmod.
 
fuck you google argh
 
@R.MartinhoFernandes even more broken
 
2:03 PM
@BartekBanachewicz Gosh. I suxory.
 
@BartekBanachewicz that there is a possibility it will throw an exception
 
FSFSFGEGAD
 
@TonyTheLion Does it mean it throws on bad access or may throw on bad access?
 
Like if (rand() % 2) throw();
 
2:04 PM
@BartekBanachewicz I don't know
checking standard
 
@TonyTheLion let me quote you a classic then
 
@BartekBanachewicz Bad access is UB.
 
1 min ago, by R. Martinho Fernandes
FSFSFGEGAD
 
It may throw because of I don't really know what.
 
@R.MartinhoFernandes Congratulations or commiserations?
 
2:05 PM
Why would I want to know if something might throw? I don't get warnings for other stuff: 'May open a file', 'May call a method'
 
Out of curiosity, does boost have "always throw on bad access" pointers/wrappers?
 
@BartekBanachewicz 20.7.1.2.4
 
@MartinJames because it might get out to OS, and then it's bad
 
@BartekBanachewicz NO
That's good.
 
that's an appcrash
 
2:06 PM
typename add_lvalue_reference<T>::type operator*() const; <-- may throw
pointer operator->() const noexcept; no throw
different return types
 
@MartinJames It's importantly to write code that is exception-safe.
 
Xeo
Erm.. how the fuck do I specify a nested type for, say, a list or a dict in Python?
 
@BartekBanachewicz So what? Is it better to proceed with broken invariants?
 
Xeo
2:07 PM
@BartekBanachewicz A crash is the best you can hope for if your invariants are fucked over.
 
I feel like a broken record.
 
First code in every thread: try/catch. No problemo.
 
@MartinJames that sounds wrong
 
Xeo
If something is unfixably wrong, just die. And die fast.
 
@BartekBanachewicz ..with a logger call in the catch.
 
2:08 PM
@MartinJames That's what packaged_task does, btw.
 
@R.MartinhoFernandes get would be in scope for noexcept(noexcept(*get())) right?
Or does it need this->? I hate those situations.
 
ack
 
That's the kind of thing I 1) stay away from; 2) if I absolutely can't stay away from it, I look it up.
 
@R.MartinhoFernandes I know that area of the Standard as 'that stuff Johannes knows about that the compilers get wrong very subtly'.
 
2:10 PM
I built libelf, copied it's header to /usr/include, and libdwarf still won't build :(
 
@LucDanton hehe
 
@DeadMG lol
 
I am better off with writing my spec than learning that, I guess
 
@DeadMG Who told you doing that stuff manually would work?
9 mins ago, by Xeo
$ sudo cp shit /usr/lib/
 
2:11 PM
@R.MartinhoFernandes Nobody, but nor does there seem to be a relevant automated system.
 
Oh, right.
sudo apt-get install libelf-dev?
 
> A scene is composed from various objects grouped and displayed together. These objects share one or more properties that are equal for them for a particular drawcall.
I think I won't understand tomorrow what I wrote today :/
 
this is why I hate apt-get.
if you don't know the magic string
 
12 mins ago, by Xeo
@DeadMG apt-cache search shit?
 
doesn't return useful result
 
2:13 PM
(Plus zillions of GUI frontends with builtin search)
 
aptitude
 
man
that Ubuntu Software Center couldn't even find Chrome
 
Xeo
Graaah. I want explicit typing in Python. :|
I just want a freaking vector<set<string>>...
 
lol
 
2:14 PM
Ada is above 0 on my chart
 
Culture shock is fun.
 
@BartekBanachewicz Move your y-axis up a bit.
 
@LucDanton Are you referring to the puppy, or Xeo, or both?
 
@MartinJames you meant "right"? :)
 
2:15 PM
Last one. Also culture shock in general.
 
Ok, x-axis
 
and now I have libdwarf, the damn thing still doesn't build.
it probably requires some specific version that it declined to mention.
 
@BartekBanachewicz Python is less awesome than LUA ?
 
Guys, I cannot decide whether or not I should buy a Wii.
 
That seems wrong.
 
2:15 PM
It's not my fault if your chart has fell over!
Plus no Delphi
 
@ereOn Lua is not an acronym. And yes, it's better than python
 
Do any of you own a Wii?
 
@FredOverflow Don't. You will find it funny 2 weeks then wonder why you bought it.
 
@FredOverflow Depends. With my money? No. With your money? I don't care.
 
@ereOn What games have you played?
I like the idea of also playing SNES and Mega Drive games on it. And N64 games and a couple of weird consoles.
 
user142019
2:16 PM
@FredOverflow I own one.
 
@FredOverflow ugh, you know, you can play SNES games on PC
 
@FredOverflow I don't have one. But played for some time at a friend's. We played mario cart, super-mario galaxy and stuff like that.
 
Yeah, but it's just not the same :)
 
Funny at first, but hardly games you play everyday, or every week.
 
@ereOn Is Super Mario Galaxy like Super Mario 64? Because I liked that one a lot.
 
2:17 PM
@FredOverflow ummm? How's that different? Just hook it up to TV
 
user142019
@FredOverflow SSBB, New SMB, SM Galaxy, Mario Kart, Sonic, DKC 3.
 
user142019
And a bunch others.
 
@FredOverflow: Couldn't tell for sure : it was one where all players were on a "board" and there was different challenges depending on the cell the dices would sent you on.
 
@LucDanton Culture Shock sounds like the successor of the Bioshock series.
 
What? How does k->member(); work? I thought you couldn't do that on null pointers?
 
2:18 PM
@BartekBanachewicz I don't want to fiddle with loading ROMS and configuring stuff and whatnot ;)
 
user142019
@FredOverflow both are 3D platforms.
 
user142019
They's kind of similar.
 
@TonyTheLion Does member access data members?
 
@FredOverflow: Perhaps it's just me though : because I also bought a PS3 and a XBOX with kinnect, and both bored me.
 
user142019
Except in Galaxy you walk on and jump between planets.
 
2:18 PM
@TonyTheLion UB is UB. Also, broken link.
 
(not to mention the 60$+ for each game)
 
@ereOn Is there any console that doesn't bore you? :)
 
user142019
Wii is fun IMO.
 
Xeo
I probably just don't know how to do this The Pythonic Wayâ„¢
 
user142019
Graphics are terribru but hey, it's still fun.
 
2:19 PM
@FredOverflow: Well. The PS3 was less boring to me : I loved God of War a lot
 
Wii games are around €40 here.
 
Xeo
(But I still want optional explicit typing...)
 
user142019
Oh also Metroid Prime 3: Corruption.
 
PS3 is worth buying for Uncharted only
 
gfrrrrrrrrsafda
 
2:19 PM
I sold it because some day Sony decided that I couldn't watch my own blu-ray rip because of some Cinavia piracy protection
 
Does the Wii need active cooling? Is it noisy?
 
why does liveworkspace not allow me to share a frecking link
 
user142019
@BartekBanachewicz s/Uncharted/MGS 4/
 
user142019
@FredOverflow no and not really.
 
I like that.
 
2:20 PM
@Zoidberg s/MGS 4/Uncharted and Killzone/
 
user142019
I have an extra cooler for my Xbox 360. :P
 
2
Q: Why does calling method through null pointer "work" in C++?

bbc Possible Duplicate: Calling class method through NULL class pointer #include <iostream> using namespace std; class test { int i; public: test():i(0){ cout << "ctor called" << endl;} void show() { cout<<"show fun called"<<endl; }...

 
user142019
 
@Zoidberg How many consoles do you have? :)
 
user142019
^ This thing sounds like a jet engine.
 
user142019
2:21 PM
@FredOverflow hmm.
 
@FredOverflow eh
 
I don't even have a TV, but CRTs are dirt cheap on eBay. Like 1-5€.
 
damn UB caught me out again
 
Xeo
Ohey, I can coerce Python to do my bidding through defaultdict.
 
user142019
@FredOverflow Wii, GameCube, Xbox 360, PlayStation 3, PlayStation 2, PlayStation 2, Super Nintendo Entertainment System, GameBoy, GameBoy Advance, Nintendo DS.
 
2:22 PM
@TonyTheLion You can always ditch Joke++ and use a language with less UB.
 
@Xeo Like boo!
 
isn't he spoiled? ^
 
@Zoidberg I had an SNES once, but it was stolen. Now I don't know if I should go SNES again or Wii...
 
Xeo
@Zoidberg Psst: The last 3 aren't consoles.
 
user142019
@FredOverflow stolen lolwot
 
2:23 PM
Never had a console, ever.
 
@Xeo wtf are you doing
 
@Xeo That... what are they?
 
user142019
@Xeo handheld consoles. :v
 
@Zoidberg Student's residence where anyone could go in and out unnoticed.
 
..or a handheld, (except phone apps).
 
user142019
2:23 PM
@FredOverflow Go to le Polizei!
 
@Zoidberg no, it's nintendo crap, not a console
 
user142019
Nintendo is best.
 
A handheld video game console is a lightweight, portable electronic device with a built-in screen, game controls, speakers and replaceable and/or rechargeable batteries or battery pack. Handheld game consoles are smaller than home video game consoles and contain the console, screen, speakers, and controls in one unit, allowing people to carry them and play them at any time or place. In 1976, Mattel introduced the first handheld electronic game with the release of Auto Race. Later, several companies—including Coleco and Milton Bradley—made their own single-game, lightweight table-top or h...
 
Xeo
@Borgleader Pitting Python and Perforce together in a deathmatch. I want to see who gives up first.
 
@Zoidberg ... for 5yo
 
2:23 PM
@Zoidberg That was six or seven years ago, I don't think they would care :)
 
user142019
lol
 
@Xeo Oh nice
 
Xeo
Or not. :P
 
user142019
    goto polizei;
polizei:
    asm("hlt");
 
@Zoidberg I have been living divorced from Mario ever since.
 
2:25 PM
catch{PayFine(EwastingPoliceTime)};
 
I guess you mean ENOTIM
 
EMO TIN
 
user142019
EMO TIM
 
user142019
tim.post
 
2:26 PM
@BartekBanachewicz The Incredible Machine?
 
user142019
 
@FredOverflow yeah!
 
user142019
Relevant. :)
 
Wow, some SNES roms are expensive. For example, Super Turrican 2 costs about €200 on eBay.
 
@Xeo Let's make a Lounge<C++> Tower Defense game, and call it Kyrostat. :D
 
2:28 PM
@ThePhD And hire @Zoidberg as project manager
 
user142019
Good idea.
 
Primary ammunition will be Stars.
And upboats.
Gold stars are more powerful than black stars.
 
user142019
Enemies will be flags and PHP logos. :v
 
@ThePhD Don't reuse names like that.
 
Aww. :c
Well then, what do we call it?
 
user142019
2:30 PM
Vapourware 2: Lounge<C++>
 
haha
I called my engine Engine
because why the fuck not
 
user142019
Why the fuck not Zoidberg?
 
I am not going to call a 3d engine "Zoidberg" dude
 
Our most OP weapon will be Wasp Stingers from JerryCoffin.
 
user142019
@BartekBanachewicz oh okay.
 
user142019
2:31 PM
We'll call the game "Game" then.
 
Robot can be set up as a point-defense that does DamageOverTime to all noobs in an area.
 
@Zoidberg that's the spirit
 
user142019
@BartekBanachewicz that's the parsec
 
A puppy will shoot downvote arrows at individuals
I don't know what other towers to make, but it's a good start.
 
user142019
The tower of Zoidberg.
 
2:33 PM
@BartekBanachewicz How about Zo3Dberg?
 
user142019
Enemies die from complaints.
 
user142019
grebdioZ
 
yeah just do it in Javascript so we can play inside chat
 
Zoidtower will slow the speed of all nearby noobs by 50%.
 
void *Download(void *threadid)
{
 pthread_exit(NULL);
}
why pointers?
0
Q: thread allocating memory c

Luis Daniel Rubieraim doing a multithreading program that allows me to download information while im doing other stuff, but my problem is that each time im using the thread its allocating more memory (viewable at command top on linux), i changed everything to this and still: #include<stdio.h> #include<pth...

 
2:34 PM
Lobster-lobbing catapults
 
@TonyTheLion because fuck you, that's why. C
 
@TonyTheLion C-style callback.
 
I can't even be bothered to open it.
 
Did I mention C sucks?
 
2:35 PM
@Zoidberg reads like "great bios".
 
user142019
What is $thread? Please show your real code. — Zoidberg 11 secs ago
 
user142019
asshole1.
 
@Zoidberg It's gonna be shite - I jut know it is.
 
€187, not bad
 
user142019
How do timers work?
 
user142019
2:42 PM
Busy loops? *ugh*
 
I also saw one game for €1700 yesterday, but people said it was fake.
 
user142019
@FredOverflow maybe it was Unreal?
 
Put the little metal pins into the holes round the clock.
 
@Zoidberg no, probably relies on hardware timer
 
user784668
YAY it worked.
 
user142019
2:43 PM
No it didn't.
 
user142019
There's a bug somewhere.
 
user784668
GCC makefiles y u honor LDFLAGS sometimes but not always.
 
user142019
> makefiles
 
@Fanael It's more fun that way.
 
@Zoidberg Depends.. callback from dedicated timer thread with delta-queue, callback from pooled timer task, timed wait on GUI input queue. OS/timer class dependent, essentially.
 
user784668
2:44 PM
I thought I have -fno-lto in LDFLAGS_FOR_TARGET.
 
user784668
So GCC why are you trying to LTO-link libgcc?
 
user142019
@MartinJames GUI input queue is a good point. :)
 
user142019
It would also be possible to use hardware interrupts in a similar way, I guess?
 
@Zoidberg GUI form/window timers usually like that. The GUI input queue has a list of timers sorted by timeout-time, (delta queue again), and waits for messages with the timeout set to the interval at the head of the queue.
 
Yeah, sorry dude, i forgot to add the star after the last change of the code. Sorry. — SmRndGuy 1 min ago
dude
 
Xeo
2:49 PM
10
Q: Why does std::unique_ptr operator* throw and operator-> does not throw?

Tony The LionIn the C++ standard draft (N3485), it states the following: 20.7.1.2.4 unique_ptr observers [unique.ptr.single.observers] typename add_lvalue_reference<T>::type operator*() const; 1 Requires: get() != nullptr. 2 Returns: *get(). pointer operator->() const noexcept; 3 Requires: get()...

 
@Zoidberg OS timer classes driven by timer driver, and hence hardware interrupt, yes.
 
Xeo
Pah, all these incomplete answers... all but one. :>
 
user784668
I love GCC. Really.
 
user142019
@LucDanton how was the mod pack called on sehe's server?
 
Xeo
@Fanael If nothing changes, you enter stagnation, and continuous stagnation means death. That wouldn't be fun, no?
 
user784668
 
Xeo
@Zoidberg Feed the Beast
 
user142019
@Xeo Thanks!
 
Xeo
So what is the type of (a.operator->()) ? — Tony The Lion 1 min ago
 
@Xeo yours?
 
Xeo
@Tony: decltype(a.operator->()) ;)
 
2:51 PM
@Xeo very funny
 
I was thinking that? But that doesn't really tell me a type, just an expression that returns some type of this expression
 
user784668
Really, GCC, what.
 
Xeo
Well, the return type must be either a pointer, a type that defines a conversion to a pointer, or a type that overloads operator->, IIRC.
 
user142019
@Xeo do you know which server?
 
user784668
@Xeo Or an infinite loop.
 
2:52 PM
@Xeo Sounds correct.
 
user142019
 
@Xeo oh right
 
@Xeo Oh no, @Tony asks irrelevant questions about C++ details with quotes from the standard? It appears he has truly become one of us!
 
Xeo
@Zoidberg Should've been the Mindcrack pack
 
one of us, one of us, one of us...
 
user142019
2:53 PM
@Xeo thanks :D
 
@FredOverflow lol, well what do you expect, hanging in this room for 3 years...
 
@FredOverflow: Part of the chat, part of the crew...
 
You should get out (of the Lounge) more. Look at me, for example. I am planning to buy a Wii and get a life ;)
 
@FredOverflow: Doesn't buying a Wii somehow contradicts getting a life? After all, there are some time-consuming games available.
 
I have an Xbox btw
but I still have no life
 
2:55 PM
I should probably play more starcraft instead of sitting here :P
 
<insert random mmorpg name>
 
HotS is coming out soon, and Zerg will pwn.
 
Xeo
Robot just throwing downvotes around, lol
 
@TonyTheLion Don't you usually have several lives in these games?
 
@BartekBanachewicz lol I thought you wrote porn instead of pwn
 
2:56 PM
Can I write Java games for Wii? :)
 
@FredOverflow ahahaha
 
@TonyTheLion how is starcraft related to porn exactly? o.O
 
Xeo
@FredOverflow I don't think so.
 
Both are crafts.
 
@BartekBanachewicz I don't know, my mind is weird
 
Xeo
2:57 PM
The dev library is C with a C++ layer ontop.
 
So... C with classes? :(
 
Xeo
Nah
 
damn
I Need to fix my github
 
Xeo
C API + C++ wrapper
 
user784668
-fno-use-linker-plugin
 
user784668
2:59 PM
Okay GCC u suck.
 
user784668
You suck so badly it's not even funny.
 

« first day (870 days earlier)      last day (4087 days later) »