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

3:02 PM
0
A: C++ beginner project ideas

szulakHere you go! I am pretty sure you can pick something for you :)

shows 200 projects, OP says "he can't see it very well"
 
I never understood why people find !(NaN == NaN) to be surprising. NaN isn't a number: it's, literally, not a number. How could it ever numerically compare equivalent to anything? This fact makes perfect intuitive sense! — Lightness Races in Orbit 28 secs ago
@DonLarynx that was so funny
@DonLarynx I linkified it to a larger version now
at first when he replied "those are too hard for me" I thought he was referring to the answerer's suggestion to open the image full screen in a new tab
 
These are really good ideas actually
 
user1804599
% build/bench.out --reporter=html --output=~/temp/foo.html
PANIC: clock is on fire
  ios_base::clear: unspecified iostream_category error
 
fucking hell Idris, give me reasonable error messages - I feel like writing C++
 
> You can have anything in one side and anything in the other side, so nothing guarantees that both are equals.
 
3:09 PM
@ScarletAmaranth Warning: insanity detected. Shutting down computer for your protection.
:-)
 
@Nooble Nature is wonderful isn't it
 
Can't convert String with String - thank you Idris, I see now
 
@ScarletAmaranth lol
 
I don't even know what it means - convert x with x? what :-\
 
3:20 PM
@LightnessRacesinOrbit yeah...add 2 expletives here.
 
@wilx I don't think we were talking about being dicks to each others. And does it really matter whether the wording is "you're a wimp" or "be more assertive" or "man up"? It all boils down to the same thing: the people who feel unwelcome or driven out are doing it wrong. It doesn't matter though. My errand with this isn't to objectively prove you wrong. It was simply to point you at some resources, because you said you weren't aware of this issue at all.
 
truth be told women would die without socialness
 
But at least you don't make sexist sweeping generalisations.
 
@LightnessRacesinOrbit women that don't socialize are not happy creatures LRIO
 
Evidently you have no idea what you're talking about.
If there are happy men that don't socialize, then there are happy women that don't socialize.
 
3:22 PM
@wilx if you don't give a shit about whether or not it's a real issue, that's on you. If your level of ambition is just to argue with me, then hey, congratulations, you win. That's ok. For me, I'm more concerned with the fact that (1) women are underrepresented in our industry, (2) anecdotally, the women that do exist in our industry seem to feel unwelcome. I want that to get better. You want to convince yourself that it's a non-issue. We just have different ambitions. shrug
 
Don't you give me that gender roles bullshit.
so hungry
 
Also, I'm not especially interested in continuing this discussion with you right now, but if we do, could we perhaps quit it with the ad hominems? The whole "how typical of you" and "are you really that retarded" and whatever else you've thrown at me gets kind of tiring. If you want to debate me and all my flaws, I know there are plenty of other people in this room to do so with. You don't need me for that
I actually suspect that involving me in that discussion would just put a damper on things. I can think of at least two people here (not including you) who'd have a hategasm just from the thought of being able to discuss how bad a person I am.
 
user1804599
Ok, so how to convert stack-machine language to SSA.
 
user1804599
I think I will loop over the instructions and keep a stack of llvm::Value*s during translation.
 
3:54 PM
6 minutes until the Marmalade!
 
wait what
 
6 minutes.
 
I thought it was 5pm UTC
 
Oh you might be right.
Damn DST.
Oh god DST is going to screw up the timezones
 
What the...
Why doesn't ByteString have a way to replace a character in the string.
 
3:57 PM
Is there a mumble for the marmalade?
 
user1804599
@Jefffrey Because byte strings are strings of bytes and not strings of characters?
 
Then why can't I replace a Word8 in the ByteString by their position?
 
user1804599
It's like complaining you can't replace a Zombie in std::vector<Player>.
 
user1804599
LLVM's ArrayRef is cool.
 
user1804599
It's like std::string_view except for array-like structures.
 
4:01 PM
a.k.a. range
 
user1804599
Only if your definition of a range requires contiguous storage in memory.
 
Only shit this is so stupid
 
Well, it is a kind of range
The same way random access iterator is also bidirectional iterator
 
user1804599
void visitReturn() {
    builder.CreateRet(stack.top());
    stack.pop();
}
 
user1804599
Awesome!
 
lol
 
user1804599
Alright, so I will add a counter to subroutines to indicate how many times they have been interpreted.
 
user1804599
When it hits 10 I'll put a JIT compilation task on a queue which when done sets a function pointer on the subroutine.
 
welp
 
user1804599
4:08 PM
That should work.
 
went out to buy a new pan and dropped it off the shelf, smashing the lid on the floor
 
user1804599
That's a waste.
 
I didn't really want the lid that much.
fortunately.
 
how broken is it?
 
Just the lid.
 
4:10 PM
@Blob Smashed to pieces all over the shop floor.
 
lol Puppy can't even pick up a pan off a shelf without breaking everything then making excuses for it
 
:|
 
I mean, most lids are made out of glass, so you can assume it got shattered.
 
Not all lids are made out of glass.
 
I never actually considered what they were made of but I would have guessed high-strength plastic personally
 
4:12 PM
@LightnessRacesinOrbit But see-through lids are superior.
 
@Nooble Apparently not
3 mins ago, by Puppy
went out to buy a new pan and dropped it off the shelf, smashing the lid on the floor
 
:P
 
well, strictly, I observed that a different pan had a warning on the bottom talking about what kinds of hob it was suitable for
so I was checking the bottom of this pan, and they're stocked so that the lid is placed upside-down inside the pan.
 
@Blob Your rep is a power of two, nice.
 
lost my grip on the lid as I was turning it over
coulda just taken the lid off first but I was thinking more about how big the pan was rather than such trifling matters as ensuring I didn't break it
 
4:14 PM
@Nooble was 513 a week ago but i downvoted an answer
 
tactical downvoting, I approve
 
no
the answer was genuinely bad
 
you suck.
don't ever say that to me again or I shall disavow you.
 
:C
 
only ever downvote posts for your own benefit
5
 
4:17 PM
@Blob Good work
 
Coliru doesn't support carriage return?
:(
 
how is it unsupported?
 
Well, when you use carriage return and print, it prints on a new line.
Or I'm being stupid.
 
@Nooble Puppy's isn't.
 
@Puppy Here.
 
4:19 PM
@LightnessRacesinOrbit that must hurt. a lot.
 
frankly I'm surprised that works, since nobody gives a shit about \r newlines anymore
 
@Puppy How else do we erase lines on console?
 
you don't.
 
@LightnessRacesinOrbit no
i mean, the tattoos
 
4:21 PM
@Blob ah.
well, like I said
BURN
 
just don't output lines you don't want to output.
 
@Puppy Sometimes you want to update text on console though, like percentages of something you're loading.
It's definitely not necessary, but looks neat.
 
Standard output is a stream. Not a console terminal.
 
that's not really what a console is good for.
if you want to do that stuff, you're talking about something that is not really stdout.
 
Use a console API for that stuff.
 
4:24 PM
auto F = [](auto a) { return a; }; // what is the type of F
?
 
It's some type.
 
i want to use explicit type for F
 
Ncurses looks nice.
 
You can't.
 
i need to know the ytpe
 
4:24 PM
it's an unspecified type
 
@ScarletAmaranth ?
why ?
 
@amin The type is anonymous. You can only get it with decltype(F).
 
You don't need to know the type.
 
i want a variable in a class with this type ... is that possible ?
 
@Nooble It looks like you wanted to build a GUI but couldn't figure it out.
 
4:25 PM
Pretty much no.
 
@amin Only if the class is a template which accepts that type as the template argument type.
 
(Technically it is but not worth the effort)
It's also quite useless.
 
@Puppy class Test { auto F = [](auto a) { return a; } }; // ERROR
 
yes, I know.
 
@Puppy so the above code is not possible at all ?
 
4:26 PM
@Puppy If it's a small program, I'd rather not go through the hassle of making a GUI. Anyway, I'm looking into ncurses.
 
You cannot do what you want and if you could it would be worthless.
 
there's little purpose in such a class at all, as you could just use a template member function.
 
Tell us your problem.
 
@R.MartinhoFernandes TY
 
Forget the lambda.
 
4:27 PM
one doubt, as derived class's constructors are used to initialize parent class's object. Does the argument order matter? If I want to initialize parent object with derived class's constructor should i pass those as first?

Suppose,

Parent(const string &, double ) {}

Child(const string &,double , const string &, double ) {}

Does this order matters?
 
user1804599
Is it question hour again?
 
@R.MartinhoFernandes i just wanted to know if its possible or not ... thankx
 
user1804599
@R.MartinhoFernandes thank you for creating Nonius.
 
Running out of battery.
 
@amin Just write a function.
 
4:28 PM
@milleniumbug i will :)
 
user1804599
@Puppy do you know by any chance whether llvm::ExecutionEngine::getFunctionAddress is expensive?
 
@райтфолд It should be pretty cheap.
I never had a reason to measure, but it should be very cheap
the MCJIT has to do all the heavy lifting when you call finalizeObject and from memory, getFunctionAddress basically just looks up the address in a hash table and that's it.
 
@androidplusios.design "Doubt" doesn't mean what you think it means, dude.
 
user1804599
Hmm, it acquires a lock.
 
@LightnessRacesinOrbit you tell 'em
 
user1804599
4:31 PM
Oh well, w/e. Will optimise latør.
 
@LightnessRacesinOrbit don't confuse me please come to the point :)
 
@androidplusios.design I need want none confuse, but very maybe one can speed me to fast?
If space is nothingness, how can we measure the distance between planets but how speed they fast each other?
 
space isn't nothingness at all.
vaccuum energy, space dust, dark matter and dark energy
it's fucking full of shit
 
@androidplusios.design whaaaat?
Either you're confused or I'm confused.
 
@androidplusios.design I am trying to unconfuse you.
 
4:35 PM
@Puppy It's a quote from a livestreamer.
I don't actually think that space is nothingness.
I recall he was really drunk when he said that.
 
so, i wasted all of yesterday dualbooting Win7
 
@LightnessRacesinOrbit and what you think according to me what a "Doubt" means ?
 
any game recommendations?
 
@LightnessRacesinOrbit It is, considering that CS basically consists of maths already.
 
4:37 PM
@Blob try battlefield hard line
 
@androidplusios.design According to you?
 
@androidplusios.design It represents a similar concept but you are using it in the sense of a question to ask.
 
@Blob KSP, Starbound and FTL
 
@androidplusios.design Oooh I participated in the closed beta for that.
 
@Puppy i failed KSP. i could go to the moon but never was able to return
 
4:38 PM
Keep trying!
 
@androidplusios.design "I have a doubt" is grammatically valid, but very strange to use in a "I need to ask a question" sense because it does not represent an uncertainty between multiple known options, but a disbelief in a previously stated assertion.
 
I haven't played in a while.
 
@Nooble that's cool
 
@Blob Then play it again :P
 
does it.. require a graphics card?
 
4:38 PM
@androidplusios.design I believe that this is an Indian English phenomenon.
 
@Puppy should i invest time/money on an orbital mechanics book?
 
a bit like how you guys say "click" instead of "photo"
 
no.
 
@LightnessRacesinOrbit i was just wondering how precise and to the point you are
o_0
 
@Blob I think you need to crash more things into things.
 
4:39 PM
@LightnessRacesinOrbit "click" instead of "photo"? that's a thing?
 
@Columbo It means CS with a separate course of non-CS Maths alongside it. Nothing funny about it.
 
if you get stuck in KSP
 
just post a picture of your rocket
 
@Nooble Currently playing Halo 4 and kicking arse
 
4:39 PM
and I'll tell you what the problem is
 
@androidplusios.design Extremely!
 
ok c:
 
@LightnessRacesinOrbit I accidentally replied to you :P meant that one for Blob. Also, I never tried Halo 4 :(
 
@Nooble It's ace. But pray you never have to play against me, cos I'll wipe you out son
ain't no koala got no chance on halo 4
 
@LightnessRacesinOrbit My hitbox would be too small.
 
4:41 PM
true
 
I am playing Call of Duty advance warfare, watch dogs and far cry 4 now.....watch dogs developers has done really nice work with algorithms .... :( how every camera can be hacked with a mobile phone...and every camera of the city is linked to other camera O_0
 
@Blob You should try out The Stanley Parable.
Super fun.
 
@Nooble i have.
 
Good.
 
@Blob Valiant Hearts, Chaos Reborn, Sunless Sea, XCOM
 
4:45 PM
@LightnessRacesinOrbit Fuck you for that annoyingly accurate summarization.
 
@Columbo Fuck you for being welcome.
 
@LightnessRacesinOrbit I'm fucking welcome, fuck it.
 
@Columbo Watch your fucking language.
 
Stop fucking using that fucking word, I fucking hate it so fucking much.
 
---------________________------------
 
4:47 PM
no
@BartekBanachewicz: pingpong
 
@androidplusios.design Is that a whale?
 
do you guys already have an idea what game you're going to make?
 
it's just some dashes, some underscores, and some dashes
@AndyProwl Not really.
 
@Blob my reaction when you all were using those words
fuck and all
 
oh no, some dude on the internet used a mean word?
 
4:51 PM
@Nooble
 
fuckitty fuck fuckballs fuckshitballs shitting fuckfaces
3
 
wait, when did i say "fuck"?
 
@Puppy How rude.
 
he did not imply that you did.
 
Someone should make a game where you have to stop marmalade jars from falling off shelves and being replaced by crappy jam substitutes, by entering the right sequence of action commands at the right speed.
 
4:52 PM
@Blob sorry i was saying that to Nobble
 
@Nooble You just totally ruined it.
 
Fixed.
 
Also, what the hell are "themese"?
 
@Blob nowadays every game require graphics card :(
 
@LightnessRacesinOrbit A language.
 
4:53 PM
flaggots lurking
 
@LightnessRacesinOrbit A language.
 
how the hell did you post that twice
 
I have no clue.
 
@Puppy those damn internet dudes, always saying fucking mean words
 
SO stops you from doing so, normally
 
4:54 PM
@LightnessRacesinOrbit A language.
 
@LightnessRacesinOrbit It told me it wasn't sent, so I clicked to send it again.
 
hmm
 
And then it double posted, weird.
 
4:54 PM
ah that's right
 
given "I broke the", my phone immediately autocompletes "law"
 
I couldn't post it twice
 
@Puppy Your phone knows you're a law breaker.
 
@Puppy smart phone
 
ok
5 minutes right
 
4:55 PM
Is there a marmalade specific room or something
 
making one
 
@BartekBanachewicz itsalmo.st/#marmaladetime
It's a countdown timer.
 
@Nooble so cool
gaah lemme get everything set up
why there's a pipe wrench on my desk
 
It loves you.
 
man I get such monstrous ear hair nowadays
 
4:57 PM

Lounge Game Marmalade

Don't spam the lounge; don't be afraid to post screenies. Have...
6
 
@LightnessRacesinOrbit so you shave them ?
as well
 
Bartek for Lounge Game Marmalade room owner
4
 
5:12 PM
@puppy, you disappeared after my long winded explanation for why LLVM governance sucks
 
I do have other shit to do you know
 
@Puppy I know I just wanted to see if you read it
@Puppy i think its an indictment of BSD software development to be honest
@Puppy I used to think RMS was a crazy idiot but now I see a lot of his points more clearly
about how the possibility for private corporate forks is what keeps BSD projects from being governed in a communal way to the degree GPL ones are
(I still think GPLv3 is a stupid overreach though)
 
let's try here
how do I delete a repo from GitHub?
ah, found
finally
 
@AndyProwl Click the delete button? :D
 
@jalf Wasn't all that easy to find! :D
 
5:18 PM
@AndyProwl the repository "settings" page was hard to find? :D
 
Cuture clash in the club:
"Well, from my initial impression, the reaction of the fans in the stadium, the slomo replay and the referee's decision, sure, Gerrard shoud have been given the red card". "Fuck off Stokie bastard".
 
@AndyProwl sorry, just being snarky :)
 
@StephenLin Yeah! :P
 
@AndyProwl haha ok fair enough :)
@AndyProwl am I misremembering or do you do GCC development?
@AndyProwl like contribute to the compiler
@AndyProwl i've been an llvm contributor, joined Apple, and just decided to leave...and i'm a bit disillusioned with team BSD as a result of seeing how Apple treats its open source projects
 
Andy getting turbo-pinged :P
 
5:26 PM
@StephenLin No, unfortunately I suck at compilers in all possible ways :P
I was planning on doing some Clang hacking for a proposal I wanted to write
but never found the time to get started
 
@AndyProwl ahh, who was on SO that was part of GCC dev? I know Jonathan Wakefield but i think he's more of a library guy
 
Jonathan Wakely
Yeah he's the stdlib maintainer
 
ah my bad on his name
well, do you remember there being an core gcc devs active on SO?
i kind of wanted to turn over to the "light side" (at least, to people like RMS who consider it a holy battle) and try contributing to team GPL
i've just heard that the GCC code base is super hard to get into
 
@StephenLin Nope, I don't think I know anyone on SO
(doesn't mean there isn't anyone though)
 
ah ok
well, anyway, if anyone has remembered things i've said in the past about RMS
about him being a smelly and naive neckbeard asshole
then consider this a mea culpa :D
he's got a point
 
5:34 PM
What did Apple do to you? :p
 
no it's fine
i just mean, it doesn't fit within my ideals
i thought i was being paid to do open source stuff
 
@LightnessRacesinOrbit What's the logic behind censoring everyone's name apart from the person who actually made the photo? Is the profile public? But then what was censoring about in the first place?
 
whereas i was paid to do closed source stuff and pretend that open source commits were made for their own benefit
instead of just being fig leaves
to hide closed source secret sauces
 
Also, how come you even saw that ugly shit and decided to comment on it?
 
and the problem isn't just Apple, I think it's really inherent in mixing the BSD license freedoms with pointy haired bosses
you just can't keep human nature from wanting to keep things secret
without legally requiring otherwise
so, if RMS is out there reading this somehow, i deeply apologize for all the mean things i've said about him over the years
 
5:37 PM
@StephenLin There's still a lot of awesome open-source stuff in Clang though. Seems kind of a win-win for me. The corporate closed-source guys get some cool technology, sure, but so do the rest of us. We get modular library-based Clang, instead of crufty monolithic GCC. I'm not convinced that accepting inferior tools solely to spite closed-source corps is a worthwhile trade
 
@jalf I'm saying there's a reason that competition between the camps is good
@jalf and that the GPL-its have a point in the danger of closed forks
Clang is a good product, but mostly because it started as one and mostly because of how amazing of a developer Christ Lattner is
 
@StephenLin sure, but RMS's philosophy was actively holding GCC back. It wasn't a matter of a lack of competition, it was that he didn't want GCC to get better in certain ways. Because then closed source corps etc could also benefit from it
 
but he's more of an Apple company man now than anything else
Chris that is
yeah i know, RMS is still over the top
but you need people over the top
to represent the pros and cons of the extreme position
as archetypes
 
maybe
 
i'm not saying BSD > GPL or GPL > BSD, more that you need competition between the two to keep either from stagnating
anyway, the absolute truth is that most contributions at Apple to LLVM or Clang are fig leaves
to hide secret changes and keep internal forks building, etc.
i would assume it's the case for all the big corps contributing to llvm
the technical reviews are mostly a charade
 
5:41 PM
@StephenLin Probably. But what does get contributed is still fairly substantial
 
i mean, people do discuss the technical stuff, but lots of times something is shot down because of one company or another's vested interests that they don't want to say or make explicit
oh yeah, it works well enough, but i just mean i want to be on team GPL for awhile
 
:)
 
because both sides need some fire beneath their boots
 
Does it have to be either or? Couldn't you contribute to both? :p
 
and right now clang is getting a bit too comfortably ahead
 
5:43 PM
heh
 
haha well
 
anyway, I've got to run
 
i also have reason to dislike Apple
for personal reasons
so it's a bit out of spite
 
hah
 
they wouldn't let me stay with them and move to nyc
 
5:44 PM
Seeya
 
i wanted to just keep working and remotely, which is totally doable practically
they were asses about it and didn't let it happen
 
user1804599
Awesome!
 
bye
 
user1804599
std::function is great.
 
ok i'm finished
where do i submit?
wrong lounge
 
5:58 PM
@Blob You submit to your rightful ruler and....oh wait. Wrong kind of "submit", perhaps.
 
@JerryCoffin do you contribute to GCC at all? I'm under the impression someone on SO that goes by their real name does
@JerryCoffin not Jonathan, since he's a lib guy
maybe i'm misremembering
 

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