« first day (1018 days earlier)      last day (4156 days later) » 

user142019
21:00
@MooingDuck Ask @Mysticial for the screenshot.
Xeo
Xeo
You can't see deleted comments unless you're a mod.
Well that's what the original expression does, so that's why that's the result. :P
Xeo
Xeo
I guess.
Equational reasoning is awesome.
are questioners pinged when someone posts an answer?
Xeo
Xeo
21:01
I think my problem is that I'm somehow trying to make sense of the "partial composition" from (f .) ... WAIT, okay, everything makes sense.
okay, iOS 7 beta 4 installing
Xeo
Xeo
@MooingDuck Yes
@BartekBanachewicz if you don't mind me asking. why should i use Lua? like what do you like about it
@Xeo That's just a section.
Third step.
@EiyrioüvonKauyf It's a very simple, small and fast language, but whilst having that 3, it doesn't sacrifice productivitiy, it allows implementation of powerful features and is easily embeddable in other languages.
Xeo
Xeo
21:03
(f .) expects an unary function. The . g part after that partially applies g on invocation and passes that to the "incomplete composition".
@BartekBanachewicz are the libraries good?
@EiyrioüvonKauyf Lua uses mostly adapted C libraries.
Xeo
Xeo
Thanks a lot @Cat.
@BartekBanachewicz similar runtimes to C?
@EiyrioüvonKauyf "runtimes"?
21:04
speed? also how does it do big numbers?
speed depends on usage, obviously.
I guess you could just do (f .) . g ==> \x -> (f .) (g x) ==> \x -> f . g x.
@EiyrioüvonKauyf there's no language support for extremely big numbers.
I went all-in.
Xeo
Xeo
@CatPlusPlus Yeah, that's what I was concluding just now.
21:05
It's the same as (.).(.), btw.
Xeo
Xeo
@CatPlusPlus I heard that boobies work there, but I never bothered to find out how.
@Xeo I am really wondering what's so amazing in this, except it looks like a mathematical expression
@BartekBanachewicz which implementation would you recommend?
@Xeo The end result is exactly the same.
@EiyrioüvonKauyf what would be desired use case?
21:06
\x y -> f (g x y)
Xeo
Xeo
@CatPlusPlus Yeah, since it composes the composition. I get that now.
Ell
Ell
@DeadMG even when using all of the libs specified by llvm-config I still get a load of undefined references. I'll google for a while
@BartekBanachewicz i have no clue what i'm doing; could you tell me what i should be doing if i use $(x) ?
Ell
Ell
Wait, do I need to set LD_LIBRARY_PATH?
Xeo
Xeo
@BartekBanachewicz I like to understand how and why stuff works. I didn't for (f .) . g before. Now I do.
21:06
@Ell Not sure.
@Xeo what does it really do, though?
Composes a binary function with an unary function.
It is a mathematical expression.
@EiyrioüvonKauyf Well I dunno, standard implementation is usally ok
Xeo
Xeo
@BartekBanachewicz Normal composition only works on unary functions.
But you sometimes want more than one argument to the first of a pipeline of f . g . h
What is so much better with Haskell compared to conventional programming languages?
Xeo
Xeo
21:08
This allows you to do exactly that.
Can you map Haskell to a massively parallel automatic computer like a GPU?
Ell
Ell
@Nils pure functions, strong type system with lots of inference, idk
@Nils :lol: at "automatic"
Ell
Ell
I think pure functions makes parallelising stuff easier maybe?
21:09
You can derive it going the other way around. (.) requires unary functions, but you can make an unary function out of binary with currying by applying only one argument, therefore f . (g x). Make x an argument, and poof.
@Ell The example for llvm-config shows setting the ldflags as well as just passing the libs.
Xeo
Xeo
6 mins ago, by Xeo
(f .) expects an unary function. The . g part after that partially applies g on invocation and passes that to the "incomplete composition".
As I said, partial application.
user142019
@Nils It's pure and has a great type system.
So mainly purity and an even stronger type system.
Cool
Ell
Ell
@DeadMG tried that too
21:10
@Xeo Yeah, but that explanation is kinda convoluted. :P
Xeo
Xeo
@CatPlusPlus 'scuse me
btw you can extend this for n-ary first function, by appending more boobies.
Xeo
Xeo
yeah
I understood that before, but I was missing the base case
@Ell Well, I got more questions. For example, llvm-config --cxxflags has -f-no-rtti on it's list of required flags, but Wide depends on RTTI. I think it's time to open a question.
Why can I automatically convert different typedefs for.. lets say int?
Xeo
Xeo
21:11
What?
A typedef is an alias.
Not a new type
@Nils C++ is not Ada
@Xeo I want strong typedef =[
Xeo
Xeo
typedef int foo; foo x; // x still an int
@Nils You can map code on any language into parallel automatically, if it can be parallelized. But trying to map every type of code is extremely hard.
user142019
@ThePhD You want Go.
21:11
@rightfold Or the D.
@Xeo was that also the case in C?
Xeo
Xeo
@ThePhD Specify how they should behave, write it up in a nice proposal and present it before the committee in Chicago in September.
user142019
@Nils Yes.
Xeo
Xeo
@Nils Yes.
@rightfold or Ada
21:12
ah go has a strong typedef?
Xeo
Xeo
Ugh, chat's rate-limiting is getting to me
Noooes! Windows 8.1 borked the Pixel City screen saver.
Well now it's too late to ask Dennies Ritchie anyways :(
Haskell has array and list fusion. nuff said.
Ell
Ell
21:12
@DeadMG Yeah. I didn't try --cxxflags actually, because I didn't know how to add those things to the makefile :3 I just added the defines & include directories
yeah go looks great
Ell
Ell
I guess I should try -fno-rtti and stuff first
rust also interesting, but still very early
@Xeo typename strong_typedef<T>::type NewT; <- possible, aye?
user142019
@Nils In type foo int, foo is a new type. Convert using foo(someInt) and int(someFoo).
21:13
@Ell Just add "`llvm-config --cxxflags`" to the build options.
but I don't know how this can possibly work, because Wide requires RTTI.
Xeo
Xeo
@BartekBanachewicz Sure, but a bad imitation, just as "properties" are.
Properties q_q
I love that I can do git pull & make and newest terra lands on my disk
lol, except it didn't compile
@rightfold great to see that they fixed this
> Solved by rebuilding glibc and linux-headers
~linux~
Ell
Ell
21:18
@DeadMG It couldn't find the LLVMMBlaze libraries, I have to manually add /usr/lib/llvm-3.0/lib/ to the library path - which is interesting actually, because that is my repo-installed version of llvm (I think)
@DeadMG just confirming: BCL Components = like standard library ?
Ell
Ell
Yes, that is the wrong version
that's probably the cause
My bad >.<
@rightfold I was at lunch when all that happened. I didn't even know that we puked all over that question until I saw the meta post.
@EiyrioüvonKauyf so, have you installed Lua? :)
@BartekBanachewicz i'm at work i have to go do exercise when i get home and then write a python module and then lua . also i have to remake and then backup my .vim somehow it got deleted and that's a tragedy :<
21:19
@DeadMG The "CPU modes" button on this page has a broken link. Just letting ya know. (I found others as well so I'll report as I remember where I went.) Also, nice tutorials. :D
@EiyrioüvonKauyf OIC
@Ell Uh, yeah, that's definitely the cause. No way can you link LLVM 3.0 against the 3.3 headers.
Ell
Ell
@DeadMG also I cleaned wide then used the llvm-config cxx flags and it doesn't compile. Because of exceptions and rtti like you said
@Ell Well, I don't think that those cxx flags are actually necessary right now. I think that we need to find the actual 3.3 libraries that you built and link to them first.
@Ell what do I need to make "use of undeclared identifier 'STDOUT_FILENO'" disappear?
Ell
Ell
21:25
@BartekBanachewicz in wide?
Probably include a header somewhere :3
@Ell in Terra, fuck Wide
@Ell that's not my code
Ell
Ell
@BartekBanachewicz Well, where is it used?
@Ell raw_fd_ostream Out(STDOUT_FILENO, false);
Ell
Ell
@DeadMG Right. I can't find them on my system is the only problem :S
Xeo
Xeo
"Oh my god, have you ever used a computer in your life? Listen here, jackass, you can't just go compiling C# as C++ and expect it to work - what are you, braindead? I'd consider you an excellent candidate for a retroactive abortion." - Now that is an example of the opposite extreme. I still don't feel his answer was that harsh. — Jonathon Reinhart 11 mins ago
@DeadMG You should take that ^ attitude when answering from now on!
21:26
@Ell They should be right where you built LLVM.
@Xeo That's still going on? Holy shit.
Xeo
Xeo
cough don't break my combo!
Ell
Ell
@BartekBanachewicz try #include <unistd.h>
He fell in the C++ shark tank. Nothing puts more blood in the water than asking to convert C# code, managed code is very unpopular there. Survival of the species kinda thing. — Uphill Luge 39 mins ago
Ell
Ell
@DeadMG Can't find them :/ maybe I missed an option off cmake when I built it
21:28
@Ell wooo! Time to make a pull request :3. thanks!
Xeo
Xeo
@DeadMG Meh, bullshit whatever
@Ell It's hard to build the LLVM libraries without building the LLVM libraries.
Ell
Ell
@BartekBanachewicz No probs :)
@Xeo I just thought it was funny- the image of us as a pack of sharks circling, attacking the unwary.
Ell
Ell
@BartekBanachewicz it's linux only remember so make sure you gots some include guards there
21:29
@Ell hmmm.
@Xeo Seems like OP was a girl?
@Tuntuni yeah that was a comment on my answer
Ell
Ell
@DeadMG well, all the libraries build apart from the LLVMMBlaze* ones
long time
Xeo
Xeo
Yo smurf.
21:29
@Borgleader Didn't see it.
@Ell I'll just comment then
@Tuntuni dont think so, but the mod who nuked deadmg's answer is
@Ell Try just removing them from the list.
wait
@BoltClock hullo
@Borgleader Oh
21:30
the LLVMMBlaze libraries failed to build in the first place?
@BoltClock Unfortunately, I always read your name as BoltCock .. can't be helped. :/
@Tuntuni That's ok, lots of people do
@Tuntuni That may or may not be totally my fault.
@BoltClock No see! How are you?
@DeadMG Hmm?
Ell
Ell
21:31
@DeadMG I don't know if they failed to load, I just know that I haven't build them
@BoltClock Good then. :)
Ell
Ell
if they are included by default then yah they probably failed to build
@ThePhD Meh. Not really getting much going with my game
Ell
Ell
But it could be because I missed a flag off?
@Ell Maybe they are not included in your version of LLVM and Clang- it is slightly different to the one I have used. Try cutting all of the LLVM libs from the list and just using llvm-config's list.
21:32
@BoltClock The frown of One Thousand Sad Dogs.
y u no progress? :c
Not feeling it
Ell
Ell
@DeadMG llvm-config wants those libraries :/
Me too Bolty. Me too.
right.
@Rapptz Well, that's because you're a repwhore junky.
You're not in the same boat!
21:33
apparently, if you want to build your user code with RTTI, you have to rebuild LLVM to have RTTI by setting an environment variable when running make.
@DeadMG Yes.
Ell
Ell
@DeadMG I should try that then. Can you link me the page?
2
Q: Linking to Clang and LLVM on Unix - forced to use LLVM's compiler flags?

DeadMGI'm trying to link to LLVM and Clang on Unix, and running into a few issues. The documentation for llvm-config says that this option will "Print the C++ compiler flags needed to use LLVM headers.", and the example shows compiling the user's code with these flags. Wait, what? Doesn't that mean th...

hey, wait, I linked a question by myself
cue downvote flood
boo noob, vote to close :p
@Ell Gotta find out why LLVMMBlaze libraries aren't being built, too.
21:35
@DeadMG inb4 you bin yourself
@Bart: I think the problem is we have too many one-off incidents and not enough "all these posts collectively are examples of people being abrasive jerks". Granted most of them don't have any evidence and are little more than rants, but I'm sure this isn't an isolated, real incident. I empathize with Jared on this. — BoltClock's a Unicorn 1 min ago
I can confirm that iOS7 Beta 4 is really faster that the previous one
Sorry if I didn't articulate my point too well. I'm unusually tired at 5:40 am
yay terra shell running
let's write some code
Ell
Ell
@DeadMG Hmm yeah. I'm not sure. I could enable all the BUILD_ flags on cmake? Atm the following are disabled: BUILD_SHARED_LIBS, CLANG_BUILD_EXAMPLES, LIBCLANG_BUILD_STATIC, LLVMBUILD_32_BITS, LLVM_BUILD_EXAMPLES, LLVM_BUILD_TESTS
21:39
Why can't that meta question just die
@Ell None of those should be required.
what is your LLVM version?
Ell
Ell
oops. I just started building it again
but I think it was... 3.4 ?
eh
hm
@Ell mind if I bug with you with terrible linux newbie questions a bit more? :)
Ell
Ell
@BartekBanachewicz Not at all :)
version is 3.4svn according to llvm-config
21:43
@Ell I tend to do find / -name "file.foo" and append 2>/dev/null to hide "permission denied" stuff. Is there any shorter way to do the latter?
@Rapptz You can't kill the Meta.
The Meta will live on.
Ell
Ell
@BartekBanachewicz Hmm. I'm not sure actually. I usually use locate for looking for stuff. I don't know the answer to this, I'll try googling :P
Meta's the shittiest part of SO.
@Ell well it's useful for any other tool spitting errors to stderr
maybe there's simple -q or something like that
Ell
Ell
try -nowarn maybe?
21:46
nope
I just found an article where /dev/null is suggested :P
maybe I can just create /dn symlink (?)
Ell
Ell
Yeah it's suggested everywhere I look
I'm so sick of UE4.
When I get home I'm burying my face in pizza and my own engine until I choke and die.
Let's say im taking input from cin,
wait let me rephrase
@LucianNovo lol
As I take input from cin using the >> operator, it will automatically update the read location from the input file. What should I do to return the read location to the begining of the file, SO that I can take in the input a second time?
Ell
Ell
21:51
Oh feck.
I forgot to set environment variable
gawd what a waste of time
@LucianNovo let me stop you right there.
@LucianNovo are you writing a parser?
That's amazing function cls() os.execute("clear") end :3
@BartekBanachewicz
no I'm writing a huffman encoding.
@LucianNovo
@LucianNovo hm
are you double pinging him on purpose? xD
lol, searching for GLFW gives Haskell and C results :D
@Borgleader just the first time
Ell
Ell
21:59
okay gcc4.8.1 is built
and llvm with rtti is building in the background
Now. Thatchers or blackthorn. Or something else? Who knows!
@BartekBanachewicz What is GLLoad's equivalent of GLuint, GLenum, etc.?
@Tuntuni GLuint, GLenum etc
Ell
Ell
kek
@BartekBanachewicz Ah, so they're not under the gl namespace. Why are gl::FALSE and gl::TRUE there then? o_O
@Tuntuni FALSE_ and TRUE_
because of limitations :(
22:05
:/
Also why the underscore (forgot to add one above, can't edit anymore)?
Also limitations?
@Tuntuni macros defined in windows.h
@BartekBanachewicz Oh right, didn't think of that. It's been quite a long time since I last used them.
WOW
I just installed best Vim plugin ever @sehe @R.MartinhoFernandes
@R.MartinhoFernandes it's called luainspect, and automatically runs syntactical analysis of Lua files :3
also gives you tools for refactoring n'stuff
22:08
Gosh that was disappointing.
> reports warnings about unused variables, wrong argument counts
Ell
Ell
xD
@R.MartinhoFernandes :(
too bad you already know all the best plugins :P
Ell
Ell
@R.MartinhoFernandes This clip wont be a disappointment youtube.com/watch?v=Hhj9B2hymBw&t=5m50s
Seriously, when you said "best ever" I didn't expect something that only matters for a language that I don't use.
Ell
Ell
22:09
it's only 10 s :3
@Ell lolwut
Ell
Ell
uh oh. 1gb of free space :o
@Tuntuni fuck youtube crap not working
22:12
@Ell 640kb ought to be enough for anybody
@BartekBanachewicz Spam refresh.
> Having a sex tape of yourself dripping hot wax onto your < 2 inch penis while moaning means you can't participate on the internet without people constantly bring it up. Sorry - rules are rules.
dafuq robot
It was in the comments.
22:14
deleted?
@R.MartinhoFernandes i have comments hidden on YT
oh
the ones on yt
@BartekBanachewicz Comments are the best part.
i thought on SO
@R.MartinhoFernandes This! He's tired of them though. Doesn't know what he's missing. :/
gl = terralib.includec("GL/gl.h")
for k,v in pairs(gl) do
   gl[strsub(k,2)] = v
   gl[k] = nil
end
you gotta love that ^
@R.MartinhoFernandes @Tuntuni I couldn't stand them anymore. I have too fragile personality
22:20
@BartekBanachewicz what's the os object that you wrote about in your above answer?
@LucianNovo that wasn't an answer to you, I just found it funny
@R.MartinhoFernandes For a strange definition of "best".
Ell
Ell
gl.each_with_index{|v, k|
    gl[k[0, 2]] = v
    gl[k] = nil
}
much better ;)
@Ell ~better~
also at least 20 times slower
Ell
Ell
heh
22:22
so yeah.
we have different definitions of better.
@Ell how is your snake going?
Ell
Ell
@BartekBanachewicz it works :D but isn't pretty
@Ell where are the sources?
Ell
Ell
Nowhere public at the minute
I could upload them tomorrow I guess
@Ell but you have local git repo right?
Ell
Ell
but it's ruby, and it ain't nice xD
No :O
It's only a quick thing runs away
22:29
...
that's what she said.
posted on July 30, 2013 by Brandon Jacobs

Introduction: Hi, I’m Brandon Jacobs, an intern on the Visual C++ Libraries team. For part of my internship, I was tasked with adding new features to Stephan T. Lavavej’s <collection.h>. It was certainly an honor to be one of the few to contribute to <collection.h>. You can find these changes in VS 2013 RTM (these changes are not in 2013 Preview).   Summary:

ffs. how the fuck use that cmake crap
$ cmake .
that damn dot.
Ell
Ell
@BartekBanachewicz try cmake-gui
@BartekBanachewicz I wouldn't do that
do mkdir build && cd build && cmake ..
22:33
@EtiennedeMartel 3 minutes...
@Ell why? it worked.
Ell
Ell
@BartekBanachewicz Because then you separates the build files & object files from the source
I think it's cleaner, and you can just delete the build folder if you want to start from scratch
@Ell it automatically did that
I figure that's a well-behaving cmake makefile?
Ell
Ell
@BartekBanachewicz are you sure? o.O
bajtek@bajtek-VirtualBox:~/Coding/terracode/glfw$ ls
CMake           CMakeFiles           CMakeLists.txt         cmake_uninstall.cmake.in  deps  examples  install_manifest.txt  README.md  tests
CMakeCache.txt  cmake_install.cmake  cmake_uninstall.cmake  COPYING.txt               docs  include   Makefile              src
bajtek@bajtek-VirtualBox:~/Coding/terracode/glfw$
pretty sure, yeah
Ell
Ell
oh cool
I just always prefer a build dir
@DeadMG okay, I rebuilt llvm with rtti and exceptions enabled. Wide now compiles fine with llvm-configs cxxflags. But I still get undefined references - but this time llvm-config --libs doesn't list the blaze libraries
but I'm getting in bed so I'll ahve to ssh from now
22:43
ok
FFS
gl constants are macros
what the fuck now.
well, let's see if you managed to reduce the list
@EtiennedeMartel After viewing the top rated comments about ruining food, I'm not sure I want to click "Play"
user142019
Almost morning.
@rightfold it's a middle of the night
@DeadMG Hit it.
22:54
@EtiennedeMartel I did. It was a lot better than anticipated.
frankly, I thought the percentage of women up for a number of the listed acts was surprisingly high.
Ell
Ell
Hmm what was coliru api
@EtiennedeMartel Interesting. :)

« first day (1018 days earlier)      last day (4156 days later) »