« first day (1593 days earlier)      last day (3367 days later) » 

5:00 PM
@Pris there's no way a single person can mentally "contain" the entire UE4
 
Not with that attitude
 
not with ANY attitude; you can't - you really just can't
oh god the new version is 4 gigs
 
new pizza restaurant opened up
gonna try them this weekend
 
In Java, I have gametype = new StringBuilder(); in the constructor. So then In a function I have gametype.append("hh"). This causes a nullpointerexception. Why?
> Thrown when an application attempts to use null in a case where an object is required
gametype is null but how can it be modifiable?
 
haha that's funny
for a moment there I had this daydream that this was Lounge<C++>
so I was confused when you started wanking Java into it
 
5:03 PM
This is Lounge<Suffering>
 
> wanking java into it
the image that created in my mind
 
Lounge<Suffering::Java>
 
Xeo
@DonLarynx Here's a warning: Stop dumping your Java stuff in here.
 
the question doesn't even make sense
 
5:04 PM
@DonLarynx Don't blame Java for your weird TicTacToe inheritance relationships ;)
 
> What I seriously dislike about Java is the whole architecture.
Even the Java users dislike Java
 
@DonLarynx If you post a link to the code in the Java Sucks room, I'd be happy to take a look.
 
@FredOverflow I did it
 
@DonLarynx especially the java users dislike java
 
user3010322
@Xeo Did it improve any?
 
5:07 PM
That being said I enjoyed writing in java on uni
Better than C++ on uni
 
@BartekBanachewicz No
 
user3010322
Today we're doing arrays in C in Uni.
 
user3010322
I can't wait to hear "arrays are just pointers"
 
> Cscript.exe is a command-line version of the Windows Script Host that provides command-line options for setting script properties
 
@ThePhD You should make Arrays!=Pointers buttons and hand them out as a precaution.
 
5:09 PM
@ThePhD Arrays are containers for objects.
 
what does char myDouble ='3' mean ? If is say cout << myDouble ; i am getting 3 as output but if i say x= myDouble , then for cout<< x; i get 51 as output .
 
look at that healthy shit
 
@Theorem It means you assigned '3' to myDouble and it has ASCII code 51
asciitable.com
 
and what is x????????????
 
user3010322
5:10 PM
@AlexM. Stahp, my stomach. ;~;
 
@DonLarynx probably an int
@Theorem Why would you name a char variable myDouble?!
 
@FredOverflow I am just testing what happens . :)
@DonLarynx but when i say cout << myDouble ; then i get it to be 3 , only if i suppose x= myDouble and then do cout << x; i get something like 51 . I don't understand that
 
WHAT IS X
?????? TYPE OF X ??????
 
@Theorem Why aren't you showing us the declaration of x?
 
using namespace std;
int main()
{
    int arg1 ;
    arg1 =-1 ;
    int x, y, z;
    char myDouble1='3' ;
    char myDouble2 ='7';
    char myDouble3 = '1' ;
    x= myDouble1 ;
    y= myDouble2 ;
    z = myDouble3 ;
    cout << x << "\n";
    cout << y << "\n" ;
    cout << z << "\n" ;
    cout << myDouble2 << "\n" ;
    cout << myDouble1 << "\n" ;
    cout << myDouble3 << "\n" ;
    cout<< arg1 << "\n" ;
    cout << arg1 << "\n" ;
    return 0 ;
}
 
5:13 PM
omg
lol
 
pls stop
 
in for negs
 
There you go. If you assign a char to an int, the ASCII code is stored in the int. And the ASCII code of '3' happens to be 51.
 
woah woah woah
hold on, Skippy
 
@DonLarynx @FredOverflow I think people are laughing at my question . :(
 
5:16 PM
what's this codedump about
also why are people searching for x
instead of searching for the reason we exist
 
@DonLarynx @FredOverflow Why is cout << x << "\n";
and cout << myDouble1 << "\n" ;
different ?
in the output .
 
x is an int, mydouble1 is a char
 
user3010322
They're 2 different data types.
 
@AlexM. for that i know . the reason for our existence i know it
Ok
 
@AlexM. It does not further. -Buddha
 
5:17 PM
the real question is: why is a char called myDouble1?
4
 
user3010322
cout << my_data uses the data type as a hint on how to print it out.
 
@DonLarynx @ThePhD got it
 
@AlexM. From the looks of things, they've breaded and fried the chicken. That pretty much ruins the "healthy" idea in a hurry.
 
user3010322
@JerryCoffin What if it was breaded and baked?
 
@LightnessRacesinOrbit I don't know but thats what is there on MIT lecture notes :P
 
5:18 PM
@JerryCoffin it's called paneing it ok
 
user3010322
(Or grilled?)
 
please be sophisticated
 
@Theorem That's awful.
 
@ThePhD Would be a lot less problematic (as long as it was truly baked, and not "oven fried").
 
user3010322
.... Uh.
 
user3010322
5:20 PM
I'm not tripping, right?
 
user3010322
 
user3010322
That's not a real comment in PHP, is it?
 
user3010322
... Oh, wait. It is.
 
user3010322
Wow, PHP has 4 different comment styles.
 
user3010322
That's.
 
Xeo
5:21 PM
@ThePhD Dunno, can't test it. It just accumulates a shitton of memory, and then VS dies.
 
user3010322
... That's, uh.
 
Xeo
I guess the Unreal Engine sources are just too much for poor lil ReSharper
 
user3010322
The Unreal Engine sources are too much for me.
 
user3010322
In fact, the Unreal Engine is too much for any mere mortal.
 
@ThePhD It is, but (like everything in PHP) there's a caveat: it stops not only at the end of a line, but also at an end of PHP block, so // ... ?>whatever treats "whatever" as HTML, not a comment.
 
user3010322
5:23 PM
@JerryCoffin That's pretty interesting....
 
user3010322
Though I guess it makes sense in the context of PHP, where PHP tags can be embedded in HTML.
 
user3010322
Don't want to go invalidating your whole file now!
 
@LightnessRacesinOrbit Enlighten me why thats awful .
 
user3010322
Maybe that's why I got confused and though <!-- --> was the right comment style.
 
@JerryCoffin still healthier than the shit I eat tho
that was the idea behind today's meal
 
5:26 PM
@ThePhD I don't know about making sense, exactly, but it does at least point to the futility of trying to mix languages with entirely different paradigms, such as single line comments with something like HTML that completely ignores line breaks. No matter how you mix the two, it's going to be a mess.
 
switching stuff like burgers with salad
 
@Theorem To name an object after a type that it doesn't have? Self-explanatarily awful.
 
coliru.stacked-crooked.com/a/6cebe642b5cba70f How does this code make you feel
 
@Theorem It's like naming your boat "Car".
 
Xeo
@AlexM. Protip: Salads can be unhealthy too. One word: "dressings".
 
5:28 PM
And for MIT to be teaching that is worse, because some people think that it's a good University.
Granted, most of them are Americans, so it's not saying all that much, but...
> That's it. $ \sum 1$
heh, nice
 
@AlexM. A (fairly plain--no cheese, no sauce) hamburger might easily be healthier. Putting meat on top of lettuce leaves doesn't magically reduce the calories (and if you honestly care about health, only use something like vinegar instead of normal dressing).
 
I feel like LRiO is insecure about being from the UK. Never misses a chance to prod Americans. Still mad y'all lost the war?
 
@Pris Insecurity has nothing to do with it.
 
Why are you so bitter hten
 
But, sure, deflect opinions with which you disagree by employing baseless personal attacks. That'll help!
@Pris I'm not "bitter".
It is possible to dislike a thing without that being due to "bitterness"
 
5:30 PM
doing web-development to pay the bills makes you feel like such a whore.
 
Don't make me start spelling colour wrong
 
Of course the real reason is the joy of responses like yours
:)
 
@Pris I have to agree with him: it's not insecurity. Given the energy he puts into it, his problem clearly runs much deeper than that.
 
@JerryCoffin yep, but that's saying
"the more healthy parts of a hamburger can easily be more healthy than a salad with unhealthy ingredients added"
I was obviously comparing actual menus
which included hamburgers + sauces + other stuff inside + fries
 
@Pris erhm, it makes me think that whoever wrote that has no idea of what he's doing - that's how it makes me feel.
 
5:32 PM
and I'm more about how the fat content
 
@FilipRoséen-refp I'm trying to make two phase construction nicer... that's the best I could come up with. But yeah, this is new territory for me
The user facing interface seems okay to me, but its not so pleasant from the developer side
 
@Pris what is the real goal? are you trying to make it "impossible" to create Things without using the factory-function, or what?
 
@FilipRoséen-refp Yeah. I want to force usage of the factory function... but I need inheritance to work as well.
 
@Pris Thing ({});
 
@AlexM. No, it's saying "The hamburger itself isn't particularly unhealthy. It's the other crap people eat with hamburgers that's really unhealthy." Just for example, a "hamburger" that includes the bun, patty, lettuce, and tomatoes can be quite tasty and healthy.
 
5:35 PM
... yes, I agree
 
@FilipRoséen-refp The first argument to Thing's constructor is private
 
Xeo
@JerryCoffin Japanese-style: No buns.
 
I ate a store bought onigiri yesterday
 
@Pris compile and run that before you start trying to say that I'm wrong.
 
and realized what mine needed and didn't have
sesame seeds inside the rice
I mean among it
 
5:36 PM
good recovery
 
the sesame taste went well with the fish
 
"in the rice" is ok tho
 
user1804599
sesame street
 
@Xeo That doesn't hurt either--though personally, I think the "war" on carbohydrates in general, and wheat products in particular, is probably a rather poor idea.
 
user1804599
@ThePhD that's PHP program prints its own source code.
 
user1804599
5:38 PM
The moron forgot <?php.
 
user image
10
> The origin of the bitchy customer service email, circa 1750 BC.
 
@LightnessRacesinOrbit haha :D
 
Xeo
@JerryCoffin It's not a war - it's simply how they eat their burgers (or salisbury steaks, which I guess would be a better word), and "burger" for them means the patty itself.
 
user1804599
@ThePhD Only three: # …, // … and /* … */.
 
user1804599
Nobody uses # for comments.
 
5:40 PM
@Xeo Right--I was referring more to a lot of diets in the western world that recommend losing weight by cutting out all (or nearly all) carbohydrates. I can't imagine most Japanese (or most other Asians I've met) going along with the idea of removing rice from their diet.
 
-
I suck
5
 
@FilipRoséen-refp What the hell? Why does that work
 
user1804599
@AlexM. cocks.
 
@Pris it works because you have no idea of what you are doing.
 
5:41 PM
Do you have an answer that isn't an insult?
 
I need to decide whether I'm going out tonight
 
there's this humble bundle site
but for porn
 
@Pris He doesn't. It's just how he's wired. You can ignore him, though!
 
and people pay (what they want) for porn on it
amazing
 
user1804599
In union { t a; u b; } x; is it guaranteed that x.a and x.b have the same address?
 
5:42 PM
haha, what the fcuk.. I can't tell people that they don't know what they are doing without the message being flagged as offensive? shiznit.. the Internet is a weird place.
 
Who the fuck is flagging that
 
@CatPlusPlus probably @Pris
 
No, I don't think so
Also made some chicken strips
 
Enough to share?
 
@FilipRoséen-refp I didn't flag anything
 
5:45 PM
@LightnessRacesinOrbit Nice.
 
@FilipRoséen-refp A box popped up and asked me to say yes or no to the flag (because of limited moderator privileges). I accidently clicked "yes"... sorry! I don't think this should be flagged
 
@hek2mgl just because I'm black, isn't it?
 
@FilipRoséen-refp yes
@FilipRoséen-refp :)
 
@hek2mgl obviously
#define COMMENT(x)
 
@JerryCoffin IME, it is enough to simply count the calories and not go over 1800 a day for 5 days out of a week.
 
5:47 PM
@FilipRoséen-refp hehe :) no no.. just because these logic is strange.. they asking if the flag is valid not the message ..
@FilipRoséen-refp I realized that after releasing the mouse button.
 
@wilx As long as you're willing to modify the 1800 a bit depending on age and exercise level, I'd agree.
 
ok, will not disturb you guys anymore.. have just 1% plan from C++ ... :) .. bye
 
@JerryCoffin Well, for office mouse like me, it gets my weight down. If you exercise, I guess you need to eat more.
 
user3010322
....
 
user3010322
The linker error is still there. ;~;
 
user3010322
5:49 PM
I give up.
 
user3010322
This code will never compile properly.
 
user3010322
RIP.
 
user3010322
I was going to go learn something about DEEP learning...
 
user1804599
OK, time to write the parser.
 
user1804599
5:52 PM
It's incredibly easy.
 
user1804599
The only non-terminal is a list literal.
 
user1804599
Which is just a parenthesised sequence of literals and ignored newlines.
 
@wilx Yeah--nowadays (old, minimal exercise) I need to stick to around 1800 just to keep from gaining weight. When I was 20, I ate more like 5000/day, and that was barely enough to keep from getting badly underweight.
 
I am going to donate $5 to you all someday.
 
@DonLarynx that's more than I currently have in my account so.. please do
 
user3010322
6:07 PM
READING SOLUTION PROJECTS
 
user3010322
For the last 23 minutes
 
user3010322
Come on VS. .-.
 
wow
a comment helped me
 
user3010322
.-.
 
user3010322
6:13 PM
I'm going to just die.
 
user3010322
AAHHHHHHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA‌​AAAAAAAAa
 
user3010322
@MartinJames I CAN RELIABLY REPRO THE PROBLEM IN THE MINIMAL EXAMPLE
 
user3010322
AAAAAHAAHAAAAA SUCK IT
 
user3010322
It boils down to this fuckery:
 
user3010322
#include <dll/api.hpp>
#include <iostream>

template <typename ShitDicks>
int fucklesticks( ) {
	// void dll::foo( something i = constant_something );
	int test = dll::foo( );
	return test;
}

int main( int argc, char* argv[] ) {

	struct butts {};

	std::cout << fucklesticks<butts>( ) << std::endl;

}
 
6:16 PM
lol
 
user3010322
Calling a function with defaulted parameters whose stuff is exported from a DLL from a templated function in the target code triggers a bogus, phony LNK error.
 
lol
That's pretty fucking specific.
 
This statement is useless but it has an easy fix:
 
user3010322
If you go to a non-templated function and write something test = constant_something, the error will go away.
 
System.out.println("Integer : " + intarray[rand.nextInt(freespaces)]);

    		return intarray[rand.nextInt(freespaces)]; // returns a free-space.
 
user3010322
6:18 PM
@DonLarynx You're going to get 2 different answers. :l
 
user3010322
Store it in a temporary.
 
@ThePhD Correct answer is correct
 
user3010322
@Griwes It is, and it's that specific bullshit that's in my code.
 
user3010322
Now I have to file a bug report.
 
user3010322
And never use functions with defaulted args from my DLL in my application code ever.
 
6:19 PM
@LightnessRacesinOrbit Why not decide over a couple beers?
 
user3010322
(How shitty does that sound?)
 
user3010322
/cc @Fanael ^ I FIGURED IT OUT AND I HATE MICROSOFT.
 
Also lol "fucklesticks".
 
user3010322
I was frustrated. .-.
 
user3010322
I'll probably have to clean that code up before I send it off.
 
6:21 PM
No, don't do that.
:D
 
I'm disappointed that the ShitDicks template parameter is not used though
 
hi folks!
Awwww, I'm on from my tablet. My laptop seems to be completely screwed up now. Freezes on start screen, I'm afraid, the HD is broken. Need to get a new laptop it seems 😠
Well what should I expect from a 5 yes old laptop.
^ yrs (I cannot even edit inline from here)
 
@πάνταῥεῖ bitch
jk
 
such a, I swear 😬
I'm staying home being sick, and don't even have a laptop for surfing. What kinda shit is this please!
 
@πάνταῥεῖ Sucky. My old laptop is even deadier than that, (power supply).
 
6:32 PM
SO from the tablet just sucks BTW
 
Try it from the phone
 
That sucks even more 😅
 
user784668
mawning folks
 
evening
@DonLarynx I have the SE app installed on my tablet and phone BTW.
It's not really fun using it IMHO.
 
user1804599
6:45 PM
guys
 
@πάνταῥεῖ I use teh ChatSEy
 
user784668
@ThePhD Works for me.
 
@райтфолд gals
 
@райтфолд Already done writing the Parser?
 
@MartinJames mind to link me? I'll give it a try ... desperate as I am :-P
 
user1804599
6:49 PM
@FredOverflow No I just had dinner. :p
 
user1804599
The parser is incredibly simple, though. I already have the lexer.
 
@πάνταῥεῖ It's in Play Store
 
user1804599
Boolean literals #t and #f or just regular constant names that can potentially be shadowed?
 
user784668
@райтфолд true and false
 
user1804599
Oh right, I should add || r = ',' to isSpace.
 
6:56 PM
@πάνταῥεῖ FWIW, the question you closed as a dupe of the unreferenced symbol error last night was indeed a dupe, the OP had forgotten to add ClassName:: in front of the member function name in the definition (he deleted the question after I told him what the problem was)
 
comments really fucking help you guys omg
im a believer now
 
user784668
@DonLarynx My condolences.
 
@DonLarynx Believer in what?
 
@FredOverflow comments. i didn't know they would help me so much. i knew they helped when i was constructing my program,but in debugging, omg
it helps
 
user1804599
, being whitespace is the best thing ever.
 
6:58 PM
homeworld remastered: such appeal, such cost
 
user1804599
(dict 1 2, 3 4, 5 6) > (dict 1 2 3 4 5 6).
 
user784668
@райтфолд So foo,,,,,bar and foo bar are equivalent?
 
user1804599
Yes!
 
(( dole % 2 == 1) ? bob : 0)
what does it mean ?
 
6:59 PM
where dole and bob are integer
 
user1804599
It means exactly what it says.
 
@Theorem If dole is odd, bob is the result. Otherwise, 0 is the result.
 
user1804599
Try it on each possible combination of values for dole and bob.
 
user1804599
Then you'll see exactly what it means.
 

« first day (1593 days earlier)      last day (3367 days later) »