« first day (2257 days earlier)      last day (2709 days later) » 
00:00 - 13:0013:00 - 00:00

1:05 PM
I can't get my Llvm.build_store to work properly, when storing from one local to another.
Maybe I need to make an intermediate.
Oh.
You're not allowed to store ptr, ptr
You're only allowed to store value, ptr
So I have to do...
tmp = load ptr
store tmp, target
That's a tad jank... ah well.
Ah.
My metadata internals don't work.
 
Ven
you can't store [ptr], ptr?
 
Not in LLVM?
There's only one store operation.
Maybe there's a dereference thing...
Maybe that's what gep is for? (get element pointer)
 
Ven
1:20 PM
try it
never wrote LLVM IR, so I can't tell you much
 
Doesn't seem to work...
 
Ven
see how they do it :)
and maybe try to get clang to generate some code corresponding
 
I mean
The way I'm seeing is a load into a store
And even if I use getelementptr, I need to store that in a temporary too
There's no dereference and store shortcut, it seems.
Buh.
My metadata isn't working properly and it's making me the sads.
It seems like metadata can only be stored on instruction values themselves
Not functions.
 
user1804599
Target C, not LLVM.
 
user1804599
It's easier and better.
 
1:23 PM
It's a bit late for that decision...!
 
Ven
be a real man and target C++
no, target COBOL.
 
@ThePhD Isn't that because of SSA?
 
@wilx That's what this reading says.
But I'll be honest: I have nooooo idea.
Eitherway, seems liek Attributes won't work for functions either
since they're a set value
 
1:38 PM
Okay, so I have attributes
But I... can't... access teh attributes in OCaml...??
It kinda sucks.
 
Ven
and to say it all started so well.
 
I just want to be able to mark a function as "this needs extra arguments inserted into it".
E.g., for printf.
Maybe I can just inspect the function name itself.... that hardly scales, but. Well. Shrug, I suppose.
Wait, but what if I return a function its not a direct function call anymore but through a function pointer.
Argharghargha.
 
@ThePhD There's no concept of "temporaries" in LLVM (if I correctly understand what you meant by that).
In the above screenshot, for example, %expr_result doesn't name a variable.
It names an instruction.
 
1:54 PM
Uh.
Hokay.
Damn, it doesn't quite work.
I'm passing the whole array of the format strings, when I should just be handing it the pointers.
Buh. Need to decay an array to a pointer in LLVM...
 
Well, duh. It's not as retarded as C, it wasn't designed half a century ago. :D
Hmm, I'm kinda surprised I was off only by six years.
 
I guess I need gep here.
 
> LATER EDIT C++ SO power users, please let the others learn. We know you master C++ well.
 
Lol
 
(Saving you a click: yet another a++ + a-- duplicate)
 
2:05 PM
@ThePhD how are you hanging in there?
@Borgleader it never ends does it?
 
@jaggedSpire Well...
 
2:18 PM
You appear to still be alive so there's that at least.
I feel like you should know that much like Valhalla gets everyone who dies in battle, the Catface gets everyone who works themselves to death.
(All hail)
(:3)
 
Pro tip: taking the shotgun approach to language tagging will most of the time result in many downvotes. — Borgleader 9 secs ago
@jaggedSpire Sadly not
 
@Borgleader lol
I'd be sad too but the equally endless stream of snark from fed up users is hilarious, so there's that.
> Im a freshman learning cpp, masters please help me! It didn't work and reported me error. Where did i make a mistake? Thx
-9
Q: Where did i make a mistake from code as follows?

SaeronIm a freshman learning cpp, masters please help me! It didn't work and reported me error. Where did i make a mistake? Thx const string& compare(const string & st1,const string & st2) { if (st1.size() > st2.size()) { return st1; } else if (st2.size() > st1.size()) { r...

A literary masterpiece
 
2:49 PM
and yet I think I learned something I hadn't considered before reading that
 
3:02 PM
What did you learn?
 
Not... quite working.
But we're getting there...?
I have bottom-up type derivation for functions
and automatic void return generation and stuff.
Christ I hate my teammates. I should have been doing this days ago in the SemAST.
 
That's awfully unreadable.
 
Global Rank: 15103706
Alexa Reach Rank: 13818124
 
Why not bind the getelementptr to a name and then use that name in the call?
 
What is?
 
3:07 PM
sweet
 
I might do that... but, uh. Later?
 
A.k.a. "never"?
 
No, soon.
 
or are you going to keep working on this long, long after you turn it in?
 
After I figure out why it's printing garbage.
@Griwes I plan to go back to using C++ after this is over. =/
I'm really not all that enthused by OCaml and its weak bindings that aren't parity with latest.
I would have been a lot farther along in this project if it were C++. =/
Oh. I'm doing that thing again.
 
3:10 PM
You'd've probably found some new reasons to hate C++ even more than you surely already do.
 
@jaggedSpire I hadn't thought about how bare char* strings get converted to std::string, putting it in a context where you'd return a ref to a temporary put that into perspective
 
I doubt that.
I might have the LLVM API for being so bloody confusing with everything being pointers and no clear ownership semantics,
but I'd still be cruising in C++.
%expr_result1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @__ifmt, i32 0, i32 0), i32* @fuck.this.global)
The last argument is the problem. I can't dereference a pointer in-line.
SO I have to do what @Griwes says anyways and put that in a temporary value.
 
I wonder how angry I'll get at the C++ I'm generating before finishing the structure support.
But if I want to do things the way I want to do them, I won't be able to generate LLVM IR for a while longer. :|
 
@MichaelConlen ah
 
@jaggedSpire I might have assumed at some point in my life that because of implicit construction that a bare char* like that would be converted by the compiler at compile time to a std::string rather than the compiler generating a char* which gets converted at runtime
though I suspect the details may be lost on OP
 
3:48 PM
✔ Jason Bourne
I have run out of shit to watch.
 
@wilx Seems like that's probably for the better. Most of us prefer to avoid watching shit.
 
@JerryCoffin but the SQLs need corrupting with the databases!
 
@MichaelConlen Ummm...what? SQL is certainly sufficiently corrupt without any outside influence.
 
Okay.
 
@JerryCoffin sry, was (intentionally) botching a line from the recent movie where they corrupted the databases using SQL.
 
3:59 PM
I ahve 2 hours to do if statements, else statements, while loops, and for loops.
EASY PEASY
sobbing noises
 
4:18 PM
@ThePhD two hours to teach it?
 
No, to write codegen for it.
 
@ThePhD ahh, I was going to say something witty about "obviously the students will have read the material..."
 
@ThePhD Do you understand how phi works?
 
@Griwes No, so I'm screwed.
 
...yes.
 
4:28 PM
don't need phi mostly
just jump to the appropriate basic block
it's not tough to codegen if/else/while/for if you are using load/store for local variable mutations
 
@Puppy lol I literally just read about basic blocks on Wikipedia 5 minutes ago :)
 
or just don't support local variable mutations
 
Oh no... as if I wasn't broke as fuck enough atm :| I am thinking about buying a beefy GPU for playing games
 
4:51 PM
@JerryCoffin Interesting. I can't rotate my hat at work. But I can at home. Maybe some underling script is getting blocked.
@Borgleader Title fail:
-16
Q: ANDROID APP DEVLOP KARINI AAW MAHRBANI KARY JALDI JAWAB DEENDA INHY MASALY JO>>>>

bhutto sahibError:FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:transformClassesWithDexForDebug'. > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexI...

its not working — bhutto sahib 5 hours ago
 
@Mysticial lol, that's the "too many methods" error.
Android is awesome.
 
@R.MartinhoFernandes Not sure which is worse- that there is a limit or that people are exceeding it ;p
depends on what the limit is I guess
 
64k is not that easy to exceed. Unless you're pulling in really bloated libraries.
 
@Puppy The limit is crazy low (2^16) because it includes methods in all referenced libraries.
@Mysticial The Google Play Services library has ~30k methods.
 
5:03 PM
What's a the typical function length 10 LOC? That's more than half a million LOC.
 
In the Android world, it's not really hard to exceed that limit.
 
@R.MartinhoFernandes That's ridiculous.
 
6 mins ago, by R. Martinho Fernandes
Android is awesome.
 
Ven
@Mysticial i used to write android apps in Scala :/
 
@R.MartinhoFernandes That's why you need to proguard.
Otherwise all those stupid getter/setter functions will hog all the dex space.
 
5:05 PM
Yeah, there's an ecosystem of workarounds.
 
@R.MartinhoFernandes Owch.
 
Ven
It actually saddens me a bit that there are so many tools to work around that.
 
The only sane limits to impose nowadays in anything is 64-bit limit.
 
Ven
Scala 2.9's libraries took ~240k of classfile space
 
5:10 PM
@Mysticial 64 bits should be enough for anybody!
@Mysticial Probably. I hope our IT guys don't notice the hint that somebody else is more paranoid them them. They'd take that as a challenge.
 
Is there no repcap hat this year?
IIRC, they had one in all the previous years.
 
@Mysticial Have to repcap three times to get one this year.
 
Oh. wtf.
So much for passive hats this year.
3 repcaps during the holidays is a long-shot unless they give out hats for upvoting.
Oh, they still have hats for upvotes on certain days...
 
@Mysticial At least they don't have to be consecutive days...
 
@Mysticial good lord wth
 
5:22 PM
@Mysticial Doesn't make much difference to me though. We have a deadline in January, so I barely have time to take a break and chat a little, not to mention taking the time to find a decent question to answer.
 
@JerryCoffin During the first two years of Winter Bash, it was very noticeable on my top posts. Since people literally went down the top question lists to find things to upvote.
I think I clocked in like +90 over days on my railroad answer alone during the first Winter Bash. But that effect seems to have dropped exponentially over the years.
Now I don't notice anything at all.
 
@Mysticial ...and obviously, if it's not giving us free rep, it's completely broken! :-)
 
So that would typically give me one or two days of repcaps - enough to get the single-day repcap hat.
@JerryCoffin It doesn't, because we're capped! :P:P:P
 
user3790646
I had scheduled deleting my account yesterday
 
user3790646
remembered about it today and thought it was too late to cancel
 
user3790646
5:27 PM
 
user3790646
cancelled the cancellation in time :^D
 
@Andrey Heh. That was close.
 
nwp
but took a screenshot first
 
user3790646
indeed
 
@JerryCoffin There was one year where I saved up a review Steward badge for Winter Bash. But IIRC, it ended up being partially a waste since I got a passive gold later on.
 
5:49 PM
Not being able to attach metadata to a function is making me very sad.
From the LLVM point of view, anyhow...
 
6:01 PM
@Andrey borderline in every sense
@Ven Yell what you want, but yeah, they're improving things. What's the problem?
Oh. It's an old question, there's that. But I liberally touch up old posts, much like old code when I encounter it.
 
6:35 PM
@Ven So let me get this straight. You looked at something on SO related to JS, and you somehow expected it to not suck?
 
Ven
@sehe nothing. It fixed my broken english :)
But it was like '13
 
6:59 PM
I feel sick.
 
Ven
7:09 PM
@ThePhD it's the caml
 
It's the project due in 3 hours
that I don't even have for and while and if and else statements in
On the bright side, I have overloading...
... For all of 2 library functions.
Someone fucking.... murder me...
"This will be a learning experience" like fuck it's a learning experience
 
Well, it was a learning experience, wasn't it? :D
 
I DIDN'T
LEARN
ANYTHING
 
you did!
 
EXCEPT THAT PEOPLE ARE, YET AGAIN, UNRELIABLE FUCKS.
5
 
7:11 PM
That one you should've known beforehand tho :P
 
Ven
7:22 PM
It does suck tho.
@JerryCoffin i wrote that :(
 
I can't do it in time...
I can't finish any of this in time...
I'm going to fail....
Well.... at least I'll fail of my own accord...
Good night.
 
Ven
@ThePhD <3
You did good.
 
@ThePhD Ah yes, the glorious tactics of talking about not having enough time during the little time for work you have left.
Mastered so perfectly by university students all around the world. :D
 
early ggs are a thing
 
Ven
8:09 PM
@AlexM. noooo
So long they're not offensive ggs.
 
@ThePhD aw bby
 
someone just DM'd me to complain about "political tweets" they didn't like so I looked at their timeline,,,, https://t.co/O6ym3CLydB
 
@Griwes my my
 
8:30 PM
:O
-11
Q: Please suggest a good name for the class

user31264Please suggest a good name for the class template, instead of the OrderedList. template<class T> class OrderedList { public: typedef typename std::map<T, int> MapInd; public: int Insert(const T& val); // insert new value, return its index int Find(const T& val) co...

I should really just filter out all posts with a score higher than -10
 
@jaggedSpire Agreed. :)
And automatically whitelist all questions with "help", "halp", "plz", "urgent", "urgant", etc... in the title
 
ooooh
 
user1804599
What do you call someone who doesn't understand recursion schemes? A bakamorphism.
 
what's that about my gant
 
user1804599
@ThePhD good, statements suck
 
8:57 PM
 
how do you bin a toilet tho
 
just collect it's peaces /:
 
> How to make a while loop while there is something to be readen
I kinda like that conjugation of read
 
readeth
 
9:06 PM
this sentence doth readeth too oddly.
 
user1804599
CacheInvalidationrightfold 6 secs ago
 
9:25 PM
it has been deleted and my pleb reputation does not let me see, alas
 
9:47 PM
1 message moved to bin
 
@Puppy Why?
 
maybe have a look at C variable declarations
and because this room isn't for questions
 
k
 
10:03 PM
this is brilliant, almost exclusivley for how blazay the old guy is
"You still able to climb out with that rope?", "Why do you think I have the rope!?"
 
10:17 PM
@Mysticial I got 2 4669V3 processors for free. Contemplating the cost of actually using them :-(
6
 
@Mikhail woah... how?
 
@Mysticial Intel gives our school processors to benchmark, when their done its a free for all where you walk into the department and ask for them. I didn't even need to give a business case...
 
So it's yours to keep (personally)?
holy shit
 
I'm thinking of selling them for 14k and buying 70 Hp Stream 13 laptops, for MPI
 
lol
 
10:20 PM
@Mikhail lol
 
@Mikhail I have a use for it. But not the budget.
 
@Mikhail lolwat
 
@Mysticial So, I need to buy 2 more right?
 
I've been in need of a bandwidth-limited NUMA machine to test out some experimental code. Which has me slightly excited to home this break to fire up my quad-opteron. But that box is really old and only has 8 GB of ram.
@Mikhail No. You should be able to pop them into any dual-2011v3 mobo.
 
Oh thank god
 
10:27 PM
So $500 for mobo + more for memory is all you need.
 
But in the case of the 4669 the insane cost is because of the 4 way QPI?
 
yeah
I never had any freebees while I was down there.
Other than the start-of-year raffles which I won a T-shirt and some cups.
 
This is all I got after 7 years :-)
I also make 21k a year
 
"all" you got? lol Those chips are worth more than their weight in gold.
 
what's special about them? like, out of this world fast?
can they do something unique?
 
10:36 PM
They're extremely expensive because they are the highest end of the high-end server parts.
 
so what's the point when you decide that you need them
i.e. what can they do that's special
(this is a serious question is it just that they're fast)
 
18 cores each with the ability to go quad-socket.
 
quad-socket specifically
They aren't fast
 
In terms of value, it's way beyond the point of diminishing returns. They're expensive because people are willing to pay for the extreme.
But the point that shocks me is that your school would just let people walk out with those.
Do they not know how much they are worth? Or do they just not care?
 
Didn't know the worth, they had a whole list of them.
 
10:40 PM
Are they ES?
 
Anyways, there is a reasonable chance I'm going to try to use them for my research work (because I already have a good laptop). I need to convince my advisor or his company to buy the other 2 CPUs.
 
bu then they'll realize how much they cost
 
Yeah...
 
no joke if I were your advisor I'd try to convince you to sell them
LOL
not buy more
sell them now right
and buy them 5 years later
when they'll be way cheaper
 
I'll be dead in 5 years
 
10:45 PM
what you've got cancer or sth
 
Industrial Disease
The real problem is that I should probably get a life....
 
the path to a life is selling those things
and using the money to make friends
trust me
 
Alternatively I can graduate in the next two years
 
Do that and GTFO out of that place. UIUC isn't good for your health. It certainly wasn't for me. Except that I bailed before my degree.
 
Yeah, PhD programs in the USA are designed as clearing housing for foreign nationals. But I think we killed that point in the chat.
 
10:52 PM
have a dose of oldschool internet homestarrunner.com/main3.html
flash required
cause oldschool
 
Shockwave
 
And in retrospect, I think it was the right decision to drop out of my PhD program. Given the circumstances I was in, and that they required me to get straight A's to continue, it would've been impossible anyway.
I was never a good student. I never get straight A's. And they knew that too. So by asking me to get straight A's as a condition to pass the qual was basically their way of saying, GTFO with a middle finger up my ass.
 
Thats weird, I had academic probation for a semester (because i"m too cool for school) but I fixed it the next semester (by also not giving a fuck). I think the soul crushing comes in the next phase when you realize that research is bullshit.
 
Not trying to bash the school. I respect the professors there. But I can't help but rant at the position I was in when I left.
 
Interesting, I enjoy bashing the school and have little respect for the professors there (and everywhere).
 
11:02 PM
@Mysticial Maybe they thought some more motivation would do the trick.
but my personal experience of uni was that it was a total loss so
 
@Puppy If that was the case, it didn't work lol. This whole "perfect GPA" thing has been killing my entire life. I was lucky enough for my parents to have the usual "Asian pressure" bullshit on me. If that I was the case, I probably would've joined the dozen other kids in my high school who lined up in front of the train.
 
you mean suicide?
 
@Puppy Yeah, there's a railroad that runs by both high schools where I was. The suicides got so out of hand that they had to turn it into a reverse maximum security prison with armed guards.
 
@набиячлэвэли ¬_¬ are we actually doing a successful lounge project? I mean... there was like an initial plan/idea... and that's been 'done'...
 
I lost two people in my class. And my school had it better. The other school had like 7 of them over a period of like a month at one point.
 
11:08 PM
@thecoshman It would seem so yes
 
time to rightfold it :P
 
@Mysticial I dislike the culture of academic pressure.
I feel like the focus on academic work for young people is way out of whack compared to actual academic work they do in later life
so it seems totally pointless to get a bunch of young people and tell them how worthless they are if they can't excel at it the instant they're born
some stuff like reading, writing, a basic sense of mathematics, sure that stuff is needed for basic life, but there's a big gap between what you need and what you're told to be good at
 
Yeah. The most important thing I learned through all these years of school is that I cannot get straight A's. I'm not those super-smart kids (mostly Asian girls with helicopter parents) who can get 4.0s and perfect SATs every year. So I'm not even gonna try.
 
I could but eventually decided that I didn't want to
seemed pretty dumb to focus effort on Law studies when they already made me apply and be accepted by a university for a CompSci course
 
@Mysticial Yeah, but when I don't try to get all As (for similar reasons), I frame it as an act of youthful rebellion
 
11:17 PM
@Mikhail I just say that I suck. And that's the part that I love about my dad. "Know your fucking limits. Don't kill yourself." At least that's what he told me multiple times in high school.
IOW, it's okay if I can't complete with those super-smart Asian girls who fuck up the grading curves. (Though nowadays, I wouldn't mind asking one out.)
 
@Ven The authorship is irrelevant. It's like BASIC--no matter how brilliant you are, anything you do with it will suck.
 
Well, as we know exceptional classroom performance doesn't translate into good research or job performance (maybe). From personal experience, I would rather be coding and learning rather than achieving incremental gains in classes.
 
@Mysticial heh ;)
 
@JerryCoffin React.JS ain't bad
and "How do I replace JS with TS" also ain't bad
 
@Mysticial tho that is interesting
because IME the top performers in college were always guys
not asian cause that's hard here
but still
 
11:26 PM
@AlexM. College is different. College was mostly Asian guys from Singapore. But in high school it was almost exclusively Asian girls since all the guys are busy playing video games (including myself).
 
@Mysticial Between me and my (yes, Asian) wife, it's a bit the same way. She's ready to go ballistic if any of the kids even gets an A-. I want them to do well, but I do try to stick more to encouragement than pressure.
 
@Mysticial ooo so hs stuff
ok I got you
there it was def the girls
same in elementary
 
@Mysticial In the end, you are the record holder for pi, and they're not, so you have it going for you.
 
there was this ultra-smart classmate of mine in elementary (remained ultra-smart in hs)
but was such a goddamn pain to talk to
 
I mean, there are no women in college :-(
 
11:28 PM
because of the ego and on top of it narrow view of everything that was not a school subject
which combined translated to being mocked for anything you were doing that was not considered the norm
nice boobs tho
 
@Mikhail Certainly not where I went to college. We had T-shirts that read something like "Sex kills. Go to Tech and live forever."
 
that sentence isn't clear
Also the incoming CS class in 2016 is now ~40% women, my incoming class was like 10%
 
@Mikhail about half of my year were women :D
they do drop as time goes by
 
alright
tomorrow last day of work before Christmas
 
Are they actively trying to shoehorn women into engineering for the heck of it/for the zeitgeist's sake or did women suddenly get genuinely interested in it?
When I started out there were 1-2 on average in the colleges I attended, then I took a break to work, then came back, now there are ~10.
 
11:36 PM
@JackOfBlades Both, yes its significant easier to get into engineering if you are a women. But there is a large increase in the number of applicants all around. We had 11 domestic women accepted and 2 rejected when I applied...
 
@JackOfBlades nobody here is trying to shoehorn women in tech
so their interest is legit
here == Cluj-Napoca, Romania
 
In one of my current courses, there are two women/girls who said they're studying nursing. The professor did like an impromptu show-of-hands, they didn't raise theirs when he offered either of the options, so he asked them. And this course is somewhat deeper into C++ than what a layman would delve into. So I found that kind of odd.
Would never have thought they study programming in nursing school or whatever it is.
 
I've had colleagues uninterested in programming but using it as a fallback solution
for a well paid job
colleagues meaning classmates
gdamnit I mix up words ok time to sleep
nite
 
I figured lol
Nighty night
 
Ven
Ubervan is pretty useful
 
00:00 - 13:0013:00 - 00:00

« first day (2257 days earlier)      last day (2709 days later) »