« first day (945 days earlier)      last day (4002 days later) » 

9:00 PM
saying that if you have no experience in programming, start off with Unity or Game Maker.
 
Ell
Ahh wait a second
I'm getting Unity confused
Just try different things is what I will say
 
Well, I am sorta as well
I'm not sure if he meant Unity3D one or what
Is there any other thing named Unity?
 
Ell
Well there's unity the toolset
and unity the library
They are closely related
I don't really know about this
but I'd say start programming small
and making games is incredibly difficult imho
 
user142019
YAY
 
Ell
It takes a lot of man hours
 
user142019
9:04 PM
defmacro works :D
 
Ell
and even more woman hours
phew. Etienne isn't here xD
 
heh
So, start off with a programming language.
 
Ell
But yeah - if you're going to start programming I personally would recommend Ruby
the syntax is so concise it reads like english
 
That's the thing I find irritating
If it's too close to English, I get confused lol
 
Ell
Haha you'll soon get used to it
^type help into that and read the left hand thing
 
9:06 PM
I was thinking C#, but I guess that's more of an industry type language
 
Ell
@JosephPotts C# is perfectly fine too - in fact the ability to quickly and easily make GUIs will probably give you a bit of a boost in confidence
it feels good to get your first programme running and working
 
That's true.
 
Me and my fiance were photographed again. Damn I can never have some privacy :/
 
9:07 PM
You and your hand?
 
@TonyTheLion are you famous? :D
 
I'm famous.
 
Ell
@JosephPotts If you want to start seeing some results quickly then c# is good I think
 
@TonyTheLion You're getting married?
 
Python
 
9:07 PM
That's a good idea, thanks a lot Ell :)
 
@R.MartinhoFernandes Yea
 
Oh wait, you talking about that picture?
 
oh you noticed
 
For a moment there I thought you were serious.
 
Ell
9:08 PM
@JosephPotts No problem :) Feel free to come in here any time and ask stuff :)
 
@StackedCrooked The first bug I'm seeing that's trivial to fix is that you need to remove /WideLibrary/main_trampoline.cpp from the linker's list. It's for the compiler to use, not part of the compiler itself.
 
me too martinho lmao
 
I was hoping you were going to fall for it
 
Alrighty, :)
 
Ell
Just remember it's a lounge too.
:)
 
9:08 PM
then I could have kept it going for a while
good giggles
 
Heh, yups.
 
Ell
Also I've probably mentioned this a hundred times but wooo we share a last name!
 
Haha, yup you have. ;D
I remember you ;P
I just did my gcse's for the year, so was inactive for a long long time.
 
Shit, the store closes 23:30 on Saturday not midnight. I gotta run.
 
Peace.
 
9:09 PM
Run, Forest, Run!
 
Ell
@JosephPotts How did they go?
 
Well, they were 2 subjects
One went pretty good, I guess i'll get an A*
 
Ell
Which 2 subjects?
 
but the other... I'm struggling between an A* and an A. I can't find out exactly >_>
 
Ell
And well done. AS levels are much harder xD
 
9:10 PM
Islamiat and Pakistan Studies
 
@StackedCrooked Secondly, I'm guessing that -lclang links libclang? libclang only exposes the C API, you need to link the output of each individual library that Clang and LLVM produce (except libclang and a couple others, but better to ignore that for now)
 
Hah, yeah. But AS has more variety when it comes to subjects ;P
 
Ell
Ahh okay. How many gcses are you talking in total?
 
13 - 14
 
Ell
Are these early then?
 
9:12 PM
Yeah
I'll be giving a few in November this year, and the rest in May next year =p
 
Ell
Good luck with them :)
 
heh thanks
I'm having like After - exam phobia
 
@DeadMG Yes. -lclang becomes libclang.so. However, you can also simply add /path/to/libclang.so to the command line.
 
I gotta wait 2 months for the result :s
 
ok
 
9:13 PM
@DeadMG There are some like ARM
 
@StackedCrooked They are for the various targets that LLVM can target. However, as far as I am aware, LLVM is hardcoded to reference that code incase you choose to target ARM at runtime- unlike GCC, the target is not built into the LLVM build. I haven't found a way to get rid of them.
 
And weird stuff
 
right now
I simply ran a Python script to link every library that LLVM and Clang output.
then I removed a couple that I found I didn't use any functions from, but there aren't many in that pile.
 
user142019
(defmacro if (c t f) (__if c t f))

(defmacro unless (c t f) (__if c f t))
 
user142019
My current standard library. :P
 
9:16 PM
lol
 
user142019
And defmacro and __if but they're built-in.
 
I should probably use dynamic linking.
 
tbh, I usually static link
but I don't believe it can matter to Wide what you do in this regard as long as the settings for your build of LLVM and Clang match what you used to build Wide.
 
Oh, wait, I have to link statically.
There's only .a files.
 
user142019
Actually.
 
9:18 PM
I have a list of the required libraries here
 
user142019
I don't need to have defmacro built-in.
 
user142019
Just def and macro.
 
Ell
@rightfold I just wrote my first macro! coliru.stacked-crooked.com/…
 
user142019
Hurray!
 
user142019
Except Ø macros aren't textual replacement.
 
9:21 PM
@StackedCrooked Try adding all of these to your linker.
I edited them into the format I saw with libclang, where -lname = link libname.a
 
Ell
@rightfold why is a lisp macro so uber powerful? I never really found out :3
 
user142019
Now to implement modules.
 
It's missing a main function I think.
 
ah yes
there should be a top-level main.cpp that you will need to add to your linker as well
 
user142019
Also.
 
9:27 PM
I didn't notice it was missing since you also built it.
 
user142019
I should probably use a list of hash tables for scoping instead of a list of lists of pairs.
 
Ell
wtf. I just found this in my code: std::array<GLchar, 10000> namebuf; //TODO: 10000 should be enough for anyone (get rid of this if possible)
 
@rightfold Nope, you fail.
firstly, I totally made this mistake (I made a vector of hash tables as my first go)
but the hash table does not store construction order, which you need for reverse-order-of-construction semantics.
and in addition, you can't enter temporaries if you key them by identifier.
 
user142019
I don't have those semantics.
 
Ell
He has GC. Or something
 
user142019
9:29 PM
Yes.
 
oh right, yeah
@StackedCrooked But I'm not sure why you still have a bunch of LLVM and Clang related linker errors if you linked all the libraries in the list I provided.
 
Indeed.
 
try just linking to ALL of them.
could be that the newer version of LLVM or the change in platform means you need some of the ones I could remove on Windows.
 
user142019
I think I can implement let as a macro.
 
Ell
I have enum class GlType: GLenum. Is it okay to do reinterpret_cast<GLenum*>(&my_strong_gltype_variable)?
 
9:32 PM
C++; // makes C bigger, returns old value
6
 
Using msvs2010 why does a long long int work but short short int gives an error?
 
because short short does not exist.
 
Isn't it a byte ?
 
user142019
No.
 
it doesn't exist so how can it be a byte?
 
user142019
9:33 PM
char is a byte.
 
Ell
ITT: Nubcake is Nub
 
user142019
I should probably have a Boolean type.
 
user142019
Right now the empty list is false and everything else is true when using it as the condition in an if expression.
 
undefined reference to `typeinfo for clang::ASTConsumer'
 
user142019
9:34 PM
But I'm going to change that to only work on Booleans.
 
Those care nastier linker errors.
 
user142019
Hmm.
 
user142019
@StackedCrooked Add this to your command: `llvm-config --libs all` including backticks.
 
user142019
For the LLVM errors, at least.
 
user142019
As for libclang, I don't know.
 
9:35 PM
../stacked-crooked/LLVM/Clang/build/tools/clang/lib/AST/Release/ASTConsumer.d
../stacked-crooked/LLVM/Clang/build/tools/clang/lib/AST/Release/ASTConsumer.o
../stacked-crooked/LLVM/Clang/build/tools/clang/lib/Frontend/Release/ASTConsumers.o
../stacked-crooked/LLVM/Clang/build/tools/clang/lib/Frontend/Release/ASTConsumers.d
These files are on my system.
 
wtf is a .d?
 
user142019
D source file!
 
no
 
I don't know.
 
hmm
 
user142019
9:36 PM
.oslash
 
It's a text file containing paths to other .d files.
 
Make dependencies.
 
I don't believe I have them here.
 
user142019
@StackedCrooked clang has RTTI disabled.
 
I just built LLVM and Clang with CMake into VS, then linked to them and it was fine.
ah, good shout Zoidberg, I should have noticed that.
Clang builds without exceptions, rtti, and probably a couple other things too by default.
 
user142019
9:38 PM
Because they have a terrible design with billions of classes, they disabled RTTI because of the overhead.
 
Then who is using typename on it?
 
you won't build Wide without exceptions or RTTI, of course
 
user142019
@StackedCrooked typeid/dynamic_cast
 
typeinfo for Wide::ClangUtil::CodeGenConsumer
echo _ZTIN4Wide9ClangUtil15CodeGenConsumerE | c++filt
typeinfo for Wide::ClangUtil::CodeGenConsumer
 
user142019
Oh for Wide. Huh.
 
9:39 PM
you won't get far trying to build Wide without RTTI or exceptions.
 
However, if Wide is built with rtti then it should work?
 
I thought it was kind of implied that I use the language features available
 
I didn't disable RTTI when building Wide.
 
user142019
> g++ -o wide -std=c++11 -L/usr/lib -L/usr/local/lib -lclang ./ClangExperiments/main.cpp.o
 
9:40 PM
@StackedCrooked Well, that specific error will go away- I'm not sure about some of the rest.
 
user142019
You are only linking main.cpp.o shrimp. Unless Wide compiler is fully template/inline based and the only function is main, this won't work.
 
@StackedCrooked Ah, fair enough then.
@rightfold Obviously he is not, else other Wide files could not be throwing linker errors.
 
user142019
They're linking errors.
 
user142019
Ohh wait nevermind.
 
user142019
Stupid Pastebin.com with its line wrapping. :V
 
user142019
9:42 PM
LOL
 
> ./ClangExperiments/Stages/Semantic/ClangTU.cpp.o:(.rodata._ZTIN4Wide9ClangUtil15‌​CodeGenConsumerE[_ZTIN4Wide9ClangUtil15CodeGenConsumerE]+0x10): undefined reference to `typeinfo for clang::ASTConsumer'
this I don't understand
I didn't typeinfo or dynamic_cast.
 
user142019
s/typeinfo/typeid/
 
ah
GCC must be referencing the typeid of ASTConsumer when trying to build the typeid for CodeGenConsumer, to support RTTI/dynamic_cast for Wide's implementation.
 
That's so gonna fail.
Link in all llvm's .o files :)
 
lol
seems like the smart move to me
 
9:46 PM
lol, now I get multiple defs
 
well, you linked the libraries AND the TU's that were linked to make those libraries.
 
I should remove the .a files.
 
yes
 
user142019
$ g++ -o wide -std=c++11 -L/usr/lib -L/usr/local/lib -lclang ./ClangExperiments/*/**.o `llvm-config --libs all`
 
It's a very long build command.
I'm just being silly now. I
am no longer thinking..
brb
The output file is nearly 1MB
 
user142019
9:51 PM
Volts ain't bytes.
 
yeah
first, it seems that some of those .o depend on pthreads, so you'll want to add -pthread
second, it seems that you are linking some object files which really don't want to be here
 
you'll need to refresh a few times
 
user142019
> undefined reference to `dlsym'
 
@rightfold I saw that too.
 
user142019
Are you linking against libc? :v
 
9:54 PM
personally
I would remove all of the /LLVM/clang/build/tools object files
and /LLVM/clang/build/utils as well
 
user142019
I would just install LLVM and clang.
 
you can't do that.
 
user142019
Why not?
 
Wide depends on a non-public Clang code generation API.
 
user142019
ohlol
 
9:55 PM
ha
 
if you install the user-facing version, you won't have the headers you need.
and I have no idea why just linking to stacked's built version does not work, it works fine for me on Visual Studio.
 
You can still install it and plop the magic headers there.
 
that would depend on the premise, I think, that linking to the libraries which are the output of the build process would work
whereas that approach already failed
 
user142019
This Western is good.
 
user142019
3:10 to Yuma
 
user142019
10:08 PM
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	../.CFUserTextEncoding
#	../.android/
etcetera
 
user142019
WTF GIT
 
user142019
Oh damn, I inited the repo in the wrong directory. LOL
 
user142019
I sück.
 
user142019
Nautili look funny.
 
I bet you look funny to a nautilus, too
 
Tek
10:16 PM
lol
 
user142019
:D
 
Ell
Don't make me use assimpppp :'(
 
Calling assimpppp is crossing the line.
Abba is a really good band.
 
user142019
Evanescence aren't too bad either.
 
user142019
YouTube suggested them LOL.
 
10:21 PM
meh
emo fat bitch
 
user142019
LOL
 
user142019
Kijk in de spiegel ja.
 
user142019
LOL CYPRUS
 
user142019
12 points to Greece.
 
user142019
What a surprise.
 
10:22 PM
Obama is tweeting severely.
 
user142019
Maybe he's excited because of Eurovision.
 
it's about climate change
the weather isn't what it used to be, same goes for Eurosong
 
user142019
LOL
 
user142019
Climate changes constantly.
 
user142019
Even if there were no humans.
 
user142019
10:24 PM
(Source: my father is geologist. :P)
 
yes, like when the sun goes nova
climate will change
 
@rightfold who is leading currently?
 
user142019
@bamboon Denmark has already won.
 
@rightfold ah ok
 
@rightfold Ha, den Mark!
 
user142019
10:27 PM
DenCodeLines
 
I should probably sleep soon.
 
user142019
You shouldn't. Drie dagen weekend.
 
DenCodeLines?
 
Ell
DenMark
DemCodeLines was a user
 
Die Mark, die!
 
user142019
10:29 PM
Mark Gravell
 
Ell
Mark Shuttleworth
 
Mysterious Girlfriend X is a kinky anime.
 
user142019
Mark Rutte
 
Ell
I like kinky girlfriends
 
It's about saliva.
 
Ell
10:31 PM
Ooh.
Even better
 
user142019
wat
 
He likes saliva better than kinky girlfriends.
 
user142019
What about saliva from kinky girlfriends?
 
Wow
Genious
@rightfold That could actually work.
 
user142019
kink.com
 
@StackedCrooked Genius* :D
 
lol, right
 
Ell
Does watching hentai count as watching anime?
 
That's not hentai.
It doesn't even have nudity.
But to answer your question: technically yes.
anime is short for animation. and hentai is animation.
 
Ell
Yeah I know, they just reminded me.
Boy I hate my life at the minute
So boring
Such a waste of effort
 
10:42 PM
Find something good to think about.
 
user142019
Hang yourself from a bridge.
 
For example.
Or start reading aforementioned manga.
That should relieve of boredom momentarily.
 
Ell
I don't have the balls to hang myself :P
 
user142019
Write a package manager for Ø in Ø.
 
You don't have to hang yourself from your balls.
 
Ell
10:43 PM
And I don't mean I'd be hanging myself from my balls
Haha
@rightfold yes! I'll read about lisp :P
But I meant generally. School is such an effort. Why do I have to wait another 4 year's before getting a programing job :(
 
user142019
You don't have to.
 
user142019
Go work during summer.
 
Tek
^
 
I recently learned that images <= 2048x2048px do not increase your usage on Google Drive.
 
user142019
Google is funny.
 
user142019
10:46 PM
> Hey, we have billions of dollars. Just make software and make it free for everyone just because, you know, we can.
 
Yeah. But I'm thankful. Finally a place to dump my photos.
 
Ell
What does a programmer do if he can't solve a problem he is set?
 
user142019
I have an encrypted disk image with about 20GB of porn.
 
Ell
Just... Get fired?
 
user142019
@Ell ask somebody for help.
 
Ell
10:47 PM
@rightfold what kind of pr0n?
 
Yeah, and don't mind that we'll use those photos database for training our face recognition algos.
 
user142019
Trade problems.
 
user142019
@StackedCrooked I don't care, really.
 
Neither do I.
 
user142019
:D
 
10:47 PM
Some of my colleagues are anti-google.
 
user142019
DuckDuckGo ftw!
 
Ell
Why?
 
They are like "Google knows so much about me, that can't be good."
I'm like: you're idiots.
 
Ell
@rightfold I used to use duckduckgo until I realised its search results sucked :P
 
user142019
I used DuckDuckGo until I realized that it was slow as fuck.
 
10:48 PM
they're not bad
 
duckduckgo: what did you expect?
 
user142019
Google is about twice as fast.
 
It 2x time because it forwards your request to Google :P
 
Ell
I'd much rather have personalised adverts than not
 
user142019
lol
 
user142019
10:49 PM
I'd much rather have no advertisements and use AdBlock or Adblock Plus.
 
Ell
I do that too
I don't often get adverts, but when I do, I get personalised ones.
 
user142019
Oh hey a British detective on TV.
 
user142019
A Touch of Frost
 
Ell
Ahh yes
 
user142019
England is awesome.
 
user142019
10:51 PM
I'm gonna live there.
 
you're welcome
 
Ell
Live with me <3
 
wait, you're from the Netherlands? Who do you think you're kidding
 
user142019
@TomW Much obliged.
 
Gent is nice.
 
Ell
10:52 PM
We have 3 spare bedrooms, two of which have double beds and en suites
 
user142019
Men from Gent are called "Gentlemen".
 
user142019
Anyway, in English it's called "Ghent" not "Gent".
 
Who cares.
 
Tek
Or is it "Gehnt"?
 
10:54 PM
@Tek Ghent, for what little it's worth.
 
I say London in English and Gent in Dutch.
 
Tek
@JerryCoffin lol
 
Ell
@tightrope come to England as an exchange student
 
user142019
10:55 PM
@Ell No.
 
user142019
 
user142019
^ my town
 
user142019
My house is behind that tree.
 
Reminds me of Carcassonne (board game)
 
user142019
Because it's so tiny, right?
 
Nice.
 
@R.MartinhoFernandes do you live near Fernsehturm?
 
user142019
Du bist ein Berliner.
 
went there a few weeks ago
 
user142019
10:58 PM
> bunker03.jpg
 
user142019
Yeah, sure. Shopping mall.
 
Why not?
 
@TomW Right now, no. Starting in June, I will be a 10-minute walk from it.
 
user142019
@StackedCrooked This is in our shopping mall (i.e. the only shop in my village).
 
10:59 PM
Berlin is cool
 
user142019
$ su -c '/etc/init.d/allthingsd restart'
 

« first day (945 days earlier)      last day (4002 days later) »