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

user142019
9:00 PM
@MooingDuck Ask @Mysticial for the screenshot.
 
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
I guess.
 
Equational reasoning is awesome.
 
are questioners pinged when someone posts an answer?
 
Xeo
9:01 PM
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
@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
9:03 PM
(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
Thanks a lot @Cat.
 
@BartekBanachewicz similar runtimes to C?
 
@EiyrioüvonKauyf "runtimes"?
 
9:04 PM
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
@CatPlusPlus Yeah, that's what I was concluding just now.
 
9:05 PM
It's the same as (.).(.), btw.
 
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?
 
9:06 PM
\x y -> f (g x y)
 
Xeo
@CatPlusPlus Yeah, since it composes the composition. I get that now.
 
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
Wait, do I need to set LD_LIBRARY_PATH?
 
Xeo
@BartekBanachewicz I like to understand how and why stuff works. I didn't for (f .) . g before. Now I do.
 
9:06 PM
@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
@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
9:08 PM
This allows you to do exactly that.
 
Can you map Haskell to a massively parallel automatic computer like a GPU?
 
Ell
@Nils pure functions, strong type system with lots of inference, idk
 
@Nils :lol: at "automatic"
 
Ell
I think pure functions makes parallelising stuff easier maybe?
 
9:09 PM
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
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
@DeadMG tried that too
 
9:10 PM
@Xeo Yeah, but that explanation is kinda convoluted. :P
 
Xeo
@CatPlusPlus 'scuse me
 
btw you can extend this for n-ary first function, by appending more boobies.
 
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
9:11 PM
What?
A typedef is an alias.
Not a new type
 
@Nils C++ is not Ada
 
@Xeo I want strong typedef =[
 
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.
 
9:11 PM
@rightfold Or the D.
 
@Xeo was that also the case in C?
 
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
@Nils Yes.
 
@rightfold or Ada
 
9:12 PM
ah go has a strong typedef?
 
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
9:12 PM
@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
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).
 
9:13 PM
@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
@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
9:18 PM
@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
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 :<
 
9:19 PM
@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
@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
9:25 PM
@BartekBanachewicz in wide?
Probably include a header somewhere :3
 
@Ell in Terra, fuck Wide
@Ell that's not my code
 
Ell
@BartekBanachewicz Well, where is it used?
 
@Ell raw_fd_ostream Out(STDOUT_FILENO, false);
 
Ell
@DeadMG Right. I can't find them on my system is the only problem :S
 
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!
 
9:26 PM
@Ell They should be right where you built LLVM.
 
@Xeo That's still going on? Holy shit.
 
Xeo
cough don't break my combo!
 
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
@DeadMG Can't find them :/ maybe I missed an option off cmake when I built it
 
9:28 PM
@Ell wooo! Time to make a pull request :3. thanks!
 
Xeo
@DeadMG Meh, bullshit whatever
 
@Ell It's hard to build the LLVM libraries without building the LLVM libraries.
 
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
@BartekBanachewicz it's linux only remember so make sure you gots some include guards there
 
9:29 PM
@Ell hmmm.
 
@Xeo Seems like OP was a girl?
 
@Tuntuni yeah that was a comment on my answer
 
Ell
@DeadMG well, all the libraries build apart from the LLVMMBlaze* ones
 
long time
 
Xeo
Yo smurf.
 
9:29 PM
@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
 
9:30 PM
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
9:31 PM
@DeadMG I don't know if they failed to load, I just know that I haven't build them
 
@BoltClock Good then. :)
 
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
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.
 
9:32 PM
@BoltClock The frown of One Thousand Sad Dogs.
y u no progress? :c
 
Not feeling it
 
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!
 
9:33 PM
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
@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.
 
9:35 PM
@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
@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
 
9:39 PM
Why can't that meta question just die
 
@Ell None of those should be required.
what is your LLVM version?
 
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
@BartekBanachewicz Not at all :)
version is 3.4svn according to llvm-config
 
9:43 PM
@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
@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
try -nowarn maybe?
 
9:46 PM
nope
I just found an article where /dev/null is suggested :P
maybe I can just create /dn symlink (?)
 
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
9:51 PM
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
9:59 PM
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
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 :(
 
10:05 PM
:/
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
 
10:08 PM
Gosh that was disappointing.
 
> reports warnings about unused variables, wrong argument counts
 
Ell
xD
 
@R.MartinhoFernandes :(
too bad you already know all the best plugins :P
 
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
10:09 PM
it's only 10 s :3
 
@Ell lolwut
 
Ell
uh oh. 1gb of free space :o
 
@Tuntuni fuck youtube crap not working
 
10:12 PM
@Ell 640kb ought to be enough for anybody
@BartekBanachewicz Spam refresh.
 
@Tuntuni meh
 
> 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.
 
10:14 PM
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
 
10:20 PM
@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
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
heh
 
10:22 PM
so yeah.
we have different definitions of better.
@Ell how is your snake going?
 
Ell
@BartekBanachewicz it works :D but isn't pretty
 
@Ell where are the sources?
 
Ell
Nowhere public at the minute
I could upload them tomorrow I guess
 
@Ell but you have local git repo right?
 
Ell
but it's ruby, and it ain't nice xD
No :O
It's only a quick thing runs away
 
10:29 PM
...
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
@BartekBanachewicz try cmake-gui
@BartekBanachewicz I wouldn't do that
do mkdir build && cd build && cmake ..
 
10:33 PM
@EtiennedeMartel 3 minutes...
@Ell why? it worked.
 
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
@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
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
 
10:43 PM
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.
 
10:54 PM
@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
Hmm what was coliru api
 
@EtiennedeMartel Interesting. :)
 

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