« first day (865 days earlier)      last day (4101 days later) » 

user142019
7:00 PM
4chan <3
 
It's not filtering it's regurgitating
 
Xeo
@EtiennedeMartel So Tony's just another Reddit filter?
 
@Xeo yeah, he needs fixing
 
user142019
@TonyTheLion you must be fixed.
 
@Xeo Yes.
 
Xeo
7:01 PM
@thecoshman Well, anybody here fluent in Tonylang?
 
For fuck's sake if Chrome keeps up with crashing like that I'm seriously going back to Firefox
 
Fuck Chrome. That is all.
 
user142019
Firefox oh God come on
 
user142019
at least consider Opera.
 
Xeo
@BoltClock :O A MOD USED THE F WORD! OH NOOOOOEEES.
3
 
7:02 PM
@Xeo it's basically like programming brainfuck, but you simple use numbers of fucks given
 
@Xeo D:
 
Xeo
World's going to end now, for reals!
 
user142019
@Xeo Oh well, at least it's not the J word. That'd be much worse.
 
or P word
 
@Zoidberg Java?
 
7:03 PM
@Zoidberg what's wrong with jews?
 
user142019
Use PHP to generate Java.
 
Ell
opera has no webgl :'(
 
Xeo
room topic changed to Lounge<C++>: We make mods forget themselves. [c++] [c++11] [c++-faq] [hot-springs] [no-helpdesk]
 
@BoltClock BUUURNNN
 
user142019
@BoltClock INSTANT BAN
 
user1182183
7:04 PM
hey guys what timers do you recommend for windows which have a 1 to 7 ms precision?
 
user142019
@Ell yes every website uses that you really need it.
 
@GamErix std::chrono::high_resolution_clock
 
Ell
@Zoidberg I visit a lot of webgl stuff :p
 
user142019
@GamErix Rolex.
 
Xeo
@GamErix std::chrono::high_resolution_clock
 
user1182183
7:04 PM
@Xeo k thanks :P
 
user142019
@GamErix std::chrono::BoltClock
 
@GamErix Multimedia timer, prayer mat, face Mecca.
 
Xeo
lol
 
@Zoidberg lol
 
Ell
boost::asio and a tcp time server
 
user142019
7:07 PM
Meh Boost.Asio.
 
user142019
libuv \o/
 
lol
just think, some one, some where, is fapping to that
 
user142019
@BartekBanachewicz That's, specific.
 
@thecoshman I don't even...
28 mins ago, by Bartek Banachewicz
She's evil
 
7:10 PM
@BartekBanachewicz THINK ABOUT IT!
 
> Das ist nichts zu feiern, weil der Commodore 64 eine uralte Version der Programmiersprache BASIC benutzte. Es ist zum kotzen! Um herauszufinden warum das so wichtig ist, bitte suche nach Commodore 64 crap um mein Blog zu finden.
 
@thecoshman I am just gonna pack my things now and run to albania or some other shit without 4G (yeah, LTE) localisation and internets
> Commodore 64 crap um mein Blog zu finden
 
-3
A: What kind of leaks does automatic reference counting in Objective-C not prevent or minimize?

user2081997Boltclock you are a dork I just wanted to help getting my form to work. Now I can no longer ask questions to receive help because of you loser.

6
 
@FredOverflow o_0
oh wow, newgrounds... that's a blast from the past. Is that place still going?
 
user1182183
hmm what is the fastest container for pushing the back and popping the front?
 
7:13 PM
I used to hang out in the programming forum over there, but then uni ate up too much time
@GamErix probably a linked list
 
user1182183
@thecoshman hm k will look : d
 
or a circular array, if you know how many items you want
 
SYSTEM SUCCESFULLY GAMED
 
user142019
@GamErix if that is all you do, take a look at deque or maybe linked list.
 
and are willing to write the interface
 
7:14 PM
A winner is me.
 
user142019
I'd try deque first.
 
user142019
Or maybe even vector.
 
@BoltClock lol
 
user1182183
@Zoidberg ok thanks ; D
 
Xeo
@thecoshman Going strong as always
 
user1182183
7:15 PM
@Zoidberg does vector have pop_front? ; o
 
user1182183
I though it didn't
 
user142019
You can erase. :P
 
don't deque and linked list use the same back end but with custom interfaces?
 
Xeo
@GamErix std::deque, probably. Depending on your data size.
@thecoshman Not totally.
 
@thecoshman Not at all.
 
user142019
7:15 PM
No.
 
user1182183
@Xeo max 120 times 400 bytes / sec input
 
> cout<<i++<<i++; displays the result as 10. Is this because of the stack architecture? Pls. do not mark this as the duplicate of "Could anyone explain these undefined behaviors (i = i++ + ++i , i = i++, etc...)" because that does not talk about the cascading of cout but just of pre/post increment.
 
user142019
Try deque and list and benchmark.
 
meh
 
@BartekBanachewicz HEY I AM NOT THE CANONICAL WHEEL REINVENTOR. D:<
2
 
user142019
7:16 PM
std::list is rarely useful.
 
I am going to use a simple Bitmap solution, as per Cat's advice.
So Thbphpbphth.
 
user142019
Bytemap.
 
Shortmap.
 
Ell
voidmap
 
hey ppl
 
user142019
7:17 PM
Google Maps.
 
Multimap
 
Xeo
@thecoshman A deque is basically a vector<array<T, SOME_SIZE>*>, from what I remember.
 
@MooingDuck It's not even UB.
 
@Xeo effectively
@DeadMG it was
 
@MooingDuck Nope.
 
7:18 PM
@Xeo I must have got confused :P
 
std::cout << int involves a user-defined function call, which is a sequence point.
 
Ell
 
@DeadMG at best its unspecified isn't it?
 
Anyway I should get going, it's late-ish
 
Xeo
@DeadMG The arguments can still be evaluated in any order.
 
7:19 PM
@DeadMG but that (can) happen after both modifications.
 
Xeo
@BoltClock See ya
 
@FredOverflow Ho hum
> Ein unscheinbarer Brotkasten der für fast 1500 DM in Deutschland angeboten wurde veränderte die Welt der Computer- und Spiele-Enthusiasten.
Brotkasten?
 
Xeo
lawl
 
user142019
Een kast met brood.
 
@Xeo Right, but they can't be interleaved.
 
7:20 PM
Bye, bye BoltClock, (should be a song).
 
which is the source of the UB.
so yes, you can't guarantee in what order it's done, but it is done in some order.
 
user142019
Is it possible to implement JIT in merely C++ without UB and without assembly?
 
@Zoidberg UB could be fun
 
@Zoidberg Of course not.
you can't implement a JIT without assembly.
 
user142019
Why not?
 
7:22 PM
because the output of a JIT is assembly.
 
@EtiennedeMartel I don't, actually
 
The output of a JIT is a bytecode
 
@sehe Naja das Gehäuse sah halt aus wie ein Brotkasten :)
 
@DeadMG sure you can
 
@ScottW :D
 
user142019
7:22 PM
@DeadMG that's like saying you cannot implement a C++ compiler without C++.
 
@Zoidberg JIT by definition compiles just in time
 
@thecoshman And that's related to what
 
@Zoidberg Not at all.
 
ah true...
 
or rather.
 
7:23 PM
@ScottW broad_cast<T>
 
I don't think a JIT would make bytecode, would it? I thought it already WAS bytecode.
 
JITs don't output assembly
 
you cannot implement a C++ compiler without defining C++.
 
it doesn't have JIT to machine code
 
user142019
The point is.
 
7:23 PM
If you are referring to Java anyway.
 
@CatPlusPlus It's a universal truth, it applies to everything.
 
user142019
You generate machine code at runtime and in some way you need to execute it.
 
@user190929 Why would we ever do that?
@Zoidberg Generating machine code requires assembly, effectively.
 
but you could (in theory) run C++ in a VM
 
With no problem, so what
 
user142019
7:24 PM
@user190929 argh the J-word stop it!
 
can't see it being that smart a move, but you could do it
 
@CatPlusPlus wait what? I was certain that's exactly what JIT did
 
and also, C++ most definitely does not define any kind of run-time execution
 
@DeadMG I know, I know. Although... what JIT are you talking about then? JIT, to me, implies a VM language.
 
@DeadMG (the) assembly is already defined.
 
7:24 PM
@user190929 Why don't you try reading the fucking chat log to find out?
 
@ScottW oh
 
3 mins ago, by Zoidberg
Is it possible to implement JIT in merely C++ without UB and without assembly?
clearly states "No assembly."
 
user142019
I'm talking about the implementation of the JIT, not what it produces or reads.
 
@MooingDuck JIT is assembler basically
 
oh
then of course it is
for example, LLVM.
 
Xeo
7:25 PM
sigh Puppy
 
@DeadMG no assembly code in the C++ source I assumed. Obviously it's allowed to create assembly.
 
all a JIT does is stick some bytes in a buffer, any language can do that.
the problem is executing it... the language doesn't provide any mechanism.
 
Yeah and that's not assembly fyi
 
@DeadMG The OS does
 
user142019
So I can safely change the instruction pointer to the start of the buffer without UB?
 
7:26 PM
@CatPlusPlus right right, machine code
 
@Zoidberg Well, that depends on your definition of UB.
 
@DeadMG function pointers?
 
the Standard certainly does not define such things.
 
user142019
Naively, one would do this:
 
never mind
 
user142019
7:26 PM
reinterpret_cast<R(*)(Args...)>(buffer.data())(std::forward<Args>(args)...);
 
but your CPU or implementation may well do so.
 
user142019
@DeadMG ah, okay.
 
user142019
Thanks.
 
@FredOverflow :) Auf diese weise
 
yeah, spec seems to say function pointers can be converted to/from functionoids and other function pointers. (and nullptr to function pointer) Implicitly, other casts are UB.
 
user142019
7:30 PM
Meh.
 
user142019
Assembly to the rescue!
 
@Zoidberg yeah. Be certain to be SUPER clear about the calling convention too, on both sides.
 
user142019
cdecl ftw.
 
lol cdecl
 
user142019
HAVE PREFERENCES FOR

ALL THE THINGS
 
7:33 PM
16
Q: What does "cdecl" stand for?

FredOverflowYes, I know that "cdecl" is the name of a prominent calling convention, so please don't explain calling conventions to me. What I'm asking is what the abbreviation (?) "cdecl" actually stands for. I think it's a poor naming choice, because at first sight it reminds one of "C declarator" (a rathe...

 
user142019
Lol pascal calling convention.
 
Is there some sort of unspoken rule that people with high rep here are mean or something?
5
 
user142019
They're annoyed by all the noobs.
 
@ThePhD sure.
 
user142019
(And me.)
 
7:36 PM
@user190929 There's nothing unspoken about it at all.
 
user1182183
hm if I have in a local scope int& something = (address); something = 5; how would I move it to the global scope? tried int & something;//global and &something = address;something = 5 or *something = address;something = 5 but all give errors.. ;>
 
It is usually just easier to agree with them.
 
we're mean to all the noobs (especially Zoidberg).
 
user142019
Hey I'm not a noob fu!
 
fixed
 
7:37 PM
@GamErix wat?
 
@GamErix references must be initialized when defined. int& something = (address); or int* something = (address); or int& something() {static int t=(address);return t;}
 
user142019
@GamErix if you want something in global scope make it a global in the global scope.
 
I understand that, and I also get the site's mission - clear answers, not discussion - but... well, I have to wonder if there is anybody nicer. I am yet to find somebody who likes to listen to somebody ranting at them.
 
user1182183
@FredOverflow (accessing memory by pointers from a game)
 
user142019
It ain't rocket science.
 
user1182183
7:38 PM
@Zoidberg but the adress changes each frame and I need to update it : P I can't "just" define it at global scope, it's not static :(
 
user1182183
(well, not the adress it points to)
 
@user190929 The other way around.
the mission of the main site is clear answers.
 
user142019
Don't use globals they're bad in 99.999999999999999999999999999999 out of 99.9999999999999999999999999999991 cases.
 
we hate giving answers here.
 
@GamErix can't reseat references. Use pointers.
 
7:39 PM
Also, "matchmaking"
 
..and don't pass them through globals.
 
@DeadMG I was referring to the main site, and questions asked on it, not the chat.
 
oic
 
user1182183
@MooingDuck so I have to put in all the lines which have "var" -> POINTER(int,POINTER(unsigned int,POINTER(unsigned int,PositionBaseAddress + 0x4C) + 0x34) + 0x41C) instead of something? XD
 
7:39 PM
well I generally find the people on the main site try to be helpful
 
@user190929 because 95% of the questions on the site are in violation of said mission.
 
user142019
But sometimes most often they can't because the questions suck.
 
user1182183
@BartekBanachewicz what game is that? ; o
 
@GamErix what? Just make the global a pointer?
 
@GamErix duh. U for real?
 
7:40 PM
@BartekBanachewicz y no SC2 tournament?
 
I agree, in general. But, for example, sometimes I google, and I find nothing. So I ask the question. Then I get slammed for not googling. This does not encourage me to participate.
 
@GamErix How large is the rock you live under?
 
@Borgleader Because we only have BW at work. Also I am lame
 
user1182183
@Borgleader earth
 
@GamErix SC2.
 
user1182183
7:41 PM
@EtiennedeMartel a ok ; p
 
@GamErix Are you on embedded, or doing drivers?
 
user1182183
@MartinJames dll for injecting into a game
 
user142019
He's screwing up games.
 
user1182183
want to record movements then replay ; p
 
user1182183
for a racing game
 
7:41 PM
@GamErix but seriously, you saw "zerg" "terran" and "protos", and didn't know what game it is
fail
 
The magic numbers make me ill.
 
user1182183
@BartekBanachewicz well maybe I NEVER played or bothered to look at SC2?
 
user142019
The only good racing game is Mario Kart and all the other racing games are shit.
 
@user190929 yea
@GamErix then you don't know sh*t about games
 
user1182183
@BartekBanachewicz oh yeah and you do ; >
 
7:42 PM
whatevs.
 
@user190929 I just checked. In NONE of your questions has anyone mentioned "google" except for (A) you, and (B) one guy said he was looking for a source for his answer.
 
@GamErix I make them instead of breaking them.
 
@GamErix StarCraft is a pretty big part of gamer culture.
Even if you don't play it.
 
Whole Blizzard is
 
@MooingDuck I think it was on an offshoot branch, but I read it here as well.
 
user142019
7:43 PM
I play only Minecraft if I play games at all.
 
You probably heard about it enough.
 
user142019
I prefer playing with people's minds.
 
user1182183
@EtiennedeMartel yeah heard of starcraft and saw 1 gameplay vid in my whole life
 
And guess how Minecraft got its name
 
user1182183
nothing special
 
7:43 PM
@Zoidberg So do I
 
user1182183
just like all other RTS games
 
@GamErix It has the words "Zerg" "Protoss" and "Terran" in it, did you not know those?
 
@GamErix lol.
 
@Cicada You wrecked Bartek pretty hard.
 
user142019
@Cicada l'avatar
 
7:44 PM
@BartekBanachewicz they have a lot of games nobody heard of
 
I think his mind will never recover.
 
@EtiennedeMartel As usual
Better get used to it, also
 
I am getting better every time
 
And eventually you'll beat me
But it will take time
 
That, and the annoying tendancy when I see a reference to another question, and it got deleted by moderation... and for some of those questions, it actually was, in fact, useful information for me.
 
7:44 PM
The fact whether I'll go insane before that is debatable
 
@Cicada Anyway, that means a lot of matches :P
 
Thousands
 
If I were playing only against you, it would be less than a thousand
 
@BartekBanachewicz "Rock n' Roll Racing", "Battle Chess", "J.R.R. Tolkien's The Lord of the Rings, Vol. I ", "Castles", "MicroLeague Baseball", "Lexi-Cross", "Dvorak on Typing", "Shanghai II: Dragon's Eye", "The Death and Return of Superman", "Justice League Task Force"...
 
7:46 PM
But that's hardly realistic :P
 
So, Dennis Rodman, currently in North Korea, doesn't know a lot about the world.
 
Think Minecraft would be any faster if written in C++?
 
@user190929 :) bananu7.github.com/Minicraft
 
@user190929 Not necessarily.
 
@user190929 no
 
7:47 PM
@EtiennedeMartel Let me guess!! Let me guess! He's American!!
 
It would probably take less RAM.
 
@EtiennedeMartel Lol, get owned Dennis Rodman
 
@Cicada Yes.
 
WIN
 
user142019
@EtiennedeMartel lulz
 
7:47 PM
@EtiennedeMartel I am certain it would take less memory, but my main query is regarding processing speed.
 
@Cicada anyway, can't you do something about that avatar?
 
But Minecraft is slow mostly because Notch is not a good programmer.
 
user142019
@EtiennedeMartel wait wat.
 
@user190929 These days, RAM usage pretty much dictates speed.
 
user142019
He's in North Korea and has access to Internet?
 
7:48 PM
Had it been in C++, it would probably be just as slow, but far buggier.
 
user142019
IMPOSSIBRU!
 
@BartekBanachewicz What's your problem with my avatar again? I swear, everytime I change avatar, people complain somehow
 
@EtiennedeMartel emartel just gave a presentation in my class :)
 
@Zoidberg They got Internet there.
@Borgleader Well, well.
 
@FredOverflow You are saying, based on how full the ram is (similar to hard drive, fragmentation, etc) dictates the accessing speed that much, or something else?
 
7:49 PM
Best Korea doesn't have internet access. Best Korea is internet.
 
@Cicada The last one (not the Cat) was cute -.- And now instead of you we see psychic chick with a bowl of salad. Not cool.
I mean, if you had a bowl of salad it would still be "psychic chick with a bowl of salad" but.. well.. that's not the point!
 
@user190929 You want to use as little RAM as possible, and the access patterns should be as predictable as possible. Because RAM is slooooow as hell compared with CPUs.
 
41 mins ago, by Bartek Banachewicz
@Cicada Also, what the fuck. Dudette.
And that ^
 
Psychich?
 
are you telling me you like my avatar because it's cute
 
7:50 PM
Blizzard was required to change the "DotA: AllStars" mod in SC2 to "Blizzard:AllStars"? What?
 
@Cicada the topic is going in a dangerous direction
 
you started
 
@MooingDuck No. Blizzard Dota -> Blizzard Allstars
@Cicada well then, yes. liked. that one is creepy
 
let me google some random hot chick then
jennifer lawrence is ok for you?
 
@Cicada I am not buying it
 
7:51 PM
@FredOverflow I could see that, but from what I have heard, starting the VM with less memory, did nothing to fix speed - from what I can tell, most of the problem is with the rendering, but I am not sure if this is the rendering or Java overhead, though also could be memory related with the chunks and vertices
 
I am not buying random and/or famous chicks from the internet.
 
Le pois chiche (Cicer arietinum) est une plante de la famille des Fabacées (ou légumineuses), voisine du petit pois mais d'un genre botanique différent. Il est cultivé dans les régions méditerranéennes dont il est originaire et produit une graine comestible. Il détient un double record : haute teneur en glucides assimilables et pourcentage élevé en protéines végétales. Son nom latin d'espèce arietinum fait référence à la forme de la graine en tête de bélier (aries) flanquée de ses cornes. Description C’est un pois de taille moyenne, rond et bosselé, de couleur beige et ...
 
@BartekBanachewicz en.wikipedia.org/wiki/Blizzard_Entertainment#Titles "DotA All-Stars, LLC was sold to Blizzard Entertainment in 2011. ...Blizzard filed an opposition against Valve in November 2011, citing their license agreement with developers, as well as their ownership of DotA-Allstars, LLC. Blizzard conceded their case in May 2012, however, giving Valve undisputed commercial rights to Dota, while Blizzard would rename their StarCraft II: Heart of the Swarm mod "Blizzard All-Stars"."
 
@user190929 You gave the VM less memory? lol
 
@FredOverflow I didn't, but I have seen it suggested.
 
7:52 PM
@user190929 The rendering is mostly OpenGL.
As I said, if Minecraft is slow, it's because it's crappily coded, not because it's in Java.
 
@Cicada so either proper av or the green thingy.
 
Is Minecraft really that slow?
 
@EtiennedeMartel Actually it's mostly because both.
 
7:53 PM
@Cicada Seriously, if I wanted to see tits, there are better sites than Stack Overflow
 
@FredOverflow yes
 
don't make me ask a question "where can i see tits? "
 
@Cicada Java isn't slow.
 
@Cicada Answer: "look down"
 
@FredOverflow Well... it depends what kind of fps you are talking I guess. I get 25-30, but I have heard others get worse... in situations where specs seem to indicate otherwise."
 
7:54 PM
alright i'm asking it
 
I will answer it
@Cicada Don't change the subject. Av!
 
eh you can't ask questions anonymously now??
 
Welllll.
What are we talking about?
 
@EtiennedeMartel it's slower than c# and c++
 
@Cicada that was made against trolls like you
 
7:55 PM
this is terrible
 
#ohnoes
Av!
 
i'm lazy to register
fuck you SO
 
@user190929 Yes, minecraft renders very slowly, not because of OpenGL, not because of Java, but because of Notch.
 
@Cicada No. Stop it.
You. Shal not. Trollllll.
 
@MooingDuck I have no problem with openGL, prefer it to DirectX anyway. (only other option that I am aware of). Although... assuming this is the case, should they not prioritize optimization of the game?
 
7:56 PM
@EtiennedeMartel Yes. It's not even a troll. /thread
 
@user190929 yes, yes they should.
 
Ell
@MooingDuck I didn't think it was the rendering
 
@Ell it's got a builtin profiler. I've never seen rendering take less than 90% of the CPU time.
 
@MooingDuck from my perspective, I guess you could say that you should refine the core engine, and THEN add content - not the other way around.
 
@user190929 I agree
 
7:58 PM
@DeadMG I forgot you could insert into the end of a std::vector with vector.end(), lulz
 
Ell
@MooingDuck Oh it has hasn't it
 
TIL. :D
 
ahahahahahaha
 
7:58 PM
No
Let's make a deal
 
@ThePhD I didn't
 
I'll put up an av with my top hat, if you put up a proper photo (and keep it there for a while, uh)
can be the prev. one
 
help
 
So. vim or emacs?
 

« first day (865 days earlier)      last day (4101 days later) »