« first day (1618 days earlier)      last day (3329 days later) » 

user1804599
1:00 AM
Oh it is.
 
user1804599
I'm passing the wrong type.
 
The 'don’t change unless I change them' bit.
 
@Cinch Apparently it needs to be posted again:
Dec 12 '13 at 23:55, by Jerry Coffin
Ah, here it is.
 
@JerryCoffin Static typing is there
 
@Cinch Your comments sounded like you intended things to be dynamically typed, but if I mis-read that, I apologize.
 
1:04 AM
@JerryCoffin The static typing is there, but also optional
Functions that do not list a type will take variables without type
 
https://www.mitsuba-renderer.org/repos/exporters/mitsuba-blender/files/default/?at=default
How the hell do i download a specific revision as zip =/
 
Dynamic typing frees the inexperienced developer to build code quickly without being bound by continual monitoring, checking and converting typ.... no it's shit.
 
@MartinJames Dynamic typing frees the inexperienced developer to create many bugs very quickly.
 
@Borgleader Just clone it you noob.
 
i dont want the latest revision though
 
1:10 AM
You can checkout a specific revision that way
 
@Cinch It's one thing to do like Haskell, and say "we'll deduce types where possible, so you usually don't need to annotate them", but quite another to allow dynamic typing (which is a spawn of satan).
 
the dumbass devs tell you to download the latest exporter and then i found out through a forum post that the latest exporter revisions are not compatible with the actual program... like wtf
 
GCC 5.0 is a slow as hell release :(
March 21st no release yet
 
user1804599
fuck yeah
 
@Rapptz That doesn't surprise me a lot. Even if they've decided to change the numbering system so essentially every release bumps the "major" version number, I think there's psychologically a lot more feeling that a "major" release is important, and they should work a lot harder to try to make it impressive.
 
1:19 AM
There is a lot more to do, i.e. the bug tracker is more clogged than usual.
 
Being sick has made me more unmotivated and bored than usual.
 
Can someone pin the marmelade thing please?
Thanks
 
user1804599
@Jefffrey write me a JIT compiler.
 
@Rapptz how is that even possible
 
Your guess is as good as mine
 
1:24 AM
@райтфолд A JIT compiler for what?
 
user1804599
It's terrible.
 
Sorry, missed a line
 
user1804599
Two-phase initialisation is canceur.
 
@Cinch Why are you declaring x and y outside of the while loop?
 
1:27 AM
@Jefffrey Refresh
 
@Cinch It's essentially impossible to define things in a way so that code like while(f.char != f.eof): ever stands any chance of working. You're basically hoping that "if we're not at EOF, I can count on the next read (or two reads, in your case) succeeding". That's pretty much demanding a prescient standard library.
 
lol moving on to languages now?
 
@JerryCoffin I was thinking of an external exception system of some sort
 
I admire your ambition I guess
 
@Rapptz I blame wrong influences.
 
1:28 AM
i.e. the standard library would throw an exception and then you could catch it at any point of the program or something like that
 
lol I'm guessing it was Puppy
 
user1804599
Mill is the best programming language.
 
@Cinch To work worth anything, you either want to fix the loop so you do the reads, then check the result, or always depend on the exception handling. Experience with PL/I suggests that using exception handling to detect end of file is mostly a mistake.
 
user1804599
OMG AWK
 
1:29 AM
@JerryCoffin Yeah, I'm thinking about this...
 
@JerryCoffin What’s your preferred interface for i/o?
 
Idk. I could just have the function return an error code if it fails
 
user1804599
In my defence, the build system of the Mill VM runs an AWK script.
 
@LucDanton Memory mapping.
 
I like for line in file
 
user1804599
1:31 AM
@Rapptz lol, fail
 
The fact you dislike it gives me more reason to enjoy it.
 
@JerryCoffin Does that only error out at mapping time? ISTR some exception/signal stuff as well.
 
user1804599
File I/O is about bytes, and bytes don't consist of lines.
 
@Rapptz What do you do for non-line-oriented stuff?
 
user1804599
You can have a function read_line which takes a file and an encoding.
 
user1804599
1:31 AM
Then use that function.
 
@LucDanton Depends.
 
I was thinking of a way to automatically format your input from binary or something like that.
 
Binary or text mode?
 
user1804599
Text mode is retarded.
 
@Rapptz Well, I’m mostly in Posix-land so same diff really :)
 
user1804599
1:32 AM
Keep separate things separated or else you end up with horribly complicated APIs and leaky abstractions.
 
More seriously I’m interested in the text stuff.
 
user1804599
Separating decoding and I/O is simpler and results in more reusable code.
 
@LucDanton Despite that being true in general, my mental mapping for binary files is different from that in text mode.
e.g. if I use binary read it's because it's in a specific binary format
 
@LucDanton I've seen that go both ways. I'd have to put in some serious thought to come up with a model I was at all sure was really good though.
 
The entire point of the language was to make formatting easier
 
1:33 AM
Yeah, me too. Different data really, no matter the representation.
 
user1804599
@Cinch use AWK.
 
If it's text then I'd find something similar to scanf kinda cool.
otherwise something like f.read(var) is okay
 
@Rapptz scanf may (easily) be the most under-rated function ever.
 
@Rapptz Would you hold it against me if I mentioned parser combinators?
 
user1804599
You can write a function that takes a file name and returns an object that has two members: an encoding and a stream.
 
1:35 AM
@JerryCoffin Yeah I agree. scanf is way nicer than std::cin IMO.
 
user1804599
But for fuck's sake don't add anything text-related to the stream API.
 
user1804599
It can perfectly live separate from it.
 
user1804599
The way you make it less obtrusive is called composition hth
 
I mean, the point was to be able to make it a scripting language of sorts...
And have efficient data extraction and encoding
 
@райтфолд Absolutely. You definitely want to ensure that a beginner can't deal with readable input or output until they've studied for at least a few years.
 
1:37 AM
i.e. I could have C++ register all the integral types with Mask and then bind functions to functions in Mask, and there we go.
 
@LucDanton Whatcha mean?
 
@Rapptz They’re sort of scanf-like, but with more type checking. I was mostly wondering if you had experience with them.
 
Oh you meant like e.g. Parsec
 
That’s what it stands for.
 
user1804599
My compiler makes vigorous use of parser combinators and has fewer type checks than scanf.
 
1:39 AM
It’s not a library about parallax arcseconds.
 
it just now occured to me. Why even bother with data locality if we can keep pointers contiguously and use the pipeline?
take advantage of*
 
You mean the instruction pipeline?
 
Ah fuck new languages I can do my same stuff in C already.
Fuck my ideas
 
at least your period of insanity didn't last very long
 
1:42 AM
@Rapptz I have nothing to offer people with a new programming language so whatever
 
yes
 
Puppy's case is terminal unfortunately.
 
rip in puppies
 
@LucDanton Not too much experience with them no.
 
Anyways, any tips for recreating the containers from std?
My professor is making us do this.
 
1:44 AM
Might as well kill yourself.
 
user1804599
lol
 
memory fetches with no much difference between them should't be much different than fetching and utilizing the next few memory locations
 
user1804599
good luck
 
@LucDanton Which one are you?
 
@Rapptz As a heads-up "%d, %d" can look like int <* comma *> int.
 
1:45 AM
Anything is better than std::cin >> my_int >> my_char >> my_other_int && my_char == ','
 
user1804599
Alright then.
 
user1804599
I need libffi.
 
@Rapptz yes, spirit ;)
 
If you could in >> ',' this all wouldn’t be that different.
 
it'd be an improvement
Not a very big one though.
Oh I don't have GHC on Windows.
 
1:50 AM
I found a PPA with 7.10 snapshots!
 
I see they still use the "over 20 years" tag phrase on the Haskell site.
 
Has it been 30 years already?
 
I just think it's silly :v
 
hi there have I missed any good fights
 
Some more gender war bullshit.
 
1:52 AM
@LightnessRacesinOrbit you start all of them, what makes you think you missed any of them ;)
4
 
yes but they were all between people you have plonked so you will never know :p
 
@Rapptz Oh, that reminds me: I think calling it that is not going to resonate a lot with us Yuro-types.
 
I'm going to use shared_ptrs for everything. I want to turn my brain off
What could go wrong
 
Everything.
 
@Borgleader fair pointy
 
1:53 AM
@LucDanton wot
 
@Rapptz actually?
 
@LightnessRacesinOrbit I'm serious.
 
huh did Bartek get cheated on
 
He's talking about cheating on the game jam.
 
1:55 AM
@Rapptz I’m serious. The 'war on X' thing flies over the heads of most of us I think. And on top of that it’s not exactly a neutral term, whereas you want to de-escalate the situation, yeah?
 
how's the marmalade going?
 
Oh right I was on the Haskell site to download GHC.
@LucDanton I'm not entirely sure what you mean by "Yuro-types".
I'm thinking it's a 'pun' on the word Euro.
 
Why, the proud people of mighty Yuropialand!
 
But that's not a gender.
 
@LightnessRacesinOrbit Read the first pinned message
 
1:56 AM
I don't see the correlation.
 
@Jefffrey whoops
 
I see they've separated downloads to "Haskell Platform" and a more minimal one.
 
If you can afford cabal I think the Haskell Platform is less helpful than it used to be. Dunno how that factors out on Windows.
 
I could just use Coliru
 
Not a lot of packages :s No parsec specifically, I wanted to showcase it not long ago
Feb 14 at 20:50, by Luc Danton
@sehe Lookie Haskell version!
 
2:00 AM
Well I've downloaded GHC.
 
I wanted to convince sehe that he could reuse his Spirit knowledge in Haskell.
 
It comes with cabal.
Neat.
It wouldn't be cabal if it didn't fail to install something.
Neat x 2.
 
That’s right!
 
@Rapptz now burn your computer
 
mtl-2.1.3.1 failed during the configure step. The exception was:
ExitFailure 1
primitive-0.5.4.0 failed during the configure step. The exception was:
ExitFailure 1
random-1.1 failed during the configure step. The exception was:
ExitFailure 1
tf-random-0.5 depends on random-1.1 which failed to install.
 
2:02 AM
sorry i forget that CAPS is shout. haha — coco minion 14 mins ago
 
@Rapptz Wait, do you Spirit? Because I might as well show you the equivalent C++.
 
I regex.
 
@Rapptz Are you using sandboxes?
 
The fact I have to worry about this is a failure.
I'm just bummed out that their relatively simple instructions failed
 
Feb 14 at 19:23, by sehe
@FredOverflow and here's how I parse boolean expressions in c++ /cc @Blob
what started it all
 
user1804599
2:04 AM
Nice, this is how you check whether a file exists in Perl: -e $f.
 
Anyway.
Back to C++ land.
Don't feel like fixing this.
 
rip in platform
 
ikr
20 more years
 
lol
 
I don't want to download Haskell Platform.
That thing is bloated as fuck.
 
2:08 AM
@Rapptz Is that the whole output?
 
@Jefffrey No.
 
I know but it doesn’t start with a 'p' otherwise.
rip in puns
 
I can’t really hold you on giving up. And I honestly wouldn’t know where to start helping you. Except googling stuff :s
 
ghc-7.8.3.exe does exist
I just checked.
It's not prefixed though.
don't feel like wasting time on this though tbh
I'm not sure why installing Haskell is harder than C++/Go/etc.
On Windows anyway.
 
2:12 AM
Lack of Windows hackers is the usual diagnostic. It don’t get fixed if there aren’t enough eyeballs on it.
 
re: scanf
 
I have like 63 commits on my github and they're all Update README.md...................
 
I remember making some very shitty prototype of type_safe_scanf_mini("%s, %s", args...)
 
eh, throwing on bad format strings is not my cuppa
 
@Rapptz Try using a sandbox
 
2:15 AM
I didn't work on it very long after that.
 
cabal sandbox init before doing cabal install
No, that's not the problem
 
Welp.
Back to being unmotivated.
I could play some Rebirth.
 
I am straight up ashamed of my code
 
Based on what you post here, you should be.
 
I wonder if I should see where this all leads though
@Rapptz Is the code I post here really that bad? eh, I'm kinda proud of how much I've improved in general.
 
2:21 AM
Design wise yes
 
Design is hard. Sometimes I feel that everything I try always has some fatal flaw in it that I don't catch early on but find out way later
 
@Borgleader It's somewhat odd that he did end up getting together with Mila Kunis IRL.
 
@Rapptz totally, that's just awkward imo
 
The fuck is this item
 
2:28 AM
A scroll?
 
Binding of Issac
?
 
Oh I see.
platinumgod listed recharge time of 4 and angel room pool so I didn't think it was that
 
how does the g+1 recommend work on android apps?
 
Dude.
Have you guys played Iji?
Old, retro-style game, but great story, writing, and morality system
 
Alright that run sucked.
What character should I pick for the next run
I have all of them, except The Lost.
 
2:34 AM
@Rapptz I recommend Batman. Or did you mean all of them from that game...
 
@chmod711telkitty whats the g+1
 
2:46 AM
Hey guys:
for copy constructor
should i check for:
(this == &rhs) or (*this == rhs)
address right?
 
Neither.
 
@Pris google plus I think
 
@LucDanton Wong, wong wong wong..............wong wong wong wong! You're wong. You're wong. You're wong
@Cinch Check for the first one
otherwise you'll get a const x != x error
 
@DonLarynx Did you notice this was for a copy constructor?
 
@LucDanton Did you
SquareMatrix::SquareMatrix(const SquareMatrix& m){ //copy constructs a size-by-size matrix.

	//in case copy constructor assigns to itself.
	if (&m == this){
		this->dimension = 1;
	}
	else{
		dimension = m.dimension;
	}
	int rowCounter = 0;
 
2:51 AM
A constructor does not assign.
 
@LucDanton T x = x so x tries to copy itself.............................
 
If you skip, you have default initialized members. If you don’t skip, you copy default initialized members. Neither outcome is useful.
@DonLarynx Which is a bug in itself.
and back to the point, it is not assignment
 
I am craving ice cream.
watdo
 
@Rapptz Mochi ice cream.
Chewy, sugarry, absolutely fusion.
 
Yes. which is why I said T x = x
should not be allowed in C++
 
2:58 AM
question: Why does my bool operator==(Foo, Foo) overload not work when I send it to std::cout like this:

std::cout << foo_a == foo_b << std::endl;

but it works if I put () around it?
 
I wouldn't mind some gelato, although I usually have gelato as dessert
 
@DonLarynx Well in a sense it is not, because it’s extremely likely to lead to UB.
When it is allowed it’s really a corner case rather than the norm.
 
@LucDanton That's even worse?
 
@Cinch Is it?
 
Yeah, what if I don't remember this rule or some newbie programmer decides to compile without -Wall or -Wextra?
Sorry, that's one and the same
 
3:00 AM
@Cinch That’s the same as std::cout << foo_b) == (foo_b << std::endl);. Presumaly there are no applicable overloads of << for the second call.
@Cinch Then C++ is not suitable.
 
@LucDanton Ah, so it is precedence.
 
the shit people post as answers
0
A: Why is the Function Returning an Empty String

kuroi nekoBasically you are trying to write into an empty string. When you create a std::string, no storage is allocated, so you are passing the address of a zero-length array to sprintf. Personally I think std::string stinks to high heavens, being verbose, inefficient and poor (it's 2015 and it still yo...

 
@Cinch yeah
 
@Mgetz From his profile:
> That makes me a big hater of the "one language does it all" approach, especially when it comes to the atrociously convoluted mess C++ allows so readily to produce, the eye-watering perl regular expressions, the JQuery goo oozing from a vandalized DOM, the CSS nazis lecturing people about their whims of fashion, an above all "practices", be them deemed good or bad
It's not that he's actually wrong in any way, just that he seems to be a bit of a dick about it.
Language hating rants are the worst
 
@LightnessRacesinOrbit which has no place on Stackoverflow
 
3:03 AM
@LightnessRacesinOrbit I hate Japanese!
 
@Mgetz Right
I edited it out
 
It's so freaking obfuscated!
 
@Cinch then you must really hate cryptography
 
@Cinch You racist.
 
@LightnessRacesinOrbit Is it really the language that does it all or the users?
 
3:06 AM
@LightnessRacesinOrbit TBH looking at his profile he seems to be such a fan of DSLs that I wonder how he actually gets anything done
 
@Rapptz It's always the language's fault. Always.
Tools should always be blamed for the actions of their users.
 
@EtiennedeMartel of course, because nobody's a dick... Really... I swear
 
I'm actually blue.
I racists am but?
 
You're racist because I say so and I am an expert in such things.
I'm sure @Rapptz can confirm.
 
@EtiennedeMartel You being racists-racist to me?
No I believe that everybody is a winner and all the races should stop
 
3:11 AM
But what about the horses?
 
@EtiennedeMartel They can trot happily into the distance as they do their final walk-away scene straight into the ocean
 
@Rapptz I certainly wouldn't say it "does it all", but it is undebatably shit :P
 
@LightnessRacesinOrbit most languages are shit, it just depends on how you like your shit to smell
 
@Mgetz No, it also depends on what color it is.
Don't you know that blue is bad?
 
@Cinch your avatar is blue...
 
3:19 AM
(but by that knowledge, Ruby would be bad because it's red. Does that means all Ruby programmers have anal bleeding?)
(wuh oh.)
Actually I wonder what color C++ would be.
 
@Mgetz if most languages were indeed shit, then we need to use butts to program them not our heads? :'(
 
Maybe C++ would just be constapated.
 
@chmod711telkitty given the code I see often posted to stackoverflow... I suspect many do
 
i always imagined that C++ was yellow
 
3:21 AM
@NeilKirk it's cowardly and runs away? or is full of bile?
 
@NeilKirk Purple
 
it's more on the bile side, now that i think about it
 
> consider upgrading to a web browser that supports HTML5 video
 
@melak47 try rendering that in the latest version of chrome? or just an older version of IE?
 
IE8 :v
 
3:25 AM
The declaration SquareMatrix& rowAdd(int rownum1, int rownum2, double multiplier = 1); allows a line like mySquareMatrix(2, 3.1, 5) to compile and run with warning C4244. it should be illegal; WTFFFFF
???????????????/
 
0
A: Reading floating point values from a file drops all or part of the decimal part

Andreas VennströmTry using std::setprecision(): cout << setprecision(14) << number << endl; You will need to #include <iomanip> If that doesn't solve it you should try debugging it and see what the number actually is (13212.13131 or 13212.1).

ffs sick of these
"my float only has 6 sig figs" "just use std::setprecision"
grrr
 
YAY I'M FINALLY DONE WITH Stack
 
@DonLarynx silly builtin types will convert around, deal with it :v
 
@melak47 sooo...first the T x = x bug...next the automatic type conversion....ok C++.
 
Im 15 and know what floppies are — Cole Johnson May 16 '12 at 14:14
 
3:34 AM
I wonder how many kids under 13 lie about their ages so they could get help on stackoverflow
 
@chmod711telkitty do u rily
 
@DonLarynx i'm 21 and what is this
"A FREAKING COPY CONSTRUCTOR!"
"ARE YOU 2 OR SOMETHING?!"
"yes"
 
heh
right really going now
 
@LightnessRacesinOrbit wat
 
@LightnessRacesinOrbit bye
have a nice time in the bathroom
 
3:37 AM
thats a good 1, r u drunkenigng?
 
who's drunkenigng?
 
@DonLarynx T x = x bug? wut?
 
Did someone remember reading something about preferring fold right instead of fold left? /cc @райтфолд
Of course when you have a commutative operation.
 
we all prefer leftfold over rightfold :p
 
@melak47 HIIINTTTTTTT initialize an object of type T to itself? wat?
Also, pass in vectors as R-references using initializer lists. std::vector < double > {0, 0, 0}
 
I'm so tiiiireeed.
 
Not exactly a recommended practice anyway, but not necessarily a bug either.
@Nooble I, for once, am not exactly drunk. but have had a glass of wine.
 
@LightnessRacesinOrbit 18 now.
 
What type are the eyes of a loser?
std::queue<Tear>;
 
@JerryCoffin That's not a user defined object.
But it's even more surprising.
 
4:14 AM
This morning, my pet chicken jumped on to my window. I thought she wanted a pat and did so. But soon after she did the same thing again. My mum said the chicken had acted very anxious and jumped on to the window sill a couple of times. It turns out, her younger sister was locked in the garage accidentally, and she was asking for our help :p
 
@chmod711telkitty Wow.
Intelligent chicken
Apparently I've been on SO for a whole year.
 
 
1 hour later…
5:55 AM
Beep.
 
6:27 AM
Is there no one here?
 
Yep. No one there.
Everyone's dead.
 
Damn it.
Well I suppose I can do my design document for Marmalade then.
Question: How many of us here can run linux?
 
Probably all of them.
 
okay.
 
@jalf: The 1s woman/link. She is a wimp that cannot stand for herself. She needs to up and be more assertive. Also anecdotal evidence. I'd rather believe the statistics that I have pasted links to yesterday. They show that pretty much as many women that get CS related masters degrees also get employed. IOW, I see no exodus of women from IT.
 
6:40 AM
@wilx Are you going on about?
 
Oh.
Well she's hurt, okay, that's fine, I just hope she has somebody to go to.
 
7:19 AM
Read her follow up post.
> If the message you took from my posts is that we should treat women special, please understand that you got it wrong. We should be making everyone feel welcome in tech. The experiences I described are just my personal examples of areas where we may be falling short.
 
7:35 AM
why is women in tech discussed in all chats as of lately?
 
^ x 2
coz dat = +1
|| +=1;
 
7:51 AM
@JohanLarsson God knows.
 
he never tells right?
 
@Rapptz Hey, I think I'll use Sol for the game jam.
 
Good luck.
@JohanLarsson Lol.
 
Xeo
@Rapptz did you have it in pre-rebirth mode?
 
No.
 
Xeo
7:59 AM
guess it's just outdated then
 
platinumgod.co.uk/rebirth check it out yourself
 
And I've decided the name of the game is Curses
 
Xeo
I had an amazing run 2 days ago, after rerolling my build for funsies.
 

« first day (1618 days earlier)      last day (3329 days later) »