« first day (1610 days earlier)      last day (3564 days later) » 

17:00
Why are MI examples always so complicated?
user1804599
@Jefffrey Because it's cumbersome to write it yourself.
Maybe, maybe not, but its still definitely not a bad C++ compiler
user1804599
Because every time you add a new source file, you'd have to manually add it to the Ninja file.
@Puppy What's the difference?
user1804599
And Ninja files are hard to make portable.
user1804599
17:00
@FredOverflow They're not?
I think I'll stick to Makefiles then.
@райтфолд you don't with pinkpill :P
The difference is that Ninja is not an end-user tool.
@райтфолд Have you seen the example in the linked video?
user1804599
@FredOverflow Yes.
user1804599
17:01
It's pretty simple.
doesnt ninja use python
user784668
No
user784668
Ninja is C++
well you need python to build it
iirc
Ok, so let me rephase my question: what's the most painless way of compiling an header-only source to executable?
17:03
You can't compile header files.
@Jefffrey #include
:p
@FredOverflow So I just compile main.cpp which includes the header it needs?
user784668
@FredOverflow g++ -x c++ foo.hh
@Jefffrey gcc
That... does not really make sense.
17:03
@Fanael Let me reformulate: Header files are not meant to be compiled.
If you're trying to compile a header to an executable, you fundamentally don't understand what headers are and how they're used.
@FredOverflow Yes they are.
No, header files are meant to be included.
If you include and compile and header file, you'll likely get multiple definition errors.
What are you talking about
If you have written code that you are not going to compile then you did not need to write it.
Or nothing at all, as the header contains no definitions.
17:06
Doesn't matter what file it's in
do new fangled languages like go and rust provide their own official built tools as well
user784668
yes
@Puppy They can
classes are often defined in header files.
user784668
Well, Rust did last time I checked, I don't know nothing about Go
17:07
See templates stuff for example.
and 90% of Boost
Which is not a compilable definition
can we coerce the standard working group or whatever to make one build system to rule them all?
Only an inline definition.
what
i.e. it never works
17:08
Lounge, where fuck semantics in favor of proving someone wrong.
7
it would if the working group made it official
@Jefffrey Because that only works for trivial things
@Pris Probably not. Standards work well when there's existing practice that varies primarily because there's not a standard--i.e., no major disagreement about how things should work, just lots of parallel evolution that's led to gratuitous differences. I don't think that's how/why build tools differ.
like currently compilers usually support their own half assed version of thread_local but now that its standard eventually everyone can write the same c++ code
@Fanael Oh yeah, it is officially part of the distro now.
user1804599
17:12
@FredOverflow have you ever used Dynamic in Scala?
user1804599
I had this idea.
@Pris ISO standards are also typically written to standardize existing practice, not invent new practice. Their inventing new things often leads to mistakes (e.g., export).
user1804599
proc f() {
foo:
    io.writeln("a");
    foo := bar;
    goto foo;
bar:
    io.writeln("b");
}
@райтфолд I don't even know the syntax.
user1804599
Output is a b.
17:13
Higher order goto? No wait, that would be passing gotos around.
user784668
@райтфолд Kinda but nor really like computed goto?
user1804599
Runtime-replacable labels.
@JerryCoffin Standards also work well when fragmentation is a notable problem. Its in the best interest of c++ tool providers to have some common ground with build tools, because as someone who is deciding whether or not to work with the language, ease of building might be something that affects my decision
I agree that its unrealistic though :[
user1804599
@FredOverflow var x: Dynamic
user784668
@FredOverflow GCC has that as a C and C++ extension.
user1804599
17:14
It's like dynamic in C# but slightly different.
@Fanael Can you goto labels in other functions? :-)
user784668
@FredOverflow Probably UB
user1804599
@FredOverflow lol the using example
user1804599
Badlets who don't implement AutoCloseable.
You can't forbid people from making new tools if they feel existing ones are shit
user1804599
17:17
user1804599
lol
@райтфолд Excuse me while I go puke.
user1804599
Based on macros.
@райтфолд Three paragraphs into the readme, and I still don't know what this project is even about.
17:19
Are GPUs general enough so that massively parallel compilation on a GPU would make sense, i.e. write a compiler that runs on a GPU?
user784668
GPUs hate branches
@FredOverflow A compiler wouldn't run particularly well on a GPU (<--understatement).
huh... there's no faq questions dealing with 'unit testing'... that's... worrying...
@thecoshman how hard is unit testing?
screw testing #yolo
3
17:21
:|
user784668
Honestly, I'd first write a compiler using AVX instructions only.
@Pris #include #yolo #livinglikelarry
@Blob vOv depends
a framework should make it easy, and knowing what you code should and shouldn't is (imo) required.
i have this problem where i write shitty code, commit, find a bug, fix it, find a few more bugs, and refuse to commit until i fix everything. the repo is currently fucked up but my version slightly works
i need to move from PLY to my own custom parser to fix all these bugs
it can be hard to take some function written long ago and test it properly, especially when there is domain knowledge involved.
@Blob easy solution, don't write shitty code.
so, CxxTests, recommended?
17:24
@thecoshman i have a feeling i'll scrap everything i've written so far when i finish my lexer/parser
@Blob scrap it now
shit breads shit
@thecoshman i've stopped working on it. the lexer/parser is a different project.
@blob hey how u been
@Steve hey Steve
do you have firefox
17:25
@Steve yes steve
the long you let one shitty function live, the more shitty functions start to depends on it. and before you know it, you can't get rid of that shitt function because toomuch depends on it.
can you do me favor
@blob
what?
ccloud.us/musicc
17:27
@Borgleader Ahh yes. Glorious gif.
can you go here and see if the social icons shows up
it suppose to look like this
thanks
my godzilla isn't working then haha
Godzilla?
long story hahha its from work
17:29
The flash monster?
i was working on one customers computer and this was way back before chrome was out and his IE was acting up so i installed firefox on his computer and this is word to word he told me he doesn't want no godzilla on his computer hahah
You should've given him Ultron then.
NASA uses it, so it has to be good.
hahah
ultron?
never head of that
Yeah.
Google Ultron.
It's like Google Chrome, but a build that NASA uses.
Powered by Adobe Reader.
psst its not serious
17:34
looks scam
Ugh almost 19
user784668
@CatPlusPlus Wow you're old
brb let me reset godzilla
@Fanael Maybe he means it's almost 19:00
user784668
17:36
@Nooble Fuck your common sense.
@CatPlusPlus (sshhh it's a secret)
@Fanael :P
Original joke hour
user784668
@CatPlusPlus Every hour?
Never hour.
@Steve Ultron, unlike other browsers, is made to function in zero-gravity without any errors. That's why NASA uses it in space.
when assembling a computer, do you manually connect usb ports to something with wires or crap?
user1804599
17:44
@FredOverflow It's about running Scala code on GPUs.
@Blob No... Your motherboard has USB ports.
@Blob lol no
Ports are hardwired to the hub
@Blob Only the front USB ports.
@Blob Only if on the case
@Blob Assembling a computer (desktop) is easy.
17:45
Well, yeah, front ones aren't
If it's on the case, you just use one of those male to male connectors.
Front ones are also unlikely to support USB3
Unless you buy a case that doesn't suck.
Mine has two USB3 front ports.
user1804599
So for exception specifications.
17:46
I have front port with USB 3.0. Do I get the cake?
Or you can not spend 300€ on a case and place your computer in a way that makes the back accessible
You can get excellent cases for $100.
@CatPlusPlus This is the build I sent @Blob, it supports 1 USB 3.0 on the front.
user1804599
func map(xs, f)
throw from f (* allows only exceptions from calls to f to be thrown *)
{
    …
}
17:47
@FredOverflow I have a Define R5 <3
user1804599
No idea how to implement this.
Then don't?
user1804599
I guess I could make it inspect the call stacks of exceptions to look for f.
so im back @Blob works thanks
gozillaa saved my life haha
user784668
Who's Steve?
17:48
No clue.
@Nooble I have an R4.
@FredOverflow :)
@Fanael Mine and @Jefffrey's boyfriend
3 mins ago, by FredOverflow
gay
user784668
17:49
@FredOverflow I have an R8.
You just made that up, didn't you?
@Nooble it's not gay if it's in a 3-way
@Fanael That's an expensive car.
@Blob Well, one of you would have to be female.
user784668
The Audi R8 (Typ 42) is a mid-engine, 2-seater sports car, which uses Audi's trademark quattro permanent all-wheel drive system. It was introduced by the German automaker Audi AG in 2006. The car is exclusively designed, developed, and manufactured by Audi AG's high performance private subsidiary company, quattro GmbH, and is based on the Lamborghini Gallardo platform. The fundamental construction of the R8 is based on the Audi Space Frame, and uses an aluminium monocoque which is built using space frame principles. The car is built by quattro GmbH in a newly renovated factory at Audi's 'aluminium...
@Nooble steve's a female to me<3
user784668
17:50
And yes, I did.
@LightnessRacesinOrbit Download Google Ultron already.
It's the only browser that works in zero-gravity.
user784668
@Nooble But will it blend?
@Steve HI STEVE
user1804599
I know how to do it!
17:52
@Fanael Ask the developers.
@Jefffrey WHO IS HE
Steve
user784668
@Nooble Slippy Steve
An old friend.
@Jefffrey "friend"
sure
So I'm writing C++ and I'm astonished by how terrible I am at it.
3
17:54
It's not your fault. It's C++.
But am I better?
nooble, can the thing run games like Chivalry: Medieval Warfare decently?
i get like 8fps in that game
@Blob It's an R9-290
Of course.
this seems unbeiievable
It'll run it at maximum settings 1080P at above 60FPS.
It's not.
AMD cut its prices
17:55
my crap cost more and it's worse
user784668
Why is self-depreciation always heavily starred?
Yes.
@Fanael No clue.
@Fanael because we can all relate to it
Nooble is the best koala
@Nooble i feel you
17:55
@Jefffrey I know them fels :P
@Blob Since AMD cut it's prices to prepare for the release of 300 series GPUs.
Also, because of DDR4 release and X99.
i hope i don't fuck up when assembling it c:
You won't.
i have no clue how desktops work
user784668
It's hard to screw up assembling PCs.
17:58
So you have a motherboard, you put it in a case, and you put everything on the motherboard.
user784668
Even I managed to do it correctly several times.
And then you put the CPU cooler on top of the CPU.
@Blob Gravity and friction. Most objects, (like papers, phones, pencils), can be put down on the desktop and will stay there.
Should I be concerned about
> The Fractal Design Core 1100 MicroATX Mini Tower Case supports video cards up to 350mm long, but video cards over 170mm may block drive bays. Since the XFX Radeon R9 290 4GB Double Dissipation Video Card is 295mm long, some drive bays may not be usable.
@Blob No, just remove the top bays (they just click off when you press the release switch)
17:59
Maybe I should do some drawing instead of programming.
It's not like you're going to be using 8 HDD's.

« first day (1610 days earlier)      last day (3564 days later) »